skysight-inc/HackerNews huggingface dataset:
comments in the source code

This is an unpopular opinion, but I fervently agree with it.

It one of the most powerful ways to keep a codebase comprehendible.

Some folks say, "That's what commit messages are for." Bullshit. When people say that, I suspect they've never worked on anything other than prototypes or toy projects. Good commit messages are a must, but they don't scale well when it comes to long-lived projects. Think of a source file that's had many dozens or hundreds of commits and refactorings. Tracking down the original author's intent can be very difficult - especially when the original commit doesn't reference what's happening on line 78 or whatever. Especially when there are dozens of such oddities in a single file.

Some other folks also say, "Good code is self-describing." Again, bullshit. Maybe if you're writing code in a vacuum. But code gets weird and messy where it interacts with other things that are outside your control. I can read your code and see what it's doing. But your code cannot tell me the "why." The kludges you implement to work around bugs in other libraries/browsers/APIs are NOT comprehensible without some contextual information about the bug you're trying to solve. Ditto for all the weird business logic that creeps into applications. Why aren't we charging sales tax on Topeka on Tuesdays? Tax law? Were we running some special promotion? Did our vendor in Topeka already collect sales tax in some other part of the process? A quick comment can save the next maintainer hours of wondering.

So, my rules are....

1. Stick a comment in there if you are implementing a kludge/workaround based on some external thing. Wrote your own CSV parser because the one in the standard library is broken? OK, tell me that so that I know this was a conscious choice and not a matter of you simply not knowing that the standard library existed.

2. Stick a quick comment in there if you are
implementing business logic. Even if your comment is simply "Implement Bob's marketing idea for the job fair" that would at least give me something to go on five years from now when I'm wondering if I can delete that bit of code.

3. No need to document basic stuff. Retrieving some records from the DB? Writing to a file? No problem. Assume the person reading your code is a competent programmer. No need to describe that stuff.
A NEV isn't An e-bike, some look like glorified golf carts, others are fully enclosed like a car:

https://en.m.wikipedia.org/wiki/ZENN
I live in a first-ring suburb of Philadelphia where we more or less have to drive or bike for everything (there are little downtown areas, but we live 1mi+ from any of them). The top speed limits are 35mph and speeding is rare because the roads are windy and narrow. This Ami would be nearly perfect--the top speed doesn't worry me at all.

The one thing I would say is I wish the range were a bit higher. We have a Ford C-Max plug-in hybrid that gets 18-25 miles before turning on the gasoline motor. Two trips in succession will sometimes run out the electricity. A 50 mile range would make me more comfortable, but still I'm excited to see a vehicle like this (even if I'm not super-hopeful they'll catch on in the US).
Just face it we're all gonna die.
I was disappointed this was not about steam engines: https://en.wikipedia.org/wiki/Uniflow_steam_engine
Switching threads require entering the kernel which costs from a few hundreds to thousands of clock cycles (and it got worse from all the spectre/meltdown mitigations).

A fiber switch can be done in less than 10 clock cycles.
Working Scientist podcast: How to get media coverage for your research
There's no reason why internal readmes should be of 'professional quality'. It's nice, but a low barrier of entry to explain something non-trivial is more important than nice layout, IMO.

"Everyone" is not using LaTeX.
On the other hand after asking the managers of an actively developed legacy system you might find bringing on new devs, or up new testing or integration environments is a major pain point.

That the skills to rebuild are in house - it's just that the process takes so long that bringing up a new environment stops other tasks. (The users here might say that bringing new features on line is taking too long)

In which dockerizing, at least for development, might be a very good thing.

But starting with the pain and talking to the managers and users is absolutely the right first step.
Deep learning-based model for detecting 2019 novel coronavirus pneumonia
I think the real reason people are sticking with intel is the support and supplychain.

Intel have a reasonable two-way communications system with big customers, they also write their own firmware still, instead of slinging it out to contractors (although AMD are apparently changing that)

