News for hackers. Stuff that matters.

HerrBertling

Re:Ask HN: What's Your Morning Routine? on Friday January 03, 2025 @01:45PM (#42588334)
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.

Re:Show HN: WAYF – A Simple Scheduling App on Tuesday January 30, 2024 @06:07AM (#39188682)
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.
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,…)

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.

Re:Ask HN: Why isn't Phoenix/Elixir more mainstream? on Friday September 29, 2023 @05:29PM (#37710293)
I’ve definitely seen that talk - Katelynn, right? :D
Re:Ask HN: Why isn't Phoenix/Elixir more mainstream? on Friday September 29, 2023 @01:17PM (#37707315)
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.

Re:Ask HN: Why isn't Phoenix/Elixir more mainstream? on Friday September 29, 2023 @01:07PM (#37707149)
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 :)
Re:Ask HN: Why isn't Phoenix/Elixir more mainstream? on Friday September 29, 2023 @11:45AM (#37705919)
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.
Re:Ask HN: Why isn't Phoenix/Elixir more mainstream? on Friday September 29, 2023 @11:14AM (#37705466)
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.

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

Hey all!I've been a frontend developer for years, primarily working with React and Vue, connecting them to REST or GraphQL APIs. Lately, I've been diving into Phoenix/Elixir, and I've been intrigued.From the docs and examples, Phoenix seems to offer a significant amount of built-in functionality, potentially providing a more streamlined and robust approach than the separate backend/frontend...

( Read More... | 127 comments | on HN )
Very healthy way of arguing about the world. Have a nice weekend!
That is correct, see https://www.tagesschau.de/wirtschaft/unternehmen/tesla-gruen... where it is mentioned in the third paragraph.
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…

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.
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.

Re:Ask HN: How do you use AI to get things done faster? on Thursday September 28, 2023 @08:53AM (#37688948)
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.
Re:Ask HN: Working in tech for climate? on Wednesday August 03, 2022 @09:31AM (#32331449)
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.
Re:Ask HN: Who wants to be hired? (November 2021) on Friday November 05, 2021 @08:26AM (#29118208)
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 :)

Re:The World of Statecharts on Tuesday December 24, 2019 @06:59AM (#21871423)
Oh, that would be awesome! I’m very interested as well :)
Re:Reporting on the State of the Climate in 2018 on Monday August 12, 2019 @03:56PM (#20679294)
Oh, thank you! Sounds great!
Re:Reporting on the State of the Climate in 2018 on Monday August 12, 2019 @02:39PM (#20678456)
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”
Re:Ask HN: The most useful Mac keyboard shortcuts? on Saturday August 10, 2019 @02:40AM (#20660569)
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 :)