skysight-inc/HackerNews huggingface dataset:
I can't imagine using a haskell-like language without laziness. It's what makes it possible to actually write small reusable functions.

Tell me, have you ever used foldr in Purescript? It just doesn't lead to reusable logic there, so I have no idea why you would.

But in Haskell, foldr is used everywhere. Laziness means that logic built with it is actually reusable.
Years ago I read a story about a fat-fingered ops person getting called into the CEO's office after an outage. "I thought you were calling me in to fire me." "I can't afford to fire you, today I spent a million dollars training you."
VetPronto got 10+ great articles for less than $800
Show HN: MyLogReg – Have people play with your logistic regression model
Some people aren't comfortable with being rated like that. Others complain that personality profiling is still largely inaccurate and would rather not have their futures based on it.

It's a bit like the IQ testing for employment placing.
Why would the Japanese look to a London based publication for validation of their rankings among Asian universities? This sort of thing is not an exact science and it's a shame Asia (I know India does this a lot) continues to hold the West (UK/USA specifically) as some great arbitrator and moderator of the world when they may have their own vested interests about things - and of course vice versa.
Yes, and that's just the basics!
>I think the exact opposite of what you are saying is true. We got the freedom to experiment with something new, and to actually make things better along the way.

Sure, and from what I read I mostly took it that way. My original point was just that maybe a bit of caution would be good in the choice of title. If I was just skimming through the titles on HN, or skimming the article, it could be easy to get the wrong impression of channable.
AWS Users: How do you track your costs?
Whenever you need a professional to go to for all your internet/cyber/identity issues, Darkwebsolutions is a platform you can hire a pro hacker for all your solutions and sales of spying, hacking equipments.
Mobile-9193076946
Mail: darkwebsolutions on hackermail dot com
I wonder if you could do this with a very precise microwave array, something with thousands of microwave emitters controlled by temperature monitoring feedback loop - no particles.
TDD Harms Architecture
I'm just not sure you can construct a coherent argument around that though. Obviously a seller isn't obligated to accept cash; is there a suggestion that we should legally require sellers to do so?
"Does [[1]] have type [Int] or type [[Int]]?", I'm guessing.
AppArmor took some time to understand, but it wasn't too bad. I've written AppArmor profiles for in-house apps. I realize AppArmor isn't as powerful as SELinux, but I do find it easier to understand.

I feel like having to worry about complex SELinux configuration isn't going to matter as much for people who start to use containers. Most distributions have SELinux profiles for docker that work, and containers provide a decent level of isolation.

They're not as good as full VMs, and a kernel exploit can still break out of a container, but if you're running all your own in house/trusted code on your container system, it seems like a pretty good trade-off for isolation/security.
s/bares/bears/
Interesting, thanks; I'll have to give it a read!
"A computer lets you make more mistakes faster than any other invention with the possible exception of handguns and tequila." -- Mitch Ratcliffe
PICO-8 Lighting by hand #4: into the shadows
It depends on the breed and what you're looking for. My parents have always been huge dog people, and they've had a number of dogs over the year. Some were from registered breeders; others were rescue dogs, including two that they rescued. One was a wonderful dog whose bastard owners tossed him out of car going 30 miles an hour on a highway where one of their employees saw it and brought him to their workplace. At the other end of the scale, they paid something like $1500 and $1000, respectively, for mother and son Cavalier King Charles Spaniels from a licensed breeder a good ~18 years ago. The price would be higher nowadays. An Alaskan Klee Kai (think small dog resembling a Siberian Husky, but responsibly bred and without the ethical and health problems of a so-called 'Pomsky') will run a good $2-3000.

Is it worth it? Again, it depends on what you're looking for and whether you're able to afford the dog in question. People purchase particular purebred dogs for a lot of reasons; there's a far greater degree of predictability when it comes to genetic risks, life span, size, temperament, etc. due to a lot of collective knowledge. Reputable breeders socialize their dogs from the beginning, provide care, and they usually have already started the training process well before it's time for placement. With rescues or mixes in general, there are more unknowns though good shelters do their best to isolate those unknowns and help find the right home based on what they do know about the dog's background and have observed regarding its temperament. The unknowns might be scary at times, but it doesn't make the dog lesser. I'm typing this with a rescued mixed-breed terrier sitting beside me.

What really pisses me off about this story is the cruelty of the threat of repossessing an animal for both the animal and the family. No dog deserves to be ripped from a loving home and tossed into a shelter (even a good one); or worse, a pet store. Especially the kind that would suggest a freaking lease to a potential pet owner. It fits right in with the worst excesses of puppy mills. Plus, I have my doubts about the quality of care a company like this would provide to repossessed animals. It seems more like a disgusting effort to cash in on spur of the moment purchases, taking advantage of a lack of knowledge about both the finance agreement and owning a pet in general. Wunderlich even admits as much in the article: "We like niches where we’re dealing with emotional borrowers."

