skysight-inc/HackerNews huggingface dataset:
> In medium to high BPP photographic images (which, I believe, is the most common use of lossy image compression)

I don't think this is true. Most web images shouldn't be "near lossless" they should be "not ugly", with the exception being images that are core content (think Flickr or Unsplash).

If a tech product is illustrated with a child laughing at some salad, or whatever, it doesn't matter if some detail is lost, as long as it doesn't look ugly-compressed. Users will be scrolling past it, not zooming in and comparing it to the original.

I did a performance analysis of a set of sites recently, and many have images that are 10x bigger than necessary https://jakearchibald.com/2021/f1-perf-part-2/#issue-large-p....
Probably.

ffmpeg is still the king of multimedia although several people are starting to write parsers in rust.
There's a pull request for SDF based fonts that should make the labels really good all the time.

I have no issues with current fonts. Enable filter in your font settings, can try importing at a massive size designing at a high render scale, and using the viewport scaling to scale it down.

Native viewport (no scaling) and using no scale on your labels should make it all render as you'd expect, however.
Thanks for posting the new documentation on HN! Co-creator here.

tiptap v1 was pretty popular (more than 6M downloads) and an amazing community formed around it. It’s used in GitLab, Nextcloud, Statamic … and tons of other popular apps. But it was built 3 years ago, coupled to Vue, and had an awful documentation.

We couldn’t help but work on a new version over the last months and basically incorporated all the feedback that came up over the last years. We’ve been in a private beta for 4 months now, with sponsors and regular contributors. Now, we’re in public beta and can’t would like to hear what you think!

Here are a few things you can do with tiptap v2:

- Use with Vanilla JS, React, Vue, Alpine, Svelte …

- Bring your own markup and CSS

- Use Markdown shortcuts

- Render Vue or React components inside the editor content

- Use Vanilla JavaScript to render interactive things inside the editor

- Add collaborative editing capabilities

- Build offline-first apps

- Add autocompletes, for example for @mentions

- Use it with Tailwind CSS

- Automatically fix typographic mistakes (optional, as everything else)

- Add resizable tables

- …

Here are a few links to get started:

- Repository: https://github.com/ueberdosis/tiptap

- What’s tiptap/why it’s special: https://blog.ueber.io/post/tiptap-public-beta/

- Discord: https://discord.gg/WtJ49jGshW
Getting Real About Coal and Climate
Not your keys, not your crypto.
Funny thing is, it works in pretty much any other western country. Now speaking about Germany there's essentially two police arms. The state police and the federal police.

I don't see why every government department needs a police. Yes there are specific crimes that you might want to investigate, but you don't have to have police for that. Look for example to IRS they can have investigators, but they don't need police powers. If they need those they can go to the police.

It's not only that every government department has a police now, it's also that (nearly) every one of them has swat teams, I mean for heavens sake the department of forestry has a swat team!
It's also the only viable language with a decently sized community that allows you to write mostly FP or even fully FP code on the JVM. And one strength is that you can go from OOP via OOP+FP to fully FP if you want.

Yes, that can also cause a mess, but for learning it is one of the best languages out there imho.
I will note that this ffmpeg work by google is still ongoing. I do remember an ffmpeg (then libav) developer mentioning that this will never end since this is C and since ffmpeg is doing parsing of data.

edit: I found the video: https://youtu.be/ydqNot4csmE?t=637
And this is the exact reason that it hasn’t been stabilised yet. It was going to be released in 86 (February), and was even enabled in the 86 beta, but people pointed out that this should be considered a blocker as it would scupper the format for years by undermining all confidence in it, so it was disabled again.
You're right. That's a slightly misleading way to put it, and I have revised my original post. My point was that the "default" method of taxation is the same as ordinary income. Long term capital gains and qualified dividends are legally an exception to that rule. Though I don't think it diminishes my broader point.
No, because cold wallets are stored in a physical location without software interaction. They'd have to do what essentially amounts to a terrorist attack in order to break into that location, subdue all the guards, steal all the wallets, etc. Which would basically be a declaration of war if it could be linked back to a specific country.
I don’t think there is any country in the world that is truly and completely welcoming to immigrants. One is always the outsider. However what’s important to realise is that this is the default situation for most people, even is they just move town in their home country (although to a lesser extent).
Then it’s styleless and markupless (that’s not a word, is it?), too.
Strata was the custodian for LendingClub IRA accounts, but sounds like they have had some sort of falling out recently. Got an email this month about switching to https://www.altoira.com/ and then another from Strata trying to get me to stay. Now Stratas charging $100 fee for any accounts that didn't renew earlier this year.

