News for hackers. Stuff that matters.

sambalbadjak

Re:Python with Braces on Monday July 08, 2024 @11:28AM (#40906265)
I did not know I had such a strong reaction to seeing curly braces in python. brr not my cup of tea. but all the power to you
Re:The Man Who Carried Computer Science on His Shoulders on Friday January 26, 2024 @04:01AM (#39140324)
I like Dijkstra's quote: "The question of whether machines can think is about as relevant as the question of whether submarines can swim."
I guess you'll never know :)
In the Netherlands we use Erbij, (https://erbij.app), which is now going international. full disclosure, I'm one of the founders
Re:Fairphone 5: Keeping it 10/10? on Friday December 08, 2023 @04:47AM (#38567123)
I thought that fairphone was: you buy once, and you can upgrade modules over time. But it seems that modules of newer fairphones don't necessarily fit an older fairphone. So it's more about repairable for that specific version. Which is still better than no repairability.. but I imagine you can feel quite duped still having to buy a new phone every 3 years and throwing the old one out.

Anyone with experience of having a fairphone for multiple years?

Re:Diamonds Suck on Monday November 13, 2023 @06:44AM (#38249171)
lol, I forwarded this article to my girlfriend, and she immediately responded: absolutely not!

I guess some things are not meant to be optimised. She mentioned that you can buy a lab-grown diamond for much cheaper, and keep the same shine as a "real" diamond.

that was a fun read! hope you get your fresh pizza next race
haha exactly
Re:How to Entertain with Your Pocket Calculator (1975) on Monday May 15, 2023 @07:52AM (#35946744)
123 * 456 * 789 + 28830302 = heleboel (dutch for a lot)
Re:Squeezing a sokoban game into 10 lines of Haskell on Friday February 24, 2023 @08:03AM (#34924045)
this post put a smile upon my face. a good example how someone becomes creative when limited
Re:Recursive Game of Life on Wednesday December 14, 2022 @05:56AM (#33982005)
This should be an option for a screensaver. Well made!
Re:Ask HN: Do you look angry while you work? on Wednesday November 30, 2022 @09:46AM (#33801429)
I don't know if I look angry, but I can make a lot of strange noises while programming.

What is your recommended linting setup for a Py3.10 project?

There are currently quite a few ways how to lint your Python project. Flake8, flake9 which is a fork of flake8 that supports pyproject.toml, pyflakes, pep8, black and probably many more. And they're configurable by multiple configuration files; .flake8, setup.cfg, .black, pyproject.toml.What setup would you use if you start a Python3.10 project from scratch today?

( Read More... | 1 comment | on HN )
Re:Ask HN: What is something you built but never marketed? on Sunday August 14, 2022 @10:41AM (#32459628)
https://www.erbij.app it's actually used by 30k users. But never marketed it.
if you use Jira/bitbucket, you can prefix the branche names and git commit messages with the Jira ticket number. This way git blame can quickly give you the the context of the ticket.
Re:Installing a payphone in my house on Friday June 03, 2022 @03:42AM (#31605381)
I enjoyed reading that!
Re:Ask HN: What game do you wish existed? on Wednesday May 25, 2022 @12:29PM (#31506791)
I still recall the tune of the menu.. that game is so good.

I thought Deus Ex Human Revolution got some parts right though.

Re:Ask HN: What game do you wish existed? on Wednesday May 25, 2022 @12:25PM (#31506738)
You might enjoy Valheim, it's a survival game which you can casually enter in and out.
Re:Ask HN: What game do you wish existed? on Wednesday May 25, 2022 @12:22PM (#31506706)
Yeah indeed, I'm just playing that now with my girlfriend. She normally doesn't play games, but she even enjoys it. I like how creative the developers are with everyday objects.
Re:Ask HN: What game do you wish existed? on Wednesday May 25, 2022 @12:20PM (#31506686)
I was just about to mention that, loved that map. And yes, 5/5 would play this game
I'm impressed. A serverless/internetless wiki. How would upgrading the "engine" work though? e.g implementing a search or adding code highlighting in the the wiki.

Proposal a La Scrum

I have a potential client that has a list of features and changes he wants for an existing internal app. He would like me to make a proposal.However, as: - I haven't seen this internal app - nor have I seen the code - nor do I know if this guy is going to be nit-pickymaking a proposal seems futile. A feature can take 4 hours, or 4 days, I don't know.At my normal job I just work in sprints,...

( Read More... | 1 comment | 3 points | on HN )
I created a cronjon that automatically signs me up for gym classes.
Re:Jolie: A drop-in replacement of Django Admin on Saturday February 05, 2022 @02:28PM (#30224878)
Credentials to view the preview:

username: preview password: preview

Re:My Python testing style guide (2017) on Wednesday March 24, 2021 @09:17AM (#26566776)
I'd add to that, that test should be readable. personally I prefer to use: GIVEN, WHEN, THEN as comments in the tests. Also; it's ok not to be DRY while writing tests.
Re:Meetup.com alternatives on Tuesday October 15, 2019 @03:14PM (#21262484)
I use the Dutch Erbij app to organize meetups myself - https://erbij.app

However, for browsing I still use meetup.com

Older ยป