skysight-inc/HackerNews huggingface dataset:
> Other than following the style of the project you're working on is there any reason to use a reference ever over say a const pointer?

Yes, definitely. It codifies nullability. const pointers should _typically_ be const references instead, see https://google.github.io/styleguide/cppguide.html#Reference_...

> Maybe in another world everything would be const by default and have to be marked mutable then references might go away

I'd definitely +1 a references are const by default, but that would not make references go away at all. You'd still have references (non-null) and pointers (null) just for the reason of non-null vs. null. This is a very useful distinction. So much so Kotlin built an entire language around it.

> The syntax then makes it clear you're not dealing with a pass-by-value copy.

Which is not a useful behavior difference. If it's const why do you care if it's pass-by-value or pass-by-reference? It doesn't change behavior and it doesn't even tell you anything about the performance of the call (there are plenty of pass-by-pointer calls that are slow and plenty of pass-by-value that are not - it depends on the size of the argument, and what the function is doing)
Agreed. Mackerel is absolutely fantastic. If you enjoy seafood, I definitely wouldn't bother with pills or powders.
Repatriation is irreversible in asylum cases. It makes sense to grant temporary reprieve quickly pending a more durable process. We weren't so generous the last time people fled Germany and the result was disasterous.
Facebook held talks with Winklevoss twins over new currency
Canned/tinned.
> Nut butters, yogurt and oats should be primary ingredients

Non-starchy non-sugary vegetables should be primary ingredients if you're not looking for a calorie bomb, though it sounds like you are. Let's say you're feeling generous and your almond butter edges up to half a cup. That's over 700 calories before any of your other ingredients.
There was a local reporter who went undercover to do an expose on the temp-agency market and worked a few days on the factory line at a food supplier. Her verdict: It wasn't very fun.

Grass is always greener.

People also tend to want their jobs to provide meaning to their lives. That is a luxury. For most people, a job is something you do to enable the rest of your life.
If highways are such a great deal, why does the government have to fund them?

If national defense is such a great deal, why does the government have to fund it?

If FDIC insurance is such a great deal, why does the government have to fund it?

Why does the government have to do anything? Why don't private investors jump in and do everything?

The answer is: because there are certain things that are only a great deal if they are done by everyone all at once. Left to individual players, sometimes the incentives align like running from a bear--I don't have to outrun the bear, I just have to outrun one other person.

This is why we have government at all. Humanity was not handed a government, we invented it to solve problems that could not solved by piecemeal individual action.

And for TARP, a reminder that it came after Lehman failed and money markets broke the buck. The first House vote on TARP failed. It was adopted at the last minute, only as it became clear that it was necessary.
But Google made and owns the Android OS. Why shouldn't they have an iron grip on it? Should Apple not have full rights to iOS or Microsoft to Windows? It is a product that Google made.
Turns out being invisible to MRI is not without it’s advantages. NMR (MRI for molecules) uses deuterated solvents so the hydrogen signal from the solvent doesn’t overwhelm the signal from the sample molecules.
Most cops are college educated, however, let's not kid ourselves, a BS in criminal justice is a little different than a BS in engineering.
Building React Components with Gesture Support
I imagine it will be like SafeSearch on google and bing, where it's opt-out.
Kinetic isotope effect
Most of those have functioning websites you know? All you'd need is a half decent browser.
My company has been a heavy user of the dual cursor pair coding approach since we first adopted Screenhero over 5 years ago. Screenhero wasn't perfect, but it felt like Slack's integration never managed to reach the performance of the original implementation. Hard to see this announcement as anything other than an admission of failure.
Silicon Valley Needs a Few Good CFOs
mutable already exists and means something different from non-const.

class foo {
void b1();
void b2() const;
void b3() mutable;
}

b1, b2, and b3 are all distinct.
To a lesser extent, yes. The balance tilts more toward energy/calories than nutrients, but I am a big fan of butter too.
Thanks, I tried to clarify that.
I remember stories from 5 years ago or so about artists who were making facial recognition blocking scarves. The scarves made you look like a lightbulb on camera, so they couldn't see your face.

