HNHacker News
TopNewBestAskShowJobs

Bromeo

351 karma · joined August 30, 2021

submissionscomments
Bromeo··on Driverless robotaxi fleet paralyzed for hours in San Francisco
> so 2/3 for them I suppose

In Zürich, a monthly city ticket is around $50, and a monthly country wide public transport ticket is $340 (and really gets you almost everywhere). Annual tickets are slightly cheaper.

I would argue while not "very cheap", the prices are still reasonably cheap, especially when compared to reoccurring car costs.

Bromeo··on Vim 9.0
Having gone from a stock vim to a highly modified vim and back again, here are some plugins that I find really boost my productivity:

- neoterm, for opening a REPL in a split buffer and quickly sending chunks of lines to the REPL (https://github.com/kassio/neoterm)

- fzf for faster buffer and file navigation (https://github.com/junegunn/fzf.vim)

- vim fugitive for good git integration (https://github.com/tpope/vim-fugitive)

- some other tpope plugins (surround, unimpared, commentary, vinegar)

Bromeo··on Rust 1.62.0
From the docstring for total_cmp

`bois.sort_by(|a, b| a.weight.total_cmp(&b.weight));`

So yes, but you were already able to use `partial_cmp` before.

Bromeo··on Ask HN: Can you both take climate change seriously and against nuclear energy?
> 2) a cost effective mechanism for smoothing over wind and solar's inconsistency.

> Coal and natural gas are incredibly effective in these respects. [...] Nuclear power is a drop in replacement for these attributes that can supplement renewables in a low emission way today.

If I understand you right, you're saying that nuclear would be a feasible "drop-in" solution for coal/gas to solve the inconsistency problem of renewables. This is precisely /not/ the case, as nuclear power plants are extremely slow to adapt to sudden changes in the power grid (to get a feeling, a short research suggests that the shutdown time for a Pressurized Water Reactor, common e.g. in France, is about 90h [1]). Since crucially nuclear power cannot address the shortcomings of renewables, you still need a way to deal with high-frequency supply/demand changes (gas/coal/hydrogen/batteries/connected grid). Then you can decide whether you prefer covering the baseline with nuclear or renewables.

You can choose to use both, but you could also argue that why bother with nuclear in the first place if you can "usually" cover all your needs with renewables + some dynamic technology and then cover the gaps (no wind no sun) by maxing out your dynamic technologies. This might have high CO2 emissions in the moment, but is still amortized small.

Finally, electricitymap.org[2] gives a great overview of how the energy is composed in different countries.

[1]: https://patents.google.com/patent/US6944254B2/en

[2]: https://app.electricitymap.org/zone/DE

Bromeo··on What happened to the lab-leak hypothesis?
I assume the DARPA leak is this thread: https://news.ycombinator.com/item?id=28644428

~700pts, ~450 comments, with the source published 23. September 2021.

Bromeo··on Straight.el: next-gen, purely functional package manager for the Emacs hacker
Doom emacs[1] also uses straight.el and has been a pleasure to use for the most part.

[1]: https://github.com/doomemacs/doomemacs

Bromeo··on Beginner's Series to Rust
Many people are rightfully recommending Rust and Go, so I'll weigh in under what circumstances you should learn Julia.

If you regularly find yourself solving problems with Matlab, numpy/torch/pandas or R, you'll be delighted to learn Julia. R and Matlab were great at the time, but really show their age. Python was never meant to be fast, so all the algorithms are in C/C++, making them very hard to inspect, modify or build upon. Julia excels at bridging the gap between high-performance numerical algorithms, great composability through it's type system, and a great syntax for vectorized programming, which makes it straightforward to inspect and change code for very complicated algorithms. For instance, check out Octavian.jl for a pure-julia (fast) alternative to BLAS - or try reading the DataFrames.jl source code (and compare it to the source code of pandas).

Note also that the mentioned applications go beyond data science into general machine learning (+deep learning), simulation science, optimal control, decision making under uncertainty, and many other fields leveraging custom numerical algorithms.

BUT, Julia is (imo) only worth learning if you need to write sophisticated numerical algorithms. If you're more of a systems level programmer, web dev, etc, you might not appreciate what sets Julia apart. Julia and Rust target somewhat different niches, with Rust being much more aimed at developing applications with many interacting components that may not fail. Go doesn't really target numerical programming at all and is instead great for multiple-instruction-single-data (MISD) applications (as opposed to SIMD applications like matrix multiplication).

Bromeo··on The Documentation Triangle, or, why code isn't self documenting
This is fine if you're the only person to ever touch this code. But if other people will modify the code you can generally not rely on them following your idea of "good habits"; therefore it's sensible to help them not shoot themselves in the foot.
Bromeo··on Mnist Demo Compiled On-the-Fly to WebAssembly in the Browser
It is "compiled on the fly", including (hardware specific?) optimizations, which can take some time.
Bromeo··on Nuclear is back on the table for a green future
I don't disagree with your main point, but what's the point of making a nature preserve in an already uninhabited area? Since it's uninhabited right now the animals are probably doing just fine. Also, power plants (of any kind) need heavy machinery for construction as well as regular maintenance.
Bromeo··on Millions of electric cars are coming. What happens to all the dead batteries?
Currently, launching one kg of payload into orbit with SpaceX's Falcon 9 costs around 2400$/kg. Even after a 10x reduction, this will not be a economical viable for garbage/battery disposal. Note however that Musk had apparently said he's aiming for 20$/kg - take that as you wish. Even then, I'm not sure whether it's economically feasible.

In terms of slingshot or catapult type constructions, I recall that the main hurdle is that the payload usually doesn't survive the huge forces applied during the acceleration phase and rips apart. You have to accelerate the payload to about 40'000km/h for it to escape Earth's orbit.

Bromeo··on 9-Euro-Ticket
Coming from Aachen and now living in California, I hope you had a good time! I think Aachen already has a quite "cute city" vibe to it, and there's many nice places to reach within a few hours, like Cologne, Düsseldorf, Bonn, and even parts of the Netherlands and Belgium!
Bromeo··on Show HN: Fruits – Sell digital products via your website, newsletter, etc
Sounds like a good idea. The "advertising" can be done in so many other ways on other platforms - I like that you only try to do one thing and do that well.
Bromeo··on Software Engineering at Google (2020) [pdf]
There's a TLDR at the end of every chapter.
Bromeo··on Online subscriptions to The Economist cost twice as much in NZ as the US. Why?
The Economist has a decently large section on European news (being a UK newspaper) as compared to eg the NYTimes. One could argue that therefore the relative "value" is higher for a European than for a US citizen, and they might therefore be willing to pay different prices.

This hypothesis doesn't explain why it's expensive in New Zealand though ...

Bromeo··on The counterintuitive rise of Python in scientific computing (2020)
Julia advertises itself as solving the "two-language problem". This assumes that people first write exploratory code in python or something similar, and then rewrite it in Fortran etc. So in this scenario, Julia takes marketshare from both.

Personally, I find that many Fortran codes are still used because they have been build for many years, and they can't be rewritten easily. On the other hand, new data science projects start all the time, and the transition to Julia is easy (and worth it in my opinion). That means that in my experience, Julia is mostly competing for marketshare with NumPy/SciPy/SKLearn/Pandas/R/Matlab.

Bromeo··on A better way to divide the pie
Without knowing much about the field, intuitively this seems reasonable. More potential return on your money generally means taking a higher risk (more volatile stock = more potential returns). The higher risk here means loosing a higher percentage of your investment (in fact >100%).
Bromeo··on I think US college education is nearer to collapsing than it appears
While this criticism is true for non-EU / EFTA citizens, every citizen from an EU country can freely work in Germany (or any other EU country).
Bromeo··on I think US college education is nearer to collapsing than it appears
Germany has three “tiers” of secondary education, of which only finishing the highest will qualify you for university admission. The rationale is that not everybody benefits from learning latin or higher mathematics, when instead a focus on more trade-related skills might benefit you much more in your further career. For late-bloomers, which might suffer under this system, it is still possible to progress from Hauptschule to Realschule and finally Gymnasium and university, without significant financial means necessary (besides cost of living).

Also, the average attendance for Hauptschule is <10% [1]. Wouldn’t you agree that at least 10% of kids would benefit from having an education experience more tailored to their needs instead of building resentment for education by being forced to sit through terribly boring lessons with the nerds knowing the answer for everything?

[1]: https://de.wikipedia.org/wiki/Schulsystem_in_Deutschland#Sch...

Bromeo··on Show HN: vimmer.io is an interactive course for Vim with a real embedded editor
Especially since going through the website they seem to be covering not much more than vimtutor, but for a hefty 30-50$ price and probably with a worse experience.
Bromeo··on Enthusiastically Rehiring
He's saying he can tell you yes or no within 15 seconds if a rehire was on the table.
Bromeo··on Ask HN: How to Learn to Type Faster?
I think even highly skilled typists usually don't exceed 130wpm or so, except for competitive typists that are copying texts. Maybe changing your writing style could give better gains?
Bromeo··on Ask HN: How to Learn to Type Faster?
One caveat that I found: I practiced typing on workman for about a week, and was able to type regular sentences at okay speeds (maybe 30wpm vs 100wpm on qwerty). But then it dawned on me that I would have to relearn all vim, vscode, and window manager shortcuts too. Especially the vim shortcuts really hurt a lot (navigation keys are pretty random), and so I stayed with qwerty.
Bromeo··on Why is LinkedIn so cringe?
The best is when the prompt is something like: "Who would you go to for a question about /mathematics/" and then shows me four people who all have a PhD related to math and science...
Bromeo··on Ask HN: What technology is “cutting edge” in 2022?
This seems to get downvoted a lot, and I don't know why. Regardless of whether you think this is a good/useful idea, it's certainly leveraging technology (and scientific knowledge) that has only become available recently.
Bromeo··on Ask HN: What technology is “cutting edge” in 2022?
From their about page:

> "Whether it’s your drug sales, IRS fraud earnings, or stacks of gold bars you purchased with stolen credit cards; money matters to us all. Rather than relying on straight edge normie crypto - with their fees, delays, and anti-fraud risk - we stand for blockchain without limits. That’s why we support DarkBlockchain, a global digital cloud currency that only you can control on the dark web. Find out more..."

Maybe it is high tech, I don't know, but all I was thinking is wtf

Bromeo··on Ask HN: What technology is “cutting edge” in 2022?
What about this is high tech? These things are nice, but all systems I know are basically just text files with links between them, no? I'm thinking of roam, org-roam, etc
Bromeo··on Is Reddit going all in on Web3?
Hiring a small pilot team is not the same as going "all in".
Bromeo··on Women's health at risk due to rise in meat-free diets, scientist says
Quite a misleading, borderline clickbait-ey title imo.

The first paragraph:

> Young women who consume little to no red meat and dairy are at risk of developing vitamin deficiencies that could lead to health problems later in life, a scientist has said.

Besides that no study is cited and the scientist might be taken out of context, the claim refers to women in a specific age-range that eat neither (red) meat, nor consume any fish, dairy or supplements.

A more fitting title: "Scientist says your health might be at risk if you don't have a balanced diet including your necessary nutrients.", but nobody would click on that.

HN guidelines:

> Otherwise please use the original title, unless it is misleading or linkbait

Bromeo··on Ask HN: Which games do you recommend to improve thinking and reasoning?
One of the most fun board games I've played, but it does take a while and requires like five players or so.
← PreviousPage 2 of 3Next →