HNHacker News
TopNewBestAskShowJobs

maverwa

538 karma · joined May 1, 2019

submissionscomments
maverwa··on Ask HN: Why don't more developers use event sourcing?
I tried coming up with EventSourcing attempts for a large application that’s basically only shuffling around data from n source systems to m target systems (sometime of them are both). I thought ES would be perfect, as we mostly care about changes and where to they came from, not so much about the current state (mostly…) But I am not smart enough. I just could not come up with a way to make it work. I do not understand the darn thing, even after spending hours reading fowlers and others stuff. The basics sound simple enough to me. Store events, not state, generate state from history of events. But does each event belong to one entity, to one type of entities, or is it global? We have a quite elaborate net of things interconnected and reliant on other, changed and provided via vastly different services/protocols/etc.

I think I need some more braincells to understand Event Sourcing.

maverwa··on Improving Postgres text search speed
I remember achieving some quite good results when implementing a simple „fuzzyesque“ search for some B2B e-commerce system a few years back, but what hit us hard was the german dictionary used for stemming for the ts_vector index. The original one coming with psql did not support german compound words correctly and the „fix“ was to import a 3rd party one. I learned the hard ways that this comes at the cost of Postgres loading the dictionary every time a new connection uses the index. Running a simple, small php app that could not reuse/pool connections, every search query done was coming in on a clean connection and hit a >1s fee for having to load the dict.

iirc pgbouncer saved the day there.

Otherwise it worked fine.

maverwa··on I was at Woodstock ’99 and it destroyed my innocence
To be fair, your suggestion that the person above thinks „making money justifies rape and death“ ist pretty far fetched. They basically said „if you want a big festival you book popular band“ and you said „so you thinks rape is okay?“. No that’s not what they said. Suggesting the thinks the result is „okay“ because they gave a - imho totally reasonable - explanation for a decision someone made some ~23 years ago is pretty disingenuous at least.
maverwa··on Comparing Rust and JavaScript
Not sure, it could also be viewed as a comparison of ahead-of-time compilation vs. just-in-time compilation (I guess the code paths are hot enough to be completely "jit-ed" here), and then the compiler isnt irrelevant at all.

But havent looked into the details on how much difference that alone makes in this case.

I think its also a testament on how fast JS has gotten.

maverwa··on Kubernetes is a red flag signalling premature optimisation
I think the argument was/is not "its a problem we cannot have javascript" but "if we can have javascript everywhere, we only need to hire javascript devs and only need to care about javascript tooling", which is a fair point.

That does ignore the fact that an experienced frontend JS dev is not necessarily also a good productive backend JS dev, but at least they know the language basics, can use the same IDE, etc.

If thats worth it is something that depends on what you try to achive, I guess. I personally would not pick JS (nor TS) for the backend.

maverwa··on Show HN: Redbean 2.0 in Docker
If you want to deploy it in an environment that is already running some kind of container orchestration it may actually be simpler to just add another container, compared to adding another host service you need to care about. Sure, you wouldn’t want to install docker, or podman or nomad (+ one of those) or k8s (lol…) to run a redbean. But the other way around might make sense.
maverwa··on CJEU confirms that UK citizens have lost EU citizenship
thanks for clearing that up! And indeed, not unexpected at all.
maverwa··on CJEU confirms that UK citizens have lost EU citizenship
Basically UK citizens living in the EU can not vote in local elections anymore, as UK left the EU and therefore they „citizen of an EU member state“ requirement is no longer fulfilled.

I am not a lawyer, nor do I know more details, but I would guess it should not change anything for you, as your slovakian citizenship should suffice.

[edit] first version was missing a crucial „Not“

maverwa··on Jeffrey Snover claims Microsoft demoted him for inventing PowerShell
I have to use it at work, and cannot quite get used to it. Happy that WSL exists! But, still way better than cmd!
maverwa··on Show HN: Just a Calendar: Simple Calendar to look at, no login, super light
thank you for the reminder that, sometimes, the tools we really need are not the complex, fancy "products", but indeed "Just a calendar". I like the simple, no-depenency solution.
maverwa··on Show HN: Just a Calendar: Simple Calendar to look at, no login, super light
should be fixed now (just tested it and it worked)
maverwa··on Apple M1 Ultra's 64-Core GPU Fails to Dethrone the Mighty RTX 3090
I was wondering the same and checked the source (the verge) and they have the resolutions swapped which makes more sense.

https://www.theverge.com/22981815/apple-mac-studio-m1-ultra-...

maverwa··on Djokovic's PCR test was manipulated?
Well there is also two other options I can see, although I cannot say how realistic/likely these are: either the researchers „guessed“ wrong and the number in the url is no unix timestamp but just some random digits. Very unlikely imho, given how close the timestamp values are, but not impossible. The other option would be that the pcr test was indeed taken on the 16. but only entered into the system 10 days later on the 26. not sure if that is realistic. Not saying it’s either of these, just that we cannot disregard these options imho.
maverwa··on PHP is worth learning and using
Yeah, the area between "backwards compatibility at all costs" and "progress" is full of potholes. I think PHP was to mach on the "backwards compat." site of that gradient, I think that some bc breaks are onavoidable when improving the language itself and its standard library. Sure, it would be nice to have something like rusts "editions" (and I am sure other languages share that concept to some degree) where we could have the runtime support all code that was valid before, but that comes with its own complexity.