crucially they are able to supply 500k procs at a fixed price in a fixed deadline.

AMD are yet to be able to do that for big non-consumer suppliers(is what my hardware contacts tell me that is. )
Here is another hack we lazy devs used a lot back in the old days: double tilde operator[1]

[1]: https://stackoverflow.com/questions/5971645/what-is-the-doub...
Ok, how can we get them to do the same for Berkey filters, manufactured by New Millennium Concepts?

I used these for years before realizing I had fallen for their shuck and jive.

Backstory:
https://thewirecutter.com/reviews/big-berkey-water-filter-sy...
As the article points out, ChromeCast is an extremely locked down protocol. It's designed to bind your device and all its clients permanently into the Google ecosystem.

The real shame is that it had to exist in the first place and that DLNA was never adequate for this.
My favorite is a fancy "plug strip" that is comprised of a metal junction box and a couple of standard outlets. Sure, the junction box is painted, and the cord is braided, but they're selling it for ~$100.
I'm not interested in answering your gotcha question. If you're really interested in alternative ways of organizing work, there's a vast literature on the topic. I'm not an expert, and I'm anyway not willing to play "bring me a rock" games.

My goal was to make a particular point about an unresolved conflict in managerialist ideology. If you're still having trouble understanding the point, feel free to ask specific questions, or to try restating the point in your own terms. But if you're mainly JAQing as an argumentative technique rather than seeking to understand, then I think we're done here.
Try again. That’s 3–5 million severe cases per year, not total cases.
I feel like both can be true – the motivation here is likely to both solve a real problem (aging and all that's associated with it) and to make some profit as a result.

This is ultimately a product like any other. Like a SaaS product making any hard process easy, you wouldn't expect the solution to be wholly free. People would still have the option to take a different route (caloric restriction) to accomplish the same, but it's clear many people struggle with that.
I think it’s very clear that is the calorie restriction that’s increasing lifespan. It’s worked across many studies on almost every organism tested
Time Travel and Virtual Pizza – Early VR Experiments
> Founders say they’re “very confident that this technology will destroy Coronavirus”

I would love if this led to some serious legal consequences. This is creating danger to the public.
STOVL was a requirement because they are replacing the aging harrier jumpjet
Part time job
Why does this community (HN) have such a proclivity for these types of bitter responses?

This comment makes wild assumptions, doesn't assume best intentions, and really just makes `brenden2` sound like a nasty person. Yet here it is, top comment on the front page.

Nice work OP! You are flexing a very unique set of muscles (technical + leadership + communication + ambition) that very few people have. You will go far in life.
This is pretty common in most OECD countries including USA. If you are opening a shop or restaurant that's about your only alternative to asking your friends.

In the US if you are expanding your shop to a few sites, or doing a "concept" (e.g. Jamba juice) you can look for some professional money, as I mentioned, but the process is just as painful as a bank.

All those people want you to put some of your own money in to show that you are committed. The money being lent out is often a large proportion of the lender's capital.

For PE (incl VC) the partners typically put up only a nominal amount of capital -- they are investing their customers' money. So requiring an investment by the company founders is an unnecessary requirement that could be a barrier to a good deal happening. The positive side of this is that these investors are more concerned with upside than downside. Investors in Europe and Australia are mostly more worried about losing money than gaining some.
On the first point: I assume you're asking for avenues to practice and demo your work. If so, personal projects are a great way.

The most impressive candidates can demo something they've deployed. This demonstrates the ability to apply what you've learned AND learn the rest of the stuff as needed (e.g., spin up EC2, build basic front end, maintenance, etc.). The latter is more important and gives confidence that you take ownership and likely can do the same (i.e., end-to-end with results) in the company.

On the second point: having meaning in work differs from person to person. Some people enjoy pushing the envelope (research), others enjoy staying hands-on (individual contributor, IC), while some big picture thinkers enjoy coordinating (PMs). It's helpful to think back on what gave you the greatest satisfaction and work with your leaders to be a role that lets you perform your best.

I find it most fulfilling to build data products that are useful, relative to generating tons of revenue. I would be equally happy as an IC doing the hands-on or leading a small team and mentoring them to become more effective.
Avoiding and identifying false sharing among threads (2011)
Resources on how to switch from VCL to Cloudflare Workers: https://developers.cloudflare.com/workers/archive/recipes/vc...
A hotel speeded up the international outbreak of SARS in 2003.

"The Metropole Hotel hastened the international spread of the 2003 SARS outbreak by the index case infecting visitors from Singapore, Vietnam, Canada as well as local people via close contact with the index case and the environmental contamination. The one-week quarantine of more than 300 guests and staff at the Metropark Hotel during the 2009 H1N1 swine flu exposed gaps in the partnership with the hotel industry. The subsequent guidelines for the hotel industry from the Centre of Health Protection focused largely on the maintenance of hygiene within the hotel premises."

https://globalizationandhealth.biomedcentral.com/articles/10...

"This hotel is infamous as ground zero for a SARS ‘super spreader’ in the 2003 outbreak—here’s what happened"

https://www.cnbc.com/2020/02/14/hong-kong-hotel-hosted-super...
Because eating healthy is not a full solution to aging, and we can do much better.

Would you rather we don't have medication for (type II) diabetes and instead just went around telling people to eat better?
https://blog.cloudflare.com/no-payola-here/
You don’t need Airbnb in Iran. Walk down 2 block of Tehran and by the end one or more people will have offered you their homes, for free..

You only need to book somewhere to stay for downtime/private time.
What's little Jonathan up to these days? I heard he's involved in a health startup called CareZone, but I've heard very little about it.
The easiest way I found to stay on a diet as a lifestyle (instead of dieting for a bit and then stopping and regaining the weight) is alternate day fasting.

I found I can't just decide never again to eat the things I like and never again feel sated. Feeling hungry constantly isn't exactly my idea for the rest of my life.

Alternate day fasting lets me survive a day with no calories knowing that the next day I can be sated and eat (almost) whatever I want.

I have also found that when I eat every other day I put much more attention to what I eat on those days -- I mean, if I just did not eat yesterday and I won't eat tomorrow I want to eat well today. Even if I am going to eat sweets -- I will try to go for something better and not feed myself with garbage.

I also found that alternate day fasting is good willpower training. Being able to restrict myself from eating for an entire day somehow trains me to be better at other things that require willpower.
Koa is great and makes the two obvious improvements to Express: first-class promises, and bubbling up a representation of the response instead of having your routes directly send the response. So you now have middleware instead of just Express' "beforeware".
We continue to look at ARM and test things. We continue to look at Intel and test things. Right now AMD makes the most sense for the servers we are deploying today. But don't be surprised if we have more Intel in our future or ARM.
Nice Read. But I think everything is already tailormade fro profiting the companies whether we like it or not. It's not just spyware and microchips etc. every device is recording and listening and many companies are creating psychological profiles based on our online behavior. The most obvious example is targeted ads. So I think its really optimistic, if not unrealistic, to think people are gonna stand in the way. We gave up our privacy and free-thinking long ago and traded it for devices so we can make money.
Is watching 1 movie/day considered a binge?
Actually, I’ve been using mozjpeg’s version of jpegtran instead of libjpeg’s for god knows how long.
Totally agree. Each diet may affect different pathways; we probably want to engage in all of them to a degree.

Recently I have been pondering how we should eat if higher protein increases all-cause mortality and higher carb diets increase all-cause mortality, so I've come up with my seasonality hypothesis: basically we would experience periods of lower carb or lower protein diets historically, which would engage each of these various beneficial pathways we have.

For instance, and this is my hypothesis: we wouldn't eat wooly mammoth for breakfast lunch and dinner every day, we would eat nothing but it for three days, once a month. Dense carbs would come sporadically ("yay, we found a bee hive" twice a year) and fruits (carbs) would blossom in either only spring or fall.
UCSC is a bit strange.

At first, they did not give out grades at all. There was only a written evaluation that the professor did for each student at the end of the quarter. Eventually, in the mid 1980s or so, other schools demanded that UCSC give out a grade in addition, so they they could compare Slugs to other students when admitting for post-secondary education. When I send my official transcript over, it's ~75 pages long, not just one page. It's chock-full of detailed personal information about my efforts in Psych-101, Intro to Jazz, etc (or, rather, the total lack of effort, in my case).
Agreed -> which is why I think that they were seeking to do the hybrid leasing/car-on-demand style of sale as well with these.
> psychological aspects play a central role as well.

Indeed, that’s why many companies make Veblen goods and generate revenue from this.
>Walk down 2 block of Tehran and by the end one or more people will have offered you their homes, for free..

Wait what? Is there more to this?
I agree. Typos fixes and cleanups don't need this. The code + tests + documentation + issue link format should be for actual changes, not minor cleanups.
The PCG website is peer review. There are explanations and analyses of numerous algorithms.

O'Neill also uses the same methods to study PCG.
They work for their intended purpose.

I live in a city block with nut trees and a dog. The pollen, dander and pollen+diesel soot from the main road sucks and creates a mess. Running one of these machines in our front room makes a noticeable difference during peak pollen and shedding seasons.
Another thing to consider is that everyone are different. Some respond well on low-carb even when building muscle, while it never work for others.
Flappy Bird AI Screensaver for OS X
Well designed systems have a mockable clock and timer subsystem.

They could easily test "Do X, wait 100 years, do Y".

You find all kinds of wired bugs when you do that - things that poll, for example Cron daily, will have to be run 36500 times. Certificates expire. Counters overflow. Date systems can't convert the date to and from strings. Logfiles get too big. Etc.
Coming from a fasting fanatic, eating often but less can work for some people, but I don't think it works well for people who need to lose weight, whom make up a significant portion of the population. If you eat a small amount but eat often, you're less likely to put yourself into autophagy where your body will actually be using an appreciable amount of body fat to power itself. In order for a "grazing" diet to work for weight loss, people have to burn excess calories through exercising or eat very minimally. The average person won't keep up exercising for very long, especially when they aren't eating food that will give them the explosive energy that they need, and eating lots of low calorie food ends up making people miserable and causes yo-yo dieting.

There's nothing destructive about fasting, as long as the person isn't starving. A lot of people confuse fasting with starvation, but they're not the same thing. Body fat is food. As long as you have fat to burn, you're not starving. Few people are going to starve doing even 72 hour long fasts. The human body just doesn't require that many nutrients on an hourly basis. You won't die or get hurt by not eating kale for a few days.

It was common wisdom that skipping a meal was destructive, but it's becoming more accepted that it simply isn't true. It doesn't really make sense that we require the sheer amounts of food that we're eating on a regular basis. Most omnivores and carnivores aren't eating the equivalent of 3 meals a day, and are effectively practicing some form of fasting. If we're supposed to not skip breakfast, then all our ancestors must have been pretty unhealthy, yet fossil evidence doesn't really demonstrate this.

A grazing type diet can be perfectly fine for someone at a healthy weight, but they're not really benefiting from it in any way besides the enjoyment of eating. Even so, it depends on what the person is eating in the first place. If someone eats toast with jelly for breakfast, it's highly questionable whether they're getting any long term health benefit from that at all.

There's a plethora of information about this subject, and I don't have the time to cite it all here. I encourage you to update your knowledge here. Most general practitioners aren't well educated in nutrition, nor are they versed in the latest research, so your doctor may be operating on old wisdom that hasn't panned out.
Ok, if you desugar structured programming you get gotos... I fail to see both what is news and what is the point.

Of you can use gotos in a way that do not break the structure, yet removing it from the language makes your usage correct by construction. Does the author not see value in that?
Making hard things easy can be lucrative. Markets work because they align incentives like that.
You seem to be reading a bitterness into the comment that is not there. Apart from that your comment is also very true. The op will go very far! Big picture, networking, and management are far more valued than someone with raw technical ability who misses the above.
Yes, but the lack of reasoning behind the implementation means that the new person has to reverse engineer it (practically speaking). This isn't always bad, but in most cases it is.

My point was that by simply automating the process you don't institutionalize the knowledge as much as you move at least part of the problem somewhere else.

It heavily depends on the application, though. In my domain the implementation is rarely self-documenting, and most of the system's complexity is usually baked into the spec or the human part of the process. In some other domains the proportion is completely different.
Yes, it's similar I suppose, though much lower overhead. I was a bigger advocate for frame inspection than Michael was in the early years because of my Lisp background. He was (correctly) more concerned with performance.

As for "policy" vs "social contract" I think we basically agree.
Shocking to see that sunk cost fallacy and groupthink are driving decision making rather than sound science and medicine.

Here’s a rather ironic example: HIMSS 2020, a conference of ~45000 attendees from 90+ countries is still scheduled to go forward at Orange County Convention Center March 9-13 - even as major participants withdraw from the event.

I was actually blocked by HIMSS PR folks on Twitter for inquiring about their preparedness plan... which is inadequate to say the least. To top it off, HHS Secretary Alex Azar is a keynote speaker, so now it’s also a huge political can of worms.
> It’s good to sometimes do something else, to stay mentally fresh.

That's a judgement based on the idea that going to a kids meeting is a 'good' thing and nobody should question it.

Let's say Obama in his first few weeks decided to walk to a house on the street (with secret service) and do some gardening for someone (without any benefit otherwise as an isolated event) most would probably think that was not only a waste of time but that he had some ulterior motive for doing that. I mean Presidents are well known for blowing off steam by golfing but they aren't going to golf in the first week etc. Sends the wrong message.

Ditto if someone hired a CEO for the company and they spent time on some trivial relaxation time event (and the company was bleeding money) it would be seen as a bad use of time they should be focused.

Go further with this. A company has been hacked and 'all hands on deck'. But the key person well he's off at a school meeting which could either be postponed or perhaps the spouse could handle.

I don't even agree with the idea that they have an issue staying fresh mentally in the sense that that activity would even be the thing to do to do that. (Better to get more sleep and cut out needless meetings etc).
I think (without too much knowledge in this field) that AMD has had to play catch-up for so long in silicon that now the catch-up is complete, it will take some time to recognise organisationally that more focus on non-silicon is overdue. Silicon lives in an ecosphere, but without competitive products there's little use in investing in that ecosphere. If you suddenly get there, you need to change your game quite drastically.
VP at a top startup mean very different things to different people. To somebody who values sr titles it’s Substantial. To somebody who views titles as a measure of how much and what you contribute will only view this as substantial in the context of where you operate - VP of the lemonade stand vs VP at a large company (by revenue,employees etc). Most of the experienced crowd on this site will generally take the latter view. Most of the young/fresh grad kind of people on this site will take the former view. As for yourself I would suggest you measure yourself by impact and not title.
Could be as basic as clock speed differences.
I was very excited to see Blender used as the program for explaining 3d graphics concepts like bones. I was expecting them to use Maya or some other proprietary software. Excellent video all around!
Microsoft is retiring its MCSA, MCSD and MCSE certifications
Thanks for this. There are so many fake news and claim on this that I'm not sure what is correct anymore. This was really helpful. Although it would have given me much more peace of mind if the article mentioned the source of information.
Note: that advice is countered by modern nutrition that sees insulin spikes and serum insulin as a bad thing.