Hacker News new | past | comments | ask | show | jobs | submit | krstffr's comments login

I do not think that book is a good suggestion for good or readable code, and also there is this (which in many situations will not matter, but still): https://www.computerenhance.com/p/clean-code-horrible-perfor...

Someone who does writes quite clean code is in my opinion Tsoding: https://www.youtube.com/@TsodingDaily Strongly recommend his YouTube channel!


Since there are no namespaces in C one kind of weird advantage of this is that raylib will stay out of your own (proper) namespace :)


Don't miss the opportunity to add in some of those fancy SIMD instructions as well somehow!


Hi, looks super cool!

Just some quick feedback from the first things I tried in the app (which did not work). It has to do with currency conversion: https://user-images.githubusercontent.com/93975/191202587-9b...


Ahh interesting thanks for letting me know - I'll look to get that fixed in the next version!


A bit sad as the thing that made me decide to not even try their app (which looked cool!) was the abysmal performance (in FF).


When starting my freelance career back in 2012 I had a pretty simple idea on how to track time using only google calendar and this tiny web app I wrote. Used it literally every workday since then, and even got a colleague (another freelancer) to use it with the quote “the first time tracker to ever work for me, and I’ve tried a lot!”. He is still using it last time I checked.

So I guess it is actually used by one more person than me!


I'm generally eager to share what I make, and have written quite a few open source tools. It's gratifying to polish up a piece of software to a high standard ...

But deliberately not sharing your creation, keeping things idiosyncratic and a bit chaotic also has it's charm :) The bliss of knowing that you don't have to worry about code quality or users asking for new features!

I wrote some simple tools, e.g. a note-taking app, and scripts to organize photo's. I also wrote a time tracker :) but I open sourced that one (it's called timetagger).


Thanks for the story. Can you share a link, please? I've tried a bunch, too, and not fully satisfied.


"A real-working phone for a real adult desk"


This happened to me as well, so sad! I fell your pain.


It is also absolutley filled with the n-word (at least my Swedish edition from the 90's), which always makes for an interesting challenge having to censor and come up with alternative words as you go.


I found this, where a parent edits out the word in an audioplay version: https://koneensaatio.fi/en/when-pippi-said-the-n-word/

> I mentioned the situation later to a colleague, who said that the same problem had come up in the family, but they had tackled it with a practical solution. Working with sound, this colleague processed the audiobook with editing software to find out whether the N-words could be cut out smoothly. That being done successfully, the children could then listen to the edited version. The problem was solved.

I like this part:

> “For my daughter, Pippi is a really empowering character, so I can’t just not read the book, because censorship would only make her more interested. So I edit the text while reading it,” he says.


Yeah, it's a really awesome book and censoring the language as you go isn't that hard really!


I know it's not that much better, but it's not the actual n-word right?


I'm Danish so i only know the Danish version but I think it's the same word as in Swedish. The Danish word is "neger" and the best translation to English would be "negro" (Pippi's dad is the "negro king" or "negerkonge").

Today it's a controversial word because by many it's considered racist almost like the n-word. However, especially older people don't consider it racist and they use it to describe people that otherwise might be described as "black".

Newer revisions of the Pippi books have been edited to no longer use the word "neger" and I think this applies to both the Danish and Swedish editions (it was approved by Astrid Lindgren's daughter).


It's the Swedish "neger", which was the uncontroversial term for black people at the time.

Times have changed!


In Russian "негритянский король" - "king of the negroes"


Is that about Pippi's father being a king of the natives?


Yes mainly. Pippi, Tommy and Annika also goes to his little island where he is king, and the language in that chapter is not the greatest!


In the (US English) versions that were read to me as a child, I seem to recall it being rendered "King of the Pygmies."


My Penguin version (1997) has "King of the Cannibals." Not much better -- probably worse, in fact, since they aren't even depicted as cannibals, so the name isn't in any way necessary.

But I guess "King of the Islanders" would be boring.


A friend of a friend had a break in in his house last week and could see the burglars in his kids room via his cameras on his phone.

He also had the hopeless feeling of there being nothing to do, but had some sort of Eureka-moment and started playing “Fuck the police” on max volume on the floor above (all via his phone), and that apparently sent the burglars running!

(When he later talked to the cops they did call him a genius but questioned the song choice.)


Every breath you take

Every move you make

Every bond you break

Every step you take

I'll be watching you

or

One way, or another, I'm gonna find ya

I'm gonna get ya get ya get ya get ya!


The theme song from Cops ("Bad Boys" by Inner Circle) would have been brilliant, actually


The distinctive sound of a walkie talkie chirp is also a good sound to play, had it as my message alert on my phone - the number of people who suddenly think your a cop and get spooked.

Though any music works best as shows somebody in and most burglars don't want anybody there as then it becomes a robbery and those sentences are higher. So playing music good and your choice is pretty excellent in the psychological factor upon the burglars.


A bit of recorded police scanner chatter was used by Mark Rober on his Glitter Bomb 2.0:

https://youtube.com/watch?v=a_TSR_v07m0&t=3m29s


Wasn't that faked anyway


Please don't create low-effort posts like this that criticize / question the veracity of another post with zero evidence or context, it just creates noise and makes it harder for people to trust content posted on Hacker News.

If the above video was faked, and you could post a link or some context showing how it was faked, that would be a good contribution.

Thanks :)


Here is an article where they discuss how some of the reactions in the initial version of the video were faked (by an acquaintance of the video's creator who was hired to help), but the creator acknowledged the issue (which he wasn't aware of when he initially published the video) and rectified it by removing those clips from the video: https://www.cnbc.com/2018/12/21/glitter-bomb-video-was-parti...


"I'm gonna give you to the count of three, to get your lousy, lyin', no good, low down, four flushing carcass out my door! 1, 2..."

https://www.youtube.com/watch?v=h_bUcNjmuSk


KRS-One "sound of da police"


Just thought of "Body count is in the house" by Body count. It starts with police sirens, and it is "loud" enough.


The intro to 50 Cent's Massacre may also be a good chice:

https://www.youtube.com/watch?v=vNBbQV_rCzQ


to the contrary if he played the Public Enemy song loud I think they'd fear being counter ambushed by some thugs unless the house gave away the identity of the owner. In otherwords the criminals may recognize that specific song, or at least discern some hard old school rap music.


"Fuck tha Police" is an NWA track, just fyi


My bad, absolutely right.


A couple options

* Danger Zone by Kenny Loggins

* Welcome to the Jungle by Guns N Roses

* Surfin' Bird by Trashmen


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: