skysight-inc/HackerNews huggingface dataset:
The verbosity of PowerShell is overstated I think. You easily make POSH look as gnarly and esoteric as Bash if you so desire. That said, the majority of heavy lifting in POSH is done via methods these days (vs cmdlets). Your initial API query to snag the JSON might be via a cmdlet, but after that, you're slicing and dicing with real data structures. You can interact with them without having worry about whitespace or structure (meaning complex loops can easily be written on the command line without worrying about indentation).

It's a little more wordy if you're use to C or Bash. But hands down it's one of my favorite languages for slicing dicing data. No need for 3rd party libraries or binaries. No need to learn a bunch of weird awk/jq syntax which is only useful for those two tools (yay, lets learn 3 language instead one?). Plus, most of the structure translates over to C#, and you can integrate C# code directly into your POSH code if desired, as well as access pretty much any low level C# methods directly.

Working with strings? Pretty much any/every tool you could want to slice and dice strings.

The POSH REPL is amazing. You have far more flexibility around interacting with the command line than you do with Python. It's both a shell and a true language. As with any language, there are ISMs, but far fewer footguns than any other language I've spun up.

Cross platform as well with 6.0+

Intellisense ON the commandline (did I mention the awesome REPL?). Hands down one of the best built-in parameter/args/help parsing I've encountered across any language. Debugging? Amazing in vscode. And can be done strictly from the commandline as well (dynamic breakpoints? You've got it, drop you right into your catch block with an interactive shell so you can see the current status of any/all variables and manipulate them live and resume if desired)

Okay, I'm done shilling for POSH. It's hands down one of my favorite shells/languages for doing POC work, or writing utility functions. Treat it more like Python than bash. But realize that you can easily use that Pythonic-esque code right inside your shell.
Do you spot us all the supply chain that underlies today’s technology economy?

Mere COVID disrupted that here; imagine what a few hundred million miles of space would do.
The journey to speed up running OCI containers
Thanks for the update. Do you have any insight into wether a copyright claim like the one used by Axel Springer stands on valid legal ground (wether in Germany or elsewhere)?
5 is appropriate for Lego, but in my experience from volunteering at a teach-kids-to-code club, is almost always to young for programming. If only because they can't read yet, but also their eye for detail (I have seen two 7-year olds spend 10 minutes and still not see the difference between "Step();" and "Step()" when these two lines were right below each other).
gnome3 is the best thing to happen to kde.
> Axel Springer claimed that the web page and all its content (including subrequest) and ads is subject to copyright law. So when you modify the web page with adding new styles or blocking a web request you violate the copyright.

In answer, I should probably invoke accessibility laws, asserting that ads make my blood pressure rise and induce vomiting.

Also, since parodies have been deemed fair use since about forever, what I’m reading is fine parodies, which are exactly the originals except they don’t have ads.
IMHO 10" is too small for PDFs. Now that Amazon is after their market, they should go someplace that Amazon isn't: devices with letter / A4 sized display.

I believe Sony and Fujitsu sell a 13.3" epaper device and of course the iPad is available in that size. There's a whole lot of space between the very limited $700 Quaderno and the super powerful $2000 iPad Pro.
nothing, but kids dont want to hear that. github can fuck us 12 ways to sunday and people will still refuse to submit diffs via email bc it's a different paradigm.
Does the file picker show thumbnails yet?
Ask HN: What are some good Rust tutorials?
What are some good online text and video tutorials for an impatient middle-weight C++ software engineer who is not afraid to read complex code?
That is very interesting. I wonder if it only shows up for some people. You posted your comment two minutes ago, and yet when I go to the page, the timer does not show up anywhere.

Useful information: I am not signed into Google and am running Firefox 105.0.3
Wouldn't time itself be the limiting factor when dealing with extra-terrestrial civilizations? The time-scales are astronomical after all, and IIRC our Sun is relatively old when compared to many other stars with similar composition.
Ok, let me choose a different payment method.

Anyway the entire idea is flawed.

If ads pay for websites, then how is that so? Ah, by manipulating the user into buying stuff they don't need.
You don't know what websites have ads until you visit them.

But the problem isn't the presence of ads. It's that the ads are served by advertising networks, that track users across multiple websites and build profiles of users.

And that the original websites have very little control over the content of the ads, which may be irrelevant or contain malware.

The ads are often animated images, sometimes with sound, which are distracting.

The ads are often deceptive ("Your computer is infected. Install this program now!") or clickbait.

Some sites don't distinguish the ads from the content, which makes it confusing.

If you want a blast from the past, disable the popup blocker on your web browser and see how many sites still fill your screen with intrusive popups and notifications.

