skysight-inc/HackerNews huggingface dataset:
Why you should respond to email, according to a Wharton psychologist
Calling print() opens a print dialog in Javascript. The error-handling code in this project is doing the wrong thing. It's not an example of a wild Javascript-specific error, just an example of untested error handling code doing the wrong thing.
The “just following orders” argument? Journalists know good and well what their websites are doing if they themselves are supposedly experts on reporting on this sort of thing. They expect employees at Google et al to go against their masters yet they are hypocrites because they don’t go against theirs.
June 1962 Alcatraz escape attempt
Reproducibility in Research: Systems, Infrastructure, Culture
App engine isnt limiting to how you build your app, the old version was.
Why is "how to do distributed locking" not "setnx in Redis with timeouts/retries"?
willfully ignorant?
I wouldn't agree with everything you say, but I would add that we probably don't understand everything about nutrition and deviating from millennia of traditional dietary intake including is possibly a dangerous thing to do.

That being said, it can hardly be stated that the modern diet is at all reflective of what humans have eaten in anything but the very recent past. Processed foods and carbohydrates, grains, meat from animals that have been given steroids and have not been free to roam. There are so many variables that it seems like a very difficult task to determine what comprises a good diet.

It is not clear to me whether a carnivorous or a vegan diet would be more beneficial to one's health.
Nice to have an official HAT - I've been using PoE splitters without issue for the last year or so now (on Model 2 B+ and Model 3 series) as an alternative.
Mailrooms are no longer a thing

They haven't completely died, my company has a mailroom with someone that delivers mail to each floor, receives packages (including larger shipments at the loading dock) and stamps outgoing mail.
Funny, I get a great sense of pleasure from understanding things well enough to apply them, especially in unconventional ways. Whenever I read articles like this I get the feeling that they might actually be depressed but misattribute it. Its very difficult to debug your own happiness.
Ouch, that's a rough start to an internship, being called out on the front page of HN like this.
absolutely true in my experience also
> Also, the principals involved in "disrupting" governments and existing financial institutions also face the problem of government reprisal.

Say what you will about Bitcoin, it's been remarkably successful on this front and I'm not exactly sure how.
How would strong typing really prevent this? This is a side effect caused by a scoping issue, calling window.print instead of the local print function.
The Chrome console defines a few console-only convenience functions too: https://github.com/GoogleChrome/devtools-docs/blob/master/do...
Government should have no involvement in stopping a technological product because it might be used for something illegal. The creators are just producing a tool. The government should have no business stopping creators or interfering in any way because they aren't committing any illegal acts.
> A CEO isn't going to 'execute' on an idea by himself

No, they are going to give it someone else to execute on.

Giving it to someone with Montañez background and position, even with the initial legwork he had done was, while heroic is certainly hyperbolic, at least noteworthy. Heck, taking the call was noteworthy. Execs that invite workers to “act like owners” it similar often don't really mean it and don't offer meaningful support when they do.
You can also remove a field by reserving the tag number and optionally the name. New binaries will fail to compile but previously persisted values can still be read back by old binaries. Also ensures no one uses the same tag number later and reads bad data.
Debian Rust maintainer here.

We don't need to bootstrap from scratch, Rust (via LLVM) can cross-compile very easily once riscv64 support is added.

In practise I am already cross-compiling amd64->mips/mipsel for every stable Rust release on my home box, because a native mips rustc compile runs out of memory on those 32-bit machines. [1] The cross-compiled mips works completely fine to build smaller rust packages, e.g cargo [2] ripgrep [3]

[1] https://github.com/rust-lang/rust/issues/56888
[2] https://buildd.debian.org/status/package.php?p=cargo
[3] https://buildd.debian.org/status/package.php?p=rust-ripgrep
That's a fair point (force of habit). But I did get UK when I clicked UK. Interestingly when I put in "colour" or "favouritie" I get different videos than the respective pronunciations for "color" and "favorite"
That’s not a problem with cryptocurrency, that’s a regime problem.
Dropped reading article after one screen. Too hard to concentrate, especially for the code blocks font.
>the only way Libra can succeed is if Facebook makes a concerted effort to force its adoption.

But... Facebook obviously will?
p2.xlarge comes with an NVIDIA Tesla K80 GPU for $0.90/hr, but this is now an "old" GPU and the RTX Quadro 6000 should have much higher performance (but I was unable to find any machine learning benchmarks).

p3.2xlarge has NVIDIA Tesla V100 GPU which is NVIDIA's most recent deep learning GPU, but it's $3.06/hr.

