skysight-inc/HackerNews huggingface dataset:
"My point is that in such situations, the information has a chance to de-escalate, be neutral, or escalate the situation."

Yes, because in intense situations, it matters often much more how you say something, than what exactly you are saying.

Remember that from the point of view of the cops, you might draw a gun at any moment, if they misjudged you. They need to feel they are in control of the situation.

So giving a legal correct counter, but in a snarky or aggressive voice, might not help.

But calmly reminding them of certain laws and maybe even asking them, if they are sure that they could justify their actions in a court, might work better than resisting and demanding things of armed police officers.
> I sometimes come across mp3 files with a high bitrate, but they sound bad which suggest that they were re-encoded from a bad/low-bitrate source.

You could try re-compressing the mp3 file to lower and lower bitrates and check the amplitude of differences. Since mp3 is a lossy codec, there will always be a slight difference, but you should see a sudden increase in difference when you surpass the "true" encoding bitrate.

You could probably write a script for it using ffmpeg and some other tools to generate a bitrate-difference chart.
Off-topic but the font on this blog is stunning - after some digging it seems to be "Vollkorn".
If you already have a lot of data on older, less reliable storage formats you have the choice of keeping a full copy all that data on something with higher reliability, or store just a small fraction of it in the form of the ECC file.

The first option may be technically more sound but comes with a larger investment in terms of time and money. Second option may be less reliable but with significant savings. It's up to the owner of the data to decide how to balance these.
Quines in LLM
Do you have two wrists?
Wouldn't that be a fully generalised argument against ever hiring anyone who ever worked at Google?

(Btw, some people also leave Google for other reasons.)
asyncpg clears out any listeners you have setup once a connection is returned to pool. This will lead to 'missed' events. I guess its something of the same story with psycopg?

If event(s) any jobs will be picked up by the next event or by a timer that checks every 30 seconds or so (can be set by the dev.)
Since there's no previous stage where compile-time expressions could be type checked, the best they can have is strong dynamic typing, no?
You mean Docker? They tend to rot much more than I'd like, mostly because you forget to pin something at some point. With Nix, you can't forget.
If you want to make this more predictable you really ought to take advantage of the golden angle.

I mean there is a free well known way to assign successive ranges integers to near equally distanced points on a circle, so why not use it?
That seems to be exactly what Garry (the creator of Garry's Mod) is trying to do with s&box https://sbox.game/
There's also the laziness.
Roblox actually changed their wording in response to Apple's policies at some point. They no longer call them "games", they call them "experiences"
Also, only iOS, not iPadOS. Although I'm pretty sure the EU will force that, as well.
Surveillance is just as important. In the months and years before a war begins, you need preparation and deterrence.

And as a NATO member and nuclear weapon state, UK's wars are not likely to escalate to satellite shooting. I mean, if it does escalate to that point it's going to be with Russia or China and there'll be bigger problems to worry about than losing a satellite.
Maybe the example is too simple, but it does not require `__attribute__((musttail))` for good code gen.

Also if the error handling function is unlikely, you wouldn't care too much about how fast it is to call it?

To me it seems like a structure of the form

<read data>

if (unlikely(malformed))
return error();

<prep more stuff>

switch (data_type) {
case x:
return handle_x();
case y:
return handle_y();
}

generates a nice jump table quite reliably.
That was an interesting read.

- Great example of letting perfect be the enemy of good.

- Hilarious example of a developer making claims of what users want while ignoring the users in front of him.

- Shows how CoCs can be and often end up being used in toxic ways.

Is Remi the sole active developer or why did no other dev chime in to defuse the discussion?

I'm all for open source projects sticking to their vision and standing up to unreasonable user demands but it really is in your own best interest as a developer to learn to communicate effectively - and keep an open mind for feature requests that sound unreasonable to you and first make sure if you understand what is being asked for.
I never really thought about this before, but I guess it's true that if you aren't careful your donation to a museum is really just gifting something to a rich guy.
What sort of higher-reliability options (than a Blu-ray) does a consumer have? I struggle to think of something that's not fairly niche, eg a magnetic tape drive.
Well done! I'm in the biz, but I don't think I could have put it that clearly and concisely. Thanks.
Programming docs, help, guides are mostly in (fairly advanced and nuanced) english.

This makes it hard to keep up with modern trends if english is not your primary labguage. So you get software at a never ending “just left CS 5 years ago” level.

Same problem China is facing and why they’re thinking of hard porting languages to keep up.
This might work for a (small?) subset of bootstrapped SaaS.

The LTD idea misses one point that could apply to a larger (most?) subset:

Let initial LTD customers be patrons that have insider view and an active role in the product development and roadmap.

Early adopters would love this opportunity, if they buy into your vision. Some might even perceive more value in the product influencer / insider role than the MVP itself, at first.
I wonder if it's possible to use different (natual) languages to implement an Ouroboros[1]

https://en.wikipedia.org/wiki/Quine_(computing)#Ouroboros_pr...
That process they show in the youtube video is pretty involved and very complex for no other reason than to keep people locked in to the apple store.

As a layman I doubt this is compliant with the appropriate EU laws (specifically the DMA)

Unfortunately this behaviour does not come as a surprise but I certainly hope the regulatory "beatings" will continue until compliance improves.
Yep, good point. A considerably large TAM is definintely an important factor of this strategy.
Perhaps I've just been looking more (because I've been going back to the books to pick up C again after a 20 year absence for a side project), but it feels like in recent years there has been a little uptick in people appreciating the level of control C provides, and "going back to basics".

