skysight-inc/HackerNews huggingface dataset:
I agree, but Monads also simplify non-blocking concurrent programming, allowing users to think sequentially, see F# Async and Haskell IO. C# had to add Async/Await support in the compiler and I would argue it is not as pleasant as the F# version using Monads.
When did TV get so dark and twisted? (2014)
Wrong, see above
I tend to undervalue time management when it comes to productivity. The fundamental premise is that you can get more out of limited amount of time, which is true, but there's limit to how much extra productivity you can get that way. 30% saving? 50% saving? Eventually you're stuck.

In contrast, you can get order of magnitude productivity improvements by avoiding unnecessary work - a task that might take junior programmer weeks can often be done by an experienced programmer in a couple of days, and done better too. And it's not because of time management. More here - https://codewithoutrules.com/2016/08/25/the-01x-programmer/ - and here - https://codewithoutrules.com/2017/10/04/technical-skills-pro...
Just to point out the probably obvious thing: that's only one type of monad (the state monad). There are many other things which form a monad and can't be represented easily in JS or other imperative languages.

Even though even the state monad is a clear win in my opinion (since it explicitly delimits a stateful computation which can then be embedded in a pure one in a principled way), the concept itself is much broader and thus much more useful than just allowing for imperative syntax in a pure language. For example, the continuation monad, which is just a library in Haskell, can't be implemented in most imperative languages without extending the language itself (async in JS, C#, etc).
See also Cox's Clock: https://en.wikipedia.org/wiki/Cox's_timepiece

I'm sure Wikipedia used to have a much better write up, and more info on other clocks of a similar type. It's a shame they started on deleting and merging so much of the historic and esoterica - they lost a lot of accuracy and good data in the process.

Now the best write up and photo is at http://www.douglas-self.com/MUSEUM/POWER/oddclocks/oddclocks...
Most of mine are from conversations with people, but this is what I immediately thought of (though I know the definition has changed a little since) https://books.google.com/books?id=QelNAQAAQBAJ

Here's another:
https://practicaltheorist.wordpress.com/2012/11/14/the-myth-...

Here's a critique stating that the terms aren't defined enough to be said to be 'just'

http://assets.press.princeton.edu/chapters/s6818.pdf

The last one is the most fascinating, I really recommend you read it if you're interested in these things. Amartya Sen is brilliant.
To be truely useful as a diagnostic in major decision-making, it needs to be 90-95%+ accurate.

But unfortunately there isn't anything close to this yet.

High blood pressure, for example, probably more accurate than the retinal image technique here. https://www.ncbi.nlm.nih.gov/pubmed/25632496

The major goal here would be to screen for people to go for a more advanced test, like an MRI. But even that wouldn't hit the 90-95% level of predictor.
> And that makes me wonder if and when this will turn into something akin the "Communism / Captialism / Whatever concept has never been tried/implemented _properly_"

I see this as the 'No True Scotsman' fallacy of ideologies

> The essayist Spengler compared distinguishing between "mature" democracies, which never start wars, and "emerging democracies", which may start them, with the "No true Scotsman" fallacy. Spengler alleges that "political scientists" have attempted to save the "US academic dogma" that democracies never start wars from counterexamples by declaring any democracy which does indeed start a war to be flawed, thus maintaining that no true democracy starts a war. [0]

0 : https://en.wikipedia.org/wiki/No_true_Scotsman
Goodnight Chrome
The first major decision to make is whether fields are packed MSB-first or LSB-first

Unfortunately in many cases like image and video codecs, that decision has been made for you already --- and not in the direction that's most efficient for a CPU (but of course is pretty much immaterial for hardware.) I suspect "It’s easy to fool yourself into thinking that one variant is better than another because it looks prettier" was what drove those decisions.