That said, AWS is among the most expensive providers if you just need a deep learning GPU (but obviously AWS offers a lot of other useful things). For example, OVH Public Cloud has Tesla V100 for $2.66/hr. And comparable NVIDIA GPUs that are not "datacenter-grade" should be even cheaper; AWS, GCP, Azure, etc. are unable to offer them because of contracts when they buy e.g. the Tesla V100.
Are you sure nobody specifically buys or leases a car to do Uber / Lyft gigs?
It did, sigh. It was in the LINK'ER documentation. RSX/VMS was all about object modules being shared between concurrently running applications in separate user spaces (because RAM was crazy expensive and DISK was crazy slow and expensive).

The format for runtime libraries, executables and memory-mapped sections in general descended from the PDP11 a bit and I believe it changed radically (for the first time in decades) with the introduction of the 64-bit Alpha architecture under "Open"VMS.
The government already has these problems: look at the use of real estate to launder money. Eg https://www.washingtonpost.com/news/politics/wp/2018/01/04/h...
His wife was playing the role of co-founder. She believed in him and helped him make the MVP.

Kudos to the guy for the initiative, but we are wrong to assume the janitor is in a weak and powerless position. You can work in a factory where you don't see any of the building apart from the walk to your station and the walk to the tea room. You just do your shift operating a machine.

The janitor isn't so intensively over-worked, not physically tied to a machine on a production line. There is scope to travel about the facility and time to observe. There is also scope to be on first name terms with everyone. But most managers would never hire anyone with an entrepreneurial brain into such a role.

Also by being outside any power structure the janitor has nothing to lose and everything to gain.

This story is also telling because of how people in America find it so inspirational. They are chips, a popular junk food item made of corn!!!

Some perspective is needed on that. No atoms were split. If you had two kids, one grew up to be the inventor of a new chips flavour, the other to be a foreign language teacher, which one would you feel best pleased with? Being happy and down to earth isn't good enough though, in America there has to be a rags to riches story for one to be deemed successful.
I foresee money laundering eventually getting decriminalized, much like drugs are right now. The pretext of the offence always felt strange to me.

If I robbed a bank, did a getaway drive but got caught afterwards, I expect to be charged with robbery, not driving.
Yeah but I'd still get the puns that exploit the similarity between those words.
For me, the use cases are very different. I use rental bikes mostly as a complement to public transport - a metro/tram/bus line might take me 90% to where I need, then I'll get some bike in the area to make the 10% left rapidly. I also own a bike, but I mostly use it for local trips or pleasure rides. Plus, unlike the rentals, it's not electric.
Try Cyberbunker :)
My asshole would like to have some stern words with that guy
This is very well written. They get in, they tell the story, they get out.
Author says this about setnx:

"If you need locks only on a best-effort basis (as an efficiency optimization, not for correctness), I would recommend sticking with the straightforward single-node locking algorithm for Redis (conditional set-if-not-exists to obtain a lock, atomic delete-if-value-matches to release a lock), and documenting very clearly in your code that the locks are only approximate and may occasionally fail."
Best Practices for Developing Applications with TiDB
One does not simply print() a stacktrace...
“Can I Implement Your Algorithm?” Model for Reproducible Research Software(2014)
All these "diverse" people are gonna rub the mostly middle upper class decision makers the wrong way unless they specifically work to fit in. You can leave the trailer park but the trailer park will never leave you. Also, once you've "made it" your needs change too. You might still be trailer trash but you're trailer trash with money which is rare.

Working in an environment where there is nobody like you and you have to always be on your toes for culture conflict is work! These people already get more than enough time outside of their comfort zone and most are more than happy to cash their paycheck because from their frame of reference that's more than enough "success". They don't feel the need to preach about what "their people" are like because they're outliers at work and they're outliers when they go home and that doesn't exactly make one feel authoritative on the topic.

I'm not sure what I'm saying here but it's not as simple as "listen to the diverse people" or "more focus groups".
You cannot “window.print” in a Float32→Float32 function. It just won’t compile.
Kubernetes 1.15 Released
Hi, I work at El Reg. Just wanted to say we're not owned by the Daily Mail. I used to work for the Daily Mail Group, funnily enough, leaving in 2011 to join The Reg. But, anyway, no: El Reg isn't owned by the Daily Mail. It's the same four co-owners and the same independent publication.

