News for hackers. Stuff that matters.

daanluttik

Wait, there are still places here in the Netherlands without gigabit fiber... Or are you just very brand-loyal to tmobile?
Re:Strict Python function parameters on Tuesday January 25, 2022 @06:17AM (#30070573)
Pydantic is great for parsing input either from api's or user input. You often want these runtime checks. But I would argue that the benefits lowers when you are not talking about cross-system interfaces
Re:Strict Python function parameters on Tuesday January 25, 2022 @06:11AM (#30070535)
If you use it in conjunction with mypy it definitely saves you from alot of real word issues. In addition, it is also an amazing way of documenting an important element of your code. And annotations van be used by modules (like pydantic) to get even more use. Improvement to anotations have been the biggest improvement in python since 3.6 imho.
Re:Structured Bible Data API in Multiple Translations on Sunday September 12, 2021 @02:14PM (#28503432)
I always feel like the counts for Christian branches provide an extremely skewed view. Since it's faily common for people to count themselves as Catholic or Orthodox simply due to their upbringing (even when they don't believe there is a God) on the other hand people who consider themselves Protestant almost exclusively don't just believe in God and the authority of the Bible but usually wont consider themselves Protestant without having made a formal choice to follow Jesus and join a church (whatever that means from within their denomination).

I think that if you only count Catholics, Orthodox and Protestants who believe in God, the authority of the Bible Protestants suddenly become a majority possibly a very large majority.

I might be wrong in this; I grew up in the Netherlands where officially we have 20% Catholics and 15% Protestants but although I live in one of the most "Catholic" places of the country I havent encountered a single Catholic that goes to church exept for on eastern and chrismas (and then they usually do it to please family, and yes I thought for a while if it is really not a single one). On the other hand everyone I encountered who calls himself a Protestant meets that more strict definition I talked about above. And Ive heard similar stories from international students in my university.

But again I might be very wrong and am definitely open to data that proves me otherwise.

Re:SQLModel – SQL Databases in FastAPI on Wednesday August 25, 2021 @09:34AM (#28301456)
I have thought about implementing exactly this concept... And I'm so greatful that you have done it instead . Love your work man!
Re:Material You – The next stage for Material Design on Wednesday May 19, 2021 @01:49PM (#27211965)
I have always preferred the cleanness of android over thr imho weird ui design of iOS. I get that people loved the hardware esthetics of iPhones over android phones but not the software esthetics. At least nog since material design started. The weirdness of ios having to put blur on everything rather than just having one clean background color. The weird need to have everything be a rounded rectangle with gradient. And Id also give android the lead in whitespace use and a slight edge in font.
Re:Observable Plot on Saturday May 08, 2021 @09:07AM (#27086798)
Id also love that
I actually like this. Id rather grab something of the shelf that has reusable react components for a quick beta than a framework has no usable components for future work
Re:Ask HN: How to balance the “No rules rules” mindset on Monday February 15, 2021 @05:56AM (#26141487)
How would you apply incentives to things like not providing (any/the propper) documentation for something you bought using the company card?

This seems to be quite easy to do for bad code; you just have them rewrite it. But especially for the things that are not a persons primary work it feels like "apply incentives better" is more easily said than done.

How is luxembourg not "in europe" by any definition?
Re:Visualizing Git Concepts with D3 on Sunday November 01, 2020 @10:35AM (#24960129)
You can do a lot with Graphviz it had bindings for many libraries.
Re:Google offers free fabbing for 130nm open-source chips on Tuesday July 07, 2020 @06:03AM (#23757464)
They created TPU's right? So somewhere inside the alphabet group they must have some expertise
Re:Applied Category Theory 2020 is coming up soon on Sunday June 28, 2020 @07:18AM (#23668056)
Sounds interesting is there already a YouTube channel that I can follow to watch the keynotes afterwards?