I think the work on C23 (which would have still been C2x when this article was written), means people are starting to want to see innovation in the language again. I don't think that would have happened without Go and Rust showing some great thinking, but it's interesting that it's happening at all.

Tail calls are an interesting idea, and now I want to know more about both this extension, and also how to write my code in such a way as to help a compiler optimize for tail calls even when this extension isn't present. This somehow feels more fun to me than writing more Python or Ruby...
As long as we're being pedantic: M-x only gives access to every single interactive function (which means every function which has the `(interactive)` statement). I can't speak as how to that relates to Microsoft VS Code's 'C-s-p' though.
Right, the latest version seems to be available through MSYS... I remember there was a huge version gap for *nix vs Windows earlier. I guess I remember the native Windows distribution, which is not available nowadays at all.
Like science, text editors evolve one death at a time
Germany, to this day, has been unable to fix their nuclear waste treatment. There is no single approved upon solution for radioactive waste and recently it became clear that even some facilities need to resurface and relocate waste which, again, has no clear path after decades. I'm sceptical that any of the recent "influencer campaigns" (it feels like that for me watching x/ twitter) have ever addressed this.
It's not kids or Roblox specifically, it's gamers and platforms/games with "micro-transactions" etc.

When I was younger and still played online games regularly, I was initially stoked about cosmetic micro-transactions in (competitive) online games. Not because I wanted to buy them, but because these would fund the continuous development of my favorite games without affecting their integrity (no "pay to win" mechanisms).

Later I found this was a Faustian bargain. It turned these games and communities around them into something that I don't want to participate in.

These days I don't mind as much. Because among the sea of predatory, tacky or otherwise low quality crap there are way too many high quality, original and interesting games (typically made by small teams) that I will ever be able to play.

I don't know anything about Roblox specifically. On one hand the comment above is tragic, but on the other hand my understanding is that motivates kids to play around with Lua. If that's the case, then I'm all for it, because for me and many others that kind of thing is how we found our way into our profession as developers.
Love this. I agree, the more you can get evangelists to root for you and your product, the more valuable each LTD customer becomes.
If you're on Android try installing the F-Droid app store, lots of open source apps are available on it (and Droid-ify is a good looking client for F-Droid if you want an app store UI with Material design)
Smaller than a mouse? For something other than a mammal you would have to talk to someone else.
Congrats.

