skysight-inc/HackerNews huggingface dataset:
Just tried it, on Linux.
Pro:

- a single binary you can drop in ~/bin

- native Linux version

- really, really fast

- git branches in the top bar by default

Cons (beside being super new and lacking ecosystem):

- Use a custom window border, which is also pretty ugly IMO

- cannot use arrow keys in the command palette (or any file dialog). I guess it's a bug?

- default key bindings are... weird? ctrl+f doesn't prompt a find box for example

- cannot make syntax highlight work even on common formats like MarkDown, JSON or YAML

So, it feels very immature but for sure it is a great starting point, if I get good syntax highlight and code completion with a LSP (although it should already work) I might see me switching from VS Code to it, at least partially.
Letting everybody sue everyone else until we all get what we want is a
kind of end-stage neoliberalism (individualisation of the
legislature).

To call yourself a "government", at some point you need to take a
stand that contains actual values.

One can understand why California would not like to go directly
against BigTech as we are in Europe. And any fixed laws will quickly
go out of date in a fast world. So more fundamental principles must be
addressed. Positive and enabling policies are always better.
The Texas law is based on a theory of there being a fundamental right to procreate, which is harmed by the sterilization effect of many gender-related procedures. If you could come up with a theory of harm for braces, you could make a case for banning them too. But I doubt it would be as grave a harm as removing sexual function.
That entirely depends on your execution environment! If you are running on one fixed host and only use Docker for the benefit of reproducibility or easy software upgrades, you should definitely go for a caching strategy.

If you are running on your own (bare metal) Kubernetes or other orchestrators, rather go for smaller image sizes.
> The only thing that the EU has done is make web browsing worse by forcing a damn cookie popup on every damn website.

GitHub doesn’t have one. HackerNews doesn’t have one. The requirement is to get consent for unnecessary data processing, and most of the popups don’t even meet the requirements of GDPR to be non-coercive.
I don't even remember the last time I bought from Amazon (or eBay for that matter). It's simply not worth the hassle. At this point even Wish is more trustworthy, so I see no reason to still buy from those - if you need cheap (and often bad) stuff you can get it directly from the source, and otherwise, welcome to the rest of the world of online shopping.
UK to take steps against lawfare
Right, the only 'magical' thing about WASM is that it has browser support. On the plus side, browsers have a comparatively good track-record as secure sandboxes. Far better than the JVM, say.
> You're very unlikely to be prosecuted for doing this stuff, but it's not that unlikely that you will get wrecked with legal bills reaching that conclusion.

What he's saying seems to be exactly in line with what's happening. Even if the author doesn't end up being found guilty by any court, he'll still be wasting a bunch of money on lawyers.
Climate migration in South Asia set to treble by 2050 due to political inaction
For anyone who wants to add graphics to their TUI, notcurses is pushing the boundaries of what's possible and viable in a terminal. Still could use some bindings for higher-level languages and ergonomics. It also degrades pretty gracefully depending on terminal capabilities.

Check out notcurses-demo and see what you can pull off in a terminal. My only gripe is that tmux degrades significantly. Regardless, dankamongmen is an awesome dude bringing back the demoscene vibes.

https://piped.kavin.rocks/watch?v=dcjkezf1ARY

https://github.com/dankamongmen/notcurses
Of course there was. There was a nationwide infrastructure of chess clubs, tournaments, state financing and training that no other country had. This created the large base from which gifted players could be recruited

"But the real basis of the Soviet school was its colossal infrastructure, creating a pool of millions. As the huge Soviet training campaign bore fruit, and literally hundreds of players achieved master or grandmaster strength between the 1940s and 1960s, a vast system of rewards and punishments was built up, with endless in-fighting and denunciations. The life of a chess professional was a privileged one: stipends were much higher than average wages, and foreign travel allowed. Botvinnik and his successor Vassily Smyslov were awarded the Order of Lenin, the highest civilian Soviet honour—no British professional has received so much as a knighthood."

