Better HN
topnewbestaskshowjobs
Log inSign up

HerrBertling

49 karma · joined Sep 9, 2014 (12y ago) · 23 submissions

Submissions

comment 1y ago · link · parent

41. Get up at 6:15-6:30. Take 15-20 minutes to wake up, brush teeth, toilet, drink some water. Put on workout clothes, do either 45 minute run outside (no matter the weather) or 20 minute kettlebell workout. Meditate for 10 minutes if time permits. Take a cold shower. Wake up wife + daughter if they aren’t awake yet. Prepare daughter for kindergarten, eat something in between. Start work after getting her to the kindergarten.

I just know I‘ll have a better day if I can slot in workout, meditation and cold shower.

comment 2y ago · link · parent

Looks great. Tiny UX nitpick: The light/dark mode switch can be simplified. I am in one of those states already so this is basically a toggle. No need to show two options in a modal.

comment 3y ago · link · parent

I like datalist quite a bit for „poor man‘s autocomplete“ - you can dynamically fill it via JS and will get the suggestions shown in the completion fields above the keyboard on mobile and… well, something (?) on desktop. Not as nice as an autocomplete, but with way less issues re accessibility etc.

Edit: Forgot two things:

- You can disable the `fieldset` attribute to disable all inputs within. So properly nest your forms and you‘ll have a simpler way of controlling forms.

- Buttons can have a `value` attribute which works great to differentiate between various action paths for e.g. list items (delete, edit,…)

comment 3y ago · link · parent

Last thing I built is using SST for some lightweight recurring TypeScript lambda functions + DynamoDB for data storage. Plus a very simple one-page Remix + TailwindCSS frontend because deployment of that through SST is a breeze as well. It is the stuff I know and can easily handle.

For anything new, I'd try Phoenix to see what I can achieve with Elixir and a non-React/Vue frontend.

comment 3y ago · link · parent

I’ve definitely seen that talk - Katelynn, right? :D

comment 3y ago · link · parent

Thanks for the great reply, really appreciate it. I found the basic setup to be quite straightforward – using zsh which seems like a lucky choice now :D

I'm currently working on a backoffice software. You can do that with literally any language/framework. But as you mentioned, adding near-instant sync for different users would simply be a breeze compared to any backend with a React-ish frontend from what I saw so far. And I can totally see affordances for such a type of software going into this direction.

comment 3y ago · link · parent

Oh wow. I did not expect this question to gather THAT much feedback, but I absolutely did not expect you showing up in the comments. Thanks for your work – it brought me to appreciate the functional programming viewpoint even with a first few steps into the language. It is a way different viewpoint compared to what I see in my daily work and will surely influence how I code in the future :)

comment 3y ago · link · parent

Since I’m coming from the FE side - that’s exactly what is bothering me. I feel like Remix is a good step into the right direction, baking a backend-ish part of the stack into the FE. And crossing the networking gap in an elegant way. I see the same in Phoenix. Well, I guess I’ll fiddle with it for a bit and see if I can even handle the stack at all.

comment 3y ago · link · parent

Really appreciate your focus on economic reasons. That indeed makes a lot of sense.

I guess the gamble to use Elixir/Phoenix only pays off in certain circumstances and if your business grows in such a way that you can simply afford to hire more expensive devs in later stages of the journey.

10.

Ask HN: Why isn't Phoenix/Elixir more mainstream?

91 points · by HerrBertling · 3y ago · 127 comments

comment 3y ago · link · parent

Very healthy way of arguing about the world. Have a nice weekend!

comment 3y ago · link · parent

That is correct, see https://www.tagesschau.de/wirtschaft/unternehmen/tesla-gruen... where it is mentioned in the third paragraph.

comment 3y ago · link · parent

The tagesschau.de article cites a paywalled article by the privately owned magazine "Stern" as source of all of this. Just saying.

Edit: Also, the main source of the reporting is the actual Amt (state office) that keeps track of workspace safety. Not that much wiggle room for truth/lies if you ask me…

comment 3y ago · link · parent

There is a lower bound, see my comment. Three days out or more (or death, that is…) needs to be reported, anything below does not.

comment 3y ago · link · parent

Loose translation from the article on tagesschau.de for clarification:

> In Germany, work accidents need to be reported if the person injured died in the process or cannot work for more than three days.

(https://www.tagesschau.de/wirtschaft/unternehmen/tesla-gruen...)

So nope, not band-aid accidents. Actual people being injured in such a way that they need at least three days off.

comment 3y ago · link · parent

It's small things and reassuring myself, most of the time. Sometimes I let it scaffold basic tests for React components ("assume a working Jest testing setup, use @testing-library/react" does quite some work there). Sometimes I have some logical conditions where it takes me a minute more than expected to make sure I get the logic. I'll have ChatGPT explain what that code does, just to make sure I'm not running into some stupid errors my caffeine-lacking brain produced.

comment 4y ago · link · parent

I‘ll make the switch to working for a company in the solar energy space soon. Found it through climatebase.org, a huge job board for anything in the broad space. There are quite some companies in need of good software engineers. Are all of them doing „the right thing“™? Probably not. Is this huge problem with so many smaller things to solve worth taking a shot at? Sure. This needs all hands on deck, so begin the search, apply and learn on the way.

comment 5y ago · link · parent

Location: Hamburg, Germany

Remote: Yes, please.

Willing to relocate: No.

Technologies: Vue, React, JS/TS, serverless stuff

Résumé/CV: https://herrsiering.de/next

Email: weshouldtalk{at}herrsiering.de

The CV link above explains what I‘m looking for pretty well, so please check that before contacting me :)

comment 6y ago · link · parent

Oh, that would be awesome! I’m very interested as well :)

comment 7y ago · link · parent

Oh, thank you! Sounds great!

comment 7y ago · link · parent

Does anyone think we can solve this? Or is all hope gone? By now I’m at a point where I try to come up with a good explanation for my daughter once she’s old enough about how/why we all didn’t give a shit about climate change “back then”

comment 7y ago · link · parent

Late to the party: CMD + L selects the URL of your tab. Comes in quite handy for sending URLs to people. CMD + L => CMD + C => done :)