skysight-inc/HackerNews huggingface dataset:
So is the author suggesting that a while loop like this:

while not quitRequested:
processNextEvent()

Should be rewritten to this?

for i in range(999999):
if quitRequested:
break
processNextEvent()

Because that's supposedly guaranteed to halt? If so he's either joking or crazy. And his program will crash for his poor users after 999999 events.
This. I'm in NSW, and I support the lockdowns. Hell, I'm annoyed that our Govt appears to have given up on Covid-Zero, unlike other states.

I do think the NSW govt is hoping that with a high vaccination rate, they can treat delta the same as original covid, and completely eradicate it without doing lockdowns. Will see how that goes.
See Batyr (linked from the wiki)

“Like all cases of talking animals, these claims are subject to the observer-expectancy effect.“

https://en.wikipedia.org/wiki/Batyr

I’m curious how much this was studied scientifically.
>one week later a second set revealed a really nice oblique displaced fracture

was that taken in different angle / perspective ?
Or carbon taxes - at least until shipping and air freight go green
> there is no method to test whether the object I pointed to still exists

There probably is such a method, but you'd have to invoke it on the object, not on some other unrelated object.
The Renaissance group is pretty well known for exactly the opposite of that, however.
And quite good for anyone doing security audits, due to the coding practices adopted by them.

Plenty of stuff to report on.
I guess `quitRequested` falls in:

> anything that runs for as long as the user says it should run;

Per the article...
apps are designed with many goals, and have to make compromises on where they put their efforts. i'm sure they would all love to have the resources to devote to theming, but it's not realistict to expect apps to prioritize theme support over core functionality.

and even if they were designed to be themeable, that doesn't address many of the other concerns here - designing an app to be themeable doesn't automatically update the documentation with whatever custom themes get applied, or ensure that the icons you've chosen in your theme make sense in the context of the app.
"apps should be themeable" seems to be the point of this manifesto - the app developers could just block themeing entirely if they wanted to. they don't want to do that, they seem to just be asking that if a distro wants to apply a theme to an app, then that distro should be the ones doing the QA to make sure the app still functions as intended with the custom theme, and that documentation is still available for users who experience the themed version of the app.
I think Göran Weinholt summarises it well, but from a pro-r6rs perspective: https://weinholt.se/articles/r7rs-vs-r6rs/
I have a slight resentment towards the complainant in this article who accused her boss of sexism for giving her feedback on her speaking mannerisms during presentations (voice "going up an octave at the end of statements").

I managed a junior, female engineer who did exactly that --her voice turned up at the end of sentences, making statements always sound like questions-- and I noticed this only happened during stressful presentations, not in regular conversation or team meetings. It destroyed any authority in her voice and made her sound rather childlike. I worked on it with her without mentioning the pitch shift itself (to not make her self-conscious and possibly worsen the problem) but instead I worked to increase her overall confidence when speaking and when running meetings. And I was so happy when I saw her run a multi-team meeting with a strong, steady voice.

I resent the notion that if I had mentioned the pitch shift, I could be labeled sexist.
The assertion that people don't preload mechanical keyboards when gaming is fairly ridiculous.
Also worth remembering that a perl statement can be converted into an expression with a do block, so you can write

my $x = do {
if (foo()) {
4
} else {
5
}
};

