ultramancool

Joined 14 years ago

Karma
3,054
Submissions
1,030
Member since
Jun 7
View on Hacker News

Recent submissions

Comment · 10 years ago
This just makes me miss SoftIce. Just hit ctrl+d and be immediately dropped into exactly what your machine is doing at any time.

Of course, just doing this would be illegal on most proprietary operating systems.

Comment · 10 years ago
(assuming the bug here is a description being assigned to a title)

getDescription simply needs to return a Description object while getTitle returns a Title object. Duh.

Only in the final rendering should it get turned into a string and there it should only accept a Title type for doing so.

Okay, I'm kind of joking, but this is seriously the solution if you really want to get down to it - primitive overuse is the problem, so wrap it in a type that makes it explicit. You need cheap and easy types to take full advantage of this sort of thing.

EDIT: And even with those reading code developed in such a way may go overboard at some point. I'm not sure as I haven't really seen it done to the fullest extent possible. Typically even when taking a fairly strong advantage of such a type system, unit tests and stuff are still used, but theoretically you could enforce their parameters entirely in the type system. Of course, that enforcement can also be incorrect, but it does make it clearer in many cases.

Comment · 10 years ago
Yeah, they talked about numbers of bugs fixed, but those surely seem to have impacted the user experience. My big worry is that if I were to consider deploying to such a service, that I would encounter similar bugs, but not have the political pull to get them fixed and simply have to perform hacky fixes around them myself.
Comment · 10 years ago
If those major distros weren't switching though, you wouldn't have to, which is what my point was. The only reason you're adopting it is not for a practical benefit, just because the distros did.

I run devops though for a small business and we've avoided the issue entirely using runit for our software.

Comment · 10 years ago
I've switched everything I write to use runit because runit doesn't require any particular init system, you can easily integrate it with sysvinit, freebsd's RC, ubuntu's upstart, systemd, etc. It just runs on top and doesn't need to be the king and it's incredibly simple to write scripts for it. Completely removes the need to worry about this init mess.
Comment · 10 years ago
The thing is though - their code is already written. Systemd is entirely unnecessary for 99% of people, probably everything except some of it's LXC features has clear and popular alternatives. LXC is the only thing making me eye systemd with interest, but I'll come back to it in a few years once all the weird stuff is worked out.
Comment · 10 years ago
That's awesome, but you should consider F-Droid because you're probably going to get a takedown on Play if you get any level of popularity.
Comment · 10 years ago
I looked at it but both price and lack of root and bootloader unlocking are extremely prohibitive for me. The keyboard is really its only appealing feature.

I can get a device like a OnePlus 3 for about 60% of the price and it has better hardware to boot. In terms of storage, RAM and CPU it's more comparable to a OnePlus 2 which is about 40% of its price.

Keyboard is nice, but not double the price and lose features I rely upon like AdAway and XPrivacy kind of nice.

Comment · 10 years ago
Are there any pickins for android phones with keyboards with even remotely modern hardware (I'd settle for anything with a 1080p screen probably)? Seems extremely limited, I was unable to find any viable options last I checked. I hate the candy bar form factor but it seems as though it really has won out unfortunately.
Comment · 10 years ago
Yeah, the XBMC Youtube addon used to do subscriptions and the like, it was pretty nice, but I think it broke and the main developer abandoned it. Youtube-dl does support channels and resuming though so you could fairly easily just set up a cron job and use syncthing to get the videos onto your phone. No pretty GUI for that though.
Comment · 10 years ago
Comment · 10 years ago
Isn't the whole point of Musk opening Tesla's IP to be able to sell more batteries? It's not charity, it's a business strategy.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton