Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
olavk
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
38 ms
·
361.
▲
by
olavk
9y ago
Rust doesn't have manual memory management. It does have deterministic memory management as opposed to garbage collected language. Which means you can use it it in domains where garbage collected languages cannot be used - e.g. for a
362.
▲
by
olavk
9y ago
Taking just from the summary of the second link, apparently Shelley was involved with the Illuminati.
363.
▲
by
olavk
9y ago
This is definitely cool, but monads is a more general concept. It can be used to isolate side-effects, but can also be used for many other things.
364.
▲
by
olavk
9y ago
Do-notation does look different, but it is similar to the statement/expression distinction which is present in most imperative languages.
365.
▲
by
olavk
9y ago
> I recommend you let go of your misconceptions and do some learning Thank you for the advice! Monads seem to have some kind of smugness creation field. I know there are other monads beside State and IO, I was specifically referencing th
366.
▲
by
olavk
9y ago
No, but the state is part of the type signature, so the scope is explicit.
367.
▲
by
olavk
9y ago
Monads make a lot of sense in a pure functional language like Haskell, because it allows you to program in an imperative style when you need it , and keep the rest of the program pure and functional. The benefit of State and IO monads is n
368.
▲
by
olavk
9y ago
Or they are just telling the parents what they want to hear.
369.
▲
by
olavk
9y ago
Optimization is not the issue. It is not possible in a strongly typed language to return multiple heterogeneous values in an array. That is why we have tuples.
370.
▲
by
olavk
9y ago
I'm one of those who prefer HTML/CSS/JavaScript to Java applets! It is interesting that MS for a while heavily pushed JavaScript and dynamic HTML in order to undercut Java...until they belatedly realized they had creating s
371.
▲
by
olavk
9y ago
Java wasn't good enough...but that was not the reason MS created C#. They were very scared of Java at the time, and their attempt to "embrace and extend" failed. So they created their own language. Out and ref was not a clean
372.
▲
by
olavk
9y ago
Singletons have fallen out of favor, not because of language improvements, but because of increased focus on unit testing, which does not work well with singletons. I believe this trend actually started earlier in Java than in .net.
373.
▲
by
olavk
9y ago
It is just the hype cycle...patterns were overhyped for a while some years back, so now it is hip to hate on them. In practice design patterns are just "recurring solutions to common problems" so whether they are good or bad depen
374.
▲
by
olavk
9y ago
To verify if this is the case, you should compare incarceration rate and crime rate with otherwise similar countries.
375.
▲
by
olavk
9y ago
It is exactly the same as Mark, but I am arguing it is worse than XML/HTML for these scenarios.
376.
▲
by
olavk
9y ago
Why do you think it is falling? As far as I can see, the article does not mention repeating this experiment over time.
377.
▲
by
olavk
9y ago
> It would be great if more people could accept the idea that several people can contribute to the writing of a play Nobody disputes that, and it is indeed speculated that several plays or parts of plays are the result of collaborations.
378.
▲
by
olavk
9y ago
I don't think BG feels he or Microsoft did anything wrong, so I agree he in not trying to atone for anything. He is just doing good because he can, and that is great. It is likely he doesn't care what some bitter geeks thinks, sin
379.
▲
by
olavk
9y ago
Yeah, but the questions is if creating tools (software that does software engineering) is so complex that only a few developers can do it well? Otherwise this tool creation would still be subject to market prices just as regular development
380.
▲
by
olavk
9y ago
There are a bunch of theories. They are a kind of gentlemen-conspiracy theories. The phenomenon is basically founded in English class-snobbery: To some it is simply inconceivable that the son of a craftsman should be the greatest writer in
381.
▲
by
olavk
9y ago
Don't ask more of others than you can deliver yourself.
382.
▲
by
olavk
9y ago
You need to rate yourself against these principles. This is the whole point.
383.
▲
by
olavk
9y ago
Yeah, nicer to read and write. More complex to parse though. S-expressions are incredibly simple to parse. But I guess every language have a YAML-parser these days.
384.
▲
by
olavk
9y ago
Oh, that is pretty cool. I didn't know about json5. This would also be quite nice for config files. Regular json is not nice for config files due to lack of comments. Json5 is still not as "editable" as it looks though. You n
385.
▲
by
olavk
9y ago
The HTML example is much better than "}}}}} though, since you can e.g. add a new item at the end of the list without needing a specialized editor to locate the right position. This is one of the reasons for the redundancy in repeatin
386.
▲
by
olavk
9y ago
Each existing format have advantages and disadvantages for particular purposes. Benefit of HTML: You can actually write it by hand and easily see where each element begins and ends, even when the document is longer than a screenfull. Mark h
387.
▲
by
olavk
9y ago
Yes and no - they have the origin in the same word, but as the article point out the two spellings have acquired different connotations. So they are not exactly the same word anymore.
388.
▲
by
olavk
9y ago
Yes Vikings visited North America - but the Kensington Stone is fake. Both language and the runes used shows it is written much more recent than the Viking age.
389.
▲
by
olavk
9y ago
It's fake though.
390.
▲
by
olavk
9y ago
You cant challenge Nazi racial ideology as if it was a logically consistent system. It was pretty opportunistic. For example Slavs are technically Aryan (given the theory behind the concept of an Aryan race), but nevertheless the Nazis cons
More ›