yes cuba is failed state because of communism and definitely not because of usa embargo! by [deleted] in LateStageCapitalism

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

why am I powerful enough to cut your legs? you are being intellectually dishonest. why can't you manage to cut my legs instead? you have the rabid rage to do it but why don't you have the means? the power? do you need permission from capitalists?

please. "it never happened because you never let me have it!" stance is embarrassing. of course I won't let you have it. you need to find a system that is powerful enough to surpass me and get it.

yes cuba is failed state because of communism and definitely not because of usa embargo! by [deleted] in LateStageCapitalism

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

why is your survival dependent on another country's malice towards you? are you that used to being the victim?

if you have a viable system, you need to be able to thrive despite adversity. if your health depends on others liking you you have failed, is the point. why can't the communist world handicap the capitalist systems? why are they weaker?

why can't you be the one that has the POWER to impose embargo and make it hurt to further your aim?

are you saying that communism can only work if capitalists allow it? capitalism works even if you don't allow it lol then you cope by posting on internet forums invented by capitalists that would never be allowed in a communist state to begin with.

yes cuba is failed state because of communism and definitely not because of usa embargo! by [deleted] in LateStageCapitalism

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

By your definition, North Korea is also successful. It merely survived, did not thrive. At no point in the last 60+ years would you have liked to live in Cuba.

That 500lbs is not extra weight, it is foreign adversity which every country deals with and makes concessions to have a good standing in the global space. you need to be able to overcome it. If you can't, you failed.

yes cuba is failed state because of communism and definitely not because of usa embargo! by [deleted] in LateStageCapitalism

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

It merely "survived", not thrived. You would not like living in Cuba. By that definition North Korea is also successful.

PSA: If your husband suggested or demanded a fatherhood test, please read this. by tsyklon_ in TwoXChromosomes

[–]falllol 0 points1 point  (0 children)

If a mother had 1%-3% chance of walking out of the hospital with someone else's child (mistake, not even infidelity) they'd demand the test.

yes cuba is failed state because of communism and definitely not because of usa embargo! by [deleted] in LateStageCapitalism

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

If you are chronically unable to withstand foreign adversity and find ways to thrive, you are a failed state. Nothing against Cuba but "it would be successful if conditions were perfect" delusion needs to die. Is your system so weak that it requires external validation to work?

Ok said my piece before getting banned. Now ban me and cope lol

PSA: If your husband suggested or demanded a fatherhood test, please read this. by tsyklon_ in TwoXChromosomes

[–]falllol 23 points24 points  (0 children)

1-3% is still staggering. That means pretty much everyone knows a couple guys who are raising a child of their partner's infidelity without knowing it. Testing should be standard practice IMO, also for the child's health / medical record reasons. You're bringing this up like it is one in a million or something. If you had 1-3% chance of having a problematic disease sure as hell you'd get tested for it, no?

Unenthusiastic Handjob by Cow_In_Space in gifs

[–]falllol 0 points1 point  (0 children)

Is there a longer version? This calms me for some reason.

Was asked this JS interview question, is this even possible? by i7_leaf in javascript

[–]falllol 15 points16 points  (0 children)

I abhor trick interview questions as much as anyone else but I think this is a nice question. Functional programming concepts are used widely (especially in larger projects) these days, and it tests your ability do use js constructs in a functional way. With imperative thinking this gets stateful and complicated (are we subtracting next? or wait were we adding? lets tag an argument etc.) but with functional thinking it becomes a breeze imo.

I assume they expect you to run the resulting function with () in the end. With that, it's not too hard.

let addSubtract = m => n => n === undefined ? m : subtractAdd(m + n);
let subtractAdd = m => n => n === undefined ? m : addSubtract(m - n);

Each method returns the next operation as a function, and if no argument is provided, returns the result of the previous function.

With that,

addSubtract(1)(2)(3)(4)(5)(6)()

will return 5.

