Skip to main content

Posts

Showing posts from March, 2022

New best story on Hacker News: Ask HN: Which book can attract anyone towards your field of study?

Ask HN: Which book can attract anyone towards your field of study? 491 by debanjan16 | 242 comments on Hacker News. If you were to choose one book (or maybe more than one :P) to lure a curious person to your field of study, which will you choose? For example: How to Design Programs for Computer Science. Note: It has to be inviting for someone that knows nothing about the field but becomes hooked after reading it. Not some epitome which is revered by experts only.

New best story on Hacker News: Ask HN: If you used to be socially awkward and shy, how did you improve?

Ask HN: If you used to be socially awkward and shy, how did you improve? 491 by dondraper36 | 523 comments on Hacker News. Recently, I cannot help but notice how shy and socially awkward I might be at times, which is quite frustrating. To be fair to myself, I am not awful in social situations in that depending on the context I can be seemingly confident and calm, especially when I am among people I know and the context is familiar. When it comes to new people and places, everything changes dramatically. My voice changes, my posture changes, everything changes. I can start being awkward in all possible senses. The discomfort gets to the point where I blush and this physical state of vulnerability and self-doubt of course makes things even worse :) I understand that all of that relates to self-esteem and phychology in general therefore my question. It's common to advise hitting on the gym, which I just started doing last week. Funnily, the gym is the place where I last noticed my

New best story on Hacker News: Ask HN: Who operates at scale without containers?

Ask HN: Who operates at scale without containers? 578 by disintegore | 425 comments on Hacker News. In other words, who runs operations at a scale where distributed systems are absolutely necessary, without using any sort of container runtime or container orchestration tool? If so, what does their technology stack look like? Are you aware of any good blog posts? edit : While I do appreciate all the replies, I'd like to know if there are any organizations out there who operate at web scale without relying on the specific practice of shipping software with heaps of dependencies. Whether that be in a container or in a single-use VM. Thank you in advance and sorry for the confusion.

New best story on Hacker News: Tell HN: A $40B company killed my 2yo son. Now they force me to keep silent

Tell HN: A $40B company killed my 2yo son. Now they force me to keep silent 523 by bereavedparent | 103 comments on Hacker News. My 2yo son was struck and killed by a garbage truck next to a children's playground in the SF bay area less than 2 years ago. The driver who has fled violated multiple traffic rules which directly caused my son's horrible death. We have evidence that the company's unimaginable level of negligence allowed this to happen and now they want us to sign an agreement forbidding us to disclose the details. I'm writing this in great pain as I was not able to talk about it for a long time. My entire family were devastated. My mom passed away unable to accept the loss. My wife suffers PTSD. I stopped working so that I can go to the cemetery to stay with my son everyday. It's been almost two years. They see our weakness not strong enough to go through litigation as it tortures us. They offered to settle through mediation with a laughable amount of

New best story on Hacker News: Show HN: HN Avatars in 357 bytes

Show HN: HN Avatars in 357 bytes 534 by tomxor | 326 comments on Hacker News. Paste the following into the console of any HN page - for annotated avatars on all HN comments. (self contained code) for(u of document.querySelectorAll('.hnuser'))for(u.prepend(c=document.createElement('canvas')),x=c.getContext('2d'),c.width=18,c.height=14,s=u.innerText,r=1,i=28+s.length;i--;i<28?r>>>29>X*X/3+Y/2&&x.fillRect(6+2*X,2*Y,2,2)&x.fillRect(6-2*X,2*Y,2,2):r+=s.charCodeAt(i-28,x.fillStyle='#'+(r>>8&0xFFFFFF).toString(16)))r^=r<<13,r^=r>>>17,r^=r<<5,X=i&3,Y=i>>2

New best story on Hacker News: Show HN: I made a web game called Almost Pong

Show HN: I made a web game called Almost Pong 482 by lessmilk | 96 comments on Hacker News. Hi HN! I made many small web games in the past with Unity or Phaser. But this time I wanted to make something completely on my own. So I coded a basic game framework in plain JavaScript, and used it to make Almost Pong. This was a really fun project that taught me a lot about JavaScript, and I plan to make more minimalist games with this framework. Interesting fact: Almost Pong doesn't load any assets, all sprites and sounds are generated with code. Happy to answer questions, and please let me know if you have any feedback on the game. Thanks!