Better HN
topnewbestaskshowjobs
Log inSign up

manbash

311 karma · joined Jun 8, 2018 (8y ago) · 154 submissions

Submissions

comment 3y ago · link · parent

"you could have been born as" and the so-called "life-lottery" are a matter of philosophical and belief-system debate.

The "you" (or: self) is a concept, a perception.

I am just me, and couldn't have been something else, or born in another timeline, or to different parents.

comment 4y ago · link · parent

The "..." is called a spread operator in javascript.

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refe...

(In python there is the "*" operator which should be equivalent: [1, 2, *arr].

Array(clicks) instantiate an array of length 'clicks', with its elements undefined.

Then "[...Array(clicks)]" takes the above array instance and spreads it as content in another array.

Seems redundant and they could've just used Array(clicks).

comment 4y ago · link · parent

Firewall and VPN is the obvious part, and that's the industry standard.

Zero-trust means that Access Control is more finely-grained, down to the machine/user level. In this approach we don't trust any machine/user inside the organization as well.

comment 4y ago · link · parent

OK but we can mitigate these types of exploits (buffer overflow etc.) using memory-safe languages.

Bad design is a universal orthogonal problem.

comment 4y ago · link · parent

I am constantly finding myself deliberating whether I should or shouldn't use folders in my Obsidian vault.

Most of the times folders feel artificial. I prefer tags nowadays as the single source.

The times I separate to a folder is for very-specific Dataview data-only pages, and for storing assets such as images.

comment 4y ago · link · parent

I would like to add about the text input: I expected that if I edit my text input e.g. put the caret (text cursor) in the beginning of the text, then the focus will change. This is not the case, even when typing.

comment 4y ago · link · parent

Signal offers more to the table to prove it's secure and respects users privacy.

Whatsapp/Meta claim so, but have no proof. As with your comment, without proof we can't be convinced.

comment 4y ago · link · parent

Is 'btrfs' used only for 'btrbk'? Does it prevent data loss due to SSD failure, or just user errors?

What are the recommended data storage file systems nowadays?

comment 4y ago · link · parent

Step 3 is problematic. When you push change requests you also need to rebase i.e. put the fixing commits right after the affected commits.

Otherwise, if you only rebase once the PR is complete, then you are likely to stumble upon conflicts due to the order of affected files.

It's a waste of the developer's time either way, not to mention that rebasing i.e. changing history on an (upstream) PR hurts the review experience e.g. comments on lost commits.

comment 4y ago · link · parent

Anyone who has experienced rebasing a PR on github knows how much it hurts the review process.

comment 4y ago · link · parent

Why do people excuse ideas they don't like as "bureaucracy"? It makes me sad.

comment 4y ago · link · parent

Yes plantuml is still my go-to visual design tool, whenever I feel information is missing, and I actually prefer it over mermaid (which has been integrated in github markdown), which I found very lacking.

What I like about text-based tools like plantuml/mermaid is the ability to see diffs in PR.

Other industry modeling tool use binary databases to represent the UML model and make it harder (i.e. need to use their specific diff visualizers, if available) to review changes of the design.

Maybe plantuml should be adopted and maintained. Unfortunately it is still stuck in a Java implementation...

comment 4y ago · link · parent

I wish that the lessons from UML would one day lead to the a less ambitious modeling toolkit. What we need are ways to _communicate_ our design, not automate it.

While comments in code/tests, README.md etc. are a good way to explain the bits and pieces of our software, companies have various stakeholders (software engineers included) that can't affored the time to translate these primitive documentation formats so that they make sense.

Visual representation works the best, and I wish that UML would be elaborated as a sketching mean to communicate better with stakeholders, rather than being a part of an ambitious software-generation ecosystem.

comment 4y ago · link · parent

In design terms, I would claim that Sunset Calculator is a "component" (an integration of units), with a "required interface" (i.e. abstracted) that provides the coordinates.

A role of one unit inside this component is to use the provided coordinates and only perform the calculation.

comment 4y ago · link · parent

A link with all the triggers to the respective versions was posted down the twitter thread: https://pastebin.com/raw/FruE3GRX

comment 4y ago · link · parent

For me at least, it made little difference. My brain refused to ignore the parts that aren't boldened.

I think what I don't understand is the concept: "and so just a few letters are enough to recognize whole word".

This isn't expressed in the example. The rest of the word isn't hidden, it's still there in my peripheral vision (?). It is basically the same as I normally read.

If the unboldened parts of the words were actually discarded, I am not sure if I would be able to recognize all the original words, at least not efficiently and faster than the original.

comment 5y ago · link · parent

Now it's up to the person to decide whether increase in living cost is worth it, which... is kinda normal. I think I spend more money on other things that I take enjoyment from.

comment 5y ago · link · parent

I assume they have used CSS to apply the styles on each text span, and now they don't?

comment 5y ago · link · parent

I use it. Diagrams are easy to grasp especially when the alternative is lots of text. UML2 is a good specification IMHO. There are tools that let's you model your solution, which makes it easy to maintain it. https://www.omg.org/spec/UML/About-UML/

comment 5y ago · link · parent

I would love to try this out. Thanks for all the effort :)

