skysight-inc/HackerNews huggingface dataset:
They studied motivation & effort in rats, essentially asking the question:

"What makes you work hard for a big (but delayed) reward, when you could just take the easy (but smaller) reward?"

I think of my current state as, always seeking the easy reward. I utterly lack the motivation, energy, and focus, to pursue prolonged difficult tasks (like good programming takes).

When you think about it, we (humans) face this question every day. Why do you get up, and work on hard problems, when you could just sit and watch YouTube? There's got to be something motivating you to sit down, and do the work.

What they found in the study is that if they blocked D1 and D2 receptors, the rats stopped working for the big reward. They would just sit there, and take the small reward. Or, they'd do nothing at all. They became lazy, unmotivated, blobs.

If they supplemented with D-Amphetamine they were able to reverse the effect. Thereby demonstrating, that it's actually the failure to activate D1 and D2 receptors that causes rats to give up on hard work. DOPAMINE is responsible for activating these receptors, and it's these receptors that give you the "OOMF" to get up, and get shit done.

Historically dopamine is seen as the "reward" but that's not really the case. Dopamine is the fuel. It's the catalyst. It's the "mental energy" that gets you off your ass.

So my theory is that, in myself, something is either blocking D1 and D2 receptors... or I've "used up" my dopamine reserves in the brain my continually slamming them with YouTube, gaming, and general computer use. My brain now looks for this high everywhere. Reading a book stands no chance, as it doesn't release anywhere near the dopamine of clicking through YouTube or playing video games.

My baseline is fucked, essentially. So, I am going to begin the hard work of reseting this baseline... No YouTube, no Games. Will report back in a few months.
>> It must be a real <a href> element that the user hovers over and clicks on

For each <canvas> element that Scrawl-canvas wraps, it adds a hidden <nav> element to the DOM, immediately after that <canvas> element. Creating a graphical entity with an anchor attribute will trigger the library to add an <a> element to the hidden <nav> element. When the user clicks on the graphical entity in the canvas, the library creates a new MouseEvent 'click' event and then dispatches it from the <a> element.

The anchors are not directly placed over the graphical entitys in the canvas, but they are there in the DOM.

>> Modifiers: Ctrl+click, Shift+click, Ctrl+Shift+click, that sort of thing, which change where the link will open—current window, new window, new background tab, new foreground tab, it’s up to the user agent to decide what it all means, and target=_blank is the only slight control authors can have.

For Chrome running on a Macbook Pro: Shift+click opens the link in a new window; Command+click opens the link in a new tab but remains on the original page. I've not tested this functionality yet for other browsers, or for any browser running in a different OS/device.

>> If you use open(…) or similar, it will do the wrong thing. open() is a very flimsy tool that has (or should have) very limited use. Browsers are likely to block it, though they may allow it to operate as part of an event handler.

The library makes no use of window.open(), or similar. Links are driven by MouseEvents:

let e = new MouseEvent('click', {
view: window,
bubbles: true,
cancelable: true
});

>> Concerning DOM elements matching the canvas contents, yes, that’s the approach that needs to be taken; and it needs to be taken. This leads me to suspect that for many applications minimising the part that happens in the canvas, or making an SVG/canvas hybrid, may be more sensible. The few examples I looked at seemed to start in the direction of doing this, but not take it as far as it needs to be taken to satisfy accessibility.

I am grateful for the feedback! If the responses I've given above indicate that my thinking is flawed, then it is much better for this flawed thinking to be exposed and examined - and, if possible, fixed in the near future - rather than letting them lie hidden and festering in the library, making it unusable for serious production sites.
I'm disappointed with the Hero 8 Black. I prefer my old Garmin Virb XE.

I guess this isn't all "ease of use" stuff, but I do think it's all more generally usability:

- The Virb XE has a much easier to find and actuate record switch (physical moving switch); the position of the switch will tell you if you're recording or not if you can't see the camera.

- The Virb XE waterproofing isn't compromized by connecting it to power; the GoPro battery door has to be removed/opened to connect to power.

