skysight-inc/HackerNews huggingface dataset:
Country X isn't just crying wolf to smear Y here. Y invaded a neighbouring country years ago and is again concentrating troops at the border.

And it still doesn't answer why the Russians chose to destroy a huge sat (more fragments) built by the USSR (more material to fragment) at a relatively high orbit (more time for fragments to destroy other sats). They could have done the thing India did and ram a small-ish sat at a low orbit and the fragments would be gone within a couple of months.

Instead they chose to even endanger their own cosmonauts on the ISS.
I don't see anything interesting to be discussed about cryptos.

The initial promise of blockchain seems to have been side-lined: independent governing systems, tamper-free databases, and all the good stuff that the enthusiasts used to sell the dream to everybody else.

Nowadays it just seems like a speculative market for "get rich quick" suckers to lose their money so the other 1% to 5% who are better informed can actually make a buck.

What is there to discuss regarding cryptos according to you, OP? I am not as aggressive as other HN posters in all crypto threads (in fact I almost never engage with them even) but I just don't see them being worth a discussion in general.
You can apply OOP principles to even the simplest problems. Search for “fizzbuzz enterprise edition” to get some ideas.
Phoronix Test Suite
> why python developers

Isn’t it a perfectly understandable reason? We regularly pan C++ on here for its smorgasbord of implementation options for any given thing, and the complexity, customization, and fragility of a C++ code base always seems to be high especially for non experts in the domain.

So, accordingly, people who know how to maintain code in a simpler and more flexible setup and can still convert to C++ for performance are taking a probable performance hit relative to “native” C++ (whatever that is in 2021), in order to maintain their tool with more ease.

It’s very silly you move to slandering python developers and not contemplating the trade offs meaningfully
On one hand that makes sense but on the other hand, why does a company with tech savvy people and tons of money, like Amazon, not game it then? There are plenty of companies with both tech savvy and serious resources that have terrible GlassDoor scores.
All communication technology is social, so software can't really escape that aspect, but we also haven't even scratched the surface of actually understanding the social aspects of our technologies. This is why diversity of people in the production of technology is important, and by diversity I mean different perspectives not different colors, people from psychological, neuroscience, philosophy, sociology etc. backgrounds.
Great sugestion, just tried some obscure Electrical Engineering queries and it looks pretty good. Thanks!
Spotify has removed the shuffle button on its album pages after request by Adele
I loved jEdit for the time I used it. It was my favorite text editor before switching for dedicated IDE with integrated debugger. Highly configurable and responsive. I wrote a tiny blog post about my technical supervision [0] and puts a tiny jEdit screenshot at the time.

[0]: https://www.fevrierdorian.com/blog/post/2011/07/21/Tales-of-...
Because co2 is not evenly distributed with most polluters concentrated in northern hemisphere and prevailing wind direction to be from equator to poles.
I have similar feelings though I would allow all computable numbers, which would still exclude almost all the reals (while including all rationals and important real numbers like e and pi).

Thanks for the interesting discussion!
I envy it, because it relieves so much stress and other things that kill creativity. Unfortunately I can't just go without income, so the idea of a purely passion project isn't really in the cards for me unless it's a very small effort.
I think this could be an interesting idea for news sites especially. It would be less addictive and I could use a specific time of a day to spend on news platform instead of checking it ever so often.

I already use HN with a point limit of 250 so it doesn't update so often. What would be the easiest way to implement Pony messenger philosophy into it and only see a front page that updates once a day?

I know that this sounds a lot like an ancient technology called a newspaper :)
Demonstrating that your country is a mean badass meanie who doesn’t give a f*ck about rules?
OpenBSD is pretty good by default. Traffic with different TOS is separately queued with reasonable priority defaults. So you normally don't have to do anything.

