HNHacker News
TopNewBestAskShowJobs

LordHeini

744 karma · joined March 23, 2016

submissionscomments
LordHeini··on Ugliest Airplane Ever Built Predicted the Future
Probably not.

That tube has drag like a normal airfoil but its shape is highly impractical to store stuff like batteries.

An modern flight controls can overcome basically any instability in the design and there is no reason to make any aircraft less agile.

The gains having a slightly more efficient prop at very certain airspeeds do not offset the impracticality and drag.

The "best" design is probably a flying wing with wingtip props.

LordHeini··on Eye-tracking is a missing input device for VR experiences
That is completely wrong.

For foveated rendering one could easily build dedicate hardware into the device which would require almost no additional power. And those algorithms are not that expensive to begin with. Every camera has face tracking build in (which basically is the same problem) and that does not drain the battery either.

And why should northern Europeans eyes work differently?

Even if that would be true one could add a bunch of settings for personalisation.

Eye distance for example is a common setting on dodays devices...

LordHeini··on Fork of the popular “I don't care about cookies” extension
If implemented correctly clicking "Accept" on a cookie banner will trigger the loading of the tracking scripts. Which will then set its cookies.

At least that is how i implement google analytics for example.

By not showing the button in the first place, nothing happens and no cookies are set (apart from the functional ones which are set regardless).

Other than that it really does not matter that much because if you use a plugin like this you will usually use an add blocker as well which removes the tracking.

LordHeini··on 2-in-1 calculator app adds up to surprise hit for retired engineer
Not sure if this app can do stuff like cross multiplication or run the same operations on both calculators.

But this app reminded of something similar.

There is an old school double mechanical pinwheel calculator:

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

It was probably mostly used for coordinate calculations.

I own one of those brunsvigas (the single stage one) and it is fascinating what these things can do.

A mechanical calculator with enough didits can solve cross multiplication rather easily.

LordHeini··on I Use a Chromebook
I got a smallish Chromebook which has a detachable keyboard so can be used as a Tablet as well (a Lenovo Duet).

It is somewhat slow but cheap, lightweight and the battery holds forever.

This thing is quite practical for surfing on the couch or writing the odd email while on vacation.

I would never consider this for serious work but i really like it as a sort larger smartphone with a keyboard which can run Linux applications if need be.

As a student i used one of those crappy Netbooks that thing was more expensive and (not considering the privacy issues of ChromeOs) way worse.

Those Chromebooks are fine as sort of a more capable tablet which you use alongside a "proper" Desktop/Laptop.

LordHeini··on Ask HN: I want to dive into how to make search engines
It kind of depends how in depth you want to go.

I wrote a small but somewhat complete search engine some time ago.

The steps are basically:

Have a queue with urls.

Download a page from the queue

Use a html parser to remove markup and get the links of the page. Add the links to a queue without the already visited ones.

Use a stemmer to clean up the text (porter stemmer or whatever).

Calculate an inverted index: https://en.wikipedia.org/wiki/Inverted_index

Save the stuff in an appropriate data structure (Hash or Tree).

Write a query engine for AND, OR and (all the words).

Calculate a simple page rank by counting the links to a page.

For just learning purposes it is not that hard but if you want to get all the crazy corner cases of the "real" web you will go insane.

The easy alternative:

Use a lib to crawl a page.

Plonk all the documents text into postgres with full text search or elastic search.

LordHeini··on The strength of the strong force
From what i could gather at about 10^(−15) m. Roughly the size of a Hadron.
LordHeini··on The problem with Go’s default HTTP handlers
Returning errors from a http handler is not a good idea imho.

Because http errors/responses can be too complex for the limited Golang error objects.

You usually want an appropriate error code, a body with a message or set some header.

LordHeini··on Productivity porn
I really don't get any of those "be more productive", book, video, course and so on.

Every single person I know just wastes their time with that. Usualy they work long hours and still don't get much done.

But hey, they have Zettelkasten with things the never read. A to do list with stuff they never do. And they go out in the morning at 5 for jogging, while gulping down a liter of coffe or energy drinks which results in them being groggy the whole day.

If you ever think you need to adhere to what is preached in any self improvement thing, just don't.

Habe your shit in order, avoid working mor than 7 hours day and take your weekends and vacations seriously.

Especially in IT nothing will get you further than being smartly lazy.

