HNHacker News
TopNewBestAskShowJobs

p2t2p

1,045 karma · joined November 9, 2016

submissionscomments
p2t2p··on Don't start with microservices – monoliths are your friend
Last five years I'm looking at how my colleagues are struggling to dismantle a king of monoliths to services to enable various teams to move at faster pace and scale different parts independently.

Those people couldn't be more wrong. Monoliths are not your friend. Deployment times will be longer, requirements for hosts where you deploy it will be bigger, you will end up with _huge_ instances to rent because some parts of you monolith want more RAM and some want more compute. You'll have to scale more than you really need to because some parts of your monolith are more scalable than another, etc, etc, etc.

You'll be unable to use different technologies to optimise that one particular use case, because it has to be deployed together with everything else and you totally don't have any infrastructure to call into another service. You'll be stuck with "one size fits all" technological choices for every component in your system.

Monolith is good basically only on PoC stage. Once you have business running, you need to dismantle it ASAP.

edit: grammar, spelling, formatting.

p2t2p··on Ask HN: What kind of a downvoter are you?
Almost never downvote, only if I see something blately stupid without supporting arguments or non-constructive.
p2t2p··on Ask HN: Why is building Windows apps so complicated?
Exactly. And then people wonder why everything is electron nowadays. Native UI development on any platform is pure garbage compared to frameworks in Web frontend.

I hope SwiftUI and flutter will be able to make it at least a little bit better.

p2t2p··on Jndi: An irresponsibly bad logging library
Like if any other thing with automatic package management is any better.

.m2/repository is 5 gb on my machine.

Rust crates?

Go packages that are neatly tucked away too?

Node just makes it visible and in your face by putting the node_modules in you project directory.

Besides, what’s the alternative? Write stuff yourself? Put stuff in language stdlib? Even minimal service requires _a lot_ of things to do minimal stuff.

p2t2p··on Apache Log4j vulnerability shows the importance of SBOMs of running apps
Actually me who's running a stack of services on Node.JS written in TypeScript had a wonderful weekend. I had my birthday on Sunday and took my girls to Christmas fare. So did my colleagues. The other half of the company were busy resolving the incident ;-)
p2t2p··on Why general inheritance is flawed and how to finally fix it
I _hate_ smart asses that do "everything final by default". It all fun and giggles until I can't mock some stupid class in some stupid library that I have no choice but to use just because someone is high on "inheritance is bad" hype. Instead of normal mocking/stubbing I now have to use stuff like PowerMock which does byte code hacking just so I can have a test.

How about you stop making decisions for me and let _me_ decide whether I want to inherit your class or not.

p2t2p··on Pixel prevented me from calling 911
> Android has grown too big for google to maintain

My theory is Google was never setup to maintain such a thing.

I think an operating system running on customers hardware requires quite a bit different, more stringent, responsible approach to development and release process. Microsoft seems to have it (albeit with their own flaws and in recent years they went rogue - when they fired their testers, shoot it was almost 10 years go).

Google is not setup in same way and internal incentives are not like that, judging by hoard of messaging apps. They are simply setup to make very short projects that do not require long-term commitment. When people move on, projects get abandoned, neglected and killed. Their incentives structure is like that. It is one thing to change a webapp willy-nilly and another thing to change and support code that you ship to millions of devices you know nothing about.

During 90th Windows had a lot of growth problem that Microsoft was figuring out, now Google's doing the same with Android but I don't think that they will succeed unless they change their incentive structure.

Now having said that about Google, one has to admit that it is _vast_ and there are a lot of different teams and I suppose there are plenty of teams that work in different way. But still, they can't be shielded from corporate overall culture.

p2t2p··on AWS us-east-1 outage
I have alerts going off because of that…
p2t2p··on Numerics applied to Casimir geometry generates intersection with Alcubierre warp
Prandtl–Glauert singularity

https://en.wikipedia.org/wiki/Prandtl–Glauert_singularity

> The Prandtl–Glauert singularity is a theoretical construct in flow physics, often incorrectly used to explain vapor cones in transonic flows. It is the prediction by the Prandtl–Glauert transformation that infinite pressures would be experienced by an aircraft as it approaches the speed of sound. Because it is invalid to apply the transformation at these speeds, the predicted singularity does not emerge.

> The incorrect association is related to the early-20th-century misconception of the impenetrability of the sound barrier.

I learnt about it from Destin's video: https://youtu.be/p1PgNbgWSyY?t=816

p2t2p··on Numerics applied to Casimir geometry generates intersection with Alcubierre warp
Prandtl–Glauert singularity

https://en.wikipedia.org/wiki/Prandtl–Glauert_singularity

> The Prandtl–Glauert singularity is a theoretical construct in flow physics, often incorrectly used to explain vapor cones in transonic flows. It is the prediction by the Prandtl–Glauert transformation that infinite pressures would be experienced by an aircraft as it approaches the speed of sound. Because it is invalid to apply the transformation at these speeds, the predicted singularity does not emerge.

> The incorrect association is related to the early-20th-century misconception of the impenetrability of the sound barrier.

I learnt about it from Destin's video: https://youtu.be/p1PgNbgWSyY?t=816

p2t2p··on Numerics applied to Casimir geometry generates intersection with Alcubierre warp
There were times when physics PhDs would chuckle and say absurd about going faster than sound. The equations that we had back then also predicted all kind of infinities in pressure, etc.
p2t2p··on CT scans of AirPods evolution
That's the missing piece for that Designed By Apple 300 dollar book.
p2t2p··on Millennials Killed the Mayonnaise Industry (2018)
Just use "reader" mode and you'll be good
p2t2p··on Apple broke up with me
> transcoding and finding the damn things

I'm sorry, this is bullshit.

I spend _less_ time if I torrent stuff.

