Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
eudox
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
31.
▲
by
eudox
10y ago
That comment puzzled me as well. I don't know what the author meant.
32.
▲
by
eudox
10y ago
Yes, but that library is using Haskell functions to compose SQL strings at run-time. I should have clarified that by interpolation I meant manually writing the string you send to the DBMS.
33.
▲
by
eudox
10y ago
Parameterized queries are to prevent injection. They don't tell you, at compile time, when you're building an invalid/unrepresentable SQL query.
34.
▲
by
eudox
10y ago
This month: https://typesetinthefuture.com/2016/06/19/bladerunner/
35.
▲
by
eudox
10y ago
Yes, a common refinement pattern in code is (pseudocode): def fn(object): let object = predicate(object) ? modify(object) : error(); // do something with the refined object Or something along those lines.
36.
▲
by
eudox
10y ago
Those are two different bindings. That is, fn main() { let x = true; { let x = false; } } Since you don't use let for assignment, it's a non-problem. And it can be useful when you're doing some
37.
▲
by
eudox
10y ago
The breadth and depth to which SQLite is tested[0] is both admirable and inspiring. It's not just "internal" tests, like unit tests or things that can be run from client C programs, but tests of all kinds of hard-to-simulate
38.
▲
by
eudox
10y ago
Yeah, the thing about low-level languages like C is that they are so tied to the machine -- and CPUs are now immensely complex beasts --- that your program, to be fast, has to be written to take advantage of that machine's characterist
39.
▲
by
eudox
10y ago
The problem then becomes ensuring that only code compiled from that language can run.
40.
▲
by
eudox
10y ago
Right. ncurses, too, implements the same kind of lazy redrawing of screen contents, and probably all graphics systems do this as well. The technique is fairy old.
41.
▲
by
eudox
10y ago
>union and intersect not doing the same thing as in common lisp Clojure is a different language.
42.
▲
by
eudox
10y ago
NPM's scale is the exception, rather than the rule.
43.
▲
by
eudox
10y ago
Keep fighting the good fight.
44.
▲
by
eudox
10y ago
How do you determine what is a suspicious package without reviewing every new package by hand?
45.
▲
by
eudox
10y ago
Right, it's only useful if you've prevented typosquatting. Which Debian has, because submitting a new package is a much more involved processes than sudo apt-get publish.
46.
▲
by
eudox
10y ago
I'm a fan of the approach of personally submitting projects to the repository maintainer (e.g. through GitHub issues), and having the maintainer personally approve them. It does raise the barrier to entry, but it would prevent typosqua
47.
▲
by
eudox
10y ago
Aside from using GCC's debugging information, you can emit code that creates its own debugging information in some run-time structure. For example, at the beginning of each function call, you insert a function call that pushes a new st
48.
▲
by
eudox
10y ago
Personally I'm an IF fan, and the "Swiss text adventure games, Zurich (1980), Beyond Zurich (1987), and Return to Zurich (1993)" look like an interesting saga.
49.
▲
by
eudox
10y ago
Funny sidenote: the paper mentions a game titled Age of Ornithology under 5.1.g (Scope). Naturally I got excited at the idea of a game where you play some kind of bird collector, or an intrepid late 19th-century magnifying-glass-and-butte
50.
▲
by
eudox
10y ago
At around 16:00 he mentions a water-filtering molecule that works more efficiently than reverse osmosis.
51.
▲
by
eudox
10y ago
Eh, it's a difference of a few million, maybe tens of millions. A small price to pay to watch this pustulent sore on humanity's face collapse and burn as a result of your actions. Me, I'd take that cut.
52.
▲
by
eudox
10y ago
Gawker didn't lose this trial because they ran out of money to pay their lawyers, they lost because a jury of their peers found they were guilty as sin.
53.
▲
by
eudox
10y ago
>acting in a manner contrary to his own best interest Hogan is a famous, well-liked millionaire[0] already. And he almost certainly doesn't like Gawker. So maybe he thought, "I can give up some of these millions and these paras
54.
▲
by
eudox
10y ago
Dude, my dude, Thiel just paid for part of Hogan's legal fees. That money's not gonna conjure up evidence from the luminiferous aether.
55.
▲
by
eudox
10y ago
I keep that in mind. And this court decision was not made on the basis of how repugnant, malicious or vicious Gawker or Nick Denton are. If Gawker goes bankrupt, it won't be because they're horrible people, it will be because they
56.
▲
by
eudox
10y ago
Denton and the people in his employ have their right to free speech, and Hulk Hogan has the right to use the beautiful system of Anglosphere common law -- certainly the best legal system in the world -- to deal with Gawker's poison. (G
57.
▲
by
eudox
10y ago
The kind of situation you mention is more likely to happen in situations where the laws are so numerous, anyone who is an enemy of the government can be legally imprisoned for something . And while the US certainly is in that situation, th
58.
▲
by
eudox
10y ago
Certainly, but a characteristic of SLAPP is the plaintiff hasn't got a solid case, their purpose is to drag legal procedures long enough to bankrupt their target. Hulk Hogan won this lawsuit fair and square.
59.
▲
by
eudox
10y ago
"The free press" is rather a grandiose title for a rag like Gawker. If Gawker counts as part of "the free press" -- the people Americans trust with the privilege of mediating their access to much information -- then yes,
60.
▲
by
eudox
10y ago
http://lisp-lang.org/learn/getting-started/ The link is above the 'Tutorials' heading. Maybe it needs some custom style to make it stand out.
More ›