skysight-inc/HackerNews huggingface dataset:
Now you know how many Chinese people felt about media coverage of the Hong Kong protests.
Gray Swapping with Raku and Perl – Weekly Challenge
If all these "rioters" are trying to burn the courthouse down, why didn't it burn down before the armed feds showed up and started hitting people with gas? The protests have been ongoing for quite a while, the feds are a comparatively new presence.
Acorn Archimedes – A Technical Introduction (1987) [video]
> They will come for him next.

already happened https://twitter.com/mrandyngo/status/1286201620120797185?s=2...
But that's the thing things have changed, the majority of people now disagree with racial segregation, blaming women for being raped etc. and that is a good thing. The thing is people voted for Trump because they want the old times back where "a n* knew their place". There is a reason why the majority of his supporters are significantly over 50. However, it is an illusion that people were not feeling consequences for expressing certain views (or even being suspected of it), just think of Mccarthy or the outrage on Fox if somebody criticises "our troops". The only thing that changed is that now it's also so called "conservatives" (I would call many of the right wing activists) who face this, together with the amplification allowed by social media and peoples (on all sides of the spectrum) desire to somehow feel like a victim.
Goethe’s Colors: A Visual Catalogue
What would Doreen have to do or say to satisfy you?

Jus to be clear:

No one is suggesting children dying of a combination of malaria and protein energy malnutrition just need to surf reddit and gather coupons.

So what is it, exactly, you’re taking issue with?
> but LSD is incredibly easy to hide from regular law enforcement

Not that I intend to leverage that knowledge, but you can't just write this and leave it at that. Why so? I've never seen any LSD, so I am not sure why that would be.
Why hasn't Firefox been forked yet? Not a spin off like Pale Moon or Waterfox but an actual fork of the entire codebase. With only two real browser engines remaining the potential for an independent policitally neutral browser is high. I don't know why people haven't done it yet.
Who Loses Big in the Great Streaming Wars? The User
I use a RPi to control smart home components including wifi controlled smart plugs. You could use one as a hard power off, and WoL as a soft power on.
> If they think it should be censored, they can add a filter to the browser itself.

Don't give them ideas
I think you have to be a lot more specific, perhaps make a map with distances for walk/bicycle/car and a list of concrete things you find yourself doing in every day life. For me I always find the these too long/another city can mean so many different things.
It’s illegal in Germany since last year I think. But there is a new one 1P-a LSD (or something like that) which is supposed to be legal.
They will be fired and cancelled though.

