skysight-inc/HackerNews huggingface dataset:
I think it would be a footgun the other way too.

I tend to think of pointer a as a general type aspect whereas reference is specifically on the variable that it's on and doesn't transfer. Sort or like how auto doesn't copy the static specifier.

Also the rules for auto are the same as for template argument deduction.

template<typename T>
std::vector<T> MakeVec(T val) {
std::vector<T> vec;
vec.push_back(val);
return vec;
}

int main()
{
int x = 1;
int& y = x;
std::vector<int> vec = MakeVec(y);
}

Notice how in this case MakeVec(y) makes a std::vector<int> not a std::vector<int&>. If you want your template argument function to take a reference, use T& not T (or use T&& which is a whole new complication). Similarly use auto& not auto.
Only one comment on yesterday's submission: https://news.ycombinator.com/item?id=27427620
Yes , by medical Providers. If what you think were the case than Schools would not be able to ask if someone was Vaccinated to attend. HIPPA protects your medical information from thing released by hospitals and doctors without your approval. It says nothing about business asking or barring about it I believe. If it wasn’t the case than th while Preexisting Clause for the ACA wouldn’t have been needed since not!HIPAA would have done it anyway right?
https://mobile.twitter.com/Scienceofsport/status/14070200037...

Sports scientists do not agree
I'm "old" by the standards on here, in fact retirement isn't too far away if I want it, and I'm genuinely intrigued by how my personality is going to change once I'm no longer working. I see the last 15 months or so as a trial run, and it's been great.

I'm dreading going to back to the office if I'm honest.
What does your metasearch approach look like?
They care when the computer slows down and the battery drains faster.
Anyone can join that party and run in the primary.
> there will be some that favor female.

Which sports are these? In which physical sports do women have an advantage over men? Can you name one?
Have you ever worked for a union? It's just another entity that you have to negotiate with, except not only are they a self interested entity like your employer, but they also average out your interests within the context of their other members. It's good if you were on the bottom half of the distribution and you don't value independence/personal leverage. If you are a talented individual who is able to make your worth known to a self interested employer, such that you can typically negotiate higher pay, or choose to work on specific things, at specific hours, etc, unions can be extremely constraining. They often have arbitrary systems in place of meritocracies, where a position you might be better suited for, which your employer would prefer to have you do, will instead go to someone with seniority, or someone who has played the union political game better than you.

In other words, it's just another interested party that gets inserted as a middle man between you and your employer. If you weren't lacking in leverage, which most engineers are not, you're unlikely to find the upside.
Roko, of "Roko's basilisk".

He himself isn't really famous, but due to the infamous reaction his post on the subject received, his username will probably be etched into the history books for centuries. (Or at least a few fiction and non-fiction books here and there.)
> So I wonder if HN has made an executive decision

you could also email the mods to ask them about the fragment issue/ask to override the URL for you
Alternative to uMatrix?
I know uMatrix development has been abandoned for quite a while now [0]. But, at least up until quite recently, it continued to work on my Android browsers of choice [Yandex & Kiwi]. This is, sadly, no longer true. uMatrix on Android now has completely stopped working. It just greys out the screen. No interface appears.

So, is there a worthy alternative or one of the several hundred forks in particular around which most further development is coalescing?

[0] https://github.com/gorhill/uMatrix

PS: uMatrix continues to work for me on desktop [for now!] It's just on mobile it seems to have recently broken. So presumably a recent change in Chrome for Android [upon which both Yandex and Kiwi are based] has knackered it.
This is known as "the most vexing parse".

In 99.9% of cases, it's just a surprising compiler error message that you learn to avoid. However, there's a related version of this problem which can lead to accidentally declaring a function prototype rather than acquiring a lock. You'll get compiler warnings from -Wshadow, but the seriousness of the problem might not be obvious.

That said, it's a very rare problem these days, due to the introduction of uniform initialization in C++11.
Cis women are 50% of the population while transgender women are less than 1% of the population. Excluding 50% of the population from sports is obviously more problematic than excluding less than 1%, even if both are not ideal.
So much politics!