https://www.prospectmagazine.co.uk/magazine/coldwarchess
I found that I can adapt to any display size. I used to have an iPhone 5s which I replaced with a 6s Plus and a 7 Plus. Recently I have changed my mind and I wanted a compact phone again to carry less weight and to distract me less. I thought it might deter me from watching videos all the time. I like how the small phone feels like, it’s more elegant.

Oh, and about the cameras: the one update I especially like is the night photography, I can now even take photos of the starry night sky.

Besides that: it’s just a phone, it just has an absurdly powerful CPU in it, and now it does text detection in images. Screenshots and photos have selectable text in it.
Totally agreed. One of the easiest ways to deal with misaligned expectations is to clearly state your expectations.
Damien Riehl and Noah Rubin, had a computer output[0] every combination of 8 notes in an octave, which came to approximately 68 billion separate “melodies ” that they have claimed copyright over. Their goal is to release these melodies into the public domain to prevent anyone else from asserting copyright over any of the note sequences in the future.

[0] https://www.theatlantic.com/technology/archive/2020/02/whats...
Well, I'd say the main analogy would be casinos.

I think it took <<centuries>> to properly legislate them.

Hopefully for software we figure this stuff out in at most a few more decades.
Lecture notes from 5 years of mathematics at the University of Cambridge
I’m sure it’s fine with your developer salary. Go tell the old lady with a meager pension or the family with three kids.
I installed it anyways. Seems fine so far.
Hypersonic missiles apart from df-zf only exist in a lab. They are one of the biggest hype out there along with killer robots. When you hear about tests, it is mostly about work done at a university, which means the tech is still 5 to 10 years away.
You are right, and for context that trend started decades ago in the US.

The general direction has been to let corporate roam free, and use lawsuits as the regulator for when their behavior bumps into externalities.

Of course, as a safeguard corporations will make these lawsuits look as ridiculous and frivolous as possible, argue that people are trigger happy with lawsuits, and from time to time fabricate stories to sway the opinion in the right direction.

An example of a book about this: https://press.uchicago.edu/ucp/books/book/chicago/D/bo364551...

About nice heart-warming stories of frivolous lawsuits: https://web.archive.org/web/20210124041909/https://www.latim...
I fully agree. Also, this nicely highlights differences in the average mentality between EU and US in multiple areas:

Health care: It's private in the US, but government-run in most of the EU.
Weapons: You can sell weapons in the US because the new owner is expected to be a responsible citizen. In the EU, who you may sell to is strictly controlled by government rules.
Drugs: The FDA will let you sell almost literal poison, as long as you mark the ingredients clearly on the box. The EU has much stricter rules for what may be sold to the general public.

In general, US laws are built around the idea that your average citizen is a responsible adult. The EU, on the other hand, is built around the idea that most people need guidance to do the right thing. I dislike the EU system because it limits my freedom. But looking at social media, I feel like the US assumption that most people are responsible adults is simply not true anymore. Maybe by now, we need to treat most people like kids, for their own good ...

Oh and I believe it's absolutely appropriate for parents to sue social media companies if they screw up the age check. What they are doing is akin to putting bottles of poisoned water in a public place. It's just that their poison is psychological. At the very least, we can hold them responsible to keep it out of reach of children who simply don't understand the issues yet.
That is what I noticed for mobile analytics (firebase analytics) as well. It's nice looking at the daily active users and such, but you don't really get any actionable data from it.

For me, a much better approach would be my own analytics, tailored to my product using simple sql statements.

For example how many of my users are tracking mainly dividends vs tracking their portfolio? To get such data I would have to invest more time into setting the right firebase analytics flags than just creating a BI Dashboard that uses one sql query under the hood.
I was super excited and took it for a spin, but this is not usable (macOS 12, arm). Not "rough around the edges", but "pre-alpha unusable". The command pallet didn't respond to arrow keys. I couldn't figure out how to search for an extension. There's no menu bar items, and it follows very few macOS platform conventions (eg, Cmd+T opens a new tab with its own workspace, but Cmd+W doesn't close it.) For some reason, the text is super blurry, especially on the file tree and other UI elements. The UI is obviously non-native and sticks out way more than VS Code's electron based UI.

