skysight-inc/HackerNews huggingface dataset:
> But somebody did.

Of course, that's why I pay tax. I actually had saved money anyway, but the peace of mind you get from getting unemployment money is priceless. At the end, as I said, it's exactly like a car or health insurance. Almost no one can pay for a cancer treatment or a major car accident with no insurance, but not everyone will have to go through that in their life time so we all chip in and make the world a better place. There will always be people gaming the system, we should obviously take care of that in a way but it shouldn't be the focus.

It's always easy to say "I" save, "I'm" frugal. Yeah ok, we're software engineers, project managers, &c. and make 3-10x the minimum wage regardless of the country we live in. We spend dozens of hours every few months on this site debating about how the new $4k macbook keyboard suck while most people wouldn't be able to afford one if they saved for a year... I don't think most of us are equipped for this discussion.

I'm not sure about "the frugal north" vs "the spendthrift south", maybe system wise, but having lived in france, germany, california and greece I can say people as individual mostly live the same life and want the same things.

tbf I think the GP has a point about senseless consumption &c. but the whole "if you saved money you wouldn't need help" is bs on every level. Even I and my, so far, privileged life can see that as an individual things can quickly turn bad and spin out of your control.
Now the abstract sequence type of "LINQ in Go" https://github.com/nukata/linq-in-go can be written as

type Enumerator(type T) func(yield func(element T))

and the "Select" method can be written as

func (loop Enumerator(T)) Select(f func(T) T) Enumerator(T) {
return func(yield func(T)) {
loop(func(element T) {
value := f(element)
yield(value)
})
}
}

You can call this method with type-safety as follows. Yay!

func main() {
squares := Range(1, 3).Select(func(x int) int { return x * x })
squares(func(num int) {
fmt.Println(num)
})
}
// Output:
// 1
// 4
// 9

See https://go2goplay.golang.org/p/b0ugT68QAy2 for the complete code.

And, for generality, you should write the method actually as follows.

func (loop Enumerator(T)) Select(type R)(f func(T) R) Enumerator(R) {
return func(yield func(R)) {
loop(func(element T) {
value := f(element)
yield(value)
})
}
}

However, you will get the error message then:

type checking failed for main
prog.go2:17:33: methods cannot have type parameters

According to https://go.googlesource.com/proposal/+/refs/heads/master/des... this seems an intended restriction:

> Although methods of a generic type may use the type's parameters, methods may not themselves have additional type parameters. Where it would be useful to add type arguments to a method, people will have to write a suitably parameterized top-level function.

> This is not a fundamental restriction but it complicates the language specification and the implementation.

For now, we have to write it as https://go2goplay.golang.org/p/mGOx3SWiFXq and I feel it rather inelegant. Good grief
This. I simply don’t get the hype behind Shopify. They’re not making money even this year. That’s saying a lot about the business model which is why they are forced to show “fluff” top line growth through these deals. The problem Shopify solves in the e-commerce space is really trivial. If anything, the real gem of this decade is Stripe.
Github has a trending page ? I never noticed.
I dont have a problem with their rules or cuts. ( May be I do but I could rationally give them a pass ) I still think, to this day you could argue about it from both side. And it will still be a valid agreement to the point where we agree to disagree.

What really triggers me was with their Rules being selectively enforced. Fastmail, and a few others being exactly the same as Hey; a mail client, passed the review for years with no IAP. But not Hey.

And that is not right in my book. ( Or they could force other email client to have IAP )

The new Tim Cook's Apple has a different sort of arrogance. And very different to Steve Jobs Apple. Qualcomm's case being one. This is another.
This isn't quite the same, because it's just an alias - you can pass a UserID to a function accepting a PostID: https://play.golang.org/p/nSOgcJs_66y

It still provides a documentation benefit of course.

EDIT: Whoops, yes, as lentil points out, they are indeed distinct types not aliases. So it does provide the benefit of the Rust solution.
It's a challenging situation you're in. As a hiring manager, I often find people who've done a lot of outside learning don't stand up to interviews because they often haven't really internalized the material.

