News for hackers. Stuff that matters.

sethgecko

Re:OpenSubtitles is not open anymore on Thursday November 16, 2023 @09:55AM (#38290281)
I've made this little wrapper to do all that locally. `makesub video.mp4` will split the stream and create video.en.srt locally via whisper.cpp

https://github.com/mcdallas/whispersub

Re:CLI tools for working with ChatGPT and other LLMs on Thursday May 18, 2023 @07:07PM (#35995547)
I made a small wrapper too, you call it from the command line and it keeps the conversation context for 15 minutes in a temp file.

https://github.com/mcdallas/gptask

Re:Get The TLDR Of Any YouTube Video on Saturday April 29, 2023 @02:53PM (#35755888)
I’ve done something similar here https://github.com/mcdallas/summarize it feeds an audio file to whisper and then summarizes the transcript. You can easily wrap it with yt-dlp to download the audio portion of a video

Show HN: A pure rust discord bot hosted on Cloudflare workers

https://github.com/mcdallas/rust-discord-bot

Hi HN,I've made a discord bot template that you can clone and create your own bots.It's a serverless bot hosted on cloudflare workers which looks like a great use case for this sort of thing.Using workers you have almost zero (<5ms) cold start time for your functions. With a free account you get up to 100k requests per day and you can store/access state using KV or durable objects.Workers...

( Read More... | no comments | 2 points | on HN )
Re:Dislike button would improve Spotify's recommendations on Saturday October 16, 2021 @10:36PM (#28893476)
> there needs to be a way to distinguish between a user enjoying a song and the user not paying attention

There is a way to do this, the signal is adding the song to your favourites or a playlist

Whatsapp messages are e2e encrypted so no.
They didn't train a classifier, just a hashing function.
Re:Quad9 and Sony Music: German Injunction Status on Thursday June 24, 2021 @03:17PM (#27622558)
Until Sony sues Cloudflare/Google etc
Re:A from-scratch tour of Bitcoin in Python on Tuesday June 22, 2021 @03:19PM (#27595928)
I’ve made something similar in order to learn how everything works and made it into a python library. Everything is in pure python with no dependencies, only std lib. I’ve implemented all the crypto stuff, address generation including HD, transaction serialization and even the bitcoin script. https://github.com/mcdallas/cryptotools
Re:Tether Mints Record 2B USDT in One Week on Wednesday January 13, 2021 @10:51PM (#25771711)
Yes it is backed because when they print a new tether they sell it for 1$ which they put it in their treasury.
Re:Tether Mints Record 2B USDT in One Week on Wednesday January 13, 2021 @10:47PM (#25771663)
Of course HN in it’s infinite wisdom can’t get the causal connection between BTC rising and tether printing right.

Tether is being printed because btc is pumping. They have to print tether to maintain the peg at 1$. If the price keeps rising due to demand for tether they need to print and sell tether.

It does not matter if you can redeem your tethers for dollars because they buy tether when the price goes below 1$ to maintain the peg.

Re:Writing well on Thursday November 26, 2020 @08:50AM (#25219983)
Didn't think much of the content but I am impressed he managed to get the julian.com domain and the @julian twitter handle. I would assume that it's a pretty common name.
Re:Ok Google: please publish your DKIM secret keys on Monday November 16, 2020 @01:41PM (#25115334)
Excuse my ignorance but how does someone else signing my message prove that I sent the message? Moreso if the body of the message is not being signed at all?
Re:Apple apps on Big Sur bypass some firewalls and VPNs on Monday November 16, 2020 @08:17AM (#25111251)
I've done that a few months ago on an ubiquity router. Two VLANs, one with normal access and one with a Wireguard tunnel into my self hosted dropplet that also runs pihole. Works like a charm.
Re:Notion Timeline View on Wednesday November 11, 2020 @09:10PM (#25065627)
I see a lot of nice recommendation for note taking apps, but for me the 2 biggest features that I need are

1. No vendor lock in. I can’t lose access to my notes because of random account bans or the company going under or w/e. Also plain markdown, no nonsense proprietary formats.

2. Platform independence, I work across mac/windows/ios on home and work.

So I ended up using a git repo with markdown files. I use Noteable and Typora on mac/win. No need to import/export anything they both work with plain markdown files on the fs with tags as markdown front matter (I sync manually with git). For mobile I use GitJournal which basically has the same features and it can automatically sync with a git repo.

It uses the ARM architecture which is much more power efficient than the x86 architecture used by intel
I have an email rule that sends any email that contains the word unsubscribe to the spam folder.
Re:Attempts to make Python fast on Wednesday October 21, 2020 @11:43AM (#24848925)
Yuri Selivanov tweeted yesterday that Python 3.10 will be "up to 10% faster" https://twitter.com/1st1/status/1318558048265404420
Re:Trading halted as U.S. stocks plummet on Monday March 09, 2020 @01:44PM (#22527599)
People running hospitals need to sleep too but they dont close for the night
“I don't think/worry about guns - ever.”
Re:NordVPN confirms it was hacked on Tuesday October 22, 2019 @05:26AM (#21321685)
If you are looking to spin up your own vpn server with wireguard and pihole there is an excellent guide here https://drexl.me/guides/wireguard-pihole-vpn-setup.html
Re:One-lined Python on Thursday August 22, 2019 @11:08AM (#20768920)
If you want your mind to blow up I recommend watching this year's "Lambda Calculus from the Ground Up" PyCon talk by the wizard David Beazley https://www.youtube.com/watch?v=pkCLMl0e_0k
I am an amateur photographer that mostly shoots long exposures (milky way/catching lightning/night time time-lapses) and you can only shoot those with manual (or bulb) mode
Re:Kriegspiel on Wednesday July 31, 2019 @01:38PM (#20576477)
From a machine learning model’s perspective they are both turn based. In SC2/Dota case one turn is one frame. There is nothing fundamentally different between these and blind chess apart from the possible moves space being vastly smaller
Re:Facebook picked Rust to implement Libra on Wednesday June 19, 2019 @02:59PM (#20226224)
Grin (mimblewimble) is also written in Rust https://github.com/mimblewimble/grin
Re:Facebook’s New Cryptocurrency Gets Big Backers on Friday June 14, 2019 @12:52AM (#20180675)
The choice of consensus algorithm (PoW/PoS) has nothing to do with scalability (tx/s)
But then you carry a balance
What if you don’t pay?

Older »