(If you haven't read us for a while, then please why not try us again. We're still snarky but I like to think our sarcasm and skepticism is precisely deployed as and when it's needed rather than as a scattergun. And above all, puns, jokes, and irreverence aside, we strive to be technical and correct.)

C.
He means Haskell-grade types (float->float is not a function touching the IO monad). It wouldn't help in any mainstream language with actual types (like C++).
Yes, downvote instead of acknowledging the mistake and fixing it so that people can understand what you're saying.
Discussed at the time: https://news.ycombinator.com/item?id=11059738
So you give up the gpio pins, and you give up silence (+fan)?

Maybe a 5.1v poe splitter might be a nicer idea.
I'm a native English speaker and "rural" is a genuinely weird word to pronounce. My pronunciation is halfway between "earl" with a leading "r" and just incoherently growling "rrrl".
Chain drive can be up to 98.6% efficient, you'd have a hard time beating that.

http://pages.jh.edu/~news_info/news/home99/aug99/bike.html
10 Days to Become a Google Cloud Certified Professional Data Engineer
Presidential candidate Andrew Yang wants to give you $1000 a month as AI defense
Former staffer gets 4 years for ‘doxing’ GOP senators
Top Supercomputers List – June 2019
Yeah, all the articles reporting this are kind of sensationalized. I had to dig up the actual proposal list from their shareholder meeting page [1] (click the proxy statement link for the full text). Some of the proposals are simple and would have made some sense to ratify, others are completely impractical or just bad business.

[1] https://abc.xyz/investor/other/annual-meeting/
It's also possible that upper-class and lower-class rejection take different forms. Lower-class rejection can take the form of someone scolding you for acting like a toff. Upper-class rejection might take the form of no visible reaction, but later you don't realize that you weren't invited to a party.

One of those is a lot easier to observe than the other.
Well, to do that you’d need a congress that has the first clue what social media even is, and I’m guessing the US is easily 5-10 years away from that.
> However, I do not live in that context, I live in a society and inside my own head, and this is what generates an idea of contribution and happiness.

Right. This just happens to coincide with a shift in my life, where all the old contexts from my youth are meaningless, and I need to find new contexts.

So if there is no such thing as contributing, then the contributing you used to do only mattered because of a context you (or I) constructed to find important.

I don't think the right answer is to say, "Nothing is important." I think the right answer is to relentlessly seek for a new context to find important, to give meaning to our own life.
Let me start by saying that I am not running for elected office because it's a really hard job; even though I might believe I would do it with more integrity and rationality than the next person, I'm also smart enough to realize that everyone thinks that way and I'd probably end up within a standard deviation of average corruption.

What I'm saying, seriously, is that we need a society-wide blameless post-mortem on social networks. It needs to be a slow, careful discussion, where all the stakeholders have their voices heard, and we decide what is good for us all. I don't know that we need them at all, I'm not sure they provide ANY value to ANYONE, but as a non-user I'd of course be open to persuasion by current victims. Erm, users. In the meantime, it should be illegal to operate a social network. Nobody needs to go to prison yet, even though I think it's horrifyingly clear at this point that the ethics are out the window.

One obvious one: advertising and public conversation must always be separated; the same way no public schoolteacher may read scripture in class, it should be illegal for an internet service that hosts public conversation (e.g. Twitter) to allow sponsored content.

We should also establish guidelines for addiction. After cigarettes, drugs, sugar, etc; we should as a society be prepared to understand the various forms that addictive products can take and regulate them aggressively before they become serious problems. UX patterns like infinite scroll, pull-to-refresh, and push notifications are particularly suspect.

I also think we should close the apparent loophole in COPPA that allows parents to post photos of their children on social networks.

> that they have to hire moderators (which they already do?) or do you want to make it illegal to post "bad things" on the internet?

I tend to come down on the "free speech" side of these issues as much as possible; I would prefer unregulated public fora that (perhaps by requiring identity verification) encouraged good-faith participation in substantial discussions. I think if you are just fooling around, maybe you should head down to the bar and get drunk with your friends and do your shit talking there.
JS is not king. It doesn't self-host. It is just scripting.

C and assembly are fundamental. If you want to get fancy: Rust, and https://ispc.github.io/

Ghidra is a good learning tool. Use it to decompile executables back to C, and to look at the assembly.
I think they are referring to the fact that the signal could be triggered before the system call is executed, in which case you will miss the signal and the system call will never time out. For example:

alarm(1);
// alarm could theoretically be triggered here before read() syscall is executed
read(...);

This sort of problem is what the self pipe trick https://cr.yp.to/docs/selfpipe.html is made to solve. I believe it is not really necessary anymore because there are functions like pselect() which solve this by accepting a sigmask parameter.

Anyway, most system calls that one would want to have a timeout for have alternatives that accept a timeout parameter.
There's two distinct concepts that are conflated for statically linked executables.

On process death vs on module death. Is the function to clean up the process, or is it to clean up the module?

I think the argument for module cleanup is stronger, irrespective of the difficulty of registering code that's supposed to last longer than the calling address space. The module had nothing before it was loaded, it should leave nothing behind when it is unloaded. It's symmetrical.

The difficulty of providing an executable callback that outlives its module just seals the deal.
There is no obligation for anyone to do anything. Do you assume that there is no free will and we are all like robots driven by short term profits?
Pretty nicely done presentation. Wish it could be converted to some kind of recommendation engine.

Also, just because I don’t comment in a subreddit doesn’t mean I’m not a regular reader of it.
Seems like a subscription to their BikeMi system costs 36€/year for unlimited free rides (up to 30mins/ride), so quite cost competitive with bike ownership. This is becoming common in main European cities (I know of Brussels, Paris and Lisbon).
No, Chinese. His family left Qing within months of him being born when the country was on its dying breath.

Khiva was still at least nominally a vassal, but somewhat independent state. A decade after they arrived, Russia finally annexed it completely, but only to be toppled itself by communists just few years later.
I've maxed out my FEC contributions to Bernie Sanders' campaign, have made significant donations to a PAC that supports Medicare For All, and am working towards running for office. I'm doing my part. I just ask that others make an attempt to do what they can.

Progress is a function of effort, not time. Things do not get better simply because a second hand tics by.
Peter Cappelli has written a lot about how terrible recruiting has been in the last few years, and we'd all be better off if companies were reading his work (and implementing his suggestions). https://www.linkedin.com/pulse/our-hiring-practices-mess-pet... is worth a read for a very short introduction to what he thinks of current hiring practices.
Unusable by everyone is not the same as usable by everyone.
Shopify Just Announced Massive Updates
What, adding chili to a food? I reckon the monoculture cohort you talk of could have come up with that.
Bonus: what happens when the function you register is JIT'd, so there's no unregistration code path when it's unloaded?
On HN you cannot downvote someone who responds to you, so uh, that's not what is happening.
I don't own a car, nor do I ever intend to do so. Cars are expensive, dangerous and overall something I've never needed to get around.

This means almost all of the rural areas in America are off-limits for me, because not only is the public transportation infrastructure abysmal but it also heavily restricts my options if I wanted to get food, travel or do any form of recreation.

Whenever people bring up living in areas far outside of the city, they never factor in car ownership as part of the equation because they assume that's just a given.
My friend, there are many studies on nutrition. Many. From protein and mineral absortion to cause/efect due bad nutrition. Carnivore diet is 1000 better than vegan by the simply fact of the 15 nutrients. B12 is one of the most important that you need to get from natural sources, because the synthetic one (cyanocobalamin) is bad.
Long car trips are weird and lonely enough that you can listen to anyone speaking out loud and you just feel a little less lonely no matter what. I think this was the premise of Art Bell's entire career.
I make regular use of bike share -- I have 2 bus options to take me home, one drops me off 2 blocks from home, one drops me off 2 miles from home. When I take the farther bus, I usually use a bike-share bike for those last 2 miles (the route is on a dedicated bike path).

Works great for me and apparently someone uses the bike in for their commute in the mornings since the bike is usually gone in the morning when I get to the bus stop.
I guess I don't understand why setnx locks would fail. Race conditions?
POSIX doesn't require that dlclose must unmap a library forcefully. Basically it can be that if atexit has been called with an address pointing into a shared library, that's considered a reference to the library which prevents it from being unmapped. How can it be unmapped? It's registered to be called when the process terminates.
SKY CREDIT SOLUTION, why you should contact them
The benefits of working with SKY CREDIT SOLUTION cannot be over emphasized, they literally gave me a reason to smile and be happy again, read a comment about them on plurk.com. They resolved all my credit issues within a week. I had a lot of negatives on my report that needed to be cleared.11 days after I made contact with them and they began work, my score increased to 756, all my debts, Judgement and evictions were removed. They know their job and they are very good at it. Email them via SKYCREDITSOLUTION247@GMAIL.COM, call/ text their number (620) 399 6316.
HTTP3: A next-generation HTTP client for Python 3
https://teachyourselfcs.com/
Looks amazing. Linode has worked really well for me over the years.

One thing I noticed when recently trying to get a GPU cloud instance, the high core counts are usually locked until you put in a quota increase. Then sometimes they want to call you.

So I wonder if Linode will have to do that or if they can figure out another way to handle it that would be more convenient.

I also wonder if Linode could somehow get Windows on these? I know they generally don't do anything other than Linux though. My graphics project where I am trying to run several hundred ZX Spectrum libretro cores on one screen only runs on Windows.
Great link, thanks for sharing. A couple more stats for other readers here:

- In May 2019, bike share users took about 218,400 trips on a fleet of about 4,400-5,100 bikes. (~43 trips per bike average during the month)

- Around 95,000 individual users

- ~2 trips per individual user during the month

So, realistically not that great on a per-user basis and it seems like a lot of users are only trying it out a few times or grabbing a bike once in a while. That meshes pretty well with the idea that people who find themselves using the service frequently probably just buy a bike.
Ferromagnetic Mott State in Twisted Graphene Bilayers at the Magic Angle
For the same reasons people wanted an IRC replacement controlled by one company?
Amazed the New World Notes blog is still going, haven't read it in 10 years, and there are many insightful articles for me to catch up on!
Electrolytic vascular systems for energy-dense robots
Exactly. For example if you make a project with Qt5.11 then the user should be able to rebuild the project with Qt5.12.