News for hackers. Stuff that matters.

avoidwork

Re:Ask HN: At this point, are PUT and PATCH helpful? on Monday June 21, 2021 @10:38PM (#27587338)
Hi,

Yes, it matters. You're misusing POST in the first example.

C = POST R = GET U = PUT/PATCH D = DELETE

Doing anything else is an anti-pattern for interop on the web.

Re:Ask HN: Why isn't JavaScript long-lasting? on Tuesday April 20, 2021 @07:23AM (#26873168)
centralized vs distributed; it's an outdated straw man. microsoft is ironically a proprietor the problems you get from misusing web tech in a centralized app (ie).
Re:AirPods Max, you are comparing it wrong on Monday January 04, 2021 @07:07AM (#25630276)
My immediate response was also "No! Airpod Max shouldn't be compared to most popular ANC headphones, they need to be compared to wired Focal or Hifiman!".
https://www.google.com/search?q=covid+19+deaths+worldwide

it's very easy to cherry pick a chart that supports a statement, but if you consider infection rate, death rate, lack of support infra, etc., there is no chance herd immunity would work.

You'd have to ignore the cascade through the population. It really doesn't help that a large portion of the population thinks it's a lie.

This is the worst fan fiction I've read in awhile.

>4% of the USA has been infected; you're not getting herd immunity... you never were going to get it. it would kill your population before that could happen.

Re:WSL Isn't Linux on Sunday November 08, 2020 @10:16AM (#25026248)
can confirm. i've also found really odd bottlenecks with hyperv virtual switches (even with "for workstation" sku with a 3970x). i now have a proxmox ve machine for all local non-windows needs on an i7 nuc.
Re:Can we make reactionary protests safe? on Saturday May 30, 2020 @11:11AM (#23361710)
are you for real? look at how people respond to sports teams winning. people have been murdered by police officers and you can't ignore it anymore.
Re:Ask HN: Career Advice for a Junior Developer on Saturday April 25, 2020 @11:38AM (#22978878)
Keep learning. Customers don't care if something adheres to SRP or not, they just want the output - if it works (good enough) you might get repeat business.
Re:Where do you host your API? on Monday October 07, 2019 @11:39AM (#21182151)
azure vms with accelerated networking
'build-essential'
Re:The sorry state of OpenSSL usability (2017) on Wednesday May 29, 2019 @11:46AM (#20041537)
`openssl help` ... the macos version hides the `Invalid command '--help'; type "help" for a list.` message.
Re:Canada is going to be part of the US? on Saturday May 11, 2019 @06:47AM (#19885555)
someone's bot needs work.
Re:The Rendition Vérité on Tuesday April 02, 2019 @11:25AM (#19555111)
i had an intergraph reactor with the E chip; it was revolutionary.
Re:Ask HN: Immortal software: how would you write it? on Friday March 01, 2019 @07:22AM (#19279868)
Discrete apps aligned to SRP, such that they compose a System (Systems Thinking), solving the domain instead of the use case.
Re:There's no such thing as an API break on Saturday February 02, 2019 @10:37AM (#19063500)
this is the dumbest thing i've read this year.

changing a stable API breaks it. there's no grey area.

i've avoided it entirely with my latest work project; no transpile, or unneeded tools... just awk & eslint.

there are no* "de-facto standards", just people doing what they think is popular 'cause they read about it on the net.

Re:Ask HN: Should I put my GitHub profile on my resume? on Tuesday December 18, 2018 @06:39PM (#18711630)
Only if you want to talk about something on there, otherwise it's just noise.
Re:Behavior of .sort() in JavaScript on Monday November 26, 2018 @07:49AM (#18532942)
https://es5.github.io/#SortCompare

pretty sure it's been this way since 1.0

Oh the irony. Canada has significant data breaches, at all levels of public & priv sector... there's no way we're going to do anything better. No funding, no infra, no clue.
Re:Ask: Will coding ever be made redundant? on Friday November 02, 2018 @09:28AM (#18362825)
Code is just instructions, so ... yeah humans can totally be replaced with something more efficient & better... but what does 'better' really mean? is the output lower latency? higher concurrency? did it do something amazing with little resources?

I've only been in the industry 20yr, but I've met a wide range of people with different goals that drive many factors of many outcomes; as long as people are in the picture stuff is going to be inefficient from 1 pov, while at the same time human diversity can be a huge pool of talent/skill/creativity that a code generator can't have by design (it's solving for efficiency).

It would be a mistake to think things are never going to change. I think it's more reasonable to plan for change and try to keep a head of it by being relevant in a field that interests you, and has demand.

Re:Ask HN: Is FaceID harmfull for your eyes? on Monday October 29, 2018 @07:47AM (#18326659)
wow.
Re:Ask HN: Is FaceID harmfull for your eyes? on Monday October 29, 2018 @12:55AM (#18325169)
I'd turn it off. Our eyes are not meant for IR flashes.

https://sciencing.com/infrared-light-effect-eyes-6142267.htm...

Re:So apparently Elon Musk is in an anime thing on Saturday October 27, 2018 @08:20AM (#18315414)
X/1999 ftw!
deep breaths, and try to chill. when you need help, simply say "I need help" and that should be a trigger for someone to change context and actually help you, if they can.

not asking for help is the biggest mistake you could make.

Re:What Exactly Makes “Bad” Code Bad? on Thursday October 18, 2018 @07:04AM (#18247327)
- doesn't solve the problem - adds unneeded/unwanted complexity (excessive ops for cleverness)

kinda like the DOM structure & bad CSS on the webpage... why is the side nav in the header, yet has a min-height of 1000px? what happens when the screen is taller? :)

Re:Ask HN: How can I become a 10X engineer? on Monday October 15, 2018 @07:10AM (#18218778)
practice like a pro athlete. the common belief that you need 10k hours to master something is imo, applicable to a 10x dev. when you hit 10k, if it's only during work hours you've likely mastered whatever mattered to your manager/org in that time frame, but that is not always transferrable or valuable to a new manager/org; practice is though.

practice creates experience, and if you have the resolve to push yourself out of your comfort zone and learn to master new areas, you should find yourself able to do things quicker than people that aren't familiar with the problem domains, easily attaining a 10x output while not creating problems.

Re:The Case for Making Cities Out of Wood on Tuesday October 09, 2018 @05:46AM (#18174514)
Some cities were wood, and they burned. My concrete condo is in the burn path of the 'great Ottawa fire'. Wikipedia doesn't have enough pictures, worth googling.

https://en.wikipedia.org/wiki/1900_Hull–Ottawa_fire

Older »