Hacker News

Top stories

Live mirror
30 storiesupdated just nowView source snapshot
  1. Android 17 is the first since 3.x to add new APIs without releasing to the AOSP(grapheneos.social ↗)
    118comments
  2. Claude Code now reads AGENTS.md if there is no Claude.md(claude.com ↗)
    9comments
  3. Cloudflare Quick Tunnels(cloudflare.com ↗)
    199comments
  4. Saving another 100TB of RAM(cloudflare.com ↗)
    16comments
  5. Xcode 27.1 Beta Release Notes(developer.apple.com ↗)
    44comments
  6. Cache-to-Cache: Direct Semantic Communication Between LLMs (2025)(arxiv.org ↗)
    8comments
  7. Photon-Emission-Guided Laser Fault Injection Enables RP2350 Secure Debug(ledger.com ↗)
    37comments
  8. Show HN: Cactus Needle 3: 8-29MB automation models can match DeepSeek V4 Flash(cactuscompute.com ↗)
    64comments
  9. How to Write with an LLM(sockpuppet.org ↗)
    217comments
  10. The Implications of Linguistic Illegibility for LLM Security(arxiv.org ↗)
    12comments
  11. OpenJev(openjev.com ↗)
    234comments
  12. C++26: Trivial infinite loops are no longer undefined behaviour(sandordargo.com ↗)
    145comments
  13. Our brain evolved from two primitive nervous systems that merged: Study(newscientist.com ↗)
    41comments
  14. Korea raises data breach fines to 10% of revenue(koreajoongangdaily.com ↗)
    42comments
  15. Border agents can search cellphones without a warrant or reasonable suspicion(lawandcrime.com ↗)
    91comments
  16. The first new cat species discovered in 100 years(nationalgeographic.com ↗)
    22comments
  17. From Geometry to Algebra and Back Again: 4000 Years of Papers (2023) [video](youtube.com ↗)
    discuss
  18. I vibed a proof of Conway's conjecture(overreacted.io ↗)
    167comments
  19. How SpaceX streamlined the Raptor engine(construction-physics.com ↗)
    15comments
  20. A search-and-inference database from scratch in pure Zig(antfly.io ↗)
    11comments
  21. Minimal Phone 2(minimalcompany.com ↗)
    118comments
  22. Inside ZCode: Silently uploading your Git history to the cloud(ferstar.org ↗)
    85comments
  23. Warez: The Infrastructure and Aesthetics of Piracy (2021)(archive.org ↗)
    8comments
  24. Show HN: Ax-check.com – Can agents use your product?(ax-check.com ↗)
    23comments
  25. Cekura (YC F24) Is Hiring(ycombinator.com ↗)
    discuss
  26. North Korean nuclear test sets off years of earthquakes(science.org ↗)
    140comments
  27. US Military had close call after using AI for hallucinated intelligence report(cnn.com ↗)
    238comments
  28. Mathematicians Build Long-Awaited Graph Sandwich(quantamagazine.org ↗)
    15comments
  29. Show HN: Scry, programmable internet search w/ congestion pricing(scry.io ↗)
    16comments
  30. The scourge of x86 emulation(fex-emu.com ↗)
    74comments

Show HN: SoundCloud Instant

37 pointsby 12y agokaran.github.io
33 comments
12y agoHN ↗

I made this small app last Saturday solely because I wanted to. Any feedback is welcome.

Oh, and the source code is open: https://github.com/karan/scInstant

EDIT: Right now, it's meant to be used only on desktop. I'm starting to get into frontend stuff, so don't really know how to touch optimize the app. Again, suggestions welcome.

12y agoHN ↗

It's loading very fast! Cool project. An "add to playlist" button would be cool I think (unless I'm not seeing it).

I'm not sure if this is your type of thing but if you are looking for more ideas I was very impressed by the juketube angular/polymer demos[0]. It'd be very cool to see those projects ported to soundcloud instead of YouTube.

[0]http://jt.ms/juketube/

12y agoHN ↗

That would need soundcloud auth. I wanted to make a dead simple, click/type and be done app. Thanks though! :)

12y agoHN ↗

This is great. It would be nice to see the next couple of songs that are going to play and maybe a delete button next to them. A Youtube version would also be useful.

12y agoHN ↗

I thought about showing next songs, but I want to keep the UI minimal, and not showing the app keeps a bit of surprise factor in there.

12y agoHN ↗

I like the idea but search on YouTube seems to be so inaccurate I'm not sure if it would work nearly as well.

I'm having trouble thinking of how to improve scInstant as it is--it's so pared down and fast and just works! Great job!

12y agoHN ↗

I'm glad you like it. Feel free to send any PRs. As long as the UI isn't bloated, I'm happy to merge. :)

12y agoHN ↗

Great! I guess it is searching little bit too fast so that using browser's back button showing some other results for each key stroke.

12y agoHN ↗

It only allows me to search once, if I try to search for something else, I have to refresh.

12y agoHN ↗

I also see that your API key is there in clear. I hope no one can do any bad stuff in your name.

To OP: The way to fix this is to have the JS make a request to your own server, have your own server make the request to Soundcloud and proxy it back to you. That way you don't have to put your key in the JS, you can keep it on your server.

12y agoHN ↗

Is there any way where it does not use a server? I really do not want to use a server here.

12y agoHN ↗

Unfortunately not. Since all JS is going to be transferred to the client, if the key is in the JS the client has access to it.

12y agoHN ↗

Well the URLs are provided by SoundCloud and jQuery so there's nothing that I can do (other than hosting it myself).

Yeah I just hope no one misuses it.

Yes.

12y agoHN ↗

Apparently SC doesn't like it and for some reason the app is very slow after dropping the scheme.

12y agoHN ↗

Nice work. I'm personally not a huge fan of autoplay, since there's a ton of stuff on SC and the search results aren't always accurate enough.

Volume control would also be ace. Not sure how easy that would be to implement - now that I think about it, I've never seen it on any of their widgets.

12y agoHN ↗

Done with volume control.

    shift up/down - volume
12y agoHN ↗

Small bug: it reloads the track when I press the volume up / down keys on my keyboard. Using a samsung 7-series notebook.

12y agoHN ↗

Well volume control keys don't have a keyCode (or vary from keyboard to keyboard) so I don't think it can be fixed ATM.

FWIW, I just added keyboard shortcuts for volume control though: `shift up/down - volume`

12y agoHN ↗

SC doesn't mention a hard limit (it's vague). And yes, 200ms.

12y agoHN ↗

i love it but it would be cooler with a full screen UI, there was a soundcloud api hack that would play people's loved/favorited tracks that kind of did that..

12y agoHN ↗

I don't think it would be very hard to do that. I implemented the streaming in <audio> tag, which means I'm free to implement the UI myself.

It's on the "audio" branch of my code.

12y agoHN ↗

Ah nice. Sorry but I don't have so much moneyz.

12y agoHN ↗

Chiming in with shameless me too self promotion...

I have a similar feature on http://tuned.io/ - it's a soundcloud search with autocomplete; you can play any of the search results instantly, etc.

The music makes for good coding background.