HNHacker News
TopNewBestAskShowJobs

yedpodtrzitko

357 karma · joined January 27, 2014

[ my public key: https://keybase.io/yedpodtrzitko; my proof: https://keybase.io/yedpodtrzitko/sigs/-SnUwR8gwEczUdgNZKSjE0KsmpBr795r9t2A3EyTT0U ] ---

https://github.com/yedpodtrzitko

---

meet.hn/city/vn-Da-Nang

Interests: Digital Nomad

---

submissionscomments
yedpodtrzitko··on Fastpotify
I had to read the comment a few times. Do you mean "starring" instead of "starting"?
yedpodtrzitko··on Kiwi.com flight search MCP server
It is still JSON, it just defines how the JSON should be structured.
yedpodtrzitko··on Keep Pydantic out of your Domain Layer
Just because it's written in Rust it doesnt mean it's fast. I was working on a project where Pydantic was the bottleneck - there were multiple levels of nested Pydantic objects, and creating the instances was very slow due to the validation which is performed on input values. Even after disablign the validation, dataclasses were twice as fast, compiling the dataclasses with mypyc improved the performance ten times.
yedpodtrzitko··on Bypassing Google's big anti-adblock update
I'll bite - if you dont use Firefox because of "questionable ethics", then I am quite surprised you decided to use Brave, considering their controversies. Also Brave is still based on Chrome's engine, and I dont think they'll be able to maintain their fork long-term, so if the reason to switch was to break the Chrome monopoly, then I'm not sure this switch really counts.
yedpodtrzitko··on Making Explainable Minesweeper
Recently I have discovered Tametsi ( https://store.steampowered.com/app/709920 ), which is something like Minesweeper on steroids and some advanced levels can't be solved without advanced reasoning. If Minesweeper feels too easy/boring, this might be the right challenge for you.
yedpodtrzitko··on A Rust-TypeScript integration
Python type system is less expressive than TS, so defining types in Python and then generate (rather than write them manually) the equivalents in TS feels like the better way. There are tools to generate Typescript types/structures from OpenAPI definition for doing that.
yedpodtrzitko··on Show HN: Robyn – "Batman Inspired" Python Web Framework Built with Rust
my guess would be batman.js
yedpodtrzitko··on Base 10 is not a good base
How about multiplying? Do quickly 10 * 10 * 10 * 10 vs. 12 * 12 * 12 * 12
yedpodtrzitko··on macOS Sonoma 14.4 might break Java on your machine
previous discussion: https://news.ycombinator.com/item?id=39726292
yedpodtrzitko··on Show HN: Qwertle, yet another daily word game
Seems bugged now. Reopening the website still shows the solution from yesterday and there's no way how to clean it other than clearing Local Storage. Also any new attempt is prefilled with the previous word instead of being empty.
yedpodtrzitko··on Half-Life: 25th Anniversary Documentary [video]
Interesting, I have never had any problem with Source-based games. The worst offender for me was Talos Principle and Far Cry 4 due to the headbob effect which couldnt be turned off (why?!).
yedpodtrzitko··on Awesome Engineering Games
I disagree that While True: Learn() is a game about ML. It's _themed_ as a ML game, but it's mere a share-sorting puzzle game where you are routinely load-balancing things until it works precisely as the task expect. Driving minigame was bugged at that time I was playing the game, but from what I seen on YT videos, the whole thing is about clicking "Evolve" button.
yedpodtrzitko··on AI Graphics at JetBrains
> and some very questionable syntax highlighting.

Could you elaborate? I'm in the opposite camp and any time I try to use VSCode with Python, I really miss the Semantic Highlighting there, which helps with orientation in the code quite a lot.

yedpodtrzitko··on AI Graphics at JetBrains
Founders are Russian, company is founded in Czech Republic, so... you're both right.
yedpodtrzitko··on The Death of Unity
> According our last year numbers, we would owe Unity 109% of our revenue (1M of revenue against 1.09 of Unity Runtime fee), this means, more than we actually earn. And of course I'm not taking into account salaries, taxes, operational costs and marketing.

from https://old.reddit.com/r/Unity3D/comments/16hgmqm/unity_want...

yedpodtrzitko··on Ord Phone
The screenshot with airplane mode suggests it's Android (?) Then the whole thing is just a custom launcher and a minimum of preinstalled apps, so I can achieve moreless the same result by using a launcher like Niagara and I can keep my current phone.
yedpodtrzitko··on Purkinje Effect
You mean Jan instead of Karel, right?
yedpodtrzitko··on Show HN: The Shark Programming Language
> Sorry, you might think that I am rude, but I am not.

But you got the answer for your original question, right?

yedpodtrzitko··on Show HN: The Shark Programming Language
JS has its own warts, what better way to avoid them than not going that way in first place? Plus JS is still evolving, so devs would need to play catch-up to support all the latest features.
yedpodtrzitko··on Leak of a cancelled 1996 “Duke Nukem Forever” side-scroller
Looks almost like Blackthorne to me.
yedpodtrzitko··on John Carmack Leaves Meta
I'm surprised/sad he didnt decide to join Valve. VR is a big bet for them as well and I'd assume he'd have more freedom/power there than in Meta.
yedpodtrzitko··on YouTube’s ‘dislike’ barely works according to new study on recommendations
I dont see it mentioned BlockTube extension [0] anywhere in the comments yet. It automatically blocks videos/channels based on your defined keywords and it works perfectly. For some period of time my main YT page was filled with a variation of videos about "walking in Tokyo". I'm not interested in walking in cities nor Japan, so I have no idea where that came from. No matter how many of these videos I marked as "not interested", more of them kept coming for days. Blocktube just automatically purged them for me. Sometime I saw just a blank page (because all the videos were blocked automatically), so I had to reload page to see at least something. It took some time to get rid off the "noise", but my YT experience is now way better.

[0] https://github.com/amitbl/blocktube

yedpodtrzitko··on Why Ruby Is More Readable Than Python
I read through the article waiting the whole time to see that "this is more readable", but I found nothing. Also I'm not sure if the Python examples are so blatantly wrong on purpose or if the author read one Python tutorial beforehand and then decided to write this article. For example this:

> In Python, you will never do post.__str__ for example. Instead, you’ll do str(post)

No you dont. You do the same thing you did with `puts post` in your Ruby example: `print(post)`, which will call `__str__()` method.

> In Python, it’s easy to accidentally write to the count attribute — which can break your program.

To address writing into attribute directly - you can use @property decorator, which will stop you into writing into given attribute, unless you add a setter.

However the main problem in this fabricated example wouldnt be that you can break your program by accidentally writing into an attribute. I'm not sure how common is it in Ruby, but mixing the instance variables together with class variables this way seems like a bad design, and that is what will break your program.

Regarding the Django example - ok that is far from perfect, but comparing a framework which maintains backward compatibility for years with code you write from scratch without worrying about anything is barely a fair comparison.

yedpodtrzitko··on Why We Switched from Python to Go (2021)
So they switched to Go from Python, because of following advantages:

#1 Performance

#2 Performance (to make the list longer I guess?)

#5 Fast compile time... which is an advantage over Python how exactly?

#7 Strong ecosystem... which brings us to disadvantage #1 - lack of frameworks (?)

yedpodtrzitko··on EU Commission is planning automatic CSAM scanning of private communications
When all you have is We Need More Surveillance, everything looks like Because Terrorism / CSAM.
yedpodtrzitko··on Modern Python Performance Considerations
Pydantic is quite popular library. Its author is doing exactly this - rewriting its core [0] in Rust. It's still WIP, but readme mentions that "Pydantic-core is currently around 17x faster than Pydantic Standard."

[0] https://github.com/samuelcolvin/pydantic-core

yedpodtrzitko··on Modern Python Performance Considerations
That would mean all installed dependencies need to comply with this change as well, which is unlikely to happen in any realistic timeframe.
yedpodtrzitko··on Django: Reformatted code with Black
hello .git-blame-ignore-revs
yedpodtrzitko··on Goggles: Democracy dies in darkness, and so does the Web [pdf]
A brave claim from someone who adopted Google's browser engine, which goes hand in hand with their monopoly they complain about.
yedpodtrzitko··on Orbit – open-source design system
I, too, used to work at Kiwi.com when Orbit was started. If there was one thing which was consistent, it was definitely Orbit. It's nice to see they're keep pushing it forward.
Page 1 of 4Next →