Toots for julia@mathstodon.xyz account

Written by Julia on 2024-09-25 at 10:11

This could be an iOS 18.0 bug (because the Mail app is also somewhat affected by this), but @overcastfm sometimes shows up in light mode in the app switcher after it’s been backgrounded for a while.

=> View attached media

=> More informations about this toot | View the thread

Written by Julia on 2024-09-19 at 08:12

@atpfm I just wanted to say that (most?) dictionaries don’t use IPA but rather a simplified form. However, if you can understand it, you can certainly learn the subset of IPA used for English. ☺️

=> More informations about this toot | View the thread

Written by Julia on 2024-09-18 at 08:54

[#]iOS 18 (even the public version 22A3354, which I’ve been running since it was released), feels like beta quality software. I’ve run into so many weird little bugs and inconsistencies.

=> More informations about this toot | View the thread

Written by Julia on 2024-09-16 at 17:39

Except…

“Cannot put a type constraint on an 'our'-scoped variable”

Thankfully, the “variables" pragma seems to apply only to the compilation unit(?) in which it appears, so it's easy enough to move it to a rakumod file.

#RakuLang

=> More informations about this toot | View the thread

Written by Julia on 2024-09-16 at 17:29

Of course! I can't believe I missed that. It was right in my face (I was staring at https://docs.raku.org/language/pragmas) all along.

use variables :D;

There we go.

[#]RakuLang

=> More informations about this toot | View the thread

Written by Julia on 2024-09-16 at 17:23

How do I specify the default definedness?

I know it's possible because I've done it before, but I can't recall how to do it. It was something like "use :D;" but that's not quite right…

[#]RakuLang

=> More informations about this toot | View the thread

Written by Julia on 2024-09-15 at 19:42

I wish this (strange) code would show a diagnostic like “Did you mean to pre-declare ‘B’?” rather than “Redeclaration of symbol ‘B’.”

class B {}

class A {

has B $.b;

}

class B {

has Mu $.something; # doesn't matter; i just want to put something here for this example

}

The fix is to create a stub class (class B {…}), but this is not obvious at first glance. (In this case, we could also fix it by merging the two definitions of B and moving B to appear before A, but I can’t do that in my actual code.)

[#]RakuLang

=> More informations about this toot | View the thread

Written by Julia on 2024-09-06 at 09:49

I wrote a quick script to generate a huge fake DNA sequence and to my surprise, say @​dna.join is MUCH faster than .print for @​dna.

[#]RakuLang

=> More informations about this toot | View the thread

Written by Julia on 2024-08-09 at 21:56

@overcastfm Ooh, Overcast offers a “Sleep After Time Interval” shortcut. That works!

😎😎😎

=> More informations about this toot | View the thread

Written by Julia on 2024-07-19 at 21:40

@overcastfm I’ve started taking longer showers as a workaround.

(One way to fix the timer issue that would work for me would be to add a button that shortens it by one minute at a time.)

=> More informations about this toot | View the thread

Written by Julia on 2024-07-18 at 20:39

@overcastfm Hi Marco! I’m a fan of the redesign! It’s clear that you put a lot of thought and love into it. 🥹

I have one feature request, if I may: could you please bring back custom sleep timers? 🙏🏻 I sometimes set a 2-minute timer when I brush my teeth and I can’t seem to do that anymore. 😔

I also found a tiny bug: if I go to Settings > Theme and toggle(?) Always Use Dark Theme, I can’t open the settings page again until I force quit Overcast.

=> More informations about this toot | View the thread

Written by Julia on 2024-07-15 at 08:28

Importantly, this also shows up when using GPT-3.5, which has no realtime knowledge.

=> More informations about this toot | View the thread

Written by Julia on 2024-07-15 at 08:23

@simon This is the first time I’ve seen ChatGPT do this. It made me think of an old concept of yours regarding specific legal questions. ☺️

=> View attached media

=> More informations about this toot | View the thread

Written by Julia on 2024-06-03 at 09:59

I’m once again feeling super inspired by Gilles Castel’s guide on setting up Vim to create (near) textbook-level notes in LaTeX. RIP Gilles. 😔 https://castel.dev/post/lecture-notes-1/

=> More informations about this toot | View the thread

Written by Julia on 2024-06-01 at 14:24

Let's calculate (\lim_{x \to 0} \frac{\sin x}{x}) in #RakuLang!

my $last-result = 0;

for (1, * / 10 ... *) -> $x {

my $result = sin($x) / $x;

LEAVE $last-result = $result;

last if $result ≅ $last-result;

say "x = $x\tsin(x) / x = $result";

}

x = 1 sin(x) / x = 0.8414709848078965

x = 0.1 sin(x) / x = 0.9983341664682815

x = 0.01 sin(x) / x = 0.9999833334166665

x = 0.001 sin(x) / x = 0.9999998333333416

x = 0.0001 sin(x) / x = 0.9999999983333334

x = 0.00001 sin(x) / x = 0.9999999999833332

x = 0.000001 sin(x) / x = 0.9999999999998334

x = 0.0000001 sin(x) / x = 0.9999999999999983

x = 0.00000001 sin(x) / x = 1

👏🏻

I tried to use some unique and advanced Raku features: lazy sequences, phasers, and even Unicode operators.

Lazy sequences: (1, * / 10 ... *) is a sequence of "increasingly small values of 1." 😁

$seq[^4]

(1 0.1 0.01 0.001)

Phasers: A phaser is a block of code that is called during a specific execution phase. The LEAVE phaser is called at the end of each iteration.

Unicode operators: ≅ is the "approximately equal" operator. It's equivalent to =~=.

{ my $*TOLERANCE = 1e-5; 878 / 323 =~= e; }

True

=> More informations about this toot | View the thread

Written by Julia on 2024-05-20 at 18:19

"I'm in."

Unfortunately, I can't say anything more than that. 🫡🤐

/cc @Clementine

=> View attached media

=> More informations about this toot | View the thread

Written by Julia on 2024-05-13 at 17:45

gpt-4o (what a name) is 50% cheaper than gpt-4-turbo. Does that mean prices are being kept artificially low (and thus might rise in the future) or is it actually more efficient (and thus, hopefully, greener)? 🌱 https://openai.com/api/pricing/

=> More informations about this toot | View the thread

Written by Julia on 2024-05-10 at 18:23

It’s incredible how Ulana Khomyuk is completely believable despite the fact that she’s not based on any one real person. #Chernobyl

=> More informations about this toot | View the thread

Written by Julia on 2024-05-09 at 07:59

I’ve spent some time with im-also-a-good-gpt2-chatbot, but so far it hasn’t blown me away.

It seems worse than GPT-4 Turbo (and it sometimes loses to Llama 3-70B), but it could be VERY interesting if they released the weights (as the name sorta kinda implies?).

=> More informations about this toot | View the thread

Written by Julia on 2024-05-03 at 08:07

TIL that Longyearbyen is named after John Munro Longyear, an American coal mining executive. The fact that the sun does not rise or set for months at a time—causing a “long year”—is seemingly just a happy coincidence.

=> More informations about this toot | View the thread

=> This profile with reblog | Go to julia@mathstodon.xyz account

Proxy Information
Original URL
gemini://mastogem.picasoft.net/profile/109842196842904191
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
362.563264 milliseconds
Gemini-to-HTML Time
6.540607 milliseconds

This content has been proxied by September (ba2dc).