Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
madmax96
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
16 ms
·
121.
▲
by
madmax96
8y ago
First, I have a problem with rewriting common utilities (like find, which also supports more search functionality than regex) while changing flags (e.g. `i` to ignore case to `s` - incidentally, grep also accepts `i` to ignore case). It mak
122.
▲
by
madmax96
8y ago
In practice, that's done. For instance, in common lisp there are procedures like `MAKE-ARRAY` and `MAKE-HASH-TABLE`. The interesting thing is that these hash tables and arrays are considered to be atomic. Clojure generalizes the notion
123.
▲
by
madmax96
8y ago
Really nice code, as someone who isn't caught up entirely with the recent work that's gone into C++, it taught me some useful features! The taxonomy isn't quite right for Lisp. It's actually simpler than the post. It sho
124.
▲
by
madmax96
8y ago
I agree with the sentiment, but my critique applies so generally that it must be noted: if a command accepts a filename as a parameter, you should absolutely pass it as a parameter rather than `cat` it over stdin. For example, you can write
125.
▲
by
madmax96
8y ago
You have to use a PoW that's different enough from popular blockchains that they are unable to use speciality hardware against you.
126.
▲
by
madmax96
8y ago
What’s the problem with the disjunction?
127.
▲
by
madmax96
8y ago
I'm going to be a little nitpicky here: > Definition. An expression is a symbol of sequence of symbols given some interpretation. > Definition. A language is collection of expressions. I immediately reject these definition. A lan
128.
▲
by
madmax96
8y ago
IMHO iTerm isn't all that great. I have problems with common keyboard shortcuts that work in every other *nix terminal emulator (eg forward over word). The response seems to be "just redefine these keyboard shortcuts yourself!&quo
129.
▲
by
madmax96
8y ago
Have you checked out Ubuntu's snap system? It provides fine permissions for applications, alongside a certain amount of application isolation. https://snapcraft.io/
130.
▲
by
madmax96
8y ago
“There is a false saying: “How can someone who can’t save himself save others?” Supposing I have the key to your chains, why should your lock and my lock be the same?” - Nietzsche
131.
▲
by
madmax96
8y ago
That’s a very good point. The modern web browser must be a low-level application. Still, a web browser somehow seems different from other pieces of software on your system. This is because everything you just described is traditionally prov
132.
▲
by
madmax96
8y ago
I've slowly built up some personal thoughts about this subject that I think would be worth writing up more formally. For now, I'll provide a very high-level critique of this article. >memory-safe languages that are usable for l
133.
▲
by
madmax96
8y ago
Especially since containers use vanilla processes and light-weight access control mechanisms that I wager V8 uses some of. But they are running multiple client's services in the same process, so that's how they're saving - le
134.
▲
by
madmax96
8y ago
How does that design actually manifest itself? I don't know very much about this - what technical details about JavaScript make this easier? And then why doesn't Node support this kind of sandboxing, but V8 does, if it's so m
135.
▲
by
madmax96
8y ago
Isn't the point of running these serverless components on data-centers closer to the edge to reduce latency in emerging IoT applications? My question is why would I want to run an unmodified application on this? Because of existing bus
136.
▲
by
madmax96
8y ago
What about JavaScript makes sandboxing easier than, say, Go, Python, etc?
137.
▲
by
madmax96
8y ago
It seems strange to me that `(map extract-name justice-league)` isn't listed under "idiomatic improvements." Supposing you already had `extract-name` defined for some reason, it's cleaner and simpler to just map that un
138.
▲
by
madmax96
8y ago
Most indentured servitude in the US was a voluntary agreement [1] although all such agreements are now illegal by the 13th amendment. Also, there exist the concept of a so-called "unconscionable contract." I'm not saying this
139.
▲
by
madmax96
8y ago
Re: 1 - that might be true, but you still probably wouldn't want to co-tenant a sandbox'd process with a total stranger. The overhead of a total Linux kernel is still larger than a unikernel-native application, so if you're a
140.
▲
by
madmax96
8y ago
https://medium.com/stanford-d-school/want-some-creativity-cr... It’s interesting - when you begin adding constraints, sometimes it helps solve the problem. You can’t be creative unless you’ve created a solution. It wou
141.
▲
by
madmax96
8y ago
https://en.m.wikipedia.org/wiki/Garbage_collection_(computer... Reference counting is listed as a strategy to achieve garbage collection. Broadly speaking, garbage collection is the process of automatically managing th
142.
▲
by
madmax96
8y ago
Yes, but the overhead is much smaller compared to other techniques, and it's simpler to predict runtime behavior because there is no nondeterminism when ignoring the runtime which would otherwise be introduced by collector behavior.
143.
▲
by
madmax96
8y ago
Fair point. So the response "it's insulting because it implies I'm a bad person" to a CoC discussion is shaky because the presence of a formal process designed to achieve some objective (e.g. better software, or (in the
144.
▲
by
madmax96
8y ago
> Do you have the same reaction to automated linters or being told to write unit tests? There's a huge difference between technical processes that have gone through extensive peer-review processes and survived decades-long debates u
145.
▲
by
madmax96
8y ago
>It's fully possible for individuals to self teach in a working environment and be capable of performing effective research with 2-4 years of good experience after undergrad. It's technically possible, but it's unrealistic
146.
▲
by
madmax96
8y ago
I get it. I hate login-walls too. The level of toxicity in the github issue's conversation is so astounding that I must say something. People on the internet are people. I hope that we don't talk to people in "real life"
147.
▲
by
madmax96
8y ago
>if cat is slower than redirection from a file - then I'd say something is amiss With `cat`, a new process must be created. But with shell redirection, no new process is necessarily created, so that is going to be faster.
148.
▲
by
madmax96
8y ago
I think you're right - this is an academic language. That doesn't mean it's devoid of value, it's just not meant to solve industrial problems. Instead, it's supposed to experiment with a new paradigm so that other (
149.
▲
by
madmax96
8y ago
Awesome software, this is totally something I could see myself use regularly. Heads up: on my Mac, browsh isn't properly resetting the tty when it crashes.
150.
▲
by
madmax96
8y ago
This one was kind of troubling, if you ask me: >If the leader ever dies, a new leader will be elected >through a simple protocol that uses random sleeps and >leader declarations. Why not have each node self-generat
More ›