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

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.
+2
22

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
12

The real altitude of spaceflight

Humans have been flying to space since 1961 - that's over 60 years now. These days, we even have tourist spaceflights. In sci-fi movies, people travel between planets, stars, and even galaxies.

But what is space from the perspective of aviation and astronautics? Technically, it starts somewhere between 100 and 122 kilometers above Earth's surface. The range exists because different organizations define the boundary of space slightly differently.

Is 120 kilometers really that high? The average diameter of our planet is 12,742 kilometers - quite a lot. Below, I drew a simple picture to show what a spaceflight looks like to scale:
See that tiny red dot? That’s our trip to "outer space". Not exactly impressive, right? For comparison, the International Space Station orbits at an altitude of about 418.2 km - on this scale, its point would only be a couple of pixels higher.

Human technology is still in its infancy. Legally, we can say we fly to space - but in reality, it looks more like what you see above. As for interplanetary travel, so far, only our robots have made the journey.
+3
71

The expectation paradox: he wanted a boy, but kept having girls

A man has five children - all girls. He dreams of a son, an heir! Now his wife is pregnant again. Let's skip the psychology behind all this and focus on the probabilities.

Emotionally, it feels like after five girls in a row, a boy is due. Surely, the odds of finally having a son are much higher now.

But this is a textbook example of the gambler's fallacy - the false belief that if something happens repeatedly, the opposite is bound to happen soon. That's not how probability works.

According to math, the chance of having exactly five girls in a row followed by another girl is 1 in 64, or about 1.6%. But those five girls are already here. The only thing that matters now is the next birth.

And the odds of having a boy? Still 50/50. Every birth is an independent event (assuming randomness), so the previous outcomes don't change the next one.

So yes, there's still a 50% chance they'll have another girl.
+3
74

An argument against moon landing conspiracy theorists

I have a friend who believes in the moon landing conspiracy - you know, one of those people who think the Americans never actually went to the Moon.

He's convinced the whole thing was staged, masterfully filmed by movie directors. Arguing with him is almost pointless - he says every photo is fake. The fact that even Soviet scientists never questioned the authenticity of the American Moon landing doesn't matter to him.

But there's one argument that made him stop and think. No, I didn't manage to change his mind, but at least I got him to shut up for a while - confused him, so to speak.

The argument went like this: "So what, they faked all their Moon landings?"
Funny thing is, he didn't even know that the Americans went to the Moon not once, but several times.

Here's the list of all Moon missions:
Apollo 11 - July 16, 1969
Apollo 12 - November 14, 1969
Apollo 14 - January 31, 1971
Apollo 15 - July 26, 1971
Apollo 16 - April 16, 1972
Apollo 17 - December 7, 1972

So according to the "logic" of Moon landing deniers, the Americans didn't fake it just once - they supposedly faked it six times, along with all the photos, videos, and even the Moon rocks they brought back.
+3
49

Latest changes on Famabara

Fixed a bug with displaying the number of unread comments.

Improved error display when mobile internet connection is lost.

Added a sticky loader when saving a comment.

Improved aria-attributes for screen readers.

Added Open Graph support for some pages.

When publishing a post, a like is automatically added to the published post.

In open posts, a button icon was added to quickly jump to comments.

Separate language-specific home pages were created on sub-URLs like /es, /de, etc.

The site header is now fixed at the top on most pages.
+2
144

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.
Показать полностью...
+5
337

What does Famabara mean?

Famabara means... nothing :)

I wanted to come up with a pleasant-sounding and at the same time meaningless word.
There is only one Famabara in the world and you are now on it.
+2
100

Preformatted text

Famabara supports preformatted text now. You can use it inside posts and comments.

Just write some text between triple backticks "```".
Backticks must be placed in the beginning of a new line.

const years = [2024, 2030, 2050];
for (const year of years) {
  console.log(year);
};
It can be useful when showing some code - all spaces are saved:
<div>
  <div>
    Some text
  </div>
  <div>
    Other text
  </div>
</div>
+2
90

Search and tags subscriptions

Several useful changes have been added to the site over the past few days.

First, search was added to Famabara. All posts are indexed automatically.

Secondly, users can now subscribe to tags.

Of course, many minor changes have been made to improve the interaction with the site.
+2
61

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
46

Famabara languages

Famabara currently supports 4 languages: English, Spanish, German and Russian.

The language setting affects the site interface. Also, the language must be specified when creating a post.
+2
103

What technologies does Famabara use?

Famabara website uses Nuxt 3 as frontend. I like VueJS very much, that's why Nuxt was chosen.

