Better HN
topnewbestaskshowjobs
Log inSign up

usrbinbash

4,687 karma · joined Dec 4, 2021 (4y ago) · 1,693 submissions

Submissions

comment 4y ago · link · parent

But these are exactly the problems a pwd manager solves;

It generates long, random passwords, satisfying arbitrary rules that the user doesn't need to worry about.

It hides all these passwords behind one master key, which is the only one the user has to remember.

Resetting passwords is a non issue, because the pwd manager doesn't forget a password.

comment 4y ago · link · parent

If we assume a system compromised to the point where the attacker can install key/clipboard loggers, then private keys (which are usually also secured by a symmetric password that has to be entered on the system) won't help us either.

If a level of security is required where even a compromised end user system is not enough for an attacker to authenticate successfully, then MFA is the only answer, and that is not an argument against passwords, because it doesn't matter what the other factors are.

comment 4y ago · link · parent

> A password manager can be an extra 10 seconds of work up front in some edge cases

There is always a trade-off in security vs. comfort. To me, having a completely secure authentication method that is simple and doesn't rely on any third party services, blorkchains etc. and is completely under my control, is important enough to be worth the occasional 10 seconds of work.

> another rough edge case is when the autogenerated password doesn’t match the password requirements

Which is why the generator I use allows me to set the character set & max length.

comment 4y ago · link · parent

> about the insecurity

Passwords don't have to be insecure, that's precisely the point of a pwd manager (apart from having a different pwd for every service).

comment 4y ago · link · parent

Why exactly do I need a "passwordless world"?

I read the prior article, and the two main problems with passwords apparently are pwd-db leaks and email accounts as central password reset mechanism.

A password manager software solves both these problems. I have to remember 2 passphrases: 1 to decrypt my harddrive / backup, one to access my password manager.

Everything else is protected by a truly random, long, unique-for-every-service, password. Yes, that includes my email account. It's simple, it requires no external services, I control it in its entirety, it can be done using 100% FOSS software.

db leak somewhere? So what, the chance of a 64byte random string being bruted/rainbowed is next to zero, and it's used nowhere else. And it takes me all of 10 seconds to set a new password that is just as strong.

And since the pwd-safe is part of my backups, there is no single point of failure involved.

comment 4y ago · link · parent

> it's something sometimes refered as a "layer 3"

Again: Most people will not use a more complex solution when a simpler one exists, regardless of whether the simpler solution requires a central authority. Example: People used to use IRC, which is a really easy to use system. Then along came chatrooms, and then centralized messenger systems. Sure, some people still use IRC, but they are not the majority.

> That's where the problem is. 3rd partys have been introduced for security reasons but are nowadays far from it and that's what some people are actually fighting for.

Which systems are "far from it"? The financial system? I get my paycheck every month, all payment processes work fine. The government systems? Elections in my country work flawlessly, tallied and protected by central authorities. The power grid? I haven't had an outage in 4 years, and the last one lasted all of 10 minutes. Public Transport in my country is affordable, well maintained and usually on time.

So it seems to me that centralized systems work just fine in the vast majority of cases.

comment 4y ago · link · parent

> Decentralization like democracy introduces inefficiencies but at the same time provides safeguards against these conditions.

Most democracies are not purely decentralized systems, however. There is still a central government, the difference is how it obtains its ruling power.

Even the elections themselves are not de-centralized, as in "everyone run his own DIY election system and we'll see what sticks". There are central authorities for tallying votes, providing election sites, safeguarding and vetting the process, declaring rules, etc.

Which is a perfect example for how cenralized systems can be both efficient and safeguarded.

comment 4y ago · link · parent

> Centralization will almost always be more efficient but has "security" flaws in the form of bad faith actors while also acting as the central authority.

And de-centralization has security flaws in the form of more difficult or impossible oversight, which can allow bad-faith actors to pursue their goals with impunity.

Neither paradigm is perfect, each has its flaws. Knowing that a system is de- or centralized, tells us exactly nothing about the morals of the people using it.

comment 4y ago · link · parent

> Everyone should leave CEXs to get on DEXs and learn about DeFi

That is not going to happen, for the same reasons why most people don't dig their own wells, learn carpentry to make their own furniture, or weave their own cloth and learn how to tailor clothes.

Every complex enough system will always have centralized points, aka. gatekeepers. That is how human society self-organises.

comment 4y ago · link · parent

> The same argument advocates monopoly or central planning by government?

My argument isn't "centralization is good no matter what".

My argument is "centralization is not inherently a bad thing that is to be overcome. Done correctly, as demonstrated by many existing systems in our society, it is a great way to make things our society needs work at scale in an efficient manner."

comment 4y ago · link · parent

I can give you plenty of more feasible analogies;