I chuckled, because it was ridiculous, and now I'm wondering if they make them in professional colors. . .
I re-read CC this weekend. I remembered why I hate it - some of the progressions are a total joke, either inefficient or straight up wrong. Specifically doing a crow stance before a wall handstand is just comical. Not only will it not carry over, but it's also harder, but the book lists it earlier in the progression. Not trying to bait you, just really didn't realize how right I was until I looked at it again. Oh and ty for mentioning CC2 - I didn't realize he was planning to write another book/it was out.
The Librem Tunnel
"The most inexpensive fast food item is almost 2 times more expensive than eating at home"

My read of this is that if you can save more than $1000/month by not having a kitchen (say, you're in college or a high-cost-of-living area) then it might be worth it to eat out every day.
Not even in the same league of nutrient density as the foods I listed. I like them for variety more than for nutrient density.
This is the optimistic take. :) But there's a difference between

exploring the design space and iterating until you end up with a product that makes the customer happy

and

endlessly reworking decisions every time the next "stakeholder" in the customer's org sees a part of the bikeshed that they have an opinion on

One is a skill-engaging and -enhancing professional project. The other is the road to burnout.
Ask HN: Has any programmer here moved from being average to good at coding?
5 calories will not take your body out of its fasting state... unless you're being religious about it
Only tangentially related; but if you want to understand the Enron scandal; Kurt Eichenwald's Conspiracy of Fools is a better treatment of the topic.
>That is why the US was created as a Constitutional Republic. To prevent the catastrophe of a pure democracy

Why do people like you bring up this canard? Can you point to any pure democracies, anywhere, ever, aside from Ancient Greece? The US isn't special; every decent country (and many not-so-great ones too) now is a democratic republic of some kind, usually constitutional (UK is a notable exception here).
Not having read the paper, I’m skeptical, both because of the author’s relative lack of credentials (he’s a physicist with all of 5 publications, from what I can see), and because the core idea seems too simple.

However, the paper is clearly a serious attempt by someone inside academia who works in quantum computing, which is a related and heavily mathematical field.

You may have just given me a few hours of weekend reading material. :)
> one of the cases when conversion from an installable product to an online service is done merely to justify recurrent monthly charges rather than for any actual user benefits

My impression is that that's pretty much all of the cases. Sometimes there happen to be benefits for the users, but that's mostly by coincidence.
The managers and directors if you talk to them will frankly tell you they have no idea what’s going on, they hire people and somehow the problems they were hired to solve don’t get solved. I had a founder tell me he created an entire department to improve the developer experience and nearly 20 employees later they’ve not made any successful improvements, they just limp along the broken systems.
I only remembered because I read a book about Commodore a couple of years ago. At the time I had a C64, but had no idea who Jack Tramiel was :)
Mt Everest: Why the summit can get so crowded
I find Hyper isn’t bad at all in that respect, as long as you don’t have a lot of fancy effects happening.
Looks like Russians (disclaimer: am Russian, work in infosec).

Some previous hacks that were attributed to Russians, like Shadow Broker leak, actually were executed by somebody else, I think. This one is more suspicious, in my opinion.
> Wrong. NASA funding now is high as it was during avg. appollo years.

That's not a true statement, unless you're talking about non-adjusted nominal dollars (that while technically true, is somewhat misleading). In inflation adjusted terms, the current budget is less than half of what it was during the Apollo years. Expressed as a percent of the federal budget, current funding is 1/8th of what it was at its max, though that's largely a function of the growth of non-discretionary federal spending.

https://en.wikipedia.org/wiki/Budget_of_NASA
If medieval serfs had a healthier diet than why not?

But my point is even poor people in the USA generally have access to a much higher standard of living than a serf. Unlike a medieval peasant there are many easy to access non-ultraprocessed foods that are also cheap. Pretty much every rental apartment or home has a stove and most have an oven.

