back
user profile
porridgeraisin
1,979karma·1,375submissions·March 26, 2023
recent activity (1,375 total)
comment
> A new grad is demanding salaries that simply don't make the economics of training and hiring new grads work This is just me, might not be representative, but as an indian CS graduate, I was …
comment
(Curious) How did Edsger Dijkstra sound like an indian name to you?
comment
Yeah that seems weird. I wouldn't expect it to do that.
comment
tesseract does well for me... const std = @import("std");
const expect = std.testing.expect;
const Point = struct {x: i32, y: i32};
test "anonymous struct literal&qu…
comment
Imagine writing GlCreateContext yourself, for starters, as has been done in the link I posted.
comment
Yeah it's quite something. If anyone wants a preview, here's the triangle hello world in vulkan: https://gist.github.com/Overv/7ac07356037592a121225172d7d78f... But the…
comment
They have made it empty only. >> out = torch.empty([m, n], dtype=x.dtype, device=x.device) The accumulator has been initialized to zero, since well, they have to add stuff into it. >> acc …
comment
> I have this weird hypothesis that part of why methodical "correct" software engineering fails is that it succeeds. It is able to manage complexity, which allows complexity to grow witho…
comment
Nope, I haven't come across a work that does that. But I also haven't looked in a couple months.
comment
Yes, pictures. It's quite useful. Opening images on remotes for one. Viewing plots arbitrary python scripts create for another. Off the top of my head.
comment
> then fine-tune with examples of questions beyond the known depth of the model being refused with "Sorry, I'm a small model and don't have enough info to answer that confidently.&qu…
comment
Yeah, lichess does this. On lichess.org/analysis, each move you make adds a history item, lichess.org/analysis#1, #2, and so on. Pretty annoying.
comment
Didn't mean to belittle any 'X' developer. By "what web devs expect", I meant the settings that are usually used for databases in web apps.
comment
Yes, if journal_mode was not sticky, a new process opening the db would not know to look for the wal and shm files and read the unflushed latest data from there. On the other hand, foreign key enforce…
comment
You should pragna optimize before TX end, not at tx start. Except for long lived connections where you do it periodically. https://www.sqlite.org/lang_analyze.html#periodically_run_pr.…
comment
In memory DBs don't have anything to vacuum. However... what you (and OP) are looking for might be pragma shrink_memory [1]. [1] https://sqlite.org/pragma.html#pragma_shrink_memor…
comment
> So an application that wants to use SQLite as its database needs to be the only one accessing it. No. It uses OS level locks. fcntl(). You can access it from how many ever processes. The only rul…
comment
Yeah, better is the filesystem API
comment
That culture at WITCH and WITCh adjacent companies is itself a result of the pay.
comment
Yeah I thought it was maaaybe human but this line made me think it's AI: > Short sentence 1. Short sentence 2. That’s debugging like a boss. No human writes like that. I suppose the average of…
comment
Is it some sort of "hacker" thing to use hexadecimal numbers even in small for loops? > for (let i = 0x0; i < 0x3; i++) {
document.title = t + i; // Each burst per…
comment
It depends on what counter. [ All from my experience on home GPUs, and in lah with 2 nodes with 2 80GB H100 each. Not extensively benchmarked ] Events like kernel launch, which this profiler reads rig…
comment
Aside from the investor fodder about AGI which was quite funny to read, the part where OpenAI is able to independently pursue consumer hardware is interesting. It points to OpenAI potentially entering…
comment
Why will they have a 90 minute long day? It's probably obvious I'm just not clocking(tee hee) it.