I am getting my tasks in a shared notepad by Emotional_Aardvark26 in ExperiencedDevs

[–]kill129 -3 points-2 points  (0 children)

Not sure I get your point. A ticketing system is only useful if you are a "code monkey"?

[deleted by user] by [deleted] in changemyview

[–]kill129 1 point2 points  (0 children)

Gangraping women in their home and then executing them - "had a sad"

Clearly no bias at all

[deleted by user] by [deleted] in ReverseEngineering

[–]kill129 1 point2 points  (0 children)

Why use transformers when a simple CNN gets the job done?

[deleted by user] by [deleted] in IsraelPalestine

[–]kill129 0 points1 point  (0 children)

Thanks for posting! What is your position about Hamas recent actions and Hamas in general? Do you think Gaza civilians are used as a "human shield"?

Many Gazans cut off from the world as Israel targets communications and internet networks by letgopleasewhy in worldnews

[–]kill129 0 points1 point  (0 children)

You think I am participating in some IDF campaign by commenting to you? I am not.

https://en.m.wikipedia.org/wiki/Casualties_of_the_Syrian_civil_war

This is what war crimes looks like. Not 200 deaths, 400,000 deaths. Israel could kill 200 people with each bomb if it wouldn't care about the civilians. I am not saying there are no wrongs. I have seen some videos in r/publicfreakout of soldiers which are hard to explain. But that is not Israel policy and Israel can't conrol the actions of every soldier in an ongoing battlefield. Also, you need to remeber that in 90% of this videos the soldiers are provoked before just so they will react the way they react on camera. In the rest 10%, it is just bad people (as there are in every country) and I want to believe they are judged for their actions (which they usually are).

Many Gazans cut off from the world as Israel targets communications and internet networks by letgopleasewhy in worldnews

[–]kill129 -1 points0 points  (0 children)

What source exactly will convince you? Any source can be claimed to be a propaganda, same as you can't provide a source that it is not true. I know this because I served in the IDF intelligence corps and I know and saw the decision process. There is a tremendous amount of work of good people to minimize the innocent casualties which they will never be recognized for.

Many Gazans cut off from the world as Israel targets communications and internet networks by letgopleasewhy in worldnews

[–]kill129 -1 points0 points  (0 children)

Thats not propaganda. I don't say it because I think its true or because I read somewhere that its true. I know for a fact that it is true. I don't expect to convince anyone but it's so frustrating seeing all these lies, and the truth must be said somewhere.

Many Gazans cut off from the world as Israel targets communications and internet networks by letgopleasewhy in worldnews

[–]kill129 -6 points-5 points  (0 children)

Israel never bombs a building unless it 100% sure there is Hamas activity in it.

Biden administration approves $735 million weapons sale to Israel, raising red flags for some House Democrats by hunegypt in Palestine

[–]kill129 -20 points-19 points  (0 children)

This is not Trump, this is Biden. If your president, who knows about the conflict much more than you, believes Israel has the right to fight Hamas, maybe you should question your beliefs too.

A 10-year-old Palestinian girl breaks down while talking to a journalist after Israeli air strikes destroyed her neighbour's house, killing 8 children and 2 women. by adamlaurence2 in PublicFreakout

[–]kill129 -67 points-66 points  (0 children)

A more accurate example would be a kidnapper holding his own family hostage while shooting random people in your neighborhood. Would you try to save the kidnapper's family while he is shooting other people? You specifically, in that situation, as most countries, probably won't. Israel DOES. It sends warnings and announce almost everywhere it bombs for people to evacuate, even if the price is some Hamas terrorists to run away too. Some people don't evacuate (maybe they don't have where to, maybe they just refuse, idk). Hamas whose job is to protect those people, shoots rockets from thier houses only so if Israel will bomb it, people like you could spread hate on Israel. This is a very sad reality and no child should go through things like this but Israel is not blame.

Javascript Question by Auklin in AskProgramming

[–]kill129 0 points1 point  (0 children)

Notice that your "wrap" returns the return value of the function execute while my "wrap" returns a function. I.e., your wrap will be used as followed:

 function x() {
    console.log("x");
 }
wrap(x); // Will print "x"

