skysight-inc/HackerNews huggingface dataset:
>Is returning references frequently done in C++?

It is rather common to avoid copying returned objects. (perhaps it becomes less common with std::move ?)

For example, the [] operator on the standard collections returns a reference, so the item can be modified

There Pascal has another clever idea. You can overload [] for reading and writing separately. Then x[k] := v becomes x.setItem(k, v)
Funny. Have you read CRT? At least you must have read numerous criticisms on that the representations of employees, leadership, or students in colleges do not reflect our population? Given that Google is not going to grow its headcount any time soon, how could you possibly achieve racial equity?

Please, to battle racisms, we also need to use logic and reasoning.
If it isn't clear from the title: this is direct air capture of CO2.

This is begging for some number play! I'm imaging the production of bricks of dry ice and comparing it to regular clay bricks since I'm in a hurry. Is dry ice easier to create than clay bricks?

World brick production is 1,500 billion bricks (source = Google). 2.27 kg per brick, that's 3.4 trillon kgs of brick divided 907kg/ton = 3.5 gigatons of bricks. I wonder how difficult it'd be easy to make a comparable amount of dry ice. Power it with cheap solar/wind power. Maybe the dry ice can be rocketed to Mars or the Moon to begin terraforming an atmosphere?

OK, imagining over, I'll get back to my day job...
I suspect the MiG-31 would also require a spacesuit? It would certainly be advisable.
Ask a doctor. They are qualified to give you the right answer based upon symptoms and medical history.
Ultimately, that's a "talk to a doctor" kind of question.

My understanding is that if you stay below the warning labels, Tylenol is safe. But if you need doses high enough that you start bumping up against the recommended dose, DEFINITELY talk to your doctor about long-term use and possible kidney / liver damage. They may know of a safer solution (possibly an opioid: which has risks of addiction but... its the doctor's job to weigh the risks / rewards and your various options. Figuring out the right medicine probably requires a decent interview with you).

Getting addicted to an opioid might be "lower overall risk" than dying to kidney failure. Its bad options all around, but that's why we have doctors to help navigate your options.

-------

Good luck. I've never experienced chronic pain myself. I just know that being in that state means that you're probably not thinking through all your options 100% (just focusing on the pain-relief side of things). Which is why its important to get consultation from a doctor.

I know the urgent care facility in my neighborhood does primary care. Search around for urgent care facilities, they accept walk-in appointments. Ideally, you'd talk to a primary-care physician who has your medical history... but not everyone stays up-to-date with their doctor. (I certainly don't, and instead rely upon the urgent care walk-in appointments)
I've been all on Linux for years now. What's the big deal? You can even run Steam on Linux now, if you want to run games.
> That's not "virtue signalling." If everyone involved in the interaction is cynical about the organization, no virtue is being signaled. The "decision makers" most of all know the true nature of the party.

Its naive to assume that none of them consider the true nature of the party to be what constitutes "virtuous."

> I think the word you're really looking for is just "signalling" or at least a different kind of signaling than "virtue signalling." You're really torturing that term into meaninglessness here.

Sure.

> "Virtue signalling" really only applies to situations where at least some people genuinely think they're signalling virtue or that others would actually perceive it that way. One end or the other can be cynical, but not both.

Value signaling is perhaps a more value-neutral way of expressing the same sentiment.
> Nah, flying is totally defensible. I fly everywhere. The problem is offsetting your emissions.

You are in denial about the destruction you do. No, you can't offset emissions. A single short flight will release as much as 400kg CO2 to the atmosphere. This amount of carbon was bound by huge forests about millions of years. It is not possible to undo that release by planting a tree. Ask a geologist if you do not believe me.

