skysight-inc/HackerNews huggingface dataset:
Correct. We don't sit in smaller seats to save 'a few bucks', we generally sit in smaller seats because

1. they're the only ones available for the dates/times we need

2. paying 40-150% more is prohibitive for many folks (and generally, is not a 'few bucks').

If we had 30 inch and 28 inch pitch seats, and you could choose, and people would pay, say $10 more for 30 inch, that might get us a bit closer to the original comment, but we're nowhere near that set of options.
> Product types without sum types and pattern matching are basically useless for expressing ADTs.

That makes no sense. Algebraic data types are not expressed, they're a concrete thing, a classification of composite types (by multiplication (hence product types) or addition (hence sum types)).
I work for a company[1] in this space. We make software that analyses EEG recordings and predicts if the subject will develop Alzheimer's. We are currently working on Class 2 CE mark for our AD product.

[1]: http://www.mentiscura.com/
SayaKenaHack.com - Are you victim of MY largest personal data breach?
Can't wait. I've used Uber frequently for a long time, but every other story in the news about them is that their leadership are just terrible human beings. I don't want to deal with them as a company.

Much like the drivers, I simply want what Uber is offering and have no loyalty to the company itself. If Lyft wants to come to Toronto and offer the same thing without being Uber, I'll gladly switch.
Wasn't it that particles went through both if you measure at the screen that shows the patterns and they went through one if you measure at the screen with the two slits?
Most of the articles I would be able to dig up are in Hungarian. Like the thread op said, PISA scores are generally used around here and they are not nice. Like he or she said, education affairs are "not great" nowdays. The government increases centralisation, forcefully decreases teacher authority and freedom, the wages are still very low (even though multiple raises had been promised), the things you need to learn are way too much and not particularly useful et cetera.
You’re right — most people will fail to stick with diets, exercise, and personal organization. Frankly, it feels hilarious that researchers had to spend time proving that claim. Just look around!

On the other hand, there’s a powerful minority of people who do stay disciplined. They get a lot of stuff done.

Lastly, although it’s easy to fail, it is possible to join that powerful minority.
Postscript is a text format :-)

Its disadvantage is that it is a full on programming language, not declarative, so it isn't friendly to editing tools.
They don't answer directly and clearly to almost every question, or simply evade them like this first one. Weird, especially considering they've written both questions and answers.
>What would change your mind?

Something like historical examples of fundamental breakthroughs in science or great works of art produced by committee.

Criticism is for stuff one doesn't like, which is why it belongs firmly in the public realm of news, politics, etc. A group isn't public. When it comes to your private work, ignore criticism and trust your intuition. Ideas need room to grow just like children do.
Underwater Glider Wins 2017 Hackaday Prize
I've never understood this degenerate self-loathing that exists within the environmental scene.

It's completely toxic to the green movement.
It's a simple problem with a simple fix, from a very simple benchmark - but it's already reaching the limits of how much tuning Go offers. If even such a basic benchmark needed one GC tuning knob, that seems suggestive that maybe a larger and more complex program really would need all the knobs that Java offers, the ones that Go claims are unnecessary.

Or maybe not - maybe that one knob really can solve all the problems. But I really was surprised that anyone would ever need to actively configure a GC for such a simple use case, so I've learnt something at least.
>If nobody dies, then we would deplete the resources in a few decades.

The idea of those wanting that is to perpetuate themselves (and their current generation) in eternity, screw successors.
If you make something that is performance critical, and in particular if it's concurrent, the normal rule is you avoid allocating on the heap at all. Use object preallocated data (just operate on massive lists), or use pools of data etc.

Any language/runtime will support just allocating a large blob of data and then playing with it with code that looks like C.
Effectively once you want to write perf sensitive code in a garbage collectied language you have to stop writing idiomatic code for that language.

That can mean using data orientation (SoA for example is a very non-idiomatic thing to do in most C-like languages and especially OO ones). Not using heap allocation at all for any length of time is definitely non-idiomatic in Java/C#/Python/js etc., but that's what you need to do if you want any kind of performance.

There are two truths here: 1) Any language can be as fast as C and 2) When they are as fast as C, they also look like C regardless what it was to begin with.
I realize English is an ambiguous messy language, but "have used for x years" usually implies that you have been and still are using it.
Engineering culture at Thread
This sounds a little like an intro to writing "Enterprise" code. Essentially each function has to be its own interface. And you probably need some factory functions in addition.

Why not provide a set of static functions for ByteUtils that behave in a specified way and be done with it?
Nominum Domain Correlation
Ask HN: Why use a query builder rather than bound-parameter raw sql?
> Even if your company was able to hire only people who work well from home, all of those other people have to work somewhere.