- The GoPro won't let you connect a bluetooth headset/microphone, so you can't connect a mic and keep waterproofing.
Yes agreed with that ! I can't change the title unfortunately
Elliptic curve cryptography: projective co-ordinate leakage [pdf]
Phoenix LiveDashboard Release
We changed the URL from https://www.engineeringpassion.com/engineers-are-converting-... to the article it copied from.
You're harmless, and would never deserve such punishment. You don't understand this, but some people aren't like you and require hard boundaries. Hard boundaries as in pain.

You have to understand: not everyone is like you. Not everyone is harmless.
I gather that one of the values of COBOL is that the typical program runs on mini/mainframe computers with the guarantee from IBM or whoever that the code written in 1970 will still perform on a 2020 computer the exact same way - inputs, outputs, etc.

Python does not have the same commitment or track record.
Some devices that claim not to have a browser do actually have a browser, as it is used solely for Wi-Fi captive portals.

I seem to remember that the Nintendo Switch has one of these 'hidden' browsers.
Grape vines have been grown since forever in the UK. They do fine. They are all over london. What's not easily doable is getting ripe fruit off them (fruit, yes, little green bullets, ripe... much harder). I don't know how it's done commercially currantly[0].

One planted in 1769 is still around. I assume it's under glass. Saw it when I was a kid (https://en.wikipedia.org/wiki/Hampton_Court_Palace)

[0] thank you, thank you

Edit: a bit more on that ancient and huge vine https://www.atlasobscura.com/places/the-great-vine-east-mole...
> No computer will ever be able to make the leap into creating

But aren't humans proof an inanimate set of atoms can be creative? Electric charge is pushing pressure through a psychical structure for both human brains and man-made computers.

Unless there's something supernatural going on (ie having a soul), I'm convinced real creativity can come from a variety of physical structures, from carbon based human brains to silicon machines.
I actually think that doing things in stored procedures could be a great hack to squeeze out some extra performance, and I'm sure that a system like this can accomplish some important business goals.

However, in the example I'm thinking of, it was much more dysfunctional. The advantage of stored procedures there was that the organization's release process was so broken that it was much faster for sales and marketing to get features added by going through Carl, the DBA, instead of submitting the request to the dev team. This was because Carl was able to add the logic by sending one query rather than going through the broken months-long release process.

Carl was actually a real nice guy, although hard to get a meeting with due to his great importance and busy schedule.
Along these lines, Project Euler is great.
Prolonged 100% all-core workloads, at what clock speed? With what cooling solution?

All of these factors are variable. You could produce a number that says "the maximum clock the part is capable of, with a perfect cooling solution", but that number would never be reached in anything short of a liquid nitrogen testbench, and thus would be pointless outside of an academic setting. Intel was literally demonized for trying something similar to this two years ago, when they benchmarked a 28 core 5Ghz chip without disclosing that it was overclocked, and hooked up to an industrial water cooler [1].

In reality, this number can be found, but it would be an irrelevant number.

[1] https://www.tomshardware.com/news/intel-28-core-cpu-5ghz,372...
Skeletal flights for airlines while economic signals flash red
Hi. Developer and part-time computer science high school teacher here. Does Workstream support graphical desktop linux machines, or only terminal? Thanks!
Thanks, I needed a laugh!

The Orbis plane, used in serial eye surgeries, works better than containers because:

1) the patients are only in the plane for minutes, not weeks

2) It's the only reasonable way to get specialists and their specialized instruments into areas short on both staff and equipment.

3) Most countries leave aircraft alone at an active airport. Anything else shipped can get looted.

The current plane is a former Fedex MD-10.

https://www.orbis.org/en/what-we-do/flying-eye-hospital
Gatsby Recipes
I use this at home as my personal task manager for household jobs. My wife had access too and lines up things for us we need to do etc.
Works well.
We also use it at my work for projects. A great bit of free software
Yeah, the docs are a little sparse at the moment. I really only intended this as a demo, and didn't expect to get much attention, so I didn't document everything. But when I get around to expanding the docs, I'll definitely make a note about local storage.
Note that when we released Heartquake, many people in the group, and definitely the programmers, had college degrees, several years of professional experience, and/or multiple commercial videogames published.

