« first day (4856 days earlier)      last day (285 days later) » 

00:11
@Ginger Once I get my mobo from Ebay
Next three days probably
Might be longer because my amazon packages keep arriving totally empty and that happened to my thermal paste
right
I fucking hate amazon like I've been bounced back and forth between like ten different webpages and chat thingies, none of which give me the option to just get a new one without sending back the old one...even when the options I choose specifically say nothing was even delivered
Okay finally managed to get a refund by trying all of the different options in the dialogue tree
00:34
0
Q: Where are zeros? Self-describing sequence

BubblerBackground A167519: Lexicographically earliest increasing sequence which lists the positions of the zero digits in the sequence. 3, 10, 11, 12, 11000, 11111, 11112, 11113, 11114, 11115, 11116, 11117, 11118, 11119, 11121, 11122, 11123, 11124, 11125, 11126, 11127, 11128, 11129, 11131, 11132, 1113...

01:00
Sandbox posts last active a week ago: (untitled)
01:57
Went past a building today where the company is called "HBT"
And I thought "that's a funny name to have, Half Byte Tisp"
And then I realised that I've spent too much time here
Half Byte Tex
Half Byte Typescript
02:45
... interesting??
03:26
@user I got 20/20 on an assignment I wrote in scala
Are you proud of me?
 
2 hours later…
05:50
I never thought I'd say this but...after using TypeScript and Python+mypy quite a bit recently, I'm starting to prefer union types and nullable types over tagged unions and optionals
The latter is definitely more elegant, but the former is so much nicer to write
Union are convenient but I hate nullables since they make writing generics hard
06:35
Bruh imagine failing to assassinate the prime minister of Slovakia
Embarrassing...
 
2 hours later…
08:18
> tons of enthusiasm for the potential impact of AI projects [from users]
4
 
1 hour later…
09:29
CMQ Has anyone managed to get a 4 times speedup from running their code on 4 threads?
I get 2 times at most in my experiments
@Simd That's impossible. There'll always be an overhead of spinning up the threads, distributing the work, and collecting it all together again. I've seen about 3× speedup.
@Adám I don't really understand what is happening physically in the chip in the "spinning up the threads" part. I get that distributing the work means copying from memory.
but if it's a shared memory problem there should be no copying needed
What if your two tasks use different part of processing units?
reading from RAM should be doable in parallel? stackoverflow.com/q/45382914/1473517
You mean going through two link lists?
09:52
I've seen 5~6x speedup on a 8-core machine using rayon (a Rust library that automatically distributes work across multiple threads; usually the number of threads = number of physical cores)
Right, that's consistent with my experience of about 3× on 4 threads.
@Bubbler that is cool
do you understand what is causing the slowdown from the theoretical limit other than copying memory?
It takes time to start a thread and assign work to it. And if the work is not distributed optimally, the time will be dominated by the thread finishing last
what is it doing to start a thread and assign work?
I mean at a low level
as an example, I have a large n by n matrix and I want to sum each of the 2n-1 diagonals and put the answers into an array of length 2n-1
I was wondering if a near 4 times speed up would be possible using a better language than numba/python
or even a 3 times speed up!
10:13
this explains about low level stuff when starting a thread (in linux)
thanks. I am on linux
Assigning work can be done in many ways, but for example in rayon, there is a job queue and threads can push and pop units of work. Pushing and popping themselves take some CPU cycles
do you have a feeling for roughly how many ?
@RydwolfPrograms untagged unions don't allow you to have the same type as an option twice
and nullable types generally have no mechanism to use them as monads, which is generally quite useful
compare const x = a(), y = x === null ? null : b(x) with const y = a().flatMap(b)
I can't live without options (it's the first thing I add in larger TypeScript projects)
oh, another advantage of option types is that you can make an optional of an optional
when I say this people always go "I'll never need that" but a simple example is a function that does an HTTP request and returns an optional: if the request fails it returns Nothing and if it is successful but has no result it returns Just Nothing
of course in this case you might be better off with a result type, but still
 
2 hours later…
12:55
0
Q: Construct a uInt from an array of bits

DawnKill3rTask is simple! Take an array of binary values (can be boolean, 0/1, etc.) and use those bits to construct an n-th bit long unsigned integer Examples: [0, 1, 1, 0, 1, 0] -> 26 [true, true, false, true, false, false, true, true, false] -> 422 Functions are treated as the program e.x. function uint...

 
1 hour later…
13:58
at this point, I'm only using trivial optimizations and letting 10x golfers correct me in the comments
I can't be bothered to memorize every way to make I/O just a tiiiiny bit more efficient
14:35
0
Q: Integrate a function from -1 to 1

DawnKill3rCreate a function or program that takes any single-input function (f(x)=...) and returns an approximate integration from -1 to 1. Functions will be treated as programs, with arguments as inputs and returns as outputs. As always, smallest byte length wins. EXAMPLES: y=x^2: ~0.6667 y=e^x: ~2.3504 y...

