Skip Navigation
InitialsDiceBearhttps://github.com/dicebear/dicebearhttps://creativecommons.org/publicdomain/zero/1.0/„Initials” (https://github.com/dicebear/dicebear) by „DiceBear”, licensed under „CC0 1.0” (https://creativecommons.org/publicdomain/zero/1.0/)SU
lad @programming.dev

Rust dev, I enjoy reading and playing games, I also usually like to spend time with friends.

You can reach me on mastodon @[email protected] or telegram @sukhmel@tg

Posts 6
Comments 1.7K
Let's blame the dev who pressed "Deploy" - by Dmitry Kudryavtsev
  • True, there is a spectrum of options, and some will work much better than what we have now. It's just that when I read about holding people accountable I don't quite imagine it's going to be implemented in the optimal way, not in the first hundred years or so

  • Let's blame the dev who pressed "Deploy" - by Dmitry Kudryavtsev
  • That's just covering up, like a disclaimer that your software is intended to only be used on 29ᵗʰ of February. You don't expect anyone to follow that rule, but you expect the court to rule that the user is at fault.

    Luckily, it doesn't always work that way, but we will see how it turns out this time

  • Let's blame the dev who pressed "Deploy" - by Dmitry Kudryavtsev
  • with billions of dollars in losses

    But the real question we should be asking ourselves is "how much did tops saved over the course of the years without proper testing"

    It probably is what they are concerned about, and I really wish I knew the answer to this question.

    I think, this is absolutely not the way to do business, but maybe that's because I don't have one ¯\_(ツ)_/¯

  • Let's blame the dev who pressed "Deploy" - by Dmitry Kudryavtsev
  • This might help in some regard, but this will also create a bottleneck of highly skilled highly expensive Engineers with the accountability certificate. I've seen what happens when this is cornerstone even without the accountability that would make everything even more expensive: the company wants to cut expenses so there's only one high level engineer per five or so projects. Said engineer has no time and no resources to dig into what the fuck actually happens on the projects. Changes are either under reviewed or never released because they are forever stuck in review.

    On the other hand, maybe we do move a tad bit too fast, and some industries could do with a bit of thinking before doing. Not every software company should do that, though. To continue on the bridge analogy, most of software developers are more akin to carpenters even if they think about themselves as of architects of buildings and bridges. If a table fails, nothing good is going to happen, and some damage is likely to occur, but the scale is very different from what happens if a condo fails

  • Why Facebook does not use Git – and why most other devs do • DEVCLASS
  • Made easier to use like in when their codebase was leaked and no one had successfully built a game from it?

    in-house tools often encourage making a mess heavily reliant on those tools or working around their limitations, in my experience

  • commit messages are optional
  • Merge requests should be rather small to make it easier to review.

    With this I wholeheartedly agree

    if your work warrants multiple commits, then it probably also warrants multiple merge requests.

    With this not so much, but if you keep your merge requests so small, squashing them is no big deal, that's a good counterexample for my previous point.

    another good thing is that when we decide to release, we can easily look through the commit history for a change log. No more sifting through minor fixes commits.

    That still requires you to write meaningful messages, just a bit rarer. We do have trouble with change logs, but we had exact same problems when people squashed left and right. Maybe squashing helps self-discipline, though, I haven't thought about it that way

  • commit messages are optional
  • I agree that stash gets lost easier than a branch, but

    It can be difficult to know which stash belongs to which branch

    you know, stash also has a message to it, and afaik it remembers what branch you were on when stashed

  • commit messages are optional
  • Also, squashing is a pretty bad practice as it is. I can understand that it may make sense sometimes, but most of the time if you don't commit every other character you input, you're better off leaving some history of how your code evolved and what changes were coming together

  • <br>
  • TIL. Funny thing, though, is that they give an example of how to use <br> and have it with trailing slashes. And then explain that trailing or preceding slash will be ignored, anyway ¯\_(ツ)_/¯

  • Googling
  • That used to make sense when LLMs were not the thing, when evaluating assessments from students, half of which asked someone else and didn't bother to even read the code

  • A Boring Dystopia @lemm.ee lad @programming.dev
    www.bbc.com 'Russia now is like 1984': Inside a Russian dystopian library

    Deep in Putin's Russia, Ivanovo's George Orwell library is still lending books on totalitarianism.

    'Russia now is like 1984': Inside a Russian dystopian library

    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.

    0

    Placebo Méme Forte, now twice as efficient

    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"

    17
    me_irl @lemmy.ml lad @programming.dev

    me irl every time

    40

    Space after ::: in spoiler

    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 whitespace

    Content:::

    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 whitespace

    Content:::

    one-liner whitespace present

    Content:::

    Extra text in the end

    one-liner whitespace present

    Content

    Second extra text

    5

    Red Bean is contributing to New Year air

    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

    0

    Icons near username in comments

    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?

    5