HNHacker News
TopNewBestAskShowJobs

pzduniak

544 karma · joined May 8, 2015

[ my public key: https://keybase.io/pzduniak; my proof: https://keybase.io/pzduniak/sigs/HZvktYoEVtGMKAD9T41IAdKevkhAN0TCyNnEmWVT_g8 ]
submissionscomments
pzduniak··on Spotify deletes 70 Joe Rogan episodes
Right. He invited people who abuse their credentials to spread vaccine misinformation. And when he invites actual experts, Rogan refuses to acknowledge counterarguments - the discussion devolves into "X, look it up" and when they look the up the stats, he just says "I don't know about that".

His podcast went from "(self-proclaimed) stupid man talks with people and gets them to explain stuff" to "(self-proclaimed) stupid man talks with people and gets them to explain stuff EXCEPT when it's about COVID he's suddenly 'done the research', usually invited 'guest experts' are anti-vaxxers AND when he invites real experts, he argues with them on irrelevant technicalities".

pzduniak··on Singapore prime minister Lee Hsien Loong’s Sudoku solver (2018)
If you have an absolute majority (which PiS was the first to achieve in 2015 and 2019), you can do anything. And if people protest, you can just wait them out - since 1991, only trade unions can announce paid strikes, their membership is dwindling and the largest one (Solidarity) became a puppet of the Law and Justice party.
pzduniak··on Singapore prime minister Lee Hsien Loong’s Sudoku solver (2018)
1. His political party is on the fringes of the left, advocating for very high taxation (reaching 55% at income >= $63k/yr, 75% at >= $125k) - this combined with the general Polish lack of trust towards politicians (and our ~20-ish% total income tax loopholes) practically guarantees that they won't ever get any real power.

2. Current government openly admitted to spying on the opposition and introduced an anti-abortion law that already killed a couple women, as hospitals decide to play it safe and wait until the fetus dies. And they dismantled the separation of powers. And probably already stole hundreds of millions of dollars, with independent investigations confirming at least tens. Our politics are so messed up that absolutely no one will bat an eye at a 7 years old non-PC joke.

pzduniak··on Sequoia PGP is looking for sq stakeholders
The only way to programmatically interact with GnuPG is through spawning the CLI. Not good.
pzduniak··on Tricking PostgreSQL into using an insane, but faster, query plan
I recall using https://pghintplan.osdn.jp/pg_hint_plan.html for this feature, it did what it claimed to be able to do. It's a hack, but it really helps in the worst case scenarios.
pzduniak··on In MySQL, use “utf8mb4” instead of “utf8” (2016)
> As a huge Postgres fan working at a shop using MySQL I'll point out the first thing I saw MySQL does that Postgres doesn't:

> Index hints.

Eh, it's an extension. One you shouldn't use, but it's there.

pzduniak··on Ruling party figures say Poland has Pegasus spyware
It's just the crap that's peddled by the government to get the votes. Scare them! First year your enemy is the current government, third year it's the gays, sixth year it's the muslims (who don't want to stay in the country at all), you sprinkle in some antisemitism (the evil jewish claims!!11) and suddenly you radicalize a fifth of the population. Oops!

Right now is probably the toughest moment for them. We have a really nice Omicron wave and their tax reform that went into effect on Jan 1st (primarily shifting money from local government, where opposition controls the largest cities, to healthcare) has failed extremely spectacularly. They ignored the whole process and the laws are overcomplicated (yet broken) crap, increasing the tax burden on most people. Oops!

pzduniak··on Ruling party figures say Poland has Pegasus spyware
Except votes for parties who get less than 5% (if running alone) or 8% of votes (if a Coalition) do not count. So that 40% becomes 52% and suddenly the only thing you can do as a minority party is yell.
pzduniak··on Ruling party figures say Poland has Pegasus spyware
It's not "most Poles". It's realistically a quarter, maybe a third of the population. Thankfully, the turnout increased from 51% in 2015 (when they won the absolute majority for the first time with 38%) to 68% in the second presidential election vote in 2020 (when they also won, but with a pretty slim margin).
pzduniak··on Ruling party figures say Poland has Pegasus spyware
I'm afraid I'm not familiar enough with the institution to give a proper response. To me, many of their (Polish Episcopate's) actions are illogical and a net loss to the community they're supposed to foster.

I don't think that the Vatican necessarily has that much power over the Polish Episcopate. It seems like they operate as an association of non-profits all across the world and every single organization operates independently, within a rough framework.

I live in one of the largest cities, haven't ever really been a church-goer. Going through all the sacraments was just a traditional thing you'd do. A decade ago, I don't remember hearing anything political in my local church. Sure, I heard some pretty obnoxious homophobic stuff, saw "exorcisms", but it was always somewhat neutral. However over the past few years, I've heard a lot of stories about rabid priests demonizing "the other side" (be it the other parties, "the LGBT plague" etc.), saying that the only way towards salvation is voting for PiS. Maybe it was a very vocal minority that was amplified by the media (look, priest X is doing this stuff! how terrible!). Eventually it seemed like that behaviour was normalized and the attitude of the people towards the Church became even more radicalized.

Right now, the percentage of people who claim they're religious is plummeting. People who disagree with PiS (and the behaviour of the Church) are pulling their kids from "Religion" / Catechesis lessons, mostly in large cities. In my community, the schools have to group up multiple classes to even have groups of 10. How do you fight it? Well, you give a ton of funding to "patriotic causes", which are primarily promoting Catholicism, militarism / far-right, nationalistic narratives (the government is contributing to this now: https://www.youtube.com/watch?v=fB2XRK_Xb6g).

The trade-off seems to be replacing your average church-goes / people who only go to the church for baptisms / First Communion / marriages, with Polish "patriots" - nationalists full of hatred towards anyone who's not white, religious and preferably voting for the Populist-Nationalists or Conservative-Liberals (who banded up with actual neonazis???). Arguably, I think that financially it could be a net positive for the Episcopate - they're getting public funding (for now) and possibly acquiring new, radicalized, loyal followers.

Disclaimer: It probably _is_ a very loud minority. Unfortunately it's also the minority that appears to control the Church leadership. I feel sorry for the legitimately honest and good people I met through the Church, who are now getting grouped up with xenophobes.

pzduniak··on Ruling party figures say Poland has Pegasus spyware
They can only withhold the funds, which they're already doing. We'll see how that plays out over the next few months.
pzduniak··on Ruling party figures say Poland has Pegasus spyware
How is proving that politicians and their families are stealing millions from the country's budget / EU funds, while denying access to anyone affiliated with the opposition, not "a Watergate"?

That's just a normal day for us in Poland. People who vote for Law and Justice do not care the law (which has been already changed to serve their interests) nor the justice (which is also nearly fully controlled by them at this point). As long as it pisses off the other side, it's OK with them. Oh, and the Catholic Church is helping them, because they also get a cut.

pzduniak··on Amazon is bypassing supply chain chaos with chartered ships and long-haul planes
USPS being weak (AFAIK primarily because of this law) benefits their competition, who are lobbying against "fixing" it.
pzduniak··on PostgREST 9.0
We're currently developing a Supabase app that's backed by PostgREST.

For our MVP, we built out everything that we could in SQL procedures (they're honestly not that terrible, especially in Postgres, just a bit verbose), we could also use `pgv8` and write them in JavaScript. If we need to trigger some special logic, we push data through webhooks to another service that also has access to the database. It works, but it's kind of messy and I'm somewhat worried about the performance of the HTTP client bundled with Postgres. This mechanism could also be implemented with the `LISTEN`/`NOTIFY` interface.

It feels like the better way to do it is having an API gateway / a separate API accepting the same JWT requests as PostgREST and others. We'll try it for our next project and maybe we'll migrate this product too, if we run into any issues with HTP requests.

It's been great for CRUD-heavy apps. Optimizing the RLSes sometimes gets tough, but you can always work around them with views / functions that avoid them.

pzduniak··on DoorDash Joins Forces with Wolt
Pyszne is Takeaway.com, they just have a different brand name in every country. The rest of the branding is exactly the same.
pzduniak··on WSL2 can now mount Linux ext4 disks directly
It's great stuff, that's how I survived most of the time I ran Linux. Whenever I had to do anything more complicated, I grabbed my old MBP and shared the files between the PCs. Nothing beats alt-tabbing into a Photoshop instance running at 5+ FPS, though :)
pzduniak··on WSL2 can now mount Linux ext4 disks directly
Photoshop! After over a decade of using it, most of the things I do there became muscle memory and I have absolutely no reason / incentive to learn different software (other than being able to use Linux). Ruining it in Wine proved to be a horrible experience - after a couple days of bruteforcing a setup that started, the graphics performance sucked so bad that it was nearly unusable.

I ran Windows -> Hackintosh for 2yrs (until it exploded after an update) -> Linux for 2yrs (until it exploded because of NVIDIA drivers ruining my stability) -> back to Windows after they released WSL2.

pzduniak··on Setting up a static HTTPS website on your Raspberry Pi using Docker and Nginx
https://botland.com.pl will sell you up to 10.
pzduniak··on Tesla's German plant hits snag as public consultation repeated
The article that you linked mentions Polish _construction_ workers. I honestly doubt the areas next to the border would get you enough workforce to get you a mostly Polish staff - the border is 50min away and the closest cities are relatively tiny.

Or maybe the math somehow works out, but I doubt it.

pzduniak··on Steam bans all blockchain and NFT games on its platform
The only way to withdraw the money made on the marketplace is to buy marketplace items and trade them for money via online payments / cryptocurrency, which is against their ToS. Looks like they aren't enforcing that, though.
pzduniak··on Ask HN: Where can I live off 1k USD per month?
That 6% tax is... complicated. Bug fixes are not innovation IIRC - I just end up paying 19%, which isn't that much anyways.
pzduniak··on Open-source alternatives to popular B2B tools
Most engineers in Poland prefer anything BUT full time employment, so all-in the tax for engineering work is like 8.5%/19% with a ~$120/mo mandatory health insurance. They'd rather get hired as freelancers and pay less taxes (and burn less money contributing to the broken social security system).
pzduniak··on Gitlab 14
I've migrated my company's CI and CD to self-hosted Concourse. It's slower due to polling (which might change soon), rather annoying to set up, but it's incredibly flexible.
pzduniak··on Show HN: We wrote a book about building business applications in Go
>Describing the book's content as DDD/CQRS is too specific (...)

We'll just have to disagree here. You can combine 10 guides into a "book" and if the whole thing ends up being about building an app using a certain approach, then in my eyes that's what the book is about.

Perhaps my standards are too high - still felt like clickbait. Especially considering that you're requiring signing up to a newsletter to get access to it.

pzduniak··on Show HN: We wrote a book about building business applications in Go
Book's title is fine with me, post's title isn't. Felt like clickbait once I realized its promoting patterns that aren't useful in most of "business applications built in Go". If you already decided to use CQRS/DDD for whatever reason - yeah, its a decent resource.
pzduniak··on Show HN: We wrote a book about building business applications in Go
If this post were called "We wrote a book about our approach to building DDD/CQRS business software using Go", I would be perfectly fine with it.

Feels like a clickbait, especially after your learn that the consultancy that wrote the book built their whole identity around being "DDD in Go" experts. Just don't push it on everyone. This kind of marketing is doing real harm to Go newbies, like that "standard Go project template" repo.

pzduniak··on Hire me and pay what you want, just give me interesting work
I'd imagine that what you get for $25k/yr in Poland is way better than the ROI on $30k/yr in Italy. Depends on the stack though. Most corporate Java people earn peanuts here.

It's also likely that they replaced a well compensated engineering firm responsible for setting up the project with a cheap team handling maintenance.

pzduniak··on Docker's Second Death
And it works pretty well, other than some network bugs every now and then, which seem to be a WSL2 thing. I moved from OSX to Windows around the release of build 2004 and the development experience has been great.
pzduniak··on Why not use GraphQL?
You can still have that magic, I've done that in a couple projects and it's certainly possible. Unfortunately implementing something "good enough" might get super expensive depending on your data model and security constraints.
pzduniak··on First tax year with Stripe Atlas
He's talking about a social insurance required to be self-employed. Apples to oranges.
← PreviousPage 3 of 5Next →