Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
cobbal
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
91.
▲
by
cobbal
2y ago
Without watching the video, this seems to be about https://openjdk.org/jeps/8305968
92.
▲
by
cobbal
2y ago
Great news. I look forward to Microsoft installing this on my computer for me.
93.
▲
by
cobbal
2y ago
I would love to try reading the lossy version.
94.
▲
by
cobbal
2y ago
More specifically, tail recursion is usually easy to turn into a loop. Tail calls can be difficult to turn into loops when they call a different function, or worse a function passed in as a variable.
95.
▲
by
cobbal
2y ago
You get 256 colors per frame. Want more colors? Use more frames! There's some really impressive software/gifs at https://gif.ski/ if you want to see just how far it's possible to push this terrible format.
96.
▲
by
cobbal
2y ago
It's interesting that cert pinning cuts both ways though. It can also be a tool to give users power against the IT department (typically indistinguishable from malware)
97.
▲
by
cobbal
2y ago
Given that proofs must be finite (or it's easy to prove falsehoods), maybe the title is appropriate then.
98.
▲
by
cobbal
2y ago
strncpy is fine as long as it's not used in isolation. My preferred pattern (when I want the truncation) is to use it, and then unconditionally set the last byte of the buffer to null. This will always result in a valid C string.
99.
▲
by
cobbal
2y ago
Probably the widest accepted definition of the term open source is https://opensource.org/osd
100.
▲
by
cobbal
2y ago
Ah, but what if it writes so far off the array that it messes with the contents of another variable on the stack that is currently cached in a register? Should the compiler reload that register because the out of bounds write might have upd
101.
▲
by
cobbal
2y ago
Calling a piracy app "malicious" seems like a huge stretch. Am I missing something, or was this written by the copyright holders?
102.
▲
by
cobbal
2y ago
They have ways to deal with that too. https://www.cnet.com/tech/computing/man-put-cell-phone-jamme...
103.
▲
by
cobbal
2y ago
previous discussion: https://news.ycombinator.com/item?id=40815130
104.
▲
by
cobbal
2y ago
small note: "JSON in its pure form anarchic" is missing a verb
105.
▲
by
cobbal
2y ago
Maybe choice was stronger than I needed. Thinking about it more, I think the problem is that BB isn't even definable (that I can see) without LEM. There's an "either the machine halts or it doesn't" baked in to the
106.
▲
by
cobbal
2y ago
Is there a variant of "there exists a program that prints BB(8000)" that doesn't rely on some sort of axiom of choice? Maybe the intuitionists have a more useful definition of computibility if it doesn't posit that such
107.
▲
by
cobbal
2y ago
How deep in a gravity well are you planning to keep this cesium stopwatch?
108.
▲
by
cobbal
2y ago
Racket has a sophisticated system for dealing with phases in its macro system: https://docs.racket-lang.org/guide/phases.html I don't know if other schemes use a similar system.
109.
▲
by
cobbal
2y ago
That's exactly what iframes are designed to do. Though they do have... downsides
110.
▲
by
cobbal
2y ago
Not pointless to a compiler writer. If a compiler is certain there's UB should it format the developer's hard drive immediately, or does it have to wait until the program is run before formatting to be standards compliant? On a mo
111.
▲
by
cobbal
2y ago
With this you can even roll a QR code into a game of minesweeper: https://sdk.scroll.pub/treeComponentFramework/sweepercraft/#...
112.
▲
by
cobbal
2y ago
Emacs already restricts what variables can be set as file-local. It will prompt you to ask what to do if you open a file containing: ;; -*- eval: (message "arbitrary code") -*- any mode associated with a file extension shou
113.
▲
by
cobbal
2y ago
You should see how much difference adding or removing a '*' can make in C when setting something to 0. I've written that bug before.
114.
▲
by
cobbal
2y ago
They have both. In the demos they were sending select complex tasks out to chatgpt with a large UI alert confirming the data was leaving Apple's walled garden.
115.
▲
by
cobbal
2y ago
Perfect. We'll just build an AI to translate things into a "genuine" tone for the customer. All problems in society will be solved by adding a layer of AI indirection. </s>
116.
▲
by
cobbal
2y ago
The more complicated the codec, the more fascinating the failure modes. I love watching a digital TV with a bad signal, because the motion tracking in the codec causes people to wear previous, glitched frames as a skin while they move.
117.
▲
by
cobbal
2y ago
HM is worst-case exponential, but it just happens to have good performance in practice.
118.
▲
by
cobbal
2y ago
I'll go a step further and say that users should be able to distribute software without needing to get apple's approval. Instead we get the lie of "_ is damaged and can't be opened. You should move it to the Trash."
119.
▲
by
cobbal
2y ago
Reminds me of tramp-mode, but without being stuck in emacs. Nice!
120.
▲
by
cobbal
2y ago
Checking that we've gotten better at dealing with novelty seems like a very hard thing to do. Everyone knows black swans exist, they're famous for it!
More ›