[-] sukhmel@programming.dev 2 points 1 day ago

That was about what I meant, but thanks for expressing this, sorry I was vague.

[-] sukhmel@programming.dev 1 points 1 day ago

…but still edible. I usually alternate between eating kiwi whole and with a spoon ¯\_(ツ)_/¯

[-] sukhmel@programming.dev 3 points 1 day ago

You were supposed to not eat those? Well, I figured, I'm not obligated to eat everything if I want less spicy, but I never thought that those are decorative

[-] sukhmel@programming.dev 3 points 1 day ago* (last edited 1 day ago)

I first thought you were talking about waving to pedestrians to cross when you stop to let them go. Which (edit: stopping and waiting) is a correct and expected behaviour, afaik

[-] sukhmel@programming.dev 4 points 1 day ago* (last edited 1 day ago)

Is there anything more specific to connect Red Bull and alt-right? I'm not exactly a fan of Red Bull, but I wonder if there's any real reason to avoid them

Edit: I see in another comment

Servus TV is a TV station based in Wals-Siezenheim in the Austrian state of Salzburg and owned by Red Bull Media House GmbH, a subsidiary of Red Bull GmbH ... It is politically aligned with the far right.

which is not a 100% convincing of what company as a whole is, but indeed is not good

[-] sukhmel@programming.dev 1 points 1 day ago

Are we still talking about COBOL?

[-] sukhmel@programming.dev 1 points 2 days ago

To be fair, I disagree with all the points author makes, except for performance which is important but may be less important than code clarity in different cases. I am surprised that exceptions perform that well, and I am surprised the author said that compared C++ exceptions to Rust results, but actually did the right thing and compared C++ exceptions with C++ expected first. I thought it was going to be one of those "let's compare assembly to lisp"

[-] sukhmel@programming.dev 3 points 2 days ago

Yeah, I shaped my words poorly. What I meant is that errors are sort of equivalent to exceptions, but errors are first class citizens of type system, and this is an improvement over exceptions being kind of independent of type

[-] sukhmel@programming.dev 4 points 2 days ago

I'm just going to ask, without making assumptions. Have you managed to cut some time to read the article and find an answer?

[-] sukhmel@programming.dev 4 points 2 days ago

you never know what code your function or library calls that can produce an exception

As far as I remember, there were several attempts at introducing exceptions into type system, and all have failed to a various degree. C++ abandoned the idea completely, Java has a half-assed exception signature where you can always throw an unexpected exception if it's runtime exception, mist likely there were other cases, too.

So yeah, exception as part of explicit function signature is a vast improvement, I completely agree

[-] sukhmel@programming.dev 6 points 2 days ago

I feel like this will have zero protection against

if (result.isSuccess()) {
    handle_error(result.error);
} else {
    do_something(result.value);
}

Besides, this is exactly what the comment said about having to constantly check for return values at call site. I think this may be mitigated by some clever macro-magic, but that will become a mess fast.

[-] sukhmel@programming.dev 8 points 2 days ago

I don't know the answer to your question, but I think that what is needed is just a bit of syntactic sugar, e.g. Rust has ? for returning compatible errors without looking into them. That seems to be powered by Try trait, that may be a monad, but I am not fluent enough to check if it formally is.

17

Dystopia in the books has stark contrasts, great oppression, heroic moves. A boring real-life dystopia seems to mainly consist of tired people trying to cope with life while half-believing the propaganda and not upsetting themselves too much on one side, and equally tired people doing their best to rebel however they can on the other.

If the billboards in Ivanovo are to be believed, Russia’s really going places.

“Record harvest!”

“More than 2000km of roads repaired in Ivanovo Region!”

“Change for the Better!”

In this town, a four-hour drive from Moscow, a giant banner glorifying Russia’s invasion of Ukraine covers the entire wall of an old cinema. With pictures of soldiers and a slogan:

“To Victory!”

These posters depict a country marching towards economic and military success.

But there is one place in Ivanovo that paints a very different picture of today’s Russia.

I’m standing outside it. There’s a poster here, too. Not of a Russian soldier, but a British novelist. George Orwell’s face stares down at passers-by.

The sign above it reads The George Orwell Library. George Orwell library in Ivanovno The small library keeps books about totalitarianism and dystopian worlds

Inside, the tiny library offers a selection of books on dystopian worlds and the dangers of totalitarianism.

There are multiple copies of Orwell’s classic novel Nineteen Eighty-Four; the story in which Big Brother is always watching and the state has established near-total control over body and mind.

“The situation now in Russia is similar to Nineteen Eighty-Four,” librarian Alexandra Karaseva tells me. “Total control by the government, the state and the security structures.”

In Nineteen Eighty-Four, the Party manipulates people’s perception of reality, so that citizens of Oceania believe that "war is peace" and "ignorance is strength".

Russia today has a similar feel about it. From morning until night, the state media here claims that Russia’s war in Ukraine is not an invasion, but a defensive operation; that Russian soldiers are not occupiers, but liberators; that the West is waging war on Russia, when, in reality, it was the Kremlin that ordered the full-scale invasion of Ukraine.

“I’ve met people who are hooked on TV and believe that Russia isn’t at war with Ukraine, and that the West was always out to destroy Russia,” Alexandra says.