3. Kill Whitey. It’s the Right Thing to Do. (2010) (wired.com)
2 points by Tomte 1 hour ago | unflag | past | discuss

4. The World’s Largest Fact Checking Operation (2010) (cjr.org)
2 points by Tomte 1 hour ago | unflag | past | discuss

8. [flagged] [dead] A Conservative Activist Invented the Conflict over Critical Race Theory (newyorker.com)
17 points by Tomte 13 hours ago | unflag | past | 5 comments

10. Money talks: Michael Jordan and the impact of not being an athlete activist (cnn.com)
2 points by Tomte 14 hours ago | unflag | past | discuss

11. Vatican urges Italy to stop proposed anti-homophobia law (theguardian.com)
3 points by Tomte 16 hours ago | flag | past | 4 comments
I think googles crawler excels at crawling forums and social media like stack overflow or Reddit or support forums. The main thing I use google for is when I have a bug whose solution is 9 pages into some thread on some obscure discussion board I’ve never heard of
Yes! An incredible "hippie player" (the derogatory term used by classical steelers for players that took the pedal steel outside of the classic country style). He really has a very unusual style..

He also was the first steel player of the New Riders of the Purple Sage, before leaving his seat to Buddy Cage, which is my favorite pedal steel player :)
As you mentioned US-wide median, it got me thinking. I wonder if big and diverse territory wide median would work. I'm not that familiar with US state-to-state median differences. But in EU absolute median could differ 3x from country to country.

Existing salary laws already create a lot of opportunities for arbitraging. E.g. truckers and handymen working in expensive, living out of cars or cheapest houses they can find and then spending their time off (as well as paying taxes) in cheap countries. Country-adjusted UBI could make this even worse. While EU-wide UBI median would create it's own share of issues.

Any idea is doable if you throw enough propaganda and/or gunpower behind it :)
I personally like having battery life and the ability to multitask. I don't think it's something that only non-technical users want, or even something particularly rare. Surely most users like their phones lasting longer on a single charge, given that's sort of the root of the discussion.
Bitcoin Cash has taken the approach that Bitcoin should have. On chain scaling.
The 16th and 17th Amendments, plus the Federal Reserve Act, all in 1913, along with the capping of the House of Representatives at 435 members in 1910, have driven the growth of the Administrative State. And the debt.

So now there is a quasi-aristocracy running plays and putting on these electoral shows every couple of years.

Calls for substantial reform.

Technical people understand the need for clean architecture and political systems.

Humans are not code, but our political- and tax systems are a Byzantine train wreck. On a good day.

But go ahead and worry about DeMint's opinions, boss.
Structure Synth: generating 3D structures by specifying a design grammar
Poor dog. At least feed it proper dog food once in a while.
You clearly only use either GCC or clang C, without much knowledge of WG14 documents.

Also some of the C++ horrors are caused by the consequences to stay copy paste compatible with said documents and tooling across all platforms where a C compiler exists.
Ok, as you and others have pointed out - the iterator of a vector doesn't have to be T:

https://en.cppreference.com/w/cpp/container/vector

It _may_ be a T, or anything satisfying LegacyRandomAccessIterator.

> just like a cat is animal does not imply an animal is a cat,

It's not "just like" that. Among other differences between the pairs of concepts: The concept of an animal didn't arise as a generalization of cats.
> There are almost always only 2 choices - the Democratic candidate and the Republican candidate.

I’m an immigrant so some of this may be wrong, but the party system in the US seems to operate very differently to that in most other countries.

Primaries make races far more focussed on the individual representative so there is less incentive for serious third parties to emerge as their potential candidates can instead challenge an incumbent in a primary within the same party affiliation.

With voters registering with an affiliation rather than joining a party as a member and being subject to that party’s rules, so far as I can tell there is no way for a party to prevent someone from running under their banner so long as they win the primary.
And she's just the one who was brave enough to speak out.

