skysight-inc/HackerNews huggingface dataset:
I don’t want to write C#, I want something that can be that powerful when I need it, and be fast when I just want to get something done. Powershell is where I go in the Windows/M$ world, Python is where I go in the nix world.

There’s very few times that I need to write a Powershell script that runs like a daemon. I’m typically using it in a notebook in VSCode, but I do* have Kubernetes jobs that are written in Powershell that run periodically. They were quick and effortless to write, run fast (dotnet core,) and are easy for my team to understand if they want to modify them or someone needs to maintain them.

None of my team would willingly learn C#, nor would the business support them writing C#. A powershell script though? Fair game for anyone who wants to look at something new and innovative, it requires nothing if they use ISE, and if they want to, VSCode is already an approved app. Need a hosting platform? You can deploy on Kubernetes if you really want.

It’s a really big barrier to entry to force someone to use C#.
The economics of feed become a challenge due to logistics and fire risk of a hay barn, so I would wonder if there were main large wood hay coverings outside the fortress walls, and the only hay inside the walls was for a few or several days at a time.

Space inside the walls would be at a super premium, so they would also likely need turnout paddocks for peacetime exercise, breeding, and nursing, which implies the fort would be surrounded by some fencing or corrals. They need lots of water as well, so there would have to be a stream or aqueduct within convenient human walking distance. The (huge) muckpile would need to be far from the stream and food, but accessible as fertilizer for crops. Maybe people outide the walls collected it, also implying roads and cropland nearby.

Sentinels every half mile or so would be able to sound an alarm to get everyone inside the walls in case of an attack, and you can pretty reliably call in a whole herd to run back to the stalls with a signal. Even faster with working dogs.

The standard exercise arena size today (2500 years later) is 20x60m, which is about 65x200' and cavalry would need to exercise each horse in something almost that large, especially given the implied stall size and limited options for turning out for grazing.

Only reason I've thought about this is I am familiar with Xenophon's work, not just On Horsemanship, but also the Cavalry General as a rider: https://www.gutenberg.org/files/1172/1172-h/1172-h.htm

Super interesting.
Zero!? How!? Also I don't understand what it has to do with the fact that this is an electric propulsion car, 4-5 star NCAP rating had been basically standard for years IIUC.
How do you distinguish Russian troll farm vs. someone whose politics/opinions you disagree with?
Twenty-odd years ago we sat through presentations by Peoplesoft implementation consultants. When I looked through my notes, I found that all of them said, with slight variations in the wording, "you have to do it Peoplesoft's way." I'm sure they were right.
I don't agree that the data set would be much smaller. Maps for driving may look complicated, but they're just weighted graphs. You might have a few different data points for MLK drive like length, average traffic, speed limit, class of road, etc, and these values might even be given for each short stretch of the road, but you don't have to have any knowledge of the actual topography, and all of these values can be safely taken as rough estimates. No one is going to die if you falsely classify a stretch of road as high traffic when it's really moderate.