(and yes, I know, that example would look fine as a ternary - but this is meant to illustrate the syntax possibility, not where I'd specifically use it - and once the logic within one of the two conditional branches gets more complicated, switching to do+if+else can make for clearer code)
> lot of other Democrats would say something more like "Of course they're bad for business; that's the point! We hate business and we want to punish it for being business."

That's an extraordinary suggestion. Why would any political party adopt that position?
Prune Remotely Merged Branches
> I'm surprised by the section on including key travel time in the latency measures. Wasn't the Apple 2 keyboard about comparable in travel distance and resistance to today's typical mechanical keyboard switches?

>>A major source of latency is key travel time. It’s not a coincidence that the quickest keyboard measured also has the shortest key travel distance by a large margin. The video setup I’m using to measure end-to-end latency is a 240 fps camera, which means that frames are 4ms apart. When videoing “normal" keypresses and typing, it takes 4-8 frames for a key to become fully depressed. Most switches will start firing before the key is fully depressed, but the key travel time is still significant and can easily add 10ms of delay (or more, depending on the switch mechanism). Contrast this to the Apple "magic" keyboard measured, where the key travel is so short that it can’t be captured with a 240 fps camera, indicating that the key travel time is < 4ms.

Yeah, I don't get that either.

It should be the time a key makes contact to the time the signal is sent. If I were to design that I would make an external trigger that connects to the solder pads of the key and start the timer on the logic analyser.

I like my keys with a lot of travel and a good thunk when they send the signal.

This would penalize them extensively for doing exactly what I want.

I mean if you want fast keyboards capacitive key caps would be even faster, but I've yet to meet anyone who has replaced their keyboard with a tablet.
If you mean democracy as "direct democracy" which requires only a voting procedure (which btw is not the system used in the US) then yes, sure. I suspect most people, when they say "democracy", mean something slightly different - a political system which guarantees every citizen certain rights and freedoms, beyond the ability to vote. In democracy-as-voting certainly the amount of freedom may differ substantially - people could vote to oppress a minority, to ban free speech, even to murder people that dissent from the majority on any issue... it's all compatible with democracy-as-voting. It's certainly not compatible with democracy as political system we're used to in certain countries (usually called "Western model" though there are democratic countries now all over the globe, thankfully). I think that's what the article is about.
After looking at that product page and seeing how something that looks innocuous can be so insidious, does anyone else wonder just a bit whether the page is not so innocent and visiting it may have been a mistake.
> You know what else doesn’t have unbounded loops? Excel.

Right, one of the many reasons why nobody (with half a brain) hosts a web server in Excel.

I wonder how much "boring web app" experience the author had. If I'm debugging on 11 pm why the webserver is timing out talking to microservice A, but only if it first opened connection to service B, and someone strolls along saying "Hey, your code is bad because it's using unbounded computation," then god help us, because I might lose it. (Well, shrug, the worst that can happen is that I may rage-quit on the spot. I'm not a very imposing guy.)
if you watch any of the woodworker youtube channels, this is basically what they do in their shops. a little more elegant, with wooden enclosures (of course), but the idea is the same -- regular house filter on a fan.
Yes. Things like closing borders and instituting quarantine for returning travelers, using high testing numbers, contact tracing, and short lockdowns, to ensure covid-zero.

Also, Australia is ridiculously dense. Most of our pop is in capital cities. it's big and empty.
Reading the article makes me wonder how many close family members and friends the author might be willing to lose before deciding that a temporary requirement to wear masks out in public places is a reasonable step.
Any chance the zip password was bruteforced?
It wasn't even really until the modern web that this happened; the browser is called the User Agent because it's acting on behalf of the user, not the website. CSS Zen Garden showed what you could do just by changing CSS. Even today though you can still do what you want to a lot of sites, from adblocking, to restyling with things like Stylus, or full custom JS with Greasemonkey/Tampermonkey. It's the OS apps that are less customizable, but I don't want them to become even less so.
Why is everyone on the internet so argumentative (ironic i know)?

Just say "Our apps aren't designed to work with themes. Take this into consideration when you distribute or use a distributed theme". Yeah it's more passive. But with the former, you're starting fights with people for no reason. You don't care when users theme your app, you care when they download a themed version and complain to you when it's broken.

And users too, need to stop rudely complaining when a free and open-source app doesn't support some theme. They don't have any obligation to do anything. People being rude to OSS maintainers drives them to leave open-source and avoid features (like themes).
You can whip up such a DAC with the GPIO pins of a Raspberry Pi. I did so once one afternoon while bored. I used 5% tolerance resistors I had in the toolbox. It was slightly more than adequate for understandable speech, and recognizable music, but the noise was atrocious. I suspect jitter was terrible as I was just toggling the pins from userspace approximately 40000 times a second. Still, it surprised me how effective it was considering it was literally made out of about 5 cents worth of wire.
I suggest that you maybe looking at/doing it wrong. See my other comments in this thread for some notes that may inspire you to give it another try but with a different mindset. The reason i say this is that i used to be in the same boat i.e. i can do everything within my head and don't need any external crutches. But once complexity really swamped me (it has become the norm now) nothing but pen and paper has helped me to effectively tame it. See also Dijkstra's paper, The Humble Programmer.
ACK (06) is ASCII for Acknowledge.

"In data networking, telecommunications, and computer buses, an acknowledgment (ACK) is a signal that is passed between communicating processes, computers, or devices to signify acknowledgment, or receipt of message, as part of a communications protocol."
> ... Usenet Groups.

i soooooo miss "nn".
While I appreciate the idea of bounded loops, it's a mistake to think that a `for` loop is necessarily bounded.

It's pretty easy to write a generator that produces an infinite sequence. That generator, of course, would need a `while` loop, but that loop can be in an external dependency which the linter is not checking.

You also can read way more than you expected if you use a `for` loop to read from a socket, or a file, to say nothing about reading from /dev/random.

Not that it's a bad advice, but it's not a rule, it's more like a... guideline. Discretion is still needed.
In the US there was a 7% increase in traffic fatalities from 36,096 in 2019 to 38,680 in 2020.
https://www.nhtsa.gov/press-releases/2020-fatality-data-show...
Try expressing yourself with answering n questions with a single yes/no answer that has to apply to all at once. You can't even order a family pizza that way; no matter how you align yes/no boundaries there is huge compression loss, and a massive dependence on whoever picks the questions and the boundaries.
Since this has generated some discussion on locks and picking, there's been some interesting developments on "unpickable locks" that sidestep the tolerance problem by decoupling setting the pins from testing them. I.e. pins are tested all at once after they are physically decoupled from the key & keyway, eliminating state space reduction attacks (aka picking one pin at a time) leaving only brute force.

One such effort features locks made by Stuff Made Here sent to Lock Picking Lawyer. According to LPL the locks are theoretically sound and he did not attempt to pick them, but these particular implementations had a couple (easily fixable) bypasses. Made for interesting videos on both sides:

Stuff Made Here describes the design in detail: TWO Unpickable (?) Locks for Lock Picking Lawyer! - https://www.youtube.com/watch?v=2A2NY29iQdI

Lock Picking Lawyer reviews them and performs some bypasses: [1299] Unpickable Locks From Stuff Made Here - https://www.youtube.com/watch?v=Ecy1FBdCRbQ
The lack of vaccination can be squarely blamed at the federal gov't of australia, where they squandered their vaccination roll out by putting all their eggs in one Astrazenica basket, and not ordering enough pfizer doses. Then, after the blood clotting risks of AZ was verified, obviously many younger people in australia is going to be hesitant in taking AZ, when the covid cases are low.

And the AZ deals the gov't has made was not transparent, which reeks of corruption, and it bit them in the ass now. Even now, the gov't (note, the gov't, not the medical community) is recommending that young people talk to their GP and take AZ (conveniently, this absolves the gov't of the responsibility of providing more pfizer, and force the young people between a rock and a hard place in terms of risk).

So if there are any australians here reading this, you will do well to never vote for the liberal party in your life time.
I have had a horrible time getting this to work with dokku/docker, etc. after a few days of wrestling. Once "up", a couple of pages would not render for me at all. So I moved to mailcoach (early days, just being honest. mautic was too heavy, mailtrain seemed dated). I am trying to move away from projects with a small number of developers; it's too hard on all involved. I greatly admire the work and overall generosity of the offering however.
That would be shooting yourself in the foot really. Hackers hacking hackers?
Well his linter flags every occurrence, apparently. Because "that’s the fact of the matter, and you need to come to grips with it."
I could certainly see a linter that says "are you sure?" before you initially add a while loop to make you ask yourself if that's really the best option being quite neat.

The trick would be making it sufficiently useful and minimally annoying that people don't get angry and turn it off.
Yeah, Python's willingness to break up conceptual concepts into separate parts of an expression such that you might need to backtrack while reading has always seemed an odd choice to me, exemplified by list comprehensions, especially when nested.
The chip shortage keeps getting worse – why can't we just make more?
Yes I had that thought too. However I was glad to learn of it's existence so at least I know what is scarily possible.
Can you retest with experimental virtualization enabled? At least on my M1 this boosted performance a LOT (in addition to using gRPC FUSE mounts, as a other commenter also posted)
The possibility of a post-climate crisis feudal system is officially on the table. How terrifying.
I agree with you about the apple magic keyboard. It hurts quite badly!
Observation of an exotic narrow doubly charmed tetraquark
Yeah, but have you worked at the DARPA level?
I tried pencils but I find text written pencils to be too faint. I find it uncomfortable to read. But pen writes text in bright blue color which is more pleasing to read.
From European experience: dealing with violent crime and writing reports for insurance claims for others.
The authors took care to carefully express their intentions, wishes, and argument. I find it disappointing to see many comments like this that want to injure more than discuss.

A conversation about the expectations and burdens that people take on when volunteering their time to develop open source software is beneficial to everyone, and at the very least it is worth understanding their point of view. Maybe some solution results from speaking up. Maybe not, but at least they tried to engage with people before giving up.
> Please respond to the strongest plausible interpretation of what someone says, not a weaker one that's easier to criticize. Assume good faith.

Pretty sure this includes the article, too. ;)
I had a black page with JavaScript disabled. You should at least display a message "please enable JavaScript".
> I would not in a million years trade Australia's restrictions for those of the United States just to exchange Australia's death rate with that of the US

