HNHacker News
TopNewBestAskShowJobs

atomwaffel

499 karma · joined March 31, 2015

submissionscomments
atomwaffel··on Show HN: JSON Pizza – Beautify your JSON quickly
Or on macOS, to quickly format the contents of your clipboard:

    pbpaste | jq . | pbcopy
Pretty sure this is one of my most frequent commands.
atomwaffel··on For non-trivial coordination, meetings might be better than email
> which is quite different to how that mark is used in a number of other languages that use the Latin alphabet, like German and Turkish

True, although there are other languages use the diaeresis to separate vowels that would otherwise be a diphthong, for example French in Noël or Spanish in vergüenza.

atomwaffel··on Pock: Display macOS Dock in Touch Bar
No need for Karabiner if that’s all you’re using it for, you can do it natively in System Preferences → Keyboard → Modifier Keys.
atomwaffel··on Google's Captcha in Firefox vs. in Chrome
> does not turn me into a mechanical Turk training Google's AI

I’ve been wondering about that. Are you sure you’re not training their speech recognition AI?

atomwaffel··on A journey through internet garbage
Yes, and the author acknowledges that twice in the two very first paragraphs. This objection comes up every time any news outlet writes about ad tech or tracking, and it always comes down to the same thing: the people writing articles are not the ones making economic decisions and they can criticise a system even when they’re part of it.
atomwaffel··on The inception bar: a new phishing method
Oh absolutely, I was referring only to native phone apps.
atomwaffel··on The inception bar: a new phishing method
It’s the same reason many iPhone apps implement their own dialogues to ask about allowing notifications. If the user chooses ‘Deny’ in the system-provided one, the app can never ask again and the only way to turn notifications on later is to have the user go digging around in the Settings app, which few people will bother to do.

I take great pleasure in choosing ‘Allow’ in those custom dialogues and then ‘Deny’ when the native one pops up immediately afterwards.

atomwaffel··on Google search only has 60% of my content from 2006
Oh, is that why every recipe on the internet these days is prefixed by five paragraphs of waffling and photos taken from slightly different angles? Thanks, that makes sense, but somehow it never occurred to me that it was SEO. (It’s also reminded me that I’ve been meaning to order some cookbooks.)
atomwaffel··on France Demand Removal of 15M Project Gutenberg Books from Internet Archive
Original blog post from the Internet Archive: https://blog.archive.org/2019/04/10/official-eu-agencies-fal...
atomwaffel··on Buy Yourself a Latte
Unless of course they live in a country that has tax-funded health care and useable public transport, of which there are quite a few.
atomwaffel··on Sweden Wants to Revive Europe’s Overnight Trains
> Denmark (and Greece) have the least favourable geography for land transport.

Norway would like a word with you there. Denmark’s got a lot of annoying coastline but at least it’s flat, small and relatively densely populated. One of the things I miss most here on the Norwegian west coast is the lack of useful rail connections.

atomwaffel··on Sweden Wants to Revive Europe’s Overnight Trains
A tent on a ship? Knowing how windy it can get at sea, that sounds terrifying, how do you secure it? Or are we talking indoors?
atomwaffel··on Burger King is introducing a vegetarian patty from the start-up Impossible Foods
Although that seems like it would hopefully fix itself as demand for vegan substitutes increases. The Impossible Burger is a good example of a vegan substitute that tastes uncannily like the thing it imitates.

As for cost, it seems intuitive that turning soy into a milk substitute would be cheaper than feeding soy to a cow and milking it if both were done on the same scale. On top of that, some countries tax substitutes higher than the products they replace. In Germany, for example, non-dairy milk has a VAT rate of 19% while dairy milk gets the reduced 7% rate for staple foods.

atomwaffel··on Storing UTC is not a silver bullet
What do you suggest in situations where you can’t do that? Last summer, I travelled on a sleeper train from Lisbon to Madrid, which are in different time zones. At the time that I set my alarm, my phone had no way of knowing that it would automatically jump an hour ahead in the middle of the night.

In that specific case, it woke me up according to local time, which is what I expected. But what if I had crossed the time zone boundary less than an hour before I wanted to be woken up?

atomwaffel··on Hyphenation in CSS
> And note for several major publishers their print editions are nowadays typeset from HTML/CSS using Prince.

Interesting, having played around with wkhtmltopdf and Puppeteer, I had no idea any HTML-to-PDF renderers would be a viable option for publishers, but their examples are pretty impressive – definitely more than any e-readers manage!

> as fundamentally they don't believe there's a business case for it

And they’re probably right. I imagine very few people avoid e-books because of their typographical shortcomings. The arguments I hear against them tend to be on a more fundamental level (‘I prefer to be able to feel the paper’), and even people like me who do notice bad typography put up with e-readers. Publishers meanwhile may well care about their readers’ experience, but they can’t afford not to sell digital copies.

So I understand that typography probably doesn’t make much of a difference to the bottom line of e-reader manufacturers, I just wish the bottom line weren’t the only incentive for large companies.