Focusing on increasing wealth, as the article does, doesn’t really make sense to me. The middle class suffers from the obesity crisis too, for the same dietary reasons.
Animals is what excites me most by this. Many documentaries lack real, human scale when showing animals either living or extinct.

The prospect of seeing just HOW large dinosaurs were is something that makes the 6 year old inside me just giddy with excitement.
Rice paired with a pulse, together, are usually considered to be pretty balanced & healthy. Rice has the calories, the pulse has most everything else.
What type of RF service is that? I'd appreciate any specifics you care to share. Thanks.
Probably protocol. Many NASA sites are co-located on USAF bases or have the same 'legality/rules' if they have military projects on them. I wouldn't read too much into it until more is known.
Huawei's higher-end tablets restored my faith in Android as an alternative to iOS. Nice deisgn, thin bezels, 2560 x 1600 screens (absent on all but the most expensive Samsung tablets) and most importantly, long-lasting battery life.

I have the M3 8.4" tablet with those specs, and it's been running great. The 10.8" versions have pen support.
Agreed, that book was fantastic. Detailed but also very entertaining.
On the other hand, biology is so complicated that you have to simplify things down to abstractions that let you communicate and reason about causal stories, and that's what these sorts of figures are good for.
Stream Chat vs. Pusher Chatkit
Yes, the US forced them to exercise their iron grip... thus demonstrating Google's previously unexercised power.

The US has power over Google. Google has power over android. TFA is about the latter.
Hong Kong democracy was opposed by China. Look at the 68 riots.
Pretending CrossFit is just a collection of exercise ignores reality. It's also a culture and that culture is what creates the conditions under which people get rhabdo.
Head over to http://fallingfruit.org and do a filter for "Freegan". My locale has people marking dumpsters with food that is available. And if dumpster diving isn't your thing, then wild edibles is another option. I personally haven't dumpster dove for food, but based on what I have read, you'd be hard pressed to starve in the US.

http://fallingfruit.org/sharing?c=forager%2Cfreegan&locale=e...
I didn't mean it that way, sorry. People at NASA are still extraordinarily smart. The number of those smart people is different. NASA right now has approx direct 17k employees and approx 60k contractors. Back in the times of the Apollo program, there were 36k direct employees at NASA with > 350k contractors.

See Figure 1-4 in this PDF: https://history.nasa.gov/SP-4012v1.pdf#page=15

Also, it seems to me that NASA is involved in far more programs right now than it was back in the times of the Apollo program. Which isn't a bad thing in itself, but of course each program itself has smaller scope.
Peak tourist season is more like 2 months, and its not like the streets are totally dead in the rest of the year.

If we let T (tourists/day in peak season) = 3t(tourists/day in regular season), then we have about 1.3t if it all smooths out.

Of course, depends on where you travel, but the places I've visited have been pretty busy in the off-season already, adding another 30% of them would be pretty hectic.

New startup idea: modelling the ideal time to take a trip somewhere within certain metrics.
Yes, but the thing is that facial recognition IS just video compression.

You take a video stream and compress it down into a timestamped stream of IDs. It's really lossy, but it's the same as OCR or Speech-to-Text -- it is a tool that allows us to better handle large streams of data.

As always, the tool isn't the problem. It's the use of the tool.

(But I think we all know that.)
I used to think that way. Then my daughter was born.

As long as my job provides money (and thus food and shelter for her), I don't really care anymore :)

https://statics.memondo.com/p/s1/crs/2018/08/CR_1073587_391d...
> It is, in a way, an almost "sacred" place, in a weird secular sense

