Better HN
topnewbestaskshowjobs
Log inSign up

Nezghul

15 karma · joined Oct 30, 2021 (5y ago) · 27 submissions

Submissions

comment 1y ago · link · parent

What is the level of unconsciousness during anesthesia? Is it "sleep-like" unconsciousness or "neurons do basically nothing" level? Whenever I read about anesthesia I am wondering if we are not accidentally killing people (and creating new ones) like in teletransportation paradox. https://en.wikipedia.org/wiki/Teletransportation_paradox

comment 1y ago · link · parent

In my last company I had like 10 product managers above my head. Each one was managing a bunch of new features ordered by different clients. As a developer you could work with different product manager every day because every task was linked to specific product manager. Do you think any of them would care about such bug that do not block their precious feature for which they will get bonus if it's done in time? Of course not. And if you tried to speak with someone higher about that issue you would hit the wall of "And which client will pay for us fixing our own bugs?" As if better product would not have better marketing and bring more money in the future. Everything is always about money now. Monkey sees money - monkey has neuron activation.

comment 1y ago · link · parent

I'm also programmer and such bugs immediately reminds me of all my managers demanding exact time it would take me to fix such bug and me telling them it could take from 1 day to 1 year was never taken seriously :(

comment 1y ago · link · parent

If the law is unethical then you may be pushed to do "bad" things. For example if you are a Jew living with family in a Nazi Germany and someone know your secret and he feels he need to disclose it to the authorities then you may consider... murdering him. Would you really be a bad guy?

comment 1y ago · link · parent

> class Square : Rectangle() { ...

What if instead of Rectangle class we would have ReadonlyRectangle and Rectangle? Square could then inherit from ReadonlyRectangle, so code expecting only to read some properties and not write them could accept Square objects as ReadonlyRectangle. Alternatively if we really want to have only Square and Rectangle classes, there could be some language feature that whenever you want to cast Square to Rectangle it must be "const Rectangle" (const as in C++), so again we would be allowed to only use the "safe" subset of object methods.

comment 1y ago · link · parent

Would never happen. I was working for a company which for C++ projects used open source CMake package manager called Hunter. Thousands of packages (ours and third-party) for multiple platforms were causing building and linking problems constantly. Literally every day devops would waste hours on those issues. Many of the problems come from our not-understanding of the build processes and some were Hunter bugs so we were happy to jump to every new release. And one day the Hunter maintainer make announcement that he will abandon the project if someone would not help him financially. I pointed this out to my manager. He said that it's very unfortunate but he would need to talk to his manager who would need to talk to next manager and so on, some finance department would need to allocate funds for that but they would not do that without the approval of some other department and so on. So my manager said we must wait, see what Hunter maintainer would do and if he really abandon the project then we will think what next. Ruslo (Hunter maintaner) abandoned the project so I told my manager that we should simply contact Ruslo and try to hire him as he clearly would be the right person to solve all our building problems. Guess what... My manager would need to contact his manager and so on, and so on, so nothing was done.

comment 1y ago · link · parent

Future warfare would be really fun. You would have to eliminate every single animal you find because it could be drone.

comment 1y ago · link · parent

I wish my employers would value throwaway code or design docs.

comment 1y ago · link · parent

I recently read a lot of Microsoft "The Old New Thing" blog where a few times were mentioned "Le Chatelier’s Principle as interpreted by John Gall: Every system resists its proper functioning". It was the first thing I thought of when reading about assigning quality of service, and here is your comment :P

comment 2y ago · link · parent

I personally consider FreeCAD very far from stable. All I need to do is to open random example projects to speedrun to some warning/error/exception/segfault.

comment 2y ago · link · parent

btw. any news when the next ARM laptops will appear?

comment 2y ago · link · parent

It's like all my dogs (according to what my family told me).

comment 2y ago · link · parent

That "check_c_source_compiles" function should first test if the provided code snipped is "valid C code in general" and only then check if it compiles in given system.

comment 3y ago · link · parent

Wouldn't it be easier to just... look like a termite instead of having abdomen looking like a termite?

comment 3y ago · link · parent

What if I am capable of thinking with closed eyes?

comment 3y ago · link · parent

So you don't like when cursor is moving on click?

comment 3y ago · link · parent

I don't get it why they didn't start that training year ago, even if it was not known if F-16 will be send to Ukraine or not.

comment 3y ago · link · parent

I asked if we should put people in jail for reproduction, as children do not give any consent to being born, will suffer in life and die in the end. Both debaters started patting their backs that reproduction is not unethical but something should be done with people who neglect their child.

comment 4y ago · link · parent

Well, if You want to compare strings according to some rules then... write a custom comparator.

comment 4y ago · link · parent

I very often see "reconnect loops" in various codebases and I wonder are they necessary? Wouldn't the same effect be achieved by for example increasing timeouts or some other connection parameter?

comment 4y ago · link · parent

We should ban Pi since obviously all the illegal images are there too!

comment 4y ago · link · parent

Sorry, I wrongly understood your answer not as an explanation of other people actions but as statement of your position in topic.

comment 4y ago · link · parent

"Doing X without consent is irrelevant because consequences of X are full of nonconsensual things." How is that in favor of X?

comment 4y ago · link · parent

Play stupid games, win stupid prizes. Just stop procreating so you wouldn't have such problems.

comment 5y ago · link · parent

There are fields, Neo, endless fields where worms are no longer born...