Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
accatyyc
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
5 ms
·
1.
▲
by
accatyyc
7y ago
How about just puts(“Hello, World!”) which has been in C since the dawn of time?
2.
▲
by
accatyyc
7y 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 j
3.
▲
Spotify launches a dedicated Kids app with curated playlists and playful art
(theverge.com)
1 points
by
accatyyc
7y ago
|
0 comments
4.
▲
by
accatyyc
7y ago
In Objective-C (and some other languages with ternary operators) the same can be written like this: int a = b ?: c ?: 0
5.
▲
by
accatyyc
7y ago
Same here, probably something added by oh-my-zsh
6.
▲
by
accatyyc
7y 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 "pu
7.
▲
by
accatyyc
7y 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
8.
▲
by
accatyyc
7y ago
Then email servers would have to download billions of images of which 99% the corresponding email won't even be opened
9.
▲
by
accatyyc
7y ago
Turns out he was...
10.
▲
by
accatyyc
7y 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
11.
▲
by
accatyyc
7y 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.
12.
▲
by
accatyyc
7y 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
13.
▲
by
accatyyc
7y ago
Thanks. Updated my post to say smartphones - I have no idea about what EV batteries are exposed to.
14.
▲
by
accatyyc
7y 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 r
15.
▲
by
accatyyc
7y 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
16.
▲
by
accatyyc
7y ago
Constantly charging causes fewer power cycles and extends your battery life.
17.
▲
by
accatyyc
7y ago
The things that kill smartphone batteries today are age and power cycles. It doesn’t matter if you charge from 0% to 100% in one go or from 90% to 100% ten times. Both add up to one power cycle. To keep your battery fresh for as long as pos
18.
▲
by
accatyyc
7y ago
That's just a convenience thing. I've worked in Xcode for nearly 10 years and I never use that feature. Good feature for teaching though. But if you hate it, just don't use it.
19.
▲
by
accatyyc
8y ago
Ads doesn’t mean they have to track you. I assume (and it seems like) DDG targets their ads based on your search query and not personal information, and afaik they are very open about this.
20.
▲
by
accatyyc
8y ago
This is very cool. I really like the style that is the result of retro graphics and then raytracing added on top. I hope it will become a common style in games!
21.
▲
by
accatyyc
8y ago
Hehe, thanks for the laugh! Yeah, I can totally relate. In fact, to become effective in Emacs I had to start by reading a book (Mastering Emacs, can totally recommend if you ever decide to try again!) and then spending _a lot_ of time fight
22.
▲
by
accatyyc
8y ago
Just looking at the rest of the comments here is one example. And almost every time something about Sublime is posted on HN
23.
▲
by
accatyyc
8y ago
It seems like the general opinion that Sublime Text outclasses vim when it comes to opening large files though
24.
▲
by
accatyyc
8y ago
Now now, I use Emacs myself but I wouldn’t call its UX “refined”. It’s loads of stuff piled on top of eachother and many built-in packages to do the same thing (since everything had to be backwards compatible). Again, I love emacs and I’m v
25.
▲
by
accatyyc
8y ago
Why? Fastmail always complied with warrants to get your data, so nothing changes because if this law. If you want to hide something, encrypt your e-mails before they reach Fastmail (and do the same regardless of provider you use, why trust
26.
▲
by
accatyyc
8y ago
FWIW iTunes is still great for this.
27.
▲
by
accatyyc
8y ago
Both code memory and data memory will be shared by any modern OS. The code memory will of course be shared since it's the same, and the data memory will be shared until modified. Then that memory page will be copied for the process tha
28.
▲
by
accatyyc
8y ago
Of course they can. This is what OS engineers have spent decades thinking about and optimizing. And then stuff like Electron appears and circumvents all those optimizations. Which is the main reason I dislike it.
29.
▲
by
accatyyc
8y ago
If you’re concerned about RAM, using this approach makes a lot of sense. Every process of your system browser running, (different tabs, different apps with web view), the OS can share memory between since it’s the same binary. With electron
30.
▲
by
accatyyc
8y ago
Because if it uses the same browser binary as your other web apps (tabs or other DeskGap apps), the OS can share memory between them. Not possible with electron since every app bundles its own Chromium binary.
More ›