skysight-inc/HackerNews huggingface dataset:
> All we need is a magic wand that works instantly and flawlessly.

> That makes clang-tidy, if nothing else, a proof of concept.

More like a proof of failure. Apply clang-tidy's transformations to source code and now you've now got one gigantic merge conflict to resolve every time you merge from upstream. That's partially fixable if you script your integration, or your integrators have good checklist discipline (they don't) and apply clang-tidy to new upstream commits before trying to merge them, and you've properly documented that.

Downstream is more problematic. And in my experience, large merge conflicts like this are just begging for hard to spot bugs introduced by mismerging commits - much more common than I've noticed bugs from passing 0 to pointers or NULL to non-pointers. To add insult to injury, it'll fail to finish the job - for example, trivial edge cases like 0 being used in a macro which is interchangeably used to initialize ints and nullptrs depending on context - so now you need manual intervention to actually fix up the code enough to actually "break the egg".

Not to mention NULL in C headers, as mentioned in the blog comments, being not a great thing to get rid of.

> Experience shows that relying on compiler warnings to inform programmers about "bad" practices is not reliable.

Get a bigger CI build matrix. This is a criticism of the implementation, and perhaps those who don't use warnings-as-errors - they have much bigger problems than a confusing 0/NULL/nullptr trifecta though. Standardize some warnings? Sure! We've been adding things like [[nodiscard]] that, while still not requiring warnings, strongly encourage them to the point of being just a hair's breadth away from standardization.

Several compilers don't even like enabling new warnings by default - hence the -Wall -Wextra -Weffc++ -pedantic -etc -etc -etc dance, which still doesn't get everything you might want. If you want to change the culture around that so we opt out of warnings instead of opting in, sure, I'm on board with that. We already have the tooling to crank those up for your own code while using more permissive settings for third party code you'd rather not modify/break.

