skysight-inc/HackerNews huggingface dataset:
Another attempt at a sqrt-free "uniform point nearly in circle": point in regular N-gon. It's easy (work not shown) to sample a point uniformly within a triangle.

Sample from the triangle that has (0,0), (1,0) and (cos 2pi/N, sin 2pi/N) as its vertices. Then uniformly pick an integer M from 0 to (N-1) and [by table look-up of sin/cos] rotate this point by the angle M*2pi/N. Even for modest values like N=128, 256 this is very close to a circle (around .1% error).

However, I'm not familiar enough with GPU compute to know if this maps well onto the available operations. It seems like a table look-up is a lot like a texture look-up so I'm tempted to assert it should be fast.
I tried it when it came out but it was so full of glitches that I gave up on it. I should check if it's been patched at all
I use a text-only browser that has no suport for JS or CSS. I use it to read and comment on HN and to read every website submitted to HN. I have no idea what these websites look like in graphical browsers, but I can read 100% of them. I do not see fonts, images, layout, etc. I just read text and download files. For searching and downloading video from YouTube, I do not even use a text-only browser. I do everything from the command line. The only time I use a graphical browser that runs Javascript is for online shopping, banking and so forth. That is a very small percentage of overall internet use for me.
Ah yes, the "the gov. is too powerful so what's the point of fighting tyranny" talking point.

The tank premise is almost as stupid as Biden's nukes / jets threat against the American people.

A country is not going to carpet bomb, send tanks in, or nuke its own people / land.

It takes a lot of brainwashing to get your soldiers to do that to their own people and direct force like that will lead to instant revolts.

What is much more likely is a KGB like secret police that goes around black bagging people, etc. You're much less likely to be able to do that when you know the civilian population has more guns than your secret police.
Because the web isn't practically browsable without js, so rather than users fiddling with noscript and ending up disabling a ton of security features, instead they just turned js on.
I was looking for a rust job recently and got the same impression that most of them are in crypto :|
Amazon's language for storefront UI templates is Perl [1]. When I joined, I couldn't help but laugh that poor developers are dragged through the hell of 5 leetcode interviews to end up working on a UI framework that is 25 years old.

[1] http://www.masonhq.com/sites

Edit: I left in 2013 so I don't know if it's still the case.
You assume that 1/3 the per capita shootings for 1/3 of the guns means a difference in policy has no effect. I think you are seeing an irrelevant correlation. Mass shooters are carried out by individuals who seek out a gun to commit a crime. Difficulty to get a gun especially if you are a person of problematic character or history seems relevant. Sheer number of guns not so much. If it were merely as difficult for your problem child to get a gun as in the US and other factors were equal one would expect as many mass shootings per capita not some factor based on relative number of guns available to the total population.

That is to say that if evil bob can go by a rifle and go downtown to whack the neighborhood it is as irrelevant as it is possible to be if 2 or 20 of his neighbors are gun owners unless they are literally shooting back at him right now.

Essentially you are looking at a partial success story through a lens of faulty analysis and concluding that nothing is working.
I appreciate the economic sentiment of your comment. On the other hand it still sucks for anyone who got laid off.
I found Perl suffered from dependency issues as well. Not the language but the modules you tend to want to use. Especially when they're underpinned by c libraries. I'd preference operating system libraries then fall back to Cpan. Over time it got harder to maintain older applications as the libraries dropped out of repositories. Have you found anything similar?
Yup, and as you automate some tasks, new ones keep popping up. I love Factorio and have had a similar thought, but no idea how it could be made to work. Definitely something I would be interested to see, though. At the same time, I enjoy the medieval/historic setting for this type of game and have liked the thought of mixing RPG elements with the economic aspects as well.
Your last two paragraphs describe Rust’s process differently than I would in comparison to this suggestion.

First, significant new language features are introduced all the time, even in stable, all of them enabled by default (indeed, there’s no way to turn them off).

