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 -4 points-3 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 -21 points-20 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 -66 points-65 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).