skysight-inc/HackerNews huggingface dataset:
FWIW, the React team _just_ published a new package called `schedule` this evening, which acts as a polyfill for `requestIdleCallback` and adds a bunch of additional scheduling capabilities. It's intended to be used with React and its upcoming async rendering capabilities, but appears to be sufficiently standalone to be reused.

- Package: https://www.npmjs.com/package/schedule

- Source: https://github.com/facebook/react/tree/master/packages/sched...
Oh god, please!
Even more common is "we want the best of the best, but want to pay median wages."
Same here!! Drives me crazy.

I sometimes take notes in more technical volumes that I'm reading as PDFs on my thinkpad yoga, but I don't want to pull my whole damn laptop out just to read, so I'm reduced to tapping away misspelled notes in my Kindle... Very frustrating.
I heard this gem a couple of weeks ago:

"Don't engineer things to failure."

When you find yourself saying "I ought to be able to generalize this", that's when you need to stop and just write the code you need to write NOW. Just because you can, doesn't mean you should.
This is good stuff.

But for fighter pilots and such, who are sometimes on call 24/7, the use of "go pills" (formerly methamphetamine, and now modafinil) and "no-go pills" (such as zaleplon and zolpidem) is quite common. But then, no-go pills aren't so great, because it takes hours for effects to wear off. So modafinil plus relaxation training seems like a great solution. I can say from personal experience that modafinil doesn't prevent sleep.
How long until one of these big tech companies sees a Microsoft style anti-trust problem like in the 90s?
Maybe not everything in life is supposed to be fun and entertaining which is why the new generation cant even maintain a conversation or go 5 seconds without staring into their phone.
Really? from what part of Mexico? I'm Mexican and I've never heard someone addressing their father as "sir" (señor) not even "father" (padre) we usually use "dad" (papá), even using "usted" instead of "tu" is not common anymore. But then again Mexico is a really big and diverse country, so there must be zones where that could happen.
> - IF YOU USE THE BUILT IN CACHE, parallelism will be hard (you cannot populate part of the cache from a job, another part from another job and in the next step use the result of both cache)

You can use the `artifacts` and `dependencies` combo to leverage which artifact will be downloaded into a particular job.

For instance,

