frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

Bain launches datacenter biz for Euros worried about climate change and Trump

https://www.theregister.com/2025/05/22/bain_capital_hscale/
1•rntn•27s ago•0 comments

Trump Administration Halts Harvard's Ability to Enroll International Students

https://www.nytimes.com/2025/05/22/us/politics/trump-harvard-international-students.html
1•S0y•30s ago•0 comments

How to Build Conscious Machines

https://osf.io/preprints/thesiscommons/wehmg_v1?view_only=
1•Anon84•3m ago•0 comments

National Museum of Asian Art Announces Transfer of Manuscript Fragments to China

https://www.si.edu/newsdesk/releases/national-museum-asian-art-announces-transfer-ancient-manuscript-fragments-china
1•gnabgib•6m ago•0 comments

Running Rust Code in a Chrome Extension

https://elijahpotter.dev/articles/putting_harper_in_your_browser
1•chilipepperhott•8m ago•0 comments

Finland Court: Food couriers are employees, not entrepreneurs

https://yle.fi/a/74-20163422
2•stevekemp•8m ago•0 comments

Writing a technical book with Manning in 2020

https://medium.com/modern-fortran/writing-a-technical-book-with-manning-in-2020-6ac3497500c9
1•Tomte•10m ago•0 comments

The "AI 2027" Scenario: How realistic is it?

https://garymarcus.substack.com/p/the-ai-2027-scenario-how-realistic
1•NotInOurNames•10m ago•0 comments

Creating Wildflower Meadows

https://web.archive.org/web/20250511225613/https://www.rhs.org.uk/lawns/creating-wildflower-meadows
1•Tomte•10m ago•0 comments

Synthesis, Performance and Applications of Metal-Organic Framework MIL-101(Cr)

https://www.mdpi.com/2624-8549/7/3/78
1•PaulHoule•12m ago•0 comments

North Korea Botched Launch of Navy Destroyer

https://www.nytimes.com/2025/05/22/world/asia/north-korea-destroyer-accident.html
1•jihadjihad•13m ago•1 comments

Show HN: Secure Execution of AI-Generated Code Locally on macOS/Linux MicroVMs

https://github.com/microsandbox/microsandbox
1•appcypher•13m ago•0 comments

Making Minecraft Mods with LLMs

https://www.creativemode.net/blog/making-minecraft-mods-with-llms
5•wilson090•14m ago•0 comments

BYD Outsells Tesla in Europe

https://www.semafor.com/article/05/22/2025/byd-outsells-tesla-in-europe-for-the-first-time
1•thm•15m ago•0 comments

HTML5 elements you didn't know you need

https://dev.to/maxprilutskiy/html5-elements-you-didnt-know-you-need-gan
1•maxpr•15m ago•0 comments

Can We Trust Social Science Yet?

https://asteriskmag.com/issues/10/can-we-trust-social-science-yet
1•Michelangelo11•16m ago•0 comments

Cross Platform Machine Code (2022)

https://tenderlovemaking.com/2022/06/12/cross-platform-machine-code/
1•082349872349872•17m ago•0 comments

Show HN: Keyboard-first tool to type and create fast

1•kevinisherenow•18m ago•0 comments

Welcome to Agentic Commerce: Where Smart Agents Seal the Deal

https://abhinov.xyz/welcome-to-agentic-commerce/
4•beabhinov•18m ago•0 comments

There's Always a First

https://preservinghope.substack.com/p/theres-always-a-first
1•Teever•19m ago•0 comments

Show HN: Pill Buddy - Meds Tracker for iOS

https://apps.apple.com/us/app/pill-buddy-meds-tracker/id6742357512
1•kaiherng•22m ago•0 comments

First gene-edited spider produces red fluorescent silk

https://newatlas.com/biology/worlds-first-gene-edited-spider-produces-red-fluorescent-silk/
1•namanyayg•24m ago•0 comments

Apple adds official Vision Pro support to Godot game engine

