Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
ufo
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
26 ms
·
361.
▲
by
ufo
4y ago
Apparently the arrangement involved a 3rd party to do the due diligence and they were the ones that got duped.
362.
▲
by
ufo
4y ago
SBF also linked to this blog post from https://twitter.com/SBF_FTX , so it appears to be actually him.
363.
▲
by
ufo
4y ago
> It was no mind-reading trick, the Catalan numbers are certainly the most common sequence that people don’t know about Guilty as charged! I learned about this sequence after looking it up in the OEIS, back when I was still a young stude
364.
▲
by
ufo
4y ago
Induction ovens are more efficient than an resistive heating element and can transfer a lot of heat into the pan. Just as much as a flame or even more. The difficulty with woks is that flat induction cooktops are only compatible with flat-b
365.
▲
by
ufo
4y ago
Hmm... Looks like sdl2-config is deprecated and will be removed for SDL3: https://github.com/libsdl-org/SDL/issues/6140
366.
▲
by
ufo
4y ago
What are the pros and cons of sdl2-config vs pkg-config?
367.
▲
by
ufo
4y ago
Exactly! Convection ovens are devices for roasting, not for frying.
368.
▲
by
ufo
4y ago
Lua also allows you to choose the string delimiter. If your string contains "]]" you can delimit it with [=[ or [==[ instead. Any number of "=" so long as the opening and closing delimiters match.
369.
▲
by
ufo
4y ago
I'm intrigued. Is there somewhere where we could find the full definition of these macros?
370.
▲
by
ufo
4y ago
A big difference is that Tcl's upvar is dynamically scoped. A more appropriate Lua analog would be Lua's debug API (e.g. debug.setlocal)
371.
▲
by
ufo
4y ago
For the most part, the info is still valid today. The main thing that changed since then is that Lua 5.3 introduced integers and several new bytecode instructions for the common case where one of the operands is a small integer constant.
372.
▲
by
ufo
4y ago
Nowadays the upvalues in Lua are bona-fide lexical scoping a-la Scheme or Javascript. However, the name comes from Lua 4.0 where the upvalues worked in a more unusual way. Not in the same way as Tcl though, but just as surprising for the un
373.
▲
by
ufo
4y ago
> The 5.0 VM is a register machine, which operates on a set of virtual registers that can store and act on the local variables of a function, in addition to the traditional runtime stack. This is a common source of confusion, because the
374.
▲
by
ufo
4y ago
Does that also apply if you're not sending surplus energy back into the grid?
375.
▲
by
ufo
4y ago
Not to mention that individual Brazilian states are about as large as European countries.
376.
▲
by
ufo
4y ago
"Karen" as a slur is one of my least favorite memes from the 2020s. Can't wait for the day it falls into disuse. Lot's of real people have that name!
377.
▲
by
ufo
4y ago
Here's what I did back when I used XFCE a couple of years ago: The xfce whiskermenu plugin includes a text search feature that looks similar to the one from Windows. On Xubuntu the whiskermenu is the default "start menu" whil
378.
▲
by
ufo
4y ago
FTX customers can perform leveraged trades, where they borrow money from FTX and post other assets as a collateral. In theory there could be some kind of liquidity crisis if FTX had to liquidate many margin trades at the same time. But that
379.
▲
by
ufo
4y ago
Free as in Freedom, by Bradley Kuhn and Karen Sandler from the software freedom conservancy. About free software, particularly from the legal & lawyery end of things. Although they haven't released new episodes in a while, the arch
380.
▲
by
ufo
4y ago
I feel that today's discussion is a perfect example of why the term "sealioning" was coined.
381.
▲
by
ufo
4y ago
One funny thing about bazaars is that they decrease desirability for adjacent houses but increase desirability for houses that are 3-6 tiles away. A good strategy is to build them close to the houses, but surrounded by other service buildin
382.
▲
by
ufo
4y ago
In my experience, the biggest source of "random" glitches were the entertainment walkers. Because of a bug, sometimes the dancers would teleport and wonder off outside of the block. Lack of bazaar goods can also be a problem, spec
383.
▲
by
ufo
4y ago
One caveat to pay attention to... Ever since LuaJIT and PUC-Lua diverged, PUC lua has made some significant changes to the garbage collector. I wonder if that might affect the comparison vs LuaJIT for memory intensive benchmarks such as bin
384.
▲
by
ufo
4y ago
Fascinating! I wonder if there's a way to keep this 100% inside the C ecosystem, without having to reach for an LLVM dependency...
385.
▲
by
ufo
4y ago
The problem with that example is that you had to ±1 both of the ends of the original range. That is, you started with [555,560) and had to rewrite it to (554,559] for the reverse loop.
386.
▲
by
ufo
4y ago
Dijkstra is a smooth talker and sometimes he's able to convince people that an argument is settled even when it is not... Here, he conveniently ignores examples that are better for [closed,closed], such as iterating backwards over the
387.
▲
by
ufo
4y ago
Great news! \o/
388.
▲
by
ufo
4y ago
Why is stdbool.h deemed "mostly useless now"? Is it always available via another header now?
389.
▲
by
ufo
4y ago
By the way, what the hell is a fiat@? Is that at-sign a typo or is it some kind of jargon I don't understand?
390.
▲
by
ufo
4y ago
For a precise definition of "processed", check out the NOVA system. The biggest villains are the "ultra processed" foods. https://www.fao.org/3/ca5644en/ca5644en.pdf https://www.camb
More ›