HNHacker News
TopNewBestAskShowJobs

garblegarble

2,159 karma · joined August 4, 2011

Cloud and broadcast media
submissionscomments
garblegarble··on YouTube's eraser tool removes copyrighted music without impacting other audio
For a while this was basically how it worked for all intents and purposes. I assume it's not like this anymore, but we used to do this with live tv broadcast material: rush out a private youtube video of individual segments for Content ID to ingest while on-air (because somebody else was posting clips from the show faster than us, claiming Content ID and stealing the ad revenue from the broadcaster's official public video of the final show)

Getting Google to care enough to fix that problem was harder and slower than a technical solution.

garblegarble··on Using a 1965 Dutch rotary phone via VoIP
It's easier than you think - I bought an old non-working phone (a candlestick phone in this case), removed the innards and replaced them with a speaker and microphone... it works really well!

I had originally planned to make it accessible via bluetooth but when I realised the phone shell was thick brass, I decided to leave it as a 3.5mm jack

garblegarble··on Apple is finally bringing RCS messaging to the iPhone
>If someone thinks less of me or won't communicate with me because of something as meaningless as the color of my messages on their phone, then that person isn't worth my time to begin with.

It's not about the colour of the message, it's what it signifies: this is an insecure conversation that is not end-to-end encrypted. To me it signals "switch to whatsapp/signal"