I think it's a great project with a lot of potential, but I'll give it at least a year or two before general usability.
Ask HN: Hosting a Refugee?
With all that's going on in the world, I'm considering housing a refugee. It feels like the right thing to do. But also it's a bit commitment - letting someone in your house, for indefinite time really, quite possibly someone dealing with trauma from whatever they are running away from.

Any experiences, thoughts, alternatives that the HN community can share?
We do not upload any information from crash reports unless you upload the report yourself. We only collect anonymous usage data, which you can opt out of.
> The only thing that the EU has done is make web browsing worse by forcing a damn cookie popup on every damn website.

No, GDPR requires consent. How it can be obtained is at the site administrator's decision.

The GDPR even states that a lack of action (consent or refusal) cannot block further use of the site/app.

Don't blame the EU for "cookie popups" because the whole situation is the fault of the site owners - they are implementing the requirements incorrectly.
Yes nebula is amazing, I'm using it everywhere!
I made a rest API to manage nebula lh, multiple networks, users, certs. All packaged as a docker image. And open-source of course: https://github.com/elestio/nebula-rest-api
for those interested: there's a larger resolution picture on her blog.
> First it was comic books causing juvenile delinquency. Then it was rock music causing youthful depraved behavior. Then it was video games inducing violent behavior in teens. Now it's social media...

The difference between those things and social media is that none of them were "always on, always available" corporate behemoths hiring legions of addiction experts and legions of marketing experts crafting powerful social networks and legions of lobbyists to stifle legislation.
I think the best way to learn is to give yourself a meaningful project to start with, that can showcase the power of containerized architecture. Some suggestion would be to launch a LAMP or MERN stack using containers, and deploy it on AWS ECS for example. Also given the recent update to the Docker Desktop terms, I think it's better to switch to Linux and use the Docker Engine through CLI instead of Docker Desktop if possible
I'm working on a project for France to rollout virtual power plant flexibility with domestic electric heating. We get pressure to rapidly increase the rollout now. Let me know if you want to join us!
One thing I have never understood about Deno is that how are you supposed to run it on a multicore machine? Since they don't have cluster module like in node there is no way to run one process for each core? If the main thread is busy running some cpu intensive task, it will then block the entire application from answering other requests.

I get that in serverless environments like in Deno deploy each instance gets one core etc but if you're running it on a VPS or just on a normal server I would want something like the cluster module like in node.
When you say emergency fund, I expect you want as little investment risk as possible.

In that case, I do not believe there's any options that are better than a savings account in terms of reduced risk and immediate availability of the money when needed.

In theory, you could say that a higher return is the risk premium you demand. Turning that around, higher returns means the product is more risky, and thus a bad fit for an emergency fund. Even with inflation a lot lower in the past years, a savings account still didn't exceed inflation in terms of return.

Traditionally, stocks have been a good hedge against inflation, but especially in the current market there's a lot of volatility which is not a good fit for emergency funds.

I have personally reduced my emergency fund to a level I'm still comfortable with, with the rest of my savings in investments. And frankly, my emergency fund is just a small part of my total net worth, it's OK if that part loses some purchasing power over time because it's optimized for other goals, like immediate availability, and a more predictable loss of value over time.
Any "musts" in Software Engineering that purport to be universal must be met with lots of skepticism.
You could figure out all of this by looking at the project's releases, mailing lists and the bug tracker. That's something you should do even if a author puts up a statement because it might no longer be accurate.
FlatBuffers is more suited to IPC than any other purpose.
Find something you can buy for cheap and successfully resell for more without issue. Use the profits from that to help subsidize the cost of inflation.

Probably not the solution you are looking for, but it should work...