And I am not saying it is not good to protect forests. Of course it is. But if you have any rational choice between offsetting and not flying, offsetting and flying, not offsetting, not flying -- not flying is always the best option.
You pretty much glossed over the whole Crimea thing in Europe. When has the US or the EU annexed part of a country in recent years?
The redirections sound like ordinary SSO behavior. The fact that there's multiple domains is an artifact of sales & marketing people who insist on having a different name for everything and will not accept a sub-domain of the main corporate domain. They want to put out marketing pieces saying "go to <productname>.com".
I mean it's a little asinine to think most people including myself aren't privy to the fact that all trump said is BS. Only reddit leftists didn't. They all though everything he spouted was cannon policy of republicans.
and it worked when?
Another series inspired by Le Carre is Mr. Palfrey of Westminster (https://www.imdb.com/title/tt0198187/?ref_=fn_al_tt_1)
If that is the only reason, you can boot your Windows off a USB drive for playing your game.
https://www.easyuefi.com/wintousb/
> I think the flaw is to compare old medium to today's technology.

Courts apply laws to new technology all the time. And in this situation, it is very obvious that the courts would rule government restrictions on social media, that make it illegal for people to broadcast on social media, would be unconstitutional.

> What can we try then

Well we can't ban people from using social media, or for broadcasting to many people. That would very obviously be unconstitutional.
It's their strongest conviction holding. They're limited to 10% exposure to any 1 company...
One of them might get you laid, the other won't ?

Less flippantly, one of them requires consistent improvement or you'll quit - there's no zombie-state when learning piano where you'll be content with sitting at the same level for over a thousand hours. This zombie-like steady-state scenario is very easy with video games; relatively minor skill improvements over literally thousands of hours for the majority of people. No feedback to quit and try something else, unlike the piano where if you have no elegance after a few years you'll be very disillusioned. This disillusionment is a good thing, a necessary part of the learning process which indicates you either need to change your approach or find something else entirely. Video games, in my experience, break this feedback loop: they demand no fundamental progression.
> Keeping your core warmer, especially with the thermal underwear discussed at length in the article, will also keep your hands warmer.

That works on the general case, but not always.

I've worked in buildings where I can be sweating in my coat and still have cold hands.

I can easily wear extra thick socks, have my feet swimming in my shoes, and still have my ears be cold.

Theory is great until it runs into reality.

(If theory worked so well, there wouldn't be an active market for desk heaters to warm up hands!)

edit:

Example from the article

>> But of course, the permeability index is not of any importance for indoor couch potatoes: they don't sweat.

Which is complete BS. I am sitting here in a t-shirt right now and the part of my back that is up against my chair is rather sweaty.

Likewise, feet sweat in shoes.

> However, it is important to note that if the body as a whole is kept warm enough, hands and feet will not be greatly affected by lower indoor temperatures.

Again, not true in my experience.

> While insulating your neck and feet will greatly improve your thermal comfort, there is no need to wear gloves or caps indoors.

If the indoor temp is below 65f I am not going to be typing anything for very long. For that matter at around 68f I'm starting to get uncomfortable.

Truth of it is, I've worked in more than one office where I was stuck wearing a cap indoors.
It is/was the usual British usage. See https://en.wikipedia.org/wiki/Spelling_of_disc

The OED includes these references:

1947 Math. Tables & Other Aids Computation 2 229 The program of the Symposium was as follows:..4. ‘Magnetic and phosphor coated disks’ by Dr. B. L. Moore.

1952 Electr. Engin. (U.S.) Aug. 745/2 When the heads are in position, the disk is rotated past them while information, in the form of coded magnetic pulses, is recorded or read out.

1964 T. W. McRae Impact Computers on Accounting i. 8 48 disks were stored one above the other.

1972 Computer Jrnl. 15 290/1 Engineering information files set up on disc by Hawker Siddeley Aviation Ltd..form the data base for a fully integrated production control system.

1982 What's New in Computing Nov. 12/4 Back up for the discs is provided on a tape streamer, tape cartridge or floppy.

1990 G. Gilder Life after Television (1992) iii. 63 A computer with a hard-disk memory, together with a compact disc read-only memory.

The last one has K for magnetic disks and C for optical discs.

See https://www.oed.com/view/Entry/53642
Knuckleheads' Club - The Case for Regulating Google
If you might be taking Ibuprofen for a while, I encourage you to also look at its long-term-usage side-effects. Probably NBD, but worth keeping in the back of your mind.
It is arguably disappointing. Yet she is deeply upset and doubtlessly experiencing a severe degree of stress at the moment. Thus, I would cut her some slack here. Although an explicit, concrete, pedagogical discussion would be helpful, I don't think it's fair to expect it from her at the moment.
Based on having that reaction, I wouldn't suggest you take Tylenol again.

For others, the recommended dose of extra strength Tylenol is two 500mg tablets; but if you only have a minor pain, you don't need to take two tablets, or you could take regular strength (325mg), again the recommendation is two tablets, but you can take less. More than 1g in one dose, or 3g over a day is extremely inadvisable. Acetaminophen (paracetamol) is toxic at a small multiple of the recommended dose; prescription strength acetominophen products add other active ingredients, they don't add more acetaminophen; as opposed to ibuprofen where prescription strength is just more ibuprofen. I'm not a doctor, this isn't medical advice, etc.
It is still possible: https://www.interrail.eu/ . I took a 3-months sabbatical last year and did it before arriving in Spain and did the Camino de Santiago :). One of the best experiences ever!
They're not particularly bright...except the ones higher up the hierarchy.
Intel _tried_ a major departure: https://en.wikipedia.org/wiki/Itanium

Spoiler: It didn't end well.
I can think of a few mechanisms that work but they all go after the money. It can be direct (betray the public trust, don't get donations) or indirect (betray the public trust and lose the beneficiary status on the trust that the government dumps your budget into...)

How it's designed is important, but even under the most elaborate schemes it would be less costly and human resource intensive than having the government directly take charge of it.
A terminus needs at least double the amount of platforms to sustain the throughput of a regular station.
Your school or work requires you to use Windows and you sometimes need to be in a windows environment to do the thing the "real world" does. And I'm not dealing with wine. It's okay at best, tediously frustrating at it's worst. For a personal machine however, Linux has been more than acceptable for the last decade.
It doesn't affect data model encoded in document even a tiny bit. Namespace prefixes are irrelevant. If changing these prefixes breaks the program, the program is incorrect.
This is all true for everyone. The point is to get a better understanding of those reasons and why those reasons led this person to these beliefs. Plenty of people grow up and change their minds and then have different opinions than their parents indoctrinated them with. Plenty of people rely on the reasons you mentioned above to dismiss other people's views without critically examining their own views, which are subject to the exact same reasoning process.
Agree here. Google could create a better UI that connects to their same backend and let users try I it out. Doesn't mean they have to break the existing UI.

It must have something to do with management but would be curious from an insider what is going on.
Do you go out of your way to listen to the internal communication and writing of all the groups? Because otherwise what you've heard only indicates who you pay attention to. For a quick intro, google Rachel Dolezal and skip the news articles and look for forums. You'll find everything you need, and you can then follow those people to see what else they discuss through the lens of CRT.

> "mandatory firing of over-represented groups," a ridiculous and awful suggestion that nobody wants

Poe's law strikes again then because if you follow Gebru's crowd on Twitter you'll see a lot of talk of cleaning up and making room for new hires. That's a coded racist dogwhistle for exactly what Hintymad was joking about.

This is the problem with platforming extremists.
How? Can you share a link that we can listen to?
> Between 14% and 30% of total emissions are from heating in Germany

Heating is a large factor in emissions but if you fly several times a year, it is without doubt the largest source of emissions.
You can still do Interrail! Me and my wife did it a couple of summers ago, a great experience. We weren't on a budget so we got to stay at a few nice hotels. Half a grand tour -- Copenhagen, Berlin, Prague, Budapest, Vienna, Žagreb, Trieste, Florence, Milan, Venice, Zürich... I can warmly recommend it. We would have loved more night trains so I am eagerly awaiting the new Stockholm-Berlin sleeper.
That's awfully confusing! What a coincidence that two graphics stack developers have such similar names.
Sure. That’s why I said “more deterministic.” But even a rare event disproves the guarantee.
> This is especially true if you take extra strength tylenol. It is recommended to stay below 3,000 mg of tylenol within 24 hours, which is only 6 extra strength pills. If you take a bit extra and get over 4,000 mg per day for multiple days, you can get major issues. There just is not much margin for error with tylenol.

Huh? To actually think that taking 6 extra strength pills in 24 hours isn't enough margin of error? I mean maybe if the person is completely clueless and doesn't read the medicine instructions.

Honestly, if you're in that much pain that you're gobbling up 6-8 extra strength pills per day, every day, you should be in the hospital with an IV hooked up, or addressing the chronic pain issue that's causing it. Or have the doc prescribe you something way stronger.
No IBM person would say hard disk, it was always DASD. I suspect that the 'hard' prefix gained usage after the introduction of floppies.
This is a vast oversimplification of mocks. Mocks themselves aren't evil, they just enable subpar programming. I'd much rather spend 2 minutes making a functional test with a mock than 2 days rewriting a bunch of core functionality in the name of code purity.
>was the co-founder of Colombia's largest energy company.

I'm sure spirituality and eating fruit has something to do with his longevity...but being filthy rich is probably a bigger factor.
Try using an app like RescueTime or QBserve to automate time tracking.

I’ve been time tracking for years. It’s normal to see about 4-5 hours of productive work in an 8 hour workday. It’s difficult to log more than 5 hours of screen-on time due to meetings, conversations, phone calls, bathroom breaks, lunch, and so on.

> I have max. 60% of "productive" time, which means that 60% of time apps like IDE are open. The rest goes to random stuff, like messaging/youtube etc.

I’ve learned that it’s more important to track time spent in time wasters like YouTube or HN than it is to track productive time. The time wasters can really add up if you’re not careful. Taking breaks and relaxing is fine, but losing multiple hours in the middle of every workday to YouTube is a problem. It’s easy to lose an entire workday each week to wasted time online if you’re not careful. Only 96 minutes per day adds up to an entire lost day each week.

In a non-office environment (freelance consulting) I frequently put in 5-10 productive hours per day. It doesn’t come easy at first, but with training anyone can ramp up to similar levels. The key is to realize that it’s an acquired and trained skill, not some innate limitation of our genetics or neurochemistry. Claims that people can only focus for N hours per day should be viewed like claims that people can’t run faster than 8 minute miles. You can change your focus habits if you’re motivated to do so and willing to put in the work.
I was curious how much the entropy is reduced.

As a simplifying assumption, assume everyone agrees about which of any 2 strings are more memorable.

If someone takes m random samples, and of those, takes the one they find most memorable, how much does this reduce the entropy? If there are N possible strings, and so with a uniform distribution there would be, uh, -log_2(1/N) bits of entropy, I think(?) (because, summing over the N terms of -(1/N) * log_2(1/N) , gives a total of log_2(N) )
If one takes the maximum of m samples, what does that look like? The cdf of the uniform distribution over the terms (identified with their order in the list ordered by memorability) would be P[x \le a] = a/N , and with m independent samples , P[max(x_1,x_2,...,x_m) \le a] = (P[x \le a])^m = (a/N)^m = (1/N)^m a^m,
and so the pdf would be, around (1/N)^m * m * a^(m-1) (approximating it as continuous because N is large. I am not sure that this is a reasonable approximation.)
Then, the sum becomes, uh, again approximating as continuous, integrating from a from 0 to N, (1/N)^m * m * a^(m-1) * (-1) * log_2((1/N)^m * m * a^(m-1)) da ,
which is integral of (1/N)^m * m * a^(m-1) * (-1) * ( mlog_2(1/N) + log_2(m) + (m-1)log_2(a)) da
which is, (mlog_1(1/N) + log_2(m)) + integral of (1/N)^m m(m-1) a^(m-1)*log_2(a) da ...

uh..... ok I just threw wolframalpha at it, and I got, -log_2(m/N) + ((m-1)/(m ln(2)))
which, subtracting that from the initial -log_2(1/N) , gives log_2(m) - ((m-1)/(m ln(2))),

and that "((m-1)/(m ln(2)))" is about like, 1 or 2 or therabouts (it is 0 if m=1 of course).

so, if all the perhaps questionable approximations I made didn't mess this all up (and I didn't mess this up in some other way), I think that says that, if you pick the most memorable out of m random strings, by doing so you reduce the entropy by about log_2(m) + 1 bits.

That doesn't sound too bad to me, really. Well, I suppose it depends how many bits you have to spare, and how big of an m you pick.
Culturally, you make the onus on the sender to make sure the receiver got the message.
what victims are cool? history is filled with aggressors we idolize, i don't know a victim. asking honestly.
I agree that it's a bad idea. I had an issue with two XML libraries with different languages. One did XML signing, other did verifying. They just did not work, properly signed message failed to validate. I tried to debug, but those standards were incomprehensible, there are thousands of LoC dedicated to normalization and whatnot. You need few dozens of LoC to sign or verify bytes and you need incredible complexity to implement that XML security thing.

But the issue is: those standards are out there and they're used and probably some people will use it in new projects and you have to interoperate with them.

So yeah, don't use those standards when you can, but sometimes you have to.
Are they not? What's the sole purpose of a car other than to go from point A to point B?
While I also hate that happened, it is not clear he had to do with it and it is not the moment to bring this up.

The parent refers to is:

http://blog.wolfire.com/2010/01/Why-you-should-use-OpenGL-an...

See FUD part.
it's to manage engagement
Usually, signing the whole damn thing is too computationally expensive, so you sign a hash instead.
I don’t know.

Early Jan could be sketchy as people sell their best performers to defer taxes on their high gainers.

I would be surprised if ARK didn’t outperform the market average over any 3 year period. But I also worry about Cathie and her team’s continuing motivation after Resolute and Kelso & Company took control of Ark Invest. I wouldn’t be surprised if Cathie and her team issued a new set of replacement ticker symbols under a new name.

Disclaimer: I do hold ARK shares and some bullish options positions.
Forever. Infinite times. That's the point.
> You can even run Steam on Linux now,

To be fair Steam got massively useful on Linux the day they released Proton. It made the number of games you could play go from a few thousands to something like half of the Steam catalog.
It would help to reproduce the claims in question so we don't have to read the comments there. It looks like you're only seeing the Internet Watch Foundation statistic, which has been covered elsewhere in this thread.
Is this related to the "build things that don't scale" motto? That one was conceived for startups in general if I remember correct. Is this same thing but in more detail?
No, poor product management from neglected product managers did that. You might not be very excited to design icons as your primary job, either, if you thought your job was to manage the entire product.
Wouldn't that either save them money in the short term or be a result of their money troubles and not the cause?

I don't see how that connects to a wildly popular site that should take up minimal resources having problems with money. Even with text ads and terrible payouts they should have a lot of money to play with.
Another user mentioned SSO redirects for main pages. For assets generally there is a different domain for the CDN, which may load JavaScript. Finally there is an inbuilt limit of simultaneous requests per domain in browsers. Different domains are used to get around this.