Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
ufo
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
21 ms
·
271.
▲
by
ufo
3y ago
The genie got somewhat out of the bottle with constructors: C++ will call constructors to initialize static variables. In theory we could use this mechanism to allow top-level statements. However, these static initializers are so full of fo
272.
▲
by
ufo
3y ago
One corner case is that b() might use variables that are initialized further down in the file. Some languages, such as Javascript, lift function definitions to the top so you can call functions defined below you, but it's harder to do
273.
▲
by
ufo
3y ago
The song in question: https://www.youtube.com/watch?v=AiYg1jRV2cM
274.
▲
by
ufo
3y ago
One challenge is that these superconductors are ceramic. Brittle and inflexible.
275.
▲
by
ufo
3y ago
Seems to be the same one that had a video a couple of days ago https://news.ycombinator.com/item?id=36953396 Back then, many asked if this was superconduction or merely diamagnetism. Does the new paper shine any light on th
276.
▲
by
ufo
3y ago
Does this also works inside if and while blocks?
277.
▲
by
ufo
3y ago
Does anyone know where we find a video of xroach in action?
278.
▲
by
ufo
3y ago
What is langchain?
279.
▲
by
ufo
3y ago
In Brazil, grafite means respectable street art such as murals. For vandalism we say pichação , or pixo .
280.
▲
by
ufo
3y ago
If you're interested in implementing programming languages: Crafting Interpreters, by Robert Nystrom https://craftinginterpreters.com/ Most accessible compilers book out there.
281.
▲
by
ufo
3y ago
What is that marketplace?
282.
▲
by
ufo
3y ago
They can access the first coordinate either with c.l or c.v[0]. They are aliases to the same memory position, because of the union.
283.
▲
by
ufo
3y ago
Just wondering... Why do they need to keep 1.0 in a register?
284.
▲
by
ufo
3y ago
Won't they go bad eventually? How dos that work?
285.
▲
by
ufo
3y ago
IIRC, some Smalltalks also use a similar trick.
286.
▲
by
ufo
3y ago
What do you recommend for viewing and editing such files?
287.
▲
by
ufo
3y ago
I love telling about that example to my programming language friends. > Hey you should read the AWK book, it even says how to write a VM! > Why would I ever want to use AWK for that? > Well, the input is a text file with one space-
288.
▲
by
ufo
3y ago
A second edition is coming?? Awesome!
289.
▲
by
ufo
3y ago
XXXV also works
290.
▲
by
ufo
3y ago
Also, add "+" at the end if you're putting the king in check.
291.
▲
by
ufo
3y ago
It works if you put the chess move before the captcha
292.
▲
by
ufo
3y ago
I think Up nailed how dogs would behave if they could talk.
293.
▲
by
ufo
3y ago
Might work for config files but would it work for environment variables?
294.
▲
by
ufo
3y ago
On Linux I input special characters using the Compose key. Works everywhere, not just in Vim.
295.
▲
by
ufo
3y ago
I love kakoune's client-server design. I can open multiple terminal windows instead of terminal splits and panes (which I can never remember the shortcuts). My main gripe is the extension model. Plugins run in a separate process which
296.
▲
by
ufo
3y ago
Why does it have /^1?$/ ? Wouldn't that accept 0 and 1 as primes?
297.
▲
by
ufo
3y ago
Reminds me of <close> from Lua 5.4
298.
▲
by
ufo
3y ago
1.People like talking to each other on discord. 2. No. :/
299.
▲
by
ufo
3y ago
Furthermore, in this case there were actually two commits related to the bug. An older commit that introduced the race condition, and a second commit that triggered it (by subtly changing how long a certain function took to run). The long b
300.
▲
by
ufo
3y ago
Does anyone know where I can find more examples of Rash code? Scripts large and small that do something cool... I get more inspired by those than by reading documentation :)
More ›