Well sure. I don't think going completely decentralized is something most larger orgs can embrace yet. But there's no reason that some engineering staff could not perform their work remotely. If on-site staff complain it hampers their productivity, then I ask why productivity is predicated on the "drive-by" model of engagement, which is universally disruptive to programming flow.

Most companies are paying for a combination of Slack/HipChat and WebEx/Zoom/Bluejeans, and you should make use of them liberally.

> Plus, how is a recruiter supposed to measure someone's productivity at home?

They're not. Their job is to ingress a pool of potentially suitable candidates into the hiring process based on experience, acumen, and career interests. The job of determining productivity, and ultimately fit into the environment, is up to the hiring manager/s and the interview process.

If you're already conceding that you can't determine whether an employee will be a productive contributor in their potential employment environment, remote or otherwise, that's a problem with your hiring process.
Types in JavaScript: why you should care
We’re batting 000 on drugs that target amyloid or tau, and not for want of trying.
>Immortality would be impossible without massive technological improvements that certainly would have other benefits; you can pretty well assume that both molecular nanotechnology and genetic engineering will be mature by then.

I don't think we'll see anything like increased exponential progress of the kind that has been (and has already slowed down) during the industrial age. All low hanging fruit have been gathered, and at this point there are diminishing returns.

We will have a few breakthroughs here and there but nothing to write home about the way the steam engine, electricity or the computer have been.

>Ignoring all of that, though... Don't you think it's likely that people will start caring more about the future once they know they'll live to see it?

Most people are terrible managing their own lives a few years ahead, much less decades ahead. So no reason to think they'll be any more apt when its something so vague as centuries ahead.
What stops someone from taking the phone and "flash" it to your face, having the phone unlocked before you understand what's going on. Or do you have to hold the phone to the face while typing the password ?
As another commented posted elsewhere, GC is all about tradeoffs, and for a govern set of GC tradeoffs there will always be pathological cases. Another GC might work out of the box for this workload, but perform very badly for a workload at which Go's GC excels. As others have already mentioned, the fact that he was so easily able to tune the GC is a testament to Go's simplicity.

There are lots of good criticisms of Go to be had, but it's runtime is pretty remarkable, in my opinion.
I do not think you need an exit to sponsor this. How about starting a web site that outlines all your ideas? Start building interest in the idea. Invite discussion.....
Any argument about "quality" which only works if the project has no tests, is moot.

And two code bases sounds like a reason for more shortcuts to be taken not less to me.
being great at SQL, and a particular DB, will get you hired.
tiny reminder that emacs org mode is somehow pretty suited to implement GTD https://duckduckgo.com/?q=emacs+gtd&t=ffsb&atb=v84-7&ia=web
Can't a positive match be stored as new ground truth for retraining or reinforcing the recognition model?
Yes, Go optimizes for low latency and Java for high throughput.
Nope. Their traffic and energy consumption is very distinguishable. It's like 3x higher energy usage with the Messenger App running. Don't know the exact data volume usage, but it's also significantly higher.

Decrypting the SSL traffic is a bit too hard.

That's why every privacy concerned citizen uses chrome with the mbasic.facebook.com url.
> While difference between 1.2.3 and 1.4.5 is instantly apparent to any human?

The author's point is that the difference between 1.2.3 and 1.4.5 can be anything from a bugfix to the software going from self-hosted photo software to now it's driving a car. The assumption that users have the same perception of a major and minor version as the developer responsible for the versioning, is assuming that all humans understand versioning 100% identically.
Deep Learning is only better than you, if you have a huge amount of clean labeled data for your problem.
Finally! I'm usually against Youtube's heavyhanded censoring, but these videos are sick and disgusting. I'm removing Youtube for my kids until this is satisfactorily fixed.
Could it be that the presence of beta amyloids already caused structural changes to the brain? I know nothing about Alzheimer's.
For building your software and its deployment you should actually use package
manager instead of vendoring and package manager. That is, a binary package
manager (e.g. APT or Yum) with properly prepared source packages (ones that
never touch network while being built).
That answer isn't cynical, there's no cynicism involved in the context. There's nothing wrong with pursuing something because it might affect you personally. In fact, that's a particularly tremendous reason to do something. It makes it personal, it increases motivation.

There is nothing wrong with self-interest. It's why all the people posting in this thread are still alive. A given person's spending in the developed world on their food budget in a year, is a scaled equivalent in resources to what Gates is probably going to spend on Alzheimer's. The difference is, if his investment pays off it helps millions of people. That's the best kind of self-interest.
As anybody who has done high-performance, low-latency Java and had to deal with writing GC-less Java code, this is no surprise at all. In the Java world we at least had ways around it with things like sun.misc.unsafe, avoiding language features that allocate, pooling, etc. While some of those things can be done in Go, I don't know if all the techniques are possible. Without them, I'm not sure Go can really compete in the arena.
I like PHP as well, and ended up getting jobs that had these massive codebases that needed to be updated to modern standards. So, maybe not sexy but plenty of work.

