Better HN
topnewbestaskshowjobs
Log inSign up

usrusr

11,383 karma · joined Apr 22, 2013 (13y ago) · 5,854 submissions

Submissions

comment 3y ago · link · parent

I'm all for convenience trade-offs, but they need to be opt-in, not opt out.

comment 3y ago · link · parent

False sense of security is exactly what they did: a sturdy looking lock with a main mechanism that would give the lockpickinglawyer a challenge, but with a number of hidden bypass options that are easy enough for you and I do use (if we know about them).

Bypass options that are considered enough of a problem to give the legitimate user ways to disable then and they are just as hidden as the bypasses themselves. And default to not disabled.

comment 3y ago · link · parent

There's an option to disable plugins, for that very reason. But that's the core of the issue, if you're unsafe by default adding lockdown options which may or may not work is a very weak improvement. That entire attitude seems more security toy than security tool.

comment 3y ago · link · parent

Unsafe defaults like "we run all plugins, unless someone goes through all the right motions of closing that door in all the right ...config.xml, ...config.enforced.xml" (and who knows what others) is just terrible. Terrible for any software, and worse for a piece of software that has no purpose at all besides security. What if there's a typo in your lockdown incantations? Not locked down.

That CVE isn't just a disagreement, it's a warning. Avoid security related software from people who enjoy keeping a security edge over the unwashed masses who aren't in the know, who don't get a kick out of locking down. Because that's why they keep the unsafe defaults, they keep them because they enjoy going the extra mile for their own safety. That is, unless they (also) have worse reasons for keeping unsafe defaults, but, well, Hanlon to the rescue.

comment 3y ago · link · parent

But you don't know that you are entering the password to release all your passwords into cleartext, all you wanted to do is check wether your farmville cows still exist.

comment 3y ago · link · parent

That's answered in the SourceForge discussions linked from the CVE: if you assume the password manager to be only as secure as the user's configuration files, why don't you just skip the hassle and put your passwords in a csv?

comment 3y ago · link · parent

It's not uncommon at all to see configuration less protected than executables.

comment 3y ago · link · parent

