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.

Sometimes it’s important to indulge in a little optimistic nihilism. Everything is made up and you’re gonna die anyways so just like do whatever you want.

Unless you want to hurt people, don’t do that. I meant like calling off work and eating pizza

0
0
0
0
0
0

한때 이 문제에 대한 해법으로, 텍스트로 된 소스 코드가 아닌 문법 트리를 직접 편집하는 식의 IDE를 구상한 적이 있었다. 그런데 이제 대 LLM 시대가 와서 AI도 텍스트를 주로 다루잖아. 우린 안 될 거야 아마.

4

You can discover thousands of hand-picked Fediverse accounts organised into hundreds of different topics on the FediFollows website at:

➡️ fedi.directory

- To follow an account listed on the site, paste its address into your search box on Mastodon etc.

- To find out more about an account, click on its address to see its profile.

You don't need to wait for me to randomly post accounts on an interesting topic, the site has accounts for lots of topics! 🙂

0
0
0

You can discover thousands of hand-picked Fediverse accounts organised into hundreds of different topics on the FediFollows website at:

➡️ fedi.directory

- To follow an account listed on the site, paste its address into your search box on Mastodon etc.

- To find out more about an account, click on its address to see its profile.

You don't need to wait for me to randomly post accounts on an interesting topic, the site has accounts for lots of topics! 🙂

0
0
0
0
0
0

Manuskript des Sci-Fi Buches wächst. Der Roman ist in Form eines Protokolls einer wissenschaftlichen Fachtagung geschrieben. Es ist das „Terra ruft“ Symposium.

Prämisse: Die Menschen sind ausgestorben, haben aber in der Galaxis ihre Spuren hinterlassen. In der Folklore leben die Menschen weiter. Was ist erfunden und was ist wahr? Auf dem Symposium werden die Quellen aus der gesamten Galaxis präsentiert. Was wahr ist und was nicht? Darüber streitet die Wissenschaft.

Wer würde lesen?

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

대만의 성장은 '일본 덕분'인가: 주민을 위해서가 아니었던 식민지지배 digital.asahi.com/articles/AST
일본에서 식민지 역사를 가르치는 교수의 인터뷰. 역사에 관심이 있는 학생들이 종종 유튜브 같은 곳에서 잘못된 정보를 접하고선 "일본 덕분에 대만이나 한국이 발전했다" 같은 주장을 순진하게 믿는 걸 보고 이런 주장을 반박하기 위한 책을 서술했다고 한다.

1
0
0
0

SonicBoom is a new system that lets robots sense their surroundings using sound. Navigating real-world environments like farms requires robots to know if they might hit any branches or environmental barriers that are tricky to pick up on camera. Sensing with sound is cheaper and more robust than pressure sensors, with centimeter-level precision.

spectrum.ieee.org/farm-robots-

0

구체적으로 내가 원하는 스펙이 따로 있어서 직접 구현하기로 했습니다... 근데 이거를 다시 오픈소스로 만들면 또 관리 안되는 오픈소스C가 탄생하는 것일까요?

3
1
0
0
0
0
0
0

逆引きするとモロッコの住所で登録されたドメインになるDigital OceanのIPアドレスから実家のsshdに頻繁にお客様が来てたのはDigital Ocenaさんにお知らせした方が良いのかしらぬ

0
0
0
0
0

You cough and sneeze. "Ah, another bug," runs the realization through your head. You put the napkin into the sequencer, plug its USB cord into your laptop, and start the awful Java application it came from. Fifteen minutes later, it beeps, trimphantly, and in the middle of the HAdV-A31 genome, you see a chunk of plaintext.
(1/2)

0
0
0
0
0

v4rd4453n shared the below article:

War update – Is Trump helping Russia now?

Logic of War @anders@www.logicofwar.com

Hello,

In this video, which is recorded in a tiny hotel room in rainy Amsterdam, I look at the Russian summer offensive. So far, the results have been disappointing for Russia. I also discuss the air war, which is intensifying. Both sides are able to send an increasing number of missiles and drones against each other, and Ukraine (and Russia as well) struggle with air defenses.

Finally, I touch on the American pause in the deliveries of weapons to Ukraine. The official message is that it was an arbitrary decision made by people in the Pentagon and that Trump is intent on continuing weapons deliveries, but it's difficult to tell what is truly up and down in this story. If Trump wanted to help Putin gain momentum in his summer offensive, then this is pretty much what it would look like.

Watch the video on the website or read the transcript below.

Best,
Anders


Transcript:

