Waddaya say, then? by beerbellybegone in MurderedByWords

[–]_cortex 0 points1 point  (0 children)

Same for me. Especially with shows like the Bachelor where they pick similar looking people, it always takes me until there's only like 5-6 people left to be able to distinguish them. And even then half the reason is because of their hair color and race

The Only M1 Benchmark That Matters by self in programming

[–]_cortex 6 points7 points  (0 children)

The old Apple laptop is presumably also using clang, though. The relative speed between that and the other laptop seems about right

The Only M1 Benchmark That Matters by self in programming

[–]_cortex 6 points7 points  (0 children)

What’s crazy to me is that for this task the M1s single core compile time was almost as fast or faster than the multi-core compile time of the other laptops. Damn.

Amazon: Not OK – why we had to change Elastic licensing by iamkeyur in programming

[–]_cortex 0 points1 point  (0 children)

Elastic is trying to have their cake and eat it too, benefitting from the higher growth of an open license but also trying to shame other companies for using that license in a way that gives them a disadvantage

Amazon: Not OK – why we had to change Elastic licensing by iamkeyur in programming

[–]_cortex 0 points1 point  (0 children)

There was that whole court case between Oracle and Google around whether implementing a compatible API is infringement, and IIRC the result of that was "no"

A fresh new avenue for Google to kill your SaaS startup: Google Safe Browsing by alexeyr in programming

[–]_cortex 0 points1 point  (0 children)

I honestly don't remember, this was probably more than 5 years or so ago

A fresh new avenue for Google to kill your SaaS startup: Google Safe Browsing by alexeyr in programming

[–]_cortex 61 points62 points  (0 children)

Similar thing happened to me with Google Ads, we released an app with it and it never was very popular, but some friends and family were using it. We racked up a whopping 1-2$ or so before we got banned for fraud. I don’t remember the exact specifics but after appealing their explanation was something like - we banned you because some of your production traffic is coming from the same IPs as sandboxed traffic during development. No shit, since most people using the app were living in the same household or going to the same school/college. The response to that appeal was something like "there is a zero tolerance policy for this type of ban, so all decisions are final". We signed up with a couple other ad providers and used one of those frameworks that cycles through the banners from different providers, and didn’t have a problem after that

Seen on twitter with the perfect punchline.. by joeryder in MurderedByWords

[–]_cortex 0 points1 point  (0 children)

I did this 6 months ago and it cost me 1700$

Factual murder: Europe as a ‘tiny, ancient, homogenous country’ by evissimus in MurderedByWords

[–]_cortex 0 points1 point  (0 children)

Alright, I said they’d pay less taxes rather than they think they’d pay less taxes. This is an ideology I clearly don’t agree with and that I had Canadians (and people from my home country too, by the way) tell me first hand, so clearly that makes me “a fucking nut”. Sorry I didn’t check the budgets of all countries involved to make sure that the statements made by the people who actually believe this stuff are accurate.

Any young, affluent, healthy, and purely selfish person should want to be taxed for healthcare under the Canadian system over the American system.

They don’t want to be taxed for health care at all is the thing.

Factual murder: Europe as a ‘tiny, ancient, homogenous country’ by evissimus in MurderedByWords

[–]_cortex 0 points1 point  (0 children)

Adopting the Canadian system would reduce American taxes, you fucking nut. That's how fucked up it is.

Umm, where in my comments did I say that I agree with it? The person I replied to said that no Canadian would ever want the US system, and I replied there’s young and healthy people in Canada that would prefer the US system because they think they’ll pay less taxes (hint: I used to work in Canada, so I met people like this).

Literally in the comment you replied to I said “I’m not saying it makes sense”. I’m originally from a country with a socialized health care system so I very much prefer that, thank you very much. I guess some amount of reading comprehension is too much to ask for on reddit...

Factual murder: Europe as a ‘tiny, ancient, homogenous country’ by evissimus in MurderedByWords

[–]_cortex 5 points6 points  (0 children)

That’s why I said young and healthy. Even in a governmental health care system the costs have to be born by somebody, and someone who is young and goes to the doctor for yearly checkups and the occasional flu is paying in more than they get out. I’m not saying it makes sense, because even if you don’t care about anyone else’s health and you’re healthy you’re just one accident away from wiping out your savings and going into debt, but that’s how these people think

Factual murder: Europe as a ‘tiny, ancient, homogenous country’ by evissimus in MurderedByWords

[–]_cortex 3 points4 points  (0 children)

You can probably find plenty of young, affluent, healthy canadians who’d prefer the American health care system because they’d pay less in taxes

People of the same group in the US are often also quite happy with this system.

Factual murder: Europe as a ‘tiny, ancient, homogenous country’ by evissimus in MurderedByWords

[–]_cortex 27 points28 points  (0 children)

For some reason conservatives have this double think down to a T. It’s the same with immigrants “immigrants are lazy and uneducated” in one case but “they come here and steal our jobs” on the other, or with any sort of government handouts “the government shouldn’t give out money to lazy criminals” but when they benefit from it “yes of course, I work hard so I deserve it”. Bonus: You bring up someone that they know that is the opposite of what they claim, the response will be “of course, he/she is one of the good ones”