“That’s like Nineteen Eighty-Four. But it’s also like Ray Bradbury’s novel Fahrenheit 451. In that story the hero’s wife is surrounded by walls that are essentially TV screens, talking heads telling her what to do and how to interpret the world.”

Alexandra Karaseva thinks Orwell's novel is now the reality in Russia

It was a local businessman, Dmitry Silin, who opened the library two years ago.

A vocal critic of the Russian invasion of Ukraine, he wanted to create a space where Russians could “think for themselves, instead of watching TV”.

Dmitry was later prosecuted for “discrediting the Russian armed forces”. He’d been accused of scrawling “No to war!” on a building. He denied the charge. He has since fled Russia and is wanted by police.

Alexandra Karaseva gives me a tour of the library. It’s a treasure trove of literary titans from Franz Kafka to Fyodor Dostoevsky. There is non-fiction, too; histories of the Russian Revolution, of Stalin’s repressions, the fall of communism and of modern Russia’s failed attempts to build democracy.

The books you can borrow here are not banned in Russia. But the subject matter is very sensitive. Any honest discussion of Russia’s past or present can bring problems.

Although not banned, the contents of the books at the library can bring problems

Alexandra believes in the power of the written word to bring change. That’s why she is determined the library stays open.

“These books show our readers that the power of autocratic regimes is not forever,” Alexander explains. “That every system has its weak points and that everyone who understands the situation around them can preserve their freedom. Freedom of the brain can give freedom of life and of country.”

“Most of my generation had no experience of grassroots democracy,” recalls Alexandra, who is 68. “We helped destroy the Soviet Union but failed to build democracy. We didn’t have the experience to know when to stand firm and say ‘You mustn’t do this.’ Perhaps if my generation had read Ninety Eighty-Four, it would have acted differently.”

Eighteen-year-old Dmitry Shestopalov has read Ninety Eighty-Four. Now he volunteers at the library.

“This place is sacrosanct,” Dmitry tells me. “For creative young people it’s a place they can come to find like-minded citizens and to get away from what’s happening in our country. It’s a little island of freedom in an unfree environment.”

As islands go, it is, indeed, little. Alexandra Karaseva is the first to admit that the library has few visitors.

By contrast, I find a large crowd in the centre of Ivanovo. It’s not Big Brother people have stopped to listen to. It’s a Big Band.

In bright sunshine an orchestra is playing classic Soviet melodies and people start dancing to the music. Chatting to the crowd I realise that some Russians are more than willing to believe what the billboards are telling them, that Russia’s on the up.

“I’m happy with the direction Russia’s heading in,” pensioner Vladimir tells me. “We’re becoming more independent. Less reliant on the West.”

“We’re making progress,” says a young woman called Natalya. “As Vladimir Putin has said, a new stage for Russia has begun.”

But what about Russia’s war in Ukraine?

“I try not to watch anything about that any more,” Nina tells me. “It’s too upsetting.”

Back at the George Orwell Library they’re holding an event. A local psychologist is finishing a lecture on how to overcome "learned helplessness" and believe you have the power to change your life. There are ten people in the audience.

Pro-invasion propaganda is a fact of daily life in Russia now

When the lecture ends, librarian Alexandra Karaseva breaks the news.

“The building’s been put up for sale. Our library has to move out. We need to decide what to do. Where do we go from here?”

The library’s been offered smaller premises across town.

Almost immediately one woman offers her van to help with the move. Another member of the audience says she’ll donate a video projector to help the library. Others suggest ideas for raising money.

This is civil society in action. Citizens coming together in time of need.

Admittedly, the scale is tiny. And there’s no guarantee of success. In a society with less and less space for “little islands of freedom,” the library’s long-term future is uncertain.

But they’re not giving up. Not yet.

377

Image with a text, an image is of a blue top, white bottom pill laying on a red background.

The top text reads: "This is a placebo meme".

The bottom text is: "Studies show placebo Memes are still reacted to even when users know they are a placebo"

429
me irl every time (64.media.tumblr.com)
submitted 6 months ago by sukhmel@programming.dev to c/me_irl@lemmy.ml
6

It seems that the web UI treats spoilers without a space after ::: the same as the regular ones, while Thunder ignores those as spoilers. It looks like the closing spoiler marker may be entered without whitespace but it consumes extra text after the spoiler, and overall acts weird

I can create an issue if that's needed, or this post may be referenced in an existing issue to be used as a test

no whitespace Content
whitespace present Content
one-liner no whitespaceContent
one-liner whitespace present Content
Extra text in the end
one-liner whitespace present Content
Second extra text

produces

no whitespace

Content

whitespace present

Content

one-liner no whitespaceContent

one-liner whitespace presentContent

Extra text in the end

one-liner whitespace presentContent

Second extra text

45
submitted 8 months ago by sukhmel@programming.dev to c/cat@lemmy.world

It's going to be her first New Year 😅

We don't erect a new year tree but there was a storm that broke lots of branches off trees, so we used one of those to create a holiday air

11

I can't seem to find a definition for different kinds of icons Sync uses for special users, e.g. I know how OP and my account are denoted, I have seen bot accounts marked, also I guess that I have seen a mark where a user blocked me.

Is there a place where I can check what each pictogram means and what are the possible ones?

view more: next ›

sukhmel

joined 1 year ago