As someone who still owns their rent coding PHP, I really enjoy the development of the language from php 7 onwards. It certainly feels better in any way compared to the 5.x or even 4.x days.

As long as we do not get another python 2 vs 3 disaster, I am happy.

maverwa··on Telegram Ad Platform
My guess is, because instant messaging only works with multiple people. The usfullness of an IM service is directly coupled to the amount of your peers using it. If there is no one to talk two, why bother?

Sure, you and I may be happy to pay this, and may even fork out the fee for our loved ones, but how many other people would do that?

maverwa··on Tesla's German plant hits snag as public consultation repeated
For context: Berlin is one (or the) central for IT jobs and startups, but for car manufacturing Ingolstadt, Stuttgart or Wolfsburg would be more „traditional“ choices, since that’s where the big car makers are. Oh, and the Ruhrarea ofc.
maverwa··on Willingness to look stupid
Another note to the same quote: for me it looks like classic half mask respirator is not that "good" against COVID, as it only filters on the intake, not the way, out. At least my cheap one does. Therefor, while it prevents you from getting it, it does not stop you from spreading it. Right?

Sure, that might very well be what you aim for, but from my understanding, FFP2 should prevent both, at least theoretically, since wearing them correctly is another point of failure.

maverwa··on Disabling /all chat in matchmade queues
> This is, like, the literal number one use of /all.

as someone whe spend way to many hours of his life in bronze: yes, it is.

[3rd edit or so]: oh, that and "gg easy" which is not a nice thing to say as well.

maverwa··on Adobe uses DMCA to nuke project that keeps Flash alive, secure and adware free
thats what I was thinking as well when I read the title. Good to hear its not about ruffle.
maverwa··on Best Practices – Why I Hate Them
so, I guess your do not hate "best practices" but the term, or more, how people use that term?
maverwa··on Fosscord is a free open-source discord compatible chat, voice and video platform
The point is that they will not leave discord for „a FOSS discord“ because they‘d gain nothing. For the average user, discord won because it had a lot of features and properties that where better than what was there before (voice & chat combined, not server management, etc).

You and me might care about software being FOSS all day long, but the masses don’t. For them it’s just not a thing. I‘d guess „selfhosted servers“ actually is a step backward for the majority of discord users.

maverwa··on Autonomous drone navigates independently through the forest at 40 km/h
These drones need to be able to do one thing: - do not hit the tree (or ground)

And the things not to not hit are basically static. Year, Wind might move parts of them here and there, but you can just try to make sure to avoid them far enough. And we do not see if they can do event that.

Self driving cars on the other hand... - avoid static objects (like trees, or houses) - stay in lane - detect and act on traffic signs and lights - detect other moving object and predict where they will be in the near future - watch for suddenly appearing lifeforms all around you, do not hit them! - if you leave your lane, do so orderly - do all that at speeds far over 40km/h

I think the "static objects" parts is not the hardest part on that list.RADAR/LIDAR are good at that. I imagine the "everything and everyone is moving in random directions" part makes things harder.

maverwa··on Twitch source code and customer data has reportedly been leaked
I know projects that do or did put their production database credentials, which had full read and write access, in git.

And no, thats not a clever thing to do, neither is there a good reason to do it. But people do things you do not like and theres little you can do about it.

I would like to live in a world where you were right, but I am not. Sadly.

[Edit] dumps though are another thing. Not seen that, yet.

maverwa··on Show HN: Hurl – Run and test HTTP requests with plain text, curl and Rust
Looks like something we could actually use for some API smoke tests. I'll bookmark it, thank you!
maverwa··on Things Go needs more than generics
I think you are right, in that rust did not invent non-nullable references. But I do not see a problem is someone claming that they like that on a language.

I did not read the parent comment as "rust invented nun-nullables and is great", but as "rust, for example, removes the class of problems this way...". I think its neither helpful nor realistic to require every mention of a feature to be backed up by a proper research into who invented in when.

maverwa··on So you want to compete with Roblox
Are you targeting mobile with that? If yes, how does iOS Safari do with WASM and WebGL (since webGPU isnt really supported anywhere in factory settings afaik).
maverwa··on In software, when an engineer exits the team
I quit my job with the primary motivation to work on something else, with someone else. The old company just was no good fit, not good for me. I effectively earn less money now, two yearns into the new job, than when I left, but I am more happy. Sometimes, the grass really is just greener on the other side, and it may not be because of the money. Sometimes its tasks, culture, or even people.
maverwa··on Netflix Cloud Packaging in the Terabyte Era
From what I understand, this is using in the production itself as well, potentially for steps inbetween? Especially the"The Conclusion" reads like its not a one-time thing but happens through the whole process?
maverwa··on Masked email from Fastmail and 1Password
I am using name@random_site.mydomain because i encountered a few sites that rejected name+random_site@mydomain. reduces the "random name @ domain" spam, but still works good.
maverwa··on Masked email from Fastmail and 1Password
Well, as I understand it you'd have to do this manually. As in, pick a random alias for the site, use that as you email address there and enter the same one in 1password (or any other credential store).

The full "it just works" integration seems to only work between 1password and fastmail directly.

← PreviousPage 4 of 6Next →