skysight-inc/HackerNews huggingface dataset:
Are you referring to the one that hit Puerto Rico? Cynically I think that's because many people don't consider that truly part of America. (Note that's not my personal views, but just trying to make sense of why there was such a lackluster response).

My original comment was really trying to get at the human factors involved as to why we don't care. We just seem to be bad at responding to trends but better at responding to single events. Just like how the US generally don't care about the 40k+ USians killed every year in traffic accidents, but the US responded strongly to the singular event that was 9/11.

Edit: care about on an emotional, popular media level. Deaths per vehicle mile traveled have been going down over time in the US, due to increased safety regulations imposed on the manufacturers.
Hopefully at some point deep learning and other applications for GPU technology will become vendor-agnostic, as with CPUs. While I can run Linux on either an Intel or an AMD CPU (and many others), it seems awfully silly that I can't run a CUDA application on an AMD GPU.
Intro Guide to Dockerfile Best Practices
Another way of thinking about it is that if someone asks you to pay, they are not a good mentor, so however much you are willing to pay, it's irrelevant because the person that accepts the money is not worth it.
In case it helps, you might want to see my comments about QuickLookUIService preventing seamless eGPU disconnects here: https://news.ycombinator.com/item?id=20340602
And unfortunately that is making the web more centralized.
Are we supposed to shape our world to fit the most fearful?

Or should we shape our world to fit our goals, and help the fearful adapt to it?
Who said I could pay? I didn't say I could pay at this time. I would figure out if it would be worth it and how I could potentially pay for it after we agreed on something.

This is me, by the way. https://blog.usejournal.com/my-story-as-a-homeless-developer...
It depends a lot on how often you fly - I prefer Skyteam partners (ie, Delta in the US) whenever I can because I fly often enough to have award status with them, meaning lounge access, priority support, upgrades in-flight, etc... I'm sure I pay them more raw dollars than I would if I booked my trips on the absolute cheapest airline in all cases, but the perks make all the difference between the flight being a chore or a moderately pleasant experience.

I have plenty of friends, though, who don't fly as often as I do and can therefore chase the cheapest fare. It doesn't matter to them if they get a flight with an airline they don't have status with, or an airline with no special perks at all, because they're not on the road often enough to qualify for those things in the first place. Raw price wins.

Travel is one of the few industries where brand loyalty still has some tangible perks (albeit decreasing every time airlines revamp their rewards programs), so especially within the US where pretty much all of the airlines fly to pretty much all of the major airports, its an approach worth considering.
The Indian state where farmers sow the seeds of death
It’s sounds better in marketing materials than “commuter/groceries car” which is basically what most of these things are likely intended for. I suspect a staggering percentage of these will end up as 2nd cars for commuting/school runs/oh crap I’m out of milk etc. It’s not exactly crazy-affordable, affluent two car families are surely a huge part of the target market here. The limited range isn’t really an issue for most in the context of a 2nd car either.

There’s rarely anything all that “sporty” about giant “S”UVs either, one doesn’t have to take the marketing label too literally...
Some things never change. Is there a single UNIX variant that doesn't fail in some way when it can no longer write to disk? It's unacceptable for most programs to fail if they can no longer write to disk; Firefox also fails, but of course gives no indication as to what's happening.

Now, of course, no UNIX variant I'm aware of has a real notion of system programs and so there's no programs that get special privileges that would protect them from this. It would be preferable for the system to die, rather than permit this debugging nonsense, considering it would perhaps actually be fixed if the machine died in this case.

This is an asinine failure case mired in 1970s malpractice. Don't you agree this is damning and unacceptable? No one has any right to be proud of this mess. There's millions of lines of code and yet basic failure cases aren't truly accounted for or are handled in the most asinine of ways, such as with the ``Out of Memory Killer''.
Another day, another Google outage. It feels like it's once a month this year
Google Ads Remarketing 2019
"People don't understand how the DOM works" x 1000. Many front end devs I have worked with are not aware that the DOM IS A TREE (and implications of this)!
This is very exciting, the novel application of crystalizing antiretroviral therapy is very useful on its own for preventing HIV replication in organs like the brain (where traditional ART therapy is less effective due to the blood/brain barrier).

Combined with an engineered virus to rewrite the DNA of HIV infected cells, this could potentially be useful against a whole bevy of viruses!
>all I see is someone pushing the problem further under the carpet, into the runtime.

How often are there bugs in language runtimes that cause vulnerabilities in programs that are exploitable by users putting in different data into an otherwise secure program? (I'm not talking about the case where the runtime has a sandbox that breaks when the user loads bad code into it; this is a use-case C/C++ don't even try to address so that would be comparing different things. I'm talking about cases where someone is running a program that communicates over the network and the program's own code is written correctly, but a problem in the runtime makes it so the program is vulnerable to remote code execution.) The main example I can think of like that was Shellshock, which was horrible, but I would never have held up Bash as an example of a safe language. Bash has always been on my short list next to C and C++ of languages to avoid because of how easy and common it is to make mistakes that are practically unnoticeable in review.

>On the other hand I DO agree that 'junior' programming will always be a problem, regardless of the matter, and pretty much, regardless of the language.

Junior developers can write a buggy mess in any language. C/C++ are practically the only popular languages where a junior developer can accidentally write a backdoor in average-looking code that doesn't use any APIs.

I can tolerate some bugs in my software sometimes, but exploitable bugs are an entirely different thing to me.
Not very good if you change head orientation or rotation but otherwise pretty cool!
Automating your task list creation and focusing on what matters
I normally try to stay out of Tesla discussions on HN, and I've had more than one get quite toxic in the past so I'm writing this from a throwaway, but in what world is demand down from 2018 for tesla?

According to this release, they still have more orders than deliveries which means they are still taking more orders than they can produce and deliver right now, this quarter had a record setting number of deliveries for the company, and i'm not sure what other markets they are currently delivering to in huge numbers other than the US and Europe (The UK just recently started getting deliveries, and I doubt a large portion of Q2's deliveries was from the UK, but I fully admit I could be way off base there).

