skysight-inc/HackerNews huggingface dataset:
I used to think that when Powershell was my only exposure typed pipelines. But after using murex I’ve totally changed my opinion. You still have POSIX pipes there for when you want dumb bytes. But you also have typed pipes layered on top to allow one to manage structural data without having to think about it.

It’s a bit like having jc integrated into the shell, except that jc supports TOML, YAML, tables of various formats and all sorts - and autodetects the content type too - so you don’t have to learn a dozen different tools for managing a dozen different content types.

So it’s the best of both worlds.
The question is not about the oldest. I wrote Bourne shell scripts in the mid-80s which would probably still run today under BASH. But they were pretty trivial, and only used basic UNIX commands.

What you want is the oldest scripts that do actual meaningful work, and yet still run because the person who created them took some care in how they did things, and the people who wrote the shells took care not to unnecessarily break backwards compatibility.

And for that question, I have no answer.
I can't recall the last time I saw someone use that on HN. I'm pretty sure most people don't know it exists.
Only 1 object among Multiple Objects is working of in Functional OOPs JavaScript
I was trying to implement OOPs in JS using Functions and written a code to try that out.

Here is the code I tried https://codepen.io/hackhimanshu1024/pen/ZEXErVZ?editors=1111

I created a Function Ball() with desired properties and added helper function of setup, move and moveBall.

I aimed at moving both the balls regularly after an interval.

But the error I encountered is only the second ball is moving, the first ball remains where is was.

Different behavior occurs when only one ball is defined, then that ball moves as it has to be.

I am not able to understand why such behavior is happening.

Pls explain why this is happening. This will help me in understanding JS concepts in much depth.
Ideally the less manipulation you have the better working market. So, it's good that spoofing is illegal.

Their only purpose here was to: "Through these spoof orders, the traders intentionally sent false signals of supply or demand designed to deceive market participants into executing against other orders they wanted filled. "

That being said, algos could have hit the large spoof bid, but imagine if it was legitimate, that would mean price movement against them and leaving them holding bags.
My challenge to the web developer community:

Can you write something which works in any browser,

regardless of device age, browser version, connection speed,

with progressive enhancement for more modern features?
I think a market where everyone spoofs with impunity is a hellhole. Yes it’s hard to define and police, but that’s probably better than the alternative.
Indeed, I'm picturing sort of a canonical repository for test cases (with a common interface). I would love to have a place I can obtain a test suite for a given standard, execute it, and even potentially publish my conformance. Potentially even have a badge to post on GitHub repos indicating conformance to a certain version of the standard.
I am fairly sure you are referring to https://phpbuilder.com/mysql-and-postgresql-compared/
Unfortunately, the ecosystem of a tool matters more than the tool itself. One could come up with a technically superior alternative to an existing tool (gpg vs age and signify) but unless they have a widely recognised ecosystem, they tend to remain relatively niche products.

For example, Git can sign commits using gpg and x509 and now in version 2.34, OpenSSH keys. Although OpenSSH can be used to sign data, signify is a much better tool for this task.
Place names can be resilient. They can be also very political, e.g. the different spelling of places in Ukraine, which depends if one is looking at them from a Russian POV or not. Even Ukraine itself is spelt differently (Russia would rather people write "The Ukraine").

There was a rather documented political context back then, of erasing the local name to crush the local population. Wherever Hadrian took the name from a Greek regional slang or from a Greek history book, we need not to ignore that context for today's political reasons either - this doesn't really have any effect on anything.

I do find it odd the Romans used two names when switching 'Judea' to 'Syria-Palestine'. There are many Greek references that the describe the entire Levant as 'Syria', more than 'Judea' or 'Palestine' ever being used. Perhaps the Roman needed two names because the second name had become unfamiliar?