Example: I want to watch the last season of Expanse. Ok, go to iTunes (Apple TV). Nope, not there (Australia). Hmmm, may be Netflix? Nope. I remember it was by Amazon or smth? Oh yeah, it's in Prime.

How much time did I just spend? And I also must pay for all of those?

Torrents:

- go to my favourite tracker

- search, find bunch of options from SD to HD with bunch of audio tracks and subtitles that not a single commercial pos offers

- copy magnet link

- paste in transmission UI

- done, took less than 3 minutes.

Whenever I feel like watching it, open Infuse on iPhone and watch it from my Emby.

p2t2p··on Apple broke up with me
Good to know, thank you. It is still doesn't cancel my point that producing "self-hosting in a box" devices is possible and profitable.

Also there used to be "Windows Home Server" thingy.

p2t2p··on Apple broke up with me
> It's not something most tech people can

That's not really true, there are offerings on the market that make it a breeze. Take Synology. You get raid with dozens of terabytes, that is self managed and has got instructions on every aspect of usage. It's got Google Photos rip-off for every mobile platform, it's got LDAP, Email, Caldav and Cardav packages with GUI. It's got DNS server with easy to use GUI, it's got packages for NextCloud and it's got something like Dropbox that is made by Synology as well.

You don't need no port forwarding or fancy security, it can connect to Synology's cloud thingy that will route your traffic back home correctly, DDNS on steroids.

So if you really want to self host everything, it is couple grands out of pocket and couple of evenings of clicking around.

I am not affiliated with Synology, just a happy user (although I only use it as raid storage with SMB, NFS and as Docker server).

p2t2p··on Apple broke up with me
Yes this.

All this case (and similar others with other companies) demonstrates is that we're lacking in laws and regulation here.

There should be no way that it is legal to just lock a customer like that without paying them all the money invested in virtual "goods". Sure, you want to block me then return all the money I paid for music, apps, etc.

There should be channels in every company where they will precisely tell you what happened and why. If they want to just stop dealing with you - they must pay back.

There's nothing wrong with using a service, what is wrong is that our laws are not up to the task of dealing with those risks.

p2t2p··on English to Emoji – Yandex Translate
“Make it so” is so on point :)
p2t2p··on Become a Signal Sustainer
I don’t use it very often (not enough people from my circle there) but I went straignt to that screen and donated. We gotta keep this option live and open for us.
p2t2p··on Lazygit: A simple terminal UI for Git commands
I recently grew fond of Gitfox. Has been using it for couple months and am very happy with it. Prior to that I couldn't stand any Git GUI and was living in terminal.
p2t2p··on Emacs Docs The modern documentation website Emacs deserves
I wanted for some time to have wiki compiled into man pages or info files and have all of it locally.
p2t2p··on Command palettes: how typing commands became the norm again
I expected something like that. Don't get me wrong, not in a bad way in "I know where you're coming from way". I personally don't care for icons, I like "the Apple way" - a menu with a search. A perfect Windows UI for me would be no icon panels, just a menu in a window and some shortcut to search through it and also each menu item would've a keyboard shortcut typed next to it.
p2t2p··on Command palettes: how typing commands became the norm again
Have you ever run `rm -f important_doc.txt` instead of intended `rm -f important_doc copy.txt`?

It doesn't matter if it is GUI or terminal interface, software must be _humane_, forgive mistakes and provide a way out. As much as love Unix coreutils and have them in may fingertips, those are the least humane programs I have ever used.

Surprisingly, git seems quite humane, even when you screw things up it gives you a lot of safety mechanisms to recover.

p2t2p··on Command palettes: how typing commands became the norm again
That is an interesting perspective. May I ask you what is you professional use of a computer and if it is programming - what kind of programming? I’m asking because I’m curious if environment drives habits/preferences.
p2t2p··on Command palettes: how typing commands became the norm again
I use fzf as command autocomplete tool in my zsh. It is still not a command palette but gets pretty close.
p2t2p··on Command palettes: how typing commands became the norm again
Correction: Event logs should be transaction logs instead and you must be able to travel through it reverting and re-applying actions. It should be branch-able and allow you to jump between those branches.
p2t2p··on I Don't Want to Be on Call Anymore
My company pays for on-call. There is a rotation, you go for a week and they pay you more for that week by several hundred AUDs and it is basically a job requirement. Does the fact that it is discussed during hiring process and that it is paid change you opinion about being oncall?
p2t2p··on I returned my Remarkable2
I use iPad with Notability and it seems to be perfect. I keep my notes in Apple Notes and hand writing in Notability. Endless scrolling makes it so it doesn’t feel size limiting and features like circle a piece of text to move/zoom it makes usual paper feel outdated. I’m trying to migrate to Apple Notes for hand writing as well but they are way less than perfect for it for now.
p2t2p··on The fabulous Flamingo, a motorhome made from an abandoned aircraft
> wider roads

Surprisingly but not, at least compared to Russia (and Switzerland)

Lanes here are narrower than in Russia and of my memory doesn’t fail me, when we were driving from Switzerland to Italy several years ago, the lanes there were as wide as in Russia.

p2t2p··on Dead ends of information technology
> Disregard for minorities is generally frowned upon by human societies, isn't it?

Not really, it is relatively recent development in a limited set of cultures/subcultures.

And even in those cultures, it is not just any minority but a marginalised minority.

> I think it's totally doable to build something performant

Again, no one cares, they are performant enough to deliver experiences they want to deliver and there’s no incentive to do anything “better”. Better in quotes because “better” depends on priorities.

Just to clarify, I’m not saying it is good that we’re in that situation. I’m saying that reality is what it is and that I don’t see any stimuli for it to change in near future. Even death of Moore’s law didn’t help

← PreviousPage 2 of 16Next →