skysight-inc/HackerNews huggingface dataset:
Are you saying we should coddle people as an option? I wasn't arguing an either/or, we can and should look at all options - I was highlighting the shallow nature of both actions vs. actually changing systems - and arguably defunding the police is the wrong mantra, inaccurate; demilitarize the police, yes. That doesn't mean we should give into unreasonable options.

Is there a net benefit of coddling unreasonable people to such a degree that we're no longer allowing words to have different meanings, and holding integrity through requiring critical thinking to understand language properly? Organizations playing into this are either pandering to the mob and/or aren't grounded in reason. Let's be strong for our brothers and sisters, even if discomfort increases temporarily due to a mob.

Edit to add: it's interesting my top comment was quickly downvoted 3 times right around the time of the above reply, and then my reply here got 3 downvotes quickly too.
A compilation of Google Data Center videos
You're missing the point. People are being accused for crimes they (more than likely) didn't commit and denied basic human rights.

They face a 99% conviction rate in the Chinese courts.

https://www.theglobeandmail.com/world/article-china-charges-...
> the 44100 sample rate was a very early form of DRM

Can you elaborate? How could it be a form of DRM? Did you mean that 44100 Hz was incompatible with existing designs using 48000 Hz, or that 44100 Hz created technical challenge for replication due to its smaller frequency margin?
If fatigue is a simple threshold (i.e. you "become fatigued" after a certain number of units of work done), then the obvious solution is to work the employees at 100% utilization for half as long (at which point they should be roughly as fatigued as the employees worked half as hard for twice as long), and then swap them out for a second shift. (I.e., instead of having 10 employees with 40hr weeks, you now have 20 employees with 20hr weeks.)

This is the approach I believe is also advised for improving productivity/decreasing errors in the medical field (where doctors have a hard time not pushing themselves to 100% all the time, because of their personalities): hire more doctors per hospital, such that each doctor can be cut down to a shorter shift (and thus maybe lower salary, too.)

If, on the other hand, fatigue is about the lack of micro-rests between individual units of work, then the appropriate solution is more subtle:

1. replace the low-quality rest of doing "slack" work, with high-quality rest of doing nothing-at-all (or even "actively" resting, the equivalent of an athlete doing cool-down stretches between sets of an exercise), so that employees can cool down more quickly and/or return closer to peak productivity from each rest;

2. have slightly more employees (hopefully fewer than double), working off branching lines, such a way that units of work are directed to go to whichever employee is "fresh" rather than "stalled." Like processors with pipelined executions and multiple APUs per core, directing instructions to the APU that isn't currently blocked.
Chip Reliability vs. Cost
Beaker Browser is getting close to solving it.

When you visit a website that works with it, to login, you just grant the webpage access to one of your profiles. (I just use one profile for everything, but you may wish to keep some things separate). Then any activity you do can be associated with that profile. No passwords or keys or even email addresses to remember.
Aren't you aware that people on airplanes are per definition almost excluded from public buses?
The article missed an opportunity to also mention the ongoing process of restaurants expanding to outdoor seating at the cost of the street parking – something that has been allowed by the city since last month and reminds me of Europe home so much I almost tear up when I pass them up.

I believe those restaurateurs will lobby the city to also let them do that next season, having invested some serious money into building those, which will accelerate the process of the public space reclamation explained by the author of the article.
I used a suggested filter, but changed the topic to something else ("Tribology", randomly picked). There were no results, and I removed filter after filter, but still nothing until I had removed all other filters. In the end, there was just one Tweet.

It would be nice if removing filters was easier and quicker, perhaps even a button to remove all filters but topic.
The problem with that though is it leads to situations like today in the US where mask wearing becomes political.