https://www.bmartin.cc/pubs/05borderlands.html
It seems npmjs.com is having trouble updating package index pages from readme files. This morning, I published a new version (that contains exactly the same files as all previous versions), but npmjs.com doesn't render readme info (as shallow as mine is). Trying to re-publish doesn't seem to have an effect (or maybe npmjs.com won't re-publish package version submitted shortly after one another, idk). Is npmjs.com in the progress of re-generating all pages or something?
That is a really long article. Looks like a lot of work.

I will wait until there is a phone where I can just open a terminal and type apt install whatever I want.
More details please. Sounds like a fascinating story.
Thanks for your thoughts and very valuable nitpick (I have fixed it now). I definitely agree that keyboard controls are very essential to the card making process, and I will look into that!
>> Ultimately, I concluded that being able to choose wasn't really about money per se but was about maneuvering room. Yes, having sufficient resources helps, but making choices in life and exercising free will is not directly related to how much or how little money a person has. It helps if you have some confidence you won't starve or otherwise experience catastrophe, but that isn't about money per se.

I am not being harsh just highlighting the fact that there are a lot of implicit assumptions being made in the article wherein most of the population of the world in poor countries simply don't have the freedom to do so.
Man, going after students is so petty that it is only explained by xenophobia.
I honestly can’t recall seeing any HN usernames with “88” in them other than this one. I don’t think it is particularly common.
"Luckily". Why do people keep seeing this as a positive? Isn't it a disaster? What's the end result of below-replacement birth rates? Extinction? Some new equilibrium where we don't have enough civilization to do social welfare and have to start depending on our own children for old-age care again?
Considering how IT is increasingly used to make people's life miserable (part accidentally, part intentionally) I actually find this is a good thing they take a moral stance.
The Math Professor and the plumber
Applied Science

https://www.youtube.com/channel/UCivA7_KLKWo43tFcCkFvydw

Ben Eater

https://www.youtube.com/channel/UCS0N5baNlQWJCUrhCEo8WlA
Because the local police up until that moment attempted to keep them away. Then the mayor ordered them to stand down in the hope of scoring some cheap political points with his supporters. You make it sound like the feds have been rampaging around town on a pleasure cruise smoking up the city. All of the action is right around the building itself.
Unfortunately, I believe there is nothing special we as engineers can do. The best thing we can do is what any other concerned citizen can do. Join climate activists on the streets. Rebel against the status quo. Yes, it's much less comfortable than sitting in front of a screen all day, but it's the most efficient way.
Your iPhone is worth $108 less each year you own it
https://news.ycombinator.com/item?id=23948028
I'm 31 and have never had a job. I started freelancing when I was 18 - more by necessity than by choice - and continued doing that throughout my six years of college.

There is something to be said about having "unordinary" experiences - it cuts you off from your peer group. My part-time freelancing through college meant that I was often too busy to do the things college kids do - party, join bands, etc.

Later, when I started freelancing full-time, my friends would talk about their bosses, applying for jobs, building up careers, etc. and I would just nod my head and attempt to understand but I couldn't. I've never had bosses - or even bad clients - and my idea of career has basically evolved into a series of gradually better/bigger gigs and projects.

I'm very independent person and can get by perfectly fine being completely alone. But I imagine that someone more extroverted and social than me would have felt a little too alienated living a life so different than their peer group.

When the pandemic struck earlier this year, a couple of my key clients dropped their budgets or held off on decision making. So I took that time as a "break". This devolved into eating too much, working out too little, and sleeping at odd hours - all great stuff for a week or two, but extremely grating after a month.

It's a romantic idea - a life without boundaries or bosses - but it's not something everyone is cut out for, nor is it something I would recommend everyone to follow.
What you quote is not a stance, merely an observation. One can agree there's lots of socially undesirable speech (call it whatever you want) on Facebook, yet at the same time disagree Facebook ought to take their desired actions [0].

Besides, why my browser should send me a push notification for this particular campaign is beyond me. Even if I agree with the political contents this time, should I expect more push notifications of this kind in the future?

[0] https://www.stophateforprofit.org/productrecommendations
Your % operation is not uniformly distributed if the hash domain isn't an integer multiple of the output size, which is a bigger problem for formal correctness than the colliding output issue (hashes are not uniformly distributed).

You need to truncate to an even number of bits and retry until the output is < n, at which point you're retrying anyway, so you can just retry on collision instead of having all that complicated logic to skip bits.

Nice try though, but if you want formally perfect results like the OP you have to try harder :-) (except real hash functions are only assumed to have perfectly distributed functions anyway, that is not proven and probably not provable, so basically you're screwed either way and none of this matters :-) ).
One of the thing Americans do differently is setting up systems for inequality from the get go. First past the post voting, but also using education to produce/select 'winners', rather than use it as a tool for equality. One could say this is a choice and there's no wrong way to make it, but to me it seems clear that it is the root cause for many of the issues in the US. I think superstar systems and mentality necessarily produces inequality and inequality necessarily produces problems.
I see you're practicing the hacker news version of cancel culture I see.
Google "lsd paper sheet".

It looks like a paper sheet.
For me the political part isn't the issue - the push notification itself is. I can't stand browser desktop notifications and similar useless distractions and have blocked every kind of ad and popup in Firefox. Now the browser itself circumventing this to push some stupid blog article to me that I never asked for is unacceptable to me. Would you be fine with your image viewer, video player or file browser to push messages and suggest blog articles to you without asking? Then why should a website viewer do it?

I just want web browsers to display content I requested, block ads and otherwise just don't try to do anything clever. Which worked pretty nicely in Firefox so far.
Can't speak for NAP but Photobox was extremely strong on unit + integration testing. IIRC, a full ground-up test suite run took a few hours because it started from a bare box, installed + tested Perl + every needed module, span up a blank database, then did the unit tests, then ran a full integration test suite against that server. That was only done for a release; for general commits, it was ok to run a subset of tests to show things worked / still worked.
Why do you think that Pale Moon is not an "actual fork" though? They've forked off a rather old version of Firefox and kept updating and maintaining it for quite some time now, barely integrating new things from newer Firefox versions.
Money does not stink after all
I'd guess bloom filters were often chosen because it was one of the only available options. I believe cuckoo filters were invented in 2014.
The NY Times has devolved into a political pamphlet and as such has - at least in my eyes - lost nearly all credibility. This is a shame, the paper used to represent the best of what journalism had to offer, "all the news that's fit to print" and all. Now they actively engage in revisionism - the '1619 project' - and push forward the narrative of 'white guilt' and other such divisive nonsense.

From what I gather - listening to Brett Weinstein explaining things who again got it from a former DHS officer - those federal agents have observers on top of buildings who direct street level agents towards potential targets who engage(d) in actions deemed illegal. Those street level agents arrest individuals who are taken to some federal property where they are held for a few hours after which they are released, usually without being indicted. In a few cases people have been read their rights which would indicate they are to be subjected to interrogation. While having federal officers prowling the streets in unmarked vans gives off bad vibes of south-American 'disappearances' this has - at least thus far - not been documented. What is also clear is that the fact that local authorities allowed the situation to escalate to this level is inexcusable and is what eventually gave rise to these federal actions.
Or spite. But in either case it seems unnecessarily cruel and ultimately a mistake.
Not much different than what’s happening in Canada.
"... when federal officers arrived on July 4"

I hope they got weekend/holiday pay.

https://www.youtube.com/watch?v=8lMOL7GaPWI
I certainly feel enlightened.
According to the testimony of Brandon Green (the victim), Cole actively participated in his torture and mutilation alongside Skinner, she apparently even paid Green's rent in advance so nobody would look too hard for him. The case is really fucked up: https://caselaw.findlaw.com/ok-court-of-criminal-appeals/125...

She got off basically scot-free (she's on youtube and IG) because she most likely snitched, and it probably helped that she was a young white woman.

Not that Skinner doesn't deserve everything bad that could happen to him, he was the main torturer of Green, and a DEA informant and the reason Pickard got caught, and got life.
In a car, if in doubt you can just press and hold the brake pedal and you reach a safe condition. With the exception of motorways where you first have to pull over to the hard shoulder you can always do that.

In a plane you don't have that single goto option. You have to know the correct response to every possible situation and it's different in each case.

Plus, many mechanical failures in an aircraft will kill you. Most things in a car won't. You need to learn how to look after a plane, and what to check for.
I'm basically sending requests for delete actions from the activity log. So it's not using an API.
If you chargeback Amazon, assumedly you'll never be able to use Amazon again which seems like a pyrrhic victory at best
Can they even do this? I mean legally, I understand that practically they'll get away with much more than what's allowed by law. I don't get why an enforcement agency should have any say with regards to what's legal and what isn't.
Everyone is free to take a moral stance. Just don't push it in my face. I'll look at it myself if I'm interested.
Not to justify their actions, but from their perspective, things probably looks a bit different.

For starters, considering they are federal agents, they have likely been ordered away from their families to take care of a, let's say chaotic situation.
They probably think, they have to take care of a mess others caused.
They are not their citizens, but people they have few things in common.
Finally, they are not received well. The demonstrators and they are different people.

You can see it in other countries too. Riot police from other regions are often a recipe for complications.
This isn't xenophobia, it's just understanding what these visas are for. The purpose of a student visa is that you need to be in the country in order to attend the school. If that's not the case, if you are not going to actually be on the campus, then it makes no sense to demand a student visa.

When this crisis is over, and students actually need to show up to the campus, then the student visa will make sense again.
It may be a feedback loop that makes people read news.

When I was a kid or teenager I used to live in some mountains where even newspapers were rare. Being disconnected for months or years had no negative impact. Working in IT, being disconnected for a couple of years can catastrophic for you because changes are often, not of substance but there are legion of minor things that add up and catching up is possible, but difficult. Therefore I read IT news to keep up and ignore regular news, I don't watch TV and just read the titles of online news for something that I really need to know (like a virus lockdown in my city or country).

In a way I am concerned about the many "show HN: I did <some minor or irrelevant stuff> that I am proud of <and it's so similar with another billion existing solutions for the same problem>"; it gives the impression important things happen, when they don't. This feeds the loop to continue reading for some stuff for the fear of missing something important or useful.
This is not done by just one giant company. Many majors like Amazon and Facebook have been reported to have similar strategies.

This is competition. All the giants want to grow. That's the name of the game. Google is now said to be going against Amazon (and a ton of small e commerce startups) with their product search offering.

Yes, when it comes to booting rival apps off app stores and so forth, I agree, it's a problem. It should be looked at.

But developing copy cat products is unavoidable[0]. Let's say we ban big corps from doing this. Then you'll just see them funding it. This has been going on forever. Most of the time it's just knocking out an undercapitalized startup and actually bringing the product to a much bigger audience at a better price point. The consumer wins.

[0] where IP issues don't apply
This smacks of some kind of

No True Poor Scotsman.

If you expect one lone blogger to address the entire gamut of poor at every scale up to and including global poverty...

Your going to be disappointed.

You might want to give steelmanning a spin - https://en.wikipedia.org/wiki/Straw_man#Steelmanning

Try responding to the strongest possible interpretation of what someone says.
See the little red rectangle on this map?

https://imgur.com/gallery/zJ6dNxf

That's the entirety of the protests in Portland.

Sending in unidentifiable federal officers in unmarked rental vans to snatch away protesters is gross and outrageous government overreach.
I'm really confused about this.

If law enforcement refuses to identify themselves and also, you need to obey the orders of law enforcement but don't need to obey the orders of persons who dress up as law enforcement.. What happens next? For all they know, it could be some random "team" claiming to be a part of the executive branch.

If you resist arrest from someone claiming to be law enforcement but actually isn't, then there's no problem.

If you resist arrest from someone who says they are law enforcement but refuses to prove it, would you still be charged with resisting arrest?

It seems like a catch-22 for the citizen.
Bottler usually has drawings and cutoff that make if very easy to recognize though.
Is that you, amanfrommars?

https://forums.theregister.com/post/search/?q=amanfrommars
Developing countries are growing faster than developed countries so their birth rate could do with a drop
> I am talking about (1) the proof steps involved in proving a given, fixed statement. You are talking about (2) a wider notion that includes the formulation of the statement to be proved.

No, I am not. The original proof used an implicit assumption, which is a problem with the proof proper, not the formulation of the statement to be proved. Using a proof assistant guarantees that there are no implicit assumptions, which is one reason why this work is notable. It rules out an entire class of errors which were present in previous work.
I'm not sure about the medicine example. There are many cases of diseases being ignored because despite being widespread there isn't much money in treating them.
The law, as I understand it, already seems to state that online-only programs do not qualify as a sufficient basis for a student visa. The authorities had previously stated they would ignore this due to the pandemic forcing many students towards online-only programs. Naturally, the legislation didn't foresee something like this pandemic.
Cooking takes time and energy, which you should not value at $0..

If you're not being paid for your time then the value is $0. Most people on HN are on salaries where the hours we work have no direct impact to what we earn.

I'm not suggesting there's no value in choosing what you should spend your time on, but rather that using some imaginary hourly wage to define it is stupid. There are much better ways to choose how to spend your time than dreaming up a threshold of "things that aren't worth $x/hour" vs "things that are worth $x/hour" because it will always end up being the boring, tiresome jobs that fall below that threshold even if they're actually useful or important.

I know a lot of people who claim they don't have time to cook or clean their houses or do gardening, and use the dollar value of their time as a reason. Most of them seem to have time to watch the latest Netflix shows or play videogames though. For some reason watching Stranger Things is apparently worth $100/hour.
If that's true, surely there's a less rambling source available than that one?
Surely the original 'false positive rate' is only wrong if the hash function is 'bad', and thus Bloom wasn't 'incorrect' as much as assuming a perfect hash function.
Theory / 2 Cents: don't just work on a GUI for spaced repetition cards, invent an open file format for spaced repetition (perhaps an XML plus an schema, or a JSON based file format, a subset of HTML or markdown, etc...).

The idea is that you create a file format spec, perhaps even some open source libraries to operate on the file format. And then you sell a really nice GUI for editing that (perhaps a web page, perhaps a mobile app, perhaps both?).

If your format is good people will use it, perhaps create new editors for it: if you have competition on GUIs it means you succeeded :-). Some people may be willing to pay for a hosted version or an app, others will likely host it themselves, I'm sure people would donate to you, the main developer if that was the case.
I also went to a good but unknown school and was recruited by Amazon and Google. As far as I can tell it was purely due to applicable work experience (which I got working in companies you never heard of).
Yes, I'm running some apps v.g. Emacs in a Libertine container.
How to Make an Effective Video Ad Campaign
I find this article very interesting. I'm coming at this from the other way around. I am a Site Reliability Engineer, so I've been writing code, architecting systems, building networks etc for 8 years professionally; I am however eyeing a more security oriented position so only now I am looking at courses and training.
I watch protest live-streams on one of my monitors every evening as I code and design. It’s not the absolute focus of my attention, but I have done this for months, and there is something very wrong with the impression I receive from this NYT video.

Specifically, the courthouse attacks absolutely and without a doubt preceded Federal response. These were not peaceful protests that the Federal action prodded into violence.

Consider the timeline.

May 29: A vigil in North Portland is followed later in the evening by a march downtown. A small group breaks into the Justice Center and sets a fire. Several businesses, including the Apple Store, are looted. Police declare a riot and arrest 13 people.

May 30: Mayor Ted Wheeler declares a state of emergency and announces a citywide 8 p.m. curfew. A large protest at the Justice Center turns ugly, more businesses are looted, and more illegal fires are set. The protest ends after police tear gas the crowd. Fifty-one people are arrested.

............

July 4th: Federal police response begins in Portland.
Some students are from an opposite time zone. Others don't even have a reliable network in their home country. Not allowing the students to come to the country hosting their courses is really silly.
I think the issue that the article skirts around is that front-end work involves UI design and styling. So sure, both involve using sophisticated modern programming languages etc, but the presence of visual styling work is unique to the front end and specifically what a lot of back end programmers feel they are unable to contribute to. I know that many javascript engineers feel similarly about their design and styling skills, but still, in my opinion the presence of UI design and styling in frontend work is the main contributor to the cultural/team separation.
New 3D depigmentation technique enables high-res imaging of intact organisms