For a submarine, you need to know the topography of the sea floor down to meter scales. Accurate maps are few and far between, and difficult to create. Changing currents, underwater landslides, silt from rivers, sunken wreckage and even just garbage can create and move obstacles large enough for a submarine to care about in relatively short timeframes. Of course submarines can and do navigate with maps prepared ahead of time, but it's tough, and every now and then you get a run in with a sea mount.
Maybe your colleagues haven't asked for it because they built their own, but better, and are only working for 1 hour a day. Maybe you work twice as hard as the rest of them...
There are not many older languages that specifically targeted low level programming and gained some level of traction, which I cannot think out of C++ (and perhaps D? but it's not really popular).
Has anyone gotten DCPU-16 [1] to run directly on hardware?

[1]: https://en.wikipedia.org/wiki/0x10c
While the question is a little incoherent (it just sounds like OP is mad about the recent YT change), it kind of brings up the sad state of software development ethics. There's no baseline shared agreement of ethical boundaries in the industry. No Hippocratic Oath for software engineers. For every scam, dark pattern, benchmark cheat, fake progress bar, background bitcoin miner, personal data vacuum, or any otherwise anti-user change the boss asks for, there is always some engineer who wants to keep their job and is willing to implement it. So, basically it's a race to the bottom, with no line that can't be eventually crossed. I think it's a decent explanation of why software seems to be getting more and more user-hostile with no end in sight. Wherever software can make more money by be marginally more evil, it does, and the cycle continues.
We established the magnitude of the avogadro number, objects so complex have no chance to fully fit in imagination.
Because it reduces spread and thus reduces the chance of mutations becoming dominant. The vaccine is not only about protecting the individual.
I think that isn't fair to Linus. C++ with minimal use of templates, nearly no dynamic allocations and never calling any function that could possibly throw an exception is pretty dang close to C.
> I doubt Newton-Raphson gonna help much, if at all.

FWIW, in some machines in the past, division was implemented via Newton-Raphson and there was no other division hardware available. The implementation was either done in software or in microcode. The same statement applies to square roots as well.

The foundational technical result (due I think to Peter Markstein but I can't find the paper right now) is that a sequence of 4 (or 5?) fused multiply/add instructions produce a correctly rounded division (or square root) in double precision. The fused part is essential: you must implement ab+c with a single rounding at the end, because if you round after ab the final result is no longer exact in all cases.

Fused multiply/add instructions (FMA) were pioneered by the IBM RS/6000 and its Power/PowerPC descendants, and were adopted by Itanium, MIPS, and later x86/arm. IIRC, Itanium had no division instruction at all, and the compiler would generate the 4 (or 5?) FMAs for you, properly pipelined. PowerPC had a division instruction that would use the FMA unit multiple times.

The last time I looked into this problem (in 2005 or so) there wasn't much latency difference between FMA-based implementations and a dedicated hardware divider. I don't know what tradeoffs people are making these days.
C++ does bring memory safety, but relies on best practices being followed to do so.

Rust is actually heavily influenced by C++, but enforces that those practices are respected as part of the language.
Am I forgetting anything from the Sonos saga?

2019: Growth problems. Sonos states 92% of their sold products are still in active use. Creates “Recycle Mode” which bricks the device if you upgrade through them, and asks you recycle your now useless speaker. If you don’t upgrade, they discontinue software support anyway.

2020: Backlash problems. Sonos discontinues Recycle Mode device bricking, CEO apologizes.

2021: Global supply problems. Sonos sees canceled orders due to stock shortages, announces they will make future Sonos devices more repairable.

I’ve purchased (and sold off in 2020) a half dozen Sonoses (Soni?) but can’t get another as they’ve proven to be so user-hostile by policy and the poorly designed, buggy apps. Good sound, though.
depending on location and season it might be a case of relearning or modifying learned skills.

this would be the core of my curriculum:

if we set 500 hrs == 21 days; that is long enough for most people to starve to death

3 days without any fluid intake or water to drink is damaging to most people

the temperature can kill or maim within the hour.

fire, how to, h2 with wet or cold fuel.

shelter, timely construction according to need and availabilities.

water, collection and treatment.

food, forage, traps, opportunity hunting, sling vs bow

you must be capable of satisfying all of these within the day if you are suddenly inserted into a situation without warning
NYTimes has some pretty great explainers:

https://www.nytimes.com/interactive/2020/health/moderna-covi...
https://www.nytimes.com/interactive/2020/health/pfizer-biont...

I don't think they are paywalled. Worth a read.
> Although, PowerShell is effectively self-documenting, which is good for busy sysadmins.

Oh no it isn't. Very basic stuff like Get-Something piped into a Remove-Something is, but beyond that, it gets complex quick. Add aliases, weird logic and limitations ( do you know you can't break out of a Foreach-Object?), and it quickly becomes an illegible mess that needs parsing, the same way Python might.

Furthermore, a lot depends on the cmdlet provider, and for instance the VMware ones are steaming piles of horseshit with inconsistent naming of parameters, broken async, and useless error management ( e.g. you get an error which says to check the inner exception, but it's empty and there's no way to get any detail whatsoever).
Anyone else noticing an increase in spam getting through Gmail?
I've stuck with gmail for years primarily because google's volume lets them do a good job of auto-detecting spam.

But in the past week, many obviously-spam emails have started getting through, and I'm not sure how or why.
Increasing productivity never lays people off, unless the people were originally being unproductive. That's a dumb understanding of economics and even management.

Also, scaling tools to more than one user is incredibly hard. Software development is still custom / art. This tool works because it is suited to OPs workflow and his "way of thinking". In order to make it work for others, it needs lots of improvement and generalization, which is incredibly hard. Some people may even hate it, because they have their own best way to do things.

Devs should stop being delusional about their self-importance in these things. There are 100 other factors going on in an org and your one little tool ain't gonna make a penny difference in the profitability or productivity of the company (unless you have data to prove it, including impact on profitability)
That's a drop in the bucket. You can't change the RAM or the SSD, recover data, or change things without proprietary tools. Also, no schematics. And two programs Apple launched for independent retailers and consumers are PR stunts. My friends own a phone and laptop repair shop chain capable of component-level repair.
not OP, but: Presumably the impression that there is a Rust hype squad that's pushing it everywhere and swipes away any counter arguments.

I'm not that opposed to Rust and think its an interesting language, but the more annoying parts of its fanbase really haven't done it any favors. The sort that comments on every new project not in Rust "why is this not in Rust" (this specific thing seems to have died down somewhat), ignores any progress in other languages or Rusts weaknesses when making comparisons and thinks "Everyone still writing C++ should be tried in Den Haag" is a perfectly fine contribution (yes, that's a real example. sadly)
There is a difference between ssh disabling passwords and local accounts being disabled.

Say ssh disallows password login but I know the root password, if I ssh on to the box as another user I can then su to the root user. If the root user does is locked I can't do this.
any chance you're hiring interns? SWE/Data Engineering/Analytics?
Once it is posted here, it is publicly disclosed, and relevant devs or product managers will catch wind of it. It's not like HN is a closed circle.
This is good info, and will be very useful for people porting code from other languages like Javascript. But I'm still in mourning that async took over the world.

I grew up with cooperative multitasking on Mac OS and used Apple's OpenTransport heavily in the mid-90s before Mac OS X provided sockets. Then I spent several years working on various nonblocking networking approaches like coroutines for games before the web figured out async. I went about as far down the nonblocking IO rabbit hole as anyone would dare.

But there's no there there. After I learned Unix sockets (everything is a stream, even files) it took me to a different level of abstraction where now I literally don't even think about async. I put it in the same mental bin as mutexes, locking IO, busy waiting, polling, even mutability. That's because no matter how it's structured, async code can never get away from the fact that it's a monad. The thing it's returning changes value at some point in the future, which can quickly lead to nondeterministic behavior without constant vigilance. Now maybe my terminology here is not quite right, but this concept is critical to grasp, or else determinism will be difficult to achieve.

I think a far better programming pattern is the Actor model, which is basically the Unix model and piping immutable data around. This is more similar to how Go and Erlang work, although I'm disappointed in pretty much all languages for not enforcing process separation strongly enough.

Until someone really understands everything I just said, I would be very wary of using async and would only use it for porting purposes, never for new development. I feel rather strongly that async is something that we'll be dealing with and cleaning up after for the next couple of decades, at least.
I've run into several compatibility issues because I installed the "new" PowerShell from the windows store, as it constantly nags you to do, and it's not fully compatible with the one that ships with Windows. Just yesterday some chocolatey packages failed to install when chocolatey was invoked from the new PowerShell, but succeeded when chocolatey was invoked from the old one, for some godforsaken reason.

Microsoft should have just adopted an existing shell. They may have problems but the problems are well known and workarounds are well known too. PowerShell is NIH syndrome in action. It has an equally large set of different problems that are unknown. It's a whole new set of quirks and workarounds to learn when you just want to get something simple done.

The only good thing I have to say about it is that it respects my "ls" and Ctrl-R muscle memory.
What Is LUFS, and Why Should I Care?
Let's see how long @pelositracker lasts.
Equifax will no longer sell utility data ICE used to track the public
This theory of "killing means they can't spread anymore" doesn't really work out with diseases like sars-cov2. It might have worked in a medieval world where people travel by foot, horseback or sailboat, and with a disease where the carrier stays contagious forever.

But we are in a modern world where travel around the globe happens in 24 hours. Covid is contagious for some time before the patient has any symptoms, and for most people, it stops being contagious by the time some of the carriers are so sick they might die.

So, when a patient starts having symptoms in 5 days, (s)he may have had time to infect other people on more than two continents.
The 2020 design is actually less safe than their 2013 design.

> a new seat-mounted side airbag that protects just the occupant's thorax, rather than the head and thorax as it did previously.
>Specifically Verb-Noun command names seem so backwards

I agree that doing noun-verb would be easier for autocompletion purposes, but I suspect that ordering was chosen to align more closely with english grammar, specifically https://en.wikipedia.org/wiki/Subject%E2%80%93verb%E2%80%93o...

>Finally, options are also too long. Compare `rm -rf` with `Remove-Item -Recurse -Force`. Capitals, dashes, long words... It's too much!

but they're far more readable. You might be able to remember what -rf does for rm, but what does -o mean for curl? What's the difference between -o (lower case) and -O (upper case)?
>>I was not aware how quickly and dramatically the tests change, it makes comparison between different models almost useless unless you read through entire test protocols.

Not really, you just need to make sure you compare a 2022 model with another 2022 model, not a 2022 model with a 2015 one for instance.

Similar thing was done recently with energy efficiency labelling in the EU - since the label was introduced almost every appliance on the market has managed to meet the most stringent label(A grade) so it was common to see say, dishwashers all rated A++++ or A++++++ or something equally stupid. So last year the labels got significantly revised, and the old A label became the new F or whatever, which led to quite a shock from some consumers who were unaware - normally you wouldn't buy say a tumble dryer with an F rating, but under the new system that's only as bad as the old A label.
Wouldn't that be illegal under the ADA?
The journey of designing and prototyping new VR controllers
Damned if you do, and damned if you don’t.

> And if the thing you know isn't actually known

Who do you want to be the arbiter that gatekeeps this information and decides the science is strong enough that you “actually know”?
:) Yes I'm piping to dumb-frotz. The ssh server is a custom golang server, not a 'real' ssh daemon.
Z-machine impl is fun (except for all the version differences)
Psychedelics have been extremely beneficial to me but none of my experiences with them have really changed my beliefs about the metaphysical. I am open to the possibility but I'm also not moved by drug-induced hallucinations alone. That being said, why wouldn't a conscious god or simulation developer include cool easter eggs for their creations to find and play with? Why be a responsible higher power when you could instead throw hallucinogenic mushrooms into the monkey enclosure and watch them freak out?
They are part of the Turkish diaspora in Germany. Wouldn’t know about the exact birth details but they played substantial role in the vaccination program in Turkey.
Lane assist can be seen as a quality of life improvement, but wouldn’t auto braking be a purely safety feature, with 100% life saving potential ?

Also 3 stars doesn’t look bad to me if you meet the bare minimum standard. I mean, it’s fine and people will look at the prices to compare anyway.
The Staging Dichotomy: Part One
The article is called "Why TV Lost". Not sure I understand the new title here?
Weren't they a high-flying Palo Alto email scanning startup?
I suspect a key difference here is “all of the users other twitter accounts”. If a bunch of accounts registered to the same email address all start boosting each other that’s probably pretty easy to detect, and distinct from someone else trying to do it to you.
Did you answer to the right comment? I mean you can't prove you're not a zombie, thoughts don't help with this, because a zombie has all the same thoughts.
I've read some of these multi-paragraph reviews, and I'm not impressed there either. Some of them read as if they are a frustrated author that could never get published and now spends their time practicing prose searching for likes (similar to yelp). Some sound like GPT3 drivel. Some sound even worse.
This is not an example of windows doing anything unix like. We simply have to take a different mindset when using Windows vs unix. Windows has always had a way to communicate between components and that it does better than anything else.
Disallowing exceptions pretty much removes a large part of what makes C++ good.

Exceptions are necessary to enforce class invariants.
Powershell 5 is Windows only. Powershell on dotnet core is cross-platform. It’s not as small of a change as a number, sadly
there's no need for the scare quotes around "optional", its still optional regardless of how much fearmongering and conspiracy stuff you spew
Hadn't seen that! but, indeed, it's the same point.
Thanks, yes, that's what I meant.
Yes. There are so many reasons but a lot of valuable knowledge and great conversations are no longer public and it doesn't make sense to have them in public. On the internet the only scale is private DM or potentially seen by the entire world. Software is also a big industry with many people in it for the money or they have no choice but to implement what the PM wants anyways. We have been well trained and domesticated by the business folks to not stick our noses where they don't belong.

I think it's not just software it's every industry. Companies are structured to bubble up any significant decision making to a few people at the top. Software was just the exception for a short while.
This is why automatic updates are usually only for security updates, not everything.
why only kind of, do you have apprehensions?
They will break it sooner or later. IMO it's better to release it and let YouTube break it, so the existence of third-party dislike counters becomes more justified, by their own doing.
I always enjoyed using it in reverse: when you build a .NET app it is very easy to add a CLI by exposing .NET code as cmdlets. This gives you documentation, completions and arg parsing for free while you stay in your application language. This is super useful.

Think of it as the .NET and PS equivalent of a manage.py script.

I agree that PS as a language is quite unusual (e.g. how it returns results) but on the other hand it’s concept of structured data also makes it powerful in ways that old-school Windows scripting or bash are not.
My wife worked for an association that got bit badly by the one true platform bug. They had an excellent publishing platform, with features that were then incompletely implemented in whatever association-management platform it was. I couldn't imagine why a clean, limited interface to the platform couldn't have been implemented at less cost. She was fortunate to be gone before the change was implemented.
Yes, but to benefit Twitter's advertisers/revenue, not you.

It's Twitter's audience, not yours. That's why I left: I got tired of sharecropping.

You can't spam, but they can inject ads inline.
I don't think it's inevitable that this'll be broken into. Public/private crypto in high end process nodes has a pretty good track record.
I just found it to be a wall of noise. It didn't give me any sense that I had any control over what was going on.
So does logrotate.
You're basically correct. RDP can model and transfer data semantically - i.e. it's not just pixels, but higher order objects like toolbars, buttons, and the like. VNC and most others just do raw image/video transfer, with whatever codecs and compression they choose. Of course, RDP can only use semantic data for apps that support it, and it makes sense these would be official MS apps first.
Hungarian State sponsored “storage cleaning tool” shows malware like behaviour
Because it's painful. The tab completion works in a weird way by filling the first available option when there are many, instead of proposing them all, meaning it's outright harmful in 90% of the cases, and is completely different than the established norms in *nix land. Aliases aren't recommended because they remove the main advantage of the verbosity, readability.
Sometimes. But a lot of people around me - yes.
I think it's a side effect of Milton Friedman's Shareholder Primacy Theory, which people interpret in different ways, sometimes, resulting in very skewed incentives.
i am not sure. we are trailer factory in china. such as Aluminum Tank Trailer information

https://www.dreamtruegroup.com/aluminum-tank-trailer/