LordHeini··on Ask HN: Why has quality of YouTube reduced drastically?
My YouTube recommendations while being logged in are usually quite low quality. Mostly stuff already seen, some gaping mouth people and klickbait the rest stuff I don't care about.

Having a cookie for work and the private stuff while not being logged in works quite well, especially for music.

Adblock removes the Add crap and another plug in keeps the playback in the background going for music.

And I blocked the Shorts block in uBlock since that is 100 percent complete garbage.

No idea what purpose this serves seems to be some low effort Tiktok clone...

Maybe someone can develop a plug-in for vertical video, gaping mouths, click bait and lists (10 YouTube recommendations that you don't care about, number 5 will annoy you) and just dowvotes that so it does not show up in the personal recommendations anymore.

LordHeini··on [dead]
I am sitting in a hotel and apparently someone downloaded a Russian version of Photoshop :D
LordHeini··on Deutsche Bahn’s Meltdown and High-Speed Rail
Going really fast makes much less sense in Germany compared to France.

Frances population is far more centered in mayor hubs while in Germany the population is dispersed much more homogeneous.

In some places the ICE stops every 20km, there are too many curves, or it shares its rails with slower trains.

There is no need for high speed rails here because you can not accelerate anyway.

LordHeini··on Why hasn't Middle Earth had an Industrial Revolution?
I would say Middle Earth just lacks fertilizer.

That fertilizer would be needed to free a lot of people from menial field work and allow them and their children to dig for coal or toil in factories.

Imho coal is not all that necessary for an industrial revolution. To run factories, one could use water power for the textile industry for example.

And i would recommend to make charcoal out of Lóriens forests for the smelteries (which actually would be quite good due to the low sulfur content of charcoal).

LordHeini··on ‘The War on Music’ Review: Songs Without Listeners
Music being always a child of its time needs to connect to the average people in order to be popular.

The "classical" orchestra (if there is even such a thing) was the instrument of its day, nowadays the instruments changed.

Music split into a gazillion genres ranging from gabber to black metal, from jazz to hiphop and so on...

All of which have their audience.

I would assume the average christian zealot of the renaissance just connects to Bach and his strict and highly religious music. So while Bach made stupidly awesome music the people of today are just not living in the renaissance anymore.

The world being much more diverse and culturally fragmented is represented in the music as well and the "classical" music is just a fragment like everything else.

Nobody cares about the snobbish critic and their idiotic views, lots of art derided by critics became a classic and a lot they praised got forgotten.

As someone who grew up with techno i could listen to Venetian Snares or Aphex Twin all day but i think the likes of Stockhausen are just annoying and dull.

LordHeini··on Why We’re Sticking with Ruby on Rails at Gitlab
Because Rails is a good technology for a lot of use cases.

If you want to develop a simple crud style app, with user login, mail sending and all that stuff it is highly productive.

Performance is okay and certainly good enough for the average web project.

Just get rid of the weird parts like turbolinks (unnecessary and messes up a lot of js) and don't write APIs using it (can't even rename fields easily).

There are similar Frameworks in other languages and they all have pros and cons.

Imho when it comes to web frameworks there is way too much emphasis on the startup style company and the ones with huge traffic.

Companies doing grunt work style web development don't waste their time on flavor-of-the-month.js.

If you build a website for a niche company to sell odd machinery on, you have to get shit done and you will never need to scale.

That means reliable, batteries included, highly standardized and easy to use. Rails ticks those boxes really well.

LordHeini··on Play with TailwindCSS in the Browser
Yep but unfortunately the "classic" way of writing CSS does look equally awful after some time with multiple people on a larger project. The html is cleaner but the CSS becomes an awful mess.

The moment the first important! or inline stuff creeps into the page you are doomed. Utility frameworks feel a bit like giving up at the start and just rolling with it.

The major problem i see with these frameworks is that it is harder to maintain a consistent style across teams or even a few devs.

LordHeini··on Ask HN: How can I stop my inbox/wishlist/bookmarks/tabs/todos from growing?
Maybe i am weirdly unorganized, but i think TODO lists of any sort, are useless and a complete waste of time.

What do people even put on these?

A list containing miscelanous stuff like "read book x" or" visit place y" serves no purpose other than having an ever growing list of stuff you will never do.

Pocket is the first thing i throw out on an fresh Firefox install. Had no idea what purpose it serves until recently and though it to be bloatware added by Mozzilla to make a quick buck.

Never understodd the idea of something like that.

Why would i want dump of unread tabs and random crap i stumble upon to be splerched over all my devices? Makes no sense since the work tabs differ from the private one and the stuff on the phone.

