What is Hackers' Pub?

Hackers' Pub is a place for software engineers to share their knowledge and experience with each other. It's also an ActivityPub-enabled social network, so you can follow your favorite hackers in the fediverse and get their latest posts in your feed.

0
0
0
0
0
0
0
0
0

@NotImpressed@mas.to i also oppose a US led regime change, and you're right to distrust how the western media is spinning things, they are lying and distorting the nature of the protests to suit their intersts, but it' important we support the Iranian people, and they are in a very difficult system having to deal with both their own brutal theocratic government and constantly attacks,threats and psychological operations from the US and Israel. and I we shouldn't see them as mere pawns in some imperialist chess board, but people we have shared interests with.

0
0

Is this Swift Concurrency replacement for DispatchQueue.asyncAfter() functionally equivalent (and the best solution)? Seems to work correctly, but I haven't been able to find any good explanations for migrating from using DispatchQueue to Swift Concurrency.

Swift language source code showing use of DispatchQueue to wait 2.5 seconds:

            // original code
            DispatchQueue.main.asyncAfter(deadline: .now() + 2.5) {
                withAnimation(.smooth) {
                    showHomeScreen = true    // this is a @State variable
                }
            }
Swift language source code showing use of Swift Concurrency to wait 2.5 seconds:

            // new code
            Task { @MainActor in
                try await Task.sleep(for: .seconds(2.5))
                withAnimation(.smooth) {
                    showHomeScreen = true	// this is a @State variable
                }
            }
0
0
1
0
0
0
0
1
0
0
0
0
1
0
0

CASTING NO SHADOW

He felt bored one day and decided to go see a movie, no matter which one. So he walked down Martín de los Heros street, entered a cinema and chose a random French film. This was the most important decision in his life: almost instantly, he fell in love with the actress. She was young, pale-skinned, hair black as night, eyes like a universe. When the film ended he already felt a missing piece inside his heart.

He realized he was unable to express that love in words; so big, so overwhelming, so eerie. He had no alternative than to keep living his life: lost some friends, met new others, found a job in number crunching, as he liked to say.

Years passed and he missed no new movie featuring her; he saw great stories, mediocre films and crappy flicks just because she was there. Every time the screen showed her face he felt like a delightful rendez-vous: how is you life, are you doing well, missed you so much. And every time he felt his heart breaking into pieces. Sometimes he even cried, his face covered by his hands, warm tears in the dark theater, always surrounded by strangers. Because love hurts, love is like a sickness, love is a strange and silent death.

One day, on one of those occasions when disappointments pile over each other, he decided to travel to Paris. Once there he felt he also loved the streets, the corners, the chimneys; it was a world that was a bit like her, a bit part her. He also felt the sadness of loving something that is almost not there, a mirage, a trompe-l'oeil. The bittersweet feeling of a life wasted loving a ghost.

And then he saw her. It happened on those tiring stairs in Montmartre, no less; he was sweating and panting while she moved almost like having the wind in her sails. He recognized the crow-black hair, the pale face, the glittering eyes now surrounded by little wrinkles, more beautiful than ever. Twenty-five years ago he saw her playing the grieving spouse of the great composer Patrice de Courcy and that day he started living. He smiled her and she smiled back.



0
0
0
0
0
0
0
0

이번에 같이 일하게 된 팀에는 연구자가 아니고 경력 엔지니어분 2명이 있는데... 예전엔 2-4달 걸려서 한땀한땀 만들어지던것이 3-4일만에 나오네 ㅋㅋㅋ 언어모델 잘쓰는 사람들 여러모로 무섭도다;; 말그대로 일당백인데 이분들이 만든거 위에 내가 뭘 얹어야하는 상황이고 난 그 코드와 문서를 다 읽어봐야하는... (기절) 앞으로 정말 정신차리지 않으면 후달리는 상황이 될듯

0
0
0
0
0
0
0
0
0
1
0
0

R8 조작계를 재설정했다. 이게 얼마나 좋을지는 실제 써 봐야 알겠지만 쓸만하면 이후 모든 카메라를 이렇게 설정할 듯. 상식과 거리가 좀 먼 시스템이지만;;

0
0
0
0

I've been rocking the base Mac Studio as my daily driver for about 8 months now and it’s honestly been fine. The biggest annoyance isn't lack of memory or cores, it’s the small SSD. There's been a couple times where things really wanted to be on the internal drive and I had to move things around or switch to another machine.

I'd upgrade it but prices are kind of crazy right now and I don't want to deal with removing the rubber seal thingy.

Might pay Apple to upgrade the M5 to 1TB, but oof…

0

I was so eager to scan this after it came because it was months before one appeared on eBay!

This is a manual for a popular Compugraphic typesetter, with a very different approach to markup that’s more similar to control characters in e.g. WordStar.

Everything is based on specialized keys, and displayed with special characters, shade, and underline.

Imagine a version of HTML where you’d need a keyboard with a key for each tag!

Check it out here: archive.org/details/compugraph

0
0
0
0

フリーランス法、一見いいように見えるけどそれはクリエイターにより過ぎてる目線で、企業側からするとフリーランスにお仕事お願いするのかなり面倒になったら企業同士でしかお仕事しなくなってきている。

村上さんが所属してる会社でも、フリーランスと企業なら企業優先にするように通達出てたし。

フリーランス需要ってちょっとお仕事お願いしたいんだけど、長期契約するまででは無い見たいな場所だったから、契約すること自体が面倒になったり、契約することによって会社にデメリットが増えると契約自体が無くなってしまい、結局フリーランスの仕事枠が大幅に減ることを理解してなさすぎる。

1
0

I'm actively looking for a new remote role or project starting February. Freelance and employment are both on the table.

Django, FastAPI, Python, SvelteKit, JavaScript, TypeScript. Or iOS / Swift for the right project.

I have 25 years of experience building websites, 13 years of experience building iOS app (yes those years overlap, I am not *that* old haha).

Please share, please dm if you know of something.

0