Come to think of it, there are many uses of 'Syria' for describing the entire Levant even up to the 20th century. The name derives from the Assyrians. We could take the same references and tell a story about how it's a local name etc., and have a better argument than the post starting the thread. However, just about everyone think the SSNP stink, so nobody does that anymore.
Germany plans to make Covid-19 vaccination compulsory for some jobs
The algos are not trying to hit the spoof, they are using order book imbalance to modify their valuation. So the way it would work is that JPM could for example post a large spoof bid to trick the algos into aggressing into a JPM offer.
You're absolutely right. I had not noticed. I'd say this was to do with GuardDuty isn't free but has consistently been such a small line item on my AWS bills that I thought it was free.

Thank you for the correction.

All the same the point I was trying to drive is when the service is incredibly effective, both in practice and cost, it should in nearly all instances be implemented.

Edit: I wanted to amend my statement but the window to make those changes has passed.
I guess it doesn't serve a purpose.

Considering that these are developer tools, *anomaly-variants could be considered "milder" forms of the *anopia-variants, and further come in various degrees.

Further, people with the *anomaly variants can have severe headaches with certain color-schemes, and the best thing to avoid any misunderstandings, is to check for "safe-for-anopia", or/or use a scheme that avoids these altogether, which will also serve everyone on the *anomaly-spectrum.

But that's just my speculation.
Further to that, there are large ongoing efforts in formalizing mathematics on computers now.

https://news.ycombinator.com/item?id=25118372

Several of them are getting pretty far, and none of them are directly using PM notation (although all of them ultimately owe something to PM). You can learn more math, or contribute more to math, nowadays by learning one or more of these systems. To my knowledge, all of them are eager for new volunteers to continue formalizing theorems in their respective databases.
What does that even mean?

Let's say you have a Wireguard configuration, wg0 which runs off ens0. If your wg0 connection dies, for whatever reason (let's say the remote server goes down), your computer falls back to ens0.

What does "not having a connection to be maintained" change about this?
> rm, cp require -r, mv doesn’t, no auto-directory creation for mv

These make total sense for me.
Forex Economic Calendar
Do you think this applies if a corpus contains both affirmative and negative tests? As in, including not just conforming JSON but also a set of JSON that should be rejected due to non-conformance? I agree it could be challenging for instance for compression - where there is a more challenging definition of 'wrong.' I'm just wondering if this idea has legs, and appreciate your thoughts.
Ask HN: What are your thoughts on web3?
> anyone cancelling an order has to worry that their action could be interpreted as "spoofing"

And getting investigated by CFTC, and CFTC finding proof that you never intended to execute it AND you profiting from steering market in the desired direction which would not have happened without the fake trade...
Gas fees are denominated in GWei but they are not fixed in a set amount of GWei. What you are implying is like saying that because someone paid 3903 ETH for a Banksy painting [0], then when ETH price goes up the price of the Banksy goes up. We don't think of it this way, right? We think the Banksy has a worth set independently of the price of ETH even if it was sold for certain amount denominated in ETH. Same thing happens with blockspace (the resource sold by the Ethereum network), it's paid in ETH but its worth is whatever the market is willing to pay for it, ETH is just a unit of account. In particular, if you want to do a transfer to pay for a coffee and the gas prices of the last few blocks would mean you would pay more than the coffee is worth, you wouldn't make the transaction, right? So you are priced out of the network because you are implicitly thinking of the worth of your transaction in USD terms and the transaction fees in USD terms. Most people think like you, they have a value they are willing to pay for the network fees and thus the market as a whole finds a value for the available blockspace.

PoS is not more centralizing than PoW. I explained this in detail in another post: https://news.ycombinator.com/item?id=29390152

Feel free to counter the points made there.

[0] https://www.coindesk.com/business/2021/11/19/banksy-painting...
I chuckled when our daycare had a lengthy discussion about data privacy and, twenty minutes later, asked every parent to join the WA group.
In the old days, /sbin guarded statically linked binaries to used before dynamic link is available. Would surely help in this situation. Don't know exactly why that changed.

