Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
marijn
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
19 ms
·
151.
▲
by
marijn
11y ago
I think I did an okay job describing the benefits of open-source distribution in the blog posts. Releasing software in that way can be the statement 'I want this to have maximal reach', rather than 'I work for free'.
152.
▲
by
marijn
11y ago
If you release something under MIT, you _can't_ actually constrain commercial use.
153.
▲
by
marijn
11y ago
So how will companies that 'don't give money way' be convinced to pay for MIT-licensed software, then?
154.
▲
by
marijn
11y ago
Just commenting to say I (author) am here this is a good place for feedback or pointing out relevant references.
155.
▲
by
marijn
11y ago
Dual licensing was option #2, and I explained explicitly why I didn't consider it a good option.
156.
▲
by
marijn
11y ago
I am aware of this. My one-click funding page at http://marijnhaverbeke.nl/fund does support sending invoices.
157.
▲
by
marijn
11y ago
... done right
158.
▲
by
marijn
11y ago
The single comment below is exactly the self-indulgent whining against feminism in general I was expecting (as are some of the comments on here on HN)
159.
▲
by
marijn
11y ago
The complicated thing about an article like this is that her experiences are definitely valid, it isn't hard to see where she is coming from, and I'm actually glad to read a piece from this perspective. Yet I can't help but a
160.
▲
by
marijn
11y ago
I've been surprised/annoyed by this as well. My conclusion was that there are no practical problems that would make this hard, and it is most likely held back simply by the theoretical trivialness of it (what academic wants to wor
161.
▲
by
marijn
11y ago
Here it seems user-driven (people flagging articles that are entirely appropriate as way to suppress them), but the fact that this happens often and doesn't seem to be perceived as a serious problem by the site maintainers does deserve
162.
▲
by
marijn
11y ago
... but most of the time you don't need them, because the single-ownership (+ multiple read-only borrowers) model built into the type system already does what you need. There is no 'naked delete' in Rust, deletes are implicit
163.
▲
by
marijn
11y ago
Another thing that should probably be clarified is that the author diagnosed the problem with the `let y = x; let z = x;` code incorrectly (assuming that Rust is creating 'bindings'), which (not having actively programmed rust for
164.
▲
by
marijn
12y ago
See if http://eloquentjavascript.net works for you. It doesn't focus on OO, but that's okay, because trying to model everything as OO in JS is going to be painful.
165.
▲
by
marijn
12y ago
It in fact takes it to amusing extremes, allowing you to mutate even the strings associated with symbols. (setf (char (symbol-name nil) 1) #\U) (Though I guess that could be taken as being the same thing as doing nonsensical pointe
166.
▲
by
marijn
12y ago
The published version has one bonus chapter. That's basically it (except for a few small mistakes that were caught after the thing went to print -- http://eloquentjavascript.net/errata.html )
167.
▲
by
marijn
12y ago
People keep voting this up, even though the comments are broken. If you're just going to read the book, note that there's a better-formatted, interactive version at http://eloquentjavascript.net
168.
▲
by
marijn
12y ago
The real surprise here is that people still use JSMin, written by an opinionated grump who apparently does not understand the concept of using a real parser. Several superior alternatives exist. UglifyJS is better in every respect.
169.
▲
by
marijn
12y ago
Vaguely related: CodeMirror's story http://marijnhaverbeke.nl/blog/display-updates-in-codemirror...
170.
▲
by
marijn
12y ago
Last time I looked at Nim, I was put off by the lack of algebraic data types and pattern matching. I still can't find anything about them in the manual. Am I missing something, or is this something it just doesn't have?
171.
▲
by
marijn
12y ago
If you really have to, you can use a static salt -- this is no reason not to use a designed-to-be-expensive hash function.
172.
▲
by
marijn
12y ago
Hi. Small CodeMirror-related nitpick. If you set your editor to be the height of the panel it is in, and let it take care of its own scrollbar, it'll look better (the gutter will span the whole panel) and be more efficient in case of b
173.
▲
by
marijn
12y ago
Eloquent JavaScript's 1st edition is 7 years old today, and still selling well. It is showing its age, and I am bringing out a 2nd edition, but if you stick to the fundamentals and don't run with temporary hypes too much, it is po
174.
▲
by
marijn
12y ago
This has worked very well for Eloquent JavaScript as well -- I suspect it'd have remained obscure if it hadn't been available online (as a proper, web-friendly HTML page). As it is now, it's being read by a lot of people on
175.
▲
by
marijn
12y ago
Mine's only 157 lines: http://eloquentjavascript.net/11_language.html
176.
▲
by
marijn
12y ago
You get what you optimize for. I can imagine food being served, if there's enough incentive to make this machine happy, that conducts electricity in all the right ways, but doesn't actually taste any better.
177.
▲
by
marijn
12y ago
(Clarification: actually, that goes for the first 4 real chapters. The intro chapter might still be a little rough.)
178.
▲
by
marijn
12y ago
Could you be more specific about the problems you found? The first few chapters of the book have been edited by three professional editors at this point.
179.
▲
by
marijn
12y ago
The first few chapters will probably be a bit slow. But it ramps up pretty quickly around chapter 5.
180.
▲
by
marijn
12y ago
Yes, it's currently trying to build the pdf with the No Starch house style, which contains commercial fonts. Setting up a plain-LaTeX build for the pdf is near the top of my list of things to do (but I'm taking a holiday first).
More ›