Do I make my own bread? Sure, sometimes I do. Baking bread isn't that hard. But do I do it every day? No. Why? Because it takes time to do, my kitchen counter is usually a mess afterwards, and the result usually doesn't taste anywhere near as good as the 20+ bread varieties I can buy at the corner store. I sometimes do it for fun, but I wouldn't do it every day.

Let's go to macro scale: What's the better solution: 1000000 people each baking their own bread (1 loaf a day), or a giant company baking all the bread? A million stoves are most certainly less energy efficient than the professional industrial ones at the company. Having to divide the resources into many small packages and distributing them to each individual households is less efficient. The quality of the bread will vary widely. And lets say baking takes 0.5 hours, that's 57 person years wasted per day to do something the bread factory can probably do with a few dozen employees.

comment 4y ago · link · parent

> It could just as easily be "This isn't decentralized! Let me fix that!"

First I would like to be convinced that centralization is actually a problem.

Most things in our daily lives are centralized: Power Generation and Distribution, Water Distribution, the Logistics which put food in our stores, Infrastructure setup and maintenance, to name just a few.

Yes, even our financial systems work fine. I get my paycheck on my account, I can pay effortless with my credit card, security, maintenance, services, customer service is taken care of.

Yes, there are shitty centralized systems, and there are opressive authorities that abuse centralization. The solution to that however, is not "get rid of centralized systems".

comment 4y ago · link · parent

> It's hardly a legal problem, there are plenty of countries and US states where many kinds of sex work are perfectly legal

How is it not a legal problem, when it's apparently possible to solve it entirely by having a different legislation?

comment 4y ago · link · parent

> Humans are lazy. They'll go with the #1 option, even if it means building a centralized monopoly.

Am I lazy because I don't forge spare parts for my car and install them myself? No. I leave this to the huge, rich, established company that manufactured my car, and their contractors. Why? Because the only times I ever repaired anything in a car, was in videogames. And I want to be sure that the thing that I entrust my safety to while traveling, is in excellent working order.

For the same reason, most people don't setup their own mail servers, don't setup their own racks to run webapps, invent their own currencies, grow their own food, produce their own electricity, or dig wells.

Our society runs on a huge variety of systems, most of which are too complex individually for any single human to fully understand/make/maintain on his own. Centralization is not a bad thing to be avoided, it's an inevitable consequence of technological development.

comment 4y ago · link · parent

Except the most common way to do blockchain transactions are broker services which do require user information. This, combined with the fact that the blockchain is an immutable public ledger (meaning any transaction can be traced back indefinitely), and there goes anonymity.

comment 4y ago · link · parent

Only if the authority recognizing the ticket allows it.

If they don't, then the name of the original buyer is likely part of the hashed information, and anyone else trying to use the ticket is out of luck.

NFTs still require recognition by the authority actually controlling the goods/services in question.

comment 4y ago · link · parent

> I currently only like NFTs as representations of digital licenses or tickets etc anyway, so simple hashes work for me.

But we don't need NFTs & Blorkchains for that. Just a simple digital signature is enough. Take all the info of the ticket, hash it, sign it with your private key, put the result into a Matrix Code for convenience and done.

comment 4y ago · link · parent

> but I would not push it as a default environment for incoming developers.

I would not push any default environment on incoming developers unless there is a very good reason to do so (eg. custom graphical lowcode tool that only works with a specialized editor). As I said, one of the beautiful things about programming is that the craftman gets to chose the tools.

comment 4y ago · link · parent

For Cpt. America this makes total sense...his shield is both a weapon and a defensive device, as demonstrated throughout the movies many times.

But carrying a small dog (a pug) while charging into battle? What exactly is the point? Where is the logic? Even if its the royal dog, when the compound is overrun by the archenemy of the duke, the royal family unaccounted for, the most effective weapons sabotaged, the last thing his most capable military commanders would think of doing, is saving the royal pet. And even if that was the intention, how does carrying it into the thick of the fight achieve that?

Yes, we accept absudities in movies, if they make sense in the setting. If Cpt. Rogers were to carry a pet hamster around in his pocket for seemingly no reason, while fighting Hydra, it bet the acceptance of this would be kinda low, Marvel or no.

comment 4y ago · link · parent

> vastly underrated

Sorry but no, it really really isn't.

Just a few highlights:

* Why would soldiers sent to fight on a Desert-Planet wear black, vulcanised, full body rubber Hazmat suits?

* What on Earth is a "Wyrding Module" supposed to be?

* What exactly is achieved by charging into battle while holding a pug on ones arm?

* It says "Ornithopter" in the books, implying something vaguely animal-shaped, not a hovering metal box.

* Why do communication devices in the far future resemble telephones from the early 1900s?

* What exactly was the point of bringing the late-stage navigator to the meeting in a room-sized spice-tank, when his subordinate did all the talking anyway?

comment 4y ago · link · parent

