Войдите или зарегистрируйтесь
Вы сможете писать комментарии и посты, ставить лайки и другое
Поиск
Тёмная тема

Quentin Tarantino's social media (all ZERO of them)

Quentin Tarantino on Twitter? Nope, the dude doesn't have an account.
Posting on Facebook? Nah, he couldn't care less about Facebook.
Maybe he's sharing pics on Instagram? Nope 😂
Okay, so maybe he started a YouTube channel? Hell no! 😂😂

Quentin Tarantino isn't on social media. Period. If you've stumbled across an account, it's fake, so don't fall for it.

Bottom line: good ol' Tarantino isn't into showing off on social media himself. Interviews, though? Oh, he LOVES showing off there. 😂 He loves women's feet and his own movies.

"I love them. I love my movies. I'm making them for me. Everybody else is invited."

That's him talking to Howard Stern. So what's left for us? Digging through podcasts, hunting for his latest interviews.
+2
12

Quentin Tarantino and his foot fetish: a complete list of all his films featuring scenes with feet and legs - photos and videos

Fans of Quentin Tarantino know that he has a foot fetish. For those unfamiliar with the term: it's when a man has a particular fascination with women's legs, and even more so with their feet. It's safe to say that Quentin Tarantino is the most famous foot fetishist in the world.

Let's start with Quentin Tarantino's first real film - Reservoir Dogs (1992). I'm skipping "My Best Friend's Birthday", as it was never officially released.
There's nothing related to foot fetishism in Reservoir Dogs: the film features only tough men. Women appear only briefly in a few background scenes. I found just one scene where a woman is shown in the foreground - the carjacking moment.
Показать полностью...
+7
441

The foreman at the dock from The Naked Gun made it into the third film (actor Joe Grifasi)

Remember that memorable interrogation scene on Pier 32 from The Naked Gun?
The actor who played the sleazy dock foreman is named Joe Grifasi.
Показать полностью...
+5
27

Nuxt 3 and 4: issue with multiple navigateTo calls

At work, on one of our projects, I ran into an issue in Nuxt 4 where a page component needs to perform different redirects via navigateTo() based on various conditions during the execution of the setup function. Something like this:

<template>
  Some page
</template>

<script lang="ts" setup>
if (1 + 1 === 2) {
  await navigateTo('/?abc=1', {
    redirectCode: 302,
  });
}

if (2 + 2 === 4) {
  await navigateTo('/?abc=2', {
    redirectCode: 302,
  });
}

if (3 + 3 === 6) {
  await navigateTo('/?abc=3', {
    redirectCode: 302,
  });
}

if (4 + 4 === 8) {
  await navigateTo('/?abc=4', {
    redirectCode: 302,
  });
}
</script>

This is where the problem appears: in the end, the redirect always goes to the very last URL, i.e. in the example above the navigation ends up at /?abc=4. I dug into the documentation but couldn't find anything built-in to prevent subsequent navigateTo calls from being triggered. It seems this behavior is related to vue router.

You can't write it like this either:
if (1 + 1 === 2) {
  await navigateTo('/?abc=1', {
    redirectCode: 302,
  });
  return; // not allowed in script setup
}

In the end, the only solution that worked was introducing a boolean variable and checking it before calling navigateTo:
let isAlreadyRedirected = false;

if (1 + 1 === 2) {
  await navigateTo('/?abc=1', {
    redirectCode: 302,
  });
  isAlreadyRedirected = true;
}

if (!isAlreadyRedirected && 2 + 2 === 4) {
  await navigateTo('/?abc=2', {
    redirectCode: 302,
  });
  isAlreadyRedirected = true;
}

if (!isAlreadyRedirected && 3 + 3 === 6) {
  await navigateTo('/?abc=3', {
    redirectCode: 302,
  });
  isAlreadyRedirected = true;
}

if (!isAlreadyRedirected && 4 + 4 === 8) {
  await navigateTo('/?abc=4', {
    redirectCode: 302,
  });
  isAlreadyRedirected = true;
}
Once again: this is the only thing that solved the problem for me. If you have any other solution, please let me know.
Показать полностью...
+2
9

Misleading naming in JavaScript: atob() and btoa()

JavaScript has two globally available metods for working with Base64: atob() and btoa(). Their names clearly look like they were borrowed from older languages. In C, for instance, the standard library includes functions like atoi and atof:

