Better HN
topnewbestaskshowjobs
Log inSign up

problems

3,239 karma · joined Oct 3, 2016 (10y ago) · 1,374 submissions

Submissions

comment 9y ago · link · parent

I agree we've definitely wasted far more money in far worse ways, but it still doesn't change the fact it's wasteful scientifically and economically speaking, just because there are bigger wastes doesn't mean we should accept all smaller ones, this is known as the "fallacy of relative privation" or "not as bad as" fallacy.

comment 9y ago · link · parent

I always found that quote incredibly pointless. If you just want to do something because it's hard, there's lots of options, the cheapest is to turn up the difficulty on a game.

Don't waste tax payer money sending humans to the moon for no scientific purpose - leave that to the machines. Hard things can be wasteful too, just because something is hard doesn't make it valuable.

comment 9y ago · link · parent

Nope, it's standard, Terry Davis is the author and he's a very religious schizophrenic. He's a very smart guy, but he got banned many times on HN and Reddit for going off about "India niggers" and spamming blocks of random words.

comment 9y ago · link · parent

You dev on linux, try your best to write in a cross-platform way - then only once you've got something that works and you're fairly motivated to actually do something with it, go through the hassle to make a Windows build.

comment 9y ago · link · parent

Maybe it's just me, but I always avoid apps that don't integrate well with my platform. They're just not pleasant to use. I want the same look and feel, I want the same file browser, I want the same DPI scaling my desktop uses and I want the same UI standards followed, not some giant mess of whatever every individual dev decides seems nice that day.

I'm not so sure it's mitigated by the web - people may browse Facebook and a few news sites, but those aren't complex applications at all and they have very simplistic UIs that don't attempt to imitate familiar desktop controls or to show desktop concepts like files and folders.

I have far more problems with Electron app sizing than I do with proper desktop apps - see my examples above.

comment 9y ago · link · parent

Yeah, it basically seems like an "oh shit, we're sorry our site is so ancient, here, have this coupon code so you save some money and don't jump ship instead".

Seems like a reasonable stopgap as long as they're working on fixing it.

comment 9y ago · link · parent

Most people I know who casually pirate things don't even use torrents, they use streaming websites, file lockers, Kodi plugins, etc. Which offer similarly no risk of getting caught. I was simply using Popcorn Time as the extreme example of the level of ease it can be at.

None of these are exactly out-of-the-way high-effort options. There's no increased effort - you just don't bother trying to do so via Netflix. Any of these can be Googled in a few minutes. DRM does nothing to prevent them.

The legal risk you're talking about is just that though - nothing to do with DRM, everything to do with a legal threat. Note that it's more effective than DRM.

Even those who do go out of their way somewhat to improve the piracy experience don't go that far. I wouldn't compare configuring a typical Usenet+Sonarr+CouchPotato+Plex rig to breaking down a door, and that's pretty much the most advanced sort of setup you can get. It may require slightly specialized knowledge, but it doesn't require specialized intent usually. The intent is still the same as that of the casual pirate, it's just a tradeoff of upfront effort for later ease.

comment 9y ago · link · parent

But it's the truth - those Uber drivers don't get guaranteed work, they don't get hours, they don't get salary. Instead they find contracts via Uber and they keep their portion of the earnings. Just because Uber takes the payment makes them an employer? If Uber had the drivers take the payment and pay them out later would they not be an employer anymore?

Seems like the exact definition of a contractor to me. I don't know how else you could define it really.

comment 9y ago · link · parent

If you're meaning to say you can write "multi-platform desktop" apps using Electron... I suppose you're technically correct, but they don't feel native on any platform, are generally slow, massive to distribute, don't integrate well with other applications and generally have weird non-native-app-like behavior. Like Discord I can resize and have the minimize/maximize/close buttons overlap the window. Atom and VS Code still can't do DPI scaling right. I wouldn't say you can build good desktop apps with them. Just crappy little ones. Maybe that's necessary to interact with one library or another, but that's a tradeoff. And a big and important one to recognize.

Maybe React Native will work on desktop and fix all this eventually, but IMO React Native is just not there yet, it doesn't even feel native on mobile.

I say this as someone who writes both an app with both an Electron/React portion (in order mainly to interact with a specific JS library) and a Qt portion. I really do like the way React does a lot of things and npm seems like the exact right way to do package management in a programming language - but the JS ecosystem is a mess. While I'll agree the wealth of developers on it has had many good results, it's also created a horrible moving target. There are half at least 5 different and fairly popular module systems, module loaders, etc. There are constant attempts to use language features which aren't official yet or even at a final spec via babel. The build and packing systems are a mess, everyone has their own different series they prefer and getting working integration between a few can be problematic.

comment 9y ago · link · parent

Qt pretty much nails this balance, WPF isn't bad either. Both will run circles around browsers at rendering performance and are much less tedious to develop in unless you've only done web dev before.

comment 9y ago · link · parent

I'd be quite happy if LetsEncrypt becomes a significant monopoly - they're following much better practices than many other CAs, they run on open source software and are generally operated in a much more transparent way than other CAs. By using stuff like Certificate Transparency Let's Encrypt makes it so their issuances are publicly auditable - much more than many other CAs are doing these days.

comment 9y ago · link · parent

Uber is essentially just a matcher and payment processor that takes a cut, they don't own vehicles or employ drivers - will they only have to pay taxes on their cut?