Considering that voicing your support for Hubbard comes with basically no personal or professional cost, while voicing your opposition can cost you dealy, I'm going to assume that since most people have remained silent then the majority agrees with Anna Vanbellinghen.
And what exactly is "ordinary laziness"?
I think before you spend days of work on something DDG can't find, taking a few seconds to add !g and check Google's results would be sensible. Usually when I try that, though, Google isn't any better.
I’m not sure - file access is but one (glaring) hole of linux security. How well does it work with eg. network, audio/video, etc?
Microsoft joins Apple in the $2T market cap club
I believe A is already illegal.

Also, an agreement not to recruit former co-workers for a period after you leave the company is different than two specific companies agreeing not to poach each other's employees.
Sure, but I just cannot for the life of figure me out, how adults (the Saudi operatives) needed to go on the American course to work out that they can kill someone an chop him up with a really sharp knife.

You only need to have one barbeque at your home to work that out.

If training → crimes, then surely we should be more worried about training Saudi butchers and chefs?

The real and IMO only reason the crime occurred as it did is that the Saudi's guessed correctly that the US (and others) would let them get away with it.
(Previous attempt: https://news.ycombinator.com/edit?id=27602092)

Hiya! Author here. Sorry for submitting my announcement tweet. I think that’s lame; just submit the story, which in this case is https://github.com/google/jax/issues/2108#issuecomment-86623.... But I couldn’t figure out any possible way to submit that url to HN without doing this (see two failed previous attempts) since HN strips the crucial url anchor.

Anyway! Enjoy the show, whoever happens to read it.

(Is this the first instance of “GitHub larping”? I dunno, but it was weirdly interesting to try to blend fantasy novel elements into a TPU tutorial. If this is a thing, I definitely want to read other instances of it.)

By the way, the first submission had an insightful reply about XLA, which was surprising: https://news.ycombinator.com/item?id=27596731
Damn, that is my standard DNS by now. I hope they win the case, although chances are very low. I live a short trip outside the city where the judges preside and the court is quite infamous on rulings like these. They are old, afraid and wrong about many issues and won't see that DNS provider aren't responsible for content. Germany isn't able to tackle modern communication infrastructure and related problems. On the other hand it has the capacity to ruin one of the best human developments in recent history. It is not beyond their capabilities.
To be noted, these companies were later sued in antitrust case regarding these agreements https://en.wikipedia.org/wiki/High-Tech_Employee_Antitrust_L...
Of course. Dating women doesn't mean all women are your type of course.
I've had a strange year in which I've been living a very acetic lifestyle... Basically camping while I struggle toward getting permits... Long story.

The lack of comfort became too much. I felt like the "pleasures of the body" were a secondary priority and I didn't want to spend the money. It just wasn't possible for me to go on like that though. I had to find an actual house to live in.

I feel like I lost the mind over matter game, and didn't live up to the ideal that I had about myself. On the other hand, it's very nice to be out of the wind and rain and heat and bugs, even if I don't feel I earned it yet.
Indeed. I'm fortunate (or not, depending on one's perspective) in that I'm single and have no dependents. I pretty much only spend money on rent and food, and I'm more than happy living in a very tiny place with just a bed and a bathroom. (As long as it's a quiet place I'm not sharing and has a decent internet connection.)
So how about a third class/sex? We have male competitions, female competitions, why can't we have transgender competitions?

Seems to me to be the simplest, fairest solution, given that hormone treatments might give a person an unfair advantage that we're trying to keep out of male and female sports, but that are inherently impossible to avoid in transgender sports.
Brave displays if a website is registered for the reward programm...
Ok, that's a fair point. It's easy to make the distinction when you think about how in C++, things become references or lose their reference'iness pretty easily, but nothing ever implicitly becomes a pointer.
This has become the perennial "test case" to use in order to frame generalized trans discrimination.

It's an outlier that's being pushed in as a substitute to set the framing for the entire discussion as if broad policy should be generalized from an extreme outlier.

This is the same tactic that was used to argue against gay marriage, finding some unusual extreme event and then trying to substitute it as commonplace.