so tell me if you know personally anyone who has died? What if that trade includes someone from your family? Does your tune suddenly change if the lack of restrictions would affect you?

All i hear is that you feel you don't want to make any sacrifices, because it only benefits somebody else.
Does anyone else experience massive latency with Apple's keyboard/case for iPad Pro? Mine is unusable in Pages (better in Notes), and often the first keystroke is missed, regardless of which app I'm in. Super annoying defect in an otherwise enjoyable keyboard.
debugging a machine learning algorithm is already hard without this approximation method. I can see adding another layer could make it extremely harder.
(The USSR had an above-replacement fertility rate under Stalin. Population and GDP growth is not exactly a capitalist thing.)

Barring anything better, we're stuck with the null hypothesis: getting out a ruler and extending the trend line into the future.

If the population is growing, then eventually Japan would have billions of people where there are currently hundreds of millions. There was much speculation in the 50s on how you could deal with that scenario if it happened, but it's not looking very likely now.

If the population is exactly static, one person born for every death: not too bad. You could call it "stagnation" if you wanted to be negative.

If the population is declining: it will eventually hit zero, and the country will cease to exist. Japan's population declined by 1.8 million people between 2010 and 2019. If the decline is linear, (which it won't be, considering their age distribution) then that has them hitting zero in 2089! If you think that scenario won't happen, then please provide your reason. "That would be terrible, so it won't" isn't a reason.

