Readit News logoReadit News
code_sloth commented on How QUIC is displacing TCP for speed   engineeringatscale.substa... · Posted by u/animesh371g
TomSwirly · 2 years ago
If this were a photo, would you expect the infant launched high in the air like a basketball to survive?
code_sloth · 2 years ago
Do you expect all memes and jokes to be absolutely harmless and 100% politically correct for every nation/culture/race/gender/<group>?
code_sloth commented on “Healthy obesity” doesn’t exist. It is unequivocally bad for you   bigthink.com/health/healt... · Posted by u/Brajeshwar
kennywinker · 3 years ago
> I get to eat what I want and sit around all day? Hell yeah!

I am naturally thin. That statement ("i get to eat what i want and sit around all day") is true of my body. Is it such a strange idea that there are as many people who are naturally thin as there are that are naturally fat? Those people aren't making a choice to be fat any more than i am making a choice to be thin. Why should they feel bad about their body?

code_sloth · 3 years ago
You might be genetically blessed, others might be genetically cursed.

Some are genetically predisposed to becoming fat. Its still a fact that they are fat. And being fat comes with associated health risks.

code_sloth commented on Oracle per-employee Java pricing causes concern   infoworld.com/article/368... · Posted by u/msolujic
code_sloth · 3 years ago
This seems a slow death in the long term to me.

1. Customers that balk at this cost will switch to other cheaper/free vendors.

2. Oracle imposes even more onerous costs to maintain revenue.

and repeat.

At some point either Oracle gives up, or they attempt to extract revenue from vendors as well. The latter will probably result in a some kind of fork.

code_sloth commented on Functional programming is not popular because it is weird (2016)   probablydance.com/2016/02... · Posted by u/l5870uoo9y
pjmlp · 4 years ago
JVM is written in a mix of Java and C++, let me know when they start rewriting it in Kotlin.

Groovy was all the adoption rage across German JUGs back in 2010, then everyone was going to rewrite the JVM in Scala, or was it Clojure?

Now a couple of places are adopting Kotlin outside Android, nice, eventually will migrate back in about 5 years time.

https://trends.google.com/trends/explore?q=%2Fm%2F07sbkfb,%2...

code_sloth · 4 years ago
> JVM is written in a mix of Java and C++, let me know when they start rewriting it in Kotlin.

This is less relevant today. The host blessed languages do have an advantage, but I would not say it is insurmountable. It might have been the case in the past, but the modern JVM is a platform, it is no longer a glorified Java language interpreter.

> Now a couple of places are adopting Kotlin outside Android, nice, eventually will migrate back in about 5 years time.

Maybe. Maybe not. Most developers I talked to that have experienced the transition do not want to go back to Java.

This isn't to say Java will die. It will continue to thrive. But Java dominance (on the JVM or as a whole) isn't a sure thing anymore.

code_sloth commented on Functional programming is not popular because it is weird (2016)   probablydance.com/2016/02... · Posted by u/l5870uoo9y
pjmlp · 4 years ago
Kotlin's future is tied to Android.

On the JVM it is like trying to replace C on UNIX.