Isolate these things. It honestly shouldn't bleed into mainstream discussion. This is a slight of hand substitution.

Transgendered status doesn't affect 99% of human interaction. I easily might have worked with or been neighbors to a trans person for years and never known it. You could have worked with many yourself.

You've probably worked or lived next to somebody for years and then found out they were LGBTQ and were like "well that's actually pretty irrelevant" just like how our grandparents would freak out if they were, say, Catholic or married to a foreigner. It's not a big deal.

I refuse to outsize the tiny isolated cases where it matters, it's a propaganda technique.

No thanks
I believe this is one reason why some trans people are very keen for their hormonal therapy to begin before puberty.
Nah, rich Arabs always diversify their weapons suppliers. If the US doesn't want to earn tens of billions of dollars there's always France, Russia, etc.
A Tale of Two Functors (2020)
Thanks! We'll have a look at this one. This is definitely broken.
Looks nice. Are you planning on adding more services? E.g. Twitch Prime Gaming or PS Plus?
I've met my wife on a dating site (mind you, that was 16 years ago). While personal experience does not equal 'data', one of the greatest things about dating apps/sites from the male prospective is actually getting access to women who ARE interested in meeting guys/sex/relationships. That doesn't mean they'll pick you personally, but it's better than approaching a woman who's in a relationship and/or is not interested in dating (and your advances annoy her).
I found the idea of a "cluster concept" of biological sex, as opposed to a essentialist binary, to be a useful addition for thinking about this issue. We can all point to the binary and say where do you draw the line, because of all kinds of exceptional cases. But if you say, here is a cluster of characteristics that are common to amongst the groups, you don't need to have them all, but most people have a majority of one or the other, then there becomes a more objective way to think about it.. And maybe the cluster that is important to weight lifting is different from something else..
Not saying that I aggrege with Kathleen Stock's conclusions. Just find this useful.

I heard about it in this podcast (about 7:25)
https://philosophybites.com/2019/05/kathleen-stock-on-what-i...

https://quillette.com/2019/04/11/ignoring-differences-betwee...
Weirdly hard to define, much less to feel OK about it, pleasure is a tricky creature. Can philosophy help us lighten up?

Maybe it’s just an absence of annoyances?

Asking me if I’m “Enjoying psyche?” with a popup literally after I scrolled past the article header wasn’t a pleasure. No, I haven’t had a chance yet. Who on earth approves this bs?
Deconstructing the Presidency’s mind on national issues
We are actually planning to implement just that! You can read more about our proposal here: https://brave.com/goggles/
Comedy genius
> I'm a geek, I enjoy messing with this stuff. The enjoyment of the technical challenge of "hacking" their paywall was more than worth the time it took. The article was probably not. Not sure I'd do it again.

I kinda did. You're obviously more interested in making "jokes" than reading the replies.

I do make a distinction between straight "news" sites and the more niche sites like the Economist, Wired, etc. I wasn't aware that NYT was now profitable via paywall - last I heard it was still struggling and laying off journalists, but I could be wrong.
Khashoggi was no mere journalist. There is a simple rule in dictatorship governments that the head of the opposition media is even more trusted and loyal person than the people heading the official party media.

He was a bit like Litvinenko - not nice, but not worth shedding too much tears for him.
Modal File Manager: Update and Extensions
Universities should not fear teaching Lisp and Smalltalk in the first year.
Why is the hatch hinged in the most awkward way possible? If the hinges were on any other side, it would be so much more accessible, there must be a reason for this?
Except the harm is not theoretical, and such a market correction doesn’t happen overnight. People don’t deserve to be ground to a pulp while your simulation plays out.
I've frequently run into a variant of this:

f(**x, g());

The number of stars evaluated before 'g()' (0, 1 or 2) varies between compilers, and the program I was working on would break if only one * was evaluated before g.
That tweet addresses solely weight, but I'm not arguing for categories based solely on weight.
There’s a difference between able to be objective and being objective. Anyone who believe that’s American Courts, or rather, courts are objective is someone I hope has a really good lawyer if they ever go to court.
Notifications wouldn't waste any CPU cycles that aren't already there. There's no excuse for not implementing them other than forcing devs to use their app store.
A "footgun?"