Apart from _actually_ being a sacred place for the local people. Tibetan natives called it Chomolungma, meaning "Goddess Mother of Mountains".
I was expecting an actual analysis in the Reddit post. Perhaps something along the lines of a quantitative analysis with market data. Seems like many companies could “eerily” be described by the collection of passages outlined in the post (Uber? Snapchat? Theranos?). Would be nice if there was a corresponding anecdote from Tesla’s company history alongside each quote from the book.
If NASA produces nothing else, it can still fund parking spaces for the highly skilled individuals that cannot afford to self-fund their skills upkeep during the long interval between the megaprojects that may require expertise from their niche.

An economy that lives paycheck-to-paycheck will eventually lose the skills that it does not pay for every two weeks.

Also, if you need to educate 1000 people to hire the best 100, those other 900 still need decent jobs, otherwise students may choose to be educated into skills with better payoffs.
Elixir – Getting Started with the Scenic UI Framework
Not at all. I'm trying to say that the mentality that would lead an organization to publish something that says

> The voluntary CrossFit community of 15,000 affiliates and millions of individual adherents stands steadfastly and often alone against an unholy alliance of academia, government, and multinational food, beverage, and pharmaceutical companies.

has always existed in this organization.
At my old company we were paying millions for contracts and software we didn't use or really didn't mean. One of the analysts volunteered to be the "undertaker" and renegotiate. After a year of screaming at people on the phone (I sat next to him), he managed to save us around a million dollars, which was around a 60% savings. He pocketed maybe 30% of the money saved that year. Not bad for a year of being a dick.
Give Nim a Try
You seem to be defining the "US power structure" as "what won those cases". Then the "US power structure" always wins, by definition.

It's hard to see what evidence would be sufficient to persuade you that your view is mistaken. For those who don't share your initial assumption, however, your argument is completely unpersuasive.
I can relate with you!

However, to prevent the time-expensive and often difficult-to-answer question 'Do I really need it in the future?', I'm archiving (more or less) everything.

Concerning your archiving method, I am suggesting: Create a folder in your bookmarks called 'Archive'. A psychological trick to reduce mental burden similar to the archive button in Google Keep :)
Except - Tesla has a real product that has a real demand. Enron's smart guys transformed the company from a traditional energy company which met that criterion to a financial engineering company that didn't know enough about financial engineering to survive.
King Mackerel is on the FDA's do not eat list due to mercury content; Atka and Atlantic are fine.
The article addresses this after the table.
You may not know the economic history of Britain, if you disagree.

Peak of British economy was after it invaded/sabotaged/drugged/then robbed two of the richest civilizations at that point (accounting for 50% of world GDP) China & India.

