HNHacker News
TopNewBestAskShowJobs

NAR8789

495 karma · joined October 17, 2016

submissionscomments
NAR8789··on Debian is at the heart of the most successful Linux distros
Yes, and Debian provides those, backporting where necessary.
NAR8789··on We are pleased to announce that DreamBerd has been renamed to C
ohhh I get it now. dreamberd:C::twitter:X
NAR8789··on Make Your Renders Unnecessarily Complicated by Modeling a Film Camera in Blender [video]
Renders looking too small reminds me of this article: https://aaronhertzmann.com/2022/02/28/how-does-perspective-w...

Maybe you're looking for something like "Natural Perspective"?

NAR8789··on Show HN: Obsidian Canvas – An infinite space for your ideas
https://alternativeto.net/software/alternativeto/
NAR8789··on Ask HN: What piece of code/codebase blew your mind when you saw it?
Because it only takes log(n) digits to represent n.

9 is 1 digit, takes 9 steps.

99 is 2 digits, takes 99 steps.

999 is 3 digits, takes 999 steps.

An input d decimal digits long takes O(10^d) steps.

The runtime is exponential in the "size of the input", because the size of the input is usually taken to be the length of the binary or decimal representation of the number rather than the magnitude of the number.

NAR8789··on Mega says it can’t decrypt your files. New POC exploit shows otherwise
This is sloppy summarizing by ars. In a real attack tampered logins need not show up as failures.

From the original article https://mega-awry.io/ (emphasis mine):

> Since the server code is not published, we cannot implement a Proof-of-Concept (PoC) in which the adversary actually controls MEGA. Instead, we implemented a MitM attack by installing a bogus TLS root certificate on the victim.

> ...

> The log in attempt fails, which is only a limitation of the MitM setting. A malicious cloud provider can perform this attack without the user noticing.

NAR8789··on Useless Use of "dd" (2015)
What do you do if you need to unambiguously refer to cat-as-in-feline?
NAR8789··on How to Multiply Roman Numerals
Hm! I've come across this as "Russian Peasant Multiplication" https://www.wikihow.com/Multiply-Using-the-Russian-Peasant-M...

Easier to digest I think to break TFA into two conceptual pieces

1. the representational complexities of roman numerals (remember not to use prefix notation; what does each character mean)

2. the actual meat of the multiplication algorithm (russian peasant method)

NAR8789··on Show HN: gq – like jq or zq, but you use Go
oneliners are generally nicer for fast data exploration than one-off scripts. With a oneliner I can get started instantly, and build incrementally. With a one-off script my first step is boilerplate input handling.

Maybe a nice middle ground would be for more language runtimes to have an equivalent to perl's `-p` flag. https://perldoc.perl.org/perlrun#-p

This flag is so convenient that I mostly use `perl -pe` instead of `sed` for regex search-and-replace.

NAR8789··on The swimming of a dead fish (2018)
The fish is not merely holding position--it's actually accelerating upstream!

Reminds me of this Tadashi video: [How do fish swim so quickly?] https://www.youtube.com/watch?v=wYDh5d9pfu8

Tadashi shows that fish turn drag into thrust by swapping the positions of the vortices they shed. Low effort, high output.

TFA takes this one step further--fish bodies are shaped to effortlessly harvest thrust from drag. No effort, free energy!

NAR8789··on I didn't return my Apple Studio Display
> for video conferences it makes every person sound like James Earl Jones.

I think there's a typo here. This should go in the "Pros" section

NAR8789··on Show HN: EnvKey 2.0 – End-To-End Encrypted Environments (now open source)
Will take a look, thanks!
NAR8789··on Show HN: EnvKey 2.0 – End-To-End Encrypted Environments (now open source)
Any plans for SOC or ISO27001 certification?
NAR8789··on Show HN: Search Engine for Blogs
Ah, glad to hear it's not in conflict after all! Thanks for clarifying.

As to the source of my confusion... I think I was skimming and about to turn back to work and not thinking too deeply.