It's very much a framing of I could have a small chance of something bad happen vs my community will greatly benefit if we work together.
I think Go is more foundational. If you can understand Go, you’ll mostly be able to learn PHP without problem; learning PHP is mostly endurance sport, via trial and error of using the builtins which are fairly unintuitive purely because of bad design. A strict PHP linter will speed up the process significantly though. Go is more like C on easy mode, but because C is so close to the kernel, you’ll likely learn a lot about Unix and the data structures by learning Go.
I learned that Worcester (yes the same a the sauce) is (should be) indistinguishable from Wooster, reading P.G. Wodehouse, in his "Jeeves" stories there is one in which the main character Bertie Wooster says somethign to that effect.
Returning a String is not necessarily a mistake; you could check for UTF-8 validity and error out if the line is not valid UTF-8 - and if you're providing a wrapper for "simple" uses, this might even be the right call. You're right that the general case involves outputing raw bytes, of course.
Any possible measures to oppose such a behavior? Chinese do not hesitate to use freedom of speech when it works for their interest, like vandalizing GitHub pages of regime critics, however Chinese platforms protected against any foreign meddling by design.
In the meantime, can anyone recommend a desktop workstation-like device to start seriously playing around with daily driving ARM? Something more powerful than an rpi4 but with good open source support.
The same way the MPAA sues single mothers for quintillions of dollars.

Copyright, patents, and trademarks are all just customs to facilitate creation. They run counter to the obvious Schelling point of information being easily propagated. Bundling these customs up into "IP", attempting to cement them into some iron-clad property regime, and then complaining when that is not respected is mostly just a symptom of western corruption.

The immediate remedy is tariffs that compensate for the lack of royalties for goods imported back into the western market. The longer term solution is to accept the reality, and hope that as China develops they will want to buy into the paradigm.
The F-35's various issues have been exaggerated by the media. All aircraft have teething problems. The F-15 was infamous in its early days, there just wasn't a bunch of websites covering it at the time. The F-22 also has had its issues. The oxygen system has had repeated problems, severe enough that at one point the pilots straight up refused to fly the aircraft until action was taken, believing their life was at risk.
I wonder if there’s a fair way to throttle people to make them think a bit more about whether it’s worth it.

The first couple I can think of could be gamed or result in metric dysfunction.
I have some clients that use Cloudflare, and others that use CloudFront. All of the CloudFront sites perform far better than all of the Cloudflare sites.

I don't care how many points of presence Cloudflare has if the performance is worse.
As an Albanian who had left the country 4 days before those events, I think I should add a few comments.

While there had been unrest in 1997, there had been no civil unrest at the capital, Tirane, for about a year before this happened. Many embassies, including the U.S.A. one were opened. What sparked this unrest was the killing of an opposition politician. There were accusations that the government killed him. It is now mostly clear that the government didn't do it.

It is not clear to this day if the revolt was an attempted coup or not. There is a video, https://www.youtube.com/watch?v=0WjksCDho2Y, of the office of the prime minister burning on that day. One would assume that if there was a coup they wouldn't burn the office they intended to occupy. But protesters did occupy briefly the State TV and a member of the opposition appeared and said the situation was under control. The prime minister had left the country. The situation was stabilized by the American embassy who told the opposition that they would not recognize their government if they created one. That was enough to calm the situation in a few days. That was also the last time there was a major civil unrest in Albania (though the office of prime minister has been attacked a few more times).

No matter which side of politics would be in charge they meant no harm to the British interests. Given the respect that the people have for Britain and the legendary good treatment that the Albanians reserve for their guests, the risk to the Britsh embassy was very small. Clearly there could always be opportunistic criminals that can use the occasion to act while the police is not around, but the fact that no foreigners were hurt before, during or after the events should be good enough proof.

I take issue with the article's characterization that the protesters were shooting at his car. While I clearly wasn't there, unfortunately I had been present at other similar events and it was always the case that the protesters and anybody else involved were generally shooting on the air. If a bunch of armed men were really shooting at the car, the car would have been hit.
A Boolean Switch in 104 Lines of HTML,CSS,JS
I think you are right, what I wanted to say is free for commercial uses without restrictions like LGPL's dynamic linking requirement.

