Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
sacado2
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
45 ms
·
421.
▲
by
sacado2
10y ago
Yet most people have cable TV (and/or a gym membership they never use).
422.
▲
by
sacado2
10y ago
This. We (especially you US citizens) have never be that rich ever in the whole history of mankind. Yet people keep complaining life is tough. I don't get it. But who wants to live his grandparents' life ?
423.
▲
by
sacado2
10y ago
Yes, that's true, but I think self-publishing authors (at least on the ebook market) adapted. Amazon is very good on this market. More often than not, if you want to make money in that niche, you better publish series with a free first
424.
▲
by
sacado2
10y ago
> One or two drafts is not enough, even for experienced established novelists. cough Elmore Leonard cough cough Robert Heinlein cough > Not to mention that, once self-published, a book is highly unlikely to be re-published by
425.
▲
by
sacado2
10y ago
This. There's nothing wrong with writing for yourself, and only yourself. But, if you want readers, well, you have to somehow appeal to readers. They don't owe you anything. Both approaches to writing are okay, but I think there&#
426.
▲
by
sacado2
10y ago
The Oberon operating system is as old as linux, yet I'm pretty sure you use the latter more often than the former.
427.
▲
by
sacado2
10y ago
You "just" need (yeah, easier said than done) to ensure that any intervention from an admin is publicly logged. If admin "foo" removes some content from user "bar", it should just be made visible, something lik
428.
▲
Deleting the golang subreddit
(groups.google.com)
358 points
by
sacado2
10y ago
|
367 comments
429.
▲
by
sacado2
10y ago
Oh, that's simple. We gophers don't make any mistake. Ever. It makes our lives easier.
430.
▲
by
sacado2
11y ago
I think it has consequences on the design of the language, making it more complex and more prone to "clever" code, i.e code harder to understand when you haven't written it yourself (or you wrote it a rather long time ago). I
431.
▲
by
sacado2
11y ago
Not including null has consequences, you can't just keep your language as it is, remove null and say you're done. What's the default value for a pointer in the absence of null? You can force the developer to assign a value to
432.
▲
by
sacado2
11y ago
> $1bn over the history of computing is about $2k per hour. I would not be astonished if a class of bugs cost that much across the industry. It's not about knowing whether it's $1bn, or 10bn, or just a few millions. The questio
433.
▲
by
sacado2
11y ago
type Optional struct { stuff interface{} present bool } func (o Optional) Get() (interface{}, bool) { return o.stuff, o.present } func NewOptional(stuff interface{}) { return Opti
434.
▲
by
sacado2
11y ago
Sum types don't fit well with zero values. What is the zero value of an `(int|string)` union type ?
435.
▲
by
sacado2
11y ago
> Therefore they didn't know generics could be simple. I wouldn't call Hindley-Milner type inference simple, though. I think you underestimate what has to be available in the language for a ML-like parametric polymorphism to be
436.
▲
by
sacado2
11y ago
Beside the fact you're wrong (structs, arrays, bools, numeric values, strings and functions can't be nil, for instance), I'm always a little puzzled when I read the argument that "nil costs billions of $". First, mo
437.
▲
by
sacado2
11y ago
Sum types don't play well with zeroed values by default. What is the zero value of a sum type ? Pattern matching doesn't work well without sum types. So don't hold your breath.
438.
▲
by
sacado2
11y ago
> errors of type (1) are not the purpose of your code. They're problems that prevent your code from fulfilling its purpose. I don't really agree with that. In a module that checks whether a user has the right credentials to per
439.
▲
by
sacado2
11y ago
Yay that's weird. Where's the magic?
440.
▲
by
sacado2
11y ago
This. Plus, it has the virtue of teaching you logic and rational thinking, which is something useful in every field of life, not only programing. Plus it makes computers less frightening and magical since you have a bit of understanding of
441.
▲
by
sacado2
11y ago
A hyperlink is the same as a reference in a book. That means referencing a precise portion of a book (for instance, ISBN + page number, or just title + publisher + chapter number) would become a copyright violation too. I'm not sure th
442.
▲
by
sacado2
11y ago
Lucky you, I'm stuck with 5.3, because of old CentOS too.
443.
▲
by
sacado2
11y ago
I have already used one such tool for C++ in one of my teams (aastyle ? Something like that). It's only the firs step. Then you have to wonder/discuss: what actual style to use? There are many C/C++ styles out there (stroustr
444.
▲
by
sacado2
11y ago
Building a C compiler in Lisp can be a fun thing, too, and learn a lot about C.
445.
▲
by
sacado2
11y ago
Depends on how you define "quick". But, sure, finding an algorithm that solves SAT in O(1.0000001^n) (still exponential) would be much better in practice than finding one that would solve it in O(n^100) (although polynomial).
446.
▲
by
sacado2
11y ago
You could very well have P = NP but not have superpowers yet. There are problems which are significantly harder than SAT et al. The canonical one for PSPACE (which is a superset of NP) is QBF (which is only SAT on steroids, i.e SAT + univer
447.
▲
by
sacado2
11y ago
In France, government only refers to the ministers. Prime minister is chief of the government, meaning only the other ministers. But the president is the "chef d'état", (chief of state), and I guess what you call government,
448.
▲
by
sacado2
11y ago
Java's lambdas too.
449.
▲
by
sacado2
11y ago
Yes. My comment was not clear, I don't associate "perfect safety" with functional purity. Quite the opposite actually, for the reasons you gave.
450.
▲
by
sacado2
11y ago
Yes, I totally agree, I was just questioning the above assertion : "perfect safety is only good for ivory tower guys".
More ›