Anyhow, I was recently fiddling with Elixir. Forget the hype and all that. If you like programming languages in general, I think you are going to enjoy this stuff for weekend projects.
I don't see these programs as fundamentally different. The only material different is that one uses a GOTO and the other uses a while loop.

But I don't think either of these is more intuitive. When you learnt how a GOTO works, you probably learnt immediately afterwards how to use it to loop. This loop is a 'pattern', one which you would have to grok as a single idea before you could write a program like the above. This is similar to learning about a while loop, and then knowing you would need one when you wrote the Python script.
Cray Helps Propels ARM Processors into HPC – InsideHPC
Post hoc ergo propter hoc.

This experiment is so full of flaws it's ridiculous. Here are just some of them:

* Pet food ads are extremely common. The chances of not seeing them are fairly low.

* The likelihood of them choosing that subject at random is also very low. It's more likely that they had seen an ad on the topic recently, but were simply unaware because of its lack of relevance to their lives.

* They didn't do a placebo. They should also have discussed another common subject, away from any phones, then waited to see if they were also served advertisements about that.

* Two days is arguably too long to wait to influence purchasing decisions of much needed groceries.

* Confirmation bias. How many scores or even hundreds of other subjects did they see in the same period that they had not discussed.

At least the "simple" in the title is not misleading.
FYI, taking sauna 4x a week seems to lower the risk of developing Alzheimer significantly (at least in Finland). I can also observe myself that taking hot phase 4-5x for 10-15 minutes followed by 2 minutes cold immersion every time in roughly 1.5 hours clears my brain/senses. Maybe the sweating helps overloaded brain drainage as well?

I think Bezos must be applying some of these hacks on himself; he got recently in shape while in previous decades he seemed to let himself go. Bill might think about the same as he is visibly deteriorating and his liver seems to be not functioning well (spots on his skin everywhere). They should add calorie restriction/frequent fasting as well. It's unlikely they will beat the death, but might make their final moments less horrible.
I wonder why they couldn't do that at OVH. The data centres are always manned and they had 8 minutes on batteries. Why didn't they detect after 20 seconds that generators don't start despite power failure and triggered a manual failover? Sounds like something the staff should be able to do?
Looks like far more results will be presented at GoingArm workshop at SC17 (ref: twitter) Can't wait to see. I wonder what other vendors will be presenting too, looks like Arm is finally arriving at SC17.
Yeah, so funny it's like tell us your business idea and now your credit card details in one small scroll form window. Feels so out of place.
A simple hypothesis which could explain this might be that the plaques cause effectivelt permanent brain damage. The question is whether degenerative patterns ceased or slowed after substantial clearing of plaques from the brain.

I would expect this test (and therefore the hypothesis) to fail if the plaques themselves are a byproduct rather than the cause of degradation in brain function. That said, I'm surprised I haven't read much in Gates' Notes or other funding sources on potential ties to HSV1 considering all the increasingly supportive research between the two.
When I saw the headline I said: "Of course wearing a mask would defeat it!" But I was thinking of facial recognition as the invasive technology being used by governments to further destroy what's left of our privacy in public (an oxymoron, I guess). I think about all those '80s sci fi movies where the urchins and street hackers all had makeup lines on their faces which I thought was just the costume makers being "edgy" but it turns out it had a backstory--people were attempting to disrupt face scanners. How did they know this in the 1980s?
I wouldn't worry about it. If they get banned, they will probably apply some ML technique to circumvent any CAPTCHAs to get access again. Also, this can run from the user's computer so it would actually be quite hard to detect that the results are being aggregated, and stripped from ads.
Is there a typo in operator== ?

friend bool operator==(const CIString& a, const CIString& b)
{ return ci_compare(a.s.c_str(), b.s.c_str()) != 0; }
friend bool operator< (const CIString& a, const CIString& b)
{ return ci_compare(a.s.c_str(), b.s.c_str()) < 0; }

This way a<b implies a==b.
I think the idea of game mechanics is to be fun, "generating behaviour" strikes me as very cynical.
Yes and of course that only occurs in horrible corrupt states - never in our back yard.
It seems like a bug with HN's AMP dupe detection.
Cray Adds ARM Option to XC50 Supercomputer
Seccomp and GLIBC wrapper function complex interaction
Can anyone explain to me why he got better performance with GC turned on (and optimised) rather than off?
> PS. Interestingly, Google doesn't seem to care.