Nightly’s #![feature(…)] is strictly for experimental stuff that is buggy and/or will change until stable release. I’m sure you know this, but all of those are intended to be backwards compatible! I think that’s a big difference.

Incompatible changes in Rust never happen with “features” (as you know, stable doesn’t even have those), but only with “editions”. The goal of an edition is to carve out a large chunk of future design space, like introducing some keywords for planned features, or rarely, fixing really annoying inconsistencies that require a breaking change. They feel a lot more proactive (we want to do this, we need an edition) than retroactive.
"The data" is showing that there's only one place in the world where this shit happens this often.
Not really. Two actors have more roles and more success than one actor, self-realization tends to be additive and never enough.
Goto is usually used to break out of loops, to skip to cleanup and in state machines. With labeled loop control and defer these usages become unnecessary, but state still has no good alternative (switch is not exactly a substitution, for+switch is indent-noisy).

Also, people who hate goto actually do hate state machines carved into a structured code, afaiu. (You can do that without goto, ironically, with the same effect of “wtf is going on”). These have some uses, but mostly in generated algorithms with some natural statefulness.
> because Perl has not introduced breaking changes since 5.000.

I was curious and you made me check. There's a number of releases with incompatible changes listed if you google for it. For example a whole list at https://perldoc.perl.org/5.12.0/perldelta#Other-potentially-... So no, there's been quite a few.
I feel there's a theorem here waiting to be formalized.
What about the european countries without "equalizers"?

https://www.nationmaster.com/country-info/compare/Spain/Unit...
https://www.nationmaster.com/country-info/compare/Germany/Un...
https://www.nationmaster.com/country-info/compare/Denmark/Un...
https://www.nationmaster.com/country-info/compare/Italy/Unit...
https://www.nationmaster.com/country-info/compare/France/Uni...
https://www.nationmaster.com/country-info/compare/Austria/Un...

> You see an increase in crimes against people when the equalizing force of guns is removed: assaults, muggings, home invasions, rapes, etc. Guns can (and do) allow smaller men, women, and the elderly to defend themselves with lethal force — against stronger aggressors.

Sorry but to my european ears, this "equalizing force" theory sounds plain stupid. I get that it is not that easy to ban them because we have different traditions and background, and I get that it is really hard to ban something when people is used to it and that it could lead to unexpected consequences (black market, etc).

But defending guns as an "equalizing force" is just stupid, given the stats.
If the lockdown itself had no economic cost or death toll, then one could perhaps claim this means it was a clear victory, but that is not something many believe.
I don't think less code = less security issues. Often using those secure-by-default frameworks require more code.

The simplest example in PHP (highlighted in the article for its default-insecurity):

echo '<h1>Hello ' . $_GET['name'] . '</h1>';

is vulnerable to XSS.

echo '<h1>Hello ' . htmlentities($_GET['name']) . '</h1>';

is not vulnerable
I’m not sure about the wealth of the country , but many people still don’t have running water or plumbing.

https://www.washingtonpost.com/national/after-generations-of...

That’s a problem that seems to Mostly being addressed by nonprofits very slowly, and not the government …
Can anyone advocate here their thoughts to "must use" Perl for any scripts / projects?
Project Volterra: Microsoft announces Windows 11 on ARM developer kit
As a non-American I found Heather Cox-Richardson's recent substack newsletter post [1] to be useful in understanding how the US has got to this point. She's a history professor at Boston College and she does a good job of describing how gun ownership and control came to be (intentionally) politicised, and how the NRA's role has changed over time.

Honestly, I don't see how the US is ever going to dig itself out of this hole. The reward system that leads to the perpetuating the culture war that lies behind this problem (among many others) just seems too strong. It's deeply structural and embedded in US culture, and there doesn't seem to be a way to change it. I wish there was.

[1] https://heathercoxrichardson.substack.com/p/may-24-2022
The Burroughs user environment was a thing called CANDE - which really wasn't much fun at all:

