Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
circuit10
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
4 ms
·
31.
▲
by
circuit10
5mo ago
I don’t mean this in a rude way but you should really read the posts I linked, it’s interesting and part 3 especially answers these questions Direct link to part 3 (but read the others first for context if you can): https://blog.
32.
▲
by
circuit10
5mo ago
What if the compiler is able to use that to determine that a whole code path is dead, and then significantly improve the surrounding function because of that? Compilers optimise in multiple passes and removing things earlier can expose opti
33.
▲
by
circuit10
5mo ago
This series was a good explanation for me of why treating UB this way is genuinely useful: https://blog.llvm.org/2011/05/what-every-c-programmer-should... Being able to assume certain things don't happen is p
34.
▲
by
circuit10
5mo ago
Seems like the anti-clickbait title editing removed the “hundreds of”? This confused me because I thought “oh, they’ve stripped down a Docker image to only 1 megabyte, and then a full game engine adds 34MB more” (I missed the WASM on the fi
35.
▲
by
circuit10
5mo ago
When I had a jailbroken iPhone my bank app (HSBC) would detect it and show a warning but let you continue anyway at your own risk, which I thought was a reasonable compromise
36.
▲
by
circuit10
5mo ago
I think the disk space and bandwidth are what make consent needed, because it’s implied that the browser may download small pieces of data but the user would not expect such a large file be downloaded so it should check with them
37.
▲
by
circuit10
5mo ago
It works fine if scanned by a machine though (ticket gate, self checkout etc.) I've used a third party app for this for a UK weekly pass train ticket you could only buy physically, but if you buy it on a train rather than at a station
38.
▲
by
circuit10
5mo ago
This is not a reasonable size for something that's "just another part of Chrome", this blows up the file size by many times
39.
▲
by
circuit10
5mo ago
I was replying to the hypothetical situation in the comment of saying "Awesome Notepad, a Notepad++ fork"
40.
▲
by
circuit10
5mo ago
Can you really demand someone not have any references to your product? Surely people are allowed to refer to it to explain their fork's relation to the original, otherwise it would also be illegal to compare your product against compet
41.
▲
by
circuit10
5mo ago
Do you mean Ctrl + scroll wheel? I use that feature quite a lot, I like my font size small but it can be difficult to see for other people so being able to quickly scale it up is really useful
42.
▲
by
circuit10
5mo ago
Having a tool involved isn't the same as being entirely generated by a tool For example, without any AI, if I generate a lookup table for the sine function in my code, that table may not be copyrightable because it was machine-generate
43.
▲
by
circuit10
5mo ago
The point is Amazon is adding an “Alexa+” mode that uses LLMs. The plain voice recognition + keyword matching or however the old version works is more reliable (I assume, I didn’t use the new mode much because it immediately failed at what
44.
▲
by
circuit10
5mo ago
No matter how good the LLM features are, I just want to turn my lights on and off and check the time. A perfect LLM could maybe perform on par with a simple deterministic command system for these tasks, but not better. All an LLM does is in
45.
▲
by
circuit10
6mo ago
You can just the post the code somewhere, it doesn’t have to be good and you don’t have to do anything else with it Apart from ensuring there’s not anything confidential in the code like API keys (which you shouldn’t have anyway, unless it’
46.
▲
by
circuit10
6mo ago
You can have multiple WASM modules communicating with each other (though you would probably need extra interop code?), or statically link them into a single module, the concepts work mostly the same
47.
▲
by
circuit10
6mo ago
You can ship an offline, standalone HTML file you can open in your browser too (this might not happen often but my point is it's not inherent to the technology)
48.
▲
by
circuit10
6mo ago
Is it possible that a jailbreak is found that could allow a “kexec” kind of thing to load a new OS? Of course it would be a huge amount of work even if theoretically possible
49.
▲
by
circuit10
6mo ago
At that point it’s not really a decompiler any more but a transpiler (high level language -> other high level language)
50.
▲
by
circuit10
6mo ago
I once used Ghidra to decompile a hand-written ARM assembly floating point library and compile the result to a different architecture, and it was significantly faster than GCC’s built in methods… But in general this kind of thing is very un
51.
▲
by
circuit10
6mo ago
I don't think it matters if you can fork or exec, they're still running custom code
52.
▲
by
circuit10
6mo ago
Not sure why this is downvoted, it's true: https://apps.apple.com/us/app/ish-shell/id1436902243 https://apps.apple.com/us/app/a-shell/id1473805438
53.
▲
by
circuit10
6mo ago
But that "tiny minority" are the people developing apps, which all their other users use... if you drive away devs from wanting to develop on your platform that's not going to go well for you (of course, they may still be for
54.
▲
by
circuit10
6mo ago
Also for some reason that site hijacks your scrolling and tries to "smooth" it, which just makes it feel more unresponsive as most browsers already have smooth scrolling? Looks like they're using this: https://gith
55.
▲
by
circuit10
7mo ago
It's calculator programming related so I'd say not biased in any particular way other than having a lot of hobbyist techy people
56.
▲
by
circuit10
7mo ago
It’s not nitpicking, the term “open source” is not usually used for this kind of thing, it would be called “shared source” I did a poll on this on a Discord server a while ago What does open source mean You can view the source code: 0 votes
57.
▲
by
circuit10
7mo ago
I’m from England but I’ve only every heard “middle lane hoggers” for this
58.
▲
by
circuit10
7mo ago
That isn’t (currently) a goal of WebAssembly: https://webassembly.org/docs/faq/ “Is WebAssembly trying to replace JavaScript? No! WebAssembly is designed to be a complement to, not replacement of, JavaScript. Whil
59.
▲
by
circuit10
7mo ago
It’s subtle, but attention to detail all around will add up to something that looks polished. I appreciate that as a user, at least
60.
▲
by
circuit10
7mo ago
Why does it make sense to compare it to HTML, CSS and JavaScript? You could say "Granted, there are those who use the webcam capture API, but if we compare it to HTML, CSS, JavaScript, then the webcam capture API is simply not existing
More ›