As you can see, I am traveling, but I thought I'd do a quick update on Russia's summer offensive and how the war is going. It's been an intense period with some very important political events and also the long-range air campaigns from both Russia and Ukraine. They have stolen a lot of attention, so there hasn't been all that much coverage of how the war is progressing on the front line and what the perspectives are with Russia's summer offensive. So what I want to do in this video is to try to tie some of these things together and to give a broader picture. So, let's talk about it.

In my frontline update from June, I talked about how Russia's summer offensive has begun, and how they are pushing on several sections of the frontline to gain more territory, and also to try to break the Ukrainian defenses. I also expressed doubt that Russia would be able to significantly alter the dynamics on the frontline with this summer offensive.

What I mean by that is that it's likely that Russia will be able to take some extra square kilometers of Ukrainian territory. But when we get to the other side of the summer, the fundamental situation will be unchanged. There will still be a Russian army that is facing a Ukrainian army, and both armies will still be standing. And also, while Russia probably will be able to take some Ukrainian territory in the open countryside, they will run into problems when when they come to the Ukrainian cities. And therefore, it will be limited how much territory that can actually change hands.

Essentially, that is what we see playing out now. Russia is making a bit of progress in certain areas of the front line, but it doesn't seem to be all that dramatic. The overall picture is that the Russians are struggling to make progress.

In the Sumy region in the north, there was concern that the Russians could get within artillery and FPV range of the city. This could mean that the Russians could start destroying the city and targeting the civilians that live there. But the Russian progress has more or less been stalled. The Sumy offensive has gone pretty much the same way the Kharkiv offensive did last year. The Russians advanced a couple of kilometers across the border, and then they were stopped by Ukrainian forces.

The biggest Russian push is in the Donetsk region, especially around the city of Pokrovsk. But also here, it's not really that dramatic, what we've seen in terms of territory that changes hands. Russia has advanced a bit here and there, but it's not significantly changed the situation. It looks like it will be difficult for them to take some of the big cities that they are approaching, such as Pokrovsk or Konstantinivka. Maybe they will be able to take Chasiv Yar. We will see.

I think it's too early to disregard the Russian summer offensive and to say that this is not working. We're not even halfway through the summer and a lot of things can still happen. But I will say that if you work in the Russian general staff and you look at what you've achieved so far, I think it would be very difficult to be satisfied with the results. This is clearly disappointing from a Russian point of view. So it looks like Ukraine has things pretty well under control in the defensive fight along the frontline.

Then there is the air war. That's the long-range air campaign that both sides are waging on each other. Here we see a continuation of the trend towards bigger and bigger airstrikes. Both sides are able to leverage a larger number of drones and missiles against each other. And it looks like these airstrikes are just becoming more and more successful.

So the intensification of the air war is continuing. The Russian airstrikes on Ukrainian cities and especially on Kyiv, have been covered a lot in the news. These airstrikes have been the worst of the entire war. Several times over the last month, the Russians have broken the record for how many missiles and drones they can launch on Ukraine simultaneously. This number is now well over 500, and it's approaching 600. And it's not unlikely that before the summer is over, we will see 1,000 drones and missiles at the same time. So it's very intense.

I think there are two things at play here. On the one hand, Russia has been able to increase the production of drones and missiles, which allows them to fire a larger number on Ukraine simultaneously. And the other thing is that Ukraine is really struggling to keep up with air defenses. And in particular, it's some of the more sophisticated systems such as Patriot, where the deliveries have really slowed down.

One of the questions that I get asked a lot is about the connection between these airstrikes on Ukrainian cities and the frontline situation and whether one can actually win the war by having success in long-range airstrikes.

The answer to that is that it depends. It depends on what you're hitting. Essentially, you can have two approaches. One is to try to terrorize the population into surrender. So this approach has been tried many times in the history of air power. It's been one of the original ideas since the invention of the airplane that you can use this capability to make life miserable for the population and then eventually they will probably surrender.

If you do that, you probably won't win the war. There is very little evidence that terror bombardments actually work as intended. On the contrary, they tend to reinforce the hatred even more and to galvanize the population in the fight against the aggressor.

But the other approach is that you can use long-range strikes to hit the enemy's production facilities and the logistics. And if you do that, then it can have decisive impact on the war.

The stereotypical understanding of the air war that is going on in Ukraine is that Russia is following a strategy of terror bombardments and that Ukraine is trying to be more strategic about targeting production facilities and Russia's war economy. But the reality is that it's more nuanced than that. I think it's difficult from the outside to have a clear picture of how Russia is actually using their long-range airstrikes to hit Ukraine.