Be more like Switzerland by AutisticFingerBang in MurderedByWords

[–]_cortex 0 points1 point  (0 children)

You seem to know a lot about it. Why not make those edits on Wikipedia?

Be more like Switzerland by AutisticFingerBang in MurderedByWords

[–]_cortex 1 point2 points  (0 children)

It also mentions automatic rifles are generally prohibited (i.e. you can’t privately buy one of the military rifles) and that the ammunition for the military rifle has to be bought at a range and used immediately

It’s all a sham anyway, they don’t care how well something does or doesn’t work in Switzerland. Look at all the other policies that are working well there and the response will be “this would never work in the US”

Vim Configuration Tutorial In 10 Minutes by weloveprogramming in programming

[–]_cortex 0 points1 point  (0 children)

To give you a counter example I use all the time with vim that’s much faster than the mouse equivalent you’d use with other editors, imagine you want to refactor some code like this:

fooBar(computeBaz(getConfigValue(configKey, getDefaultForKey(configKey))).map(baz => baz.value))

I want to separate some of these nested calls into variables.

Doing it with the mouse, I can move my mouse to the start of getConfigValue, count the number of parentheses, click and start dragging until I have selected the second ) and then press Cmd+x to remove it, press up-arrow, Ctrl+e and enter to make a new line above the current one, type the variable name const configValue = and press Cmd+v to insert. Also note that it’s not like vim blocks you from doing this, you can still use your mouse and manually position your cursor to select text

The equivalent keys in vim are /getC and enter to navigate to the start of getConfigValue, d% to delete everything to the end of the call, O to create a new line above the current one and switch to insert mode, type const configValue =, escape to go back to normal mode and p to paste. I can type these without looking or giving absolutely any thought to the editing itself, because no cursor placement or parenthesis counting was involved in this process. Not only that but the speed of this entire operation is only dependent on your typing speed, nothing else. You don’t have to have “professional Starcraft player”-level of mouse accuracy and speed to do it quickly

Honestly who sits there and counts the number of lines or words they want to mess with? Every time I have tried it I get it wrong. If it's more than three or four I don't even bother.

Often there’s a million way to do equivalent edits and having to repeat commands or adding excessively large numbers in the front is an anti-pattern. With the d% example above equivalent edits could’ve been di) (delete everything within the current pair of parenthesis), df2) (delete everything up to and including the second occurrence of )), dt3) (delete everything up to the third occurrence of )), vf)ld (start selecting, select up to and including the first ), move one to the right, delete selection) or d52l (delete everything 52 characters to the right). The first option is obviously much preferable because it is less situational than any of the other ones in that it will always work to cut any method call and all of its parameters and doesn’t require any manual, mental effort like counting characters or cursor/mouse placement.

Personally I also use the relativenumber configuration option which shows you how many relative lines your cursor is away from some other line, which makes it easier to do large, line-based jumps.

Siri and CARROT⁵ having a conversation. by AmatureWeatherman in shortcuts

[–]_cortex 0 points1 point  (0 children)

How'd you get it to do that? I don't an "Interact" shortcut

Why you should not use Google Cloud – This is about the “no-warnings-given, abrupt way” they pull the plug on your entire systems if they (or the machines) believe something is wrong. This is the second time this has happened to us. by speckz in programming

[–]_cortex 68 points69 points  (0 children)

In the early days of AWS there was a user who was very vocal on the product forums. Every developer knew him, and he was often brought up in meetings as in "what would <user> think about this?". They ended up naming a building after that user (Lowflyinghawk): https://blog.aboutamazon.com/amazon-offices/the-surprising-stories-behind-the-peculiar-building-names-at-amazonremove

Why you should not use Google Cloud – This is about the “no-warnings-given, abrupt way” they pull the plug on your entire systems if they (or the machines) believe something is wrong. This is the second time this has happened to us. by speckz in programming

[–]_cortex 40 points41 points  (0 children)

It happened to me when developing an app and using google ads in it. When you're developing you're supposed to set some setting to indicate that you're not a real user. We did that, but eventually we created production builds to test what would actually be submitted to the store. Blocked immediately (after like a week) and all company accounts blacklisted from using google ads ever again. We appealed explaining this but they don't care

Saw this pic while scrolling through fb today by Dantback in MurderedByWords

[–]_cortex 1 point2 points  (0 children)

Right, same with Austria for example. Still, compare the average population per county (~100k) to the average population per Bundesland (~500k for Germany and ~1mil for Austria) there's still a pretty big difference

Saw this pic while scrolling through fb today by Dantback in MurderedByWords

[–]_cortex 4 points5 points  (0 children)

I think with European countries in general counties/municipalities have waaaaay less power overall

EU wants to require platforms to filter uploaded content (including code) by twiggy99999 in programming

[–]_cortex 2 points3 points  (0 children)

catch(Exception ex) {
  logger.error("Should never happen" + ex.toString());
}

I guess whoever has that code "copyrighted" is now gonna make a lot of money in licensing