accatyyc

Joined 13 years ago

Karma
352
Submissions
120
Member since
Feb 22
[ my public key: https://keybase.io/accatyyc; my proof: https://keybase.io/accatyyc/sigs/kQJg3CVxSJARJSbafCH1MHEuOtHNP9yqatPDjLsmxRc ]
View on Hacker News

Recent submissions

Comment · 6 years ago
How about just

    puts(“Hello, World!”)
which has been in C since the dawn of time?
Comment · 6 years ago
How do you start the radio? If you start it from a song of the genre you want to listen to now, or a playlist containing mostly that genre, it won't mix in random stuff you've liked before. I get very nice mood/genre radios just by starting them from some song I liked currently.
Comment · 7 years ago
In Objective-C (and some other languages with ternary operators) the same can be written like this:

    int a = b ?: c ?: 0
Comment · 7 years ago
Same here, probably something added by oh-my-zsh
Comment · 7 years ago
For me, using pure git is fine when working on solo projects. The benefits of such services is when there are many developers in the same project. Gives a good overview of issue reports, what commits are linked to what issues, easy "pull request" overviews/quick reviews without checking out branches etc. It's more about the social and less about the source control for me
Comment · 7 years ago
Personally I think you should skip the /r/ or /i/ part of the paths. Always bothered me that reddit has it - communities are central to these sites so IMO they should be the first part of the path
Comment · 7 years ago
Then email servers would have to download billions of images of which 99% the corresponding email won't even be opened
Comment · 7 years ago
Turns out he was...
Comment · 7 years ago
It feels like a programmer thing, since unsaved files won't be compiled when you run the program. At least that's where I got the habit from
Comment · 7 years ago
Why would informing people about the importance of testing make you look like an asshole? You could do it in a polite and helpful way, instead of being an asshole about it.
Comment · 7 years ago
I’d say Mozilla is right in their wording. Your point here is also included in that - if websites showed the push dialog responsibly, it would be for example in the website settings after the user checked a box called “send me push!”. Many good web services do it this way, and if done this way I suspect the accept rate is closer to 100%.

Some people might want push from news pages, but 97%+ don’t, so it makes no sense to request it immediately.

They probably even lose subscribers. Someone who read some content and liked it, decided that they want push may have already opted out because they didn’t know the site yet.

Comment · 7 years ago
Thanks. Updated my post to say smartphones - I have no idea about what EV batteries are exposed to.
Comment · 7 years ago
Thanks for the links!

Also, I want to add that what I wrote above is only regarding smartphones. I don’t know how much stress/extra heat etc that EV batteries are subject to, but I imagine they drain/charge at more intense rates relatively.

Comment · 7 years ago
Yeah, but a battery gets hot when charging fast. Keeping it connected at 100%, the phone stays cool in my experience. And charging often makes the window where it generates heat from charging smaller

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton