HNHacker News
TopNewBestAskShowJobs

dr_faustus

1,141 karma · joined June 27, 2012

submissionscomments
dr_faustus··on Stanford's “Elimination of Harmful Language” Initiative
Reading that really makes you wonder what the hell (sorry if that offends some atheists or buddhists!) they are talking about in official meetings at the Stanford IT department. Gray beards? Pocahontas??? In my 20 years in IT, not once have I heard that anyone ever felt the need to discuss "hermaphrodites" in a meeting or document.
dr_faustus··on Drupal Is Dying
Spending some karma points here, but having worked with many stacks (PHP in the 90s, Java from J(2!)EE to Quarkus and also lots of RoR), the node/bun/whatever JS/TS/[10 other tools that need to be intricately combined] has always repelled me.

Just the fact, that every little piece of software typically relies on hundereds of dependencies, half of which are not maintained and readily break with every major node version has always left me completely incredulous that anyone who ever worked with a language with a half-way decent tool chain and dependency management would ever put up with such a hot mess.

I mean, sure, PHP is certainly far from elegant and to this day suffers from the fact, that it started as a minimal template language (I got into it in the PHP 2 days). Most higher level language features feel a bit bolted on. But that's just as true for JS where everything actually has to be bolted on by the developer on a daily basis (Typescript, JSX preprocessors, etc.pp.) and in terms of effort to just get going and maintaining even a project of medium complexity PHP is still running circles around the node stack.

dr_faustus··on Java 20: A Sneak Peek on the Panama FFM API
Well, you certainly can use it with just an text editor. However, due to the maturity of the language and platform, the IDE support of Java is pretty much unsurpassed and you would certainly be quite a bit more productive if you used an IDE like IDEA or Eclipse.

In terms of complexity, it really depends on what you want to do. Using a powerful framework like Spring can entail some config (albeit much less than it used to). Also you would typically use a build tool like maven or gradle to manage dependencies, build artifacts, etc.. Especially maven can be a little arcane. But another major upside of the aforementioned maturity is that there are reams of docs and stackoverflow answers which will almost certainly contain solutions for any problems you might encounter.

dr_faustus··on Blockchains, What are they good for?
Huh! Absolutely nothing!
dr_faustus··on Mastering Stratego
Call me a cynic but the fact that after almost 10 years of AI hype we are still working our way down the list of popular board games is a bit of a downer for me. I mean, having AIs to play Stratego, Risk, Go, Diplomacy and what have you against sure is nice. But there are literally billions of dollars spent on these projects and I really come to the point where I just don't believe anymore that the current AI approaches will ever generalize to the real world, even in relatively limited scopes, without the need for significant human intervention and/or monitoring. What am I missing?
dr_faustus··on Couple Died by Suicide After the DEA Shut Down Their Pain Doctor (2022)
I really feel for chronic pain patients, having suffered from chronic (however not as severe) back pain myself for many years.

However, the propensity of American doctors to prescribe heavy-duty opiods is unheard of in pretty much the rest of the world. My cousin lives in the the U.S. and has top notch health insurance. After an accident and the subsequent surgery on her leg, she was certainly in pain but as European she was completely flabbergasted that she was offered Oxi for that. She vehemently declined and basically got by with 800mg of Ibuprofen per day for two weeks.

In Europe, doctors go for opiods outside the hospital setting if and only if all other options have been completely exhausted (incl. expecting the patient to tolerate some amount of pain for a limited period of time). I think the doctine in the American health care system that patients have to be completely free of pain at all times does much more harm than good.

dr_faustus··on Windows Subsystem For Linux a.k.a. WSL 1.0.0 released
I really love the concept of WSL and it is certainly useful but the file system performance was so bad for me that i could never get it to work with projects that had 1000+ files.
dr_faustus··on Affinity 2
Serif's Affinity suite has probably the greatest value for money in the whole software industry. I mean 119 bucks ONE-TIME for three pretty comprehensive graphics apps which are polished and get constant updates is very hard to beat.

For people making their living with graphical work (designers, photographers, etc.) Adobe is probably still the way to go (even if just to keep using the muscle memory). However for the many people who only need something like Photoshop or InDesign a couple of times a year, Affinity is just great.

dr_faustus··on Europe now has so much natural gas that prices just dipped below zero
With the current weather, most electricity during the day is generated by wind and solar. So, thats not that much of a concern.
dr_faustus··on Europe now has so much natural gas that prices just dipped below zero
I really don't understand the doom and gloom wrt next year. What was obviously completely underestimated was the elasticity of consumer demand for gas. In Germany, consumers are using 25% less gas even if you account for the weather.

So with increased supply from Netherlands and Norway, even a limited amount of LNG will probably be enough to fill the storage again and compensate the missing Russian gas (which accounted for about 40% of the German gas supply.

We, too, have not switched on the gas based heating yet. Instead, we are using a mix of wood and infrared electrical heaters to keep the rooms at a bearable (albeit not overly comfortable) 19 degrees celsius.

dr_faustus··on From zero to 10M lines of Kotlin
I agree to some extent, however, IDEA often helps you with that (e.g. by converting arrays with Arrays.asList(array)). And I have to disagree: Any of them would not have been perfect. An array is sometimes significantly more performant and requires less memory than a list.

In the different collections, you see a history of 20 years of developer experience improvements coupled with an almost religious emphasis on backwards compatibility in the language and standard library.

In every (long term) JS/TS project I worked on, about 20% - 50% of the development time went into upgrading libraries and keeping everything running on the current node version. It was maddening. Stuff like the different types of collections are a very small price to pay, IMHO, if you can be sure that your current Java project will with very high probability also run on a current JVM 10 years from now.

dr_faustus··on From zero to 10M lines of Kotlin
They should switch to Perl and replace 80% of the code with punctuation
dr_faustus··on From zero to 10M lines of Kotlin
I'm currently working on a project which has both Java and Kotlin and I really have to say that I like working on the Java parts much better than on the Kotlin parts. I find coroutines a really strange and leaky abstraction (and the prevalence of suspend methods in libraries which you have to wrap all the time just to call them synchronously is really annoying).

With streams and the var keyword, Java is also not that much more verbose anymore than Kotlin and the code completion, error detection and refactoring capabilities are much better in Java. In Java I can also be sure that if I directly access a property on a class, there will be no side effects or expensive operation while if I use a getter, there might (and I dont have to write them either due to code generation or Lombok). So the parts where Java is still more verbose actually add clarity (and again, due to the IDE, you rarely have to type any of it): I dont really get why I would leave out the explicit types in the source code, only to be added again as non-editable, weirdly positioned text by the IDE (which is not there if just wanna have a quick look at the code on GitHub).

dr_faustus··on Elon Musk reportedly wants to lay off 75% of Twitter’s staff
The thought that a company like twitter, that has about 5 features anybody cares about (and pretty much had them for years) spends ONE BILLION PER QUARTER on "R&D" and operations boggles my mind. I mean, 250 people or something, I would understand (but only if there is no major outsourcing involved). But THOUSANDS of developers? How? Why?

There certainly was some effort involved to make Twitter performant if someone with 100m followers posted a tweet. But that seems to have been solved for quite some while and since the number of active users is quite stagnant, I don't see any order of magnitude changes coming which would require a lot of "R&D" on that end.

dr_faustus··on Germany pushes for ‘pay as you fly’ model
It‘s a stupid idea with all kinds of problems. What if, for some reason, your bank account is empty or your CC is over the limit at the time of departure. The transaction might fail and your flight will be canceled hours before departure. You won’t be able to book some other flight on such short notice, etc.pp..

There is a much easier fix. You give the airlines 2 weeks to refund the money. The have to refund it without any forms etc. because the damn well know who booked and paid a flight they canceled. Every day the overrun the 2 weeks, the refund is automatically increased by 5 percent. I have no doubt, 99% of refunds will be paid out after two weeks.

dr_faustus··on US Gross Domestic Product, Second Quarter 2022 (Advance Estimate)
Not if the rest of the world is at 30%…
dr_faustus··on Saudi Arabia reveals 170-km-long mirrored skyscraper to house 9M people
I really wonder if there is snake oil the Saudis haven’t bought. It will be so much fun to watch once the petro dollars dried up.
dr_faustus··on List of main JetBrains competitors [pdf]
Not too much to be afraid of, I guess....
dr_faustus··on [dead]
That someone has to come up with something like this is pretty depressing...
dr_faustus··on ‘The War on Music’ Review: Songs Without Listeners
In my opinion, it's not a really fruitful discussion. The main problem is that people seem to think that the quality of music is somehow related to the musical form which is nonsense. For the first 1600 years of the common era (the year of the first opera performance), there was no "l'art pour l'art" music in the modern sense. Major works of the time before that had no "catchy" melodies and could probaby be passed of as 20th century music, e.g. Messe de Nostre Dame by Guillaume de Machaut [1] and let's not forget that after that, 99% of the music produced for the next 300 years was mostly inconsequential just like 99% of the music produced today is inconsequential. When talking about classical music, we are talking about maybe 50 actual people that were unusually gifted. JS Bach improvised 3 voiced fugues on the spot on practically any given theme. Mozart reportedly memorized many-voiced chorals from one hearing. Beethoven composed his greatest music while being almost completely deaf.

All those greats were writing in the popular forms of their days which constantly changed. There were not that many great "pure" fugues after Bach, not that many great piano sonatas after Beethoven. So why should there be so many great symphonies or string quartets now? Every form has it's time and it's place.

There will be a couple of great composers with similar skill as the "classics" left from the 20th century but just as all the great composers before them, they will have taken the popular forms of their time and enriched them with layers upon layers of musical complexity to be discovered (and enjoyed!!) by the generations to come. I believe McCartney/Lennon will be one example of that. Maybe Radiohead. It's usually for the future generations to decide.

I noticed, one typical trait of great composers is natural skill which often means unbelievable speed and quality at the same time. Bach produced a 20 minute cantata (i.e. a 20 minute opera) EVER WEEK for YEARS (while still doing lots of other stuff). Schubert produced lieder like a machine, many of them the best of the genre. One has to contend with the fact, that there are only a couple of people in a generation with that ability and it probably cannot be taught and is to a high degree inate. As can be seen in many documentaries now, the Beatles came up with some of the musically best songs of the 20th century in hours or few days.

So lets enjoy the great works in the forms of the past and the great works in the forms of the present and lets not try to force past forms on todays audiences.

[1] https://www.youtube.com/watch?v=Y47JdUI_PhE

dr_faustus··on The Xinjiang Police Files
Ok, so: Israel has currently ~4500 Palestinians detained = < 0.1% [1]

China has about 1.8m Uygurs in internment camps = 14% [2]

I would call that a far cry.

Also, many other statistics of welfare, e.g. child mortality or GPD/capita in the West Bank and Gaza are about the same or better than in the neighboring countries (Jordan, Egypt). On the other hand, there seems to be quite substantial evidence for mass sterilizations and abortions forced on Uygurs in China. I have never heard of anything like that committed by Israel.

Again, I do believe that there are overreaches and overreactions on the Israeli side to actions by the Palestinians and there are innocent lives lost on both sides. I really hope, that they at some point manage to either live together peacefully or agree on a two state solution.

But there is a very substantial difference between that and the plight of the Uygurs.

[1] https://www.aljazeera.com/news/2022/4/17/infographic-how-man... [2] https://en.wikipedia.org/wiki/Uyghur_genocide#Inside_internm...

dr_faustus··on The Xinjiang Police Files
I also find that interesting in contrast to the constant outrage about the situation of Palestinians in Israel which certainly has many highly problematic aspects but to me still seems to be a far cry from the situation of Muslims in China or the treatment of the predominantly Muslim Chechnians by Russia. It seems to be quite hypocritical by the governments of Muslim countries.
dr_faustus··on Germany plans to build Europe's largest military
I doubt it
dr_faustus··on Germany plans to build Europe's largest military
To all those now worrying that we are on the way to a Fourth Reich! Fear not! I'm sure the money will be wasted and squandered just as it was for the last 20 years. Even though Germany was often criticized for its small spending on the military, lets not forget that due to the large GDP, the spending in absolute terms is not that meager: 50 billion Euros per year! That is only about 15-20% less than Russia.

What has it gotten us? A completely dysfunctional army with almost no working equipment. The part that is working is in large part outdated. As the Ukrainian ambassador to Germany pointed out, the Ukrainians have already destroyed more Russian tanks and armored vehicles and jets than the whole Bundeswehr currently has in working condition.

Just as in many Western militaries, the procurement is so f*ked up that most of the money is spent on the development of new weapon systems so at the end of the day, no money seems to be left to actually buy any. The US seems to compensate by just spending even more money. Germany just didn't buy anything and the soldiers are driving around in Wolfs (G wagons! Sans the louis vuitton leather seats, though) from the 70s and can hardly keep more than a handful of their jets in flying condition.

dr_faustus··on Big-box Stores could slash Emissions, save Millions – Put solar-panels on Roofs
Aldi has been doing this in Germany for a decade on all their large stores (usually free standing structures). According to them, they are CO2 neutral by now and also offer free charging for EVs during shopping.
dr_faustus··on UK rejects opening borders to Ukraine refugees
Do you really think its any different in Germany? Berlin, which right now has the most refugees arriving (edit: in Germany!), has a huge housing problem. People are just giving their spare rooms to refugees. And that is after we just "absorbed" over 1 million refugees from Syria and Afghanistan in the last 5 years. I'm sure we'll manage to do the same with 1m Ukrainian refugees. From what I hear in our city (near Frankfurt), the number of available rooms offered by private citizens are still exceeding the number of refugees by 10 to 1. That will change, but its really not that big a deal.

So, I'm pretty sure that a country with 68 million inhabitants, could easily house and feed a couple of 100k people. It does cost money, though. So...

dr_faustus··on Portugal announces immediate granting of visas for Ukrainian refugees
It’s horrible to consider this angle, but this could turn out to be a blessing for many European countries. There is a massive shortage of labour in large parts of Europe. There are large, well integrated Ukrainian minorities already in many European countries and many Ukrainians are well educated (esp. in the much needed STEM fields). So not to put Portugal down but it is certainly to some point self serving and I could actually see competition between Euro countries for those people in the medium term.
dr_faustus··on Tell HN: YouTube is banning accounts that support Ukraine
On the other hand, RT is still happily streaming on YouTube, spouting their non-sense. German viewers is not even IP blocked, even though the have lost their broadcasting license.
dr_faustus··on Ask HN: How do you deal with getting old and feeling lost?
I was in similar spot with around 30. My advice:

1.) Start dating. It might be a drag and maybe embarrassing at times, but obviously not being a loser having saved up half a mil in 10 years, you will probably find someone. Don't buy into that Hollywood "soulmate" crap. More likely than not there is already someone you know or at max someone one graph edge away which will be a perfectly fine partner for the rest of your life. So finding that person will keep you occupied for 2-5 years.

2.) Get kids. Having never imagined to be a father and now having three kids, I have to admit I always feel sorry for people who don't have kids. I have a hard time to see any relevance in a life without children anymore. This might be complete bs but certainly floats my boat. I got my "finding meaning in life" completely covered by getting those three buggers into a good position for their life. That will keep me busy for the next 15 years.

3.) Don't take your job too seriously. There is Jeff Bezos and Bill Gates and Henry Ford but for 99.99% percent of the people here on HN (me and presumably you included) what you do in your work life will not really matter for generations to come. It pays the bills, it should be interesting enough not to bore you to death, you should have colleagues that are in their majority "friend material". That's it.

I always imagine my live as a pizza with three slices: personal (some sport, watching movies with friends, reading books, etc.), family and work. Ideally, each one should be about a third of the pizza, ie. have a third of your attention and time. There are times when this is not possible but it should be the state you are striving towards.

dr_faustus··on Show HN: GravaMetrics – Powerful Dashboards made simple
I would go further and say, in a crowded space like that with some excellent free options (i'd also add https://redash.io/ to the list which is very pleasant to work with), you need to show what actually differentiates you from those free and mature solutions.
← PreviousPage 2 of 6Next →