Otherwise, I don't know.
Belgium is still(!) planning on shutting down nuclear plants. Not sure how they justify the added dependency on Russian energy
Yeah. I am semi-worried about the world turning on regular Russians like myself after that. We are so much easier to deal with than oligarchs with their multiple citizenships and property overseas; for us it's freeze one bank account or card and done.

If I am forced to return and work in Russian IT (seeing as I would also not be able to get paid by overseas customers due to sanctions), we both know which government's war this would support.
Developer salary in France is probably lower than a French pension.
I think that's a perfectly valid appeal to altruism in a tech-savvy audience. It makes sense to take a hit on your individual needs and wants as a user in the short term, if it helps with keeping the tech ecosystem which we collectively inhabit healthy in the long term.

Free market forces based on individual self-interest have proven to be really bad at doing that, so altruism is needed to fill the gap.

...by that logic, I prefer software written in Rust to software written in C++ or Java Script even if it's worse from a user perspective, as long as it's tolerably worse rather than just unusable.
> But wasm being used to control the brightness pattern of a blinky light on the console of the machine that controls nuclear launches? That is fundamentally safer than native sandboxed C++ code being used to control the blinky light.

How so? There are established techniques for developing safety-critical software, and they don't tend to rely on the assumption that a sophisticated JIT compiler is free of bugs.

Or do you mean untrusted code for controlling the blinky light?
That's the concept of Software Rot[1], isn't it?

[1] https://en.wikipedia.org/wiki/Software_rot
> if you resize it you move the whole text

the main reason I change the sidebar's width is to recenter my text depending on my position in front of my screen aha... guess it's a case of the 1172s
Cancel the load before javascript has time to trim the text, or open in private window.
LOL OP forgot emacs
Trick question: based on the logic in that case, can you sell porn to under 18 year olds in the US?
> How do you keep track when installing appimages, flatpaks, tarballs, compiling source and things like that?

Hey, I didn't claim it was exhaustively complete :-)

I have not used any appimages or flatpaks much. If I am using a program and it is not available on my new install, I'll remember to install it when I look for it.

For source compilation, it's frequently for a once-off use (maybe the repo software is too old, so I compile the latest). Mostly, when I move to a new version I don't need to recompile from source.
Young and naive story ahead so I apologise for any anger it might cause, cos I certainly get angry every time I think about it.

First job after I finished university, and I joined a start up that looked relatively promising. It was my first my second corporate job, though the first was a terrible year in industry as part of my studies.

Leadership gave lots of promises (not just to me) about the company and all, and honestly, I'm pretty sure in the early days much of it was okay to promise.

I started on a relatively low salary. Got no options. Moved up the ladder, and got some options. It wasn't a lot, so I didn't think much of it. Heck, here in London, the stock options game for start ups is nowhere near as strong as the US (mind you, I didn't know about this back then either). I was never told about a strike price. I never read the options contract. Lots of mistakes on my part.

About a year and a half after I joined, I got a sizeable pay increase because I suppose I had shown my worth maybe? I dunno. Right around that time, structure changed a little bit. I made the mistake of not checking my pay cheque to validate I had been given my pay rise. For about 6 months I hadn't been given my new pay. I raise it with the relevant people. Because we had hired someone new, and they couldn't find the new contract I'd signed (???), the new person had to go to the CEO to double check. That took another 2 months (don't ask me why).

So I had about 8 months of the pay increase difference not paid, about ~£12k. They get back to me telling me they've confirmed that I was given the pay rise, but they won't be able to pay it in cash, and instead have to pay it in stock options. Without challenging it, I accepted, because I did believe the company would grow.

Fast forward another 1.5-2 years, and I realise the company is a sinking ship, or if not, it's just drifting aimlessly. So I leave. I hand in my notice. Over the next week or so I have meetings with plenty of people to persuade me to stay with all the promises (not even a promise of a pay rise). I'm not persuaded, so our CEO straight up tells me I will lose my stock options if I leave. Didn't even get possibility get my money back. Nothing.