If you can't afford to pay cash to adopt the pet, or use a credit card you can pay off quickly without negatively affecting your overall finances, you shouldn't jump on long-term financing or this lease BS as an alternative. It isn't a smart option, financially or emotionally. There are a ton of wonderful rescues of all sorts who can be adopted at very minimal cost. You have the added benefit of supporting some very respectable organizations that often struggle to fund their operations. And if you're looking for a particular breed of dog, there are often purebred rescue organizations that focus on specific breeds and often work closely with their respective breed clubs.
A cashless society I will only ever come once human nature fundamentally changes. Say Canada gets rid of physical currency, the very next day people will use American money to buy things like drugs or stuff they don't want on their credit card like sex toys. Make a law against using other currencies and the market will just move underground. Even if every country eliminated paper money there will always be a way of exchanging high priced commodities, at which point the prevailing choice will become cash.
Well, I would've certainly felt better knowing that the guy who robbed me got punished.
They are, but they are idealistic depictions of the Middle East, Africa, and Asia as viewed by Europeans in the 19th and early 20th centuries. They depict some sort of European oriental fantasy world that doesn't look much like what these areas were really like at the time.

I think that's why those type of paintings are considered old-fashioned and silly when we have plenty of photographs, movies, and books that tell us what these regions are actually like. Not to mention that travel is now far more accessible to non-wealthy people.

I think that it's a fascinating insight into Europe at the time and how they viewed the world. It was also a lot more romantic period than now. Nationalistic paintings showing a nation's ancestors (like the Germanic tribes of the Roman era) were popular and tended to look the same way: a fantasy land ideal of what they wanted it to look like rather than what it really looked like.
My thoughts exactly. A blockchain is exactly the solution to a shared, secure, accurate public ledger without the need for a trusted third party like a bank (not that current blockchains are perfect, by any means)

"The cashless society – which more accurately should be called the bank-payments society"
Due to this sentence I'm forced to believe the author has literally never heard of bitcoin, which seems impossible
Yeah, and that Barcelona chair can't be an inexpensive yet faithful reproduction due to the dreadful European laws on furniture designs. It's a 5k piece on its own.
Mypy 0.501 Released
SIGREFUSE is a lamentable omission in POSIX.
Some more backstory from another article: "The government’s spousal visa system requires the British partner to prove earnings of at least £18,600 and the couple being able to show long stretches of uninterrupted time living in the UK.

Clennell lost her leave to remain as the time she spent out of the country when her parents were dying was too long. She has made repeated attempts – in Singapore and back in the UK – to reapply for permission to live with her husband."[0]

Has this been a big story over there? It seems excessively cruel to deport a woman who recently lost her parents and has a sick husband.

[0] https://www.theguardian.com/uk-news/2017/feb/26/grandmother-...
That is work, he could just project the same slides he wrote down 20 years ago on to the wall and tell you to copy them down. I guess that's what I get for not paying $40k, lazy profs.
Show HN: Mastering Visual Studio Code's Terminal
You're right, but first the INSTALL script makes a few customizations based on what OS you're running (Solaris, OS X, Linux, *BSD), then bootstraps mk and finally runs mk on all the application source.