The big-endian/MSB-first order requires extra "bit movement" if you are maintaining a bit buffer in a register, since the bits of interest are always going to reside in the topmost bits, but you often need them in the lowest bits to use them. With little-endian/LSB-first, the bits of interest are already in the lowest position, and naturally "fall off the end" as you shift right and replenish into the upper bits. IMHO another reason to prefer little-endian: it's very logically consistent.
Already posted: https://news.ycombinator.com/item?id=16412866
Threaten them personally. By locking them out of accounts or worse. It sounds like they were going after an individual extrajudicially.
This reads like an article you'd encounter on The Onion.

>“[T]here are no tools used to reveal any sensitive information of any customer who has legitimately purchased our products. We all realize that you put a lot of trust in our products and this would be contrary to what we believe.

Ok, so I guess there's no malware in the official downloads then.

>“Test.exe is part of the DRM and is only targeted against specific pirate copies of copyrighted software obtained illegally. That program is only extracted temporarily and is never under any circumstances used in legitimate copies of the product,”

Well, nevermind then.

>“This method has already successfully provided information that we’re going to use in our ongoing legal battles against such criminals,”

That's easily the stupidest thing I've read this week. Are they so oblivious to how legal systems work that it didn't even occur to them to consult a lawyer before attempting to distribute malware and steal people's information?
Personally I find that the best way to learning programming languages is on the job, rather than at home on random projects. I've tried one of the "do this exercise in a new language" sites, I forget which, and it's just... not realistic enough, and not motivated enough. Like you said, interest flops.

I've done much better when I got a job where I had to learn a new programming language.

Longer version here: https://codewithoutrules.com/2017/09/09/learn-a-new-programm...
Wapp – A Web-Application Framework for TCL
“the differences in reporting are unlikely to be the primary explanation”

Notice they haven’t gone through the trouble of normalizing the criteria and doing a proper count. ‘Unlikely’ is an opinion unchecked by data.

I’m getting a bit sick of the trend on HN of down voting facts that conflict with people’s world view. Prove it makes no difference or acknowledge that is a deceptive statistic to use.

Along those lines, where is your data on why the US has more pre-term births? Perhaps the US has less abortions when things are going to be tough? Speculation and poor comparisons don’t enlighten on solve problems.
Gadgetbridge claims decent compatibility - does anyone have any experience?

https://github.com/Freeyourgadget/Gadgetbridge/wiki/Amazfit-...
A really moving and inspirational quote from the opening of SICP:

"A computational process is indeed much like a sorcerer's idea of a spirit. It cannot be seen or touched. It is not composed of matter at all. However, it is very real. It can perform intellectual work. It can answer questions. It can affect the world by disbursing money at a bank or by controlling a robot arm in a factory. The programs we use to conjure processes are like a sorcerer's spells. They are carefully composed from symbolic expressions in arcane and esoteric programming languages that prescribe the tasks we want our processes to perform."
I feel so justified in adding this guard in my compression pre-processor[0] code, even though I never had a bug without it:

// the keys of an object
export function keysOf(obj) {
let keys = Object.keys(obj);
keys.sort();
return oneOf(keys);
}

Context: the rest of the code takes an object representing a schema, and creates two functions. One that can turn any object fitting that schema into an array, with positions indicating which key they originally belonged to, and another one that can reverse the process.

Could this also explain why I have no consistent order of properties when viewing state with the Redux dev-tools? Instead of Object.assign I use my own simplified merge code[1]. Maybe if I also make that use a sorted set of keys, the devtools will become more consistent in their presentation (and it might result in more consistent hidden classes too).

[0] https://github.com/linnarsson-lab/loom-viewer/blob/master/cl...

[1] https://github.com/linnarsson-lab/loom-viewer/blob/master/cl...
They sort-of were nationalized. But it was done somewhat subtly.

The existing common equity (and IIRC preferred stock) in a number of entities was massively diluted by issuing new preferred stock and warrants to the US government.

Here are two examples, they were among the worst offenders. Look at the share price for Citigroup and AIG:

https://finance.yahoo.com/quote/C?p=C
https://finance.yahoo.com/quote/aig/?p=aig

