skysight-inc/HackerNews huggingface dataset:
I actually have ADHD-PI (primarily inattentive), and have struggled my whole life with it. It did not manifest as being hyperactive, just being extraordinarily bad at focusing on anything i don't find highly stimulating and being really damned forgetful. Adderall was a godsend for me as a child and I would have never gotten through school without it. I had to discontinue use of it in High school because it started to have very bad side effects for me as I got older.

I am no way trying to imply that ADHD is not real. I know it is real. But I am skeptical that every single kid diagnosed with it really would still have hyperactivity problems if they were running around and riding bikes for hours every day. If the kid still can't focus in school even with improvements to diet and more exercise, then yeah the kid probably really has ADHD and may need stimulants.

Even though I struggle with it, I don't think it's really a 'disorder' except insofar as it can interfere with one's ability to function in modern society.

It seems to me to be just a different way of thinking, one that is unfortunately much more suited to activities like hunting than it is to remembering to pay my parking tickets on time.

https://en.wikipedia.org/wiki/Hunter_vs._farmer_hypothesis
Ask HN: What Do You Recommend for a Minimal Viable Launch for a SaaS?
Is "functional impairment of neurotransmitter pathways" better?
Would be interesting to hear your thoughts on whats good 2018 recommendations?
At this point maybe the best way for Google leadership to restore trust (at least among employees) would be to make Yonatan Zunger the CEO.
Non-versioned external libraries cannot be protected with Subresource Integrity
I just got out of a session at re:invent where they covered that they were working on improving VPC cold start times by reducing the amount of time it takes to associate an ENI with your lambda function. The method they're using also reduces the number of IPs needed to 1 per subnet.
Well, this specific comment thread was started by me and I'm not from an English-speaking, high income country, so there's that ^.^
If you connect a computer to a brain which element is the more sophisticated processing device?

The brain.

If you want high-fidelity cheap BCI don't bother with fancy sensors, galvanic skin response is enough. The trick is to use the high-powered processor to do the heavy lifting. You use hypnosis and create a simple feedback loop to calibrate e.g. one channel per finger and one per thumb. That gives you 8 data lines and a clock/ack signal. An eight-bit parallel port from your mind to your computer. You can now come out of trance and "type" by thinking at the machine in a certain way (no imaginary keyboard) and your verbal thoughts appear on the screen. Other output modalities are possible. It's fucking trivial, if you'll pardon my language.

It's ridiculous to connect a computer to a brain and then concentrate on the computer, rather than the brain, to develop control and communication systems. It's a bit like trying to move your bicycle using a skateboard.

But the greater problem with focusing on the CPU rather than the brain is that it reinforces a world that doesn't demand much personal growth to use powerful tools. BCI where the computer does the work relieves the user of learning how to operate his or her own brain. BCI-by-hypnosis requires the user to learn enough self-operation to be able to go into a light trance and learn a simple motor pattern, and the meta-lesson "side effect" is more valuable and more important than the ability to interact with computers with greater facility.