It was quite a shock when I first entered Assembly 93 (my first demoparty ever) in Kerava, and saw all those teenagers installing Linux or programming or making music or being awesome. Already well in our 20s, we were kind of old for the scene already. :)
Ask HN: Should I learn functional programming?
I'm a full-stack web dev (skewed toward backend), fully focused on Typescript for the past couple of years. I have a pretty solid understanding of OO concepts now, and I've started dabbling in things like Domain-Driven Design, which are (from my understanding), solid extensions of OO. I've fairly recently come across more and more stuff about functional programming and various languages like Scala, Clojure, PureScript, Elixir etc. People seem to have a generally favorable opinion about these. Especially it seems like Elixir/Elm/Erlang (are these all part of the same ecosystem?) have a lot of raving fans.

My question is, what would I get out of learning functional programming? Is there a good tool or language I can learn that will make me immediatly able to apply my learnings to my daily work in backend/frontend web dev?
They've always made it hard to use their devices as webcams. If they had that feature, they would be selling like gangbusters now. Wyze did a firmware update and bam, you have a webcam. It hurts you in the long term to always upsell and partition your features into different levels. That complexity in your business, translates into your code and processes and makes it harder to pivot.
Hi! Thanks for this feedback. I work at Stripe on improving our tax reporting product. May you elaborate on what was missing exactly?
In videogames: Early access + Open world + Survival + Crafting
I'd rather Gnome focus on computer-ready apps a little more rather than chasing a phone future that will likely never come to pass.

I don't mind Gnome 3 but it has taken, in my opinion, too many steps toward mobile already.
When sleep is a good way to boost the defences against infections [0], motivating people to stay up until midnight might not be the best idea. Perhaps change the update time to an earlier hour.

[0] https://youtu.be/wlbM6VVkVZM
This is fascinating. I don't know all the terminology perfectly, but I get the gist. I love how transparent and ingenious they are.

(BTW did anyone else think of the Rick and Morty episode where Rick builds a "perfectly flat" platform for Morty to experience?)
Here in the US, Metro-North (one of the 3 major NYC-area commuter rail systems) was running bar cars until 2014.

You can bring your own alcohol on all 3 of the NYC-area commuter rail systems and drink if you want with the exception of some of late night hours/major drinking holidays.
I read this on a whim and now I'm amazed: I never considered algorithms as part of mechanical engineering. Very clever. And in a pedantic reading of Richard Dawkins, this is the kind of "meme" he was talking about.
Thinking about going open source but too afraid of hostile forks. How do you prevent people from stealing the business?
Gringo Marketing Article Spinner is constructed to offer the very best spinning tools with the greatest worth for all users and all languages. We know that premium article is crusial for every single people and company to meet their target marketing needs and requirements. We understand what is needed to supply advanced, yet user friendly software application to provide users the capability to make content quick create the short articles they need with no high costs or complicated settings. Visit https://gringomarketing.com/article-rewriter
Mark Zuckerberg: “we're slowing our plans to return to the office”
Is this like an alternative to the Ballmer Peak for developers who don't drink?
In addition to the sibling comment, there’s also the unlikely dengue scenario where getting infected once actually makes the next time worse.

Let’s hope we solve this virus (for whatever definition applies; we’re not particularly good at solving viruses) and apply some of that same effort to dengue before the world gets much warmer and it spreads.
Geekbench is self-reported, unverified information. Anyone could post arbitrary benchmark results for any chip.
Oh, interesting. I guess that's because React re-renders the child component. I should think about a way I can prevent it from doing that. Ideas welcome!
AI spots critical Microsoft security bugs 97% of the time
That is true up to a certain point (for instance, in my experience, having bounding boxes that are not pixel-perfect acts as a regularizer), but there is also a good chance that you are mislabelling edge cases, situations that happen rarely, and that definitely hurts the performance of the neural network to make a correct prediction on these difficult / uncommon scenarios.
I'm not going to disagree with you here. In politics, multiple positions need to be taken into account, and angry voters are to be avoided. The pressure on the car industry is still huge, though.

