Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
zelly
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
23 ms
·
181.
▲
by
zelly
6y ago
Yes, Synaptics produces closed-source drivers for Windows and ChromeOS. ChromeOS also uses its own low-level input/graphics stack, not X11, so even if you had the code to it you wouldn't be able to just compile it on GNU/Linu
182.
▲
by
zelly
6y ago
I like the research idea but please do this on a separate blockchain not on the Bitcoin network. Not only would it be so expensive to be unfeasible, it'd also be an egregious waste of a vital resource (block space). The Bitcoin network
183.
▲
by
zelly
6y ago
That's literally a different language though, but I get your point. CPython is the worst implementation.
184.
▲
by
zelly
6y ago
Type hints don't help performance either because the interpreter discards them. The hints are not enforced by CPython, so you now need a build tool instead of just running the script. The whole point of PEP 484 seems to be to enable au
185.
▲
by
zelly
6y ago
There is no difference between the two because they are the same thing, just architected differently. The networking is done by, say, nginx rather than a server that is part of the application. fastcgi applications can "scale to 0"
186.
▲
by
zelly
6y ago
the original Heroku/AppEngine
187.
▲
by
zelly
6y ago
I don't remember the last time I installed a GUI desktop application. I think it might have been Zoom a couple years ago. If I install a desktop application that isn't some command line utility, it's a big deal, like a new gi
188.
▲
by
zelly
6y ago
There are much more real-world use cases for reproducible builds than for IPFS. It saves time and money. It's not just academic. Reproducible builds (as in bit-for-bit) means I can trust a (secure) checksum of a binary I downloaded som
189.
▲
by
zelly
6y ago
Firefox's sandboxing incomplete or nonexistent (e.g. GPU process is not sandboxed on Linux).
190.
▲
by
zelly
6y ago
babel, typescript mostly and soon wasm
191.
▲
by
zelly
6y ago
All of those offer static type checking. Python and Ruby's don't necessarily change how the code is compiled, but it might in the future. Common Lisp declare/declaim/proclaim changes the way the code is compiled; it'
192.
▲
by
zelly
6y ago
It won't be optional in Ruby 4, most likely.
193.
▲
by
zelly
6y ago
So now there are basically no dynamically typed languages left. There's Scheme, JavaScript, what else? All languages nowadays are converging to TypeScript/Rust. It's kind of sad.
194.
▲
by
zelly
6y ago
It's all open source. Is there anyone making money from VS Code plugins? Why does it matter if MS "steals" the code?
195.
▲
by
zelly
6y ago
> In IntelliJ I can write a half baked statement like `new Foo()`, and then Alt + Enter my way to it being `foo = new Foo();` as a private member variable of the class in no time This will be in VS Code one day, except when it's the
196.
▲
by
zelly
6y ago
That is solved by using garbage collection. There are times you need manual memory management. Then there are other times you don't (the vast majority of use cases). Rust forces you to constantly pretend that memory management matters,
197.
▲
by
zelly
6y ago
Memory errors are not as big of an issue in the real world as the designers of Rust seem to assume. Andrei Alexandrescu has this quote about how Rust skipped leg day. You should all look it up. Here's what actually matters, in the real
198.
▲
by
zelly
6y ago
No it's not. Research generational garbage collection.
199.
▲
by
zelly
6y ago
Ada, Java, C#, Go, Python
200.
▲
by
zelly
6y ago
R*st was designed to fragment the heap as much as possible. There's no way to fix it without major changes to the compiler or using "unsafe".
201.
▲
by
zelly
6y ago
He gave away all his money and that's still not enough for you?
202.
▲
by
zelly
6y ago
> But it's funny how, for many features that were added later, people were rationalizing their absence with such lines too There's nothing wrong with that. If string interpolation is really useful, then Java will add it some ye
203.
▲
by
zelly
6y ago
I'm glad Java is being conservative and not doing that. JS/Python f-strings have not proven themselves long-term. It also bloats the language with yet another mini-DSL. You can always add a proper templating engine on top.
204.
▲
by
zelly
6y ago
#include <cstdio> int main() { auto square = [](double x) -> double { return x*x; }; printf("%f\n", square(10)); return 0; } since 2011
205.
▲
by
zelly
6y ago
I'm sorry but a language that has data entropy and link rot built into its compiler is not appealing to me. I prefer the Go approach which lets you host or import packages via a HTTP or git URI. If you have to have packaging built-in t
206.
▲
by
zelly
6y ago
Lambdas are compiler friendly. They reliably inline unlike standalone functions. It's not laziness, it's an optimization.
207.
▲
by
zelly
6y ago
Or, you know, actual garbage collection (generational, JVM-style)
208.
▲
by
zelly
6y ago
It doesn't work in Rust, only Clang
209.
▲
by
zelly
6y ago
I'm looking forward to reflection and executors in 23. Then it will basically be the most powerful language. With compile-time reflection, you could add whatever language feature you want--almost as powerful as Common Lisp macros.
210.
▲
by
zelly
6y ago
Political manifestos don't belong on HN.
More ›