(BTW, I doubt this would ever be a mass-market product, because you're not just selling a peripheral at that point...)

- - - -

edit: Folks, I'm gonna ask that you please not downvote me on this one without saying something about why. I've never been able to get anyone to listen or take me seriously on this particular subject, and frankly that sucks. I know this works but no one cares and it's frustrating. So, again, please, if you think this is worth a downvote can you please take a minute and tell me why?
Because they test a lot doesn't mean it's critical to their success. That's a cargo cult fallacy.

Your article points to 2-3x industry average conversion rates (for existing traffic), but says nothing about the more important factors of acquisition or inventory.
It's notable that hard and soft things in nature are bonded together through progressively stiffer bonds. Eg. Muscle to tendon to cartilage to bone. Each of those transitions is more of a 'fade' than a sudden edge.

Doing that with a 3d printer is hard
You're not the only one having trouble writing basic data structures in safe Rust: [1]

[1] https://rcoh.me/posts/rust-linked-list-basically-impossible/
It is not good enough for company size of apple to just extract money. Apple needs to grow. Number of units sold is not rising fast enough or not rising at all. You can rise prices for 25% in one year or make consumers pay more but not indefinitely.
Fission – An Open Source Serverless Framework for Kubernetes
I'm a new MS employee (through acquisition) and I am impressed with Satya. The more I know, the more impressed.
I have found NTOS to be much better documented than Linux. For example,

https://github.com/markjandrews/wrk-v1.2/blob/master/base/nt...

Almost every line of code has comments.
Nativefier – Turn Any Web Page into a Desktop App
Associated blog post here:
https://blog.rust-lang.org/2018/11/29/a-new-look-for-rust-la...
AWS Announces AI Chips and 13 New ML Features; Consolidating Its Cloud Dominance
>A suite instead of a room?

Sometimes. Room upgrades in general are a thing. I like it, especially when traveling with my SO - the extra space is nice!

>Do you want to stay in a same corporate business hotels that you are doing a lot for business in your free time as well?

Sure. Starwood and Marriott have a lot of nice hotels. W's are pretty ubiquitous and don't feel very corporate. The Luxury Collection is a bit mixed on whether or not they participate in the rewards program, but enough do that they've got some really cool spots that do, and the LC stuff is all unique. Even for chains that are more corporate feeling, like the Ritz Carlton/JW Marriott/etc, they're frequently very nice. The Westin in Tokyo is convenient for the city-loop JR green line, has a fantastic breakfast buffet and lounge with free drinks and an amazing view, etc.

Generally when I'm traveling personally I don't spend much time in my room. I want something that is conveniently located, has good breakfast, is clean, and spacious enough that I can keep all of my crap out of the way with room to spare. Getting all the points (and multipliers from having status) makes getting free hotel stays a lot easier, and means I can afford to travel more frequently.

>Hilton give me a free bottle of water when I stay.

Same with Starwood/Marriott, but, considering what some hotels charge for water bottles, free bottles being replenished every time housekeeping comes through is great. Especially if I've had a long night out drinking.

There's other perks, too. Early/late checkin - I don't have to worry about if I arrive at the airport at 8am or if my flight is at 7pm. I don't need to rush out of the hotel at 11am, or drop my bags and then have to go kill time if I get in early.

Conversely, I care much less about my Platinum airline status. I only get upgrades to first class on short flights automatically, and I mostly take long ones. Upgrades on long flights consume my upgrade awards. I get free "premium" seats in economy, but they're not huge upgrades and are pretty cheap upgrades in general. Priority boarding is nice, but I see people slip into that line all of the time without status and it's usually more trouble than it's worth for the attendant to kick them to the back of the line. Priority luggage actually getting it to me faster has been very hit or miss. I don't lose any sleep over my airline status looking like it might drop a level. I make sure I never have to worry about that with my hotel status.
I think you’re assuming tabula rasa here; that there is no innate human nature, that everything is socially constructed. If there is such a thing as an innate, biologically derived measure of attractiveness, then your point doesn’t really hold up. Unless we’re comfortable with saying biology is misogynistic. That would be an interesting one.

Frankly it would be great to have real, impartial numbers about all of this so we could actually reach some conclusions, but it’s so politicised that’s effectively impossible.
You're trying to contort a mate selection process that has an inherently sexual-reproductive basis (for most people) into an exercise in platonic pair bonding. It doesn't make sense as such, and it isn't supposed to. People are seeking fulfillment of motivations that are fundamentally evolutionary in nature.

For everything else, we have friendship. (Setting aside the evolutionary advantages of e.g. male coalition-building, which we really can't, but whatever!)
Lawmakers Ask Jeff Bezos for Information on His Facial Recognition Software
Exactly. Gates and Zuckerberg (don't know about Jobs. did he drop out?) went to a good school and stayed there until the business took off. In a sense they graduated early. that is totally different from people who drop out of college and then look for a job.
Anti-mask laws are mostly the result of masked terrorists like the KKK who exploited anonymity to commit their crimes[1].

> Many anti-mask laws date back to the mid-20th century when states and municipalities, passed them to stop the violent activities of the Ku Klux Klan, whose members typically wore hoods of white linen to conceal their identities.

[1] https://en.wikipedia.org/wiki/Anti-mask_laws#United_States
Don't Work 80 Hours a Week for Elon Musk, or Anyone
It seems crazy to me that people are so annoyed that their libraries have different style that we have to have additional tooling to make code search simple for the end-user.
The gel printing method looks very promising for printing other 3d objects. Current systems require support material or special designs without overhangs. The gel approach seems better in nearly all respects.
Ra is the Sun God
LI has crazy property tax. Most places in the outer boroughs in nice neighborhoods are still very expensive, and it can be quite the commute. NJ workers have to also pay NYC income tax in addition to NJ income tax.

Having lived in NYC for the first 20+ years of my life, I was sad to have to relocate, but the finances are just so crazy.
Ah okay, I never thought about using an SQL DB.
Which 4 videos?
Learning Go modules is a minimal investment. It is rather hours than days.
Convenience Stores Are Calling Me
Generally LGTM.

I loved the playground editor embedded in the old front page. Any chance it can be added to this one as well?
For large-scale development, it is reasonable for a private contractor to have to build a school addition for each housing block. I've seen it in Flowermound, TX. The developer built a really nice elementary school and donated it to the city. Perhaps it was required by the town. Perhaps the developer got a tax break. Either way, the nice school surely contributed to higher selling prices for the homes the developer was selling.
I had a play with it this evening implementing a basic webhook handler and it’s super smooth - I hooked a Ruby Lambda function up to API Gateway and everything just works. I suspect you could very easily create some sort of Rack shim on top as well, effectively giving near free, infinitely scalable, Ruby app servers (assuming you can keep the start time down).
out of curiosity, what do you think it'll take for anyone to do something?

the marginalized groups in the 1940s examples weren't popular anywhere, until stumbling upon the true nature of the camps for other reasons and liberation, so I see some parallels here
Jobs left Reed College in part because he didn’t like it and felt that his parents were sacrificing too much for him to attend.
Ha! Totally agreed. Super annoying when you click somewhere randomly and an empty task is created.

Aside from really petty annoyances, I find Asana does what I want it to. I don't feel very strongly about it either way. If another product showed up that was better, I'd move in a heartbeat.

It just doesn't inspire.
Mozilla OpenWPM – Web Privacy Measurement Framework
Have you seen the old girl who walks the streets of London,
Dirt in her hair and her clothes in rags.
She's no time for talking, she just keeps right on walking,
Carrying her home in two carrier bags.
So how can you tell me you're lonely,
And say for you that the sun don't shine.
Let me take you by the hand and walk with you the streets of London,
Show you something to make you change your mind.
This is very similar to my own work for the last many years, and I'm sad and delighted he's managed to pull it off in such a clojure-native, slick looking way. Well done. I haven't finished watching the video yet, but it's a little deflating. Still though, if others had been doing this years ago I wouldn't have been scratching that itch.
You're absolutely right: you don't necessarily need to be within 10% of pure C++ if algo development is made far easier by using python/numpy. But it would be good to have a hand-written C++ baseline to determine where the cost/benefit point is (at least for this example).
Google Cloud SQL Live Machine Learning System Migration
Ask HN: Which books would you highly recommend?
Platinum is still 50 nights, and has basically all the same perks. You do go from 10 suite night awards to 5 suite night awards

The 75 night tier gets you your additional 5 awards back, and bumps you up to 75% point bonus.
"[W]e see a heat-map version of it steadily light up in the areas where the women are being grabbed: mostly the lower back, backside, and arms."

This isn't exactly what the word "groped" conjures up in my mind. (I don't frequent the club scene, though, and I don't know anything about Brazilian culture.)
You sound like someone who has never experienced poverty.

Meanwhile, the original prompt of the inciting content has... Two days' hotel stay of savings.

That's what this is about. The lack of meaning, the alienation after being told "we could be anything we want" when we grow up, to having no choice but to settle for careers in "whatever almost pays bills" since the collapse of 2008.

We're bitter. We're ashamed of where we've been and what we've done to survive. And you know what happens when we get over that? We get angry, we may get political. We might even snap.

If we're technically minded? I'm mad that I dont see more hacktivists.
> positively correlated, especially loyalty

How does a string of short term relationships show loyalty?

> flexibility means (ability to adapt to change?

Yes and the willingness.

I’ve known plenty of early 20s women who will drop their careers to follow their boyfriend overseas and very few in their 30s who will.

> I can't understand how emotional maturity is of no value

Why should a man find it valuable in a partner?
> Would you prefer "The virtual DOM helps make React work a lot faster than doing direct manipulation of the DOM using vanilla Javascript"?

I am not sure this is even correct. Firstly, the famous js framework benchmarks (https://github.com/krausest/js-framework-benchmark) based on adding/removing list items used to have vanilla JS as an unbeatable winner, despite its direct manipulation of the DOM, and React was definitely significantly behind. Secondly, as the README for morphdom says, the real DOM is very fast (https://github.com/patrick-steele-idem/morphdom). If I remember correctly, virtual DOM was supposed to solve the particular performance problem where you would otherwise just throw huge chunks of DOM away rerendering them anew every time your app state changed. But this is a very special (although brilliant) approach to keeping your UI in sync with your app state; you wouldn't necessarily do so if you wrote your app with vanilla JS.
> In an archaic system dating to colonial New Amsterdam, he’s one of 35 mayoral appointees who compete for fees recovering debts. Marshals mostly evict tenants and tow cars, but Barbarovich and a few others have become cogs in a debt-collection machine that has crushed thousands of small businesses. They use their legal authority on behalf of lenders who charge more than some mafia loan sharks once did.

This needs to be fixed. Just e-mailed my City Council member, who is also the body's Speaker.

Irritated on so many levels. He is a public employee. He is abusing New York City's status as a financial hub. He's cramming garbage into our city's stretched judicial system, garbage protecting economic activity occuring pretty much wholly outside our city.

> In June, Biegel faxed an order demanding money to a bank in Elmira, New York, 173 miles northwest of the city. He claimed that a state court had entered a judgment against a plumber named Orion Megivern. That wasn’t the case. The lender had tried to enter a confession of judgment at a clerk’s office in Staten Island, but the clerk there hadn’t yet acted on the application

That's wire fraud!
I think using the Maginot line as a metaphor here is actually correct. Preventing an adversary from doing X means the adversary does Y instead. That doesn't mean spending time and money on prevent X is bad, it just means no matter how much planning you will always be unprepared. Develop flexible plans and general capabilities.

Given the choice between protecting ICT networks and protecting social networks, I'm glad we focused on ICT networks. That isn't the same as being invulnerable.
tl;dr; Cold starts/performance.

The way Lambda manages to achieve the performance it does is because it bootstraps the application and then runs each new request through the loaded application.

This means Lambda needs some way to communicate with an already running service.

Initially, Lambda had language specific runtimes that took care of this (i.e. with Node they have their own bootstrapper that loads your top-level JS file and then calls the defined method each time it receives a new event).

With the release of the Go runtime, they built a framework that gets compiled into your service that runs a simplified HTTP server that Lambda then submits events to.

This latest generalised version eschews an embedded HTTP server for letting your app do something like a long-poll to a local event RPC source in the Lambda container. Basically, your app boots and attempts to pull a job off the queue, if there's a job, your Lambda runs, if there isn't, your Lambda service gets paused until there's something to send it.
It will only differ 5% of the time if you have an adequate sample size and only check for significance once the sample size is reached.

If you end the test the moment the data reaches 95% significance, it will show a difference about 50% of the time for the same email. Many people make this mistake.

A 95% confidence interval doesn't mean much if you dont follow good statistical practices.
k/q programmers, unite!
Startup CTO – Technology choices
Starbucks says it will start blocking pornography on its stores' Wi-Fi in 2019
As I understand it, async/await is not going to be too far behind the initial 2018 Edition (which is coming to stable soon).
There really is no pressing need to ever own a house. What do I get with ownership over renting? Sure, the mortgage payments might be cheaper than a given rent, and perhaps the local housing market might work in my favor, but perhaps it won't!

I might one day own a house, but that's not going to happen for at least a decade or more until my position rises from entry level to middle to a high-enough level where I actually have the liquid capital for a down payment on something worth dealing with a long term mortgage for, and have enough money set aside to deal with potential catastrophic repair or even just regular maintenance. Right now, if I come home and my roof is caved in, the floor is flooded, or my PSU explodes away half the house, I'm gonna shrug and call my landlord and renters insurance agency, and let them solve all these catastrophic problems on their time and their dime/

I'm in no hurry to get one, so I don't see a point to save specifically for a house at the expense of efficiency (spending 15 minutes to order and eat a meal vs. 1hr+ cooking one), or other more fruitful investment opportunities than home ownership. Not to mention, it would make moving around for better employment much more involved and stressful if I had a house I needed to sell or rent out in order to leave the city.
The french do medicate children who are diagnosed with ADHD, but they don't depend on medication to the extent that the US does. Ideally, where medication is needed it is used along with therapy including cognitive behavioral therapy and teaching other life skills and coping mechanisms. In the US where our healthcare is prohibitively expensive and we're all overworked and have far less time to spend on ourselves many kids and adults with ADHD get the pills but very little other help. France also has a different means of diagnosing the condition which leaves some people with ADHD unable to get diagnosed and for others diagnosis is long and difficult. There is a even support group for french families dealing with problems getting a diagnosis.

I can see how ADHD could have been somewhat advantageous in the past but even in a world where you don't have to clock in to work at a specific time 5 days a week or pay your bills each month being able to choose when and to what extent your attention is focused would always be beneficial. I'm sure people with ADHD have always suffered even if their illness was at times a benefit for the group.
Isn't rails an overkill compared to something like sinatra or the other 500 ruby based opinionated frameworks in between?
No, by default Go programs and the whole Go toolchain has no C dependencies. The whole Go toolchain is implemented in Go and it doesn't like into any C libraries. Go links against libc only if you either use CGO or a package which has C dependencies, but I am not sure whether there is any package left in the standard distribution, that does.
I don’t believe that’s what the OP is saying. I understood his comment to mean that ADHD can be considered more of a “bad fit” for the person’s environment than an objectively diagnosable disease. Perhaps by changing the environment, ADHD’s symptoms may be mitigated. Maybe it’s not a 6-year-old’s fault that he/she cannot sit still and quiet in a room for 8 hours with maybe a 30 minute break for recess? Maybe it’s our expectations that are at fault.
I would argue the SPG/Marriott program is still excellent at 50 nights a year. That's still Platinum status, and some of my other posts in here detail the benefits I enjoy from plat status.
A lack of self awareness is the basic understanding of stupid, no matter how offensive it may sound.
> Python with PEP484 is pleasant.

Not yet, I use types as an important form of documentation, so the vast majority of the library ecosystem would need to adopt optional types before I'd consider it so.

> Java 11

Not may people actually write Java 11 at work, most are stuck with 8, or even 6. Java 11 is basically even less mainstream than Kotlin right now, as not even Android supports it.

> is pretty much on par with Go in terms of verbosity

Yeah, but on par is not good enough, it has to be significantly better for your argument to work. Yet I don't see you calling for the eradication of Java. Also, gofmt makes it significantly easier to get familiar with a foreign Go codebase. Not a thing in the Java world. And not having to suffer the JVM startup time + having static binaries is indeed a real win for some.

> Scala is a shit show to maintain with some teams.

Yeah, it's a kitchen sink. Kotlin I like a lot better in this regard. But then everything can be a shit show with some teams.

P.S. Rust is getting rather good for writing web servers and with things like rocket.rs & aync/await, I think it'll be a real contender.