I've only ever used their site when moving money in or out of the IRA but it's a pretty terrible UI and they don't seem to be very responsive. I've had a withdraw pending for over 4 weeks now trying to move money to another custodian.

You are probably better off finding a different approach.
I'm a male.
It'll take some time before you can confidently make that assessment, though. It took ten years for Perl 6 to come out, and then actually it didn't come out as Perl.
I have done c++ Godot development on windows and Linux. They are equivalent. Only difference is the massive PITA that setting up your windows environment is. (Python, scons & msvc)
"Headless" can also refer to a browser that doesn't render to the screen, useful for automated integration tests.
> It is often best to avoid non-ASCII characters in source code. Indeed, in some cases, there is no standard way to tell the compiler about your character encoding, so non-ASCII might trigger problems. To check all non-ASCII characters, you may do [^\x00-\x7F].

Depends of the language. In Python 3, files are expected to be utf8 by default, and you can change that by adding a "# coding: <charset>" header.

In fact, it's one of the reasons it was a breaking release in the first place, and being able to put non-ASCII characters in strings and comments in my source code are a huge plus.

I mentioning this because in another article, the author said being used to code in "C++, C, Go, Java, JavaScript, Python, R, Swift, Rust, C#" so I find it kinda weird.
There are two interpretations of “why”.

What is the motivation for it being free.

What is the mechanism for it being free.

In one of the links,

> It amounts to $170 per month. Great news: I have a job (at prismic.io) and I can completely afford that. Lichess is my hobby, and all hobbies cost a bit of money. I can tell you that the joy of building lichess is absolutely worth the price I pay for it!

Maybe it’s because I spend some number of hours a week looking at trees, but it never ceases to amaze me how stupid the average technical person is around the word “forever”. If you don’t have a trust set up to pay the hosting costs in perpetuity, you’re one recession or bad illness away from it being ad-supported. Or Microsoft could make you an offer you can’t refuse like they did with Minecraft.

There are plenty of legal and financial constructs meant to approximate a forever status, and I don’t see any evidence that anyone has tried to achieve any of them.

When are we going to call “making promises you cannot keep” what it really is? Lying.
The school's official announcement:

https://news.umich.edu/u-m-activision-blizzard-ceo-develop-n...
Pretty much every western country. Sweden, France, Germany to give three examples.
Moot worked at Google!? Thought he was radioactive because of 4chan
The first thing that comes to mind ist LISTEN/NOTIFY from postgres.

You can listen per code and notify per code.

https://www.postgresql.org/docs/current/sql-listen.html

The js adapter for pg can handle this: https://medium.com/@simon.white/postgres-publish-subscribe-w...
Then you'd have to live in america though and I don't know a single peer who considers that an acceptable tradeoff.
Egypt is using the violation of human rights as extortion here. I’m sorry, I’m this is in no way the fault of the shippers. A fair discussion is two entities sitting at the table and negotiating. Not two sitting at the table with one being cruel to the other that the other might care about. That’s pure extortion.
Not sure if looking on your mobile at a document where more than 100 people are typing should be the performance benchmark for it though.
Oh and you can also create triggers and notify based on that.
Don't be...I'm incapable of executing...so there they will sit.
RAII with C Libraries
This is amazing. Thanks a lot!
Which is one of my favourite PLT websites:

http://lambda-the-ultimate.org
The realization that free will is an illusion ideally allows compassion to develop in an individual. If a society shed its belief in free will, then it would act more compassionately, eg the opposite of barbaric.
Non pay-walled link: https://archive.is/accYU
No this is not normal. The important thing you need to decide is whether you want to drag this through the legal process or simply cut your losses and move on. To get a lawyer to pursue this seriously may cost thousands.
Either way, I think you should quit at your earliest convenience. Bad employers don't turn good if you stick with them long enough.
I don’t see how it is inherently racist but there’s certainly a case to be made that its likely to inherit biases from the judicial system.
No…? https://www.google.com/search?q=46%2C225+square+millimeters+...

> 0.49756176 square foot
Misleading headline, or at least I think so:

“We have no appetite for dealing with customers, whether taking them on as new clients or having an ongoing relationship with people, whose main business is backed by an exchange for cryptocurrencies, or otherwise transacting in cryptocurrencies as their main activity,”
I wouldn't say that everything in \x00 to \x1f is OK in source code.
See also: https://www.vanityfair.com/news/2019/11/the-strange-tale-of-...
Yes, users on Office 365 Admin are the same users as on Azure AD.
Fair enough. Guess IDE plugins work even better for that
To me, this is a classic and timeless piece of real computer science.

Such an eye opener when I learned about it the first time! And a reminder that we really stand on the shoulder of giants.
lichess is by far the finest piece of complex online software I’ve ever used. Desktop or mobile it works perfectly. There is no Silicon Valley, Spartan hiring processes, elite University filters: just open source contribution and a great quality gate.

It’s also a great example of something born of and sustained by a community: a testament to the chess demography.
Adwords and Google Ads News
Yes everyone says this but managing your own keys is a bloody pain.
Beej’s Guide to C Programming [pdf]
Hardware wallets make it pretty straightforward.
The dynamics of this is quite fascinating. As a startup, figuring out what your product actually is - what is it your customers _actually_ pay for - can be challenging.

Clearly, it's the same for football clubs that's been around for decades.

They seem to have forgotten what their fans like about them. What they pay for.

That's an expensive mistake for any company.
> The fact that without them, anyone other than large corporations would be entirely cut out of advertising their product

I don't follow your premise.

Big ad networks and targeting make advertising slicker, but that's different from making it possible at all.

In the world of Google ads and targeted profiles, you ask for demographic units, and buy a handful of impressions on a thousand random sites that you've been promised are to relevant viewers.

Without profiling, you'd have to focus on where you want the ads to appear-- either by negotiation with individual publishers, or using an ad network that lets you select publishers by category or requesting page-level keyword matches.
Without reviewing the pasted code it's hard to know if the claim is fraudulent, but I can assure you the DMCA is not the right tool for the job as-is. Using the word "expeditiously" implies there is some immediate threat that must be dealt with to prevent grave damages to copyright holder. In reality maybe some sections of code were pasted for critique, clearly not to steal property from (c)holder.

If only the most severe cases need to be handled "expeditiously" then MAYBE people wouldn't look at DMCA/DRM as a censorship tool. Right now though, its an automated nightmare which has no means for discriminating fair use of a small incomplete/unusable section of code vs someone posting full compiled binary.

Great for them if they can prove the claim was fraudulent, it can only aid in the fight to fix this busted law that has been abused repeatedly to harm competition and critique. We have to fix it now before the cops start using it to shut down streamers by playing copyrighted music at them (oh wait this IS happening, we need to fix this stupid law already...).
What is "super" ? Do you have some special keyboard?
Upvote for mentioning Jeff Vogel. His blog is here:
https://jeff-vogel.blogspot.com/

He doesn't post often, but when he does, it's a great one about indie game development.
Thanks! Join the Discord if you need help upgrading your app. Node views are way more robust in v2 (and we added support for React, too [1]).