https://www.developer-tech.com/news/apple-official-vision-pro-support-godot-game-engine/
3•namanyayg•24m ago•1 comments

Hit hardest in Microsoft layoffs? Developers, product managers, morale

https://www.seattletimes.com/business/hit-hardest-in-microsoft-layoffs-developers-product-managers-morale/
2•namanyayg•24m ago•0 comments

MilliForth-6502, A Forth For The 6502 CPU

https://github.com/agsb/milliForth-6502
1•droideqa•28m ago•2 comments

Ask HN: Would a combination of Snapchat and Reddit be interesting?

1•busymom0•30m ago•2 comments

Show HN: Kubiks – Real-Time Service Map for K8s, Cloud, CDN, WAF, and More

https://demo.kubiks.ai/views/servicemap
1•alex_holovach•31m ago•0 comments

We’ll be ending web hosting for your apps on Glitch

https://blog.glitch.com/post/changes-are-coming-to-glitch/
6•js4ever•32m ago•2 comments

Apple Turnaround

https://hypercritical.co/2025/05/20/apple-turnaround
2•k2enemy•33m ago•0 comments

Ask HN: What's your biggest pain point with AI inference costs?

1•cryptolibertus•35m ago•0 comments
Open in hackernews

I Built My Own Audio Player

https://nexo.sh/posts/why-i-built-a-native-mp3-player-in-swiftui/
69•nexo-v1•3h ago

Comments

duxup•3h ago
This is a good read, admittedly haven't finished it yet. I like reading about the more granular details developers decide on and why.

I will say that I sympathize with the idea that ... I don't like any audio players that I've tried, but in the world of music apps the layout of screens and UI seem almost universal across them and ... I just don't like them / don't "get it".

I feel like I'm boxing with every music app ever...

I appreciate anyone who takes a shot at making something new.

AdmiralAsshat•2h ago
Dang, I thought he had built his own hardware.

I'd still love to get a proper successor to the Sandisk Sansa Fuze, just with USB-C charging instead of its proprietary charging cable.

There's plenty of "luxury" /audiophile MP3 players out there which cost in the hundreds of dollars, but that one was in the sweet spot of bang-for-your-buck music player that I could just use for listening to music on long plane rides etc. without draining my smartphone battery.

blizdiddy•2h ago
I had been wanting something similar recently and ended up buying a Hifi Walker H2 and loading rockbox on it. Works great, and it’s a total nostalgia trip to be using rockbox again after so many years!

Wheels will always be the best way to navigate music libraries.

AdmiralAsshat•1h ago
Oh, nice! That undercuts the price of the FiiO JM21 by about half, which was the other entry-level audiophile music player I was looking at if I ever decided to splurge on one:

https://www.amazon.com/JadeAudio-JM21-Snapdragon-Bluetooth-P...

yapyap•2h ago
The Tangara from cooltech.zone fits most of ur requirements, except the price one maybe
razakel•2h ago
I wonder if you could get an iPod Classic and upgrade the storage/replace the battery...
q2loyp•2h ago
Yes that is possible, I got gifted one such iPod once.
windowsrookie•1h ago
There is a whole modding community around the iPod video/classic.

You can replace the hard drive with MicroSD/SD or compact flash cards.

https://www.iflash.xyz

You can buy different color faceplates/backplates, upgrade the batteries, etc.

https://www.idemigods.com/iPod_5th_5_5_Generation_Video_Part...

Foobar8568•2h ago
You have many options for DAP, unfortunately they are often android based. In some rare cases, they are either pure custom OS, or stripped down android device. I have a Cayin N3U, I hesitated a lot with some Hobby device as it's a small brick and Android, while the android interface is still too present for my taste, and a bit too large, I have no regret, I really wanted something dedicated, no Bluetooth, tube, portable, no streaming, no extra app.
keyringlight•1h ago
There was a merge into Rockbox [0] last month with someone making their own hardware [1] primarily to run rockbox.