SSR approach allows to have normal HTML on first page load and fast page switch due to SPA mode.

In backend Famabara uses Postgresql, NodeJS, Redis, Go.
+2
152

Quotes in posts and comments

Famabara now supports quotes in posts and comments. Write ">" character in the beginning of a new line and this line will become a quote.

Example:

I want to eat 3 pizzas.
No, don't do it!

I want to eat an apple.
And a peach.
That's a good idea!

The text I wrote:
> I want to eat 3 pizzas.
No, don't do it!

> I want to eat an apple.
> And a peach.
That's a good idea!

Stay with Famabara!
+3
72

Syntax highlight in preformatted text

Write language name after triple backticks (```) and content of preformatted text will be highlighted.
This is example:
 ``` ts
 let projectName: string|null = null;
 projectName = 'Famabara';
 ```
Of course, you shouldn't start backticks-line with a space.

Golang syntax highlight example:
package main

import "fmt"

func main() {
	fmt.Println("Hello, from Go!")
}

Javascript syntax highlight example:
console.log(2**2**3); // 256
console.log(2**(2**3)); // 256
console.log((2**2)**3); // 65

SQL example:
SELECT p.id, p.title FROM posts p LIMIT 10;

For C++ write "cpp", not "c++".
For C# write "csharp", not "c#"

Famabara uses highlight.js for syntax highlight.
+2
57

The coziest place in Resident Evil

What's the coziest place in the entire Resident Evil series? Easy - the save room with the typewriter.
Every other area keeps you on edge, even when the map says you've cleared everything. But the moment you step into a save room, all that tension just melts away.

It's such a brilliant psychological effect, especially in the games where the save room theme starts playing. Resident Evil 3, like in the screenshot above, oddly doesn't have that iconic music, but you still instantly know you're safe and nothing can hurt you there.
+1
11

Famabara is live

Two years of development and now I can finally say with joy that Famabara is ready to show itself!

All the minimum required functionality is ready. Posts can be written, comments can be written, everything can be liked, added to favorites, etc.

In the near future, it is planned to implement the ability to create polls in posts.
+2
183

Some recent changes on Famabara

You can now insert previously uploaded images and videos into posts and comments by selecting them from a list.

If, while editing a post, a user accidentally deletes a content block, it can now be restored using a button in the notification in the corner of the screen.

New types of complaints have been added: content created by a AI and copyright infringement.

The project rules have been updated.

A small profanity check is now performed when saving a post or comment.
+2
60

A dried-up future New York in The Fifth Element

In The Fifth Element, there's a brief and easily overlooked scene in the middle of the movie where a spaceship takes off toward Fhloston Paradise. It only lasts a couple of seconds, but if you pause and take a closer look, you'll notice an interesting detail from the director.
I've numbered the key spots in the screenshot.

What we see is New York of the future. The ocean level has dropped dramatically, making the city look almost unrecognizable. The only question is - where could all the water have gone for sea levels to fall that much?

1 - The Statue of Liberty. It looks taller because of the extended base underneath.
2 - This marks the future ocean level. Somehow the ice caps didn't melt to add more water to the seas. Did humanity ship the water off to other planets?

3 - Manhattan, 4 - Brooklyn, 5 - The Brooklyn Bridge connecting them. With the water gone, the bridge is now spanning a canyon instead of a river.

And on what used to be the ocean floor, they've built a spaceport.
Показать полностью...
+5
27

Flushing the toilet less often is not environmentalism

At a hotel, there was a sign next to the toilet that said:
Dear guest,
We can conserve our water resources by avoiding unnecessary toilet flushing.
You, too,
Be a drop of water
For our future

Why is this nonsense?

First of all, how exactly do they expect people to flush the toilet less often? Leave urine sitting there so it can stink and create stains and buildup on the bowl?

Secondly, this kind of water conservation can actually make things worse for the environment. I once watched a TV program where sewer system workers explained that people nowadays use less water, which means there is less flow in the sewer pipes. As a result, blockages occur more frequently, waste is carried away less effectively, and maintenance costs increase. In the end, this drives up water prices for consumers. So there is no real financial benefit either.

Workers at wastewater treatment plants have made similar complaints. Because people use less water, treatment facilities receive more concentrated and polluted wastewater. It is harder to process, produces stronger odors, and can cause unpleasant smells to spread for miles around the treatment plants.

There is no real environmental benefit here. It's just the appearance of caring about the environment rather than actually helping it.
Показать полностью...
+3
12