comment 9y ago · link · parent

Or - without doing any of that - just ship it on the honor system - no DRM. GOG does it and they still get more than 1 sale per game.

comment 9y ago · link · parent

There's a big different between breaking a door down to bypass a lock and pirating a movie via bittorrent though.

It doesn't "keep honest people honest" when piracy is so damn easy regardless of what they do with DRM. The point of that phrase is to increase the effort and motivation necessary to commit a crime - in this case, DRM doesn't do that. With or without DRM any idiot can download the latest Popcorn Time fork and stream movies with 1 click. DRM doesn't hinder the most casual of pirates at all, it only hinders honest customers.

comment 9y ago · link · parent

They quite frankly can't technically, only legally - they're selling a 0 margin good, anyone who has it can basically give away infinite copies at zero cost per additional copy. Anyone who wants it for free will have it for free. They need no more than drop a few words into Google or type the name of something into a fully automatic tool like Sonarr.

It's pointless for them to bother trying to stop piracy, especially of analog content using technical means.

comment 9y ago · link · parent

Yes, the bundling is ridiculous, but as long as the browser is open source, it'll still be possible to disable it - it's a tiny amount of code to allow that to happen, not a high maintenance effort item at all.

comment 9y ago · link · parent

> Why didn't Mozilla work harder to catch up with Chrome and counter Google? Was it a case of "My enemy's enemy is my friend?"

I'd argue that this "catching up to Google" was more their problem than their solution.

In making Firefox more and more Chrome-like they took away many unique and important Firefox features and they keep moving further and further in that direction. They now want to trash XUL and move to an extension framework that exactly matches Chrome's, removing the deep flexibility and customization that Firefox users have enjoyed. Several of my favorite extension authors have already announced they're giving up when that change happens.

If your browser just plays catch up without differentiating itself in any significant way, why would anyone use it?

Mozilla came up with some cool UI ideas, but never implemented them, or quickly did so, got them to a tiny percentage of their full potential and then abandoned them. That's the kind of thing they should be focusing on - that's the kind of thing that made Firefox gain market share in the first place. Instead they keep playing catch up. And playing catch up with a massive codebase against a giant company is incredibly hard.

Right now Brave is doing a better job differentiating itself and it's built on top of Electron - on Chrome's core codebase. If it were a little more active I think it'd have a shot at something.

comment 9y ago · link · parent

On Android they feed it directly to the OS codecs except for 4K video so they can't really care that much.

comment 9y ago · link · parent

So I remember reading some early EME specs that seemed to indicate that EME encrypted content could be decoded and played by the browser's standard decoder and player - in the case of an open source browser like Firefox - hooking these decoding functions is quite trivial. Is this the means they've gone with or does this EME blob include their own decoder and player?

EDIT: This little image here: https://www.w3.org/TR/2016/CR-encrypted-media-20160705/stack... in the bottom right indicates that "CDM implementations may return decrypted frames or render them directly".

Would be very interesting to see a generic CDM hook which could dump all the in-and-out calls to a given CDM.

comment 9y ago · link · parent

Yeah, the problem started when people decided installing a browser from an ad agency seemed like a good idea.

comment 9y ago · link · parent

I think emacs in practice would give different results than this as you'd typically use it with server mode.

There's also addon tools like vlfi if you're editing very large files on a regular basis.

I'd be more interested in ~200MB instead of 3 GB as I find myself more frequently opening log files and XML exports in the 100-500MB range.

comment 9y ago · link · parent

Is this really a surprise though? It uses Electron, which loads an entire web browser just to do text editing and adds several layers of indirection which aren't needed by other editors like sublime.

comment 9y ago · link · parent

SyncThing solves this quite nicely on Android at least. For iOS, I'm not sure, Apple's restrictions make proper sync near impossible in the name of battery life - even while charging or on WiFi.

comment 9y ago · link · parent

> 0 dependencies

If bundling your devDependencies at compile time counts as "0 dependencies", nothing has any dependencies. In this case, the whole thing's built on electron - all of chrome's rendering engine is quite the dependency. The uncompressed Windows version is 137 MB on disk. Fatter than most any app should be.

comment 9y ago · link · parent

Before they were using a custom AES-based key derivation function which had not been strongly peer reviewed so Argon2 is a big improvement there in my book.

ChaCha20 over the existing AES-CBC... not as much, I feel more comfortable in that it's harder to screw up the implementation of it, but that's about it. CBC mode especially can have unexpected side effects unless used very carefully, ChaCha20 or any other strong stream cipher, even AES in CTR mode is somewhat easier to understand the side effects of.

So overall, not concretely in terms of known vulnerabilities, but in terms of predicted risks, I'd say certainly. Before this change I was erring on the side of known algorithms with solutions like LastPass at least using standardized PBKDF2. With this change, KeePass went behind or middle of the pack, cryptographically compared to competition, to the frontrunner.

comment 9y ago · link · parent

Servers usually have pretty good fans, as long as you're not doing anything extremely intense you're probably fine with just air cooling at room temp like any desktop PC, we've run them on shelves in a non-ventilated lab for years without issue.

Someone correct me if I'm wrong, but I get the impression that the main reason DCs need special ventilation is due to sheer number of servers producing a lot more heat combined.

1
232425
46