I'm thinking something like MIT or BSD licenses. Not sure if there's a term for this, "permissive" license maybe.
A valid signature. That means the signature must chain to a trusted root CA, and the signing must have taken place within the signing certificate's validity period. If the certificate has expired at the time the user executes the binary, a counter-signature from a trusted timestamping service must also be present, to prove the binary was indeed signed within the certificate's validity period.

This seems fairly sane to me, and and allows doing things in software like trusting particular publishers.
>How does a country declare a Cold War, anyways?

Simple, just don't cooperate with western capitalists looking to plunder an area, a Cold War will be declared shortly after.
Haha we have sanctions on Cuba for Pete's sake. Sanctions don't imply anything. They do kill thousands of people a month in Venezuela alone [0], with corresponding numbers in a dozen other nations so good job I guess.

There was no "gas attack". Some murderous slaving ISIS criminals took a sledgehammer up on the roof, knocked out some holes, and shoved some empty canisters into them. Then they mixed some bleach with some muriatic acid and left the scene. Later, there was of course some chlorine residue. But simple physics proved that full canisters of poison gas hadn't been "dropped out of helicopters": the roof wouldn't have stopped so many of them. [1] Actual gas bombs of the sort that USA sold to Saddam for use against Iran are carefully constructed devices that can actually be dropped from aircraft and expected to distribute poison gas. Dropping bare storage cylinders only works in the movies. The real conspiracy theory is that the internationally-recognized government of Syria had anything to do with those attacks. They had neither means nor motive. The "moderate rebels" (really ISIS) that USA had been supporting had both.

Of course you don't care about details. Even your pose of criticism of Saudi is cynical. You want to sell the Saudis bombs to kill Yemeni children right up until they don't want to buy them anymore, at which time you'll want to start bombing KSA. Mostly you just support status quo USA policy for the last 70 years. That is, we kill lots of brown and black people so that the public can be buffaloed into giving armaments manufacturers obscene amounts of money. The public would prefer to spend that money on literally anything else; you disagree. You'll probably make a show of declaring that you're actually more against war than I am, but your religious devotion to every lie that the war media has ever tossed off shows where your heart is. Pacifists oppose killing innocents, both through sanctions and through the wars for which sanctions are pretexts. The Middle East is broken for the same reason that Latin America is broken and Southeast Asia was broken for a long time: USA broke it. The best thing we can do for them is the best thing we could have done for them in the 1950s: stop interfering with their governments, stop providing armaments to various parties, and stop killing them.

[0] https://cepr.net/images/stories/reports/venezuela-sanctions-...

[1] https://thegrayzone.com/2019/05/25/opcw-syria-gas-attack-sta...
anyone who develops to target linux servers should certainly be running linux on their laptop ... occasionally I fire up a osx laptop just to see how it compares to linux and after years of developing on a linux laptop the differences are stark ... I encourage any doubters to install linux on a laptop and see for themselves
That sounds like a win for vehicle owners, honestly, given that encryption is often used for locking owners out of the ability to change things about their car without paying the manufacturer more money.
Does anyone know if Microsoft has (or is working on) something similar to Apple's Rosetta emulation system? It seems to me this is the critical component that allows a transition to ARM to actually go forward without having to wait for every last developer to port their applications over.
Why do you have to visit the country to commit crimes against that country? Isn't that how every sovereign nation state works?

The host country can choose not to extradite, but most countries generally accept this basic idea that sovereign nations can charge and warrant the arrest of individuals as pertinent.
> That is simply not true.

I'm not claiming anything controversial. Power not having scaled as well as area recently is often referred to as the end of Dennard scaling:

https://en.wikipedia.org/wiki/Dennard_scaling#Breakdown_of_D...

> You can run the 64 Core on EPYC 2 all at once at 3Ghz all with Air Cooling.

That can be true despite the fact that power hasn't scaled as well as area.

> At every node they have reduced power consumption