The Ukrainians are very cautious about discussing when Russia hits their production facilities. And that's because they don't want to provide information that the Russians can use for battle damage assessment. And also, they just kind of like to reinforce the image of the Russians only targeting civilians.

But it's not clear cut like that. It's not only one or the other. Some of the Russian airstrikes are indeed directed towards the cities and to try to terrorize the population. But they also target Ukrainian production facilities and logistics and military installations.

So the way I would put it is that the airstrikes from both sides have an impact on the war and the front line as a whole. The Ukrainian airstrikes, percentage-wise, will probably have a bigger impact because they don't waste their bombs and missiles and drones on bombing civilians. Instead, they try to pick out the targets more cleverly and to hit those things where it actually makes a difference. However, a significant portion of the Russian missiles also do that. So it's difficult from the outside to say which has the bigger impact, the Russian or the Ukrainian campaign.

And that leads me to the last thing I want to cover in this video, which is the fact that the United States has, again, stopped the deliveries of weapons to Ukraine. It has been difficult to figure out exactly why. Why is this happening? What's going on? How much of this is intentional? Or how much is it just because the American administration doesn't really know what they're doing?

Because on the one hand, over the last month, Donald Trump has been, in his rhetoric, actually more supportive of Ukraine and he has been more critical of Russia. So he's been saying things that would indicate that the United States would increase the support for Ukraine and deliver more weapons. But then, on the other hand, we suddenly have the news that the Pentagon has stopped the deliveries of weapons to Ukraine because they have to do some kind of big assessment of the impact on the readiness of the American military by giving all these weapons to Ukraine.

And excuse my French, but that's a total BS excuse because the United States is not providing more to Ukraine than they are producing. If the U.S. military gives something that they have from their own stockpiles, then the money is allocated to buy new weapons so that the U.S. military can replace them.

So, the American decision to stop the weapons deliveries is entirely political, and it includes a range of air defense systems that are crucial for Ukraine to defend itself against the increasingly intensive Russian airstrikes.

So as I said, it's difficult to understand what's going on in American policy right now and who is making what decisions and why. It's possible that this is just a misunderstanding and that soon things will change and the Americans will provide those air defense weapons to Ukraine again.

But I do want to say this: if you are an American president who sympathizes with Russia and you would like Russia to have more success in their summer offensive, then this is exactly what you would do. You would stop the deliveries of weapons to Ukraine while at the same time going around talking about how you want to deliver more weapons to Ukraine and promise that these are just around the corner. That way everyone else is pacified in a waiting position because they're going around hoping that you're going to deliver on those promises any moment now.

If you were open about stopping weapons deliveries to Ukraine and you make it clear that this this is the policy, then that could incentivize someone else to take some initiative. And that's not what you would want to see. You would want everyone else to stay passive and to just wait. And that's why you would walk this line of saying one thing while in practice doing the exact opposite.

And I'm not saying that this is what Donald Trump is doing, because I don't know that. But what I am saying is that if Donald Trump wanted to give Putin a helping hand with his summer offensive, then this is exactly what it would look like. And I think it's important that European politicians keep that in mind.

OK, I will end it here. If you found the video helpful or informative, then please give it a like. And also remember to subscribe to the channel and click the bell icon to get notifications when I upload new videos. If you want to support the channel and also get access to some bonus videos, you can subscribe to my newsletter on www.logicofwar.com. Thank you very much for watching, and I will see you again next time.

Read more →
0

I spent literally hours trying to make layout-parser.readthedocs.io/e work in virtualenv so that I can OCR text from newspaper article scans

Eventually, I got it to work (with lots of pinning) and thought: this will be a pain to productionize for my server! …but ultimately I realized all packages I needed were actually already packaged in nixpkgs! 😅

Now with a flake.nix like gist.github.com/stapelberg/45b, I have a reproducible (stable!) way of running this program 🥳

screenshot of a newspaper article and how my flake.nix can be run to run the demo code for layoutparser + tesseract
0
0

🔥 I have news! After a 1y hiatus, I’m once again leading this year’s survey, thanks to generous funding by Google. ❤️

🙋🏽‍♀️ Is there is an HTML feature or Web API you're dying to see progress on? Suggest it and it could be included!

Browsers fund these surveys to see what matters to devs — so if others care too, it can really help. E.g. these surveys are the reason we have CSS Nesting.

⌛️ The survey is launching later this month, so time is of the essence!

lea.verou.me/blog/2025/design-

0
0
0