Jr's ThoughtLab✨ – Telegram
Jr's ThoughtLab
189 subscribers
189 photos
14 videos
36 files
30 links
"We are not the reason for the existence of the universe, but our ability for self-awareness and reflection makes us special within it."

I go by the name Jr |Computer science and Engineering student |Science and Tech enthusiast.
Creator @Jpassion4me
Download Telegram
And finally this one

Excalidraw.com

My sketchbook before the chaos begins.
I use it to design dashboards, layouts, and any idea that needs to look "organized" before I turn it into code and make it slightly less organized.

Basically, it’s where my UI dreams go before CSS humbles them.
3
I was challenging myself to build dashboards without using any framework. Just plain concepts of CSS.

Afterwards, I to start frameworks like Bootstrap and Tailwind
2
The progress sofar looks like this

I have to complete the thumbnail part .
3
Learned new concept today Retrospective Evidentialism
3
It’s important to realize,
though, that there’s a
real difference in what
you’d expect to see if organisms were consciously designed rather than if
they evolved by natural selection.
Natural selection is not a master engineer, but a tinkerer. It doesn’t produce the absolute perfection achievable by a designer starting from scratch, but merely the best it can do with what it has to work with.

Mutations for a perfect design may not arise because they are simply too rare. The African rhinoceros, with its two tandemly placed horns, may be better adapted at defending itself and sparring with its brethren than is the Indian rhino, graced with but a single horn (actually, these are not true horns, but compacted hairs).

But a mutation producing two horns may simply not have arisen among Indian rhinos. Still, one horn is better than no horns. The Indian rhino is better off than its hornless ancestor, but accidents of genetic history may have led to a less than perfect “design.” And, of course, every instance of a plant or animal that is parasitized or diseased represents a failure to adapt.


Likewise for all cases of extinction, which represent well over 99 percent of species that ever lived. (This, by the way, poses an enormous problem for theories of intelligent design (ID). It doesn’t seem so intelligent to design millions of species that are destined to go extinct, and then replace them with other, similar species, most of which will also vanish. ID supporters have never addressed this difficulty.)


Credit : Why Evolution Is True by Jerry A Coyne

@JrThoughtLab
I recently stumbled upon an interesting behavior while working with arrays and loops.

The task was simple: iterate through an array, remove any integers below zero, and make a new array containing only positive numbers.

I wrote a function like this:

Javanoscript
function countPositive(arr){
for(let i = 0; i < arr.length; i++){
if(arr[i] < 0){
arr.splice(i, 1);
}
}
return arr;
}



@JrThoughtLab
🥰1
At first glance it works perfectly fine cause the number are inserted in such a way the loop excutes perfectly.
But I stumbled on this question what if we interchange the negative numbers and put them together ,consecutively .

The algorithm failed . Here is the funny part when two or more negatives appear together in a row the iterator skips over one of them and splice removes an element and shifts all remaining elements to the left causing the loop to skip the next element when it executes increment which could also be a negative .


The solution is counterintuitive but simple , just using the loops backwards instead of increment if we use decrement this works perfectly fine


function countPositive(arr){
for(let i = arr.length - 1; i >= 0; i--){
if(arr[i] < 0){
arr.splice(i, 1);
}
}
return arr;
}


The key takewways as I understand from this error is one testing in different scenarios with trick inputs before calling it done will help , second sometimes reversing the loop is easier than using a complicated logic .


@JrThoughtLab
🔥2
“The best people possess a feeling for beauty, the courage to take risks, the discipline to tell the truth, the capacity for sacrifice. Ironically, their virtues make them vulnerable; they are often wounded, sometimes destroyed.”

— Ernest Hemingway
):
1
Aaron Paul’s performance in Felina honestly doesn’t get the credit it deserves. In just a few moments, you can feel everything Jesse is carrying years of anger, fear, regret, and deep humiliation. No dramatic speeches. No over-the-top acting. Just a broken man finally facing it all.

That look on his face? It says more than a thousand words.

@JrThoughtLab
Jimmy’s speech to Kristy Esposito.

Quoted from arguably one of the greatest show of all time . Better call Saul [ Breaking Bad prequel]

“You didn’t get it [the scholarship]. You were never gonna get it. They dangle these things in front of you. They tell you you got a chance, but I’m sorry, it’s a lie, because they had already made up their mind and they knew what they were gonna do before you walked in the door. You made a mistake [shoplifting], and they are never forgetting it. As far as they’re concerned, your mistake is just… It’s who you are, and it’s all you are. And I’m not just talking about the scholarship here. I’m talking about *everything*. I mean, they’ll smile at you, they’ll pat you on the head, but they are *never, ever* letting you in. But listen. Listen. It doesn’t matter. It doesn’t because you don’t need them. They’re not gonna give it to you? So what? You’re gonna take it. You’re gonna do whatever it takes. Do you hear me? You are not gonna play by the rules. You’re gonna go your own way. You’re gonna do what they won’t do. You’re gonna be smart. You are gonna cut corners, and you are gonna win. They’re on the 35th floor? You’re gonna be on the 50th floor. You’re gonna be looking down on them. And the higher you rise, the more they’re gonna hate you. Good. Good. You rub their noses in it. You make them suffer. You don’t matter all that much to them. So what? So what? Screw them. Remember, the winner takes it all.


S4E10 ❤️
#Movie_quotes #lessons
@JrThoughtLab
1
Jr's ThoughtLab
Jimmy’s speech to Kristy Esposito. Quoted from arguably one of the greatest show of all time . Better call Saul [ Breaking Bad prequel] “You didn’t get it [the scholarship]. You were never gonna get it. They dangle these things in front of you. They tell…
We can understand that here Jimmy’s speech is more than just personal advice it’s a critique of society itself.

Institutions rarely forgive mistakes-Once someone has a blemish on their record , society often defines them by it permanently. Redemption is promised but rarely granted.

Gatekeeping by the elite- Those in power ( committees, corporations, law firms) often pretend to be fair and inclusive, but decisions are made behind closed doors.

Merit is overshadowed by bias, reputation, and conformity.

The illusion of opportunity- Society dangles opportunities ,scholarships, promotions, acceptance yet many are symbolic, designed to maintain hope while reinforcing exclusion.

Playing “by the rules” often benefits those already accepted into the system. Outsiders are pressured to either conform endlessly or break the rules to survive.

Rising above the system doesn’t earn admiration it provokes hostility. Society resents those who succeed without playing by its rules.

@JrThoughtLab
2
Forwarded from Dagmawi Babi
Netflix won the bidding war to acquire Warner Bros Discovery and I'm going to go kms now.
Dagmawi Babi
Netflix won the bidding war to acquire Warner Bros Discovery and I'm going to go kms now.
My long life plan to binge movies are gonna be ruined by The LGBT centered cooperate [Netflix] ):
Can't believe every good movies i know are written by these few individuals

Only Nolan is missing


@JrThoughtLab