What could maybe make it easier is to actually DO something with this knowledge. That could mean building a small service (or even library) that scratches some itch you have and hosting it somewhere cheap. That will be a lot closer to the type of learning you get on the job. As a potential employers, I can load it up and click on it and actually see what you can do. This gives you something very concrete to discuss with interviewers.

Best of luck to you!
You can't look at percentage of population but percentage of who commit crimes.

https://www.bjs.gov/content/pub/pdf/htus8008.pdf

> Blacks were disproportionately represented as both homicide
victims and off enders. Th e victimization rate for blacks (27.8
per 100,000) was 6 times higher than the rate for whites (4.5 per
100,000). Th e off ending rate for blacks (34.4 per 100,000) was almost
8 times higher than the rate for whites (4.5 per 100,000) (table 1)

From the article

> A 2015 study by Harvard professor Roland G. Fryer, Jr. found that there was no racial bias in the use of lethal police force between black and white suspects in similar situations. The study did, however, find that blacks and Hispanics are significantly more likely to experience non-lethal use of force.

> A 2016 study published in the journal Injury Prevention concluded that African Americans, Native Americans and Latinos were more likely to be stopped by police compared to Asians and whites, but found that there was no racial bias in the likelihood of being killed or injured after being stopped
Show HN: Aapl.io – I have built an aggregator for Apple news
Does Python forbid two similarly looking Unicode identifiers?
Best Practices: E-commerce, Phone Leads and Call Tracking for max conversions
They answered in this FAQ: http://www.hackerfactor.com/blog/index.php?/archives/346-Bod...
Try V[0] . See https://fast.vlang.io/ .

[0]: https://vlang.io/ .
With limited entries of text or code you can just have them all on one page. Slightly more requires a folder or category system. If you have even more you need tags you should also keep the categories (everything must sit in a single category), If you have even more you need categories, tags and search. Trying to use one of those for the wrong volume just creates clutter.
That's 10 hours of sleep at night? Or are you being euphemistically and are you including time spent on sex?
Exercises for Weight Loss
Because it is the correct approach. There is no white fragility.
They're probably referring to a code-of-conduct document which has been attributed to GitHub, although I believe the document is (was?) actually maintained by the TODO Group, of which GitHub is a member.

https://todogroup.org/members/

Discussion of the code-of-conduct:

* https://github.com/dear-github/dear-github/issues/107#issuec...

* https://news.ycombinator.com/item?id=19162683
Sometimes we do not need updates, we need existing old games to continue to work. Ubuntu tried also to drop 32bit support but the community responded strongly with use cases like games and some other old apps, then Canonical/Ubuntu listen and 32 bit support was partially dropped, 32 libraries needed for games and different apps are still supported.

Meanwhile I see Mac players upset their 32 bit games no longer work (like the Sims3 players and I also see some Mac users in r/winegaming ). Again Apple can do whatever they make them more money but for example gamers voice was heard in Ubuntu/Linux and Canonical did the work (for free) to continue supporting gamers.
Did you ever have to optimize for SEA/SEO/Page speed?
China’s Great Firewall Looms over Hong Kong as Surveillance Grows
To anywhere near the extent women's are, no.