[0] https://gerrit.rockbox.org/r/c/rockbox/+/6510 [1] https://github.com/amachronic/echoplayer

JKCalhoun•2h ago
I've considered building a device with the Teensy.

I don't even need it to be portable. In fact, I'm happy with a "component stereo" look with a VFD display. ;-)

josefritzishere•2h ago
It's interesting that most/all of the available tools for playing digital music, a well-known and very popular activity... suck. Do we think that's enshittification or product managers misunderstanding the market? In a normal universe one might otherwise expect it to be saturated with options.
dylan604•2h ago
The enshitification was completed when they convinced us to no longer want to own our own copies of music but to perpetually rent access to their content.
lukan•1h ago
The latest Iteration I discovered 2 days ago, a audio service(via Amazon), where you have limited time for listening. So I get to listen to that new audiobook, but see my 10 h contingent decrease every second I listen. Creates a new vibe for me.
dylan604•1h ago
Libraries had the same count down, but it just wasn't in your face. If you returned a book after the agreed time, they charged you late fees. These guys just cut off access to it. They should have a late fee equivalent where you can extend the time without having to pay the full rental rate again.
AStonesThrow•1h ago
Yeah I think a sibling has it right: DRM factors into this, and TPTB do not want another Winamp or VLC that gives freedom to users to play what we want.

The situation for me on Android would be hilarious if it weren't so saddening. Since I purchased a KitKat tablet in 2015, I've more or less stuck to the "Android Files" app to play music files. Yes, that has been the best solution: no app install required, bare bones, no feature demands from me. In fact, rather than making playlists, I would just copy out tracks to a new folder and play them in there. Want to repeat one? Make five copies of it!

On Chromebook I'm using the builtin app, Gallery. It's utterly barebones as well. All I want to do is listen to a track.

This has continued even to the present day, but you know what? Our days are numbered, because apps are staking out moats in terms of file types they will handle. They're looking to reduce generic handling of multiple file types.

I've been trying to conform to this "new normal" by using YouTube Music. With my Premium subscriptions I should be able to download any streamable track, and also listen to files on-device. This is working out poorly. The on-device management is abysmal and makes you want to die. The downloading feature just sort of... fills up my storage, and I don't really even use it. I still fall back on Android Files because Music is such a horrible app, except when I'm using it to stream.

mouse_•25m ago
When billions of dollars are involved, never attribute to stupidity what could be adequately explained by malice.
munificent•20m ago
It's enshittification.

Software for playing audio used to be great even with far fewer engineering resources going into them. That suggests the reason they are getting worse is deliberate and stems from a misalignment between what software users want and what the producers want.

Most music software companies today are two businesses joined together:

1. A software company that makes apps to let people listen to music.

2. A content licensing company that pays artists and record labels to give them access to music and let people listen to it.

If they were only #1 then they would be agnostic to what music people listen to and how much of it. WinAmp didn't give a damn how big your music library was, what songs you listened to, or how often, because that was entirely between you and your MP3 collection.

But, say, Spotify has to pay someone every time you listen to a song and how much they pay depends on what you listen to and how often. That gives them a direct, perverse incentive to build an app that routes you away from expensive audio you might prefer towards cheap stuff that eats up your time but doesn't cost Spotify as much.

That's why every single time I open the fucking Spotify app I see a wall of podcasts even though I have literally never listened to one and never will. They don't put them there for my benefit, but for theirs.

For Spotify, the end game is routing people towards eventually-AI-generated musak that they themselves own the licenses for because it's free for them. This is directly analogous to why Netflix is now constantly pimping their own often-shitty produced shows over movies you might actually prefer.

The reason we aren't saturated with options is that producing a media app without also having deals that give the app direct access to media to play dumps a lot of work back onto users and most users these days simply don't have a local media library or want to maintain one.