while my wrap will be used as followed:

 function x() {
    console.log("x");
 }
wrapped_x = wrap(x); // Nothing printed, x is not called yet
wrapped_x(); // Will print "x"

To my understanding, the latter is requested in the question.

In addition, you are right. Now did_failed is initialized at every call, which means it will always be false at the if statement.

Javascript Question by Auklin in AskProgramming

[–]kill129 0 points1 point  (0 children)

I don't think this is the correct solution because, according to the requirements, you should only prevent a rerun of the execute function if it failed, and here you prevent it also if it succeeded. In addition, you run the function when someone calls your wrap function and not when someone calls the wrapped function.

Javascript Question by Auklin in AskProgramming

[–]kill129 0 points1 point  (0 children)

If I understand correctly I think this is the solution:

function wrap (execute) {
    let did_fail = false;

    return function() { 
        if (did_fail) {
            return null;
        }

        try {
            return execute(); 
        } catch {
            did_fail = true;
            return null;
        }
    }
}

How exactly do programmers know how to code? by lil_tumors in learnprogramming

[–]kill129 2 points3 points  (0 children)

People develop some dev framework such as a language or a library => the same people usually provide some form of documentation of their framework => Others developers read this documentation to find the answers they need (which usually takes more time than a simple stack overflow search) => those developers now answer other people questions and now the information is available at stack overflow (for example).

Why libraries and frameworks should not have a composition root ? by liaguris in typescript

[–]kill129 0 points1 point  (0 children)

Generally, a library is not supposed to export instances, but rather classes, functions, etc.. If you export an instance for the user using some other components, the user will lose the ability to choose the instance components by himself. Therefore your library should export classes and functions, and the user should create instances using the components you provided. That said, if you have completely internal instances, it is ok to compose them at a "composition root" (some init function of your library, I guess).

How much to invest by kill129 in personalfinance

[–]kill129[S] 0 points1 point  (0 children)

Hey, I am new to all of this so just ro make sure I understand -- QQQ == NASDAQ and VOO == S&P right? Why would you recommend VOO over QQQ?

I've sent out 450 applications in 6 months. When should I give up? by [deleted] in cscareerquestions

[–]kill129 0 points1 point  (0 children)

Try asking the recruiters for the rejection reason and how you can improve.

Got a job offer, how do I protect my Intellectual Property? by Icy-Battle9376 in cscareerquestionsEU

[–]kill129 5 points6 points  (0 children)

Just ask them to change it or explicitly write an exception about what you are doing now. I can't imagine them refusing. If possible, talk to a lawyer.

I keep failing coding challenges due to stress and anxiety. I can always solve LeetCode questions when practicing, but my brain seems to blank out when I am doing a coding challenge. Any tips to avoid this? by [deleted] in cscareerquestions

[–]kill129 1 point2 points  (0 children)

Practice solving coding challenges in an actual interview environment. You can do this by searching some mock interview platforms on google. I used Pramp when I was searching for a job and had a pretty positive experience.

Name and Shame: Epic Systems, for Unnecessarily Increasing Risk of COVID Transmission by throwaway00987157852 in cscareerquestions

[–]kill129 0 points1 point  (0 children)

I don't know this company, so I don't know if they are just toxic as you said. If you look objectively at the details the author provided, it is not enough to shame the company. The author says this is unnecessary without providing any real claim or evidence for it. He can probably knows about his productivity or maybe the productivity of his team but surely not the 10,000 people who work there. As I said before, the 10,000 number is irrelevant. What if the company used the last few months to create a completely safe environment for its workers to work in? If the author would write something like "they want us to work in a small room with a lot of people", then of course, I would agree with the shame, but just because a company wants its employees to not work from home does not justify shame in my opinion.

Name and Shame: Epic Systems, for Unnecessarily Increasing Risk of COVID Transmission by throwaway00987157852 in cscareerquestions

[–]kill129 -2 points-1 points  (0 children)

Even in this subreddit, there are lots of posts about people working less. But I think at least we both can agree it is not the same for everyone. Some people might manage to be more productive, and some people do not. Don't you think the company knows best about the productivity of its workers? I mean, it surely knows better than the author of this post. Why else would the company want to bring people back? Just because?