[1] https://www.tiptap.dev/guide/node-views/react
People were shocked last summer when federal agents started doing night patrols around a vandalized and firebombed federal courthouse in Portland, deterring and detaining people left and right. Not many are aware of how seriously the federal government takes protecting its properties and duties, and how lethally serious such encounters were not too many decades ago.
I guess it just seems like there’s a lot more state than with file systems I’m used to dealing with. In fact, since journaling became normal, most just have two states (from the user’s perspective) whether powered on or off, mounted or unmounted, whatever—broken, or OK.

ZFS has... a lot more. It’s just very different and the way these states fit together, and worrying about how to operate on them safely, makes me more nervous, in many ways, than less-safe file systems do. I’m sure that will pass, but it’s still not fun.
8 days ago: https://www.reddit.com/r/lisp/comments/mr1fvt/ms_excel_is_un...
That's interesting, in that there's a risk that, if they feel really unsafe, they'll want to pretend that all is fine

And if the group is small, even if you try to make the answers anonymous, maybe you still would be able to figure out who wrote what, and they'll realize this, and write mostly nice sounding things

Anyway, asking and talking about it seems like a good idea. Maybe also asking them to read the article being discussed here :-)
Oh hey! I remember building my own app on top of tiptap last year and having a blast with it!

Glad to see that it got a polished new update! I’ll definitely have to look into it. Good job, guys!
Wealth inequality is not a problem in itself. Poverty or theft is.
> It is often best to avoid non-ASCII characters in source code. ...
>> Depends of the language. In Python 3, files are expected to be utf8 by default, and you can change that by adding a "# coding: <charset>" header.

It's interesting that many languages avoid unicode and non-ASCII text, yet they make assumptions about file and directory structures about the underlying system. It's as if interpreting directory and file system structures is "okay", but interpreting file formats is not.

> In fact, it's one of the reasons it was a breaking release in the first place, and being able to put non-ASCII characters in strings and comments in my source code are a huge plus.

Sorry, but as a Python dev that went from 2 to 3, yes native unicode features are nice, but no, it was not worth breaking two decades of existing code.
I wonder what the statistics say: what’s the likelihood of a Bitcoin residing with a custodian being stolen or lost versus the likelihood of a Bitcoin directly held by the end user being stolen or lost?
Notebag is really cool! Let me know if you’d like to have a chat about the new version or need help upgrading it.
> There is absolutely nothing positive about advertisements on websites from the perspective of their users. They eat up valuable screen space and bandwidth for something that nobody wants to see. They often manipulate and misinform. They have even been the source of security vulnerabilities many times in the past.

While I share the loathing of modern Ads as a service or whatever the technical name for giving Google/Ad Choices a blank check to serve whatever they want on a piece of your web real estate, I think you can certainly put up a banner or something responsibly. If I run a web dev blog and I put a banner for my VPS that has a my referral code, or I come to an agreement with said VPS to show an ad for guaranteed credit or I just sell the space directly to XYZ company that is relevant to my users I think that is a legit way to get a little income without burdening my users.

If Lichess decided to promote some chess books or software on their page to supplement their donations, I would be OK with that as long as it's done tastefully and responsibly.
I feel like there is a lot of mixture between being an outsider and alienated versus being lonely.

Being lonely has become such a huge factor in (especially young) people's lifes, because they need to hop cities for university and later jobs a few times before they start settling down, that a lot of the friends they make have moved away, or they themselves moved away from their friends and it's hard to find new friends. Sometimes your only new social interactions are at work, and in a country like Germany where work and private are strictly separated at first, this is a double whammy.

It also affects very old people, whose friends have died and whose children and their friends have moved away.

Solitude is endemic in the west.
Where’s the immediate code?

I think those are basically Excel formulas, which in context, are not what Excel users would consider “code”.
The issue here is that there is seldom consensus in the software security community when it comes to opinions of certain projects. This is doubly so when the project makes some good choices, and some not-so-good choices, like OpenBSD does. For a similar discussion, ask your local security engineer what they think about WhatsApp or Signal.
Honestly I think julia missed the boat. There was an opportunity for julia to treat the gpu as an abstract distributed node (which is a first class concept in julia) and pay respect to the reality of data gravity. But they chose to instead basically treat the gpu as a synchronous entity.