Also, people have used video recordings of live television to skip commercials. Some devices even have a commercial skip function. Or people just mute the television while commercials are playing. If this is acceptable, then why not block ads on websites?
Ask HN: Why many replies don't get a follow up?
I noticed this frequent pattern on Hacker News which is comments getting a reply but seldom getting a follow up by its GP. There are even users never following up entirely no matter what, almost as if they're just dumping their thoughts.

It's a pity because the interaction has the potential to be quality content but never realizes.

Is there a particular reason for this? Is it because of the edit limit? (many) users having issues with their attention (thinking ADHD)? Anything else I can't think of right now?
You should read https://bemorewithless.com/the-story-of-the-mexican-fisherma... (on of several instances of the story out there)
Do you close your eyes walking around town any time you go by a store front, you see a roadside ad, a bench covered in ads, a taxi backseat, public toilets, any sports events and jerseys, TV, newspapers, magazines, radio... Are you morally obligated to get rid of those too? If you truly believe this, how do you function in society?

Why is digital attention morally a big problem but attention in real life not? I get it, the world would be prettier without ads, but you'd also be able to afford way less things. Maybe you want to live that life, but most of society over time has gravitated to this mode of selling goods and services.
Or you know, their servers get hacked and everybody's notes are leaked. Or you get a nosie employee that just has raw access to your files.

re2 has been on my radar for at least a year at this point, but given the lack of features, price point, and the not so ideal size for PDF reading I'm still on the lookout. It's a nice looking device, but not quite there yet.
HTTP is a request based protocol. I make a request and you can choose to accept or reject it. If the host breaks the social contract by polluting the connection with unsolicited content it's entirely within the users prerogative to block such requests.
I bought one hoping to try it with the expectation I could return it using their 100-day guarantee. Ultimately decided the experience was too painful for my usual workflows in terms of reading and annotating my PDFs for grad school and work.

Their return process was the most PAINFUL return experience I've ever had to go through. You have to specify exactly what you're returning from their online menus and they use a delivery service that takes weeks to make deliveries. If you selected the wrong options (maybe you picked "tablet + pen" instead of "tablet + pen + extra pen nibs") they will send it all the way back to you and instruct you to attempt another return. They finally accepted it after 4 attempts, including one attempt where I did everything correctly and they still sent it back.

All this is to say, if you're looking to try the device with the expectation that you can use the return policy then be ready for a painful experience if you don't like it.
by opening the website, that data HAS left the origin server and is sent to my browser. What i do with that data is up to me.
i choose to ignore half of it so be it. Is there a mandate that i have to "hold it the right way only" like apple famously did with their antennagate?
Post dates from 2018, code from 2006. Description of Shamir's secret sharing is still current.

There are implementations of the algorithm in other languages on github[0].

[0]https://github.com/topics/shamir-secret-sharing
Switch to Mate.
The parent is referring to increased fuel usage and fuel dependency on Russia as a consequence of the environmentalist push against nuclear power (primarily in Germany).
Prince superbowl XLI press conference 2007
MATE is a fork of Gnome 2. I like it very much, and it's available on all major distros and on the BSD systems.
I'm not sure what you're saying "is it" to. If your insurance does not go up when living in an area with conditions like downtown SF right now, it's only because you're in a risk pool with other people not having those problems. It still does no good to deny those problems like it isn't a clear breakdown of society. And if you're talking about San Francisco your rent is hardly a baseline of affordable as you said, so I'm not sure why you make that comparison or why greedy developers price gouging is somehow NOT also a sign of dysfunctional society.
i remember reading that backlight on eink tablet compromises writing experience, which was why Supernote didn't add it.
I can believe that as backlight probaly requires an extra layer between the writing surface and the sensing surface.
Seeing that Amazon Scribe has backlight I imagine they prioritized e-reading vs e-writing, which is understandable because Kindle.

This is all pure speculation though.

I do have Supernote and the writing is as good as it gets for me paper-wise, my brain is fooled into thinking I am proofreading text printed on paper, which was all i wanted from that device.
So I cannot cut out the ads from my paper newspaper?
It's a bit sluggish for me at "Features that make Logto unique" section on my M1 Pro
First of all, I find it silly to downvote a comment based on a disagreement, and I hope other HNers can use it for what it's for: off topic, spam, misleading and nonsensical comments.

That said, I do disagree with you. The fact of the matter is that most content on the web is monetized by ads. Applying your argument would effectively limit you to a very small fraction of the web.

Content providers choose advertising as a business model because it's easy to integrate and, given enough traffic, pays well. If they would prioritize user experience and protecting their users' privacy, they would choose different, and perhaps less profitable and more difficult to integrate, revenue streams.

Besides, ad blockers don't only serve the purpose of blocking advertising, but tracking scripts in general. Web analytics and user monitoring scripts that track the user to feed data brokers and the shady multi-billion dollar market that exists because of it, is particularly evil.