Yep, just not as much as they improved area.
Honey throw out the whole professor
I can leave my positive story here- on a trip from SFO > Maui I accidentally left my laptop in a luggage bin in the SFO security check.
Called the airport as soon as I realized it, in Hawaii, and they said they could hold on to it until I returned.
Picked it up from a strange, unmarked corner of SFO when I got back.
Ultimately, being deprived of a laptop for a week in Hawaii was probably a good thing.
Stocks Generate Big Gains and Bigger Questions
I think Sony's PCM-1600 was the first pro system, but there was a consumer PCM-1 and then a PCM-F1 before that in the late 70s.

I remember buying a vinyl LP that had been DIGITALLY MASTERED™ and expecting all kinds of magic, but in fact it sounded a bit thin and dead.

The early systems were 14-bit, and that's not quite good enough for smooth audio.
Never trust anything coming in over the network. Always decode with the possibility of failure. I.e., a decoder function from a byte array would return a `Result<EnumType, Error>` where `Error` should usefully describe the failure.

Sorry to say but JavaScript is the only ecosystem I've seen where people blithely `JSON.parse` anything they get over the network and directly access the JSON structure expecting everything they want to be there without checking.

Enum types are supposed to be strict. Decoding raw data into enums can always fail but the failure should be handled at a higher level.
> This leaves Intel with one path: if you can’t beat them, join them. Intel will re-take an ARM license (it sold its ARM-based XScale business to Marvell in 2006) and come up with a competitive ARM SoC offering for PC OEMs.

I find this path unlikely and it depends on Intel's foundries not falling further behind TSMC. The most likely path is to compete on price-per-peformance (i.e. slash prices and internal costs) rather than performance-per-watt.
MariaDB continues to be great.

Now all they need is materialized views and they'll be close to postgres.
Everything we know about Apple's smart glasses
No it doesn't imply that; you can easily succeed while copying features haphazardly and without understanding the deeper motivations behind them.
Is this a fresh compile each time?
Learn good programming. Set your goal. What do you want to learn and why? Language choice is of less importance. Front end and backend is a strange to split programming tasks. Programming means you understand and can do everything..
A lot of the comments question the use case but I think your story captures the ideal use case, a hybrid C++ / web app where you want to or need to share some of the functionality between web / c++ sides
The transition to ARM at AWS appears to be well underway.

https://aws.amazon.com/ec2/graviton/
If there was an actual energy efficiency advantage -- i.e. less power consumed for the same amount of work -- Google would already be 100% on ARM. Why do you think they would leave that on the table?

I realize the situation changes every time a new CPU comes out, but I have never personally seen a real workload where ARM won on energy efficiency and had reasonable performance. Tests like [1] and [2] showing x86 having an orders-of-magnitude lead on database performance vs. AWS Gravitron2 should give you serious pause.

1: https://openbenchmarking.org/embed.php?i=2005220-NI-GRAVITON...

2: https://openbenchmarking.org/embed.php?i=2005220-NI-GRAVITON...

If you're wondering why ARM needs to have both competitive performance and energy efficiency, see Urs Holzle's comments on wimpy vs. brawny[3].

3: https://static.googleusercontent.com/media/research.google.c...
I largely agree with your position. Nevertheless I would argue that from time to time one can pick up ideas or concepts which lead to a "click"-like effect in the mind. Which ultimately changes behavior.

But I'm the first to acknowledge that these kind of things are seldom found in such self-help books. Especially not in these get rich kind of stuff. I completely lost interest in this gossip.
This article has its heart in the right place at least.

Author mentions privacy as a factor but does not state why they think their new system is better.

> Unsurprisingly, Plausible’s reporting for page views was consistently about 30-40% higher presumably because ga is blocked by some clients. ga is gone for good now though.

What? Why is the higher number de-facto the accurate one? Maybe ga excludes and/or bots recognizes return visits better. More != more accurate, as the YouTube ad money scandals showed