#include <stdlib.h>

char str[] = "123";
int num = atoi(str); // 123

atoi means ASCII to integer, and atof means ASCII to float (though in reality it returns a double).

So what do you think the atob function does in JavaScript? ASCII to Base64? In other words, converting a regular string into a Base64 string? Nope! It does the exact opposite: it converts a Base64 string into a "regular" string. And btoa, in turn, converts a regular string into Base64!

console.log(btoa('Famabara')); // 'RmFtYWJhcmE='
console.log(atob('RmFtYWJhcmE')); // 'Famabara'

Who thought it was a good idea to swap the names like that? Love JS.
+2
49

AI news has completely taken over tech news

Honestly, I'm getting bored of reading tech news lately. It feels like every single headline these days is AI this, AI that. And that's it. Nothing else seems to exist anymore. As if the entire tech industry has been reduced to neural networks.

What do tech publications even write about now? "ChatGPT solved some math problem!" "Anthropic's agent swarm hacked something!" And a hundred variations of the same story.

Where's the actual tech news? You know, the stuff we used to read back in the good old days? Golang 1.27 added generic methods, for example. And apparently nobody gives a shit anymore. A lot of Go developers have wanted this for ages. Generics were introduced in Go 1.18, but they didn't work with methods and now they do. That's a pretty damn cool change! Did you see it covered by tech news sites and bloggers anywhere near as much as the latest AI hype? Of course not.

Or take the webfrontend world. TypeScript 7 has been rewritten in Go, which is a huge deal. It makes TS-JS compilation significantly faster, and that's something that actually affects millions of developers. But somehow that cool story gets buried under yet another article about some NVIDIA chip nobody asked for or another pointless ChatGPT model update.

I miss when tech news was actually about technology, not just whatever AI company did something vaguely interesting this week.
+3
31

TypeScript 7 vs TypeScript 5 (real project measurements)

Hi guys. Without further ado, here are my real build time measurements for the TS project.

TypeScript 5
time npm run build

real    0m2,936s
user    0m5,075s
sys     0m0,289s

TypeScript 7
npm run build

real    0m0,520s
user    0m1,940s
sys     0m0,335s

real time comparison: 2.936s vs 0.520s, so TS 7 is 5.64 times faster.
I like the 7th Typescript! 😎
+1
32

Spanish yo pronunciation

I have to learn Spanish because my job involves communicating with people from Latin America. I'm learning mostly from a textbook, but sometimes I watch YouTube videos where people speak Simple Spanish.

Every textbook says that the pronoun *yo* is pronounced /ʝo/ (I copied from website, something like “yoh”)

But every now and then, I get recommended videos of people having conversations on the streets of Spain. And there, like every other person in Barcelona seems to pronounce the first sound more like a “j.” And none of the textbooks ever mention that....

Also, the textbooks never warn you how ridiculously fast people speak Spanish in real life. I can barely make out half the words.
+1
8

How wind turbine power depends on blade length: looking at real data

Wind turbines keep getting bigger every year. There's one main reason for that: the longer the blades, the more powerful the turbine. But couldn't you just install two smaller turbines instead of one large one? To answer this, let's take a look at real-world data.

Goldwind is a Chinese wind turbine manufacturer. Here are photos of their operating turbines from the company website:
Goldwind GW 82 / 1500 - output: 1500 kW (1.5 MW). Rotor length: 82.3 meters, meaning a blade diameter of roughly 41.15 meters.

Goldwind GW 171 / 6000 - output: 6000 kW (6.0 MW). Rotor length: 171 meters, giving a blade diameter of about 85.5 meters.

Even here you can already see that the relationship between blade length and output is nonlinear. The second turbine's blade is 2.07x longer, but the power is 4x higher!

Vestas is a wind turbine manufacturer from Denmark (their turbines are shown in the next photo):
Показать полностью...
+3
65

That overfilled-lips joke in 28 Years Later

In the British zombie flick 28 Years Later, a soldier shows the boy hero a photo on his phone - his girlfriend, all trout pout and fake curves:
For anyone who hasn't seen it: the kid grew up on an island version of Great Britain, locked down hard, zombies roaming everywhere, no real doctors around - so obviously nobody's getting lip fillers or a boob job there. Meanwhile over in Europe, life's carrying on like normal, no zombies in sight.
Показать полностью...
+2
10