The beginning of British decline started in the early 1900s with the end of the opium trade (which at its peak, in ~1895, accounted for 35% of Britain's GDP)

Do you think UK, China, India, US, Germany, etc... placed at the same starting point, would result in UK economic victory without foul play?

UK can't even beat California on many economic metrics after centuries of historical advantages, lol.
i’ve done the vive. I have a quest it’s much better
I successfully signed up with FF67 on Linux just now.
What will it mean to youtube, facebook, google, amazon, netflix, if all those sparse clients with slow internet become a broadband client... And, even more, a client that is driven away by some sort of capping? Of redirection to another site? Ads from another company?

Because net neutrality isn't exactly a thing everywhere, worldwide.
Georgia Tech creates AI agent that works as 'co-designer' for game levels
Facebook shouldn't handle political advertising any differently than any other private media outlet like a newspaper or cable TV channel. And what is "political advertising"? Are issue advocacy ads political?
I received my first paper nigerian scam last month!
Was this built on some underlying web-based vector graphics editing library, or did they build the whole app from scratch?
Choosing a CDN Provider
> If "everything should be const unless it has to be mutable" is a reasonable position to take

For a language like C++ I don't think that's a reasonable position. "Good" class design is about a class encapsulating some behavior and providing methods to access that behavior. Any "interesting" behavior is based on mutable state, whereas const methods are useful only as observers of the state. So "const" as default would make the code more cluttered...

Heck, Java and C# don't even have const (though recent version of C# have added kind-of struct constness...)

> sure, but that's also a workaround for something that would be nice if it were clear just by looking.

In any sufficiently large program, nothing is clear just by looking. Such "local artifacts@ (like, explicit address-of operator) are irrelevant, the fewer the better. Writing `unique_lock<mutex> lk(&my_mutex)` would not add the tiniest bit of clarity compared to what you write now `unique_lock<mutex> lk(my_mutex)`

> Is the function taking the arg by mutable reference because Dave forgot?

That's easy to check: change it to const and see whether the method still compiles.

> Documentation in the header, popped up by your ide/text editor?

In the end, you always have to go to the function's definition and inspect it, and possibly follow the call chain further to find out what's really happening (i.e., the top-level call site is no longer relevant), and that's where IDEs shine. And no amount of syntax changes is going to save you from a const reference being aliased by a non-const one.
>I can't read the article without an Economist account

try https://outline.com/BhW2BL
I've browsed the website a number of times and I have never figured out how to /use/ the information. I suspect it's useless as a proper diet stretches far beyond calories and protein.
>In other words it is by refusing to revolt that people consent to be governed.

My understanding based on the statement "That whenever any Form of Government becomes destructive of these ends, it is the Right of the People to alter or to abolish it, and to institute new Government" is that this right to revolt is the nuclear option for people who have the ability to alter it and the ends which the government can be destructive towards are the initial rights previously outlined in the document. So if the US government doesn't work to secure these right for an Australian citizen and doesn't express their right to alter or abolish or revolt against the US government then it should not interpret their consent to be governed by US law for actions taken by them outside the US.
Ultimately it's the customers who are responsible, not the owners of companies.

I feel as though this only holds if you assume that all demands are just and deserve or should be allowed to be satisfied.

For instance, if I identify that there is an under-served demand for anonymous contract killing then why can't I start a company which produces the corresponding supply? Assuming it was legal, would you place the blame on me for offering such a service or my customers for consuming it?

I believe that careful regulation is a necessary evil to mitigate the self-serving nature of human beings at scale. That regulation seems to me to be better leveraged against the companies profiting on the back of unreasonable demands than those demanding what is in their nature to demand. Asking for something impacts no one other than the involved parties. Fulfilling the ask could potentially impact the world.

If it costs companies too much to produce a good (due to caps placed on their consumption and emission) then that good will cease to exist because it becomes inviable in the current environment. Although the demand remains to be addressed in the future when the environment is capable of supporting it - should the demand still exist at that time.

If you take the other approach and instead charge the consumer more in order to consume the good; then while sales will decline in general it may simply result in the good being repositioned in another demographic at the new price point. Or unrelated corners could be cut in production in order to offset the mandated increase in price without ever addressing the causes for the increase.

It seems slower and more error prone to attempt to change the behavior of a company through the behavior of their customers. Why not just set sane limits which force companies to adapt in order to continue servicing the demands of their customers? Customers expectations will change too based on what's available; just as I don't expect to be able to cheaply and easily put out a hit on someone via an app on my phone.
Learn Morse Code from Memory Champ (video)
What does "true" mean in this context? A belief system isn't true in any sense, nor is it practical to have a full knowledge of reality (enough to have rigid axioms about human behavior), so what's the goalpost here?
What do you mean by permanent? Having bought a house and married? Or creating a static environment for a child to grow up?
Lol. When I feel the difference between 20kg and 30kg weights, I'm performing nuclear fission/fusion?
Can anyone suggest a point-and-shoot camera for taking pictures at concerts? I don't think the venues would allow DSLRs, but a small P&S would be OK. I'm thinking that would require good night-time photo capability and a certain level of optical zoom.

The camera on my Galaxy S7 was great, but I upgraded to a Nokia X6 and the camera there is significantly worse (phone was $500 cheaper though).

For my needs, I'd rather have a single high-quality dedicated compact camera, and not have it be tied to my phone, which I change every couple of years.