15:22
@mousetail and if you're designing a type system from scratch to have nullables in it, it's just needless complication when you could have sugar for proper optionals instead--which is why you see it in these systems that are retrofitted onto dynamic languages to deal with dynamic idioms
it's still better than everything-is-nullable static langs but nulls are just icky period
15:48
i rather like nullable type systems
they feel more elegant than optionals
tho i do acknowledge the advantages of optionals
 
1 hour later…
17:10
Hey @Ginger
Ugh the image is too big
But mobo
yippee!!!!
Gonna have to find some thermal paste tho
I should get my order of it tomorrow
I think I have some at my parents' house but it's old
Oh it's only a year and a half old it should be fine
it'll be fine
17:16
Yeah apparently the shelf life is more like 4 years, so I could just go grab that ig
I feel there will be functions that have the new integral answers fail
Anyone any good at coming with with nasty continuous functions ?
17:33
Thank god for the free delivery right
such savings
18:11
is there an elementary function that is continuous but not differentiable at a point that doesn't use absolute values or roots?
(elementary as in composed of elementary functions)
GCD?
yeah, I meant single-variable
@RydwolfPrograms expensive!
(to be clear I'm not buying that, wish I could, just stumbled across the listing while looking for far more affordable server GPUs :p)
simply rents pod power from runpod[.]io if he needs that kind of power
18:24
In shocking twist, local cashier unable to afford $50k hardware :p
I would totally take out a 30-year mortgage for a couple H100s tho. I should talk to the bank.
@RydwolfPrograms hey if you take out a 30yr mortgage can I borrow about $3k so I can get another 4090 for my compute rig and pay you back $200 a month? Needs more power xD
:P
What if I started my own bank. I just give out money for people to buy really cool computer components :p
18:40
what a deal
19:29
@NewPosts Surely we've had a "convert binary to decimal" challenge before... right?
@RubenVerg I think f(x) = x*sin(1/x) is not defined at 0 and therefore not continuous, but if you assume f(0) = 0, f would be continuous and not differentiable at 0.
19:52
i thought of that too but it doesn't really answer the question; if you need to define it piecewise it's really easy to come up with a function with the criterion
Yeah
It almost seems like x*sin(1/x) should be defined, though, because sin(anything) is between 1 and -1, so multiplying it should be 0 no matter what.
@RydwolfPrograms there's an idea xD
20:44
8
Q: What is the purpose of the top tube on bicycles?

GorkaWhat is the purpose of the top tube on bicycles? To neuter guys? My brother crunched his balls so hard on his bike, poor guy.

I'd star that but I'm not sure "crunched his balls" is something that people want on the starboard :p
lmao the drawings
I didn't notice the tags until I posted it here xD
21:02
@RubenVerg If you allow infinite series the weierstrauss function satisfies your definition
21:33
5
Q: I'm trying to find a book l read where a girl's family all has some supernatural thing mom has jellyfish polyps and cousins a werewolf

PhoebeI can't remember the title of this book. The girl comes home from boarding school because her paternal grandmother died. She invites her maternal grandmother who she was forbidden to talk to. All of her family is some sort of supernatural. Her mom is half covered in jellyfish polyps, her grandpa ...

Sounds wild
 
1 hour later…
22:53
I hope my environmental science teacher doesn't actually read my review booklet...
I put "gay frogs" as the definition of endocrine disruptors, "unplug your electric chair when you're not using it" as a tip for reducing energy usage, and the boston tea party as America's main point source of water pollution
7
@DLosc that post title is a sequence whose words I never thought I'd read at all, let alone in such a configuration
@RydwolfPrograms the second one is a good tip I gotta start remembering to do that
23:08
It's good advice for blankets, why not chairs
@RydwolfPrograms that supercomputer was cheaper
come on man, why cant markdown work
@RydwolfPrograms is this before or after your presidency?
During. Federal reserve just got a new mandate.
Sadge, didn't get into harvard after all
Also didn't bother to write a LOCI lol
And from the way it was written they may not have taken anyone off the waitlist at all
23:24
@user So, I still don't watch bad movies (at least not on purpose), but every time I see that one clip from The Last Airbender I burst out laughing... if you still like bad movies, maybe you'll like that.
I don't know about bad movies, but if you want to watch a movie series about farming and grain collection, I hear that the Rebel Moon series is pretty good
Sure it has some action sequences in it, but like for the most part it's good grain shots
Great for any wheat-based protagonist enthusiasts
@RydwolfPrograms not how I expected to learn about that
You clearly don't have a new york times subscription
I do, actually :p
Then how is here the first place you're learning about it?
They sent out a push notification and everything
And it's the top story at the top of the stories list
That's how I knew about it
23:36
¯\_(ツ)_/¯
@lyxal In the US at least, it's been the Trump trial for me, and it's Ukraine and Israel for me rn
literally the first thing you see
Must vary by region or interests or something
yesterday it was the breaking news version
I get Ukraine then Israel then Trump, and yesterday as it was happening I got Trump trial then 2024 election then that
23:39
@lyxal why do you have two cellular bars
built differently
and how is this the first time you've noticed
built differently
How come github has a .gitignore template for some js web framework called Qooxdoo but not templates for more popular frameworks like React, Vue, or Svelte?

« first day (4856 days earlier)      last day (285 days later) »