Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
virchau13
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
12 ms
·
1.
▲
by
virchau13
4y ago
That is why modern spellmakers have the tlateochihualapaztli , or the Metaspell, in which other spells can be cast and isolated from the outside world, and their effects recorded and carefully combed through for problems; testing of more a
2.
▲
by
virchau13
4y ago
The type problem is starting to be solved by flakes; the equivalent to the type `operating-system` is the type `nixpkgs.lib.nixosSystem`. To analyze a NixOS system configuration, I look for all modifications to the `services` attr (represen
3.
▲
by
virchau13
4y ago
This sounds interesting - could you elaborate further on how rejection sampling "fails" on LuaJIT?
4.
▲
by
virchau13
4y ago
You don't need LD_PRELOAD; the ptrace mechanism by itself can intercept system calls and modify them on the fly.
5.
▲
by
virchau13
4y ago
XCodeCode? :)
6.
▲
by
virchau13
4y ago
> they also take a lot of time and effort to produce This is a case of bad tooling, not an intrinsic fact. https://www.joshwcomeau.com/css/understanding-layout-algorit... is an article that could have easily been wr
7.
▲
by
virchau13
4y ago
But that article is exactly what we want on the internet. It's the kind of interactive teaching demonstrations that forward looking educators have been thinking about for decades. It's not bloated or overdone; it doesn't take
8.
▲
by
virchau13
4y ago
Where would https://ciechanow.ski/mechanical-watch/ fall? In the document web or the application web?
9.
▲
by
virchau13
4y ago
Using print debugging/strace/valgrind/etc, you're looking at the evolution over time of particular components of program state. Using a debugger, you're looking at all components of program state at particular time
10.
▲
by
virchau13
4y ago
For debugging, check out nvim-dap. It uses the same protocol as VSCode for debugging.
11.
▲
by
virchau13
4y ago
Check out /r/subsimulatorgpt2.
12.
▲
by
virchau13
4y ago
For Linux, look at the eBPF tools - they're really useful[0]. I've used them to troubleshoot annoying problems before, and they're far more practical to use than the usual `strace -f ./program` dance. Troubleshooting sys
13.
▲
by
virchau13
4y ago
Could it be possible to infer optional colors from the environment? You denote that the color is optional in the function's type signature, and inside the body of the function, you have a construct that lets you execute different code
14.
▲
by
virchau13
4y ago
It's not that bad in my opinion? I just middle click to open each link in a new tab. I can read the new tab, close it, leave it open, whatever. The links I've already clicked will turn purple, meaning I can easily see which links
15.
▲
by
virchau13
4y ago
To be fair, this is just dualism, but in a non-religious way :P
16.
▲
by
virchau13
5y ago
IIRC [still spoiler] they specifically chose the spacing so that the hard drives would be unscathed, and captured the hard drives before they fell into the canal, although it is still a little ridiculous. But in any case, keep reading! I pr
17.
▲
by
virchau13
5y ago
The broken part is that it is worth it to use an inefficient rendering method (lots of JS generated by React + an interpreter and GC + a render tree (React VDOM) + an overcomplicated element tree (DOM) + a rendering system) instead of an ef
18.
▲
by
virchau13
5y ago
> you can call a specific version of a function in a library A library has some functions. Later, the library gets refactored, and those functions are thereby rewritten; but since no changes have actually been made, the version number st
19.
▲
by
virchau13
5y ago
Yeah, but they're not going to do it 1 billion years in advance, they'll do it 2 years before :p
20.
▲
by
virchau13
5y ago
Out of curiosity, what do you actually use the Ruby liveloading feature for? I use Neovim, which has a similar (but less powerful) feature that allows one to live-execute Lua code (or Vimscript, I suppose). But I almost never use it outside
21.
▲
by
virchau13
5y ago
It's worth noting that one can handle really badly behaving software using buildFHSUserEnv.
22.
▲
by
virchau13
5y ago
Also note that `printf "%q"` is an alternative to this.