Also, I'll choose how I want to consume the content that is provided on the open internet, control the bytes that I download and the programs that are allowed to run on _my machine_. If the content provider absolutely wants to get paid for their content, they're free to put up a paywall and block access altogether.

If content providers have the freedom to choose how to monetize, then I have the freedom to choose how to consume.
Privacy Gateway: a privacy preserving proxy built on Internet standards
I have that problem when buying presents for my mother. She's taken up a serious interest in painting during her retirement years. The things I'd think to buy would be below her level or are things she already owns (perhaps because they were a gift from me when she was early in her artistic journey). The big-ticket stuff would be already gifted to her by my dad as a gift to celebrate their wedding anniversary.
You know that that is (your/an) opinion, right? I think it is not at all "generally agreed". It wouldn't be the default on most major distros if it did. And even if it was, why would you care even?
I only talked with the layer of the defending side. They say that this is a nonsense, but with such a complex matter you can never be absolutely sure.
HR doesn't have any choice in the matter. This is written as if they do?

>Handling inflation in compensation is a tricky topic. We want to do right by our employees and for us that means in a way that can be sustainable long-term.

The GDP of a country is the definition of the annual labour of all workers which defines/supplies it was all the necessaries and luxuries of life. Imagine a system where you input useful labour and receive the goods and services without every considering a currency. This measurement will always stay the same. My useful labour will receive so many goods and services. In the case of many GDP, it is measured in a local currency but that doesn't matter. You will still receive the same goods, but extrapolating to a currency simply makes the transaction simpler.

When the local currency is inflating. It does not change the actual underlying necessaries of life. It means the cost of the labour has gone up that amount because the necessaries have gone up that amount. It doesn't matter what the currency says, you still get your slice of the necessaries.

So when an employer doesn't match inflation, and thusly is giving you less necessaries. The logical conclusion is they are taking advantage of you, or they assert your skill, dexterity, and/or judgement has reduced in the last year. Which is virtually never the case. So they are taking advantage. They wish to pay you below labour cost to enrich themselves at profits.
Awk is awesome but saying it literally takes 1 hour to properly learn it is a bit overselling.
I noticed this as well, but the Way Back Machine can help with this!

Just paste your broken link into it to go back in time.

https://archive.org/web/
Elon Musk on why he bought Twitter
I wonder if they considered stepping back to the 1990's and sell the device and give free bug fixes but charge for new major versions of their software?
I suppose if a person is wealthy enough, being robbed doesn't hurt as much. Especially if the wealth is held in non-material form.
SELECT TOP
>Honestly, if Taiwan wants to fight then just watch the start of 'Saving private Ryan' for a good idea of what establishing a beach head look likes.