The script takes into account differences in operating systems, without including thousands of lines of weird little leftovers from 30 years ago when you needed to check if you were actually running on a 16-bit Data General machine or whatever (I'm looking at you, autoconf)
Indeed, I seem to recall from the XKCD color survey that the correct spelling of "fuchsia" was not in the top five.

Which makes it a messy name for a project. Though maybe Google can change the spelling by brand-name fiat, just like they did with "googol".
A James Baldwin article making it to the front page on HN. I'm impressed. I saw a documentary about him released during the late 80s / early 90s and I found it informative. I immediately got a bunch of his books afterwards. But I'm finding it difficult deciding which ones to attack first due to his vast body of work.
The land might have uplifted, but the river still had to carve the same depth nonetheless. I don't think the land happened to raise just on both sides of the river and not below it.
That's not at all what creditworthiness is. You can be rich and have bad credit as easily as being poor and having good credit.
Empower your business process with BPM
Or had to live without a coke for half an hour till you passed by somewhere where they were sold?

My country will be more or less cashless within a few years. We are handing over complete power over the economy to unaccountable private institutions, and the debate always comes down to convenience and eliminating robberies. It's a travesty.
Did Too Much Exercise Give ‘Biggest Loser’ Trainer a Heart Attack
Is that now a thing to put your css at the end of the page?
I used to have those a lot, but I think Uber's eliminated a lot of the "off duty taxi drivers" in the last couple years. I used to get picked up by literal taxi cabs when I called for an Uber pretty frequently. Now, "marked, taxi, or salvage vehicles" are not allowed.
deez nuts ha i got yours
Doing a rewrite in a different language and justifying language choice by a successful outcome of the rewrite is grasping at straws to justify the language change.

Every time I've been involved in a rewrite, including ones using the same language before/after, the outcome has been good. The act of doing a full rewrite is where the benefit comes from, it's hard to separate that from a language switch.
A room with a cue: personality judgments based on offices and bedrooms [pdf]
People there have no way of knowing if for anybody they see progressing in life there isn't a dozen other having their life ruined, because those later dozen are invisible.

If you want to make claims, you better have evidence to back it up. Because what people experience in China is a significant increase of quality of life at all levels. Yes, the income inequality is huge. Yes, a huge amount of wealth is generated by capitalists on the backs of factory workers. That doesn't mean that the poor are worse off than they were before. Lifting tide truly lifts all boats in China. Yes, there are significant suspicions that China lies about its numbers. That doesn't change the seeing eye test that people in China are way better off than they were 10 years ago. I know a girl who moved to Shenzhen at 16 years old to join a factory. She's approaching 30 now, just finished her university degree, and has a career in advertising. She started out as an uneducated country girl. Her story is common. Those who never make it out of the factory? Fact of the matter is, their quality of life is still better than if they did something else. The book Factory Girls by Leslie Chang is an incredibly insightful look into the lives of these people.

An incompetent government turns its potential into garbage. See Argentina, Brazil, India, and others. Each of those countries could be so much farther than they are, but they shot themselves in the foot due to corruption, poor economic planning, and poor infrastructure planning. China started at the same starting line as many of them. I remember attending the Asia Pacific AmCham thingy in Beijing in 2010. The big story was how India was the future poised for becoming the big story. Here we are seven years later with India still treading water in the same place it was before due to political deadlock and corruption.

But as the saying goes, a big enough quantitative difference becomes a qualitative difference.

As such, it's possible to verify whether or not things are working. Whether or not things will last, that's a completely different story that's yet to be told. I'll admit my own prediction is that China's problems are too big for any human institution to solve, it will likely implode. But that's neither here nor there regarding this topic if we're comparing past to present, given the complexity of their problems.
Hawaii funds all of its public schools at the state level (i.e., not through property tax). And there are still differences between the more affluent and poorer neighborhoods. More affluent neighborhoods can fundraise more effectively and the students tend to have more stable households.

The other effect, is that for high school, almost everyone who can afford it, sends their kids to private school. This is because at the high school level, many of the smaller school districts are combined mixing different socioeconomic groups.
Ask HN: Do you feel obligated to go to work happy hours?
I currently work in higher ed as a developer in SF but am thinking about moving into the private world. The thing that I like about my current job is I don't feel obligated to do anything extra outside of performing my actual work, and I like to have work/private lives fairly separate. Should I be worried if I'm the type of person to say no to happy hours?
I disagree. I'm all for permanence - Internet is already too ephemeral. Personally, I love discovering old discussion threads I participated in 15 years ago. It's nostalgic.
Christianity is even odder than that, comparatively to the pretty much every other philosophy. You only need to repent (not that it's a small thing). That's it.

The story of the prodigal son shows this. Total fuck up son gets accepted back just because he repents. Doesn't do anything. The father just accepts him. The legalistic, I-did-everything-for-you son didn't have to do the works. His works didn't matter. The father says everything I have is yours. The son's works didn't do shit. He could have enjoyed the benefits of son-ship, but didn't due to constraints he put on himself.

I know of no other religion or philosophy that says you don't have to do anything. That explicitly says works don't matter for your salvation (you're supposed to do them, but they don't save you).
Is it bad to try to avoid relying on the pre-fetcher? It's obviously there for a good reason and presumably could cut down on a bunch of micro-optimisation, I'm just curious how much of a significant performance measuring black hole it's leaving by not considering it.
deez nuts ha i got yours niga
Don't be afraid to make mistakes, learn from them, and learn to recognize where you've made them.
I strongly doubt that Breivik will ever be let out of solitary confinement unless the Norwegian high court finds that the Norwegian penal system violates Norwegian law. I doubt that even a conviction in the European court of human rights would cause Norwegian authorities to change the practice.

The official explanation for the solitary confinement is that other prisoners would kill him if they had access to him. The word punishment has never been been used to describe his extraordinary sentencing conditions. Actually, it's pretty ironic to have this discussion the same week that a convicted child sex offender was killed in a Norwegian prison after numerous warnings.

Breivik killed dozens of children of Arbeiderpartiet politicians, one of the biggest parties and the ruling party at the time. Norwegian society, great though it is in many ways, is still not capable of admitting that our relationship with the rule of law is somewhat selective.

Note: This is not in _any_ was a defence of Breivik's actions or ideology, rather a commentary on how legal principles are difficult for even a principled society to uphold in extreme cases. (It's also worth pointing out that Norway has been repeatedly criticised by the UN for our use of solitary confinement against arrestees that are not yet charged with a crime).
> The noobs have a "sandbox" to play in by modifying the game. First they follow tutorials or copy/paste code into patches. But eventually something remarkable happens when they start to modify that logic to accomplish their own goals. It's at that moment a programmer is born.

This is almost exactly my first programming experience.

I discovered GORILLAS.BAS [0] on our family computer and, after playing it for awhile, discovered that I could change things about the game by modifying the strange text on the screen. First I was changing colors. Then simple drawing changes. Eventually, I had a version that replaced the buildings with mountains and the gorillas with artillery guns. Gave it out on floppies to a few friends with simple instructions on how to play it.

It was at that moment that I realized I had created something pretty awesome. Never forgotten how that felt.

[0] https://en.wikipedia.org/wiki/Gorillas_(video_game)
I imagine they will in the future. The reporter says this was "my first in my long reporting experience in China" so I imagine they didn't think they needed to do this sort of thing before.
> relaxing but also gives you less control

More like "leads you to typically exercise less control". You can override versions of packages in a stack snapshot.
Haskell is a bad language, in my opinion, because you can't tell what the O(n) run-time is for any operation. Instead you just have to "trust" that it'll be fast enough.

More on this: https://www.reddit.com/r/haskell/comments/1f48dc/what_does_t...

All of the answers seem insufficient. Basically you can't estimate Haskell run-time unless you are very familiar with the internal Haskell engine.
The problem with Orion is that any tracking in VR needs to be 100% accurate, or nearly. Orion is awesome when it works, but the amount of time it fails to work is a disorienting, frustrating, critical dealbreaker for now.
Links are supposed to be legacy and docker seems to push people into using docker networks, but pragmatically there's something nice about links that make it really fit and simple for many simple use cases where full-blown networks and service discovery are just way overkill.
Maybe you would find the theory of information interesting:

http://math.harvard.edu/~ctm/home/text/others/shannon/entrop...

Here in his famous tour de force Claude Shannon lays out the way we can estimate the amount of actual information in an act of communication (e.g. a literary work) and relates it to system entropy.

To your point, !TB of all 1's compresses to a just few bits of actual information.

But I suspect you are not actually speaking about the information contained in a literary work. You are probably thinking: how much expansive commentary and explanation could a literary work spawn? That is another question. The answer is always: unbounded.
I agree.

I found myself watching some of the videos over and over, and skipping others with only a cursory glance. The text was easy to read.

When I watch videos with text I find myself pausing a lot. And nothing is more annoying than trying to rewind a long video to re-watch a 5 second clip: I'm always overshooting and wasting a ton of time.

Reminds me of the "multimedia" of the 90s. :)
Wooden combination lock build [video]
For younger programming classes I try to lean towards using Scratch which is in browser. For the older classes I'll usually set up a terminal server and let them login to it.