If you can't convince compiler vendors to warn more by default, you're going to have even less luck getting them to break code by default (unless you can trick them into thinking it's an optimization).

TL;DR: We've got more reasonable, less drastic tools. Maybe push those to be used more efficiently, instead of inviting a new Python 3 fiasco. I'm sure I'm not the only person who would jump to Rust (or Go, or Nim, or ...) instead of to C++vIncompatible - because if you're going to make a breaking change, why not break enough things to make it worthwhile?
I totally agree with the 'Risk-first' approach. This idea fits in very nicely with risk driven technical assurance, where the goal of project reviews (even including those covering pre-project activities such as bidding) is to quantify and mitigate the risk to the business. Such assurance provides an outer shell for engineering activities such as software development.
>> A doctor's visit costs between $0 and $150

And who do you think covers the remaining $150-infinity?

>> You want to stick a one-lead ECG

You're not arguing in good faith. Goodbye.
Cyber-attack disrupts distribution of multiple US newspapers
For example any kind of Bluetooth companion app, including sensor readers, watch companion apps and pretty much anything there requires access to MAC to complete pairing.

Your app on the phone wouldn’t need your Bluetooth ID (which is separate from the WiFi MAC ID). It would need the ID of the connecting device.

Any kind of mDNS and direct WiFi apps.

https://developer.apple.com/documentation/networkextension/n...

Are you seriously claiming that our portable computers should lock us out from creating these kind of new application experiences permanently and give ONLY Google and Apple the ability to create them? You want innovation in use of our portable computers to be permanently owned and controlled by Google and Apple exclusively?

We have an existence proof with both Android and Windows - and less so with Macs but only because they aren’t as large of a target - with what happens when apps are given unfettered access to the hardware and privacy related information even with user permissions. How often have we seen yet another privacy invasion from Facebook but only against Android users?
I'd be very curious to hear it indeed. We keep getting interesting articles about breakthrough, but lack to my knowledge follow-up on them. Good opportunity here to see how this went
Personal Notes on Corman Lisp 3.1 Release
How I Increased My Page Speed to 1 Second [Screenshots]
I haven’t read it but I’ll put it on my reading list, thanks.
Please make a Mac version
The only human study providing a compelling reason to try nicotinamide riboside is the one showing a drop in blood pressure in hypertensive adults [1]. But this was a very small group of patients. If it does that in most people (which it may not) then that alone is a compelling reason to use it providing the price is low.

However, it isn't a compelling reason for the sizable expense of developing this outgrowth of sirtuin / calorie restriction research. That funding and person-years of researcher time could have gone towards far more effective programs such as senolytic development, or other SENS damage repair approaches to aging.

Not all NAD+ precursors are the same. The evidence in animal studies suggests that some (such as nicotinamide [2]) do basically nothing. The most effective approaches appear to be infusions, but they are not cheap.

Currently nicotinamide riboside is produced by one company in the US, and the retail price reflects that. If you do decide to take it for the long term at the dosage from the studies of 1g/day or so, it is considerably cheaper to order by the kilogram from Chinese manufacturers (plenty of manufacturers on Alibaba) and run the necessary mass spectrometry and other tests per batch to ensure quality (plenty of providers on Science Exchange).

While you are taking it, consider that this is small potatoes. It is a tiny effect in the grand scheme of things. Exercise has a larger and more reliable outcome. The research community should be doing better than this (and is in the case of senolytics) and people outside the research community need to become better at telling the difference between marginal and useful approaches to the challenge of aging.

[1]: https://doi.org/10.1038/s41467-018-03421-7

[2]: https://doi.org/10.1016/j.cmet.2018.02.001
> Only straight ppl can have children, for example.

This "example" is demonstrably false.
People keep referring to Java to talk bad about tracing GCs.

The fact is that Java isn't the only game in town, and all GC enabled system programming languages do offer multiple ways to manage memory.

Value types, traced GC memory references, global memory allocation, stack values, RAII, untraced memory references in unsafe code blocks.

Not every OOP language is Java, nor every GC is Java's GC.

Additionally, not every Java GC is like OpenJDK GC's, there are plenty to chose from, including soft real time ones for embedded deployments.

As for Android, it is a fork still catching up with what Java toolchains like PTC/Aonix are capable of, all because Google decided it could do better while screwing Sun in the process.
The first puzzle 0 does not work at all on Firefox 64. The Target Result and Difference areas are entirely blank. There are no errors in the console.
I only skimmed your paper, but it looks like any positive effect is from better mitochondrial function. While I’m sure that’s a good thing, it’s not what the article is talking about, so to say that your experience proves that it really works is a little misleading.
If print() is a function why should you be able to call it like that?

Python 3 was just fixing that inconsistency. Functions have their arguments inside of parentheses.

Should we be able to call "requests.post url, data"? It sounds like you are upset with the language for resolving something that never made sense to begin with.
Huge Number of Maine Public Records Have Likely Been Destroyed
Do you have anything better than an appeal to tradition to justify your viewpoint, perhaps a book or study that comprehensively justifies TCM without falling into the basic traps of failed statistical reasoning?
It's a biochemical result, not a medical study about a treatment.
Those types of risk mitigation strategies are expensive for retail investors, and in general complexity is your enemy as you age.

We think about market risk and forget about the downside risk imposed by neglect, fraud and incompetence.
This is really great
What social events do you enjoy that you don’t classify as hobbies? Eg what social events does sv have that Atlanta doesn’t? Are you counting tech as all encompassing lifestyle?
My reading of the tea leaves is that the invalid packets where for some low level control protocol.

I’ve had invalid spanning tree (protocol typically used to prevent loops in networks) packets cause a trunk link to flap as the invalid packet made the switch think its only trunk link (the link to the rest of the network) was part of a loop and shut it down. When the link went down, it could no longer get the bad packets, so after a delay it would enable the trunk again and get the invalid packets again.
For those already taking this what is your daily dosage and do you split it into an Am an Pm schedule? Because if the cost just wondering if people are taking the 1g a day like the article or less (more?).
EBS support in Kubernetes was considered experimental as of last year. Not sure about now.

I recall a few nasty issues in the GitHub with data loss or unmountable volumes for the early adopters, with the official answer along the lines of "implementation is in progress".
The Safety of Sovereign Debt
This 100%. It will also make your web experience a lot better because so much of the javascript out there just does things you don't want anyway, such as loading ads and displaying popups.

If you are a web developer or are familiar with web terminology like origins, domains, frames, XHR, etc on the web, and are willing to put in some time learning how to use it (15 mins for a seasoned web dev, maybe 30-60 mins otherwise) get uMatrix (https://github.com/gorhill/uMatrix). It will change your life! If not, use ScriptBlock on Chrome or NoScript on Firefox. Block all scripts (and if using uMatrix, cookies, XHR, and frames) by default and whitelist as you go for sites you trust (or want to use bad enough to potentially open yourself up for tracking).
The same high-speed user-space network driver written in different languages
Note that Google (and presumably the others) pay for performance, not tenure. 10 years in you might be L8-9 and earn a million or be L4 and, well, not earn a million ;)

Source: I'm keeping a pace of 1 promo / 2 years in Google. I've seen people going both faster and slower (and some stopping at L4, because why bother).
https://www.vox.com/the-goods/2018/12/28/18158968/facebook-m...

https://newsroom.fb.com/news/h/facebook-does-not-use-your-ph...
And we have 30+ years of user behavior of computer users and almost 10 years of mobile user behavior with Android to know that most users aren’t going to give “extra scrutiny” to those applications and are just going to click “allow”.

And even if “security researchers” do find an issue with an Android app, how does that information get disseminated to users? Even if Google decides to close the hole, Android doesn’t exactly have a great track record of getting updates to users.
I used yED a lot at my previous job and I found it to be quite clunky in several cases, sequence diagrams above all.
Also it doesn't look very slick, and learning how to properly tweak object props is not immediate. I often resorted to MS Power Point for quick and dirty diagramming.

With that said, it's just good enough for a free product, though it doesn't have any special edge over some of the web-based alternatives out there.

A very impressive feature IMO is automatic re-arrangment. Typical use case, when you want to draw complex activity of class diagrams when, e.g. following some legacy code, or just brainstorming ideas, it's easy to end up with a very tangled mess of shapes and arrows. yED has this magic button that rearranges the graph in a smart way, mostly based on direction of edges. And suddenly your diagram looks sane again. Kudos to them for this.
For what it's worth, lisper has been on HN for 10+ years, has 30k+ karma, and is clearly not a shill.

(Disclosure: I have a friend at Triplebyte)
There have - convolutional nets have far fewer weights to learn than an equivalent fully connected net of the same depth.

And you literally described it as a brute force approach in your comment.
I would so have a full fab and electronics shop by now if I lived in a place like birmingham.

Last year for thanksgiving we were in Knoxville. Was looking at abandoned warehouses that I could flip. Downtown is tiny but nice and supplemented by the university. I’d have to take up rooting for the vols tho.
Sorry, this seems to insinuate that Docker is slowing down (or using slow) storage... this is completely false.

Volumes in docker are just host bind mounts.

Now depending on your driver/opts (similar to K8s PV backends) this storage can come from anywhere and performance of the volume is totally dependent on the type of storage being used.

Now, the container fs that docker sets up is (usually) using a CoW filesystem, and as there is overhead there... but volumes are specifically designed to bypass the container fs.
Lessons learned from 5 years of CLI
Here's one example, you can find many more with a little googling: https://stackoverflow.com/a/39708317/1370917

If you look at the question, you can see that some people don't make the connection that the motivation behind code signing is figuring out who committed suspicious code. Code that has security bugs is one interest, another is code which the committer didn't have permission to commit, for example proprietary code.
Yes they have the stuff in their terms but chill. They have never sued anybody for putting a monochrome logo in their client list, except they had others teason to sue.

Aligning all logos on eg a client list re color and hue is normal and tolerated.

What you should not do is to mod learned GUI elements like sign-in buttons, eg FB Connect.
Me too, I went all in on Apple stock when the iPhone was announced, on margin I was so convinced. Sounds great right? Well broker sold everything during the 2008 meltdown and lost everything.
Why do you find it necessary to have a creative commons license for your hn profile?
> I'll be working creating new things until they carry me out in a box.

Dilly dilly.
Mac. Pleeeeeeease support Mac! I'm a technical consultant who was given a Macbook for work and I have to run a VM to use Visio. We're working on spec'ing out a replacement technology that works on Mac, but none of the competitors are as good as Visio, and all of our clients expect Visio. In 2019 we've got a team of 65 people all ditching Visio (and our Windows VMs) and going with LucidChart or Omnigraffle because we need something that runs on Mac.

Also you probably don't have control over this, but I tried to add Visio to my personal Office 365 subscription for personal use, but apparently you need a business subscription to get Visio? What's the point of that? I want to give Microsoft my money but they just won't take it.
I don’t want to know the value of dirty work. If I had to milk the cows and do a bunch of work everyday that would directly cut into the time in which I was actually doing something valuable: programming.

Time is scarce and you need to be laser focused on how you spend it. Doing chores is a terrible time investment. You’re wasting your most valuable years.
Like myself, I consider such folks not "pre-kid" but simply "no-kid".

Because not everybody is "pre-kid" by virtue of not wanting kids in the first place.
A lot of the best programmers I know are older than me, and I'm 38.

Get off my lawn.
Off-topic, I wonder if other people also subvocalize when reading and then get startled by passages like "already known for its role as a controller."
Twelve leading economists on the research that shaped our world in 2018
That's surprising, I tested this on Mac with Firefox 64, Chrome, and Safari. Which operating system are you using, and could you try disabling some extensions?
I kind of feel like the author is referring to Zuckerberg's famous comment about young people being smarter. I don't remember the exact quote, but it was suitably shocking and stupid so it's a candidate anyway. The thing I like about Rachel's take on this is that she gets right to the key thing: regardless of what field you're in, or how you spend your time, the vast majority of us are going to be neither horrible failures nor amazing successes. We're far more likely to just be ordinary human beings, who probably need to earn a living and have something useful to do every day. Fwiw I'm 58 and a working site reliability engineer and developer. I don't really live paycheck to paycheck, but neither can I just quit working and go instagramming about the globe. I'm fortunate to work for a very diverse company that values everyone for what they can contribute, but I am also cognizant of the people who will look at me and wonder why the greybeard never "made it." Those people probably won't "make it" either, and anyway, nobody seems to wonder why the old Italian guy in the town next to us still gets up every day and fixes shoes.
I decided to try to replicate this on my iPhone and looks like Acrobat Reader and the Readdle PDF viewer both use Facebook SDK and send data automatically.
I'm straight and similarly aged. don't worry about expectations, but if you do, at least keep in mind you're not alone! it's enough work to make things work for yourself, let alone worry about how the rest of the world does it...
Mine too.

It can take the form of useless meetings. ex: Oh, stand up meetings sound good, but what are we going to talk about?

Only keeping the cheap aspects. Ex: not doing formal test campaigns based on previously defined requirements but forgetting about things like pair programming in XP, up to date automated unit tests, etc...
Sure. And they are great in their area of expertise and able to learn new areas too. When they are changing to slightly new area, they look less like wizards unless given benefit of doubt.

But also, they tend to be less of talkers and presenters which is another separate skill. As in, they are rarely public face.
> I tell them to major in something more marketable and make history their minor.

I agree with the gist of this. As I said earlier, my job prospects really opened up once I had an Associate’s in CS. So I don’t know if you necessarily must major in the marketable field and minor in the humanities. Majoring in the humanities and minoring in the marketable field worked out fine for me. But your approach is probably the safer strategy.
This comment breaks the site guidelines, which specifically ask you not to do this.

If you're worried about abuse, you're welcome to email us at hn@ycombinator.com so we can investigate. The guidelines say that too. Would you mind reading them and following them when posting here?

https://news.ycombinator.com/newsguidelines.html
Always worth it to delve into how a statistic was computed. In this case, the organization cited as the source of the 70% figure itself disclaims it:

"""
Over the past couple of years several news organizations have attributed a statistic to the National Endowment for Financial Education (NEFE) stating that 70 percent of lottery winners end up bankrupt in just a few years after receiving a large financial windfall. This statistic is not backed by research from NEFE, nor can it be confirmed by the organization. Frequent reporting—without validation from NEFE—has allowed this “stat” to survive online in perpetuity.
"""

(https://www.nefe.org/Press-Room/News/Research-Statistic-on-F...)
Your fortune 500 company pays $250-400k total compensation to young coders (2-9 yrs experience)? Which company is it? You don't? Then you're not paying more or less the same...
I was under that impression as well, but Isaacson implied that that's a more modern way, relatively speaking, at least when compared to Renaissance Florence. Which is partially why I was interested in seeing if you had tried it.
Welcome to the fake news industry
When is the best time to take NR? Mornings on empty stomach?
That problem is called cargo-culting. You copy the outwards appearances, not understanding the underlying motives, yet expect the same results.
Thanks, the Moocs look resourceful
> We hired him anyways to get favor with his family, figured we would churn him out and keep everyone happy.

If you don't mind my asking, which country were/are you located in and what line of business were/are you working in?
World of Communes
The only real way to avoid stuff like this is to install something like little snitch for phones.
dup: https://news.ycombinator.com/item?id=18788069
I see the parallels in the way jobs are scheduled on the cluster rather than an individual node, storage is common across the cluster, nodes and leave and join hot, the manageability of it all... all seems very familiar!
I use it, too, and I wish it had LaTeX/Pstricks export. I used to use LatexDraw, but it's too limited.
Yeah, really great for all sorts of vector drawing, including diagrams.
Thanks for your perspective! Is there any local push back on the high middle class tax rates?
Sure, dual tech income families are doing fine. But with gender ratios as they are, not many of those can exist.

Remember that, as you save, housing appreciates. I've run the numbers; the lines only intersect at all for more conservative % increases, between 8 and 12 years out.
> That's also based on social expectations--a tech company that only offered the legally required minimum leave would get a lot of bad publicity for violating social norms, even though it would be legal to do so.

This has nothing to do with social expectations. Why would society have expectations just on tech companies.
This is a result of skewed labor market due to our immigration policies. See what happens to those social expectations once we bump up h1b visas to a mil/yr( also you know "good for the economy" [1]).

1. https://www.bloomberg.com/opinion/articles/2018-03-12/cuts-t...
Sounds like the broker had to sell everything because you went below your required margin ratio. A typical margin ratio is 50%, and AAPL collapsed by more than 50% during the 2008 meltdown, so it sounds like you got margin called.

If that is indeed what happened then that's on you for buying on margin (which is inherently riskier), and no fault of the broker. If that's not what happened, and the broker executed trades without instructions from you, I hope you got them fired at minimum.
Why is that a danger?
I would walk out at "why are you still working?" That is so many layers of ass9.
Because CAM doesn’t even attempt to be correct.

I know it’s hard to believe and to generalise beyond your own experience but you are one data point. You might have gotten better without any of the things that you mentioned. Most likely it was a placebo effect, strengthened by your own research and belief in the practices.

I’m not sure the lack of government regulation is a valid point. In my experience, and as you’d see if you read Goldacre’s book, government administrators don’t understand statistics. Even if they did, they don’t neccesarily legislate to maximise welfare.
Snow is interesting and uses white space instead. http://www.darkside.com.au/snow/
totally agree, and it's not even subtle.