If you owned pre-crisis C common stock, you're still down about 84%. If you owned pre-crisis AIG common, you're still down about 95%. (that's approximate, done by eyeballing the charts). Edit: Yahoo Finance charts have been getting worse and worse, you need to click "Max" to see the proper timeline.

I don't follow UK equities closely, but I think the same thing happened to a number of UK banks at the time. E.g. RBS.

Unfortunately the whole thing was quite uneven. E.g. Goldman Sachs took advantage of the morons at AIG who sold them very cheap "insurance" such as credit default swaps. But Goldman was made whole. What should have happened is that Goldman should have been made to share the pain.

Edit: I'm of course talking about the '08 financial crisis in general. I don't agree that the Libor scandal was significant enough to nationalize the banks as punishment. I'd much rather see a few bad actors taken out back and shot. That would be much more salutary in terms of deferring future bad behavior.
The governments in these countries are evil, not stupid. The false positive rate is too high for this to be useful at anything but a really coarse, maybe check this guy out level.

All of the countries you name bar Yemen are easily capable of rooting out and destroying their gay communities if they really wanted to. They don’t. What they want is to make sure everyone involved is very discreet. Hypocrisy is the homage vice pats to virtue etc.
grep, cut, cat, tee, awk, sed, head, tail, g(un)zip, sort, uniq, split; curl; jq, python3
I’d love to have enough $$$ to spend 3-4 months each summer living and driving the Nurburgring. This is what I’m working towards in life.

Right now I go once a summer and it costs about $3000 - all in. That includes hotel, food, track car rental and lap tickets.

When I have more capital I want to build a car for the ring and get a lease on a house, but that requires about $50,000 disposable income (Year 1) that I don’t have at 25YO.

Disclaimer: I am British and live in the U.K., prices in USD because of the wider international audience on HN.
Show HN: Checkbot for Chrome – web crawler that tests for web best practices
good list. I would add tidyverse in R ecosystem to it
Get Office 365 for Free Now
I feel this is a complex issue - I was certainly one of the 'privileged' children in this regard, and much of my practice was in taking tests rather than on the test material, which I could certainly have done without. At the same time, I think the ability to perform complex cognitive tasks under high pressure is an extraordinarily useful aptitude - while I'd be all for less and less standardized testing, perhaps some resources should also be devoted to learning how an economically disadvantaged child can be helped to excel at cognitive challenges under pressure.
It's well established that writing safe and sound C code is an impossible feat (even OpenSSH had a number of memory corruption bugs in the past). Some people are better at it than others, yes.

That doesn't mean we should drop everything, throw away our C code and rewrite ot in Rust, but the issue is real.
Getting Text into Tensorflow with the Dataset API
This is what bothers me the most. The thinking seems to be that by deliberately employing "positive" discrimination, someday we'll detect that bias has been eliminated, and then the government will instruct all institutions throughout the country to dismantle their discriminatory policies. Having deliberately practiced discrimination for 10, or 20, or 30, or however many years, someday we'll see it isn't needed anymore, and stop. To me, that's absurd.

For one, I doubt we'll ever detect that bias has been eliminated. Secondly, even if we did, we'll never dismantle the institutional policies of discrimination, because at that point, far too many people would be benefiting from them. We seem to be deliberately implementing institutional discrimination on the assumption that differences of outcome necessarily represent oppression.
Well, ok. Some people can select for caring about their product. But a random company is almost certainly not in this set.
Music teacher with degree here, the Stack Overflow answers are correct as far as modern usage goes, with respect to common-practise tonal harmony at the very least. Your second reason is just an alternative way of phrasing all of the answers that cite F major as an example.
Yes, in non-equal temperaments they can be different pitches, but I highly doubt that someone asking the difference between sharps and flats is concerned with niche subsets of early music and contemporary classical.
Hi, I didn't get much feedback when I posted last time so I'm giving it another try. This is aimed at helping web developers follow SEO, performance and security best practices so I'd love to know what the community thinks. Can you think of any changes that would make Checkbot more helpful? Did you notice any bugs? Thanks!
Instead of senseless downvotes, how about some comments instead? Dragonfly isn't Linux, it is a BSD, therefore the OP is comparing apples to oranges. If you disagree, say why, don't just hit the downvotes. HN is rapidly becoming the Reddit for technosnobs.
Getting the liver of polar bears is particularly tricky. And it will kill you. As will any number of hard-to-extract things. Turning a correlation from a series of facile observations into a rule rarely ends well.
This may not be what you're after, but software engineering tends to pay very well. You could donate a percentage of your wage to charities that help those who are less privileged.
> Interpretations vary, but giving up on fruit or grain and starch is obviously not part of it.

For typical genetics, this is true. However, I've yet to find any sources that show prevention and/or reversal of Type 2 that holds over 5+ years that includes a significant (>20g) of net daily carbs from fruit, grain and/or starches. I'm not alone, but in a definite minority of people who control their Type 2 through only diet and exercise, not even metformin, but all of our diets, while varied, have one characteristic in common: we restrict net carbs to various degrees, many at 20-50g net daily.

If you know how Type 2 diabetics like myself can keep our condition reversed while adding grains, starches and fruits in greater quantities, then please shoot a pointer my way. My plants intake these days is limited to very low carb green leafy vegetables like Romaine hearts.
If the only way you define yourself is "CEO" or "founder" you are limiting your identity to your job.

But you also have friends, and family, and a society you live in. You have a body that has needs ("should founders eat good food or bad food?" "should founders exercise in the morning or the evening?").

You are not your job. Your job will go away eventually. Your company might fail.

Read whatever makes you happier, or teaches you more, or entertains you. You don't have to spend your whole life being a "founder".

(I wrote a longer variant of this, coincidentally also talking about what books to read, in the context of "what technologies should I learn?" - https://codewithoutrules.com/2018/02/01/too-much-to-learn/).
Best startup idea contest on Reddit – template giveaway
This sounds actually illegal? Like unauthorized access to computer systems federal crime illegal? What the fuck were they thinking.
Curated list of resources related to serverless architectures and framework
I suggest that you pick a project first (that you love, that could help a friend or an association), then pick the right (new ?) language that does the job. I tried too many time to learn a new language without a project and ended dropping it,(I lost interest doing stuff that doesn't matters like basic algorithmic, exercises that i already knew).
I think at the right dosage, it's welcome. For me, mild doses of good humour upgrade the most serious of discussions without detracting from their professionalism.
More generally I think it's a tendancy for many people to only support binary decision making. This is why many democracies end up with two party systems and everything is just good or bad. So when it comes to food: fat bad, sugar bad, fibre good, etc. Of course, when you actually observe a healthy population such as that of France or Italy, they break all of these stupidly simple rules.

It seems to be that the most important factor of all is simply total calorific input. No, not input minus output, just input. If you consume fewer calories you will live longer and be at lower risk for many diseases. Of course, that does not mean "calories bad", though.
Money Business News: Bitcoin Pushing Higher as Cryptocurrency Market Fi
> I am kinda new to hackerrank and I don't know what it means when a comment is grayed out (it doesn't sound like a good thing)

This is hackernews, not hackerrank, and when a comment is grayed out it means more than a few people have downvoted it.

https://www.hackerrank.com/
No, after it was initially wound, it hasn't been wound by a person again. It has stopped, but it has restarted on its own without human intervention.
How is this relevant? Nobody said that "Parsing any code is super easy".
I thought about it, and I think the unpopularity of Coconut might be due to the existence of the Toolz library. That gives most things that Coconut does minus better lamda and TCO.
Profile pages deserves better contents. Publish only others' best pics
Top 5 Challenges of Enterprise Mobile App Development – How to Tackle?
What would your profile page look like if you only had the right to publish pics that your followers forwarded to you ? Let's see with Forward.
Something quite annoying about anyone writing in themselves in the third person.
Not OK. Private enterprises should not be engaging in this kind of espionage against criminals. In meatspace, this is why there are police. Why don't we have cyberpolice?
It is interesting that idea of overshot and resource-limitations managed to get to the top og Hacker News. Though from reading comments another problem is clearly seen, it is difficult for believers in religion of Progress to objectively evaluate something that goes against their core beliefs. Main objection being - people will surely think of something working. Though they cannot point out a single human, who managed to propose a working plan of dealing with resource limitations. I do not even mention implementing it.

At the moment there is no technology, that would allow human civilisation move past current overshot predicament.
Accept this fact.
Before such technology is invented we are on the path to death.
Companies are far from all-knowing and perfectly rational agents. They are made of people.

Also, growing from a lean company into a too-big-to-fail behemoth (which happens all the time) is very valuable to CEOs & co.
It what makes you graduate from billionaire to billionaire with political power.
Aren't most image/video compression algorithms lossy? There would surely be more than one possible "decompression".
That's the problem: Electron _is_ the one-language-everywhere framework and that's why a chat client or a text editor has a 200 MiB runtime.
My end game is the same as everybody's: to die and eventually be forgotten, along with whatever I may have done while here.
> Why don't we have cyberpolice?

Most law enforcement agencies have e-crimes, digital crimes, Internet crimes, et cetera divisions.
>>> While undoubtedly a lovely sentiment, Jez, making state confiscation threats out loud isn’t great for shifting houses to minted foreigners.

I found this passage very strange. Throughout the article, the author seemed to be advocating the position that most Londoners seem to hold: that houses should be for people to live in, and not for overseas property investors to use as an investment vehicle. So why should anyone be concerned about "shifting houses to minted foreigners"?

Legislation that would stop housing being kept deliberately empty by overseas investors has been shown to be hugely popular with the public – but that's not mentioned by the article, either.
A rather thin and sensationalistic piece. While everyone would love for property prices to crash, share prices to collapse and everything to become miraculously cheap again, nothing mentioned hints at this.

Oil prices? Might have driven the run up in properties in Mayfair but are all these owners suddenly going to hit the market to sell as they desperately need cash? I don't think these buyers are particularly hard up.

Similarly, the 8k debt figure is across the UK. Not really relevant to those spending £1 million+ in central London.

Yeap, it's depressing for buyers in London, SF and NY. Either figure out how to make a high salary or don't try climbing that ladder!
It's surprising that SF doesn't collect, wash, and return the needles to their rightful owners.

https://www.google.com/amp/s/www.sfgate.com/news/amp/Carted-...
While it might happen, I can't help but think articles like this are partly wishful thinking and partly trying to be self-fulfilling prophecies. I find it's extremely hard to get unbiased opinion about markets, even from friends, because you just don't know if they are actually in the market themselves.
Maybe the millions of years they had to perfect their brains for the tasks needed for their survival has something to do with it; modern computing has not even one century in the making.
How to make a Paper Windmill
This is what project Cilium does - https://github.com/cilium/cilium
Naive/silly question: are we getting anywhere near actually being able to exploit all these "natural computers" that exist in the wild? Are we getting close to being able to use the brain of a moth to compute things with higher quality than what current AI is able to produce? And if so, how close are we to actually taking advantage of all that compute power, for instance to mine bitcoin?
I wonder if a similar principle could have been used in the construction of the late Dr David Jones’s bicycle wheel:

http://www.dailymail.co.uk/sciencetech/article-4762778/How-r...
If any other third party breaks in, you've already lost.
I would guess that both of you received downvotes because both comments failed to provide any explanation for the view expressed. I think it's good practice on HN to briefly introduce a technology where it's safe to assume that a majority are not very likely to be familiar with it, so that the comment becomes meaningful on its own.

If you had stated: "You are comparing apples to oranges here because Dragonfly only exists on BSD, not on Linux, and as such may not be a viable choice for most users." I think you would have received no or substantially fewer downvotes. If you then had in addition to that provided a quick explanation (or more) of what "Dragonfly" is, you would have gotten upvotes instead, because that would have taught a number of us something we did not know yet.