To help smooth the process of having them program on their own, I send home a writeup with how to install everything on a home computer for different operating systems, how to ask questions on StackOverflow and give an email address I have manned by other students that like responsibility.

I've worked off of them a few times, they're basically useless without internet is the only major drawback - if you connect to a RDP session the battery will last forever.
There's already a few benchmarks that are directly relevant, take a look at the FFTW performance, for instance [1] (sourced from [2]), which consists mostly of single precision AVX instructions. The 1800X is handily beaten even by a deliberately downclocked 7700k, which costs a bit over half the price.

But that's only half the story. The thing is, a decent 7700k (after fixing the thermal interface via delidding and using high end air or low to mid end water cooling) is actually capable of running at 4.8-5 Ghz without downclocking for AVX. You might get an unlucky sample and only do 4.6 Ghz, but it's still cost effective. A 6900k, on the other hand, doesn't have the thermal headroom to go much past its stock frequencies on AVX-heavy workloads, unless you go full crazy with sub-ambient cooling.

So, in the end, it looks like the 7700k has at least double the price/performance ratio of a 1800X in AVX-heavy workloads along with vastly superior single thread performance. It looks to me like Ryzen is a great leap in price/performance only insofar as your workloads are highly multithreaded, yet don't make much use of vectorization at all.

[1] http://media.bestofmicro.com/ext/aHR0cDovL21lZGlhLmJlc3RvZm1...

[2] http://www.tomshardware.com/reviews/amd-ryzen-7-1800x-cpu,49...
Now you can take a really simple Docker compose file and make it complicated with Kubernetes, happy day! Seriously, the complexity and learning curve of Kubernetes will eventually kill the project.