There also aren't really any "discounts" they are offering, especially not on the SR+. I just helped a friend go through the process of picking one out, and he waited until near the end of the quarter hoping there would be discounts, but there weren't any, even for the few inventory cars that were available (Tesla's website shows literally 0 inventory cars within 200 miles of me in Florida right now...) In fact over the course of Q2 they INCREASED the price of the Model 3 (SR+ included) by at least $400 in the US.

I can't speak to their financials at all, for all I know Tesla is losing money at crazy speeds, but demand seems to be there just fine, still over what they can produce, and they sure as hell aren't discounting any car that my friend or I was able to buy.

If you answer nothing else, please at least answer where you got the idea that they are heavily discounting anything at the company, ESPECIALLY the SR+ Model 3? Because that seems almost entirely made up and 100% against literally everything I can see myself. Unless you are somehow counting the lower price of their "refresh" Model X and S that they announced march 1st, which seems to be literally the only time prices have gone down for their lineup over the past quarter.
That was the thought that immediately came to mind when I saw this article --- as if unskippable ads were bad enough, with this they'll be able to make ads that you can't not watch, and the whole thing just disturbs me greatly. No doubt it'll get spun into an ostensibly "user-friendly" "automatically pauses the video if you look away" "feature"... but the motives are clear enough.
It's clear now that an avalanche of electric vehicles are on the way. These VP's are in very high demand, not unlike star athletes on the championship team. They are leaving now because they know that with this quarter most of the major issues (other than battery supply) have been taken care of. Counter intuitively, perhaps, it's a good sign for Tesla. Next man up.
Both of these responses are great and I appreciate the time you're taking to help me. Perhaps the reason I'm offering to pay is that I know the type of mentor I need is someone who wouldn't ask me to, and those people are more likely to respond if I am able to convey the type of person I am. That's a big IF, on top of biggers IFs. But it's worth a shot, even in the dark.
Aren't all powerful languages poised to have this problem?

You can write generic imperative C++ by using lots of templates, OO code that looks like Java, low level imperative code similar to C, and even functional code.

I can personally say the same thing about Haskell or Common Lisp. Perhaps it's not that extreme, but there are many ways to solve problems in those languages. Even some funny jokes about Haskell exploit this:

https://www.cs.utexas.edu/~cannata/cs345/Class%20Notes/10%20...
This comment is hilarious. Last quarter the narrative was Tesla was doomed because there was no demand. This quarter the narrative is that all demand is because of heavy discounts. Last year the narrative was that Tesla was doomed because tax credits will expire. I am still waiting for that doom moment for the last 10 years.
I think the author is overestimating the deterrence factor of the justice system. American prisons have a much lower quality of life for their inhabitants than many other countries, and yet we also have much higher crime rates than those countries with less horrible prisons.

I think the author is also overestimating the number of calculating criminals who evaluate carefully how likely they are to end up in prison. Crime is often just an emotional response, rather than a pre-meditated action.
It’s like a plumber or a home builder. You only go back if something isn’t right.
AWS had a multi-hour total S3 outage in us-east-1 in February 2017 that knocked out a huge number of things mostly because it turns out that a huge share of their customers run in only 1 region and it's us-east-1. Things mostly continued to work in other regions.

I recall Azure had some sort of multi-region database failover disaster that took several regions offline, and GCP has had several global elevated latency/error rate events, but I don't think that any cloud provider has been "down" in the sense that the word is usually used.
Mordhau developer denies it was planning a “toggle” for diversity
I think it's interesting that the Nissan Leaf seems to have taken on a more normal appearance that it did at it's introduction. But maybe that's part of the marketing progression, start by grabbing attention and as you expand dial back the attention getting styling and move to a different grouping of customers.
I agree that Trump behaves like a caveman, particularly on his dealing with Iran and Latin America, but I'm not sure we can only blame him. It is clear that the leadership of the Democratic party is way more aggressive against Russia, Syria and North Korea.

So, the real problem seems to be U.S. imperialism, equally supported by Republican and Democratic elites. This idea that the U.S. has to dominate the whole world and forcefully impose upon it its politic, economic, and social ideas is just wrong.

Should the U.S. stop tormenting countries that don't follow their commands with wars, bombings, regime change insurgency, economic sanctions, and elections meddling, the world would become a more peaceful place.

The U.S. is a great country with wonderful people that don't need to subjugate the world to achieve happiness and prosperity. I hope they understand it, before it is too late.
That's because JSX doesn't concern itself with control flow; it's not its job. Your framework has that job.
I don't think the word is the toxic one in your story.
Cloudflare took us down this morning, but also shielded us from the impact of this fiber cut, due to direct peering with google (I’m assuming over different fiber paths.)
I don't see how this is something that's specific to the last few months though.
I work on hCaptcha which is essentially what you describe. Customers pay us for data annotation and we pay out to websites for human provided labels while also providing bot detection.
FishStore: A fast ingestion and querying layer for flexible-schema data
Author here - just thought I'd share this personal story on the topic of learning, as there's a lot of reference and resource sharing here (which I love!). I think it's important to reflect on the long slog of continued effort. Hope you enjoy. I am trying to improve my writing, so any feedback or comments welcome.
For example, I spent everything I had to get into my own apartment so that I could stop couch surfing (which turned out to be a lot more expensive than having my own place to live). So here I am offering money that I don't have. That sounds like a scam but really it's saying that I am struggling financially but still would give you money to help me accomplish my goals, even if it meant I had to forgo luxury and even necessity in the meantime.
Mid-career developer rates in my much-smaller-market-than-Chicago city are like $120-150k—salary, that is. $4k/week's the minimum I'd need to even consider jumping to consulting/contracting, and even then I'd probably need more like $5-6k/wk to make it a good idea.
People routinely change jobs in the Valley. I bet if you look closely 3 exec would have left Google / Apple / FB this week as well.
It looks like you still have to write interfaces for c libraries (https://dlang.org/spec/interfaceToC.html) and that it can't use header files directly like zig. This is fine for interop but it's not great as a drop in replacement, there is still some manual work and likely many edge cases around macros in the c libraries.

I'm yet to put zig through it's paces but you can include header files directly, theoretically that makes it a much better drop in replacement.
Multi-Hop Reading Comprehension Through Question Decomposition and Rescoring
Compared to Java, Javascript, Python, put together?
Firefox Preview is dope. Hot off the shelf, and it's as swift as a fox. Maybe hopeful but I feel this browser is on fire. Now just need to work on the ux like the button for `read` mode. Bye, G.
Build something useless, become a better developer
there are vendor agnostic ways to do it, but performance is just not very good on AMD gpus.
Exactly. If someone else gets wrongly convicted for the crime then the actual perpetrator now has no fear of ever being prosecuted for what they did. The fear of being caught for a past criminal act is a deterrence to committing more criminal acts. Once someone else is convicted for that crime, to the criminal, they've gotten away with it. If a novice gambler wins big early, they're more likely to take bigger risks later. The same is true of criminals.
Yes, I was referring to hurricane Maria that impacted Puerto Rico and the US Virgin Islands.

>We just seem to be bad at responding to trends but better at responding to single events.

That is the problem since climate change is only visible when looking at trends. 100 year floods were very much a thing before climate change so you can't point to a single 100 year flood as a sign of a problem. You instead have to point to X number of 100 year floods in Y number of years.
This will be legal with the proposed `try` statement [0]:

info := try(try(os.Open(file)).Stat())

I'm worried about nested versions of this and having to unpack them when reading code, which at the current moment has a much easier imperative block structure.

[0] https://github.com/golang/proposal/blob/master/design/32437-...
Before any VP left, the negativity train was on full steam. In fact, the delivery numbers are the focus because all estimates predicted Tesla was going to miss them.

Check this for example.

https://www.reuters.com/article/us-tesla-deliveries/tesla-fa...

or this:

https://qz.com/1590939/teslas-first-quarter-auto-deliveries-...
There are clients are won't outsource to India. The ones with .gov URLs tend to be that way.

Giving up the consulting to be an employee with benefits and reliable work, maybe you want a USDS job:
https://news.ycombinator.com/item?id=20330257

Also try directly applying to various agencies and their contractors.
Improved Oracle Advanced Queuing in Cx_Oracle 7.2
Agreed.

I think one of the ways we could survive this is to radically reform our philosophies and politics. We need to make amends with and reform indigenous rights. LBGTQ+ and women's rights. Abandon capitalism. Accept immigrant and migration. Change our perception of what it means to be happy from endless consumerism to self-actualization and social acceptance. We may have to scale back our modern lives: abandon international tourism, next-day delivery, unlimited energy and clean water, built-in obsolescence, disposable culture etc. Re-design the technology too useful to abandon to be low-impact: as little energy as possible, reliable and interchangeable components, peer-to-peer networks and protocols, etc. Design our lives for near-zero emissions, near-zero waste. Re-learn lost arts like ship building, wood working, forestry, cloth making, foraging, water management, perma-culture, and what it's like to live without plastic, etc.

I believe we have as much capacity for making the environment better as we do for destroying it. It's a matter of will, perception, determination and luck.

I hope we all make it.
My company uses haproxy managed by synapse extensively. As a developer I'm super impressed at how fast Willy Tarreau and co are moving and changing haproxy to keep up with things like envoy and friends.

One issue we have with our internal instances is that while the inbound sockets are passed across reloads, the connections/sessions state have to be initialized on every reload. We also use mTLS, terminated between services by haproxy itself on both sides.

So we have some services using haproxy as a client side load balancer where there are hundreds of backends for the service and that list changes somewhat frequently triggering reloads. This leads to heavy CPU usage on all the backends who have to deal with clients reloading and re-negotiating mTLS sessions.

I haven't been able to tell from the various marketing messages, but does the new data plane API avoid restarting the process, and hence this re-negotiation?
Great mechanical keyboards for coders – updated for 2019
This is also a very good use case to actually dive under the abstraction a little and use hooks or lifecycle methods to directly manipulate the table.

You still gain a lot of benefits from your component framework this way (composability, life cycle management, easy interop with the rest of the app). It’s more work that you wouldn’t want to do all the time, of course.
I'll be honest, I haven't read the article, just the headline, but the hard-line being proposed(in the title) is just as wrong as suggesting we need term limits to prevent career politicians or age limits to prevent senile politicians.

One of the best professors in my Computer Science department was the oldest. He still used Emacs, he biked to work, he taught. I brought up politics because I see similar proposals to deal with Donald Trump, Mitch McConnell, and Bernie Sanders. Fuck this ageism, counter the issues you find with a person without relegating an entire group of people to a forced retirement.

Now that I have saved my spot, I will read this article.

Edit
That was a quick read. As I suspected the author is proposing a blanket ban without respect to ability, and even brings up the cummulative ages of three potential DNC presidential candidates and the date of the signing of the US Constitution to make some kind of point. They attack older academics who “love the work too much to give it up”, but they mention none of the real issues in upper-level education(a trend towards profit) that cause the problem.

I don't know how I feel, as a thirty year old, about a sixty-five year old requesting the seventy year olds get out of the way for the twenty-five year olds, but it's definitely not enthusiasm.
build time asserts can be defined in C macros with some tricks. The error messages are slightly misleading, but when people look at the source code it is usually clear what is happening.

#define ASSERT_BUILD(x) \
do { char array[(x) ? 1 : -1]; (void)array; } while(0)

static char foo[10];
ASSERT_BUILD(sizeof(foo) >= 10);
I know it stinks for the people who are acustom to Nvidia's workflow, but it is quite hard to feel bad for Nvidia. A bigger fish is doing to them what they do to smaller players.

Nvidia blocks the Nouveau drivers from working properly on Maxwell2 or newer cards: https://www.phoronix.com/scan.php?page=news_item&px=Nouveau-...
On a smaller scale, to link up a few datacenters that are a few miles apart? Sure. On a grand scale though, no. Nobody's running an extra undersea cable from Japan to Singapore so that they can have a ring topology. Or trenching a second PBps of cables across the Appalachian Mountains. When something like that gets busted you go and reroute your least important traffic and send out the repair crew.
Location: Bay Area generalist software engineer with experience in Python. I also enjoyed compiler programming, have made a lisp using Racket. I dabbled in Clojure.

Technologies: Python, Racket, Clojure, Javascript
blog: flai.svbtle.com
Résumé/CV: https://www.icloud.com/#iclouddrive/0Dlg4cHwjnrKlbXc1LkBeXPz...
Email: franklai@protonmail.com
Or maybe we just over-prosecute our public compared to the rest of the world.
blog: https://flai.svbtle.com
No, that's my job.
I tried to learn as much about thermionic converters in hopes of building one but the fabrication problem was too difficult.
Any one got a link on this? Or remember the name?

Edit: Contributor [1] seems to have been its name.

[1] https://news.ycombinator.com/item?id=20340453
Did you know that Linux has this special note of “root reserved space” specifically for situations like this? And the same way, there is per-process “oom_adj” which can be used to control OOM killer priority, to spare the system processes.

This problem has been solved, multiple times. Of course many distributions fail to mark appropriate processes as system, so they fail anyway, but this is just a bug, not an a glaring design omission.
100% reserves on deposits doesn't prevent anyone from making loans. It only prevents them from doing so with demand deposits. For example, they are free to sell bonds - they just can't force depositors to buy bonds unless they choose to.