At the time I wrote that edit I had just gotten as far as "pagerank values links whereas marketrank values upvotes" (heavily paraphrased interpretation of 2.1 here: https://dkb.io/post/market-rank). My reaction was "oh, maybe that means links are bad... that's an interesting perspective but I don't have time to digest it right this moment. I'll put a pin in it and return to this article later to better understand, and hey I should add an edit to my comment to signal reading comprehension."

That last thought seems pretty ironic in retrospect.

NAR8789··on Show HN: Search Engine for Blogs
I dig this! Since you're full-text indexing blogs with an eye towards content discovery, can I tempt you towards building out a reverse link index function to enable me to browse by thread?

My use case: often times blogs will respond to other blogs, linking to the original post in the process. The nature of linking means it's very easy to follow threads backwards in time, but given the original post it's often hard to discover the responses and ongoing conversation to follow things downstream. I'd like that downstream browsing to be easier.

My hope would be that such a tool could unlock higher-quality discourse. As a reader, this would let me hijack my natural tendency to follow comment threads, and redirect that attention towards slower-paced, more nuanced, more focused writing.

Edit: hmmm... though looking further, maybe this goes against your MarketRank philosophy.

NAR8789··on A better way to divide the pie
This reminds me of how I used to split rents with my roommates: Identify surplus value, and split that value evenly.

0. Given a prospective rental house. (And therefore a known set of rooms and a known total rent)

1. Each person "bids" by pricing every room in the house. Goal: each person should be looking for "break-even" pricing. Try to price such that all the rooms feel "equally good" at your given prices.

2. Just one restriction on the pricing: each bidder's room-prices must sum to the house's monthly rent.

3. Reveal all bids.

4. Choose the room-assignment that yields the highest total price. Because of the restriction in [2], we're guaranteed a surplus over the true total rent. (Unless everyone somehow put in identical bids)

5. Split the surplus evenly. Everyone gets a room at the price they bid for that room, minus 1/nth of the surplus. Effectively, everyone gets an identical surprise discount.

We lived together for over 10 years, through 5 different rentals. We split up when it came time to start families and buy houses.

NAR8789··on The Line of Death (2017)
It really bugs me that browsers allow popups to decide whether the top bars get shown. In firefox you can work around this: set `browser.link.open_newwindow.restriction = 0` and force everything to open in tabs. https://kb.mozillazine.org/Browser.link.open_newwindow.restr...

It bugs me further that browsers don't let me decide whether the top bars get shown. Sometimes it'd be really nice to toggle off all the browser chrome and just have a true full-window view of a page (Full-window, not full-screen: in particular if I'm opening multiple pages and tiling them vertically, all that browser chrome starts taking up a lot of space really quickly).

Dear browsers: this is hopelessly backwards! Websites should never be allowed control my browserchrome. I should always be in control my browserchrome. Given that this is already configurable per-window, put that switch solidly in my hands!

NAR8789··on ThinkComposer. Flowcharts, Concept Maps, Mind Maps, Diagrams and Models
So an engineer, a physicist, and a mathematician move in to a new place together.

Their first night, a fire starts in the house. The engineer wakes up, sees it, douses it in buckets of water, puts it out, and goes to sleep.

The second night, another fire starts. This time, the physicist wakes up, sees it, calculates exactly how much water to use to put out the fire, pours exactly that much water on the fire (plus or minus experimental margin of error), puts it out, and goes to sleep.

The third night they decide to search for fires before bed.

The engineer does a quick sweep of the house, convinces themself there are no fires, and goes to sleep.

The physicist searches a while longer, convinces themself there are no fires, goes to sleep.

The mathematician searches and searches, but can't prove there are no fires, and so can't go to sleep. After some thought, they set their own fire and go to sleep, thus reducing it to an already solved problem!

NAR8789··on Epic Games acquires Bandcamp
Why prefer a third-party article rather than the original announcement? Presumably for neutrality? My gut instinct is to prefer the original announcement because it seems more of a primary source. How do you weight primariness vs neutrality?

I respect your long experience moderating HN, so asking mostly with the intent enrich my own intuition. Not a rhetorical question.

NAR8789··on The Rain System “contains wildfires within 10 minutes of ignition”
That sounds like a scene straight out of factorio. I'm not sure whether that's delightful or concerning.
NAR8789··on Lisp in Production: an interview with the guys behind Nyxt Browser [video]
> integration with org-roam

looks like someone has already implemented this: https://www.reddit.com/r/emacs/comments/orgzoc/org_roam_and_...

I'm curious to try it but I'm not well-enough versed with nyxt yet

NAR8789··on New lightweight material is stronger than steel
> Such a material could be used as a lightweight, durable coating for car parts or cell phones, or as a building material for bridges or other structures, says Michael Strano, the Carbon P. Dubbs Professor of Chemical Engineering at MIT and the senior author of the new study.

Anyone else get immediately sidetracked by how metal the name "Carbon P. Dubbs" is? (and how unexpectedly apropos it is to chemical engineering?)

https://digging-history.com/2016/01/18/tombstone-tuesday-car...

Apparently his full name was "Carbon Petroleum Dubbs" and the relation to chemical engineering isn't really coincidental.

NAR8789··on Ten years against division of labor in software
Precisely. Team Topologies strongly advocates the "Inverse Conway Maneuver", where you shape your team and communications structures towards your desired architecture.
NAR8789··on Ten years against division of labor in software
It's interesting to contrast this against the concepts in Team Topologies (https://teamtopologies.com/)

- Kartik argues for better mutual understanding and additional communication

- Team Topologies states you should match system boundaries to team boundaries, specifically when cognitive and/or communications load have grown unmanageable due to team size and/or software complexity

On the surface, Kartik is arguing against abstractions and Team Topologies is arguing for abstractions, but both stances feel valid to me. It feels like there's a spectrum of tradeoffs here. Is this essentially an analogue to the tradeoffs of monolith vs services?

- For small teams, by all means keep abstractions low and communication high--monolithic systems and less division of labor is ideal and your team will gel better for it. Your team is probably not large enough to warrant either services or division of labor, so stick with the monolith.

- As an organization scales, you end up with an n^2 communication edges problem, and at this point division of labor is necessary to limit the cognitive and communications loads.

NAR8789··on Ask HN: Backlink lookup tool for community discovery purposes?
Ahh, "backlink" was the terminology I needed-- found one that's working ok for my purposes so far... https://ahrefs.com/backlink-checker

EDIT: on closer examination, not sufficient... fails to turn up expected backlinks in many cases.

NAR8789··on Awesome Functional Programming
Ah, I hadn't thought about it from the publishing side. That makes sense. Easier to break into as an unknown writer than google rankings.
NAR8789··on Awesome Functional Programming
Perfect! I just so happen to be learning common lisp right now. Will give that a try and see if I get more mileage out of that example.
NAR8789··on Awesome Functional Programming
Stupid question: how do folks generally use awesome lists?

I think it's neat they exist, but they don't really live up to the "curated" promise in my mind. Mostly they seem to be a grab bag of everything under a topic, and it's left to the reader to sort through. As such they've never come to mind when I'm actually researching anything.

NAR8789··on Show HN: Make better food choices when grocery shopping
It's a "naturally occuring" source of nitrates and/or nitrites, used in meat curing (think ham or hot dogs or beef jerky or bacon).

1. Good: Nitrites produce that pink color and particular salty flavor.

2. Good: Nitrites suppress bacteria growth.

3. Bad but outdated? In large enough quantities, nitrites will kill you. I seem to recall this being the main issue, but a quick google now mostly turns up the next point:

4. Bad: Nitrites also produce nitrosamines, which may be carcinogenic [citation needed].

5. Mitigation?: According to wikipedia, "The production of carcinogenic nitrosamines may be inhibited by the use of the antioxidants vitamin C and the alpha-tocopherol form of vitamin E during curing."

People are worried about some combination of [3] and [4], and so some meat producers use variations of "(dehydrated|fermented|cultured) celery (juice|extract|salt)" in the ingredients lists instead of directly listing nitrites as chemical names.

The counterreaction is to be suspicious of odd celery ingredients.

Since nitrites are essentially synonymous with cured meat though (must be used to prevent spoilage, no available substitute as far as I know, but also no significant other usages as far as I know), I'm not sure you actually need to go to the ingredients list here. Rather than memorizing synonyms for nitrites, I'd say a better rule of thumb is probably:

worried about nitrites ? stop eating cured meats : don't worry about it

EDIT: I just thought of another place they exist: celery salt. So, if you're worried about cured meats, also avoid the celery salt.

NAR8789··on Launch HN: Joon (YC W22) – A mobile game that teaches kids to build good habits
> the earliest incarnation of the software was a prototype Kevin wrote while in college, to motivate himself to do things like get enough sleep.

Did this work? Is Kevin still getting enough sleep nowadays?

← PreviousPage 2 of 3Next →