And spinning up a new app that does off content directly has huge startup costs. You need an army of lawyers to go out and negotiate deals with every record label out there, and those labels probably hate you out the gate since they are still salty about not making anywhere near as much money as they used to make when they sold CDs.

JCattheATM•16m ago
VLC has always been more than sufficient for me, or mp3blaster back in the day for a TUI app. I have trouble understanding why those or similar solutions are not sufficient for others....just interface preferences I guess?
mg•2h ago
I wonder if one could build this in HTML, so there is no need to install anything.

On both iOS and Android, HTML can play videos and mp3s while the screen is turned off. So maybe it is possible?

__jonas•2h ago
They specifically ditched react-native because of their requirements regarding file system traversal, so this is definitely not something that could have been done in-browser.
mg•1h ago
Traversing local directories is supported via the File System Access API in browsers these days:

https://stackoverflow.com/questions/64283711

It works nicely in Chrome on the desktop and on Android. Not sure how the situation is on iOS.

miramba•1h ago
But unfortunately not on Safari respectively the iOS webview, which would have been mandatory for the author to use. If I am wrong, I‘d gladly take a solution. I think this is one of the main problems for PWAs: No good , platform-independent way to access the local file system. As in „pick once, access forever“.

Edit: https://caniuse.com/native-filesystem-api

Edit2: Just a few posts down: https://webamp.org/

mg•1h ago
I see.

That's a pretty big argument to go with an Android phone.

Being able to write your own tools in HTML is so nice.

lukan•1h ago
Sure, I did it 13 years ago and still use it daily. On a PC though, mostly. (But the actual player was mobile first, as it was my remote connection to the PC that is connected to the bass box. But works also standalone.)

I just never polished it to publish it, but it is quite easy and I guess ChatGPT can help with the basics as no arcane knowledge is required. (Except maybe the playing while screen is off.)

You also need a small node script, though or something different with system access to scan the media files. I think in browser tools make this now somewhat possible without(beware of security restrictions), but my approach is simply a node script scanning the music folder and generating a list that the media player consumes to find files for the player. I still didn't got around to make it automatic, but I don't add so much music (anymore).

I guess I will give it a try to see, how good it works a mobile player nowdays. I always wanted to upgrade it, so I can connect to spotify from my player as I hate the spotify mobile app.

matteason•1h ago
It's actually surprisingly hard to get iOS Safari to keep playing audio with the screen off.

When I made https://ambiph.one I ended up having to route everything through a MediaStreamAudioDestinationNode to trick Safari into thinking it's a livestream, which is apparently the only type of audio allowed to play in the background

Minimal demo here if it's helpful for anyone: https://codepen.io/matteason/pen/VYwdzVV