EDIT: Just checked, it is still there! And... It doesn't contains sudo. Can't see a good reason why.
Some states did initially allow co-op markets where farmers got to sell directly to consumers, and only needed to test large batches to meet requirements. The prices were very low because there were no extra middlemen to get taxed, and because each farmer was its own vendor, you could buy very large quantities in one location -- and I think the concept eventually got shut down for that reason.
I hope they'll try to upstream some of those drivers at least. I've written driver code for some parts before and I was better off not even looking at their code and only going by the datasheet. Except when the code worked around silicon bugs not mentioned in the errata. Fun times.
That's not right! Gödel proved that PM couldn't do what people like Hilbert (or PM's authors) hoped it could do.

However, we still have

* mathematics

* formalized mathematics

* mathematical research

despite the incompleteness phenomenon. All of them are still making progress, even often using approaches that are no more powerful than PM's approach. There are still interesting and important conjectures that can be resolved by a PM-like system, but haven't been resolved yet.

I'm sure lots of mathematicians were deeply disappointed when they understood Gödel's result, but it didn't persuade anyone that mathematics was over or that we should no longer work within formal systems!
I love nature and its vistas but there have been times when I felt I was missing out. A few times family members have commented on the beautiful shades of green or a field of green with bright red flowers in. And I just look at it and see.. A big mass of solid green.
If we continue the observations, sea transport is so dominant that the English language uses the word "shipping" even in context of sending goods over land [0]. All the e-shops speak about "shipping", even if it just involves a small truck on a distance of ten miles from the warehouse to your door.

[0] Not my native language, though; landlocked nations use other expressions.
Whenever I come across these types of almost-rants, I never know: Is he talking about some specific use cases in which Postgres completely dominates MySQL? Or is it that for literally every CRUD call I do in my app I'm having my users wait a pointless 200 ms when Postgres would be doing the same in 20 ms ...

What's the deal? Is the difference that drastic and relevant that I should really switch immediately even for ongoing projects, never to look back on MySQL again ?
> ... commercial software ...

Commercial and OSS are orthogonal.

> ... that is private

It seems to have been released under Apache 2.0: https://github.com/badoo/MVICore/blob/master/LICENSE

> The company _could_ make it OSS

They _did_
Across 8 years, what was the profit on this illegal activity? In any other branch of law there is a concept of the sentence providing a deterrent, or at least removing from the actor from the opportunity to repeat offend.

Can someone knowledgeable help me understand why these concepts seem missing from financial market penalties like this? The same people still have their license, and probably didn't even suffer a loss on the activity.
In JavaScript world, there is ImmutableJS, which uses this style of updates. However, there is better approach which is what ImmerJS uses – you write a function where you can do mutation to the target data structure, wrap it in a "produce" function, and library will pick on those mutations and create a new copy of the data that is structurally shared with the original.

https://immerjs.github.io/immer/
“This action sends the important message that if you engage in manipulative and deceptive trade practices you will be caught, punished, and forced to give up your ill-gotten gains,” added Division of Enforcement Director James McDonald.

No, Mr McDonald, it's quite the opposite. The important message is that if your organization can keep the profits from criminal activities higher than the penalties, they can perpetuate it. That's because there are virtually no other consequences for any individual criminals personally responsible for this, and none of them was persecuted, punished and forced to give up his ill-gotten gains.
Or Linux could provide a somewhat stable driver interface.
I would advise having a look at: https://www.youtube.com/watch?app=desktop&v=O53D9x_SO4Q for some up-to-date info.
> The proprietary company's proprietary product was always going to be proprietary.

A lot is companies would have preferred to have proprietary operating systems, but the Linux license prevents them.
I've since heard that the repo has been taken down and all the keys rotated, but just kinda makes you wonder how many APs and switches and cloud keys, etc are still out there using compromised keys.

Also, even though they may have had read access, not many knew it existed. But it wasn't super hard to find (I stumbled across it basically).

Oh and then there the whole metrics collection debacle, where the controller basically phoned home about the topology of every network that it managed. Even if you opted out. Opting out just meant they fuzzed your ID so any given record couldn't be linked back to PII. Which may or may not be legal, IANAL.

But either way it definitely wasn't clear that opting out meant data was still collected. Super sketchy.
A Love Letter to React Native
Zig Performance Tracking Dashboard
I can't answer with certainty, but I think any fixed set of tests can be cheated with overfiting.
Yes, but the tax rate alone is a bit misleading. They have a Central Providence fund that ever Singaporean has to contribute 20% of their salary to and it gets matched (i think that’s the rate) by the employer.

Then this big chunk of money is used to buy public housing, pay for public healthcare, fund retirement, etc.

So if you’re making $120k+ SGD, you’re in the 11.5% tax bracket, but 20% of your salary (starting at $0) is also withheld.

The lack of capital gains tax is pretty great though.
retention of thousands of years and a whale of security
JFYI, that Celentano's song is a famous/mainstream example of grammelot:

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

The master/pioneer of grammelot in Italy was Dario Fo, sample (of the "English" one):

https://www.youtube.com/watch?v=8A4n9Ez9O8g
> Can you cite one real-world example of someone who's been infected using Firefox in newer times?

Coinbase was, and that wasn't long ago. If I were a sysadmin I'd blacklist Firefox from all my machines, no matter how I feel about the open web, about Mozilla or their mission statement, it's not a reasonable risk to take.

> Another counter-argument here is that people looking for vulnerabilities would much rather spend their time looking for chrome exploits than firefox exploits (because of market share), no?

People look for both. Firefox is a much higher value target to governments than Chrome, because that's what Tor Browser is.

Tor is Firefox ESR, which only has big security fixes backported; other security flaws remain in Firefox ESR for much longer. But beyond that, the security fundamentals were never a part of the original Firefox project like they were for Chrome, and it still isn't. 13 years later, Chrome's still making faster progress with exploit mitigation than Firefox, and Firefox is the one that needed catching up. There's a reason why GrapheneOS, which people here trust, don't use Firefox. Check their website for a great readup[0].

On Zerodium, Chrome RCE+LPE goes for $500k, Firefox and Safari. People will argue that's marketshare, but get any exploit mitigation researcher in here and they'll tell you Firefox (and Safari) are fundamentally less secure than Chrome. Price isn't just determined by demand (by governments), it's supply too.

I understand the "cyberpunk" love for Firefox, they're the good guys fighting big G. But that doesn't change what their codebase is.

[0]: https://grapheneos.org/usage#web-browsing
Having used both MySQL and PostgreSQL enough to have been annoyed by features of both of them and fall into a bunch of their traps, I feel inclined to point out a few ways in which MySQL is better, most of which relate to the initial learning curve.

1. MySQL has the better CLI tool. psql is full of minor annoyances, like its cryptic and unmemorable backslash commands like \d for schema inspection, or having a pager turned on by default for query results that are more than one screen length.

2. Postgres has a deeply unintuitive concept of "USER"s and "ROLE"s where actually those are the same thing, and commands like CREATE USER and CREATE ROLE are thus basically synonymous (albeit with slight differences in default values). Worse, lots of the docs pages relating to specific commands don't highlight this fact at all. A majority of web devs I've talked to about Postgres have at some point complained about how they don't understand the permissions system or how ROLEs work.

3. While MySQL enforces that a foreign key from column A -> column B requires an index on both A and B, Postgres only requires a foreign key on column B. Maybe this freedom is nice if you know what you're doing, but it's a major footgun otherwise, since it means that deleting or updating rows in B has a time cost that scales linearly with the number of rows in the table A belongs to.

4. MySQL has a handy ON UPDATE current_timestamp shorthand for creating updated_at timestamp columns, which Postgres lacks, requiring you to use a trigger to implement such a column or move the logic to your application layer.

5. MySQL's "online DDL" features allow making lots of kinds of schema changes without ever holding a lock on the table being updated. In Postgres, by contrast, any schema change, even adding an index with the CONCURRENTLY option, needs to at least momentarily hold a totally exclusive lock that blocks all writes and reads on the table. Worse, as soon as an ALTER TABLE statement starts waiting for that lock, it blocks all new reads and writes against the table. This makes all schema changes in Postgres much more dangerous to the naive; even one that's theoretically able to happen concurrently with queries will hang your application if there's already a long-running query going against the table to be modified. It also means that at scale you need to roll a bunch of your own tooling to apply schema migrations safely, where you run them from a connection with a very short lock_timeout and wrap them in some code that retries on failure to acquire the lock. I don't remember any of this crap being necessary in MySQL.

Maybe Postgres is still better; in particular, maybe it's more performant in a way that outweighs all these nuisances. I don't really know because I've never done any head-to-head comparison to see how the performance of the two would differ in a given scenario, and so the performance differences aren't something I've had a chance to witness as an ordinary dev using both databases. But I just want to make clear that there absolutely is another side to the story!
I do think that's a material risk - however broadly, do you think that such a scheme would make ecosystem better or worse? If you made a hypothetical JSON implementation in your language of choice, would you use it?
ABP just works better. I've tried uBlock a couple times and always had more problems with it.
the end of an era - still using margarine!
but looks like a good recipe to try.
A good (the best?) way to solve that is 'the new namespace solution' described at the bottom of the page here:

https://www.wireguard.com/netns/

In brief, you move your physical eth/wlan device to a new namespace, and create the wg device in that namespace but then move it to the init ns.

By default (and without root) everything will use the init ns and only be able to reach the physical device via wg. If it's not active, nothing will even reach your NIC, nevermind the internet.
In that case at least one of "done" and "not done" needs to be a spectrum; semi-done is a point on one of those spectra
I imagine "semi-done" means "works enough that it can be dogfooded by the devs and tried out by the curious among us, but does not exactly mirror behaviour of GNU cp in terms of corner cases and error output".

I think we need to be more flexible than classifying things as done/not-done. Even GNU coreutils has open issues[0] - is it "done" or "not done"?

[0] = https://debbugs.gnu.org/cgi/pkgreport.cgi?pkg=coreutils
Kiwi Browser has extensions on Android and not just few cherrypicked liked Firefox, whole design of Firefox on mobile is just horrible
Autor do not talk about any abstraction though.

They talk about concrete knobs and dials, bolted on in advance of actual requirements.

"Can do it all" isn't abstraction because it does not hide any details, doesn't abstract away anything.

So if we both have such a different take, please share which part of article motivated your comment so that we can compare in greater detail, if you please.
Namely, «from Mar 16 for people working in hospitals, nursing homes and other medical practices, according to a copy of draft legislation seen by Reuters on Sunday (Dec 5)».

This submission is for a specific general point: after many days of mentions of "mandatory vaccination" (1), a proposal comes out and it is "for some jobs". It is though quite easy to suppose that when such an idea (1) is proposed, the concept of "universal, for all residents" is suspected as implicit - and/because there is a whole world of difference between "specific" and "all", so it is evident that the idea of boundaries should be specified when foreseen.

(There have been plenty of cases in the past two years - e.g., "Country C has imposed a curfew" (which has as a default interpretation, "one shall not leave the house at some hours") where the actual legislation was "Country C has imposed that nobody can intoxicate themselves (e.g. through drinking) at some hours".)

So one is wondering: is it very bad journalism, or very bad communication from the authorities, to advance confusing and unsettling ideas without appropriately defining context?
installation doesn't work because of Brave servers, not because of extensions web store, completely unrelated, or at least it should be unrelated in normal browser
Well obviously we don’t know. But it seems far more likely that we are being simulated by “ourselves” than by some other entity that does not have our problems or face similar issues to us.
I use Bromite, it's very good at ad blocking by default (no add-ons necessary) and it's not affiliated to anyone (AFAIK).