I'm surprised and disappointed to still be seeing this "all lives matter" rubbish after everything that's been going on the last few weeks.
I’m not familiar with Rust’s tooling but i’m wondering whether the dev workflow involves explicit manual recompilation? Eg. in Haskell modern workflows are about conversing with the compiler real-time ie. make a type error and it is immediately pointed out and thus explicit recompilation is not part of it anymore. I’d be mildly surprised is something like this does not exists for Rust.
the point that I tried, and failed, to make is that you can't arbitrarily change the charge of a body without changing its mass.
There's a lot of "bad" that can occur on smartphones beyond companies selling user data. While that should be a concern, I'd guess other things are more important to most parents.
Ah yes what fun you can have with unlimited public EU money
In the American context, they are proper names of ethnic groups.
For me, the question is not whether or not GH was fun and if I checked trending before (I did not, I'm the type of person who does not jump into projects in early stages).

If the trending page has been an essential way for projects to gain traction, then we all have been benefiting from it. If this change disrupts that flow, then we should all oppose it, no matter if we used it directly or not.
That obviously doesn't address the problem.
What is the downside to overestimating China's power?
> I have this bias that people who get into programming as kids tend to end up as the strongest developers.

I don't think this is true. I think that this bias is pushing away a lot of people who could be those strong developers, but think it is already too late for them.
Rolled up to 11.4 a bit ago, easy and painless as ever. Thanks to all the devs that put time into this OS.
used this for my website too https://serabut.com
Dexie.js: API Wrapper for IndexedDB
tax-exempt 501(c)3 nonprofits in the US are required to file IRS form 990[1] which sheds some light on the financials of the organization. it doesn't mean that the organization is run efficiently or puts money to good use, but it does increase transparency[2]

1. https://en.wikipedia.org/wiki/Form_990

2. https://projects.propublica.org/nonprofits/
i'd also want to turn off political wall posts.
I am not from US, I hate FB during electoral campagins not because of paid ads but because of people sharing tons of political crap, I would like to hide all political post and shares of my friends and ads.
It’s not “justified”. I’m merely pointing out (a) hypocrisy by BaseCamp (and subsequent marketing lies), and (b) the old adage that you don’t bite the hand that feeds you.

It might be nice to believe you can snip at a company’s products (and in this case, using false claims), and believe it won’t affect at all a separate issue (App Store submissions), but that’s not the real world.

Sometimes, you attract attention by antics. Maybe Fried and Co. are learning a small lesson about the real world.

Aside from all that, this whining about how Apple is keeping them from profits is a bit nauseating. Their sad product (Hey) is keeping them from profits.
For C++, if you have many library headers used repeatedly in many source files, the number 1 suggestion ought to use a precompiled header (which you write yourself with commonly used library headers but none of your application headers). It was mentioned on that page but a bit buried and OP replaced a whole dependency before trying it.

I don't think the same thing would work for Rust because, unlike C++, it doesn't need to constantly reparse files in its depedencies - essentially it already has them automatically. C++ is aiming to move that way in future with modules.

Edit: I just tried turning off precompiled header on one of our larger programs that's heavy on Boost and a couple of our other libraries, and it increased build time from 2:16 to 10:52 (that's minutes and seconds) after fixing a few missing #includes that were covered by the precompiled header.
I already have the ability to turn off facebook, and I exercised it years ago.
This is a regex-complete problem.
Card players are more than not white.

Other people than Japanese wear kimono, e.g. in martial arts, even these that split off a hundred years ago - is that racist too, then?
You're missing the point entirely.

ZH published unverified content ALL THE TIME. Every readers knows that there's lots of crap there.

BUT - they also release stories waaay before the mainstream. Covid-19 was actively posted throughout January, a full month before the mainstream took it seriously.

I read articles there that were posting preliminary Chinese economic data to show the early impacts, while Reddit and HN were telling everyone that "it's just the flu", "masks don't work", and that emphasizing covid was racist (literally - people were banned from a Reddit subs for trying to warn people - with accusations that they being racist against Chinese).

You have to be an adult and sift through the garbage - but there is quality ahead-of-the-curve content there.
I'm an American who travels to Japan frequently and once lived there for eight months. I don't like the phrase and I feel uncomfortable whenever I hear it; to me it evokes stereotypes and myths surrounding geisha.
So I had a look and ZH esp the comment section is a racist cesspool for the boogaloo club ... moderate or just turn it off.
Implementations of classical Algorithms and Data Structures with video lectures
Al entry should go in a single category, chapter or folder. The index should provide a useful overview. Tags you may have in any amount. More is usually better.

A tag with a single entry is useful. Chapters should never have a single entry.
145Kb ouch!
Furniture e-tailer Fabelio bags $9m in series C1 money
> If you have savings for a couple of years, you can take it easy for a while and then go look for a job and find one 6 months later. Was anything other than your ego bruised by the loss of the job? No, not really.

> Why doesn't this analogy translate to what's happening with covid?