egglemonsoup•1h ago
Hey Matt! I've been a fan of Ambiphone for a while and I see your comments on HN surprisingly often. I've been trying to build a different web audio player with inspiration taken from yours. I haven't figured out the screen off audio thing, so thank you so much for sharing this demo!!!
matteason•6m ago
Thanks so much, that's really cool to hear! Let me know if you ever hit any more problems, I've been meaning to blog about a bunch of problems I had to work round in various browsers but haven't got round to it yet, so happy to answer any questions
thorum•1h ago
The solution I found after approximately two months of struggling with this problem: you have to generate an audio file that is a few seconds of silence, play it on a loop, and play it at the same time as the actual audio file you want to play (via separate audio elements, or an AudioContext). Specifically I believe you need to make sure the silence is “playing” at track boundaries for the real audio, so there is never a single moment where your webapp stops playing audio.
busymom0•22m ago
Does iOS let you play multiple audio at the same time?
matteason•4m ago
Ohhh that's interesting, so the root cause for my workaround working might be that the "live" audio node that I stream everything else to effectively never stops
amiga386•1h ago
I won't comment on the merits of this project, but I put my entire media collection, including all audio, in Jellyfin, and I find Finamp (available for Android and iPhone) to be convenient player, especially that it has easy download of entire albums, artists, etc. and "offline mode" you can toggle on so you can random-play whatever you've downloaded, even in places with no phone reception.
daoistmonk•22m ago
Thanks! Just tried Finamp and it works great!
boomer_joe•1h ago
Isn't VLC an option for playing local files and available in the App store? You could sync the folder with iCloud.
nexo-v1•1h ago
It is available, but the last time I tried it, I was only able to select specific audio files for import. I couldn't import the whole directory at once
skydhash•32m ago
There’s a VLC folder inside Files (iOS) where I dumped the library. The nice things is that it plays opus (my lossy format of choice).
noncoml•1h ago
JFYI in case anyone else is in same situation. Before building your own app first try Navidrome and play:Sub
hondo77•1h ago
I don't see the problem with cable syncing, which works fine for me with lots of music and three devices I sync to, but you do you.
slmjkdbtl•1h ago
Managing local music with Music.app and syncing with Finder iPhone sync still works good for me, but Music.app does seem unmaintained for a couple years now with some annoying bugs since the terrible Big Sur rewrite. Despite the flaws this combination is still the best music library management + mobile sync solution I've seen (plz recommend!), but I feel eventually will have to write a system myself since the software is not maintained and not cross platform.
precompute•1h ago
I don't play music on my phone very often. But when I do, I use VLC to access my local minidlna server. It's easy and works with ~no config.
7839284023•1h ago
For music on iOS I can't recommend foobar2000 [1] enough - and I tested ALL of the alternatives. You can import ANY folder (probably what OP is looking for) or use your "iPod Library". [2]

Personally, I sync my music via Synctrain (a Syncthing client). [3]

  [1]: https://apps.apple.com/us/app/foobar2000/id1072807669  
  [2]: https://imgur.com/a/7GVxB2y  
  [3]: https://apps.apple.com/us/app/synctrain/id6553985316
jasonjayr•18m ago
I was unaware that synctrain existed! That solved my last issue I had with my iPhone. I have been using keepass on various platforms to sync my password list, and with keepassium + synctrain I have my iPhone covered. Thank you!

I was unaware foobar2000 existed on iOS too, but the Windows version is my favorite audio player on that platform too.

kelthuzad•34m ago
>Even after the DMA Act in the EU, sideloading still isn’t fully open. EU users can now install apps from third-party marketplaces directly from a developer’s site, but only if that developer still enrolled in Apple’s $99/year program and agrees to Apple’s Alternative Terms. For personal/hobbyist use, this still doesn’t remove the 7-day dev build limitation.

Does Apple want to face a formal non-compliance judgment under the DMA, or is there another reason for Apple's blatant contempt of court with its refusal to properly and fully implement the mandated sideloading[1]?

[1] The Digital Markets Act (DMA) does mandate sideloading in Article 6(paragraph 4). It requires designated gatekeepers, which includes Apple for its iOS operating system, to allow for the installation and use of third-party apps and app stores. ( https://eur-lex.europa.eu/eli/reg/2022/1925/oj/eng )

tschumacher•27m ago
I built my own web app to listen to full albums while allowing me to take breaks and switch devices. I really like to listen to albums from front to back but I found that at least YouTube Music doesn't remember playback position and you can't just switch devices without pulling up the album again on the other device and finding the position where you left off. My web app lets me paste a URL that is then downloaded to the server using yt-dlp and can be streamed from there. It always remembers playback position so I can listen from the phone in my car and then continue on the laptop at work from where I left off. It also works great for adding mixes from other sources such as NTS Radio - one of my favorites.
busymom0•20m ago
I personally use the Documents app by Readdle. I have the free version and have been using it to transfer and play audio files for like 3 years. Their audio player looks just like a music player and has all controls too.

You can transfer files to the app over wifi or even use files from the Files app.

rckt•19m ago
On iOS I'm using Evermusic player, which allows syncing with different online sources. First I used it with my Dropbox folder, then moved to my self-hosted WebDAV.