MurphyA/hacker-news huggingface dataset:
by throw0101c | 2025-06-18 10:36:59+00:00
> And the MPEG folks were so cool with video, all that licensing BS. Sounds great. No thanks!

Not wrong, but this is a different topic/objection than the GP's 'being locked into Apple's ecosystem'.

And as the Wikipedia article for HEIC shows, there's plenty of support for the format, even in open source OSes.

* https://en.wikipedia.org/wiki/High_Efficiency_Image_File_For...
by mikedelfino | 2025-06-18 10:37:11+00:00
I came here to say exactly this. You can even set up build steps using GitHub Actions if you prefer something beyond vanilla JS, or publish the project for free on Cloudflare, even from private repositories. In addition to localStorage, IndexedDB is also very useful. It's easy to export the app’s data as JSON for better persistence, and you could store it on Google Drive or a similar service.
by bootsmann | 2025-06-18 10:37:51+00:00
> That train of thought leads to writing assembly language in ed

Hard disagree, LLVM will always outperform me in writing assembly, it won't just give up and fail randomly when it meets a particularly non-trivial problem, causing me to write assembly by hand to fix it. If LLMs would be 100% reliable on the tasks I had to do, I don't think anyone here would seriously debate about the issue of mental attrition (i.e. you don't see people complaining about calculators). The problem is that in too many cases, the LLM will only get so far and you will still have to switch to doing actual programming to get the task finished and the worse you get at that last part the more your skillset converges to exactly the type of things an LLM (and therefore everyone else with a keyboard) can reliably do.
by throw0101c | 2025-06-18 10:37:56+00:00
>> OS support includes Windows 10 v1083

> Ba-ha-ha... ha-ha... no. […]

Feel free to hit "Edit" on the Wikipedia page and correct it then:

* https://en.wikipedia.org/wiki/High_Efficiency_Image_File_For...

> Microsoft will never support an Apple format, and vice versa.

Once again, it's not an Apple format: it was developed by MPEG and is published by ISO/IEC, just like H.264 and H.265.

Or do you think H.264 and H.265 are an "Apple format" as well?
by jmm77 | 2025-06-18 10:38:05+00:00
I really hope there will be, but it's still experimental. If it works well, I think there could be use cases such as dashboards, home automation UIs, charts, or even industrial line control.

Zumly is actually a spinoff of ZircleUI, the first project I ever worked on. Zircle eventually split into Zumly (which is still a work in progress) and Orbit, a CSS tool that makes it easy to create any kind of radial design.
by WJW | 2025-06-18 10:38:38+00:00
1. Start with a non-crazy shape that sort of does the same thing but worse (ie non-linearly or with big power fluctuations for different frequencies). Almost all shapes will interact with a sound wave in a frequency dependent manner so you can quickly scan through many initial options.

2. Define a goal function describing the desired outcome (like the "rainbow" shape of the linked article)

3. Permute the shape you started with iteratively with algorithms like simulated annealing, using the goal function from 2 as a means of defining the quality of the current solution.

The actual scientific paper (https://www.science.org/doi/10.1126/sciadv.ads7497) is worth reading. The goal function is the "Figure Of Merit" (FOM), described in equation 1. They also make a two-prong version they call the "lambda emitter" that takes in a mix of sound frequencies and directs low and high-frequency sound waves in different directions.
by technothrasher | 2025-06-18 10:38:59+00:00
My little contribution to the online clock world is a Japanese Shaku Dokei that I made while I was researching them to add one to my physical collection. I ended up finding a nice Tokugawa shogunate clock from about 1750, which is very similar to the one I digitally created, though my digital one works a heck of a lot more reliably!

https://timebygone.com/
by pjc50 | 2025-06-18 10:39:23+00:00
In the early days, GDI was drawing directly into the framebuffer; making callers go through the kernel provides a limited amount of security against just drawing all over or reading the entire desktop, I suppose. Back in those days you had enough RAM to store one (1) copy of the framebuffer, the active one, and non-foreground windows or parts thereof simply got overpainted.

Aero introduced accelerated compositing: https://learn.microsoft.com/en-us/archive/msdn-magazine/2007...

And WPF and subsequent toolkits follow a more modern model of "application draws into its own RAM region using DirectX which is then composited into the desktop".
by potato3732842 | 2025-06-18 10:40:26+00:00
>Like it's seriously Nazi shit. This is police with extreme powers. All they have to say is "We thought they were illegal" and nothing will happen.

This is barely any different from "we thought we smelled weed".

The problem isn't ICE. They are just todays's live action remake of the same story we've seen before.

The problem is that there is no punishment, no consequences for all those people who, regardless of if through malice or ignorance, let these precedents be made and stand.

Arguably the current situation is worse than the abuses of years past because unlike drug prosecution to which a cross section of society is subjected ICE's prosecution targets (mostly) non citizens who will simply be deported to little effect upon the citizens whereas the citizens had to live with the fallout from drug prosecutions.
by palata | 2025-06-18 10:40:27+00:00
> The worst case is that you replace them with nuclear

Not remotely the worst case. How do you expect to power all the ships needed for globalisation with nuclear power? What about planes? Can a rocket take off with a nuclear engine?

Fossil fuels account for 80% of the energy we use, electricity merely 20%. A whole lot of those 80% come from use-cases that were built around fossil fuels (how do you make plastic and all the materials that depend on it with nuclear energy?), and we don't (yet) have a way to replace that with something else. Try to power a ship with electricity...

Hydrogen, you say? We would need a lot more energy to produce enough hydrogen to replace oil. So we're going from "we don't have a way to compensate for the lack of oil" with "our solution is to not only compensate, but actually produce more energy than what oil was giving us".

All that while currently living a mass extinction and having already missed the reasonable objectives for global warming. So we have a few decades to get there, and what we have seen in the last few decades is that all we have achieved is making the problem worse.
by cfiggers | 2025-06-18 10:41:23+00:00
I'm really dumb, genuinely asking the question—when people do such things, where are they generally running the actual code? Would it be in a VM on generally available infra that their company provides...? Or like... On a spare laptop under their desk? I have use cases for similar things (more valid use cases than this one, at least my smooth brain likes to think) but I literally don't know how to deploy it once it's written. I've never been shown or done it before.
by zozbot234 | 2025-06-18 10:41:23+00:00
Rust's stable ABI is the C ABI. So you absolutely can dynamically link a Rust-written binary and/or a Rust-written shared library, but the interface has to be pure C. (This also gives you free FFI to most other programming languages.) You can use lightweight statically-linked wrappers to convert between Rust and C interfaces on either side and preserve some practical safety.
by gen2brain | 2025-06-18 10:41:34+00:00
JPEG can be YCbCr, RGB or even CMYK (usually from Photoshop or similar software). There can also be unusual subsample ratios for YCbCr, such as 4:2:1. I created some WASM Go bindings for jpegli, and I recall that such images cannot be represented in Go; therefore, for these images, I force RGBA output.

Also, XYB is an option; I use the adaptive quantisation option from jpegli (with progressive level 2) to get smaller files. I never bothered with XYB, as it looked complicated.
by weego | 2025-06-18 10:41:51+00:00
I'm just in the process of moving from a prototype in N8N's agent tools to an actual system that could be self-hosted.

I've read a lot of comments that most pragmatic shops have dumped langchain/graph, haystack, crew etc for their own internal code that does everything more simply, but I can't currently conceptualize how tooling etc is actually done in the real world.

Do you have any links or docs that you've used as a basis for the work you could share? Thanks.
by squircle | 2025-06-18 10:43:05+00:00
Sounds like a barn raising to me.

Posting a gofundme link and sharing your story on social media feels like a not unreasonable approach.

Otherwise, you are building infrastructure, eh? Can the building serve other purposes or provide value to the community at large? Say, it's a school during the day--can it be used in the evening and off school days for other purposes?

Also, let's say its not possible to raise the money. Can you start by making a gazebo? Can you build it from recycled or repurposed materials, i.e., wooden palettes or straw bales, etc? How are other buildings in Tajikistan constructed? (Is it possible to convince more wealthy individuals in the community and surrounding countryside to upgrade their own buildings, possibly in exchange for your own labor, so they can gift the original materials to the community for this enterprise?)
by culebron21 | 2025-06-18 10:43:07+00:00
Apart from noting that this costs $800+, I think serious camera won't work for kids of any age.

Under 8, they just want anything and may break things by curiously pressing everything.

At ~10 they may want to just take pictures, not bother with the tuning at all.

By ~18, sure they go into details and want some perfection. But they'll decide for themselves what they need. To let them try and see if they like photography, anything that doesn't break will work.

I bought an old (~40 years) used film camera ( https://licm.org.uk/livingImage/Zenit-E-360deg.html ), overpriced at $10. A 36 Kodak film roll costs more. It takes time to end the roll and carry it to a photostudio. But it has a lot of charm - sometime it applies overexposure filters on the edges, sometimes I miss the focus. Blur is plenty, because the lens has low light power. Plenty of grain and yellowish hue. I let the kids play with it when empty.
by akerl_ | 2025-06-18 10:43:41+00:00
The companies that sell this kind of product aren’t doing it as a side hustle. It’s not like “oh, well yea, Atlassian mostly sell Jira but also they have a team farming viable iPhone data extraction vulns.”

If you were working with one of these companies, you’d know it because it’s their primary/only product/focus.
by arghwhat | 2025-06-18 10:44:56+00:00
> It should use its additional color palette available in HDR to look better, and the additional brightness to make make effects pop as you describe.

It could, but that's different than shouldn't. There could be good reasons for it, such as not wanting the primary gameplay to lie outside a color palette available to people playing on their TV in sRGB or in the common complete shit HDR modes that lie about their capabilities.

It would be neat if more was used, but nothing about being HDR means that you should, or that it's even a good idea, to rely on the maximum capabilities.

> I haven’t turned it back to SDR mode but I’m legitimately considering it. Because I suspect the game looks better that way.

To be honest, without a TV with proper HDR, SDR mode will often look much better. The problem is that TVs are often quite awful when it comes to color volume, specular lighting and calibration. The SDR mode is often very untrue to the content, but stretches things within the TV capabilities to make it bright and vivid to look nice. The HDR mode on the other hand has to give up the charade, and in particular SDR tonemapped content, which if the TV didn't lie would have looked identical to SDR mode, looks really awful.

A favorite of mine is to switch Apple TV's between SDR and (tone-mapped) HDR mode and see how different the main menu and YouTube app looks. I have yet to find a TV where UI doesn't look muted and bland in HDR.
by dvsjr | 2025-06-18 10:45:12+00:00
At the end of the day, you and your manager are people. If you remove the roles you’re playing, they could be a friend. They’d want to know of their management was an issue. Can you help them understand their deficiencies in a constructive way despite the roles you’re in? Can you get past that? I often find I have more empathy and sometimes (a lot actually) more experience than my manager. I share corrective suggestions even if it means a script. At the end of the day either you both rise above you knuckle under and lump it, or you lateral or leave. I would attempt at least while looking inside and out. Good luck, best wishes.
by strogonoff | 2025-06-18 10:45:15+00:00
Is there a name for an approach to debugging that requires neither debuggers nor print calls? It works like this:

1. When you get a stack trace from a failure, without knowing anything else find the right level and make sure it has sensible error handling and reporting.

1a. If the bug is reproduced but the program experiences no failure & associated stack trace, change the logic such that if this bug occurs then there is a failure and a stack trace.

1b. If the failure is already appropriately handled but too high up or relevant details are missing, fix that by adding handling at a lower level, etc.

That is the first step, you make the program fail politely to the user and allow through some debug option recover/report enough state to explain what happened (likely with a combination of logging, stack trace, possibly app-specific state).

Often it can also be the last step, because you can now dogfood that very error handling to solve this issue along with any other future issue that may bubble up to that level.

If it is not enough you may have to resort to debugging anyway, but the goal is to make changes that long-term make the use of either debuggers or print statements unnecessary in the first place, ideally even before the actual fix.
Scanoss and ORT: Now with snippet_choices to reduce snippet noise
by scanosss | 2025-06-18 10:46:08+00:00
If you use SCANOSS with OSS Review Toolkit (ORT), you know how powerful snippet detection can be, but also how noisy it gets over time.

The new snippet_choices config lets you declare your decisions on each snippet match: whether it’s valid, irrelevant, or a false positive. ORT will then honour those choices in future scans.

How it works with SCANOSS: https://www.scanoss.com/post/oss-review-toolkit-gets-smarter-introducing-snippet-choice
by dakiol | 2025-06-18 10:46:46+00:00
Why do we assume that Prompt Engineering is going to pay less money? As usual, what one brings to the company is value, and if AI-generated code needs to be prompted first and reviewed later, I don’t see how prompters in the future could earn less than software engineers now.

Prompt engineering is like singing: sure thing everyone can physically sing… now whether it’s pleasant listening to them is another topic.
by amterp | 2025-06-18 10:46:54+00:00
Thanks! :) Yeah in my experience they're okay at Bash but I'm never happy with the scripts it makes, I feel like the ceiling is pretty low on how good Bash scripts can get without a disproportionate amount of effort.

I'm taking a lot of inspiration from Python in the syntax and I'm actually worried it will trip up any LLM I train on my language since I think it will risk probabilistically just reverting to Python mid-answer Time will tell
by WJW | 2025-06-18 10:47:15+00:00
It seems plausible that Mother Nature had to make some compromises when designing the cochlea, like how much easier it is to grow a (rather symmetric) cochlea than the weird shape from the article and maybe optimizing more for certain sounds than for others.

3d printers and search algorithms don't have that restriction and can directly optimize for optimal splitting and minimal acoustic losses.
by Tixx7 | 2025-06-18 10:47:41+00:00
I switched to 2.5 Flash (non-think) for most of my projects because it was such a good model with good pricing.

Cost is an important factor so hoping that flash-lite is sufficient, even tho its somtimes more than 50% worse in relevant benchmarks which sucks.

Was also just looking at 4.1-mini but thats more expensive and often scores around the same as flash-lite in benchmarks (except coding which i dont care about).

Crazy to think that even after this move by google, openai is still the worse option for me, at least regarding API. Other than API im actually using chatgpt (o3/o4-mini, 4o is a joke) a lot more again lately after 2.5 Pro got nerfed
by cempaka | 2025-06-18 10:48:55+00:00
How strictly is the veil still enforced? After the U.S./Israeli sneak attack I saw video of a woman on the streets of Tehran, with no veil, loudly demanding that the Ayatollah lift the fatwa on developing nuclear weapons so that Iran could defend itself from further aggression. She didn't seem to be in any fear of reprisal or consequences.
by squircle | 2025-06-18 10:50:39+00:00
Ah, well, rereading your original post I realize now this isn't necessarily painful for me. Perhaps though, the annoying aspect is seeing others use proprietary excel spreadsheets without a data lake. Conway's Law?

Does VS here mean Visual Studio? I would not call myself a data engineer, I just play one at work sometimes. Many hats, yknow?
by anonzzzies | 2025-06-18 10:50:57+00:00
It is exactly how I use it personally the most: it will crap down a massive amount of plumbing that I really do not feel like doing myself at all. So when I think of procrastinating, I tell it to write something: after 30 minutes I will have something that would be procrastinate me from hours to never doing it at all. Now its 'almost done anyway, so might as well finish it'. Then I spend 3 months hacking on it while, at any point, getting the AI do the annoying stuff I know im not going to do or postpone. If only for that... I find bug fixing more rewarding and easier than writing crap from scratch anyway.
by lproven | 2025-06-18 10:51:28+00:00
It depends entirely on what it is and what it does.

I would certainly not recommend using Outlook 2003 in 202x, but then, I would not recommend running Outlook, full stop.

But using Word, Excel and Powerpoint 2003 today, on local files? Yes, that is pretty safe on an updated and secured PC.

First, you must install Office 2003 SP3:

https://archive.org/details/OFFICE_2003_SP3_INST

Then you are fairly safe.

It is very noticeable that if you install the "Microsoft Office Compatibility Pack for Word, Excel, and PowerPoint 2007 File Formats" – still available on the Internet Archive:

https://archive.org/details/file-format-converters_202107

... then this installs a lot of extra stuff, and that means the PC suddenly needs lots of extra security updates.

So if you don't need it, don't install it.

Me, I use Word 2003 and nothing else. All my other needs are served perfectly well by LibreOffice Calc, Impress, etc.
by Mawr | 2025-06-18 10:52:12+00:00
I had a coworker who took this to the extreme. When they'd come up to anyone they'd say, without any pauses in-between: "Hi. How are you? So I wanted to tell you x, y, z [...]", not leaving any time to respond, even with the formulatic "I'm fine.". Really driving home that they're just reciting, without caring one bit how you feel.

Pretty overwhelming to me personally, but I could tell other coworkers were taken aback by it too.
Show HN: Plancana – AI-Powered Trading Journal for Smarter Trades
by griflp88 | 2025-06-18 10:52:15+00:00
Hey HN, we’ve been working on Plancana, an AI-powered trading journal that helps traders track, analyze, and improve their performance across markets like forex, crypto, and stocks. It’s built for traders who want more than just a logbook—Plancana syncs with platforms like MetaTrader in real-time, uses AI to generate personalized trading plans, and even tracks your mood to tackle the emotional side of trading.

We created Plancana because we noticed a gap in the market: most trading journals are just data dumps, leaving traders to figure out what went wrong (or right) on their own. Plancana changes that with features like win-loss ratios, profitability heatmaps, and an AI mentor that offers real-time feedback. The sleek design also makes journaling feel less like a chore and more like part of the growth process.

On the tech side, Plancana’s AI digs into your trading data to tailor strategies to your style, while real-time syncing automates the tedious stuff. We’re also working on an open-source component for the community to play with—stay tuned for that.

Would love to hear your thoughts or answer any questions!
by account42 | 2025-06-18 10:55:10+00:00
> For vacation, we were used to going to money exchanges anyway so there was no need to get a bank card that worked outside of one's primary country.

Strong disagree, being able to withdraw cash at corner stores or pay with cards directly beats having to guess how much cash you need to exchange beforehand. And a number German banks have offered free credit or debit cards for decades.

> And even for those who have credit cards, they are "pay in full at the end of each month" cards, not American-style revolving credit cards. And stuff like the "cashback" cards of Americans, that's also not very common here since the "cashbacks" are actually paid for by the merchant on top of the interchange fee - but there's an EU law that places a hard cap of IIRC 1% on the merchant fees, so there is barely any way for banks to incentivise people to use credit cards.

True but that doesn't affect their usefulness as payment methods - EU customers can largely pay with "credit" cards just fine.
by nodirvaliev | 2025-06-18 10:55:55+00:00
Originally, we hoped the building could also function as a kind of community center—something like a cultural house where people, especially kids, could play musical instruments, gather, and learn together. But for now, that idea is on hold, simply because it requires far more funding than we can afford at the moment.

Another challenge is that wealthier people from nearby areas are hesitant to support the project. The village is small and poor, and unfortunately, that means it doesn't attract much attention or investment. Many assume it's not worth the effort.
by lproven | 2025-06-18 10:56:26+00:00
The LTSC editions work very well.

I wrote an article about them:

https://www.theregister.com/2025/04/22/windows_10_ltsc/

I have them running under both VirtualBox (works but is a little fragile) and VMware (which is now freeware, of course) where it runs very smoothly and quickly.

Since I like old Thinkpads with full-travel keyboards, none of my own laptops can run Win11 without hacks. I dislike it anyway.

So although I mainly run Linux, I think come October I will nuke my dusty and rarely-booted Windows 10 partitions and replace them with LTSC.

The IoT edition only supports US English, which is a minor PITA, but it works and I can set a UK English keyboard layout. It's perfectly usable. I DGAF about US spellings in the UI but it's annoying that I need 2 locales configured, and a local switcher I never use, just to have a UK keyboard.
by esseph | 2025-06-18 10:57:24+00:00
That's just a tiny feature of it, and not even the most important.

Intelligent local echo. Did you type that char? How many times? Are you sure? Now you never have to guess..

UDP based means avoiding Path MTU problems.

Connection "roaming" and auto connect, etc.

Really, really cool. I wish mosh was everywhere :/