No. Use real words. There are plenty of them.
not if it's opt-in... if i install a firefox plugin that puts all pages full of ads, it's not firefox doing that.. it's me.
>Not if it's part of the state of your app ? E.g. a struct member.

I'm not sure what you mean. Here's an example with the output from std::optional being unwrapped and put in a struct member: https://godbolt.org/z/Ms4Kar18j

Also there's opt.value_or() which can use a default value in the case opt is nullopt.

>It also replaces an automated and enforced action by the compiler (exception being thrown) by a need for a manual check which feels very 1975

I think remram's goal was to avoid exceptions. So this is a criticism of remram's goal rather than the method to achieve that goal.

Also, std::optional can integrate with exception-producing code because opt.value() throws an exception if opt is nullopt.
The classical definition of "pleasures of the body" is "sensible pleasures." That is, pleasures that require the involvement of the senses. So, by that definition, gaming and twitter would be bodily pleasures since you cannot have them unless you optically engage theses things.
How relevant is stenography today, now that we have ubiquitous voice recording and voice recognition? What are the use cases? I'm genuinely curious.
The whole problem is that Twitter crusaders created a false reality in the first place. It's not super productive to speculate on the details--we don't know them. What we do know is that no legal action was taken. Given the outburst, one would imagine there would be a lawyer willing to help the alleged victims press charges had any real problems existed.
honestly, offhand I do not know.

I'd guess anything where hip area strength is critical. male bodies are at an advantage in terms of overall muscular and bone structure.

the larger point is its wiser to treat it as a competition between individuals. because. anytime we exclude someone based on non-individual traits then it means we are discriminating against them. and "discrimination is bad", no matter what.
I tried brave search today and the results were rather good. I have no idea what 95% working means but this is a nice start
Hm, i remembered my history wrongly, i've now removed that stuff, thanks!

> The former system (7 years president) allowed more diversity

Yeah, but 7 years is a lot and it's a remnant of when France wad supposed to be a monarchy, so i completely understand why they changed it.
Yeah I was legitimately confused why there was a problem until I realized that author had installed the new OS to the same server as the old one. I can't understand why that was done. Previously I wouldn't even have called your method of moving services over one by one while keeping the old setup available "best practice" because I thought it was so obvious. I hope the original author realized that this should really be what is learned from the story.
The rate in France was 36.7% in 2010 (declining steadily year after year):
http://www.bichat-larib.com/revue.presse/revue.presse.resume...
In most sports performance-enhancing therapies are banned. Entire federations and countries were banned from participating at major competitions. By allowing hormone therapies we are basically discriminating against hematocrit therapies and so on. It's a Pandora's box and it's open already so we better be handling it rather sooner than later.
Not that I made an argument for using weight alone, but it depends on the sport in any event. To avoid injuries, the physical attributes that matter to billiards differ from those that matter to rugby.
Work smart, not hard. Actually sounds like you are doing just that:

> reading blog posts, HN, often even reading (tech, biz-related) books

You will gain knowledge from doing those things, that will aid you in your job. Technically demanding roles require constant learning, not just bums-on-seats bashing out code.
'Feel'. My confusion comes from the fact that these people were not born female and so can have no idea what it is to 'feel' like a woman any more than I can 'feel' like a wolf.

This then reduces womanhood to a state of mind, rather than any physical and/or chemical criteria, which I think is wrong. Why should natural born women have their identity diluted?

It also seemingly reinforces the 'two genders' claim by categorising trans people as one or the other.

Like I said at the top, I am a bit confused by it all.
You keep saying this but that isn't close to the only thing she said on the topic nor was it the genesis of any of the drama surrounding the issue. If you haven't read more on the issue it purely down to ignorance but if you have its not an honest portrayal of the issues.