News for hackers. Stuff that matters.

tempaccount1234

Re:Open Source YouTube to MP3 Downloader on Monday May 13, 2024 @02:00AM (#40340202)
As long as there’s no mp3directcut https://mpesch3.de/) clone for Opus, the format lacks non-destructive fast editing. And while it can cut and edit raw aac, it works a lot better with mp3.

Non destructive editing is more important with the new formats, because they compress to smaller files and cause greater problems when you unpack and recompress them.

This is why mp3 still is a good format for 2024.

Because it’s cheaper to run DAB than FM and running both with the same content costs too much. But for range, DAB is even worse. The neighboring country’s stations here already stop working five miles behind the border. FM covers 50 miles and since local AM transmission have stopped, in my car I can listen to stations 300 miles away. It sounds like crap but it’s still usable and I tune in often. For sports coverage it was good enough and I miss the times where it was possible to listen to full games while driving. The FM replacement doesn’t cover as much area and there’s no consistent internet coverage to listen via app (and it’s illegal to play with your phone while driving, so once the app cuts out, you can’t restart it)
Re:Ask HN: How to handle user file uploads? on Saturday May 04, 2024 @08:27PM (#40261417)
It depends on how small. I’m working with really small (like less than 5mb per upload) and use a FastAPI endpoint on my API to receive the file and then have other Python code save it (or reject it)
Re:You can't just assume UTF-8 on Tuesday April 30, 2024 @01:42AM (#40207591)
Unless the input is such garbage that asking the user is pointless (like a lot of web sources) and fixing manually is too time expensive.

It becomes easier to just use https://pypi.org/project/ftfy/ on the input.

Re:Zint on Friday April 19, 2024 @01:14AM (#40083627)
I used it a decade ago and it was fine. Now I need a proper dezint library for Python that reads all those barcodes from images…
Re:Swatch Internet Time on Sunday April 14, 2024 @08:16PM (#40035746)
Back then swatch really blew it by not synching the zero with UTC. If the days had been UTC based, this might have taken off. This way, it was just a joke and that’s why it died quickly.
The author mentioned using polish translations of English books, so he already knew, at least roughly, what the book is about. This way, reading and listening in the target language makes a lot of sense.

It’s the same when watching foreign TV. Having subtitles on in the same language that is spoken is really useful, you learn more than only reading or only listening.

Re:Personal VPN Services are Snake-Oil on Sunday April 14, 2024 @08:01PM (#40035659)
Watching BBC Iplayer via VPN is hard, mainly because it’s in the interest of the BBC to avoid eating the cost of serving the world for free. And VPN traffic is easy to spot, if you’re looking for it. I’m assuming the BBC invests a lot of resources to fence of non paying foreign viewers.

But this is a BBC specific problem, most of the other European geofencing is quite weak and getting access to most other public broadcasters works just fine with a proper VPN.

Re:SQLite Schema Diagram Generator on Monday March 25, 2024 @01:44AM (#39813123)
Azimutt is an online-only, non free tool. If you don’t want to publish your design or need to analyze someone else’s design, this is a no-go for me. (Skimming it it promises to be able to work only in the browser if you want to, personally I wouldn’t risk it)

Check out https://schemaspy.org/, which creates a documentation locally, if the original project here doesn’t work for you.

Assuming you’d want to watch that.

There’s already too many movies and people get bored watching more of the same. If thanks to AI there’s a flood of cheaper mediocre movies content it could kill the remaining excitement.

Re:Considerations for a long-running Raspberry Pi on Saturday February 17, 2024 @04:55AM (#39408021)
I have a few long time running Pis - and have been keeping them up for a decade now. No SD Card corruption ever and i got close to 1000 days uptime on one.

The biggest problem is loss of wifi, after a few months one will lose wifi, but keep working - it’s constantly recording data so a reboot is not a good idea. I’d prefer a solution where I could just reset the wifi, but all attempts to script that reliably so far failed.

Re:How to copy a file between devices? on Thursday February 15, 2024 @07:39AM (#39381958)
With external clients I serve the file locally, password protected access and encrypted file and then call them and watch them download. Then I confirm that they got it and stop serving. This is safe than to trust it to a third party service and I can monitor access. Sharing local port via ngrok is easy enough and Python comes with a http server that can serve a folder.
Re:Boring Python: dependency management (2022) on Monday February 05, 2024 @03:41AM (#39258724)
Why not simply use pip? At least that works…
Re:I Moved My Blog from IPFS to a Server on Wednesday January 31, 2024 @05:23PM (#39210267)
As a user I’d stay away from sharing IPFS because of legal reasons. Just like torrenting, by actively distributing content I take up legal responsibility (at least in Europe where I’m located) - that’s risk is tolerable for a legal torrent because the file doesn’t change over time. For a changing web site, I’d constantly have to monitor the site for changes or trust the site 100% - which is not happening as soon as the site is somewhat controversial…
Re:Teletext on a BBC Computer in 2024 on Monday January 29, 2024 @02:28AM (#39173697)
This should work fine on the composite output of the pi with no need for a modulator. At least here in Europe, where teletext is still very much a thing, it works from the external satellite receiver that’s connected this way.
Re:Anki – Powerful, intelligent flash cards on Sunday January 28, 2024 @01:23PM (#39168301)
My prompt to ChatGPT is to give me the 50 most common words for a given topic with translation and an example sentence (plus translation) in CSV format. Which quickly gives me a handful of usable flash cards.
Re:Anki – Powerful, intelligent flash cards on Sunday January 28, 2024 @09:36AM (#39166164)
Looks like a cool app, but a monthly subscription for a content free flash card App is asking too much. (Personally I prefer my learning tools to stay around without monthly payments)
First time I heard a about this and am a bit disappointed that it’s not a tool for counting goats at all.
I currently pay because I use it a lot on my iPad and phone in addition to the web. Anyone have a recommendation on how to use api access on mobile? Then changing might be worth it
Re:Show HN: Open-source tool for creating courses like Duolingo on Saturday November 18, 2023 @04:22AM (#38317326)
Good luck. Since you want brutal feedback, at this early stage, it looks boring and tedious to enter data. I’d concentrate on the course output and define the input format as JSON or CSV. Why? Duolingo isn’t great because of the content, but because of great navigation (and points gamification) so the courses should work great on small touch screens. How to get the data is is something to worry about once the interface for the learner is good. Also, it’s easier to get formatted course input, because you can just ask chatgpt to generate learning material in a specific format. (For my own out of Duolingo experience I do exactly that: I defined a learning csv format and ask chatgpt to give me learning examples in this format) - also I’d stay away from animating images unless you get good at it, because animations distract from learning (and duolingo is turning into an animation studio and spending the resources to get animation right, so anything you can do with low budget is going to look cheap)
Re:A Lot of Damage in Grindavík on Tuesday November 14, 2023 @06:50PM (#38271480)
You can watch the live cams on RÚV.is or the tv channel ruv2 that streams from there. That way you also get RÚV radio sound, with their great music choices that now clash with the night images…
It might be hype, but it allowed me as a Python backend dev to build things without spending too much time learning the big JavaScript frameworks, just some vanilla JS needed. But no npm, node or build tools. And since it’s server focused, the server logs tell a useful story. And btw, hype is good, because we currently lack good concepts on how to organize the html fragments served by htmx. Before htmx came around, I was sure that I’d have to at least learn vue.js, now I’m happy I don’t .
You can, but if you decide to stay away from messengers like WhatsApp, you miss out. Which is OK unless you have kids in school age.

Once a service gets so big, that you are practically forced to join, regulation seems like a very good idea

Re:Ask HN: How do I code offline for a week? on Monday October 02, 2023 @03:11AM (#37734869)
There’s stuff like https://zealdocs.org/ that allow you to take all relevant documentation with you so offline coding will work.

If you just want to be productive, you could also bring a lot of books or downloaded tutorials on a drive.

Btw, make sure your drive is encrypted and you think of a way to backup your data so you don’t lose the offline progress.

Re:My Unhealthy Relationship with Keyboards ⌨ on Wednesday September 27, 2023 @03:40PM (#37680139)
Situations where I have to type in numbers are usually those where I need one hand to touch paper or a device, so that’s why typing them on a regular keyboard is hard.

Also those keyboards without a number block seem to have bad positions for cursor and other special keys.

There’s a problem that Google is too big already and that at least some people now have trust issues with them and would prefer to get their AI from a different provider than the search and email services.
Driver support. For example on Ubuntu I can’t use touch gestures on my touch screen and can’t assign all keyboard keys. Ok, not everyone uses a Japanese laptop with a European windows, but that works pretty well…
Re:Ask HN: What's the Situation with YouTube-Dl? on Saturday August 26, 2023 @08:27AM (#37272199)
Can you confirm if the end cards overlays that ruin music videos and other short films go away if you pay for premium? Are there any of the other annoying overlays still active?

I prefer yt-dlp downloaded videos mainly because you get to actually see the complete videos without overlays…

Two things. With an email software like Thunderbird you can download a local copy of your mail and backup that. And you should own the domain name of your private email address, even if you forward it to gmail. Because that way, if gmail locks you out or you just don’t like them any more, you’ll be happy that no one has to update your email address.
As a European who owns both a car and a bike, regularly driving somewhere just to do a bit of walking there feels like a complete waste of resources to me. I use my car for work related travel, at distances over 5 miles or to move heavy stuff. For anything else the default choice (which includes grocery shopping) is walking or biking. Amsterdam has great bike paths, I’d probably cycle even more there.

Older »