Today green means SMS, which also means that deliverability can be unreliable (in the past I've seen SMSes send and never arrive, arrive multiple times, or arrive hours late), and delivery notification is limited and unreliable. Same with tapbacks, and that voice/image/video involves MMS (which is bad, and in many countries carries per-message fees).

P.S. the incoming message bubble is black-on-grey, the same as all incoming messages no matter the medium - it's unencrypted outgoing messages that get a green bubble

garblegarble··on You'll regret using natural keys
This approach will randomly generate profanity. If the ID is visible to users it can cause some to get upset (and best-case simply looks unprofessional). On a purely technical level if visible in URLs it can cause links to be blocked/altered by e-mail filters / filtering proxies.

It's generally a good idea to drop vowels for this reason.

garblegarble··on Ask HN: How to transcribe 1000s of handwritten notes
Having experience of this, it's fun to explore technological solutions but at the end of the day, re-reading while transcribing is a lot more enjoyable than quality checking and correcting OCR results - especially if you have bad handwriting.

Good luck with whatever approach you choose!

garblegarble··on Abusing Go's Infrastructure
Sorta, although it is a Python feature for distros to use: installations can be marked as externally managed and pip will refuse (without being forced) to make changes unless in a venv[1][2]

1: PEP 668 https://peps.python.org/pep-0668/

2: https://packaging.python.org/en/latest/specifications/extern...

garblegarble··on Video of sun's surface shows solar rain, eruptions and coronal moss
Unclear from the ESA site how much this is sped up, but they say it was filmed over one day. You can see the curviture of the sun, so it's not zoomed in all that much - so these are massive, fast-moving structures!
garblegarble··on UK's Investigatory Powers Bill to become law despite tech world opposition
Not quite - the current legislation[1] is that you must have a TV license if you watch/record live TV (however you do it - online, with a TV, etc.), or if you use the BBC's iPlayer app/site.

You do not require a TV license if you have a TV but do not use it to watch live television (e.g. using it for YouTube/Netflix apps)

1: https://www.gov.uk/find-licences/tv-licence

garblegarble··on Full Line Code Completion in JetBrains IDEs
The announcement doesn't specify, but it looks like they are using a llama finetune for this (and basically llama.cpp exposed with gRPC)
garblegarble··on Show HN JetMove – Extra Nav and Multiple Caret Enhancements for Jetbrians IDEs
It's called "Extend selection" if you want to use it in Find Actions to figure out what it's bound to on your OS (e.g. on my intellij idea macOS bindings, looks like it's option+up)
garblegarble··on AI PR adds auto generated comments to whole Spring Boot Project
This is exactly my thought on the matter - this sort of auto-generated documentation is transient synthetic data, it doesn't warrant being kept in version control (or, if in version control, in a sidecar db clearly marked as auto-generated)

Always up-to-date and succinct auto-generated LLM-generated 'documentation' that describes a method in terms of who calls it (and perhaps why?) and the behaviour of the whole deep call graph inside the function seems like something that could be quite useful when looking at a method that doesn't have any human written documentation available, and isn't obvious... but it shouldn't masquerade as if it's actual API documentation that describes a durable contract.

If this synthesised analysis could flag incompatibilities between the contract described in API documentation and the actual code behaviour that could be useful (similar to what tools do today for nullable/non-nullable-annotated args/returns, except on fuzzier natural language descriptions of higher level behaviours). That seems like a much harder reasoning problem for the LLM to solve, though.

garblegarble··on Show HN: OK-Robot: open, modular home robot framework for pick-and-drop anywhere
Great, now we can teach robots to wander around rooms looking for things, saying "keys, keys, keys... where would I put keys?"
garblegarble··on Phind-70B: Closing the code quality gap with GPT-4 Turbo while running 4x faster
Here's what gpt4-turbo-preview outputs (with max output of 256 tokens, so the result was truncated).

P.S. have you tried testing what happens when you clearly describe what you want? The prompt you're using is really low quality - more like a google search. If you asked me a question like that I'd tell you to clearly explain what it is you want.

    If you have multiple files with names like `index.html.1`, `index.html.2`, etc., and you want to rename them to `image_1.png`, `image_2.png`, and so on, using Zsh, you can accomplish this with a simple loop and the `mv` command.
    
    Here is how you could do it in a Zsh terminal:
    
    ```zsh
    autoload -U zmv
    zmv -W 'index.html.*' 'image_*.png'
    ```
    
    The `autoload -U zmv` command loads the `zmv` function, which is a powerful utility in Zsh for batch renaming files. The `-W` option tells `zmv` to use wildcard patterns for matching and renaming files.
    
    In the `zmv` command:
    
    - `'index.html.*'` is the pattern to match. It matches any file that starts with `index.html.` followed by any characters.
    - `'image_*.png'` is the replacement pattern. The asterisk `*` in the replacement pattern corresponds to the `*` in the match pattern, so each matched number after `index.html.` gets placed where the `*` is in `image_*.png`.
    
    **Important:** Always make sure
garblegarble··on Russian troops use Starlink licensed and imported from Dubai
Lots will be paid for by the DoD, for the others: ask the AFU - the users could supply their account details up through the chain of command (or directly via GIS Arta).

Actually, I'd hope this is already happening regularly anyway so they can cut off any terminals captured by the enemy

garblegarble··on What happens when you trigger a car's automated emergency stopping?
Can you expand on this a little? I know that there is medical grade cyanoacrylate/superglue, and I'd expect it to have the exact same exothermic properties as regular cyanoacrylate glues.

Asking out of interest, because I don't know much about medical glues, and I often just use a little dab of superglue on cracked skin and haven't experienced any burns from it (I have, however, experienced a superglue burn while crafting - for anyone who doesn't know: don't use cotton to wipe off excess superglue, it will rapidly polymerise and heat up, and it'll stick to your skin while it's doing it)

garblegarble··on The failure of self-checkout technology
I'm sure at some point a company will identify people on entry and then simply sell the value of the stolen items as debt to a debt collection agency...
garblegarble··on Heat pump users noticing cheaper bills and warmer homes – study
My understanding (and I'd love to be wrong here because it annoys me that I can't take advantage of high efficiency systems) is that:

1. Existing UK homes use radiators that would need to be replaced with larger radiators with an air-to-water heat pump, due to the water not being as hot as a traditional radiator system. Some of this is cost (replacing radiators), some of this is simply not having the space - many radiators are installed below windows so there isn't much scope to increase their size

2. Replacing radiators with an air-to-air system in each room is too expensive (especially since older homes often use solid brick/concrete for internal walls), as well as a large number of terraced houses with limited space for external piping/units.

3. Our mild climate (as well as housing stock age -- and, I'm betting, good historical access to local fossil fuels) means UK homes are very poorly insulated, and with our humid climate can have humidity + mould issues if retrofitted with insulation that reduces drafts.

garblegarble··on High myopia is now the leading cause of blindness in Japan, China, and Taiwan
Oh yeah definitely - I was purely commenting on the parent comment's "really far" claim, and noting that it's all the same to the eye muscles once you hit 20 feet - you don't have to (no pun intended) set your sights on the stars to relax your eye muscles.
garblegarble··on High myopia is now the leading cause of blindness in Japan, China, and Taiwan
My understanding is that 20 feet or so is optical infinity, so whether you're looking at an object 20 feet away or 20 light years away, your eye muscles are just as relaxed (hence the 20-20-20 recommendation: every 20 minutes, stare at an object 20 feet away for 20 seconds)
garblegarble··on Google Promises Unlimited Storage; Cancels; Tells Journalist Life's Work Deleted
He had ~6 months to download his data, not 7 days: they told him on the 11th of May 2023 (or thereabouts they gave him a 60 day period ending on the 10th of July 2023) that he had exceeded his quota.

They should, of course, have given a clear timeline for deletion at that point, but does he seriously expect other people to believe he was naive enough to think Google would continue to store his data forever after they withdrew the unlimited service he was using?

I'm no fan of Google, and I agree with you that a good service would have offered an at-or-slightly-above-cost data export for that volume of data... but he's deliberately misrepresenting the situation here (either that or is painfully naive)

Edit: as somebody else pointed out downthread, he also would have received numerous e-mails throughout 2022 telling him that the unlimited service was being shuttered

garblegarble··on Norway Joins Denmark in Swedish Tesla Strike/Blockade
>PostNord, the leading postal service has also joined the solidarity strike

Given PostNord's less than stellar efficiency, this could be entirely unintentional on their part :-)

garblegarble··on Governments spying on Apple, Google users through push notifications
I think (reading between the lines on their docs) that you'll get throttled/dropped if you abuse the system by sending a regular push notification but do not notify the user. Apple doesn't like app developers using invisible notifications because it risks wasting device battery without the users being aware that their device is constantly being awakened by your app.

However, I was actually wrong more generally because Apple does have push notification type for this, Background Updates[1] are permitted to run invisibly. They say not to try sending more than 2-3 per hour, and that "the system may throttle the delivery of background notifications if the total number becomes excessive" - which sounds like you're permitted some unspecified small number between app launches.

These notifications seem to only be able to send a single boolean flag, so it doesn't seem like an awfully viable way of implementing a fixed rate message system (especially because you'd also want to be sending messages out on that same fixed rate to frustrate analysis)

1: https://developer.apple.com/documentation/usernotifications/...

garblegarble··on Governments spying on Apple, Google users through push notifications
The timing would still give you away - with a privileged network position you can tell that a user sent a message to an messaging service, and that some set of users got notifications from that messaging service moments later. Observe that enough times and you'll have good confidence in the members of a group.

If you're trying to hide from that type of attack you need to send a fixed rate stream of messages (most of which are dummy messages, except the occasional message containing genuine content -- like number stations). Furthermore, every point in the chain also needs to avoid revealing which messages are genuine (by fetching the encrypted message from the server when it receives a genuine notification, you're giving data away).

The operator of the app could send messages at fixed intervals to make it more difficult to correlate the messages (more samples required to have confidence in the recipient). If they send dummy notifications they'd probably fall foul of Apple/Google's constraints around invisible-to-the-user notifications (I know Apple prohibits them, I assume Google does as well)

I can't see that frustrating this type of attack would be interesting to Apple/Google: it would push up power & radio bandwidth requirements for everybody pretty significantly.

garblegarble··on Polish trains lock up when serviced in third-party workshops
It might lead to a fault that appears more realistic - it'll go away for a bit in December before coming back again... if the engineers say the compressor's good but the computer fails it intermittently, that seems like a good point to get the manufacturer involved which is what they wanted to force
garblegarble··on Unity Software to cut 3.8% of staff in 'company reset'
For anybody else reading this and thinking (like I did) that these comments about teeth are a deliberately silly example invented for the purpose of this discussion - it turns out that Cities Skylines 2 really did have NPCs with teeth in their models, per this[1] story from up the thread.

1: https://blog.paavo.me/cities-skylines-2-performance/

garblegarble··on Brother have gotten to where they are now by not innovating
>I want whoever is physically close enough to the fridge to leave the door open to be notified.

Same - although I have experienced an interesting extension of this: HomePods now have alarm detection (the intention being to detect a smoke/burglar alarm). It is also triggered when the fridge is left open, leading to everybody in the household getting a critical alert (which ignores silent mode).

garblegarble··on Brightest flash ever disturbed Earth's atmosphere last year
I don't think there's any sure way to tell, and trying to do so in the past has massively disadvantaged people who have English as a second language & get accused of plagiarism via LLM (can't find source with a quick google, but there was an ESL student accused of plagiarism by an 'ai text detection' model).

I think we just have to embrace the fact that any text could be wholly/partially LLM generated. An LLM could be asked to introduce errors (or a human could edit the output, either to purposefully introduce errors, or naturally introduce errors as part of their process). We should focus on:

1. Developing our skills to verify people's claims (which has always been important)

2. Trying to understand the motivations/agenda behind the text (which I reckon is even more important still)

The above two steps insulate you from a wide range of propaganda/trickery, and are the sorts of things we should have been focusing on in schools for decades already.

garblegarble··on Brightest flash ever disturbed Earth's atmosphere last year
What I've not found anywhere is whether this resulted in a detectable increase in background gamma radiation at ground level for the few minute period of this event - and the radiological maps I found don't provide historical data going back more than a month.

Does anybody have any more info on this?

garblegarble··on Brightest flash ever disturbed Earth's atmosphere last year
No, because many writers have editors whose role is to prevent mistakes like these from going to print
garblegarble··on Improving the efficiency of your regular expressions
The author actually touches on why it couldn't optimise this away: .* doesn't match any character sequence, it is equivalent to [^\n]* by default

Also, assuming RE2 works like other engines, it also couldn't convert to a partial match without the .* prefix+suffix even if .* matched any char, because you might then ask for capture group 0

← PreviousPage 3 of 18Next →