If it is a random article i just read it or open it in a tab.

Every couple of days (or if the tabs annoy me) i just closeall my browser tabs and thats it.

If its work related i close the tabs belonging to that task if the task is done.

Bookmarks are used for pages i visit often (not random crap!) to help the autocompletion to do its job properly on freshly synced devices.

Why would i want to store a news article anywhere? Its outdated tomorrow. If that random article, blogpost or recipe for fried carrot soup is not ready by me today i will never read it. So why would i keep it?

Here is what i use:

I have a really dumb shopping list app for groceries on my phone. Milk emtpy? -> untic milk so i do not forget it next time i am shopping. A genereal TODO list is just overhead here.

A calendar including birthdays, some reminders for important (!) events (important like: the plane starts at 07).

For work there is some management tool for the tasks that need to be done (provided by the company for company stuff).

Contacts synced via DAV (Phone numbers and the like) i do not use Facebook, Google or anything like that (nobody should really).

People i have not met for a year or two get deleted. The random party guy gets deleted quickly if i do not think i will meet him again in the near future.

Bookmarks and Passwords are synced via Firefox (not the tabs!).

I have a collection of a few GB of music, all of which i like and have heard multiple times.

A bunch of photos, i put the the Photos i like to long term storage (an external hard drive).

The rest get auto deleted when the smartphone dies or needs a reset or i fidget with the bootloader and wipe everything.

No automatic sync via Google, Dropox or whatever (these a just giant garbage dumps).

As for emails:

I try to keep my inbox empty, not by reading, but by preventing inflow.

That means not giving mail address away willy-nilly.

