Better HN
topnewbestaskshowjobs
Log inSign up

shangaslammi

354 karma · joined Feb 1, 2011 (15y ago) · 91 submissions

Submissions

comment 9y ago · link · parent

Is there a good, terse primer on the features and coding idioms/best practices of C++17 for someone who was proficient in C++98 but hasn't touched the language in years?

comment 10y ago · link · parent

It's kind of strange that massive layoffs like these result in a stock uptick. At least for me it's a sign that the company is probably unhealthy and that its value is going to go down in the future.

comment 10y ago · link · parent

Eh? MyPy already implements generics. It would be a pretty useless type system otherwise since you couldn't give precise types to e.g. lists of ints.

comment 11y ago · link · parent

The creator of toki pona seems to be a fan of the Finnish language. Several of the words are loaned directly (although without umlauts) and keep their original Finnish meaning.

At a glance: älä, kala, -kin, nenä, nimi, sama, sinä are exact Finnish words and "pimeja" is a slight alteration of "pimeä". Kiwen, lipu, linja and walo are probably Finnish inspired as well.

Another common trend seems to be using a simplified and shortened forms of the phonetic spelling of English words such as "ale" (all), "en" (and), "insa" (inside), "jaki" (yucky), "jelo" (yellow), "kama" (come), "ken" (can), "kule" (color), "lukin" (looking), "mani" (money), "mi" (me), "mun" (moon), "nanpa" (number), "pata" (brother), "suwi" (sweet), "tawa" (towards), "toki" (talking), "tu" (two), "wan" (one) and "wile" (will).

Slightly distorted, but still close: "anpa" (under), "kulupu" (sounds like a Japanese transliteration of group, グループ), "pilin" (feeling), "sewi" (ceiling) and "sike" (circle).

This actually helps a lot in memorizing the vocabulary. :)

5.

Zappos: Adopt holacracy or leave(fastcompany.com ↗)

1 points · by shangaslammi · 11y ago · discuss

comment 11y ago · link · parent

Ah, right, sorry. I completely misread your post.

I guess there's something funky in the unicode handling on the site.

comment 11y ago · link · parent

You need to use curly braces in single-line do-expressions:

    do { line <- getLine; putStrLn line }

comment 11y ago · link · parent

Yeah, the online REPL is definitely not very useful or intuitive yet.

As it says, you can evaluate a single line Haskell "expression" and top-level declarations (like the sieve example) are not expressions. In addition, the sieve example declares an infinite list so there's no sensible way to print it.

You can fix all the above by using a let-expression on single line and only evaluating a finite part of the list using the 'take' function.

    let { primes = sieve [2..]; sieve (p:xs) = p : sieve [x | x <- xs, x `mod` p /= 0] } in take 10 primes

9.

In Europe, pirates are writing the copyright law(torrentfreak.com ↗)

9 points · by shangaslammi · 11y ago · discuss

10.

The fall of THQ(polygon.com ↗)

1 points · by shangaslammi · 11y ago · discuss

comment 11y ago · link · parent

At least here in Finland it is much, much easier from a regulations perspective for a company to fire a bunch of people all at once rather than just few at a time.

12.

Nordic Conversations Are Different(virtualwayfarer.com ↗)

14 points · by shangaslammi · 12y ago · 3 comments

13.

StackOverflow: Are high-reputation users answering fewer questions?(meta.stackoverflow.com ↗)

1 points · by shangaslammi · 12y ago · discuss

comment 12y ago · link · parent

I fold each pair of socks into each other when I put them into the washing machine and then unfold them when hanging up to dry. All pairs stay together, no sorting necessary.

comment 12y ago · link · parent

Vista gets security updates until 2017.

comment 12y ago · link · parent

I'm not sure what you are trying to imply. :)

Vista (at least after the first service pack) is a solid OS. I still run it on my gaming PC (which also dual boots to Ubuntu) and I don't see any reason whatsoever to "upgrade" to W7 or W8.

comment 12y ago · link · parent

While "Order of War: Challenge" might have been sold separately at some point (I'm not sure), I think that most players (like me) were those who bought the original "Order of War" and got "Order of War: Challenge" as a free add-on.

comment 12y ago · link · parent

The article claims incorrectly that the game had 18 single-player missions. The FAQ linked from the article is for the game "Order of War". "Order of War: Challenge" is a completely separate, multi-player-only game that had its servers shut down and was removed from Steam. The original "Order of War" is still available (http://store.steampowered.com/app/34600/).

In addition, the "Challenge" add-on was given free to those who bought the original game.

This is a complete non-issue as far as Steam is concerned (the complaint about publishers shutting down multi-player servers is certainly valid). There is nothing that you could do with the game even if you still had it in your Steam library.

comment 13y ago · link · parent

Or perhaps "Not GNU".

20.

Living in a Post-Functional World(infoq.com ↗)

1 points · by shangaslammi · 13y ago · discuss

21.

"We're doing it all wrong" (talk by Paul Phillips in PNW Scala 2013)(youtube.com ↗)

2 points · by shangaslammi · 13y ago · discuss

22.

SMACCMPilot: open-source UAV autopilot using high-assurance software methods(smaccmpilot.org ↗)

2 points · by shangaslammi · 13y ago · discuss

comment 13y ago · link · parent

The slides as PDF: http://acowley.github.io/NYHUG/FunctionalRoboticist.pdf

24.

Abstractions for the Functional Roboticist(vimeo.com ↗)

1 points · by shangaslammi · 13y ago · 1 comment

25.

SoftBank, GungHo purchase majority stake in Supercell for $1.5B(gamasutra.com ↗)

1 points · by shangaslammi · 13y ago · discuss

comment 13y ago · link · parent

Yes, but the effect of ecosystem lock-down is huge compared to 5-6 years ago. It's not about who makes the best phones or phone-OS anymore. People are invested in their respective app ecosystems and all their photos, contacts, documents etc. are in Apple's or Google's cloud.

I'm not saying that Microsoft doesn't have a chance at all but I think the odds are against Windows phones ever reaching a significant market share no matter how much capital and R&D they stack behind it.

comment 13y ago · link · parent

These are Simon Marlow's slides from his ZuriHac 2013 talk about Facebook's Haskell DSL for concurrent queries.

28.

The Haxl Project at Facebook [pdf](github.com ↗)

71 points · by shangaslammi · 13y ago · 27 comments

1234