Related... Not sure if you or anyone who might be interested noticed this HN post yesterday

https://news.ycombinator.com/item?id=41286969
Not sure that would matter; the Roberts court has shown it only respects precedent when it suits the personal perspectives of the justices.
Kate can be great but it's riddled with bugs and advertised features that a completely broken(like sessions)
There are some protections for hosting illegal data (real illegal, not EULA-disapproved), but they tend to go away if the host does any kind of editorializing (like showing the data through an algorithmic feed).

Google Search is different yet, since they aren't the primary host.
Strongly disagree, but for JS.

Current web stack is very complicated, HTML and CSS DOM is a rats nest and that's a superficial example. Adding asynchronous rpc pushes that way over the top. Luckily HTTP has been through the production crucible for 30 years. What I see is not a cost center but a reflection of basic truth:

- UI and data representation is hard.

- Developers use the tools they know about.

But about micro-libraries, the first point isn't very important because this is a social problem. There is no standard library for NPM that does what people need. There should be a curated function library of this crap.

In my imaginary vision there are several, and people would look askance when you don't use one without an obvious reason. I very much sympathize with the desire to burn-it-all, but I like that I can use LetsEncrypt and am cognizant that there is a lot of thought and raw technological progress bound up in all this.
Be it said that while the so-called "Supermoon" is a physical reality—a catchy word for when the full moon coincides with the Moon's perigee (smallest distance from Earth), making it an actual, factual ~14% bigger by area (from memory, correct me)—the so-called "blue Moon" is just an artifact of how we have come to divide the solar year into months of 30 or 31 (and, occasionally, 28 and 29) days each. The time between two full Moons being around 29.5 days, there are bound to be some months with two full Moons in them, and frankly it's hard to see that as something very special—about as special as a quarter starting on a Monday.
> Fortnite, Fall Guys, and Rocket League Sideswipe All Coming to the Epic Games Store for iPhones and Android, and to AltStore

That's an interesting move! I'm wondering how they are planning to handle payments there.

UPD: also would be really cool if they decide to run an F-Droid repo!
I already have F-droid, Obtainium, etc, but these are pretty niche. It will be great to have something mass-market (not just for FOSS) that most consumers will have on their phones.

Thanks for Droid-ify, I didn't know about that!
man nanorc
Thinking... even code-only usage would be useful I guess, for C++ (like you use wxWidgets/GTK/FLTK). Also, you could visually build the UI in Lazarus, then load in C++ code, if such thing is supported in Lazarus.
Answers here show HN at its finest.
This is where you see the NeXTSTEP under the hood :-). A very long time ago, this made perfect sense, as applications from that era were multi-window. You can sort of see how it worked here: https://www.paullynch.org/NeXTSTEP/NeXTSTEP.screenshot.jpg (no affiliation, just the first relevant Google result). The Mailboxes window (to the right) and the email display window (in the background, just behind the File Viewer window) were separate, but they were part of the same application. That's why moving all of the application's windows to the foreground when switching to that application was the right call back then, the expectation was that you'd usually run a single instance of that application, and that application would have any number of windows. IIRC if you didn't need one of them too frequently, you would just iconify it.

Contemporary applications (especially cross-platform lowest common denominator applications, like most Electron apps) don't really do that anymore. Pretty much every modern email client has the mailboxes view in a side pane or something, whereas NeXT would have the email view, the mailbox view, address book views etc. all in separate windows. If VS Code has multiple windows, they act pretty much like fully separate instances. It's just not the kind of multi-window application that (what eventually developed into) the modern macOS UI was built for.

