HNHacker News
TopNewBestAskShowJobs

StefanWestfal

129 karma · joined July 27, 2021

submissionscomments
StefanWestfal··on Deno 1.33: Deno 2 is coming
Nice to see ongoing development and a view ahead.

For work I would need a good interface for SQL. In pet projects I am using sqlx for Rust and sqlc for Python. In both you can write SQL directly and get query validation and parsing into struct / PyDantic for free. Is there something like this for Deno?

StefanWestfal··on Massive geothermal apartment complex is going up in Brooklyn, first of its kind
From what I understand geothermal itself refers to heat of the earth (crust) while geothermal energy refers to energy generated within the earth mainly but not exclusive, nuclear decay. Calling ground heat geothermal is therefore correct, calling it geothermal energy is not. (see: https://education.nationalgeographic.org/resource/geothermal...)
StefanWestfal··on Sam Altman wants to convince billions to scan eyes to prove they aren’t bots
I am not in the loop on the tech but how secure are eyeball scans?

I remember seeing the CCC breaking "facial" recognition to unlock a phone by just taking a picture of the owner on a park bench.

StefanWestfal··on South Korea U-turns on 69-hour working week after youth backlash
Did you consider that you might not have the right contract for this type of situation? There a lot of jobs (hospitals, consultancy, ...) that do not fit the standard work agreement (08:00-17:00, 1h lunch, 40h/week). The law is strict here for the case that it turns out that your agreement was in fact not mutual and your employer expects you to work normal after your overtime phase without rewarding you for it. The german law is convoluted and can be inflexible but more often then not there are solutions. I am also not sure why you would be afraid talking about it?
StefanWestfal··on Time-restricted eating reshapes gene expression throughout the body
I tried it for some time but felt cranky in the morning until I ate at lunch time. How was your experience regarding cravings, hunger and mood changes over time when starting your fasting?
StefanWestfal··on SpaceX curbed Ukraine's use of Starlink internet for drones -company president
Another aspect is the timing, almost the same day when Russia is starting its new large offensive SpaceX curbes the use of Starlink internet for Ukrain's drones. Of course, we should not assume bad intention until proven but the timing is clumsy at best.
StefanWestfal··on BP sees biggest profit in 114 year history
I would not call it short termed but rather within the realm of possibility for BP. Oil&Gas are inelastic and with small fluctuations in supply or demand the price varies strongly. In 2020, we even saw negative prices in Ohio and last year prices >100$USD/bbl. OPEC has some room when it comes to increasing it's output, but I think BP, Shell, Equinor, etc. are already at max production. Adding more production takes a lot of time and heavy investment and has hugh payback time.
StefanWestfal··on Ask HN: How do ADHD people cope on here?
On Brave I use "StayFocused" and set a maximum time per day. For YouTube etc. there are similar tools as well. Restricting access works best for me. Also, let someone else manage your password for these tools, otherwise you just change the settings when you feel a strong urge to visit HN even when you set daily time is over.

Whit bookmarks, ideas and others, I keep track of them and once in a while filter. If I did not look at a bookmarked page in the last 3 weeks I will probably not in the future (unless it is a source for work or a hobby project). You might know this principle with items in your house.

On a side note, please be aware that the described problems can be symptoms of ADHD but are common in people without (like me) as well and are, to some degree, normal. If you look at the problem biased to ADHD you might miss underlying causes that are not ADHD related like lack of sleep or exercise, nutrition, anxiety etc. I am saying this as I spent my early 20s diagnosed with a disorder and overlooked base causes for my problems through the lens of this disorder and chasing solutions for issues that were not the route causes of my problems. I am NOT saying that ADHD is not the cause but sharing a personal experience. , and I have a relative with ADHD, so I see the struggle.

StefanWestfal··on NanoGPT
Open accessible lectures / knowledge like yours allowed many people, me included, to turn their life around by putting in the effort and develop themselves. Thank you.
StefanWestfal··on First LNG tanker arrives at Germany's new floating terminal
I would argue that the Russian invasion proved the new NATO members right. At the end of the day Russia reserved itself the right to use brute force when it sees it's own interest threatened. For a lot of countries the only chance to defend themselves if attacked by Russia was and is to join NATO.
StefanWestfal··on Migrating from Vue 2 to Svelte
Did anyone use Svelte for data intensive apps i.e. Dashboards?
StefanWestfal··on Building a High Performance Data Integration Framework in Go
Thank you for putting your time into the project!

Besides this project I like sqlc a lot but in both scenarios I was wondering how one gets started in code generation tooling? So that I could contribute, extend or even create my own (I.e. I would like to extend sqlc for better integration with FastAPI).

StefanWestfal··on Ask HN: Business case for Rust outside high performance or embedded devices?
Thank you for your input. I like Rust a lot but I am also aware that I might see in trough pink glasses. Could you make the case for Rust as i.e. a backend service due to increased correctness and thus saved time in debugging and maintenance?
StefanWestfal··on Ask HN: Business case for Rust outside high performance or embedded devices?
I am a bit sceptical when it comes to acutal adoption of Rust. On github language stats the number of PR & pushes seems to be more or less steady over time.
StefanWestfal··on Ask HN: Business case for Rust outside high performance or embedded devices?
Making a good business case is something I am still learning. Here we were wondering, from a pure software-dev point, if we could make a case for Rust, independent of the use case by trading ramp up time for time spent for debugging and maintenance. The question here if Rust really saves time down the line or not compared to other languages.
StefanWestfal··on Forecasting of energy consumption by G20 countries
Would you mind explain and source your claims?
StefanWestfal··on Ask HN: What's the next big thing that few people are talking about?
Why would you hope for suffering of millions?
StefanWestfal··on Ask HN: What is the most complex topic you understand?
Would you mind explaining a bit what you mean with understand Germany?

I am German and my girlfriend is from Brazil. We talk a lot about cultural differences and how Germans are. So I am curious.

StefanWestfal··on Ask HN: Why is Lex Fridman so successful with his “tech” podcasts?
I think he is generally open to different ideas and plays the devil's advocate even when he agrees to have meaningful conversation. The podcast is also pleasantly unexciting (personal taste) and informative. He goes to the deep questions that interest him from a technical level as well as personal (what is the meaning of life etc.).
StefanWestfal··on Ask HN: Should the option to work remote be written into the contract?
Thanks for the answer.

I am in the EU and talked and it is a small company. The CEO mentioned that some colleagues spent a lot or time in other EU countries so it seems that it is not uncommon. However there is nothing mentioned in the contract. Then again, it is a small company and things might be a bit more informal.

StefanWestfal··on Ask HN: Recommendations for good agencies for hiring remote developers?
Honeypot in Germany, Switzerland, Austria, and the Netherlands (maybe more).

That is where I am looking for a different job and friends with a company for developers.

StefanWestfal··on State of JavaScript 2021
The truth about Svelte post of Rich Harris is very much in point about Svelte. It gets out of your way and feels like HTML/JS/CSS + a few thought out features. You can use a lot of libraries without a wrapper for svelte.

https://gist.github.com/Rich-Harris/0f910048478c2a6505d1c321...

I hope it gets adoption, I would like to work with it. I like React as well and use it but Svelte straight forward in so many situations that I just enden coding instead of thinking about X different ways to solve a problem and that is where I see similarities with Go.

StefanWestfal··on Ask HN: Programming and dyslexia
Linters and types helped me a lot. When I started coding with Python and JS I introduced most Biggs due to typos or need to look up method names again and again and again ...

Now most of it is catched by tab completion, types and linting. That increased my joy of coding a lot.

Overall I like to code as you break down your intent into small statements. In high school I had to read and write long and convoluted texts and that was a pain. I made more then 25 mistakes on a single page during exames. Getting into software felt empowering as this did not matter anymore. There are still syntax errors in my code but I can fix them rather quickly without thinking to much about it.

StefanWestfal··on Ask HN: What technology is “cutting edge” in 2022?
Interesting! 2 Years ago I was reading that there is exponential growth in remote sensory data (drones and satellite due to CubeSat and decreasing cost in lunching material into space.) Do you see growth in that area or where would you get more information about it?
StefanWestfal··on Ask HN: Is Svelte lean and pragmatic or missing something?
Good point, maybe this is an issue in bigger projects. I don't have experience here yet.

Regarding debugging and errors, it feels that less code and so much features being already included, and thus out of "one hand", seem to reduce bugs for me.

Having a complier could also open doors to catch bugs at compile time.

StefanWestfal··on Young people from Brazil's favelas set out to conquer digital world
I am glad it worked for your girlfriend.

One should still not simply walk into a Favela as a tourist. I have family in Brazil (Sao Paulo) and a majority had different experiences even when being careful.

Regarding "Not wasting time and money", it goes quick. A guy on a motorbike with a gun, a car that stops and 3 people jump you etc.

I love Brazil, the people, the music, the landscape, the farova, but criminality is a problem (more then 50 000 homicides per year).

StefanWestfal··on Ask HN: Strategies to land fully remote $250k+ job
Interesting point, would you say it makes more sense to focus on adopted technologies rather then interesting ones in thier growth phase?

Concrete: I learned React a while ago but find Svelte interesting and think it has potential. I am no SWE but interested.

StefanWestfal··on The Effects of Major Retailers Raising Their Minimum Wages
Could you explain? I would assume that only a part of the increase in wages would go to rent. I live in Norway where the minimum salary is high. Rents are too but the average person has to spent less time working to pay for housing.

Do you think the hours a person needs to work to pay for housing would stay the same if the wage increase?

StefanWestfal··on Svelte Cubed
Could you explain? I am on a beginner level when it comes to FrontEnd/Web. Does it have a technical reason you feel react-three-fiber is battling against the tide?
StefanWestfal··on Why Co–Star Uses Haskell
Which languages are you using if I may ask? I was looking at Haskell and Elm and some repositories show little activity. Was the ecosystem a problem for you?
← PreviousPage 2 of 3Next →