And each drip paints a bigger crosshair on the back of keypass wrt supply chain attacks (the only angle where keepass isn't inherently better than others). I wish lastpass all the best in terms of improving their communication!

comment 3y ago · link · parent

..and that preview renderer is presenting markdown just fine when the language doesn't happen to be java.

At the current trajectory of java making it to hn front page seemingly every day with yet another mosaic piece of trying to become kotlin, we can only hope for jetbrains ownership to not be easily tempted by Oracle dollars.

comment 3y ago · link · parent

Not the least interesting subchapter of the bean story, because those things were the most pressing oop data + behavior conglomerates that desperately needed disentanglement, and because "truth from the backend" is one of the most obvious use cases for immutability. But The Bean was more than that, just think of that FactoryFactoryBean meme that haunts Java to this day which was (in my perception) the result of that misguided love affair with XML called the XmlApplicationContext. ("who needs a compiler when we have xsd to ensure footgun correctness!")

comment 3y ago · link · parent

Historical reasons. Back then it was all about hiding state which was perceived as some hidden walled paradise where there are no rules and yet everybody lived happy and without strife. Some certainly saw the need for dependable rules and so on (after all you can have final fields and be forced to set them in the constructor) but the lure of easy attitude from true believers was so strong that The Bean became the de-facto standard for about a decade. The Bean, with its sole default constructor giving a heartfelt middle finger to everything resembling some kind of predictability.

It was a painful learning process from there to where we are now, where we consider any internal state that isn't passed to the constructor in an already immutable shape a considerable smell that you'd better have very good reasons for and we prefer a clear distinction of preparation and operation phases separated by that one constructor which sets (and in most post-OOP languages also declares) the values of the object's constituents.

(PS why isn't "post-OOP" a far more established term? It feels considerably more useful to me than the usual mind gymnastics about "functional but not quite" that provoke all those (im)purity squabbles that help noone)

comment 3y ago · link · parent

Carbon capture is hard, nitrogen is truly abundant. That is unless you happen to have a source of highly concentrated CO2 at hand. Which is certainly true now, but won't be in the endgame. Methane (or something with an even lower H-per-C) will surely be part of the picture, but it can't be the mainstay. I'd expect hydrolizer capacity to cluster around storage opportunities (like salt caverns) within convenient grid range from energy sources, large ammonia plants to continually work from that hydrogen buffer and higher-value H2 consumers to opportunistically tap into the same buffer whenever their "other ingredient" is available. That "other" could be metal ores, iron oxide returning from an oxidization energy cycle or CO2 from biomass burning or waste incineration. But there's always hydrogen as a first step, and the (centralized within grid range) hydrogen storage as the buffer that solves the dispatchability problem.

Fun observation: If some of the hydrocarbons created this way make it into plastics that isn't passed back into incineration (or a better form of recycling) you'll have true carbon-capture for the fraction of the carbon that came from biomass. Without we trying.

comment 3y ago · link · parent

This. Is there even one power2anythingelse that does not have hydrogen as its first step? Hydrogen storage will be important, as the input queue for whatever step comes next so that only the hydrolysis capacity has to be scaled for being able to take in supply peaks and idling the rest of the day/week/year. But hydrogen storage won't be involved at all anywhere in transportation or distribution of energy (with a few possible exceptions in large very high energy density requirement applications, I wouldn't completely rule out hydrogen aircraft being less infeasible than e-fuel powered aviation at scale)

comment 3y ago · link · parent

And if they got more successful at bringing those children to adulthood with each try (a pattern frequently seen in animals), the visible average resulting from that 15, 20, 25 example would even be higher than 20.

comment 3y ago · link · parent

The study seems to look exclusively at the outcome in the contemporary gene pool. And not at archeological DNA samples, because then the x axis would be in years not in generations. There's nothing to compensate for or disregard, the study simply does not claim to describe anything it cannot (very indirectly) see.

comment 3y ago · link · parent

Did any java-like ever try something like a language-level MyClass$WIP type? Seems quite elaborate for a niche problem like this, but could useful in other ways as well, e.g. by allowing finals not being final before promotion to non-WIP.

comment 3y ago · link · parent

The beauty of not using variables is that they don't pollute scope: a promise to the reader that it's perfectly fine to forget about that inermeditate result immediately after seeing it passed into the next step of the pipeline. Otherwise, you never know if it will perhaps show up later for some unexpected purpose. In a left-to-right language, those values that do get a name implicitly stand out

comment 3y ago · link · parent

Lots of low-value names required. Those names will inevitably either be badly chosen or have taken far more time to make up than they are worth. That's assuming the code isn't written by that one guy on every team who stubbornly insists on

   var x = three();
   x = two(x);
   one(x):
(having the names certainly is nice to have in the debugger, but I'd rather have those intermediate results be an explicit debugger feature than junk taking up mental bandwidth all over the code, at all times)

comment 3y ago · link · parent

Even 100% worthless offsets can be worthwhile, as a monetary expression of preference for less carbon intensive approaches.

But awareness that offsets aren't real is still good, to lessen the lure of moral licencing ("stop complaining that I killed your wife, I've got my letter of indulgence paid, signed and stamped, what more do you want!")

comment 3y ago · link · parent

Anything looks better than nested calls once you have started to get used to the benefits of reading left-to-right. It's one of those pains you don't realize you have unless it suddenly goes away.

comment 3y ago · link · parent

Powered by fusion generators it pretends are still experimental?

comment 3y ago · link · parent

Crypto failing because of covid response? That's a new one..

comment 3y ago · link · parent

GP is not unhappy about topics appearing on hn that he knows little about, it's specifically about using Twitter for something like that.

Conventional media would usually come with a short introduction for those completely new to the topic. The kind that tends to lead to considerable hilarity in those who don't need it. More traditional publications sometimes even seem to aim that short introduction at a knowledge level so low that it could only make sense to future generations finding a centuries old document or to some time traveler who skipped the last decades.

Hn, with its original source policy, will tend to avoid those without even trying. Even if I think that guideline is more about avoiding derivative journalistism than about avoiding journalism. At some point going deeper to some original source becomes a trade-off and Twitter links make that conveniently graspable.

comment 3y ago · link · parent

What if you could run an ad empire without employees? The human component of marginal cost in that business is zero. From capital's perspective, the final stage of perfection would be just a CEO serving the legal requirement of one existing. Surely that person wouldn't have to fret about their bonus...

comment 3y ago · link · parent

Toshiba laptops, now branded Dynabook and owned by Sharp/Foxconn, still have them on some models. If you want 32gb noticeably below 1000g they are literally the only option on the market (if you can find them, that configuring seems to be virtually unavailable).

Unfortunately their trackpoints come without that middle mouse button, which I liked to set to scrolling by trackpoint on my Dells.

(haven't used a laptop without trackpoint in ages but never really converted for regular pointing)

comment 3y ago · link · parent

There's proguard, originally intended for obfuscation but also serves well for dumping unused code from your project and most importantly from third party libraries. Virtually every Android app has it in its build pipeline, or these days actually a proguard reimplementation by Google (R8) that reads proguard's rather byzantine but effective configuration syntax (you usually need to keep some stuff in libraries that talk to themselves only via reflection)

comment 3y ago · link · parent

My mind parses the term "heat pump" as a device that works on temperature by compressing some medium. Works out just fine for most heat pumps, but not at all for e.g. the Peltier element which is about moving heat from one side to the oher ("pump") but does not involve compression at all.

comment 3y ago · link · parent

Why are they plastic wall-cystst though? Wouldn't a manufacturer offering a less obtrusive look (I'm not thinking of fancy boutique, just Ikea grade surfaces) alongside a standard interface for third party options get a huge market advantage?

comment 3y ago · link · parent

I consider writing that article/post without any occurrence of the string eliza a clever form of trolling or at least something closely related. Some kind of lowball exercise for the reader or meta-joke. Or perhaps there was a paragraph, but it was dropped in a final quality check on the base of "if I read this I'd want those seconds of my life back. Why state the obvious?"
1
525354
196