code_sloth · 4 years ago
Both of my last 2 large bank gigs (kind of the last places you'd expect cutting edge tech) were going all in on Kotlin. New projects were Kotlin only, and there was active work on sunsetting/migrating Java applications towards Kotlin. None of these were Android applications.

Sure, this is anecdotal. But I'd say the same of Java's dominance in the JVM space. Java's continued dominance is not a sure thing from my vantage point.

code_sloth commented on We Don’t Use Docker   launchyourapp.meezeeworko... · Posted by u/mundanerality
victorronin · 5 years ago
It's super simple and it works for you - yeay! great! If it will continue to work for you - double yeay!

However, as soon as I read, I saw a lot of red flags:

- Do you really want to copy from a development computer to your production? No staging at all? ("go test" doesn't mean that you have 0 bugs)

- Are you really sure that everything works exactly the same on different versions of GoLang? (Hey, a new guy in your company just installed unreleased Go 1.17, build on his notebook and pushed to production)?

- That VM with systemd died at 1am. No customers for you until 7am (when you wake up)

BTW. I am not saying that you should do Docker or CICD. The thing which I am saying that when you cut out from your process too much, you are increasing risks. (As an example, you didn't remove unit tests part. Based on "Anything that doesn’t directly serve that goal is a complication" you probably should have. However, you decided that it would be way too much risk)

code_sloth · 5 years ago
> Do you really want to copy from a development computer to your production? ...

> Are you really sure that everything works exactly the same on different versions of GoLang? ...

He mentions he does have a build server which runs a 10 line shell script to download code and build the binary.

Builds happen on that server, and I assume it handles deploying the compiled binary (and systemd script?) to the target as well.

The build server would also have a "blessed" golang version. New guy code that uses new not-yet-blessed features would not compile.

> That VM with systemd died at 1am...

Your docker host died. All your containers die along with it. Docker alone cannot solve this category of issues anyway.

code_sloth commented on Dennis Ritchie’s first C compiler (c. 1972)   github.com/mortdeus/legac... · Posted by u/jnord
amyjess · 5 years ago
I have to say, the way indentation and brackets were done here looks like it's just inviting subtle bugs. Take this for example:

    if (peekc) {
      c = peekc;
      peekc = 0;
     } else
      if (eof)
       return(0); else
       c = getchar();

code_sloth · 5 years ago
If you judge the coding style of the early 1970s with modern standards, it isn't going to look great. 50 years is a loooong time.

dmr was one of, if not the first C programmer(s).

code_sloth commented on Permanent suspension of @realDonaldTrump   blog.twitter.com/en_us/to... · Posted by u/minimaxir
quotemstr · 5 years ago
> The 75,000,000 great American Patriots who voted for me, AMERICA FIRST, and MAKE AMERICA GREAT AGAIN, will have a GIANT VOICE long into the future. They will not be disrespected or treated unfairly in any way, shape or form!!!

> To all of those who have asked, I will not be going to the Inauguration on January 20th.

Imagine living in a society where saying either of these things is a banning offense. To all the censorship apologists here: you've given unelected and unaccountable people at big tech companies the ability to decide what people can say in public. Is that really the world you want to live in?

code_sloth · 5 years ago
> Imagine living in a society where saying either of these things is a banning offense.

These tweets HAVE to be taken in context. It would be disingenuous to take every single one of his tweet at face value without considering his influence and position. He's dog whistled enough in the past, and look where that led.

> .. what people can say in public

Twitter != public Twitter cannot prevent you from physically speaking your opinion

The very idea of "freedom of speech" translates pretty poorly in the era of social media. Giving someone the freedom to speak their mind is orthogonal from giving them the ability to instantly amplify and broadcast their speech.

code_sloth commented on Singapore says contact tracing data may be used for criminal investigations   channelnewsasia.com/news/... · Posted by u/acekingspade
baybal2 · 5 years ago
Can attest this being not the case, unless you are a bank, and can hire gazillion of local barristers to keep up with frequently changing regulatory theatrics.

For example, labour laws are faaar from what people imagine of Singapores ultracapitalist image.

code_sloth · 5 years ago
I actually have family there, and they have literally transitioned from near poverty to upper middle class in 2 decades. This was pretty widespreadc, but gradually becoming forgotten as the younger generations grow up in comforts that their precessors never knew.

A lot of this is due to their education system. It can be outright propaganda at times, but it has proven very effective at increasing literacy nation wide.

They've also made internet access an strategic initiative. When you marry a literate population with (generally, wink wink) free access to information and a seemingly draconian government, you get a very interesting bunch of people.

code_sloth commented on Facebook Is a 'Super Spreader' of Election Misinformation   newsweek.com/facebook-sup... · Posted by u/doener
Dansvidania · 5 years ago
People spread misinformation on Facebook. Arguably, it's not Facebook's responsibility to fact-check anything.

Facebook is not a publishing house (at least not the Facebook social media platform as such) and mandating that they fact check and curate their ads and content is tricky business. It requires a legal definition of truth, which is a matter complex enough to justify the existence of the whole judiciary system.

Expecting that a condensation of such a system be applied to the publishing of information on any platform is wishful thinking at best.

Edit: Corrected typos

code_sloth · 5 years ago
In the "old" days, people had to actively look for or click through to get misinformation on platforms. Facebook's algorithm now shoves posts into user's feed, which is optimized for engagement. We're all seeing now where that has led, and it's not going to get any better if nothing changes.

Facebook keeps hiding behind the claim that they are a neutral platform when their own man made algorithm optimizes user feeds for ad/content delivery to maximize profit. Whether the developers meant to or not, that algorithm has actively spread and amplified misinformation, even polarizing entire nations.

If facebook cannot tame (identifying "truth") what they have made (their algorithmic feed), they should kill it. It does not matter if this taming is possible or not, because they do have the ability to terminate the algorithm.

u/code_sloth

KarmaCake day237May 8, 2016View Original