I was a bit surprised that my VOIP stuff was just working when I moved my router from Linux to OpenBSD and had to go looking to figure out why.
Hyperscan
Breeding plants with genes from one parent
Have gone back to 2019 day 10, warming myself up for this year. Trying to get my colleagues to participate, too.
I am in the UK.
My father-in-law has just been treated for almost cutting a finger off with a chainsaw (the safety gear was sitting on the floor next to him).
He went to the emergency dept (saturday) for initial checks and xray and then to a plastic surgeon today (sunday) who operated on his finger.
Total cost to him was £0.
Thx, yes I might have. I know enough about all of those languages that you mentioned to realize, as a c-sharper I have it good. Java is a bit too weird for me. Python a bit too slow. C++ too hard, Haskel too functional ;)

I realize of course that not all Linux users are C programmers.

Given the opportunity to transfer my C# knowledge over to Linux, I'll take it.
LOL! Clearly, you do not appear to subscribe to the KISS principle much less ascribe to the security theatre of IT and cybersecurity.
Moving away from any particular license is hard to impossible.
What the end of anonymity means for consumers and brands
I love how you referred to metric system as European "fixation".
You're American, aren't you?
But here's the thing, they literally provide checkboxes for individual directories you want to sync. They've literally designed it to my needs (actually I was trying to simplify, the reality is I don't mix business but personal grades of porn to varying grades of legality, so do you seriously expect me to have multiple personal Office256 accounts for categories of porn????)

It's just their default settings went from years of causing data corruption as soon as you try to change the default of everything checked to this new cluster of ghost syncing.
Webless Jumping Spiders Spin Super Strong Silk
I did this via an OSS app https://karabiner-elements.pqrs.org/
No mention of the page-view counter?

Remember those, we'd put the message "just a counter, don't click" beneath them.
With software, we don't see any frozen particular version as the main asset, but the continuity of the project is the asset. Otherwise we wouldn't de-value unmainted software so much. (The code is there, the license is clear, it could be used).

GPL makes sure the project's main strand of development stays accessible to you.
No / Yes

This is a normal thing. The brand makes a spec sheet and the supplier (OEM/ODM) builds something to that spec. For some reason in automotive circles the brands are called OEMs, which is kinda the opposite of the usual meaning.

The schematics for almost all popular laptops are floating around in the internet.
I tried to click on the button-looking "space" word. I'm on a mobile device.
May I suggest trying an e-bike for your wife? Even at the low assist levels you will find noticeably less pressure required on your knees and that can make all the difference. I have a close family member with knee issues and there it helped tremendously.
> And which benchmarks games are those?

https://benchmarksgame-team.pages.debian.net/benchmarksgame/...

Be aware that many implementations on benchmarksgame are much lower-level and using all kind of performance tricks than what you would normally write.
>> Are these programs benchmarking typical idiomatic Java

https://benchmarksgame-team.pages.debian.net/benchmarksgame/...

c# regex redux - 1.42 seconds

java regex redux - 5.31 seconds

Ok... but looking at the code:

https://benchmarksgame-team.pages.debian.net/benchmarksgame/...

import java.io.*;
import java.util.*;
import java.util.concurrent.CompletableFuture;
import java.util.Map.Entry;
import java.util.function.*;
import java.util.regex.*;
import static java.util.stream.Collectors.*;
...

It's only using vanilla Java features.

c# ?

...
using System.Runtime.InteropServices;
...

Interesting, why does it need that?

[DllImport("pcre2-8", EntryPoint = "pcre2_compile_8", CharSet = CharSet.Ansi)]
extern static IntPtr PcreCompile(string pattern, long length, uint options,
out int errorcode, out long erroroffset, IntPtr ccontext);

[DllImport("pcre2-8", EntryPoint = "pcre2_jit_compile_8", CharSet = CharSet.Ansi)]
extern static int PcreJitCompile(IntPtr code, uint options);

[DllImport("pcre2-8", EntryPoint = "pcre2_jit_match_8", CharSet = CharSet.Ansi)]
extern unsafe static int PcreJitMatch(IntPtr code, byte* subject,
long length, long startoffset, int options, IntPtr match_data, IntPtr mcontext);

[DllImport("pcre2-8", EntryPoint = "pcre2_match_data_create_8", CharSet = CharSet.Ansi)]
extern unsafe static IntPtr PcreMatchDataCreate(uint ovecsize, IntPtr mcontext);

[DllImport("pcre2-8", EntryPoint = "pcre2_get_error_message_8", CharSet = CharSet.Ansi)]
extern unsafe static int PcreGetErrorMessage(int errorcode, StringBuilder buffer, long bufflen);

[DllImport("pcre2-8", EntryPoint = "pcre2_get_ovector_pointer_8", CharSet = CharSet.Ansi)]
extern unsafe static IntPtr PcreGetOvectorPointer(IntPtr match_data);

[DllImport("pcre2-8", EntryPoint = "pcre2_substitute_8", CharSet = CharSet.Ansi)]
extern unsafe static int PcreSubstitute(IntPtr code, byte* subject,
long length, long startoffset, int options, IntPtr match_data, IntPtr mcontext,
byte* replacement, long rlength, byte* outputbuffer, out long outlength);

Aha! It's because the c# impl is really just a wrapper round a native C impl of the problem.

In what world is this a useful comparison?

The fastest "real" c# solution is still faster than the java one though:

c# (real) - 3.1 seconds

https://benchmarksgame-team.pages.debian.net/benchmarksgame/...
You get points for being the fastest to submit the correct solution to a puzzle part each day. First one gets 100 points, second one 99, and so on down to place 100. So you could get up to 200 points per day if you solve both parts of the puzzle as first one. However unless you can be on your computer when the puzzles unlock (midnight EST (UTC-5)) I wouldn't bother with the global leaderboard, it gets filled within minutes.
I am in the process of preparing for Facebook PM interviews. All their product sense and product execution “tips” hyperfixate on goals, metrics, and tying to the North Star.

In one sense, it seems as if the interview process is to indoctrinate a cult from the onset. I’m willing to bet there are people who go through this process, get rejected, and think the Facebook framework is THE right framework.

As a non Facebook user, I’m conflicted between hating their products to the core… on the other, their TC is salivating.
I think of it more in terms of a highly secure and decentralized online videogame. Most people will be happy just to play the game, some people will start guilds and min/max, some people will try to cheat. When someone is found cheating, the system gets patched to prevent others from doing it. The dynamics of a game nudges people into behaving within the incentive structure of the game mechanics - even though technically they could strip naked and /dance for a month straight.

In any well designed online game (please don't use shitty ones against me), cheaters aren't able to hijack the entire system or ruin an economy. Their exploits break the game temporarily and most of the time it doesn't affect that many people. In bad cases, the state gets rolled back, the exploit patched, and the game continues. Sometimes things are just unavoidable, and everyone counts their losses.

I think blockchain has the potential to make fairer and more resilient systems, and with new incentives as well. We can use game theory to try wildly different societal structures, and quickly switch to another one if one doesn't work well.

On some level, trust always has to be present. If we make the rules trustless, enforcement becomes the bottleneck (until Robocop?), but it's still potentially better than what we have now where we simply have to trust millions of other people not to fuck with anything too much.
I am not sure how this is a slander. My point is, if python does not meet your performance/size/distribution requirements, choose something else instead of using "custom tools". Unless, compilation to other languages is supported as a first class feature by the language itself (for eg. the way Scala supports javascript and native binary), these work around are duct tapes to make Python do something it is not meant to do.

Furthermore, there is no shortage of statically typed compiled languages to choose from. Go, Rust, Java(with GraalVM) or my recent favourite, Nim comes to mind.
This is whataboutism. As others above have pointed out, the India events and US events post 1985 are not in fact comparable.
Because it's not two disinterested parties, it's owners versus mockers. Owners say irrational things because they've drunk the water. It's like asking why don't believers in ressurection ever have curious conversations about the impossibility of ressurection.
Ask HN: What is the state of checkout free technology?
I have been planning to join a funded startup that is working in checkout free technology space. They use weight sensors and over head cameras to ease the checkout experience of their users. Is this gimmicky or the future of retail ? What do you guys think ?
I really dislike the www bloat so I was excited to browse the list, unfortunately so far I mostly see ancap/libertarian/declinist posts (or just people who seem very sad and/or angry) as well as many far-right dogwhistles I recognize from 4chan.

Can somebody recommend more, uh, uplifting BBS communities?
> Longest I did was 230 km at 25 km/h and it wasn’t really that memorable.

Once you start doing that trip at 30 or 35 km/h you'll find it a lot more memorable. Target for a distance like that on flat country should be in the 5.5 to 6.5 hour range when you're in mostly flat country on a proper bicycle.
There isn't any latency reduction on the M1, Apple use the exact same 4,266 MT/s LPDDR4X that can be found soldered onto the motherboards on a few window's laptops, and they are just using the stock timings.

I think the main reason Apple are doing it is to simplify their motherboard PCB design and make the design more compact.
What kind of development operation is the question I would ask. Security mostly involves convincing developers to do the right thing with a lot of resistance. Not sure I would assume the security team is behind this, rather than some "risk acceptance" forced on them to launch the feature on time.
Colleges are walking away from remote education – and that’s a good thing
When the battery fails (or decides it has failed) you probably won't be able to use the machine anymore unless you can disconnect the battery.
Learning CSS Grid (2017)
On No One Wants to Get Their Ass Kicked Anymore
Times have changed and there are new rules. In my day, if you confronted the school bully, and you were a scrawny piss-ant, you knew you had a good chance of getting your ass kicked. If you did it anyway, when you came home, you’re parents told you it was a life lesson for being a dumb f..k. You either went to the gym and bulked up or learned other ways to settle your disputes. No more. Today, anyone can “equalize” their lack of physical power with a gun. This is as true in mass shootings and urban violence as it was on the streets of Kenosha. Anyone can be The Hulk.

There’s an old saying that you don’t bring a knife to a gunfight. The two murdered men in Wisconsin, took on an AR semi-automatic rifle with a chain and a skateboard. The third thought if he brandished a pistol, the kid on the ground would lay down his rifle and surrender. They watched too many movies and didn’t understand that there are new rules. The teenager, steeped in right-wing self-righteousness, urged on by adults living vicariously through him and unwilling to take an ass whooping, showed two of them their fatal mistake. The third should now realize its shoot or be shot.

You may say this is blaming the victims. They had the right to go after this guy without fear of being murdered. That’s not the reality of the streets. A court has now said so. The result of that decision won’t be one-sided. Certainly, those who want the nation to become a continuous gunfight will be emboldened. But those who now understand the rules, won’t hesitate to shoot first and ask questions later. Another step down from a civil society and a degradation of everyone’s sense of physical security.

Underlying this is the issue of police standing down and citizens accepting that. The kid with the gun didn’t seek police protection, nor did those who felt he was endangering others. Rittenhouse felt no fear of turning himself in to the police that night. Bizarrely, when they weren’t interested in why he would approach them with his gun and hands up, he just went home. A confirmation that vigilantism is welcome under the new rules.

Those who used to realize they would get their asses kicked, worked out more peaceful ways to settle disputes. When concern over being harmed are erased, the desire to work out issues, goes away. We’re headed toward, who has the biggest gun, the fastest draw, the least concern for human life.

This is a stark example of our “no-consequences” society. We want to do whatever we want, without any price to be paid. Rittenhouse’s trial was not the neat and tidy “gun-toting whack job kills peaceful protester” scenario. There will be endless arguments over the outcome. One thing is clear, the rules have changed. The old rules allowed us to build a great nation. The new ones will destroy it.

Ihg 11-20-2021
If you like these commentaries, join my blog for free at: https://ikegittlen.substack.com/ and share. Let’s see what we can build together.
I think the question being asked is “why isn’t the spec just Sigv4”?
Yes, and food labeling laws are pretty strict: it should contain what it says on the tin, no matter where it came from, and you need to have a proper administration right back to the source. This has become a criminal offense since the mad cow disease affair.
I've been working hard to simplify my digital life. I thought Win11 may mean leaving dual booting Ubuntu/Win behind. I'm just not so sure I want to invest in an eco system which will cut off decent hardware. I haven't quite decided yet.
Note that most of the performance improvements come from PGO, which is enabled with following environment variables. PGO is not enabled in .NET 6 by default, but will be in .NET 7 IIRC.

set DOTNET_ReadyToRun=0
set DOTNET_TieredPGO=1
set DOTNET_TC_QuickJitForLoops=1

Here are my own benchmarks from a CPU intensive application without any IO and already optimized for allocations. Application runs a task graph either serially or in parallel.

.NET 5
--------------------------
| Method | Mean |
|------------ |---------:|
| RunParallel | 473.4 us |
| Run | 513.5 us |

.NET 6
--------------------------
| Method | Mean |
|------------ |---------:|
| RunParallel | 452.5 us |
| Run | 499.8 us |

.NET 6 PGO
--------------------------
| Method | Mean |
|------------ |---------:|
| RunParallel | 381.8 us |
| Run | 412.2 us |

.NET 5 - .NET 6 -> ~5%
.NET 5 - .NET 6 PGO -> ~20%

Here is what I learned from micro-optimizing a .NET application:

- Use BenchmarkDotNet[0] for general measurements and Visual Studio profiler tools for detailed inspection. They help a lot.

- Memory allocations matter. Using capturing lambdas, LINQ, even foreach on interfaces introduce allocations and slows down the application. You can use ClrHeapAllocationAnalyzer[1] to find these hidden allocations.

- Using abstractions with interfaces and casting back to concrete types cause some overhead, though PGO will probably eliminate most of these.

- Use LINQ cautiously as its variants are mostly slower than explicit coding. E.g. .Any() vs .Count == 0

- Checking Logger.IsEnabled() before calling Logger.Debug() etc. helps a lot. You can even automate this with Fody [2], but it breaks Edit&Continue and possibly .NET Hot Reload too, so it may hinder your productivity.

[0] https://github.com/dotnet/BenchmarkDotNet

[1] https://github.com/microsoft/RoslynClrHeapAllocationAnalyzer

[2] https://github.com/jorisdebock/LoggerIsEnabled.Fody
Internet Safety For Kids: A Complete Parental Guideline: https://www.hackerslist.co/internet-safety-for-kids-a-comple...
I believe most BIOSes don't let you boot partitions, but only disk MBRs.

You can however install GRUB to USB stick and boot the USB stick from the BIOS. This also protects your Linux install against any Windows malware that doesn't change the BIOS if you are careful to remove the stick before booting Windows, put /boot on the USB stick as well and encrypt the Linux partition.
I’ve never Googled so many fish. It’d be fascinating to see total biomass per depth layer to get a sense of how many fish there are
That is almost 630 watts per person (250 million people, 24*365 hours per year)... That seems like a lot...

As a north european techie spending power on quite a few always on things (respberry pis, a nas, a router, wifi, ps5 etc)- but also freezer, fridge, cooking - and lightning for half the year and a little extra heating, I have used around 2500 kWh year to date, which is roughly 320 watts in total (or half that stated figure for always on devices alone...)

EDIT: I remembered the american population size wrong, the right figure is 475 watts @330 Mln people, but my point stands..
The rust and c++ implementations are only on the top 10 because they use PostgreSQL pipelining/batching
Adjacency with cryptocurrencies makes any claim about NFT fitness-for-purpose dubious, for practical purposes there is no distinguishing an honest opinion from an attempt to manipulate the public into increasing the USD value of some coins or tokens held by the author of said opinion.
It is slander because you asked a question as if it was rhetorical when that actually had the easy answer that “the devs find Python to be the nicest C++ front end”, and again as I suggested it more or less seems to me that C++ front ends are all custom.
Can you add more details about what you are trying to scan and what the overall goal is? Is this just https end points, other applications, one IP, many IP's? There are no truly free scanners but there are some services for scanning small volumes of specific things.
At least in science there's the Planck's principle which is essentially "Science progresses one funeral at a time" - that adoption of major new mental models is driven mostly not by people changing their minds, but by them "dying out" and being replaced with new people who have adopted the new model since the beginning.