https://en.wikipedia.org/wiki/CANDE
Impressive work, well done!
They have and they do. If you recall, there were marches and protests across the US after the Parkland school shooting.

However, there are 50+ Senators, disproportionally representing low population, rural states, that are beholden to the NRA and its illegal funding and mis/dis-information campaigns.

There are Senators today suggesting that schools be turned into prison-like places (Cruz with his "one door in and out" nonsense), that others are suggesting arming teachers, while ignoring the fact that the school protection officer and local law enforcement engaged the murderer in this school shooting but failed to apprehend or stop him and the SWAT team took 40 minutes to engage the murderer and eliminate the threat.

People have been marching and protesting and demonstrating continuously and yet there is a specific party, the Republicans, and specific lobby groups, that have stopped any change.
Critical Zoom vulnerabilities fixed last week required no user interaction
Very interesting!

Props to your quick thinking!
Not new, but I'm currently working on a freelance project modernising the front end / UI of a bioinformatics platform that's written in Perl. Also I wouldn't say it's in maintenance mode, there are new features being developed for it all the time.
Anecdotal evidence, but I work with tons of people who ride those scooters to work. Most of them have one of their own though.
Firstly, this is pretty awesome, love it. I have a few questions:

* I applaud the work to have it run on tiny-bandwidths, how hard would it be to up the frame-rate to 60?

* How well does "framing" work? Are you able to add flexible amounts of padding around the head or is very focussed on a face taking up the whole canvas?

* How much does it "cheat". Is it firing only feature-maps so if I have a spot on my chin does it loose it in translation?

* How did you build the face-recogniser? Is it bespoke or a library?

* Is there a testing framework? Does it work on diverse faces?
> it isn't like there was any choice on that matter

There was another choice. This is what I mean: however bad you think py2->py3 was, people are using py3 now unless they've got really good reasons not to and are prepared to suffer. When it came to perl5/6, it turns out over time most people choose "neither".

SUSE didn't update the link like others did so it's not really that py2 is the default, but python2 was always named python. It's going away anyway: https://www.suse.com/releasenotes/x86_64/SUSE-SLES/15-SP3/in...
I mean weak dollar. For instance $1USD will get you around $1.5NZD. With the average developer earning a little over $100,000NZD you are looking at around $66,000USD. Much cheaper than many other options. However they're still native English speakers with a very western culture.

You're right about volatility too, the NZD doesn't swing too wildly.
See also: Pew's in-depth 2017 report: https://www.pewresearch.org/social-trends/2017/06/22/america...
I maintain a table with release history for Android builds: https://divestos.org/misc/ffa-dates.txt
It's much more convenient if you have a system for doing groceries. Compare visiting 2 stores in walking distance (~ 90 minutes total) vs putting a predefined list into your basket and optionally add or remove a few items (~ 10 minutes).
The only person shot was an unarmed terrorist that, after repeated warnings not to proceed, while attempting to break through a barrier that was keeping a mob away from elected representatives, broke through that barrier.

I think it shows remarkable restraint by the security and protection officers that more people weren't shot on January 6th.

And it is untrue that "civilians" "chose" not to bring guns. There were numerous people that had preparations to be armed and were actively working to that end.

They are currently being tried for sedition.
Great work!

Also, where can I learn about your edge AI smart camera system?
Perhaps Tails copy/pasted the page from an older notice?

Although the two patches have now been public for ~6 days at this point.
Your data doesn’t show what you think it shows. Homicides is not gun deaths, because in Australia the number of gun deaths is so small. There are other ways to Kill someone.
Same, and quite often it would't bloody work!
Yeah me as well. It’s not really “supported” right?
> Generally, the major foot-gun that got a lot of places in trouble was the premature move to microservices, architectures that relied on distributed computing, and messaging-heavy designs.

Finally, someone said it
The thing I'm working on has 5 main repos that all run (yarn start) for the app to be fully functional.