7/8 years later, the company is still drifting. Many aren't paid in full, or on time. It may have been a bunch of costly naive mistakes on my part, but from what I'm hearing it would have cost me more if I'd stayed.

Moral of the story: you should double and triple check your contract, whether you're young or not.
You don't. Emergency funds are for emergencies.

Higher yields are possible with various different investments but they all come with additional risk. You do not want to have an emergency fund they may drop in value during a period which you may need to draw on your emergency fund, such as a market downturn that leaves you unemployed.

Similarly, you want to be able to access emergencies funds quickly. Emergencies are generally unexpected. If you need to wait for funds to unlock or for sales to settle, then it could possibly be too late.
This is filed with the IRS
This is awesome! They seem to be using Wasmer [1] under the hood for their WebAssembly/WASI plugin system.

I would love to know if the IDE frontend could be compiled to Wasm (using WebGL/WebGPU under the hood) so it could run in the browsers, similarly to Makepad [2]

[1] https://wasmer.io/

[2] https://makepad.dev/
This can be obtained from "unofficial" channels. Looks interesting, will check it out. Not a documentary though.
The USPTO likely figured this out 50+ years ago.

After all, there have been computer-generated writings and music for even longer than that.

In "Computer Music", Scientific American, Vol. 201, No. 6 (December 1959), pp. 109-121 , available at https://www.jstor.org/stable/pdf/24941187.pdf we can read about 'chance' and 'almost random' music:

> A second and rather well-known example of chance music is Mozart's "A Musical Dice Game." This piece, one of many similar "compositions" produced as parlor games in the late 18th century, consists essentially of several dozen as­sorted measures of music, the order of which is determined by rolling dice. A more modern random work, "Imaginary Landscape" by the American composer John Cage, is "scored" for 12 radios and thus derives a strong element of random­ness from regional and temporal varia­tions in radio programs. ..

> John R. Pierce of Bell Telephone Lab­oratories, an authority on information theory, has demonstrated other ap­proaches to the composition of simple "probability music." In one, a sequence of chords is chosen by means of dice rolls and a table of random numbers; in another, a series of volunteers each con­tributes a measure. A number of Euro­pean composers have produced more elaborate random music electronically by causing random sequences of electri­cal signals to trigger sequences of tones. ...

It then goes on to describe how the author worked on the Illiac Suite for String Quartet.

Again, this is the 1950s.
The first piece of advice stems from what has been dubbed in Silicon Valley “the small group theory.” It goes like this:

When working on any kind of problem, task or question, embed yourself in a small group of peers with broadly similar concerns.
And:

The second near-universal piece of advice is this:

Get mentors.
Those two pieces of advice, unlike most advice, hold for a very broad variety of contexts. Do read the column, but here is some further detail:

Mentorship can be general or specialized. I have had classical-music mentors, art-market mentors, country-specific mentors when I lived in Germany and New Zealand, foreign-language mentors, chess mentors, economics mentors, philosophy mentors, writing mentors and friendly mentors to help with the basic emotional issues of life. I’ve tried to find mentors for just about everything. Sometimes the relationship lasts only a week or a month, other times for years.

Aside from providing teaching and advice, the mentor, like the small group, helps make an issue or idea more vivid: A living, breathing exemplar of success stands before you. The mentor makes a discipline feel more real and the prospect of success more realistic.

As a corollary, in addition to trying to find mentors, you should be willing to become a mentor yourself. Even if you do not have advanced understanding in some particular area, almost certainly there is someone who knows less than you do and who could use assistance. Being a mentor also helps you understand how to learn and appreciate your own mentors.

A mentor doesn’t have to be older than you, and in fact some of your mentors probably should be younger, especially since technologies are starting to change more rapidly. If you are 50 years old, the idea of an 18-year-old crypto mentor isn’t crazy. If the metaverse turns into a reality, don’t look to the graybeards for tutelage.

https://marginalrevolution.com/marginalrevolution/2021/12/tw...