I like simpleanalytics a lot but it can’t differentiate between one visitor viewing 3 pages and 3 visitors. Still, I appreciate their offering for visitor privacy
Docker Desktop has provided docker on Windows desktop editions for some years now. It's very stable and fast too (I use it basically every day).

If you're asking specifically about Windows containers though, I've never used them (few do, I think).
What I'm referring to are fields that must be one of the expected values. It seems like you're talking about a scenario that doesn't meet that criteria. One of five values or null is simply an Option<MyEnum>.
I wonder how many families have been broken by people following the advice they got in AITA or relationship advice. Everyone always suggests the nuclear option.
>My A12 equipped iPad has considerably more grunt than my i7 intel laptop.

I know this meme gets brought up a lot, but has this claim been backed up by benchmarks that's not geekbench?
Increase the Uniqueness of Your Text
Aha, that makes sense. Thanks for the reply.
Show HN: REPLNote – Embed Clojure in your notes
One Word: histamines
Tour de Rust? No? OK, I'll show myself out...
I don't think that's protobuf's fault, it's simply a side effect of the common pattern in C of using memset when you initialise structs. I don't think there's a really good way around it other than remembering to think like a C programmer every now and then.

I guess one option is to replace the endpoints that use the enum, but that seems heavy handed if it's wide spread.
Nope, it's on the list to add that. Ask and Tell are the same though, so this would just be /asknew.
Does anyone know the etymology of "blacklist" or "whitelist"? To me, this would be a relevant factor in deciding whether the terms should be deprecated.
This already exists in an early stage, ARM Windows can run 32-bit Intel binaries. Extending that to 64-bit binaries is the obvious next step.
Have you looked through the July Who's Hiring thread? Also probably worth going through the last few months of submissions and reach out to any of those companies looking for front end devs.

Also post this in the Who wants to be Hired thread, although I don't know how effect that thread is (I never got any contacts from that one)

Edit: also sorry I don't have anything to offer you, my job isn't hiring right now. But any time I see these posts I always give them an upvote. I hope you the best!
3 out of 4 responses currently say the answer is to use Tor. That's a very techie response.

I disagree. I think that freedom of internet is not a tech problem, it's a legal problem. How do you help? The only possibilities I can think of are:

- If you're a lawyer, find some cases you find worthwhile

- Campaign to raise awareness of specific points you find important (e.g. E2E encryption etc)

- Financially support organizations that you find are doing good work.
The numbers I mentioned are an undercount because they don't include all the apps and sites that consume HN through the API. When the new API we're working on is released, it will eventually all be in-house and then we'll know. I suspect the numbers will jump quite a bit.
The last time I played around with Visual Studio, I vaguely remember some options for compiling for ARM.

No surprises if Windows eventually moves to ARM. (And if servers do too.)
I've also noticed a large influx of new accounts posting low quality, politically charged comments in the past few months. You can find plenty of those in this thread.

I think its pretty likely that we're headed for an extinction type event for upvote based "anonymous" message boards like HN, reddit ... or at least a significant decline in their usefulness
is there a possibility that Apple starts gaining such a lead that none of the others are able to catch up. Could we all be running Apple hardware in say 7 years because the rest never could match the performance of Apple silicon, due to the late start?

like what are the odds of qualcomm today matching the A12 in 5 years even?
Why does the compile debug information get printed to the standard error area?
> I mean, sure, we can do that. But most of our ape relatives lay about all day socializing and taking advantage of their social cohesiveness to hunt-and-gather very quickly

I think you underestimate how much energy you use walking around even short distances for 6 hours a day compared to a typical office job. I had a step counter on my phone at one point, and found that if I spend a day outdoors, I can easily walk 10k-20k steps without feeling like I've done anything at all. Whereas my number for a typical office day where I didn't specifically exercise was much lower.
That certainly wasn't the case in the Manhattan project.

Nonetheless, I see your point - most of the time, the alternative would have been to simply not tell the story, and I'm glad these stories were told.