Because, as a share of population, approximately no one in the workingn class that makes up the bull of the population has “savings for a couple of years”, and that's not just a transitory situation but a fact that capitalism structurally guarantees.
I agree that Apple provides a great experience, and I am an Apple user for most of my computing needs; but Apple's approach uses the user experience stick to squeeze out monopolistic benefits out of their platform when it suits them, and when it doesn't, they ignore user expereince.

1. This is a clear one, and Apple chooses to ruin user experience here. I only use Apple Mail because it's the default app.

2. Me neither. Why don't they do something for payments that is similar to how they treat password managers. A standardised way to treat payment data.

3. Apple does arbitrarily reject apps. They just signed a special deal with Amazon that bypasses the app store rules, for gods sake.

4. I agree, and Apple has come out with good ways of allowing apps to special APIs.

5. Well, what competition is it when someone has to pay 30% from their revenue?
> Law enforcement in the US is so effective at stopping crimes that we aren’t even aware of the value they provide.

Any concrete evidence of this? How was that conclusion derived?
I'm with you on the first sentence. You lost me on the 2nd.

ZH lies all the time. ...but you can also get nuggets of info that you won't find anywhere else.
>Defaults aren't permitted.

So, what happens if a bank goes bankrupt?
Best 3 Alternatives of Adsense in 2020 – Tech Guru SEO
Rather than a has been demagogue look at the one where they report Rep Illhan Omar father passed away from Covid-19.
Flat? there is literally a second peak on the daily case count chart and a 3rd peak is forming. Deaths have been dropping but are now flattening off and primed to rise.
Hey efiecho, Community Advocate from GitLab here! I'm sorry to hear that you are not a fan of our actions and/or decisions.

Can you please dive into specifics a little bit and explain what parts of GitLab could be improved and what are some high-level things that you don't particularly like?
To make fair comparison, you could translate C code very literally to Rust code, not using any "advanced" features or different libs (meaning no_std). Then you could see apples to apples how it'd compare to clang. Probably slower still, but at least you'd know that the slowness wouldn't be due complex generics or macros or something.
Dumb and Dumber: The Impact of Downsizing on Firm Performance
Author here. I thought of it as "is one person escaping an authoritarian regime to communicate freely worth more or less than ten people buying drugs?". A criminal will always find another way to engage in criminal activities, but can a news reporter or activist find another safe way to communicate? I felt as though the benefits to users using tor for legitimate purposes, outweighed the users who used tor maliciously.
"well-meaning friends—mainly other Black entrepreneurs who faced similar challenges—suggested that Givens add a White man as a co-founder."

I'm not black, but I'm also not white, and I've been suggested this numerous times as well by well-meaning people after our startup not being able to fundraise for several months but some of our white-male-founded competitors had successfully raised. One friend was even joking about a "white-guy-as-a-service" to help minority startups get funded -- i.e. hire a white guy to show up to your VC pitch (or maybe pitch it for you) and your chances of funding would probably astronomically rise.
Introduction to Pyrebase Storage
> It can block competing apps such as Spotify/Apple Music for example. One could argue the same for YouTube music vs Spotify.

No it cannot. That's anti-trust.

To be clear, the problem here is not that Apps can only be installed via the App Store on Apple devices. That is ok, and not very different form having, e.g., and "Installer" package format in your OS.

The problem here is how Apple is using its App Store to gain an unfair advantage.
French solution: https://www.france24.com/en/20170930-france-fashion-photosho... / https://www.france24.com/en/20170506-france-health-skinny-ai...

(France is still in many ways a more conformist culture than the Anglo-American one, but this is a good gesture)
The FED is buying out every asset in existence, that means that there aren't any markets, any prices, everything is state-owned and the economy is entirely socialized, and it's now the "USSA". Stock markets are surfing the wave to grab as much as possible before the inevitable crash and collapse.