I need to put that down somewhere the order/matching branches.
A piece of news about Fast is listed twice, once under Fast and once under Fastly. I’m not aware of any Fastly layoffs.
Judging by the post and the user's post history, almost certainly 'we' refers to Mozilla.
The problem is simple means diffrent thing in a small codebase than in a big one.
A bunch of if statements in a code that is small enough to understand everything is ok but when it become big it's hard to understand flow of data.

I do favor simple code but some complexity/abstracion is needed to make it easier to understand
OK, but Twitter is a special case. After the breach the FTC brought charges against Twitter and mandated that the company implement a more robust security program.

This should have hurt Twitter way more.
The Bushmaster: From Concept to Combat
having 1 go-to tool / system never worked for me.. My favourite setup for years used to be plain text files which I'd use for brain dump, tasks etc. as it was flexible, simple and I owned my data. Though it had its own shortcomings and I still ended up using some other tools on top of it, not to mention the tools your team requires you to use.. Your whole information / time management setup becomes a mess very quickly.

Why not integrate these systems into 1 lightweight interface and make it collaborative and integrated? I'm trying to scratch my own itch with building https://acreom.com.
Anecdote of course but I'm in the states and I love grocery delivery. It's far better, imo, than food delivery ever was. I can order my groceries a few minutes before I get off work and by the time I get home I have everything I need to cook supper.

I'm generally not a huge fan of hyper-convience and often take the mentality of "I can just do it myself" but in this case I very much embrace the delivery of groceries.
Yes, and these changes are feature flagged and optional and would not affect existing scripts.
I hope we can agree that Python 3 was qualitatively different because all of your libraries had to migrate first.

Now, your new argument depends on how hard it is to migrate a single file. If that’s sufficiently easy, you simply do it. Migrating to the last Rust edition, I had to fix maybe a handful of things in an entire crate; most files didn’t have to be touched at all.
The general assumption of politically active gun owners in the US is that any attempt to regulate guns is a back-door route to try and outlaw gun ownership. This seems like an accurate assessment of how US gun politics actually works. Even consumer safety law intended to protect against dangerously defective products was used to push gun control under the pretext that firing reliably when called upon to do so was a dangerous defect - and now consumer safety law no longer applies to guns in the US because gun owners no longer trust the government with that power.
One of the benefits of being a home and car audio salesperson during college was access to some cool gear plus incredible employee discounts (typically 50% off retail price).

A unit missing from this article is the DAT player. I had the Sony DTX-10 DAT player which also controlled a 10-disc CD player which was mounted in the trunk.

Now that's all obsolete thanks to streaming (and downloaded) music.

The DAT player was effectively your mix-tape machine, at CD quality. Of course to have anything to play, you also needed the home DAT unit which was connected to your CD player so you could build (record) your playlist (mixtape).

For mostly better, but also a little worse, it's almost no effort to select, arrange, and play almost any music you want. The tactile experience is lost, which is a shame. There's something very satisfying about handling the media, pressing the real buttons, and waiting for the music to play the first time as you're recording it onto the DAT (same experience applies for recording cassette mixtapes in the older days).

Humorously, the old car which I installed the DAT player into was the same car that originally had an 8-track tape player (which worked, and for which I had a few tapes I listed to).
Please define "being part of a well-regulated militia" in terms of bearing arms in the current US situation.

The entire premise of individuals owning weapons is based on that "well-regulated militia", yet no such entities actually exist in 2022.
For more in-depth reading: https://s3-ap-southeast-2.amazonaws.com/ad-aspi/2019-12/The%...
This seems to be a tool for devs, the pricing, capabilities and so on reflect that. This seems to be something between phpmyadmin and datagrip with a unique touch. More of a IDE/inspection type of thing.

Metabase is a great tool but occupies a different space. It’s more about rich visual affordances.
You're right, and this is why I don't use third-party modules. If I need something I can't write myself, I use the shell version instead of a module.
> Gun crimes usually happen in strict gun controlled areas because criminals know it's unlikely they will be met with force.

Huh. That's an interesting point. I wonder if there are statistics showing that there is less gun crime in states with more lax gun laws.

