Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
harkinian
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
9 ms
·
61.
▲
by
harkinian
3y ago
I think the reason automatic is more efficient is you'll often get more gears, maybe like 12, so it stays closer to the most efficient RPM. And it'll shift way up just cause you let off the gas for a second, so engine-braking is m
62.
▲
by
harkinian
3y ago
Makes it hard to explain to people what my DuoSelect is.
63.
▲
by
harkinian
3y ago
Yeah, the reputable chargers aren't even expensive now that we're on USB-C. Knockoffs were a lot more tempting during the MagSafe era.
64.
▲
by
harkinian
3y ago
Yeah, slower charging (like 20W) seems good, but I've used phone chargers out of desperation before and seen the alternating charge/discharge. Can't be good for it.
65.
▲
by
harkinian
3y ago
I have several well-functioning 1st-party chargers with perfectly intact cables, and sometimes it won't charge. Or it will, but the light doesn't turn on for some reason. Fixes itself when I replug it. Been this way since '06
66.
▲
by
harkinian
3y ago
In general, I care the most about it being easy to debug by a random person who's never seen it before and barely knows the language either. So #2 stack trace as you said. Add in simple syntax. Lots of languages, libs, frameworks, etc
67.
▲
by
harkinian
3y ago
... which you spend more CPU cycles than you ever saved trying to debug it
68.
▲
by
harkinian
3y ago
There's something on the Lightning and iPhone side managing charging too. I wasn't talking about the AC->DC rectifier or USB on the brick. In the end, an iPhone will fail to charge pretty often even if the cable isn't fray
69.
▲
by
harkinian
3y ago
Huh, my MacBook bought directly from Apple did come with a 3-prong cord, but I've seen plenty that didn't. I specifically remember having one, replacing it with a random 2-prong cord to fit into cramped outlets in high school, and
70.
▲
by
harkinian
3y ago
[deleted]
71.
▲
by
harkinian
3y ago
Not surprising that a complex charger is unreliable. And with iPhones using Lightning, it's even worse.
72.
▲
by
harkinian
3y ago
Requiring explicit error handling instead of exceptions makes it not brief. Lots of things will fail, and every single time: f, err := Sqrt(-1) if err != nil { // handle error } Probably async/await would mak
73.
▲
by
harkinian
3y ago
Types really only help when they're primitives. You're going to have a million random classes that are only used in a few places. Seeing `ConfigManagerFactory config_manager_factory` doesn't help. What helps is avoiding exces
74.
▲
by
harkinian
3y ago
Neither of those are against the bittorrent protocol itself. Lots of software like Ubuntu is legally available on bittorrent, and I've never seen anything done to restrict that.
75.
▲
by
harkinian
3y ago
In what way is the bittorrent protocol criminalized?
76.
▲
by
harkinian
3y ago
The bugs of course
77.
▲
by
harkinian
3y ago
Oh and those measures that save 2 extra CPU cycles do things in a way more error-prone way, which some day causes memory corruption.
78.
▲
by
harkinian
3y ago
C++ for high-level code tends to be this way. Waste tons of focus on saving a couple of CPU cycles, but the whole thing is waiting on RPCs anyway. Also you probably used less efficient algorithms because the smarter ones were too annoying t
79.
▲
by
harkinian
3y ago
I passed the style test at work then instantly stopped following any of the rules. My teammates who also don't care approve the changes. We deal with lots of bugs each day, and none of them have ever been because things like using `aut
80.
▲
by
harkinian
3y ago
Problem is even with auto-formatters, people will squabble over pointless stuff. I just do whatever comes naturally and assume someone is going to want it a certain other way, then I change it without arguing. That goes for designs too.
81.
▲
by
harkinian
3y ago
Golang talked down to its users about generics for a long time, then they finally gave in. Give it some more years and they'll finally have exceptions and async/await.
82.
▲
by
harkinian
3y ago
If that happens, you fire them?
83.
▲
by
harkinian
3y ago
I really dislike Golang, everything about it, even the name, and this is one reason. C C++ Rust can do systems stuff, Java JS Python and even C# can do applications. All with pretty intuitive syntax except for Rust kinda, but Rust has good
84.
▲
by
harkinian
3y ago
Not sure of any official definition, but it usually means that you're creating a system that applications made by other people will be built on top of. For example, writing Postgres or NodeJS is doing systems programming, writing a web
85.
▲
by
harkinian
3y ago
I'll bet that for every country in the world, a senator has predicted a war against them. And we still aren't at war with Russia, but you could call them an enemy for sure.
86.
▲
by
harkinian
3y ago
Probably priced in already.
87.
▲
by
harkinian
3y ago
We aren't at war with China either.
88.
▲
by
harkinian
3y ago
Can't tell if the new company would be able to host the same exact material. It's already come out that the White House pressured Google and Facebook to promote covid19 vaccine content. YouTube banning Russia-linked channels doesn
89.
▲
by
harkinian
3y ago
"People don't seek to ban TikTok because they fear the content" I'm not convinced about that. Open letter to congress from JFNA: https://cdn.fedweb.org/fed-1/1/Jewish%2520Federation%2520Let...
90.
▲
by
harkinian
3y ago
Which country gives the rest of the world the same rights as its citizens?
More ›