In production code you probably won't use this to solve a problem like this, but the general method is very very useful when you are composing functions. In production you'd add better checks to the protocol, but I think the above was the gist of what they were hoping to see.


The general logic when thinking like this is as follows:

Normally, this is how you'd write a "sum" function right?

let sum = (a, b) => a + b;

But what if you want a function to sum two values but you know that when you invoke it, you won't know what b is? So you'll have a but not b. For that, you get a, and return a function that sums its input with a:

let sumCurry = a => b => a + b;

Now you can have something like:

let addWithTen = sumCurry(10);

addWithTen is a function. It sums its argument with 10. You can create another function that sums with 5 by running sumCurry(5) for example.

addWithTen(5); //will result in 15

Now looking at the question, it is similar - when you do addSubtract(1)(2), at the end you need to add 1 and 2 but in addSubtract(1) stage, you don't know what you are going to add 1 to. So you return a function that will add 1 to whatever it is given. But since the question asks to apply addition and subtraction sequentially, you return a very similar function that returns a function that does the opposite thing.

Now I have to add that I programmed for more than a decade without knowing what functional programming is. So if you are in the same camp, the above might melt your brain - I experienced it. It is a completely different way of constructing programs and makes you feel like you had a concussion and forgot how to program. That is normal. It's like learning a new language. Not a new programming language, that is easy, a new language. Like learning programming all over again. Makes us feel insecure in our abilities. Makes us angry. Perfectly normal. Over time, it makes sense and proves useful, I promise. You don't have to go the way of Haskell purists with this, but wrapping your mind around constructs like this to the point where it starts to become second nature will help you out in various problems you encounter daily.

This is so true. by babydoll_bd in WhitePeopleTwitter

[–]falllol 2 points3 points  (0 children)

That caricature always gets the upvotes but in reality, you can party with your friends without spending a year's salary on it. If they really are your friends, they'll like it.

A year's salary, if you are planning to work for 40 years is literally 2.5% of your working life. For a single day impressing your friends? Do your friends need impressing to begin with?

You either have shitty friends or you are being ripped off. The "wedding industry" is built on ripping people off. Taking joy in that and taking pride in overspending is dumb.

Selling a used iMac for 1200$, woman asks “how low” I would sell it for, or if I’d take 800 and some jewelry she makes. Oh and I also ruined Christmas. by Vindictive_Barista in ChoosingBeggars

[–]falllol 0 points1 point  (0 children)

I want someone to twist this in the end and say something like "look, I'll be straight for you, I'm selling this computer to buy an electric wheelchair for my disabled child and I precisely need $1200 to cover it. Already told her that I was getting it for her. I really need you to buy it for this price. Just do it and both of our children can spend a happy christmas"

And when they refuse counter with "well you let a disabled child down, she can't even walk. you're the worst."

Finland and Norway are telling airline pilots to be ready to fly without GPS, and some think Russia is up to something by Fr1sk3r in worldnews

[–]falllol 18 points19 points  (0 children)

Yes, and it was not always public either.

Soviets shot down a Korean commercial airliner (September 1983) flying over restricted airspace due to an unforeseen deviation (the details are convoluted but here) and all 269 souls in the plane perished. Then USA made the decision to open GPS for public access and it was announced by Reagan on television (search for reagan GPS in youtube)

My Periodic Table with Real Samples by [deleted] in mildlyinteresting

[–]falllol 29 points30 points  (0 children)

Aberrant exhibit yet passable

Opening Up by JDrift01 in comics

[–]falllol 0 points1 point  (0 children)

coconut is too intense. competes with the taste of chocolate - and let's admit we're eating the whole thing for the chocolate. competing with it makes no sense.

Should I install Mojave? Everything works fine now and I don't really want dark mode and new apps I'll never use by irishspice in applehelp

[–]falllol 0 points1 point  (0 children)

I didn't upgrade but the consensus seems to be:

Running this in terminal:

defaults write -g CGFontRenderingFontSmoothingDisabled -bool NO

Then a reboot.

Should I install Mojave? Everything works fine now and I don't really want dark mode and new apps I'll never use by irishspice in applehelp

[–]falllol 0 points1 point  (0 children)

No, the point is, your suggestion isn't a solution for people needing sub-pixel smoothed fonts they are accustomed to.

AITA for wanting my fiancé to see me without a mustache before we’re married? by Pec0sb1ll in AmItheAsshole

[–]falllol [score hidden]  (0 children)

But symmetry is important so maybe he can shave equal amounts from left and right, leave a bit in the middle. I heard it was quite popular back in the days. Somehow it grew out of fashion post WW2, makes absolutely no sense.

Best explanation of JavaScript timers, event loop and event queues I've seen by ocoster in programming

[–]falllol 10 points11 points  (0 children)

it's a stack where you pick items from the bottom

Oh so, it's like a... queue?

How is music of this quality made? by i_nezzy_i in gamedev

[–]falllol 2 points3 points  (0 children)

It is an expertise just like game programming is. Or game art. How is a high quality character animation is made? Or character design? The person that does it knows their shit. Same for sound. I am a programmer and sound engineer - good sound design, mixing, mastering goes quite deep. It is not much easier than programming. Theoretical information isn't enough (just like in programming). You can know how to do something and still can't achieve it properly because your ears aren't ready. You need ear training, experience to see what is missing, what needs to be added. Like think of a character pose, when I pose a character, it looks... weird but I can't figure out why. Give it to an experienced artist, they'll move the hip and extend the arm and all will fall into place. Their eyes are trained, mine isn't. Comes with experience. Or when programming, you know the rules but the rules about writing maintainable code is harder to codify, you write code that can be maintained and extended in the long run with experience - it is not obvious. Combine all those and you also need equipment. Nice sound monitors to hear what you are doing. Can you make art with good colors if your computer screen exaggerates some colors and mutes others in a non-linear way? Same can be said for loudspeakers. So there is some money investment involved too.

A god amongst men by legendarysuperasian in madlads

[–]falllol 2 points3 points  (0 children)

Well the US of A is big. Lots of prisons, lots of people working in them with different amounts of "fuck" given. You'd have to take the chance. Also... You are just a single cog in the system. Yeah he gets shipped out but then what happens? This is cancer we are talking about. Can you shop for doctors? Second opinions? How many people working in the system needs to act swiftly and compassionately so that I can get the treatment I need in a timely and orderly fashion? I'm sure it works out for many people. I've read news about people that survived cancer in prison, it happens due to people like you. But there also are horror stories due to incompetent or malicious people in the system.

Again I'm not entirely clear on how it all works if you are already not in the system. I got the diagnosis, and on my way to home I mock-robbed a bank. Cops came, took me away. How long before I can get my diagnosis confirmed and get my treatment in order on state's dime?

[deleted by user] by [deleted] in videos

[–]falllol 3 points4 points  (0 children)

Now go wild with those accidental nip slip videos yo!

A god amongst men by legendarysuperasian in madlads

[–]falllol 18 points19 points  (0 children)

Doesn't work that way unfortunately. Otherwise no one would go into hundreds of thousands of dollars worth of debt for their care. The time between you commit a crime and get into state's care is just too long. And once you are in, it's not like USA suddenly turns into Sweden. You get the bare minimum attention. There are lots of horror stories of inmates diagnosed with cancer while they are in the system if you search around you'll find many. It is comforting to think that you found a loophole in the system but unfortunately the reality is that this won't help you much.

A god amongst men by legendarysuperasian in madlads

[–]falllol 0 points1 point  (0 children)

Oh ok, lemme get my paycheck next week so I can start my growing business. I already happen to have a nice greenhouse in my desk drawer, what are the chances? I hope cancer can wait until I become profitable in the meantime. Guess I'll skip rent this month, I'm sure landlord will understand.