bundle-install:
stage: build
script: ...
artifacts:
paths: [bin/*]

yarn-install:
stage: build
script: ...
artifacts:
paths: [bin/*]

rspec:
stage: test
script: ...
dependencies: [bundle-install] # This downloads only `bundle-install` artifact to this job

karma:
stage: test
script: ...
dependencies: [yarn-install] # This downloads only `yarn-install` artifact to this job

eslint:
stage: test
script: ...
dependencies: [] # This downloads nothing

https://docs.gitlab.com/ee/ci/yaml/#dependencies explains how it works
Are they just describing Progressive Muscle Relaxation?

https://en.wikipedia.org/wiki/Progressive_muscle_relaxation
My building has just replaced the lift systems with brand new "smart lifts" and the buttons are gone completely, only the emergency button remains. This has made me err more towards the placebo button theory though, being in one of the button-less lifts feels like being trapped in a dystopian nightmare with computers running everything, the one's run by the same computer that haven't had the buttons removed yet feel much safer.

Also, these new "smart lifts" are horrible, much slower than the previous ones and seemingly not built with the concept that 1 elevator request could involve multiple people travelling.
Loser's Lunch
I do, yes. I also think Sarah Jeong and her ilk should be both banned from Twitter and fired from the NYT. If her comments were directed at any other race, we wouldn’t even be having this discussion - she would have been banned and never hired. That is an extraordinary double standard.

The bottom line is, nobody should be giving those that wish to spew hate speech a large platform with which to do it - regardless of who that hate is directed at.

Edit: The fact that a comment with this sentiment has been downvoted says everything one needs to know about how toxic HN has become.
So what's the best way to leverage this feature in crud applications?
you don't need to do either. just run performUnsafeIO if you really want to spit out log statements randomly.

I like having to do logging the Haskell way, actually. it allows for more coherent and easier reuse. What if want to reuse some code, but do logging in a specific way? By allowing the caller to decide where logging goes you can readily accomplish this.
Ok I can't seem to figure out the build environment for step 1...
>>Economically valuable work is done when individuals have an incentive to do it. The acquisition of proprietary knowledge is one such incentive to do valuable work. Without privacy, there are far fewer opportunities to generate proprietary knowledge.

I don't really believe that is all true. Grunt work is done for the requirement of survival. The work where a person helps produce discoveries by an academic research life happens to not be rewarded financially from what I've observed. The people in history that have paved science to what it is today, have all had some passion and with not really receiving much besides fame.

Also when does it stop being a rush to push society a little forward for all the time lost? Do people deserve more leisure than work hours in our lifetime.

Lastly the surveillance system I envision technologically possible makes criminal action impossible for any benefit in the society of such an open system of observation towards others in the system.

Anyway thank you for the time put into your reply. Interesting to read.
I suspect this was answered by this line of Thomas's post:

> If you're interested in doing security work, and you can code, you can't waste my time.
The Chinese have gotten much better with the Oral B toothbrush head counterfeits.

I bought some on eBay, advertised as genuine but not. The packaging was near perfect. The only thing that gave them away was the different mouth-feel and two misplaced mold release marks.

Genuine Braun dual-action brushheads have two divits on top of the brushhead. The copies have the two divits on the side.

I sent a note to the seller warning him that some counterfeits might have gotten into his supply. Seller refunded me.

If you get counterfeits from Amazon I am sure the 3rd party seller will refund you.
be passionate about something, help others by giving away your time and money and expect nothing in return, but also be selfish sometimes and invest in yourself
99% of this article is quoting or rehashing what Palmer said in his blog post here: http://palmerluckey.com/magic-leap-is-a-tragic-heap/ and 1% of explaining that the claimed "fiber-scanning display" was not EL-wire, but some lasers to a DLP.

Just read the original blog post, its more organized and clearer than this rehashed news article.
I guess I don't see having a loving relationship with one's kids as a matter of "tactics."
Agree about Qt docs. I wish they provided the equivalent for Qt for Python.
Lodash.js every single piece is explained with complete lucidity, and even if it weren't the examples are concise and illustrative.
You can always pick a few projects on GitHub that have a less than ideal readme or set of docs and submit a bunch of PRs at once, I've done that before as a quick way to make myself feel like I'm contributing to the community whenever I don't have the motivation to push through on my own projects.
Read. Read ferociously. Devour everything. Read aloud. Read with friends. Read outside your comfort zone. Always be reading.

Take a break to write. Write about what you read. Writing is thinking and thinking is hard. You won't want to do this too much. But you should try it to anyway to stay sharp.

Talk to your neighbors. Get to know them. Lend them your books. Invite them over for tea. Play games. Share stories. Help them with chores. Get involved in their lives.

Put down your phone. Use the Internet deliberately and in small doses.

Keep a garden. And read in it.
> exhaustion

This is key. Aboard a ship I was able to nap "on command" no matter the time of day or my surroundings. No mental tricks necessary.
Take the presentation data and contrast it against the longterm patterns seen in temperature [1]. This presentation absolutely omits information and relies on emotional manipulation to imply facts that are not in evidence -- in particular that the change in temperature is unprecedented and practically linear. This is literally selective sampling to present a misleading picture -- the identical behavior in our little metaphor.

If you genuinely think you're right, you don't suddenly turn to something very much bordering on falsehoods to make a point. In any discussion the strength of an argument is generally going to be measured based on the strength of its weakest point. And arguments, such as this article presents, are incredibly weak as they appear to be deeply misleading when one is presented with big picture data. And suddenly everything you've ever said becomes tainted, even if the other 99% of it was completely and wholly accurate.

[1] - http://upload.wikimedia.org/wikipedia/commons/7/7e/Global_te...
Your username is spot on
I dunno, in my experience anything that "works right out of the box" usually misses a bunch of edge cases (possibly necessarily/by definition). The description seems apt to me.
I have to say your comment sounds like an opinion, that may or may not be true; furthermore you are assuming there is $5-10 profit margin on a $25 item on Amazon... this does not seem very likely or rather an exception not the norm in the cutthroat and competitive selling arena that is Amazon.

How about AdWords; can Amazon get 50 bucks a click on a search? Nope they can't, but Google does. I don't see Amazon dethroning Google anytime soon for ad revenue. They could, but I think they'd need a high end site that caters to quality and not peeps looking to save $1.96 on a set of Tupperware.
I can actually vouch for this, but I discovered it independently for myself. I realized that the nights I couldn't fall asleep were nights my brain kept racing and thinking about different things. Kind of like a wikipedia rabbit hole where my mind keeps racing onto the next tangential thought.

So I found a foolproof solution: Relax all my facial muscles and imagine an empty, black (literally #000) void in my mind's eye.

The physical cue is to be cognizant of your eyes; every time my eyes began to squint, I know it was because my mind was wandering off. I'd reset my closed eyes to be as loose (imagine a very bored expression) as possible and revert back to my black space. As long as I kept fighting the temptation for my mind to wander, and maintain loose eyes, I fell asleep. All anecdotal of course, but I did use this just recently at burning man while soundcamps blasted my tent, and it's nice to see this method validated in this article.
I've been moving away from Amazon for a while now simply to reduce the risk of getting counterfeit items. At least with other retailers you can feel much more confident that they're not selling you a fake.

Frys is a nice choice for buying electronics: they have in-store same-day pickup, and they'll price match Amazon and Newegg. It's pretty convenient if you have one nearby.

This one surprised me a bit, but Best Buy also has equivalent prices to Amazon on a lot of things. A few days back I was looking for some items and found that they had everything available for the same price and I could go pick it up on the same day.

Amazon do seem to be stepping up their delivery speed, though. This morning I ordered something that wasn't available at other retailers and I was given an option for same-day delivery. A few hours later it arrived.
Found it here: https://remarkable.com

Looking through the marketing material, this may be exactly what I have been looking for. 600$ a steep price tag.

You wouldn't happen to know the file format compatibilities? I'm off on a review search but nobody's mentioned it yet.

Edit: according to this review [0], epubs and PDFs.

Edit2: er, weirdly, this things pen tips need to be replaced like once a month lol: "An extra set of eight Marker tips costs $12. reMarkable says each tip should last at least three weeks, and that less pressure and usage could extend their life to six weeks."

https://www.laptopmag.com/reviews/tablets/remarkable-tablet
Gaza Palestinians: ‘We Support ISIS and Terror Attacks in France’
Magic Leap has applied for hundreds of patents and dozens have already been approved:

https://patents.justia.com/assignee/magic-leap-inc

Even if the product fails the process might end up being quite lucrative.

I actually suspect this is the reason VCs are comfortable to hand over the ridiculous amounts of money.
I keep busy volunteering. I play music for a number of churches in my area and also chip in to help the IT staff at a couple of local charities. They're both really gratifying. I also made it a goal to donate 12% of my salary this year to causes that have a direct effect on people's lives.
But as prominent writers in the Apple/Mac space have been writing for years, the state of the Mac has been terrible for a long time. The absolute requirement of having a Mac to develop software for iOS, tvOS and watchOS makes it necessary that Apple focus on the Macs — even if the range of options is limited — to produce things that will help its primary market on iOS to grow.

Selling old and outdated hardware for high prices (set during product launch time) is even more insulting to the Apple brand.

I know that Apple’s organizational structure is also to blame, but clearly it shouldn’t take so many years to even get started on fixing things and showing some results.

Apple is losing with this attitude and negligence. One can only hope that it starts showing that it is serious about walking the talk sometime soon.
If you are a brand and sell through Best Buy then you have to pay to be there.

There are many ways of paying:

Products have to be supplied in a fairly 'just in time' way so you are doing the warehousing/distribution that retail chains used to fully take care of.

You have to take back unsold inventory or take back inventory if it under-performs and the range/model/SKU is dropped. So this also means that for the customer there is no 'old model deeply discounted' unless it is a store demo unit.

You have to pay for marketing. For Best Buy to promote your brand you need to pay for that.

You have to pay for what shelf your products are on. This is a bit like concessions in department stores or end of aisle shelves in a supermarket. You only get your products at eye level and prominent if you pay.

You might have to pay for Best Buy specific models. This can involve cosmetic changes to the product that mean more production costs (e.g. moulds for injection moulding, packaging).

You might have to have a team of people do in store training, visiting Best Buy stores and teaching the staff how to demo your products. This is actually really crucial.

Best Buy do provide sales data that helps forecasting demand, this is useful but in the olden days the store would take all the risk of ordering what they thought they could sell.

Despite all of the above Best Buy are great to work with for most brands. However, not all chains are. There are plenty of stories of companies that have worked with Walmart to come apart. This happens as the margin Walmart demands means that one has to nickel and dime the product to make it as cheap as possible. People buy into the brand, take it home and find it is rubbish. They take it back, don't buy the brand ever again and cost you money. Meanwhile the specialist retail channels that the brand did have stop selling the product as Walmart have started selling it for less than what they can sell it for. In this way a brand can quickly die. The trap is that if you don't sell your product at the price they want to sell it at (as a 'loss leader') then they can boot you out of the store and get your rival in instead. It is lose or lose for the brand when the retailer does this.
>There’s a reason the vast majority of people in history have gone this route - it’s very fulfilling.

And here was me thinking it was a self reinforcing survivor-ship bias.
(OP)

It was heart breaking to hear about your friends & their family. I'm sure it is very hard for friends like you to see your loved ones suffer & feel helpless.

I would wish greater focus towards medical science, promote factual information & medical ethics to hope for a future where chronic illness is not common.
My estimate is - very little.
Always try new activities. Be on the constant lookout for activities/skills that can open your mind to new paradigms. Learning languages/instruments/martial arts comes to mind.

Build relationships with people around you that might not be in your socio economic circle. Having a wide variety of friends definitely keeps life interesting.

If all else fails, move. Sometimes, just getting up and moving to a new city/country can enervate your life by exposing you to different patterns that your subconscious can explore.
> perhaps they need to go off and think about it some more.

Well, that's exactly what they're asking for funding for.

The entire crux of the issue is that these are not complete ideas, and need to be developed further; which takes time, and therefore, money.
Hate to be that person, but what's "Cloud Native" even mean? Is there a glossary for buzzwords somewhere?
Fair, but on the whole I'd be more willing to bet based on a willfull Facebook action than infer from an indirect Google Search action.

Data mining is incredibly insightful in aggregate, but my searching for "Cheetos" is a difficult path to (a) my being hungry for snacks, (b) my wanting to see the mascot, (c) seeing if they have a new flavor, etc. etc.
Scientists pioneer a new way to turn sunlight into fuel
What are people's thoughts on Swagger?
Mostly, yes. Guided meditation has long prescribed almost the exact same process.
There's even ASMR comedy now if you want, see "ASMR Bank Robbery" https://www.youtube.com/watch?v=okqbL9ZZQaM
Here's a nice surprise: it appears to work just great on Safari on iOS.

Setting your location could be easier, but color me impressed.
The complexity of a language has nothing to do with its size.

Brainfuck or Whitespace are two minuscule languages that produce the most impenetrable sources.
The point of having your crypto traded on an exchange is that it becomes tradable by the exchanges user-base. If you spin up an exchange, you now have 0 users and must do a great deal of work to populate it.

The appeal in running an exchange also comes from the lucrative exit. Get users, fill up accounts with money and crypto, then shut down the site and start a new life abroad. An exchange-as-a-service would limit the exit opportunities and reward from doing so, and thus draw few "entrepreneurs".

> I think there is little doubt that digital money is the future and cryptocurrencies are here to stay.

There is little doubt that the universe will gradually become a colder, darker abyss each day until nothing can survive. There isn't yet a consensus whether crypto currencies will kill us all before that happens, though. I hope not.
Accusing another user of child abuse, or insinuating it, crosses into personal attack. Please don't do that.

You have no evidence that the GP abuses his children, or even that his children literally call him 'sir' (he may have been exaggerating for effect).

https://news.ycombinator.com/newsguidelines.html
It's interesting because in some parts of Northern Mexico, you would think that use of "tú" didn't exist. NO ONE uses it, not even relatives or husbands and wife.
Rather than trying to avoid being bored and just having a pleasant life, aim for a meaningful and useful life. This will lead to more fullfillment for you and hopefully a better world.

It is strange to me that so often questions along these lines are framed in selfish or hedonistic ways, as if all that mattered in life was one's own transient happiness.

The best way to have a meaningful and useful life is to create real structural improvements to the world. So for example working to reduce structural inequality is more useful than ordinary charity. Or creating useful services or products that improve people's lives.
This comment resonates more than any other. I absolutely agree with it. A complete demarcation in my life's focus and goals before getting married and, especially, having children.
Image Intelligence | Backend developer | Sydney, Australia | ONSITE | https://imageintelligence.com | 90k - 120k AUD

Image Intelligence was founded in 2016 with the mission of analysing the world's security footage to produce actionable insights in real-time. Hours of security camera footage is produced each second, but this footage is usually only reviewed hours after an incident has already occurred. By this time, it is often too late where preventable circumstances have resulted in irrecoverable loss.

We believe that by using a combination of AI and human interactions, we can produce timely and actionable insights that make the world safer, smarter and more efficient.

We're a small team of less than 10 people that mostly comprise of software and machine learning engineers. We understand our goals and we work closely together to achieve them. We share ideas, challenge them and keep each other accountable.

We're looking for a backend developer to join our mission. We're a fast moving startup, building an "AI as a Service" (AIaaS) both on the cloud and on the edge. The role is a mixture of backend development (building new features in our Cloud API in a scalable fashion) in Scala/JavaScript and infrastructure deployment automation in Terraform/CloudFormation/Python on AWS.

Job: https://imageintelligence.workable.com/jobs/756478

If you're interested, apply above or send an email to david@imageintelligence.com
Thanks so much!! It's a great way for me to help the projects I care about but don't have the skills to contribute .c .h files to haha
Not API, but Spark Java (http://sparkjava.com/documentation#getting-started) has one of the best Java framework documentation I've ever seen. Fairly concise + it has almost everything you need to build proper Web application using Java
A big one is lazy I/O[1]. It is really easy to mess up the order that operations happen in when using IO operations from Haskell's standard library. The non-standard library alternatives like conduits or pipes are more complex, but much harder to mess up.

[1] https://stackoverflow.com/questions/5892653/whats-so-bad-abo...
The reason I mentioned cost here is because NFSN, the web host that Julia said she uses for this blog, is a pay-as-you-go service that works out to be a lot cheaper for low volume use compared to oversold hosts that promise unlimited storage/bandwidth (or very large numbers that in reality would trigger abuse prevention mechanisms). Of course, NFSN is also run without any nonsense marketing, and that’s a plus to support. So I’d assumed that cost may have been a reason she chose NFSN (though her situation might’ve changed since the choice and there wasn’t enough time to move to another host).
Not in 24 just yet, but in long enough to understand. For me the big difference is how non-complex your life is on deployment, or even just while on course. By the time sleep is an option, there aren't any other jobs to do. I'm not worried about long term tasks or office politics. I don't have to worry about neighbors, traffic cameras, or even whether I remembered to pick up groceries. The one job I am supposed to be doing is sleeping. Everything else is someone else's job.

It is a little different for officers. They (we) do sometimes stay up worrying about longer-term tasks. I find sleep far easier when I'm not the one in charge.

On that note: time to sleep. Got to get up at 0345 for an 0530 meeting.