Edit: I found two things:

https://injuryprevention.bmj.com/content/22/3/216.full

https://www.vox.com/policy-and-politics/2017/10/2/16399418/a...

Seems like the opposite is true. States with easier gun laws have far more gun deaths. It does not seem like guns prevent crime really. If that was the case, then states with the most guns would have the least gun deaths, no?
Not OP but

> Yes, they are pretty much making you in parts of the US, because things are so bad.

Where cause I live in that scary city called Chicago that people like to mention and have never felt the need to have a gun. We do have a lot of shootings but we also have a lot of people. If our metro area was a country, we'd be more populous than >50% of all countries (139/235).

> Not just because "I find them scary", but because they are literally dangerous. They are made to kill. That's their only purpose.

Or you know, sport. I find shooting clay pigeons or just general target practice to be fun.
As I have young children of my own today, I'm faced with these questions. What is a healthy amount of pushing vs too much?

What about not at all? The only thing they need to be good, not even best, is the studies that will enable them to work. Just help them if they're falling behind. Os support them if they seem to have a passion for something in particular. But otherwise, let them have a life.
Taking out 4% is usually considered the safe bet on keeping the original money at the same value year after year with the remaining excess returns accounting for inflation.

Even if that amount is too much for 2022 and 2023 due to higher inflation, during other years, it will be too conservative. So it evens out. Plus there’s recessions too. So the 4% is an average.
> What is a healthy amount of pushing vs too much?

I think that's really hard to answer. I was in a sort of opposite situation as you were as a kid. My sister and I started piano lessons when I was 7 or 8 years old. They went on for a year and a half or so. Neither of us liked practicing. Our mom told us if we didn't practice, we wouldn't have lessons anymore. So... we didn't have lessons anymore. Today, I really wish I could play, and wish my parents had pushed us harder to stick with the lessons.

But I could very easily see it going the other way (if not for piano, than for something else), with my sister and I being forced to do something we hated. So yeah, really hard to figure out where that balance is.

In contrast, just a couple years later I started playing trumpet in school, and did stick with that, at least through college. I was quite good at it (not really to the point I could play professionally, but good enough to score well in local and regional amateur competitions). But it's kinda hard to play a loud brass instrument in apartment and condo buildings without making some angry neighbors. It's another reason why I wish I could play piano, since electric ones have volume controls and headphone jacks.

Of course, obviously taking piano lessons is a much much much much more minor thing than being forced to be a child star and contemplating suicide...
It may not be in that repo for much longer: https://gitlab.com/guardianproject/fdroid-metadata/-/issues/...
Perl is very well suited for certain tasks (not large software systems, but programs that process data). It is also one of very few languages/ecosystems where you can expect your code to work after >10 years. This is why I sometimes use it, for example my fs consistency checker (https://github.com/jwr/ccheck) was written in Perl specifically because it's a long-term tool and I would like to be able to run it on any system in 15 years.

Compare this long-term approach with the fires in Python or (heaven forbid) Node ecosystems, where things break all the time.
#2 - type 'man locate'

It'll change your life when it comes to searching on your local machine. Mind you just for files. It does not index tags nor metadata.
I pay for that luxury, and I like it. For me it‘s a short-distance bicycle without the parking problem (i.e. need to pick up my bike later). I live in Stockholm.

For longer distances I prefer bicycles. In London, for example, the Santander bikes are fantastic.
If the EU was making a directive on this topic it would not differentiate between company sizes because it thinks that the company size has a relation to how addictive their product is.

The reason why it would differentiate on size is precisely the reasoning you presented in your previous post. Because it doesn't want to create moats around big existing players on the market. If you look at the act the GP linked to you'll see that one of its purposes it to tear down a non regulatory moat that those big existing player have.

And because a small company, without a doubt, has less potential for harm on a societal level than a big company.
If you move your mouse between two of the boxes the tooltip goes crazy and opens and closes in a loop very quickly.