Why would China use tactics and weaponry from 80 years ago though?
Same with iOS (at least, if you make a shortcut with Safari ... haven't tried it when using another browser as the default)
Most people in the comments are jumping on the guy for "Not doing enough" and calling for more "support services".
And housing the homeless and etc.

Why don't big cities in Texas have the same problems with crime? I don't think TX has more social programs than SF.
Keyboard Shortcuts every Command Line Hacker should know about GNU Readline
How to ask questions of hackers to get a useful answer
How about Half Life, Splinter Cell, Mirror's Edge...?
That's it right, the one thing always brought up. What a horrible DE Gnome must be.
As someone else said, when using einops, einsum, named tensors (named dimensions), it doesn't really matter.

For most software frameworks, there is anyway not a diff between column vector vs row vector, it's just shape [dim] in any case, but it becomes relevant how you do matmul etc. with some other matrix [dim1, dim2] or some other tensor [dim1, dim2, dim3].
New approach to magnet manufacturing could reduce reliance on rare earths
I hope they are right.

The semi industry in Taiwan and Asia in general has been a boon for the world, with fast, high-quality manufacturing at great prices for anyone who needs it.

The US has always sought to influence this to some extent with sanctioning countries, and threatening the asian semi industry directly with further sanctions if they were to continue to sell to countries the US don't approve of.

This also highlights exactly how the US views and uses its own semi industry: as a weapon and means of control by dependence.

A strong asian semi industry would mean slightly higher prices for US American consumers, but it would certainly be better for the world as a whole, and that's what really matters.
A few months ago I built a CLI frontend for Hashicorps shamir secret sharing implementation in Go. You can find it here: https://github.com/dennis-tra/shamir

It combines the two separate commands in the article into one.
12 factor app and SOLID.

When you have to review code you notice sometimes people that dislike OOP are doing a lot of messy code. Procedural code or procedural code hide in a object is not OOP and it's horrible to review!
You've more elaborately written my exact thoughts on the subject. Anytime I hear on HN about how we need more people to do a job, I think, "would you want to do that job?", or maybe more relevant, "would you want your kids to do that job?". I suppose it could be taken as a snarky, gotcha question, but it's a question I ask myself often. Someone's kids have to do these jobs.
They should not be calles vectors both.

Horizontal vectors are forms (maps from R^n to R). Vertical vectors are vectors (elements of R^n).

Forms applied to vectors are “rows multiplied by columns”, and so: numbers.

Same thing as bras and kets, by the way.
we've been speeding up our time based queries using tsrange and gist indexes and they have been really great
Sort of, but it's still the ePD, really. The ePD was always there, but largely ignored by both companies and regulators.

What happened when the GDPR came in was twofold:

1. Everyone became acutely aware of data protection legislation, because the GDPR actually had teeth when it came to enforcement.

2. The ePD referenced the Data Protection Directive, and when the GDPR came in to force all references to the DPD became references to the GDPR.

The consequence of #2 is that the hand-wavy "implicit consent" that sites relied on to avoid cookie banners (why show a banner asking for consent if you can just assert you do have consent?) went away - the GDPR made it clear that consent must be explicit.
There are two types of immutability in JS: one is rebinding a variable (forbidden by the const keyword) and the other is modifying an object (forbidden by freeze)

In javascript these are similar as environment closures behave sort of similar to prototype chains.
I understand. I think Dave's conclusion is incorrect as well, but I think he means that most of today's progress in almost every area of life is the result of sustained engineering efforts over the last two hundred years, rather than "there was no cool engineering before 200 years ago".
The big thing, one which I mostly disagree with, is that HN doesn't give users notifications if/when a comment/reply is left

And it's even worse when you submit something - replies to those don't even show up under your "threads" page ... you have to navigate to user->submissions, then check to see if there are any replies, then read them, then decide if you need to interact
Yes, this is the back door, if you want to call it that. iCloud backups are not encrypted and contain key material.
The IPCC reports don't paint a picture that things are going to be mostly okay, and those reports in many ways are conservative, because they can't include feedback loops and tipping points we are not entirely sure about.

Complicated systems tend to show only subtle signs before they rapidly collapse. AI is a new approach that might actually help us asses the risks better.

Climate change is a mine field. Telling people that we are going to be okay, while not doing anything to manage the risk is a lie. Rapid, extreme changes are coming, and they are going to test our civilization's ability to survive. Many parts of the planet will be inhabitable. And that's in a few decades, not even centuries.

Unfortunately this is out reality, like it or not. We don't get another one, so it's important what we are doing something about it. But we don't because of people like you living comfortable lies, not willing to look up.
It does make you wonder, how can they possibly design a new language when they can't even get https working right?
In hindsight, no, at the time, absolutely. If things had gone a bit differently, he would've failed. I mean the 2012 election was about equivalent to the 2020 election, numbers wise.
nextdns.io - and the FB blocklist mentioned in another comment.
the worst are accept or pay. i found it especially annoying to see that on a site like heise.de who should really know better.
What is the difference between `set -o errexit` (as recommended in the article) and `set -e` (which is the method I knew previously)?
I'm not that good at it either, but I think that the runtime.memequal call is coming from the if a == b test, and that it is the if a < b test that is being replaced with a call to runtime.cmpstring.

If so, then I guess there's still a redundant call to runtime.memequal inserted by the compiler.

It's hard to imagine any of this matters at all, in practice, which is probably why the go authors haven't bothered addressing the issue.
This is not necessarily a good counter to that argument.

You're assuming they don't want the general public accessing the website, perhaps they do and would also like the revenue that comes with the ad's served on the site, because that is, broadly speaking, how the ad funded model works.

I personally think ads are a terrible model but a paywall is an entirely different business model with different considerations.
> Do you close your eyes walking around town any time you go by a store front, you see a roadside ad, a bench covered in ads, a taxi backseat, public toilets, any sports events and jerseys, TV, newspapers, magazines, radio...

Honestly, yes, I often do. I intentionally do not look at billboards when driving, I skip ad pages in my woodworking magazines, and I listen to local public radio without ads. In the rare times I watch live TV (wife watching football) I mute the TV during ads. Obviously it's impossible in every situation ever, but yes, I genuinely do try to avoid ads off the Internet, too. I find most of them really bothersome and offensive.
I don't see it at all. The way to pay for those things you need to function in society are the ads. You are making the decision for everyone else, including those less fortunate than you, that those services should start charging money just because your morality is against an ad supported free to use service.
> You think the people that created what you want to use are bad people, infringing on your rights, why would you still use their stuff?

For internet content, the people who create the content I want and the people adding the advertisements and profiting from them are rarely the same. For physical content, it's often a necessary evil due to ethical (non-advertising) products being unable to compete effectively with unethical ones.