Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
pacala
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
103 ms
·
931.
▲
by
pacala
14y ago
I don't see the similarity. Would you please substantiate your claim? Going to the article you cited, the ultimate magic appears to be the use of macros. Defining composable (mini-)languages that are appropriate for a given domain is indeed
932.
▲
by
pacala
14y ago
Similar, but not the same. California / Cascadia / Mormonland form different entities on his map, but are all lumped under San Francisco Federal Reserve District.
933.
▲
by
pacala
14y ago
If the hardware access is taken care by the hypervisor, doesn't this imply the hypervisor supports the functionality of device drivers, i.e. the hypervisor has become the OS? Granted, it may delegate the device driver work to a some VM, in
934.
▲
by
pacala
14y ago
I can only hope that from now on reviewers of Mr. Musk cars will turn their mobile phones in data recording stations and even the field. Broder was taken by surprise; there is little precedent for the kind of irrelevant spin he was the subj
935.
▲
by
pacala
14y ago
An interesting question is why do developers prefer runtime extensibility over compile time extensibility? Runtime extensibility trusts whatever happens to come on the wire, compile time extensibility explicitly whitelists the exact set of
936.
▲
by
pacala
14y ago
Duh, blocks are evaluated in leftmost order. This is neither news, nor particularly profound in any number of popular curly brace languages. Rewritten with curly braces, so it's recognizable by most Blub programmers out there: { { pri
937.
▲
by
pacala
14y ago
Edward talks about the monad laws, especially the associativity one. But that is kind of simplistic, because the domain over which the laws apply can be shaped quite complexly, leading, for example, to IO or State being "monads". I fail t
938.
▲
by
pacala
14y ago
Add auto-complete to the command line and everyone will start using long form without the need to beg. Imperfectly remembering the flag spelling is a rather large annoyance, short flags avoid this problem at the cost of crypticism, autocomp
939.
▲
by
pacala
14y ago
Out of technical curiosity, would it be reasonable to remove YAML from the source tree and check for the lack of exploit via "find $APP_ROOT -name "*.rb" | xargs grep YAML"?
940.
▲
by
pacala
14y ago
FRP is super nice, but no magic. I found that it makes it natural to decompose the codebase in model/view/controller and encourages an explicit state machine for updating the model. At the same time, a time-varying value is a plain old obse
941.
▲
by
pacala
14y ago
Where is the on the record typical case statement? I haven't seen one yet.
942.
▲
by
pacala
14y ago
The core issue is that the system relies on bargaining instead of truth. But we can't make judgements of the system in abstract. The system is the sum of the actions of its participants. In that sense, it is perfectly fine to call out indiv
943.
▲
by
pacala
14y ago
Indeed words have a meaning. If you issue a statement that "the defendant is charged with crimes that carry a maximum sentence of 35 years", then you inherently quantify the gravity of the defendant acts as a 35 year jail time crime. If, in
944.
▲
by
pacala
14y ago
Given how the rest of the society works, I'd be not surprised that "incompetent" really means "poorly connected" and that the whole system is just a $1.5 million racket to get a "well connected" lawyer to grease your case.
945.
▲
by
pacala
14y ago
There is one detail: she never added, in public, "I'm seeking X years". She always kept talking about the maximum penalty. The ball is in her court and Linus is right to call her backpedaling a lie.
946.
▲
by
pacala
14y ago
Perhaps this may sound harsh, but if you handle large amounts of money and are informed that your software stack allows arbitrary code execution then: You pull off the plug ASAP. Better have customers unable to use the service for one day t
947.
▲
by
pacala
14y ago
You add tainting propagation to every method in the system that handles tainted user input. Hopefully, this will encourage you to untaint the user input ASAP and build native objects out of it. Now, of course, if you take untainted strings
948.
▲
by
pacala
14y ago
> The value of a parameter id was reflected to the HTTP response The link you posted illustrates that it is unfortunate that Java supports reflection, and even more unfortunate that various "enterprise" software stacks abuse reflection
949.
▲
by
pacala
14y ago
The visitor pattern is a convoluted alternative syntax for "switch".
950.
▲
by
pacala
14y ago
The APIs are exactly the same. One is explicit, reading its signature is enough to understand what it does, the other one is implicit, requiring reading the method body. The implicit version readability mass increases fast as it makes furth
951.
▲
by
pacala
14y ago
I'm assuming that emitting "movzx edi, byte [PTR]" is using x86 as the target, thus retargeting for ARM will likely require a complete rewrite of the brainf#ck jit. In that sense retargeting is hard. But I may be wrong! I am looking for a f
952.
▲
by
pacala
14y ago
TL;DR DynASM is a toned down JIT compiler which directly generates target assembly instead of a more abstract IL. Retargeting and optimizations will be hard. I'm looking forward the next installment, where (hopefully!) one generates target
953.
▲
by
pacala
14y ago
You climbed to a position that enables you to take credit and spoils for the work of X serfs, and then you jump ship. You seek a position where you are in charge of X serfs and work your way up to XX serfs. And then you jump ship again, wit
954.
▲
by
pacala
14y ago
But we want: 1. To spam you. 2. To track your every move.
955.
▲
by
pacala
14y ago
What about spec the "why", then engage with the team to figure out the "what", then let the team figure out the "how" by themselves. Believe it or not, the PM is not the only one with problem-solving skills on the team to tackle the mapping
956.
▲
by
pacala
14y ago
> Function-extensibility using the visitor pattern in OO sucks compared to functional pattern matching. Not only that, but using the visitor pattern tilts the extend types / extend functions into extend functions realm, soundly defeatin
957.
▲
by
pacala
14y ago
As long as there is a mechanical transformation from one style to another, this is not abstracting, is merely shifting the syntax. You do introduce more named test points, but you risk of creating too many tests at a too small granularity,
958.
▲
by
pacala
14y ago
It's even broken in trivial ways. Sure, sharing a pic with one's friends raises the risk of someone sharing it on Twitter, but that is super simple to do. Right click, Save Image As..., Upload, Browse, OK. Here are 2 little technical things
959.
▲
by
pacala
14y ago
The elite few who own the world.
960.
▲
by
pacala
14y ago
> E.g. imagine that Germany say that HN needs to have pictures or, at very least, thumbnails. ;) This is a weak slippery slope argument. Germany is not making arbitrary requests on web sites. Rather it is protecting the right of its cit
More ›