That means i unsubsribe from those spam thingies every webshop has (i don't care that the Plumbus is 20% off today), i unsubsrcibe from every mailinglist, RSSand what not the moment i deliveres the slightest annoyance by wasting my time. That is, manually deleting crap i did not want to read.

My unread inbox is generally empty all the time because i just do not accept time wasting garbage there. And the garbage threshold is very very low.

That is really awesome, because i never miss the impotant messages.

Not sure what to do if you are a compulsive hoarder of data garbage.

Maybe some sort of deprecation would help. Hoarding animals have the advantage that the stuff they hoard becomes compost after some time.

If this where to be true for data, that would be quite nice because there would be an upper limit of items (dependent on the rate of influx)

But ultimately there is too much media to consume, too many places to visit and too much stuff to do in a lifetime.

Not sure why people do that i am too lazy to bother with lists.

I can understand people collecting things for a hobby. Like movies or stamps.

But never try to collect everything, collect the things you like.

LordHeini··on Iron Cycle based energy storage and generation
Using hydrogen would make no sense whatsoever since hydrogen could be stored anyway.

"fragment state" is something that does not exists.

You got a large vessel of molten iron, you pour that into a form, take the slack off and that is it.

Maybe one could use a fall tower to make small iron pellets like the ones used for making lead shot.

That would need to be done in an oxygen free environment using some inert gas.

The whole process seems quite impractical.

And something else: Pure Iron rusts quite easily so how do you store it? You can not store a large bucket full of iron pellets for your oven in a cellar.

So storage would need an enclosed container.

The whole idea is just weird.

LordHeini··on Iron Cycle based energy storage and generation
How does a process work that makes Iron from Rust using only electricity?

Conventional blast furnaces use a reducing gas or coal for the reduction.

The website has no link to anything concrete here (but mentions conventional furnaces).

And also, how on earth do you make iron dust from the iron after reducing it back from its rust state?

LordHeini··on If I see an ‘accept cookies’ banner on a website, I close it immediately
There is a simple solution:

https://www.i-dont-care-about-cookies.eu/

There are lists for adblockers as well but thats does not work as well as the plugin does.

LordHeini··on Germany has seized control of Gazprom Germania
It made sense, but it might be too late now.

The structure is rather complicated:

Afaik it works (or used to) this way:

There is Gaszprom (the Mother), Gazprom Export, Gazprom Germania and a bunch of distributors.

Gazprom sells to Gazprom Export which sells to Gazprom Germania which sells to its distributors.

This helps to evade taxes and allows for a bunch of nice management jobs to be distributed to German/Russian politicians.

The distributors pay the gas in Euro to Gazprom Germania which collects the money and sends it via Belgium to Gazprom Export.

With the Sanctions this would mean that that Gazprom Export could convert Euro to Rubles, so the Money in Belgium has been frozen.

To circumvent this Gazprom sold (or tried to) Gazprom Germania to some offshore entities out of the sanctions reach.

To hinder Gazprom to do this the German goverment tried to seize control but it might be already too late and they ended up with an empty shell.

LordHeini··on Netflix Should Sell Ads
Would it really be a benefit tough?

I would say no because:

Having all your costumers pay a monthly fixed price is the most comfortable and reliable way to earn money. Adds revenue is based on how many people see it, which is not known if have bunch of them in front of a TV, depends on the day of time, what is shown and so on...

Adds dictate what you can do. Ever heard a YouTuber say "I can't show or say this or I get demonitized"?

That would happen to Netflix too. And Netflix is an international company, showing nudity in German is not a problem. Showing violence in America is no problem but cater to both and try to sell Adds for that is going to be a mess. So it would completely destroy what Netflix is content wise, and thus lose a lot of customers. Generic bland drizzle TV that sells you Soap and other crap like cable TV? No thanks

And it is questionable if it increases revenue at all. Streaming costs money. I have a Netflix account which I seldomly use. If I where to watch add based Netflix they would earn way less from me. Maybe that is the case for the average user as well. The author does not know but the people at Netflix probably do.

LordHeini··on When Mongols Set Out to Conquer the World, There Was One Limiting Factor: Grass
I think to a large degree technology is overrated. Especially in the long run.

The knight was not beaten by gunpowder or longbows but by vast hordes of peasants with halberds.

Those peasant hordes showed up because changes in society enabled rulers to field these large armies.

In order to conduct in a long lasting war with large armies one needs a society with "backbone". The ability to lose a battle and still win a war is what makes a true great empire. Few ancients could to this, like the Roman empire, the Assyrian empire, the Mayans and so on.

Medieval Europe (where the knights ruled) was a largely fragmented bunch of small states, where a lost battle often resulted in a complete defeat.

WW1 style trench warfare emerged in the American Civil war and the Crimean war. Neither machine guns nor barbed wire where deployed in mass. Those wars where won by the ones who could hold out for longer.

Even WW2 was largely won by infantry and artillery, tanks and aircraft are way overrated.

Here are the German numbers for operation Barbarossa:

3.8 million personnel

3,350–3,795 tanks

3,030–3,072 other AFVs

2,770–5,369 aircraft

7,200–23,435 artillery pieces

17,081 mortars

600,000 horses

600,000 vehicles

There are a couple orders of magnitude between infantry and tanks.

The numbers for the attack on France look similar.

That tanks feature so prominently is due to propaganda (since those things look cool).

In modern societies, warfare is all about logistics, morale and the ability to take a punch.

Even a completely lopsided tech advantage can be negated if you survive the first few attacks.

That is one of the reasons why the Mongolians are gone but the Taliban are still there.

LordHeini··on uBlock Origin becomes top addon on Firefox
Incopabiltiy can happen incredibly fast.

One of our backends had a route called /statistics for showing application statistics to the user.

Some Adblockers with some lists block routes named like that which caused a confused bug hunt.

LordHeini··on Ask HN: Single-person creations that have stood the test of time?
Exactly.

Maybe Minecraft will be gone in 5 years because Microsoft releases a Minecraft 2.

Then it will not have stood the test of time. while the Mona Lisa and canned food is still there.

LordHeini··on Ask HN: Single-person creations that have stood the test of time?
Well i did not think about it, the name is written with k in Germany.

The Germans keep a lot of the Greek K in names where in general the latinized version with an C is used by others.

LordHeini··on Ask HN: Single-person creations that have stood the test of time?
What do you mean by test of time?

Is this applicable to Minecraft if there is Michelangelos David, or Beethovens 5th Symphony?

Or some random tech stuff like Git if all the math is run on the shoulders of the likes of Euklid?

But to add something technical:

Nicolas Appert the guy who did canning before Pasteur could explain how it worked.

LordHeini··on I Finally Installed an Ad Blocker
Firefox with uBlock Origin.
LordHeini··on Play audio only on YouTube and save bandwidth
Looking at the plugins source it seems you are right.

The video just gets replaced by the plugins text.

I am not sure if this would even save much battery if running in a tab.

LordHeini··on Play audio only on YouTube and save bandwidth
There is a Firefox extension doing the same:

https://addons.mozilla.org/en-US/firefox/addon/youtube-audio...

← PreviousPage 4 of 8Next →