Doesn't Google's browser hide the address bar !? Hiding the address does make exploits like this way harder to notice. I know Google want's everyone to search instead of typing an URL. But URL's are really powerful, please Google, don't make them irrelevant!
Don’t Tax Options and RSUs Upon Vesting
All GC algorithms have pessimal cases; I believe there is a mathematical proof of that, though I can never find it on the net through the chatter of all the other stuff about garbage collection. This is a pessimal case for the current Go GC, but that alone doesn't prove much because all algorithms have pessimal cases. (Even "manual memory management" can end up with pessimal cases for the automatic part, which is why you might see an improvement with your "manually managed" program by swapping malloc for jemalloc or something. What people call "manual memory management" still generally includes a lot of automatic stuff.)

I believe Go does something like set a threshold of memory use. Once that memory usage is hit, a collection is run. After that collection is run, it uses the new accurate amount of memory used to set the next threshold. The threshold of course start small and have an exponential increase of some sort.

When the program first starts, the threshold is set fairly low. If you immediately start allocating lots of things and keeping them, a common case, it grows to a sensible size in a reasonable number of allocations and sweeps (which as you are growing into your initial footprint, amortize out pretty cheap), and in a lot of cases you won't think much about the GC until you are really pushing performance.

If, however, you write a program that isn't holding on to much RAM in the steady state, such as a crypto algorithm (which for all their algorithmic complexity typically don't take much RAM to run, as compared to, say, loading an image, and I don't know for sure but it's possible this ends up all stack-allocated), and that algorithm allocates a lot of short-term stuff, perhaps even just allocates for its final answer, then you get into a situation where you are quickly generating enough garbage to cross the initial low threshold, but the GC immediately cleans it all up when it runs, so when it is deciding on what the new threshold should be it still picks a low number, causing it to repeat the cycle indefinitely.

Fixes will immediately leap to your mind, but remember you must evaluate your fixes holistically, not as if this is the only case in the world. If it were the only case in the world, it would be an easy problem, and Go never would have exhibited the problem in the first place. In particular, as you consider your "fix", consider also that a real program that used real crypto would be much less likely to see this pessimal case occur, because it is very likely the rest of the program would push the memory thresholds up to something sensible, so the fix of "do nothing" is actually quite likely to work well on non-artifical-benchmark programs. It is likely that the most obvious fix that comes to mind will result in making a program that is deliberately running some small server process or something appearing to leak memory after running for a long period of time, for instance.

(I suspect quite strongly in this case that the correct "fix" is to do nothing.)
I think most pathological cases can be reduced to similarly simple examples. I'm sure these exist for other GCs as well.
Moodle 3.4 is released
>in the face of a highly concurrent allocation workload

Isn't this "highly concurrent" the main selling point of Go?
> Effectively once you want to write perf sensitive code in a garbage collectied language you have to stop writing idiomatic code for that language.

Only on GC languages that don't offer proper language features for value types.

Sadly most of them failed to gain market share, like Modula-3.

Eiffel and D are some of few around that offer such capabilities, and C# has been getting some love from System C# features, with spans, new ref types, and GC regions.
I saw this on reddit a few days back, and showed to family members who are less technically inclined and hopelessly addicted to facebook. It seemed to hardly bother them, as they continue to use it the way they have been - shaping their life choices based on the chosen moments of others' life.
What concerned me was they found the advertisements "very useful", as it reduced the time spent searching for goods they wanted to buy. I haven't been able to put up any argument convincing enough about why this trade off is bad.

Metaphors, I think could have a better result. One that I have thought of is:
If this was a job position, and one candidate could buy their chances of getting picked - would it be fair to the other candidates or the company? It only profits the broker.

Any other convincing argument I can put forward to get them thinking about it?

Ultimately, all arguments come to the fact that "keeping in touch" is so much easier with facebook - and I do not have an alternative that I can propose. Note I use the word argument as any discussion I have tried to initiate becomes an argument very quickly.
How to ace your next job interview
From Here to the Holodeck
Yet another reason why he is one of my heroes. The man consistently demonstrates good taste in all matters large and small.
Funny, I've often heard X programming described as 'not trivially easy'.
There is a second step to this: 'You can stop if you want to.'

Just washing one plate does not mean I have to wash all of them. Stopping after only half of them is acceptable and preferable to not starting. So I can pick up and wash one without worrying about the full task.
callCC is my favorite goto weirdness.

import Control.Monad.Cont
import Data.Function (fix)

main = for 0 (<3) (+1) $ \i -> do
liftIO (print i)

for z p s body = do
(jmp, i) <- label z
when (p i) $ do
body i
jmp (s i)

label start = callCC (\cont -> return (fix $ \jmp cur -> cont (jmp, cur), start))

Guess you could do this in javascript via trampolining?
Source: David Wolfe

Case dismissed.