I'm now bullish on elixir-nx because I think there's an outside shot they will get it right.

Python is a lost cause.
Mars sucks
Do Your Thoughts Scale?
Having moved country several times in my adult life, I wish to think that calling a new place one‘s “home” is a choice. Making a new home can be very hard though. Language, common customs, ways of interaction, all must be re-learned, new friends made. I think it is this huge effort that creates the barrier of calling a new place home.
If you watch videos of the incident you can see the core exploded. It sent material up over the Pacific ocean. They are also planning to dump millions of gallons of water into the ocean. This in addition to all the current leaks.

The main concern is salt water was used to cool the meltdown. This creates very large amounts of isotopes.

Ill take the down votes, guess it was the US.
IMO not using IntelliJ with Java is like shooting yourself in the foot and crutching for the rest of your life just to show people how tough you are.
What you’re saying is certainly possible but I think an important question is whether or not it is more likely than the current situation? I ask this given the nature of humanity and the forces and incentives at play.

If the incentives in a democracy naturally tend towards outcomes where it has destroyed itself, either democracy is a bad idea or it requires regulation and oversight. As a liberal myself I believe democracy is an inherent good and requires care just like anything else.
And always remember they aren't your keys if the hardware isn't by you and verified to gate level.
It seems like you’ve misunderstood me? MIME-type is an intrinsic property which can be derived from the data itself.

I have a cat. I can derive that it is a cat when the situation requires it. I don’t need to have a metadata label attached to it, in my own handwriting, saying “cat”.
That is mad. On a 500,000 EUR house, 50,000 EUR goes to realtors and lawyers?! What on earth are they doing for that kind of money? Is that including some large tax?

In the UK, you wouldn’t pay more than a few thousand for a lawyer and associated conveyancing fees, and the vendor pays the realtor (usually in the range of 0.5-1.5% I believe).

We do have stamp duty (tax) which can be substantial eg 15,000 on a 500,000 property.
> Wealth inequality is not a problem in itself. Poverty or theft is.

Inequality leads to power centers. Power centers lead to systemic corruption. Systemic corruption is a problem.

So yes, extreme inequality is itself a problem.
What do you know about the health of your platform? Part I
What They Wrote About the War
Oh, it does. It’s just that it doesn’t apply to an extent necessary for someone to spend enough time on it.
Cost breakdown here:

https://docs.google.com/spreadsheets/d/1Si3PMUJGR9KrpE5lngSk...

I hope OVH would donate some compute/machines to lichess. It would help lichess a lot financially. It would be good publicity for OVH and I think it would be a drop in the ocean on their balance sheet.
"We" is a helluva drug. Same with "you". What about "I"?
Great article, I love all the picture and interactive demos. The flow visualizations are very cool too. I do feel like the foundations could be tidied up a little though.

> What we need is a smoother, more organic randomness. That is what the noise function generates

Noise is really interpolated random numbers, and you can interpolate spatially and/or temporally. So noise definitely is smoother than a random number, but not exactly more organic.

> There are two flavours of noise—Perlin and Simplex.

There are lots more than two kinds of noise, just like there are a lot of different ways to interpolate data. This sentence should be corrected if possible.

> Vector fields are cool, but flow fields are an even more exciting visualization.

I don’t think this is standard terminology, flow field and vector field mean the same thing to me. If you google those two terms, you find images of what you’re calling vector fields for both, and also articles that say explicitly that they mean the same thing.

I usually think of the advected lines that are referred to as “flow” here called “streamlines”, or a “streamline visualization”.

BTW, the flow visualization rabbit hole is deep. The advection method in the article is a Newton integration, and there are many other ways push the particles around a vector field - and sometimes it really matters! It’s fun to figure out how to draw flow streamlines if the field is chaotic or divergent. Even more interesting & difficult is to compute and visualize the boundary (“separatrix”) between sections of the field that have different behavior.