The UN population projections show European and North American fertility rates leveling off and even increasing. That would be very good news, if true! Fortunately, they explain their reasoning: https://population.un.org/wpp/Publications/Files/WPP2019_Hig...

>The fact that fertility preferences remain close to two children per woman, even as realized fertility has fallen well below that level, suggests that the fertility rate in low-fertility countries may increase as populations learn to manage and mitigate some or all impeding factors. The trend in many countries towards gender equality and women’s empowerment, as well as expanded access to sexual and reproductive health care and services, also indicates that it may become possible for more women and couples in current low-fertility countries to achieve their desired family size, eventually raising the average fertility levels. Given that a growing number of countries is expressing a desire to increase the fertility rate and that some have achieved this outcome, supported by government policies and programmes, a rebound in the fertility trend in current low-fertility countries seems the most plausible future trajectory over the long run.

I am not seeing where this optimism is coming from. A graph of fertility rates for a basket of European countries shows a pronounced sub-replacement horizontal trend, with no sustained growth or decay. https://data.worldbank.org/indicator/SP.DYN.TFRT.IN?location... This foretells a gentle decline, rather than the sharp crash that's apparently in the cards for China, Japan and South Korea; but provides absolutely no evidence that more "reproductive health services" will rescue us.
> A simple cloth mask doesn't really protect the wearer; it protects others from the wearer.

