skysight-inc/HackerNews huggingface dataset:
> "the /usr split is there for a reason!". No, it's just an historical quirk.

It's a historical quirk on linux, where there is no clear separation between "base OS packages" and "3rd party packages".

On FreeBSD the split is very real, anything in /bin/ ships with my OS and is maintained and updated by the FreeBSD team. Anything in /usr/bin/ comes from ports and is thus a 3rd party package I installed and can be safely nuked and I need to maintain/update it.
I'm pretty sure you can easily do that with a presumably legal USB-A male to USB-C male cable.

Plug one end into a charger with a USB-A port (very common among phone chargers) and the other end into a charger with a USB-C port (Apple's chargers seem to be like this?).
Which Hare language and tooling features help give confidence when rolling one's own cryptography?
I'm wondering what some signs might be that we are working out how to live with one another, like less sub tweeting or something.
I mean if you want a stable coin... just use dollars? I get that you want to make use of some of the benefits of crypto, but the downside is that there's scams and instability everywhere, and "stable" coin is just a sales pitch, not a guarantee.

I mean the USD is not stable either by definition, but there's more checks and balances there and your $1000 won't halve in value overnight except in extreme situations like the world shutting you off of the international financial system for invading a neighbouring country.
Greed indeed! Reading the headline I assumed the FIFA org had sold its naming rights to EA and was busy reprinting stationery and unscrewing the sign on their building! Gran Lardon... https://youtu.be/A0KCbZ7L17I
The image on this Tweet was from 2019, which likely uses data from even earlier years. The data I showed you, from the NY city itself, illustrates a sharp rise in crime today.
How about art?
What impact is the tech stock crash having on Europe’s startups?
Interesting - could you give a bit more detail and insight on your position?
Biggest unannounced UK tech fundraises so far this year
That's not true. As British copywriter working mainly for U.S. tech companies, I often have to manually change autocorrect from British English to U.S. English and back again. Every laptop and phone I buy is initially configured for British English.
Coinbase Has No Risk of Bankruptcy, New 10-Q Text Is SEC Requirement, CEO Says
At first glance:

The syntax seems to lean on JavaScript (C-like with data literals, long keywords, dot notation for de-referencing etc.), the types are put at the front of an expression (like C, Java) as opposed to the back (Pascal, Go, Rust, Typescript).

The type system seems to take inspiration from Typescript. With structural typing, optionality and so on.

The query language looks very similar as Clojure's list comprehensions (for macro).

But I think the interesting stuff is things like this:

https://ballerina.io/why-ballerina/graphical/

And this:

https://ballerina.io/learn/configure-ballerina-programs/conf...
Compiler macros are kind of a fluff feature that can easily be subsumed into regular macros.

You need two ingredients: (1) it must be possible to define a macro and function simultaneously for the same symbol. (2) the regular macro expander must detect fixed points in macro expansion and stop expanding. You want (2) anyway; if a macro returns the original form, so that its output is eq to its input, it make no sense to call it again.

This is the TXR Lisp interactive listener of TXR 275.
Quit with :quit or Ctrl-D on an empty line. Ctrl-X ? for cheatsheet.
TXR Lisp has no protected class members; C++ refugees may face discrimination.
1> (sqrt 5)
2.23606797749979
2> (fboundp 'sqrt)
t
3> (mboundp 'sqrt)
nil
4> (defmacro sqrt (n :form f)
(if (constantp n) (sqrt (eval n)) f))
** expr-4:1: warning: defmacro: defining sqrt, which is also a built-in defun
sqrt
5> (sqrt 5)
2.23606797749979
6> (macroexpand '(sqrt 5))
2.23606797749979
7> (macroexpand '(sqrt x))
(sqrt x)
8> (mboundp 'sqrt)
t
9> (mmakunbound 'sqrt)
sqrt
10> (mboundp 'sqrt)
nil
11> (macroexpand '(sqrt 5))
(sqrt 5)

Unlike a compiler macro, sqrt will always expand, guaranteed.

User-defined optimizations want to be tree rewrite patterns. We can impose that onto macros (or compiler macros).

In the TXR world, this can be done with a parameter macro, and one is provided for that, namely :match.

12> (defmacro sqrt (:match :form f)
(((@(constantp @exp)) (eval exp)))
(((* @exp @exp)) exp)
(((expt @exp 2)) exp)
((@else) f))
** expr-23:1: warning: defmacro: defining sqrt, which is also a built-in defun
sqrt
13> (macroexpand '(sqrt (* (+ x y) (+ x y))))
(+ x y)
14> (macroexpand '(sqrt (* (+ x y) (+ x z))))
(sqrt (* (+ x y) (+ x z)))
15> (macroexpand '(sqrt (* 5.5 5.5)))
5.5
16> (macroexpand '(sqrt (expt (sin x) 2)))
(sin x)
17> (macroexpand '(sqrt (expt (sin x) 3)))
(sqrt (expt (sin x) 3))

Parameter macros like :match are bound in the keyword namespace. When these bound keywords occur at the head of a parameter list, their macro gets invoked, receiving the parameter list and the function body, rewriting both of them together.
Ask HN: What is a good guide for learning Vim
Hey!
For some time now I often have to edit files in the terminal and I would like to learn how to use VIM. What good resources are there to learn VIM? I have no experience with it and would appreciate suggestions.

I would prefer any kind of interactive learning stuff, since I'm a very lazy reader. But this is just a preference of mine - I would be willing to read stuff aswell ;-)

Thanks in advance!
You're referring to Tether (USDT), which has indeed been suspected of being printed to prop up BTC. This is about TerraUSD (UST).
It is worth noting that the depeg started at a time when liquidity was moving from curve finances ust-3pool to 4pool(Both trading pools of stablecoins). This resulted in much less liquidity for a time which would be perfect time to attack the weakness.

It was always going to blow up though so it is possible this was just a coincidence and all it needed was slightly less liquidity to trigger the run.
This looks very analogous to enforcing a clear separation of authorization from authentication. So much so that I would assume that leveraging a library meant for authorization like oso[0] might be one of the most straightforward ways of implementing an entitlement system as described in the article.

[0]: https://www.osohq.com
Your app broke my Back Button on iOs (safari)
2A at 5V is the maximum you can get without USB-PD. 500mA 5V is the maximum that’s guaranteed.
> A constant implied that it had identified two proportional quantities — in this case, period squared and distance cubed. In other words, it stopped when it found an equation.

Very interesting article. Thanks for posting.

I've been thinking about the physics equation and its relation to proportionality. Not all physics equations are proportionalities because in physics the equality sign is loaded.

To me, proportionality is fundamental not the physics equation. So I would have written the last sentence of the quote as "...it stopped when it found [a proportionality].
How do you think the token is generated if not through an encoding process?

Other disadvantage I forgot to mention earlier: base58 is variable length, which is a foot gun that will bite you eventually.
I guess the Structured Concurrency JEP below addresses the problems you'll get to solve. It'll enable things like AND / OR combinations of virtual threads which IMHO looks like a better way to solve this rather than having a special syntax for select.

https://openjdk.java.net/jeps/8277129

But frankly I'm afraid of how these changes affect garbage collection since more and more vthread stacks are going to be in the heap (I hope they are contemplating some form of deterministic stack destruction along with the above JEP).
Solid advice..

Somehow reminds me of a client whose new developers thought it was a good idea to fork the code base for each customer, instead of the feature flags it had..

Spent quite some time merging everything back a few years later
My understanding is that QuantumScape are far from the only company working on solid-state lithium-ion batteries, and that they are widely expected to be ready for production at some point around 2023-2028. I don't think they're using especially exotic materials. The challenges seem to be in getting the manufacturing process right.
Say what you will about EA, but as a rugby fan I’m a little hopeful this gives them a little space to having a crack at the egg chasing game.
Had to tweak the title to fit the HN limits, original title is: Coinbase Has No Risk of Bankruptcy, New 10-Q Disclosure Langauge Is SEC Requirement, CEO Armstrong Says

> The 10-Q, filed with the SEC Tuesday, says: “Because custodially held crypto assets may be considered to be the property of a bankruptcy estate, in the event of a bankruptcy, the crypto assets we hold in custody on behalf of our customers could be subject to bankruptcy proceedings and such customers could be treated as our general unsecured creditors,” Coinbase wrote in its recent filing.

That's one hell of an argument for "Not your wallet, not your coins!".

And here's the full tweet response from CEO Armstrong: 1524233480040710144
I read that as the FIFA organisation was changing its name.

Amazing that FIFA is now more widely known as the name of the game rather than the body that organises association football.
That’s not good! Is it just not going back on Safari on your phone? I’ll have a look too!
This looks like a great resource. Human checklists are not perfect but they tend to be better than automated checks for this sort of thing.

But there is a common form of accessibility guideline that I have a problem with, and this one illustrates it well: "Avoid using the autofocus attribute." The problem here is it quietly pits users with special accessibility needs against the rest - "Just don't use feature X." OK, but what should I do instead for the rest of my users who benefited from feature X? What if I'm making a search engine landing page and I want to automatically focus the input on page load (and automatically bring up their keyboard if touchscreen)? Is there some other approach that achieves the same UX as the autofocus attribute but without creating accessibility problems?

According to MDN, "When autofocus is assigned, screen-readers 'teleport' their user to the form control without warning them beforehand." OK, but really? Why? Why don't they offer the user the option to not do that?
Node.js is a mature framework and never had problems with it. I also write my own code and avoid installing useless packages. Truth is everyone likes fresh projects like Deno but their ecosystem is doomed. I mean all I need is Redis and it doesn't work the way supposed to.
The EU is used to introduce laws that aren't supported on a national level. The parliament doesn't really help as an organ for control since it is dependent as an institution. I more and more believe that the EU is fundamentally defunct and instances like this and the ISP spying is further evidence. It is just making everyone poorer with its monetary policies and the civil liberties it fights for are not much more than smokescreens.
When you say

> and not doesn't risk crashes

are you intentionally writing !(!(riskcrash(bitcoin)))?

Because if that is what you wanted to say then I agree with you, but if you really wanted to say "doesn't risk a crash in value like bitcoin exposes me to" you do realize that that is simply untrue because no one knows the financial basis of Tether? Which means that at any moment it might go to 0?
Investor-state dispute settlements could delay global climate investments
https://archive.ph/joUwS
Additionally I don't like the fact that most newer USB Hubs have a cable that cannot be removed/changed.
Sony and KIRKBI invest $1B each in Epic Games
"remote"

The results kick in as "US only"
Okay, so you want a hub that provides 240W per port and supports 40Gbps per port, right?

Are you willing to pay the hundreds of dollars that’s going to cost?
I can’t seem to replicate it. If you send a video to hi@himalayas.app we can have a look!
Clojure is what you describe in a sense.

A hosted language that has the idea of symbiotically interweaving into existing ecosystems.

I've done a lot of clojure in my past, and while I love the language and it's heigh ceiling, I've found the floor not quite low enough.

I do indeed think that there is room to bring a more data driven approach to existing ecosystems, especially when it comes to interoperability between them. Something living in the area between SQLite, protobuf and a hash table.

And I don't think there is actually much needed to achieve this.

* A dead simple binary graph representation format.

* An easy to implement immutable datastructure to represent that graph.

* A simple conjunctive query DSL to that translates between the data graph and the tree semantics (structs, maps, arrays, e.t.c) of the host language. Implicitly providing join and filter operations (similar to GraphQL).

These tree declarative primitives would probably be enough to pull any host languages 80% over to being data-driven.
All the other fragments of relational languages, like recursive queries in Datalog or negation and optionals in SQL, would be recoverable by using the capabilities of the host language.
For me, the value in having a bin vs sbin split is in keeping system binaries (daemons, root-only tools) off the user's path. There's little value in a user starting inetd or apache2 from the command line, so why should those be present in the user's path? Same thing for system management tools that require root access for everything, such as dmsetup, blkdiscard, or shutdown (yes, Linux examples as I don't know FreeBSD).

Having only usable binaries in the path aids discoverability of the system.
No, just to change the scale on the vertical axis of the graph when you look at the 3M (or longer) chart.
As a relatively new user to Notion this seems quite interesting. I never was one for blogging (because I have nothing to talk about) but ever since summarizing videos and articles in Notion I find that I'm building a small body of derived work that might interest people.

How easy is it to have linked database entries shown on the blog as well? I currently have my own database with both private and less private entries and would prefer to not share everything, either by linking from the blog db to my own db, or by filtering.
You touch on a good point - for a sizable proportion of people 'FIFA' means the game instead of, say, 'massively corrupt sports governing body'. This deal was a massive PR win for the organisation over the years as affection for the game rubbed off on them. This is the proverbial own goal.
What if everyone decides to do that?

What if 10% of the people decide to do that?

What if it turns out that the number of $$$ that Tether actually has is much smaller than the number they imply that they have?
Yes sadly there are a lot of jobs that are limited to specific countries or time zones. It’s best to search for your country or time zone using the search on https://himalayas.app/jobs :)
First, you're assuming all employment is unilaterally contributing to society.

Second, you're assuming people whose income isn't from employment aren't subject to taxes.

Third, you're assuming consumption is not contributing to society.

Fourth, how do you propose wealthy people redistribute to the masses ?

Five, you're assuming wealth is unproductive. Should wealthy people just hoard their wealth in cash and gold instead of income generating assets?
Logical errors in the registry AFAIK. Maybe it's a broken hive file that wasn't cleanly written and closed. Who knows. It's not like Windows is particularly transparent about registry issues.
You should activate safe search for this. The oldest results on the internet for many women with distinct names may well be revenge porn... I was able to find an example of this pretty easily, it was a first-page result for an uncommon name.
This gets brought up a lot. Data orientation was a term coined in two different programming communities: game engines and information systems. The terms have overlap and some of the implications are similar. But there are also significant differences as the game programming term focuses on data layout and performance, while the information system term is more about simplicity and leverage. They both are divergences specifically from mainstream OOP.
Ask HN: How to Google in the Past?
For example I want to google an article or blog post which was posted in 2014 (or any other day in the past)
It's not against the site, it's the companies fault advertising as remote. Or mine, understanding remote as something that shouldn't have to do with borders.
I think the link is much more general. Take any act that today isn't a crime, for instance drinking alcohol, and at some point the government could decide it is against the law.

When thinking about this, try to pick an act you enjoy. For instance, practicing as a software engineer with out a license? I know it isn't a thing today, but as more software mistakes are blamed for more deaths it could happen.

Her argument is that having strong rights to encryption will enable us to continue to do these acts, write software w/o license, drink alcohol, have abortions, and be Jewish (see WWII), once they're no longer allowed.

She then argued that we should stop treating the US government as the good guys (by default) in conversations about encryption.

Encryption rights becomes another front in the war over any of these other rights.
The russian side expected to take the entire country in a matter of days. Now it's celebrating because it took Mariupol after two months of shelling some amateurs in some caves, turning the entire world against them. Not exactly stellar performance.
They'll just buy the dip. Line goes up, I hear.
> ...the government had purchased nearly $25 million worth of bitcoin...
> ...a $800 million Eurobond repayment due in January 2023...

Dont think the losing of bitcoin value can be blamed in case of default
I miss my old ipods. I got an ipod mini as a gift from my parents at a graduation age... 19 I think. I traveled to the US for reasons and got a nylon cover for it, making it massively overbuilt but it was a very personal thing for me.

It got stolen from my coat pocket at the canteen area at my weekend job; the lockers were always occupied. Probably by this weasely looking kid who got a new scooter not much later. The company gave me a gift certificate to get a new one out of graciousness I guess, they weren't obligated, and I used that to get an ipod nano.

I mean it was good, but not the same. Anyway, I too loved that one. I contemplated getting an iphone (3G at the time), but eventually decided against it because I'd be locked into a phone contract, without actually using a phone that much, so instead I got an ipod touch. It was neat for having a screen and apps and no contract, but not the same. I ended up using it alongside a regular flip phone for years, and later I got an Android phone (a cheap Samsung) but it languished in my bag because I much preferred the Apple interface and syncing.

Eventually I got an iphone through work and got rid of the flip phone. My ipod touch is in a drawer somewhere, I sometimes charge it up but don't really use it, it's too slow.

Anyway TL;DR I want an ipod mini / nano again, just for music and maybe podcasts, but there's not been any decent competitors filling the gap. I don't really understand why Apple doesn't have more competition for high-end portable devices.
And bear in mind this deal doesn't even include player and club likeness and naming rights! May have been rhetoric from EA but it really does seem there is some truth to their assertion that FIFA was just 'four letters on front of the box'.

Not sure how the NFL deal works out in that regard, but it does seem a little more tightly coupled : https://www.polygon.com/2020/5/28/21270647/madden-nfl-ea-ren...
Where I live there are car clubs with cars parked on residential streets which you can book on an app on drive straight off.
What does FC stand for?
Eventually ethernet always wins.
Use the time option that shows up underneath the search bar.
Excel Versus Excel! EVE...
After and due to their failed attempt to raise a "Bitcoin bond," the market doesn't believe in the government. Their non-Bitcoin based sovereign debt is now trading at 30 cents on the dollar, down from 94 cents on the dollar last March. [1] This makes it all but impossible for them to raise more sovereign debt on the capital markets.

I don't think it's the price of Bitcoin so much as their going all-in on it and then seeing their gamble collapse out from under them. They've now lost money on all the "dip buys" their dictator was tweeting about - in English only - to show off to the laser-eyed.

Their issue is that they showed such poor judgement.

[edit] Further, of course, they're thumbing their nose at the IMF by refusing to roll back BTC-as-tender. No matter what you think of that demand or that policy decision, if the IMF is the only one lined up to bail you out, it's their way or the high way.

[1] https://www.boerse-frankfurt.de/bond/usp01012ca29-el-salvado...
> You can drop a program into a directory and run it. If you want it to integrate with the OS or DE, you need an installer to configure it in the centralized location. No difference there between Windows and Linux.

This applies only for minority of the programs.
There are many programs which simply refuse to work or crashes because some entry is missing from the registry.
https://youtu.be/4J8NJJ4n3Zw

This seems to be a decent example. It looks quite impressive.
Doesn't the NRA pretty much have that covered?
Luckily the other big benefit of solid-state batteries is they don't tend to catch fire (even when physically destructed). The flammable part of lithium-ion batteries is usually the liquid electrolyte, but solid-state batteries don't have a liquid electrolyte.
In an interactive way, it might be installed on your system, you can try to type "vimtutor" in the command line, this is small interactive introduction.
I guess the goal is to own things. It probably has overlaps with sneakerheads or other streetwear fans. There's another one where being seen wearing the same thing twice is a faux pas - you know the gossip magazines (and people into those) would be all over that.
Flippant slogans are bad outreach.

Telling people "shut up and change your way of thinking until you agree with you" is a very bad thing to do once you're no longer a fringe movement, even if your way of thinking is right.
I would argue it isn't and it's just a bad headline.
The way I'm looking at it: if I save money moving dollars using Wise instead of PayPal, that doesn't change the value of a dollar. So why would saving money moving dollars using ETH instead of Wise change the value of either ETH or USD? The value doesn't accrue to the token holder in any case. Am I missing something?
Tesla recalls 130K vehicles; touch screens can go blank
I dunno, in Europe at least they are cracking down hard on "fake" products, mainly because the big brands see it as competition. Being caught with imitation products at e.g. customs in airports will get your imitations confiscated and you fined.
"Good news! After reviewing your dispute, [...] has decided to release their copyright claim on your YouTube video."
A sound-bite from elsewhere in the comment section is stablecoins having 2 stable values - 1 and 0. In this case, if the peg isn't being maintained that could easily be a sign of heavy stress. Someone is maintaining the peg. If they don't have the power to push from 0.999 to 1.001 then they certainly don't have the power to push from 0.9 to 1.0.

I'm sceptical enough of Tether that my opinion isn't interesting, but the trending nature of the slip could easily turn out to be an early warning.