P.S. happy to see other "critters" around here.

comment 5y ago · link · parent

It doesn't mean that it's nonexistent. The news story is about one company that provided fake sources for a past article.

Rent-a-friend/family in Japan seems like a real thing.

comment 5y ago · link · parent

One actual use-case of DARPA ("The Military") is to deploy such robots in disaster-stricken areas instead of risking human. For example, emergency maintenance in a power plant that has suffered a nuclear meltdown accident.

comment 6y ago · link · parent

> The switch fits in a 14mm square hole (apart from the protruding wires), which is the same size as a Cherry MX switch, but the total height from the bottom of the switch to the top of the keycap is almost twice as large, about 45 mm vs 25 mm [...] This directly translates to increased keyboard height, so it would be good to cut this down as much as possible. I should be able to lose 2 mm from the wire support at the bottom of the switch, and another 1 or 2 mm in the height of the leaf spring attachment, but there's no way it's going to be as thin as the Cherry MX.

It's a nice concept but the design of the switch doesn't intend this project to replace your keyboard.

A nice design nevertheless :)

comment 6y ago · link · parent

I am thinking the same now. The OP solution requires a server to do the the processing, but I am not sure this is the case for the Zoom client.

The Zoom client also requires minimal hardware requirements from the processor iirc.

comment 6y ago · link · parent

Great read! I am curious then why the Linux client doesn't supports this, if all it takes is to send out our webcam stream data to be processed server-side?

P.S. What happens when they do e2ee on the webcam stream?

comment 7y ago · link · parent

From a look at the github, there is a sudden "surge" or commits, likely to prepare to present it to hackernews. But overall this github doesn't seem to be maintained and users issues are sitting there unanswered.

https://github.com/susam/texme/commits/master

comment 7y ago · link · parent

You can pass the NFC card, which is different from biometric. Unless you mean implants?

comment 7y ago · link · parent

I agree. A toy widget with a simple input and output of the font would've been preferable.

comment 7y ago · link · parent

> Should that happen, how would you respond and revoke the lost SSH key? Do you have an accounting of the keys which have been generated? Do you rotate SSH keys? How do you manage that across an entire organization so consumed with serving customers that security has to be effortless to be adopted?

The problem presented above and the solution they offer seem like miles apart.

The number of ssh keys is likely finite in an organization. It shouldn't be hard to keep track on those.

Instead, you're supposed to integrate a complex process?

Encrypt your data, add a passphrase to the key, have admins keep record.

Does CF have little faith in admins?

comment 7y ago · link · parent

Why is the following still open then? https://gitlab.com/gitlab-org/gitlab/issues/34833

Are those not conflicting each other? Genuinely curious.

123456