Sure. I'd call that 'different' rather than 'better', but I suppose it's subjective.

> Obviously, a HEPA filter is orders of magnitude better.

You would think, and yet my comment saying so, objecting to 'masks are better than an air filter' (when qualified to ill-fitting cloth as worn by most) is apparently highly objectionable.

> But, is there a HEPA filter directly between you and the person next to you in line at the supermarket?

Not a comparison I made, but yeah, if I went to a supermarket (I'm not, because I almost entirely had groceries delivered pre-pandemic, so now easily enough entirely) I would wear an FFP3 dust mask rather than ill-fitting cloth, which is two nines to HEPA's 3.5.

(More than that is probably not justified since fit won't be perfect, some leakage. Industrially etc. where there's a need for greater filtration I expect that's when you have to step up to fully enclosed hoods. I digress..)
I recently switched to Ergodox keyboard and was wondering about latency since it felt like the keyboard had lag, but I attributed it to learning period.

I was like - no way this is happening, since Ergodox is using USB cable whereas I used Apple's keyboard before. This seems to confirm my feeling.

Interestingly, I think that it's highlighted the most in Slack which is slow enough bloatware to have a lot of latency already and those extra milliseconds just add up. The simpler the editor the smaller the impact I think.
The people are anti-vaxxers engaging in an anti-masking protest. Police arrive to arrest them, they resist, they are pepper sprayed. Pepper spray isn't a precise weapon, it spreads, so it isn't a surprise that others nearby get some. I really don't see any bad conduct by Police on the video.

This is what the Police say:
"About 4.20pm on Friday 2 July 2021, officers from Blacktown Police Area Command were conducting high-visibility patrols of a shopping centre at Prospect Hwy, Seven Hills, when they saw a woman in breach of the current Public Health Orders by not wearing a mask while indoors.

Police asked the 20-year-old woman for identification; however, she refused. As police moved to arrest the woman, a 37-year-old woman approached and allegedly became aggressive towards police. Officers deployed OC spray to effect the arrest; the younger woman then allegedly kicked a senior constable to the legs and a probationary constable to the abdomen.

Both women were taken to Blacktown Police Station where the younger woman was charged with not wear fitted face covering in retail/business premises, not comply with stay at home direction, two counts of assault officer in execution of duty, and resist officer in execution of duty. She was refused bail and appeared before Parramatta Local Court on 3 July 2021 and was granted conditional bail, to reappear before Blacktown Local Court on 12 July 2021.

The older woman was charged with resist officer in execution of duty and granted conditional bail to appear before Blacktown Local Court 8 July 2021."
Implementation of Content Auth Initiative Following C2PA Specs
Python Implementation of Adobe's Content Authenticity Initiative based on C2PA Specs

Content Authenticity Initiative (CAI): injecting digital media with metadata ensuring authenticity and traceability
(https://contentauthenticity.org/)

Coalition of Content Provenance & Authenticity (C2PA) Specs (https://c2pa.org/public-draft/)