Well, I am a vim user, and I deride noone for the tools they want to use. If someone wants to work in a super-modern IDE, great. If someone wants to work in Notepad++ great. If someone wants to work in ed and use a lineprinter, great. If someone wants to use EMACS, great. Programming is one of the professions, where the craftman gets to choose the tools, and for me, that is something to celebrate.

So with that being said, why do I use vim in a terminal emulator, instead of a modern IDE? Here are my most important reasons. Bear in mind, these are extremely dependent on my personal taste, modus operandi and thinking.

1. Simplicity helps me focus. vim hits a perfect mark between simplicity and feature-richness. Interfacing it with more complex systems such as LSPs, Linters, etc. is almost trivially easy.

2. I like building own tools and adapting existing tools them as I see fit. vim is pretty much perfect in that regard, not just because of the power of vimscript, but because how easily I can integrate tools I wrote myself into it.

3. It's absolutely trivial to set up: I copy my ~/.vim and that's it.

4. Once I figured out jumps, markpoints and linescripts, it allows me to do absolutely crazy things in codebase navigation

5. It works over ssh

6. It runs instantly and has a negligible performance impact

7. I can seamlessly integrate it into other CLI tools that require an editor, providing my default work environment in every situation.

8. Since version 8, I can actually use it as a terminal multiplexer, which is just crazy good for my workflow...I often have several split tabs to edit/navigate the code and a terminal tab controlling deployment and testing on the remote machines...all in a single terminal emulator window.

So yeah, why do I like vim? Because its flexible, fast and extendable, works everywhere and does exactly what I want.

comment 4y ago · link · parent

Why it should win best picture:

https://www.youtube.com/watch?v=zxFQbjQbPq0

Do I need another reason?

comment 4y ago · link · parent

https://www.magicalquote.com/seriesquotes/our-power-comes-fr...

Perfect fit.

comment 4y ago · link · parent

> I guess what we're dealing with here is that different brains solve similar/same problems in different ways.

I think the main difference is between human brains and machines. Biological systems operate with a kind of "fuzzy logic" by default...glancing over edge cases, smoothen out discrepancies on the fly, filling in missing information with context knowledge or assumptions, etc. Being imprecise is not a problem, in fact being able to handle the imprecise, is what keeps living things going.

When we describe a problem to a human like "take that crate and put it in the next room", we know that he will fill in the gaps (hopefully) like not assuming that the cleaning closet is the "room" we meant, even tho its right next to the starting room, and its technically a room.

Describing this to a computer is different. Edge cases need to be considered. What if there is no crate? What if there are many, which one does he need to get? What does "in the room" mean? Does the orientation of the crate matter? What do I do when the room is full? "Next" on which side of the corridor? And so on, and so on.

Only in having to describe a problem in an algorithmic way, can we fully appreciate all of its parts, and the information flowing through the process.

comment 4y ago · link · parent

> Never start coding (making a solution) unless you fully understand the problem.

While I agree with this in general, I find that to reall fully understand a problem, I need to attempt to code, or at least formulate, a solution to it.

a) because when I break down a problem into its code-able component parts, I learn a lot about it

b) because in the process of then actually implementing these parts I often discover edge cases or undefined cases (especially in naturally grown business-logic)

c) because what the problem actually IS, is often not that clear at the start of the problem. Yes, in an ideal world, changing requirements would wait until the next version, however, sadly that's not what happens in the wild.

comment 4y ago · link · parent

> I still believe my example about freedom is still a perfect use case of it

How exactly does the blorkchain or "web3" achive that? There still needs to be a host for the webapps through which it's accessed. There still need to be DNS entries. The people acessing it are still doing so via ISPs. All these are gatekeepers, which an authoritarian regime has control over.

Gatekeepers don't go away just because the service decides to use a distributed ledger.

comment 4y ago · link · parent

So? Non Canonical code can be written in any language. The important thing is: There is a canonical way in the stdlib to specify durations that is easy to read for the programmer.

comment 4y ago · link · parent

> The fact you can go from int to duration without specifying the unit

The unit that is converted in, is in the first sentence of the two-sentence documentation of time.Duration():

    A Duration represents the elapsed time between two instants as an int64 nanosecond count. 
https://pkg.go.dev/time@go1.18#Duration

comment 4y ago · link · parent

But none of that requires a Blorkchain to do.

Just because Blorkchains can solve a given problem, doesn't mean it's the best, or only solution. One could design a notetaking app using remote controlled combine-harvesters that mow the notes into prepared fields of wheat serving as storage media, and camera drones to read the information back. Doesn't mean it makes sense to do so.

comment 4y ago · link · parent

*cough* Golang *cough*

    time.Sleep(42 * time.Millisecond)
    time.Sleep(42 * time.Second)
    time.Sleep(42 * time.Nanosecond)
    time.Sleep(42 * time.Hour)
1
383940
57