No wonder the IMF head said we need a "Great Reset". This can't end well...
Totally! But whats unnaceptable about this type of algo approach is that it amplifies types of thinking that are easily influenced like a feedback loop. I'd almost rather some sort of deliberate manipulation than a byproduct of unnessary machine learning cruft messing with everyones social conditional.
Washington DC faces House vote to become the 51st state
Agree. It is no longer a new product after launching.
YMMV. You can find out you're still the same person with the same issues, just in a different location.
Yep! Definitely that for London :)
Serious question: is it legal for someone not to correct an incorrect assumption? Let's say a black CEO invites his white friend to a pitch meeting as a wingman, VC says "oh great to meet you Will" assuming the white man is the CEO. And no one ever corrects him. In this way, perhaps the company would be able to access funds not normally provided to black folks. The white man would probably need to be an executive of some sort (CFO maybe) and both would need to sign whatever paperwork, and only then would it become apparent to the VC who's who.

It's ridiculous that I even need to ask this question, and doing this literally just steps aside the racism problem rather than addressing it, so it might cause more harm than good, but until racism is solved (possibly a multi generational shift) something like this might help some people out.

I feel like this should be the plot of a short film; where the black man is revealed to be the CEO and the viewer is challenged to rethink their assumptions. If I had an ounce of creativity I'd totally make it if it doesn't already exist.
No one even looks at the comments - they are collapsed by default.
It's really hard to understand what you're trying to say here. I use actions a lot. There is no distinction between actions and CI/CD here. The context of this blog post is a set of features that were added to actions (during the beta!) to better support CI/CD workflows. There is no CI/CD "shortcut", like you say, bolted on to actions.

The alpha was rougher (and completely different) but that's why it was called an alpha!
Exactly, speed of light in the vacuum (c) is the hard limit, only mass-less objects can move that fast (e.g. photons). The refraction index (n) tells you how fast light moves in a medium. It is defined as n=c/v, where v is the speed of light in the medium. That's why (and also because of internal reflections) the speed of light in the fiber optics is not quite reaching c [0], and with inter-satellite communication Starlink may provide lower latency than the one using landline fiber optics channels. For air refraction index is very close to 1 [1], but not quite, at 10km altitude n=1.0001, which is 99.99% of c. For example a proton with an energy of 1TeV (Tera electron-volt, 1x10^12 eV) is moving 99.999956% speed of light in vacuum [2], and we see protons up to 5x10^19 eV reaching 99.99999999999999999998% of c [3]. Even "low" energy protons (tens of GeV) hitting molecules of air can kick out electrons, which, due to being lighter, can move faster than the initial protons and emit Cherenkov radiation.

[0] https://www.quora.com/What-is-precisely-the-speed-of-light-i...

[1] https://www.researchgate.net/profile/Dmytro_Vasylyev/publica...

[2] https://uspas.fnal.gov/materials/10MIT/Review_of_Relativity....

[3] https://en.wikipedia.org/wiki/Greisen–Zatsepin–Kuzmin_limit
No, it's not an alias, they are distinct types. You can't use the types interchangeably (unless you cast them).

Your playground example didn't try to pass a UserID to a function accepting a PostID, but if you do that, you'll see the error:

https://play.golang.org/p/vyiJ_sLzy4O
You said "most of it is showing white people that all the things that we've tried over the past 10, 20 years are clearly not working. There's little improvement in inclusiveness in traditional white/male dominated cultures, such as the engineering teams at FAANGs for instance."

The US is an immigration society where many white people from countries which weren't involved in US slavery and now they're all painted with the same brush. It's not reasonable for someone from say Russia to be attacked for the deeds of American slave drivers hundreds of years ago. And as far as I know white immigrants were strongly discriminated against in the US in the past two centuries.
Right arrow selects the next brush. Left arrow cancels the effect of the current brush and selects another.
It was more like a community and they destroyed it. Less than 1% of new repos were mercurial (what a surprise with zero mentions of mercurial anywhere except small text and zero marketing and they didn't even have it in their self-hosted product), sure, but existing repos were the problem. Some abandoned ones are lost forever. At least archive them, offer a tar download, anything... People had to parse the issues, people had to parse discussions, all the settings, access rights... I think after a year they could put everything in archive mode, but no, they deleted it with no easy export.

That's not OK and I'm clearly very, very angry as a former user.