Edit: this has been, at various times, been retrofitted onto various contemporary design notions in terms of simplicity or intuitiveness. That's 100% ivory tower bull: this interaction model was pretty common on late 80s/early 90s interfaces, especially on Unices, and everyone gradually moved away from it precisely because it was anything but simple or intuitive, it was confusing as hell. Even as early as the early '00s it had gone out of fashion, and holdouts were just plain weird. E.g. GIMP used to have this mode (and just this mode) in its 1.x-releases and if you asked anyone why they hated it, that was their first answer, before they got to everything Photoshop did and GIMP didn't.
i loved reading this years ago, glad to see it on HN. Will let me have a quick read while in work :)
You could have social democrats do it.
After like 5 paragraphs without any red string or point being made i gave up. Is there any connection between the title and the text? It feels like some good AI talking random tangential things.
Already done, third party stores will be possible in iPadOS 18.
The notice (https://secure.smore.com/n/us6j7-greenwich-public-schools?re...) is talking about students in Elementary School and Middle School, meaning they're at max something like 14 years old.
Hi HN!

When I wrote this answer and Kate [1] to the "Leaving Neovim for Zed" link [2] earlier today I wrote a small footnote about the nano text editor:

I must say here too that nano is actually an underappreciated gem.
It supports a lot more features than people generally imagine:
syntax hilighting, line numbering, auto-indent, multi buffers,
mouse support, keyboard macros, …
it's actually a decent simple code editor!

The fact is that nano is installed on most Linux systems nowadays since it has replaced vi as the default text editor in most distributions for years now. That means most of us are probably using it quite frequently, possibly without even thinking about it when it is called by default (e.g., when using visudo, or when editing a commit message for a git merge operation on a remote host we SSH'd into), but also some of us may be explicitly using it to edit remote config files, or editing file as root even locally, or maybe even for programing?

I actually do use it to program when I'm live coding in front of my student because I can open it in tmux which allows me to have the same editor on my laptop's screen and on the big display my students see (also it's good for them to see that it is possible even in 2024 to code using simple tools that runs on your own computer rather that editing files on GitHub or wherever…).

Anyway, this lead me to wonder how to showcase and discuss nano's features, and of course what's best than the official documentation of the .nanorc config file? Hence the submitted link to its man page :).

Be sure to not miss the "REBINDING KEYS" section of the man page which lists the various and sometimes quite advanced editing functions most people ignore that nano has!

So, below is my .nanorc file. What does yours look like?

# editing

set softwrap
set atblanks

set autoindent
set trimblanks
set tabsize 4
set tabstospaces
extendsyntax makefile tabgives " "

set cutfromcursor
set zap

set smarthome

set nonewlines

# editor

set minibar
set indicator
set linenumbers
set positionlog
set constantshow
set stateflags

set mouse

set backup
set historylog

set multibuffer

# colors

set titlecolor bold,white,latte
set statuscolor white,latte
set errorcolor bold,lightwhite,red
set selectedcolor lightwhite,slate
set stripecolor ,yellow
set scrollercolor latte
set numbercolor latte
set keycolor latte
set functioncolor lightblack
set minicolor bold,white,latte
set promptcolor bold,white,latte

# key bindings

bind M-/ comment main
bind M-w copy all

[1] https://news.ycombinator.com/item?id=41289141

[2] https://news.ycombinator.com/item?id=41284322
Show HN: I built an AI that predicts which images will sell more products
Hey everyone,

I'm a developer who has spent the last 6 months building an algorithm that predicts which images will sell.

Results are great, AI predictions land within 10% of human ranking in 93% of cases.

It’s been an exciting journey, but now I'm stepping into the world of marketing, which is pretty new to me.

I’ve created Focalstudio's landing page to showcase what this AI can do, but I’m not sure if it’s up to the mark.

I would really appreciate some honest feedback on it. What am I doing wrong? What can I improve? I’m here to learn and make it better.

Arthur
Carbon Emissions from AI and Crypto Are Surging and Tax Policy Can Help
This is brilliant. The whole causal inference thing is something I only came across after university, either I missed it or it is a hole in the curriculum, because it seems incredibly fundamental to our understanding of the world.

The thing that made be read into it was a quite interesting sentence from lesswrong, saying that actually the common idea that correlation does not imply causation is wrong. Now it's not wrong in the face-value sense, it's wrong in the sense that actually you can use correlations to learn something about causation, and there turns out to be a whole field of study here.
Obviously compilers have been doing tail call elimination for ever, but for this trick "generates [tail calls] quite reliably" is not enough: you have to GUARANTEE it (or fail compilation), otherwise this structure does not work (it will blow the stack immediately). That's the point of [[musttail]], tail call elimination is required, that's the only choice the compiler has.
> Interviews in the recovered recordings include Timothy Leary, Douglas Adams, Bill Gates, Atari’s Jack Tramiel, Apple’s Bill Atkinson, and dozens of others

That's some interesting people listed.

Here's the actual archive as a note to myself to listen to it later today: https://archive.org/details/famous-computer-cafe
Is this to be an empathy test?
You can do this in one crate:

[dependencies]
foo_v1 = { package = "foo", version = "1" }
foo_v2 = { package = "foo", version = "2" }
Linux Foundation Welcomes the Open Model Initiative to Promote Open AI Models
The Unparalleled Genius of John von Neumann (2021)
> You think Steam puts in more effort than providing graphics APIs, system frameworks for everything from networking to controller handling, UI libraries, educational sessions and security critical updates?

Sure. But this has absolutely nothing to do with fairness.

They charge 30% because they can and because developers have no other options.

Anyway consumers paying for HW/OS are the ones that are funding the development of those tools/apis etc. Apple, MS, etc. provided all of that stuff for free (or a nominal fee) for decades because they always needed software developers more than the other way around. Any platform without third party apps would be mostly worthless.

Apple is in an interesting spot because when they released the app store initially 30% was a very good deal compared to how much it cost to publish apps on other phones.
I wonder how this behaves in combination with __attribute__((cleanup(...))). Especially if the to be cleaned variable is passed into the tail function as parameter.
PRINCE-2 and other methodologies used in these kinds of programs make ample provision for doing this - but like all methodologies the benefits only come from proper application. If the program manager is subjected to political pressure from different stakeholders then the processes and approaches that should catch division and misapprehensions may simply not run.
Coolest and simplest Image color analysis tool Clariss
Discover and analyze the colors in any image using our online color detection tool. Upload your image to get accurate color analysis, including color codes and palettes, instantly. Ideal for designers, developers, and anyone interested in understanding image color composition
Show HN: FluxImage – An open-source platform image generation
Hello everyone,

I create an image generator project using flux.1 ai - https://github.com/volume988/flux-ai-image-webui/.

FluxImageAI is an AI-powered image generation platform built using Next.js and the Flux.1 AI model. The platform allows users to create high-quality images from text prompts quickly and easily.
It also features a prompt generator to help optimize image creation prompts.

Here's a quick demo video: https://youtu.be/SesTO-dEsjM

FluxImageAI provided web-ui.
It is in its early stages and we are adding more features.

You also can use replicate or fal to prediction.

If you like this open source, please star

Thank you!
Agreed, it’s about understanding the problem they have or the thing they are trying to accomplish so you can invent a new or better way to solve it (or eliminate the need for it in the first place).
Isn't that the sort of joke that you'd get from GPT, not a Markov chain? Unless it's quoting verbatim, a Markov chain should have no idea that Alice is supposed to refer back to the letter from the previous sentence.
"I just want the market forces to decide the cut, instead of the monopolies"

Ironically it is the fetish with free market economics that produces the monopolies. I wonder how many "techno optimist" libertarians are also cheering the fact that Apple has been forced by government regulation to allow competitors onto their platform.
The AI Tattoo Generator website offers a cutting-edge platform that transforms textual descriptions into unique tattoo designs using artificial intelligence. This user-friendly tool allows anyone to input their tattoo ideas, including detailed descriptions and style preferences, to generate personalized tattoo concepts. Although it currently lacks a feature to preview tattoos on the body, a tattoo simulator is in development.
Discover AI Genie (generate images, videos and more)