Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
zelly
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
83 ms
·
811.
▲
by
zelly
7y ago
It is very readable. Helped me get over my initial prejudice after I actually looked at it.
812.
▲
by
zelly
7y ago
I assumed Standard ML was more like Haskell than it is. Going through OP's tour, I notice that it has enough features to actually be usable. It has primitives for concurrency and OS APIs.
813.
▲
by
zelly
7y ago
> Just because you don't know it doesn't mean its hard I spent a long time learning Haskell and have written enough Clojure especially to safely call myself an expert in it. I obsess over languages (not proud of that btw). FP i
814.
▲
by
zelly
7y ago
How are any of these coming from Lisp? I was under the impression that ML was a completely separate camp from Lisp.
815.
▲
by
zelly
7y ago
PL theoretic superiority was not the design goal. Golang was intended to be a pragmatic, bread-and-butter language for large teams with churn. Bad code needs to be screamingly obvious. It also needs to be very easy to learn. FP langs can ne
816.
▲
by
zelly
7y ago
You could also use libclang to parse and codegen the extra braces. https://clang.llvm.org/docs/Tooling.html That way you don't have to maintain your own branch of clang.
817.
▲
by
zelly
7y ago
The big problem with native threads is its API. You have to make a callback aka function pointer. All of a sudden you have to keep track of parallel execution of these function pointers. This level of abstraction has no representation in co
818.
▲
by
zelly
7y ago
They have even more power than the paid ones, because the most of sites they secure wouldn't/couldn't get a paid cert if Let's Encrypted disappeared or refused to serve them. At least the customers of paid ones could jus
819.
▲
by
zelly
7y ago
Devil's advocate: HTTPS centralizes the web around big players. The CA trust model gives a privileged few the right to say what websites are "secure", even in cases where no user input goes down the wire. "Not Secure&quo
820.
▲
by
zelly
7y ago
Since it's happening without the greater economy collapsing, it's actually bullish. The market cleans house sometimes and comes out stronger.
821.
▲
by
zelly
7y ago
FreeBSD you mean. OpenBSD and NetBSD are still simple. You can realistically read the entire source code of OpenBSD, compile it, and know exactly what's on your computer front to back. To do the same with Linux is a research project.
822.
▲
by
zelly
7y ago
Check out OpenBSD. It gives me that old Linux feeling before it became corporate infrastructure. The code is not bloated like Linux so you can actually contribute as an individual.
823.
▲
by
zelly
7y ago
Smart. While everyone is trampling over each other to get into the tiny little door (the SaaS/FAANG/npm/golang/frontend/iOS scene), they found the smaller side door that no one else is taking. Delphi is good for ord
824.
▲
by
zelly
7y ago
I stand corrected. The contiguous vector is better and more cache-friendly. #include <chrono> #include <iostream> #include <memory> static constexpr size_t MAX_NODES = 1 << 27; struct Node { size
825.
▲
by
zelly
7y ago
Yes, but let's be real, 95% of programmers do not build real-time systems. Especially not the type of programmers Rust is appealing to. They seem to be more excited by WebAssembly than the stuff that actual low latency people worry abo
826.
▲
by
zelly
7y ago
True, but you can do the same thing more efficiently with pointers. Suppose the parent maintains an array of children Node* Then each child has a Node** member which points to itself in that array. That's one dereference
827.
▲
by
zelly
7y ago
Not impossible, just harder. Ceteris paribus, it would have been easier to write those programs in Python or Java. It's not like this is not well-known. Rust users admit it. GUIs are hard to write in Rust because of the limitations of
828.
▲
by
zelly
7y ago
Everything that's hard in Rust could be solved by GC. With Rust, programmers have to spend most of their mental energy worrying about management of memory, which has largely been automated already. I always go back to this quote from A
829.
▲
by
zelly
7y ago
Because the USA is doing the same to them and their political/military/business leaders. This is par for the course. Everyone is hacking everyone. I'm surprised that they (the NSA) didn't give Bezos a hardened phone and
830.
▲
by
zelly
7y ago
This was the endgame. Ever wonder why the original release of Chrome combined the search bar and the address bar? Nobody bookmarks/memorizes domains or URLs anymore. Google == the web, as far as most people are concerned. 90% of the ti
831.
▲
by
zelly
7y ago
I dream of the day when home routers have IPFS installed.
832.
▲
by
zelly
7y ago
> IPFS doesn't encrypt the content, or the connectivity, or hide the hosts. Solutions exist around that, but they're niche, and honestly I question the motives besides just ideology. I question the motives of people who would b
833.
▲
by
zelly
7y ago
IPFS really needs onion routing built-in. When I was reading this, I thought about running an IPFS node on my desktop but remembered it doesn't have onion routing built-in. So I'd have to run a proxy like torsocks and torify the I
834.
▲
by
zelly
7y ago
ftp://ftp.ai.mit.edu/pub/ http://www.norvig.com/paip/ Have fun
835.
▲
by
zelly
7y ago
In theory there's no reason it shouldn't be used. CL has OOP, GC, very mature optimizing compilers. It was used in industry a lot as the faster-to-develop alternative to C, but then Java/Python pretty much took over since the
836.
▲
by
zelly
7y ago
Practical Common Lisp (first few chapters) do a toy project read a lot of old Common Lisp code floating around on tarballs then read Paul Graham's books
837.
▲
by
zelly
7y ago
Let Over Lambda is another classic. I heard HtDP is also good, but I haven't read it.
838.
▲
by
zelly
7y ago
Neat. I will try this. Check out Guix. It's similar but defines packages in Scheme, which I prefer greatly to the Nix DSL.
839.
▲
by
zelly
7y ago
You can do software anywhere you can get a network connection, but if VCs aren't there, then you don't get a job. VCs have to be the first movers on this. So I have a suggestion for any of you reading. A major reason for SV being
840.
▲
by
zelly
7y ago
Yeah, my opinion, neural networks alone aren't going to cut it. We need a better primitive.
More ›