atomwaffel··on You probably don’t need input type=“number”
It’s really not though, or at least not the only problem. <input type="number"> has some additional behaviour that makes it inappropriate for phone or account numbers or anything you wouldn’t store in a numeric data type: many browsers will strip leading zeroes; they may display stepper buttons; on-screen keyboards will offer a decimal point (and/or comma, depending on the locale); and something like 1.42e-60 is valid input as far as the browser is concerned.
atomwaffel··on Hyphenation in CSS
On a slightly related note, I find it incredible that the Kindle (and presumably other e-readers) still fail to support typographic standards that printed books have had for hundreds of years. It took them years to support hyphenation at all, and now that they do, the number of times I’ve turned a page only to find it completely blank but for the very last syllable of the very last word of the chapter is infuriating. I know it’s a small thing, but it instantly rips me out of the story and reminds me of the imperfections of the thing. For a single-purpose device by one of the world’s largest tech companies, that’s just not good enough.
atomwaffel··on We hired a Japanese moving company [video]
Yes, this is one of the great German mysteries. Flats are often rented with a completely empty kitchen. The expectation is that you bring not just your own appliances but also your own furniture and take them with you when you move out. This is exactly as inconvenient as it sounds.
atomwaffel··on Steganography Based Ad Payload That Drops Shlayer Trojan on Mac Users
> In addition, I vastly prefer Chrome's devtools. Nothing comes close, and I believe this is a huge part of why developers are so Chrome-loyal.

So do I (I’ve also heard good things about Firefox’s dev tools but never made the switch), which is why I use Chrome for web development and Safari for everyday browsing. It works really well for me and I like that my browsing history isn’t full of with localhost URLs, my form fill history isn’t spammed with entries like “testtest123”, and my dev tools are (nearly) unadulterated by extension scripts.

atomwaffel··on Facebook launches petition feature, its next battlefield
Yes, Facebook is blocked in Iran, but that doesn’t mean that it’s not being used. Just about everyone I met in Iran was on several supposedly blocked social media platforms, mostly through dodgy VPNs. Apple isn’t allowed to sell phones in Iran either, but I’ve never seen so many second-hand iPhones.
atomwaffel··on DuckDuckGo will use Apple Maps
At least here in western Norway, Mapbox’s directions are incredibly buggy, to the point where they’ll send you on a 150-kilometre scenic drive (including two ferries) to avoid a tunnel instead of going 15 kilometres straight through the mountain. This is apparently because they’re rolling their own telemetrics-based data on top of the OSM road network.

Then again, Apple Maps (on DuckDuckGo) seems to think I that want my maps labelled in Indonesian, so you may still have a point.

atomwaffel··on Train ferry
I think Puttgarden–Rødby is more likely. It used to be served by diesel ICE trains and it was really fun to ride onto a big old ferry on one of these unusually short ultra-sleek trains, get off the train, walk a lap around it, then go up to the open-air deck and stretch your legs a bit.

There’s still a direct Hamburg–Copenhagen connection via that ferry, but it’s now a normal Eurocity.

atomwaffel··on Scammers are changing the contact details for banks on Google Maps
Am I the only one who thinks that “Local Guides” is a needlessly misleading name? Before I looked up what it meant, I assumed that reviews tagged with “Local Guide” were actually written by locals, when in fact the author may just as well live on the other side of the world.
atomwaffel··on Introducing Hooks
And it wouldn't need to. You're free to move around calls to useState() to your heart's content in your code, you just need to call them in the same order during the lifecycle of your component.
atomwaffel··on Please Google, let us revert to the classic Gmail look
If the UI is your only concern, why not try one of the hundreds of native email clients available for whatever operating system you may be running? I haven’t used Google’s web interface in years.
atomwaffel··on GDPR and automated email marketing
Sure, I don’t expect to stop receiving invitations to enlarge my genitals in my spam folder because of GDPR, but I’ll be happy enough if it discourages dodgy online shops and growth-hacky startups from automatically signing me up to their mailing list because I made a one-off transaction and “consented” to receive their special offers for all eternity on page 25 of their terms and conditions.
atomwaffel··on Smartphone Security: You'll Never Guess Who Just Messaged You
Or, more accurately, iOS forced apps to support "Location while using", precisely because apps like Uber abused their permissions: https://www.engadget.com/2017/09/21/ios-11-uber-always-on-lo...
atomwaffel··on N26 raises $160M from Tencent and Allianz
> (it just occurred to me that pin+tip might be a tall order, the pin protects the amount too)

Where I live, the card machines show you the total and ask you to type in the final amount (including tip) before you enter your pin.

atomwaffel··on How to break a Captcha system in 15 minutes with Machine Learning
I imagine that those are hard to beat with machine learning precisely because they stump Google's own algorithms. By answering them, you're helping train their neural networks (which is why I rather resent having to answer them).
atomwaffel··on MasterCard Ending Signature Requirements
When paying with a German bank card in Germany (especially in supermarkets), you’ll sometimes be asked for a signature instead of a PIN. This usually means that you give the merchant a mandate to debit your bank account directly rather than having the credit card networks process the payment, resulting in lower fees.
← PreviousPage 2 of 5Next →