The new average emissions target for new cars in the EU is 95g CO2/km. That's equivalent to 4.1 l/km (57.4 mpg) of gas or 3.6 l/km (65.3 mpg) of diesel. That's already ambitious on paper, but manufacturers are soon required to have cars record the actual consumption of their fleets on the road.
Not at the moment, but would love to hear more about what you're looking for.
50%+ of Small Biz say they will close soon. We built a site to save 90% of them.
Today, we're launching https://NeighborPledge.com to support your favorite local businesses, 90% of which can't offer takeout/gift cards. And 50%+ of small businesses say they will go out of business in the next 2 months (https://twitter.com/adam_tooze/status/1250453327420293122).

This site was created to help the places that aren’t getting any help right now. The places that had to close their doors completely.

It’s for the dry cleaner that always greets you with a big smile. The little yoga studio that makes you feel calm after a stressful week. The florist that saved you on your anniversary.

It’s for your go-to dive bar for happy hour, that hardware store that always has that thingamajig you need and that old childhood arcade you want to take your kid to one day.

This site is for businesses in your city. Your neighborhood. Your hometown. Your college town. This is for all of them. Because these local businesses don’t have anyone else to turn to.

So pledge a little. Pledge a lot. Pledge something. So they can still be here when we all get through this. Because the only way we are going to get through this is together.

Visit NeighborPledge.com and pledge to the businesses you care about. Share it with your friends. And we’ll all make a difference, together.

It's a work in progress, so please comment here with ideas and suggestions. And we are looking for collaborators to join us in this effort to help.

NeighborPledge.com is a labor of love, it's not a for-profit entity. We don’t take fees, charge subscription, or ask SMBs for $ in any way. We just want to connect them w/ local supporters so they'll still be here when we all get through this.

Who's behind NeighborPledge.com? It's been mostly Dustin Rosen (https://twitter.com/du_ro) and me (https://twitter.com/aloukissas), with help from some great people like Abha Nath (https://twitter.com/abhanath) and other folks from the LA tech and venture scene.

Thanks,
Dustin + Alex
AWS Cloud9 sounds like exactly what you're describing.

https://aws.amazon.com/cloud9/
Thanks for submission, a really interesting read! I'm into restoring old woodworking machinery, and hand scraping is one of the methods for truing lathe ways that I've read about. Could possibly be required for the Walker-Turner lathe I'm working on. :)
Ask HN: What tools/languages are the easiest for you to build side projects in?
Assume it's random. See also the static initialization order ‘fiasco’: https://isocpp.org/wiki/faq/ctors#static-init-order
Having experience implementing and working with people that have used both, I'd love to hear why you think PayPal handles subscriptions better than Stripe.
Will be very interesting to watch financial reports from health insurers. Premiums are the same, despite (almost) everyone consuming less health services.

Can Covid costs (at current patient levels) make up for the loss of other claims? I'm doubtful, especially since some Covid costs are evidently borne by the federal government. The suffering of hospitals is circumstantial evidence that insurers are paying out less overall.
How are you saving fees on paypal ?

Looking at https://www.paypal.com/ca/for-you/fees
It looks like the fees are exactly the same as Stripe, what am I missing ?

Can you elaborate ?
Are you a charitable organization?
As another ww kayker, I like the helmet cam view for reviewing my technique/seeing rapids from first person. The video usually isn't sexy, and you need to remember that everything is way bigge irl, buy I've found some videos helpful.

Carnage videos of people swimming can also be fun/terrifying to watch from their pov.
I used to live in Poland (so just across the border from Germany) and now I'm a UK resident, and your question is really baffling, since in both of these countries people use (contactless) card payments for pretty much everything. Germany is definitely an outlier and your comment doesn't really explain why. Is this a cultural thing, regulatory issue, or maybe banks colluding to protect their interests?
Wrong URL, Statuspage is at https://statuspage.io :)
Facebook cancels Oculus Connect meetup and all other large events until 2021
> I would love to see free-as-in-speech app store that also allows payment.

The problem here is payment processors, and the problem with payment processors is pressure from banks, and the pressure on banks comes from regulators. So it's not really a problem that Purism / Librem can solve.
Stripe isn’t being transparent on refunds. The issuing bank returns interchange on a refund. The true cost to stipe is a fraction of a penny to put the request on to the network. Other processors will refund interchange, this is unique to stripe. I am
sure stripe is refunding interchange for their larger merchants that are on interchange plus billing. There is no way target is eating interchange on refunds. They are squeezing their smaller merchants for more money.
>The purpose of a business should be to make money, not to ask for money.

But to make money you have to spend money.
You can now build your WebRTC app on Talky
FWIW, this is roughly how Tclkits work in the Tcl world. Although by default they use a Metakit database instead of SQLite.

Currently they append the database to the end of the executable, which has some problems and I'm working to make including it in the image more standardized as part of XVFS [0].

[0] https://chiselapp.com/user/rkeene/repository/xvfs/
Suburbs: The Dispersal Defense Against Nuclear Attack (2010)
Emacs: I Use Helm and Why You Should Too
I should clarify DONKEY.BAS was (probably) not famous for gameplay as much as the author.
My advice to people looking for a "technical cofounder" is always to learn to code—and not in a snarky, "learn to build it yourself" way. Having even a cursory ability to code and a CS50 level understanding of computers will give you enough context to vet the plausibility of ideas, and give you the ability to articulate them in terms that might interest an engineer, as opposed to just saying "An app for investing in real estate."
If you’re selling server chips you’re likely selling to clients who are gonna do their own tests and trials under their use cases anyways. They aren’t even gonna look at numbers supplied by the manufacturer.

And if you advertise power consumption for those kind of workloads (100% usage) to regular consumers, who are probably gonna buy 1 computer every 3-5 years, you’re disincentivized from optimizing the kind of stuff that have seen real gains, such as designs that aggressively and cheaply turn on/off systems, or clever decisions to run the chip slower than its max output to improve power consumption, without making an impact noticeable by a human user.
Meanwhile:

https://www.nytimes.com/2020/04/11/business/coronavirus-dest...

> In Wisconsin and Ohio, farmers are dumping thousands of gallons of fresh milk into lagoons and manure pits. An Idaho farmer has dug huge ditches to bury 1 million pounds of onions. And in South Florida, a region that supplies much of the Eastern half of the United States with produce, tractors are crisscrossing bean and cabbage fields, plowing perfectly ripe vegetables back into the soil.

which brings to mind John Steinbeck's The Grapes of Wrath:

> The people come with nets to fish for potatoes in the river, and the guards hold them back; they come in rattling cars to get the dumped oranges, but the kerosene is sprayed. And they stand still and watch the potatoes float by, listen to the screaming pigs being killed in a ditch and covered with quick-lime, watch the mountains of oranges slop down to a putrefying ooze; and in the eyes of the people there is the failure; and in the eyes of the hungry there is a growing wrath. In the souls of the people the grapes of wrath are filling and growing heavy, growing heavy for the vintage.
Do you really think bioweapons research is not a thing?
Nobody ever remembers Ronnie Soak, man. Fifth of Four!
Small planes and no business class: will flying ever be the same again?
“I dream of Covid” – Covid-19 hallucinations and dreams
That's not wasteful. That's correction.

Is it wasteful to throw away a batch of food when 20% of it has been studied to contain the wrong substance, which ends up causing disease?

Isn't it even more wasteful to continue using unedited and unverified data sets just because all the previous models were trained on it, and thus we can no longer advance the state of the research? It's a case of garbage in garbage out.
Oh, we very much are, but it's not the coronovirus.

The next pandemic? That might be worse. But rising ocean levels are pretty bad.
I stand corrected! I shouldn't have guessed "quadratic" without measuring.

Large files will make gcc use more memory, and if you're building on a low-RAW machine, the OS will start to swap. That's probably the effect I saw. Nothing to do with "quadratic" compilation time.
This is awesome! A little buggy but I will try it out in a project I am working on.
Ted Chiang’s Soulful Science Fiction (2017)