HNHacker News
TopNewBestAskShowJobs

p2t2p

1,045 karma · joined November 9, 2016

submissionscomments
p2t2p··on Loopless Code (2006)
For me at comes down to telling "how" instead of "what" to do.
p2t2p··on Dead ends of information technology
> But, of course, who cares about me, I should just buy a new computer, right?

Unfortunately it is not only you. _A lot_ of my employer's customers complain about frontend performance and the fact that the UI is generally made with assumption of fairly large display (almost everyone in the company has got 27"+ monitor whilst our customers are often on 2-3 years old business-versions of Lenovo or something similar with 14 inch of screen and 8gb of RAM top).

And yes, that's right, who cares. People like you are minority (people on phones are majority), people in enterprise settings don't have a voice and choice, and economy drives everyone towards using web stacks.

Also I guess my expression wasn't exactly clear. What I'm trying to convey is that technical superiority doesn't matter and users don't care about technical superiority. They care that music plays right away when they tap "play". And it is way easier to deliver that experience using web stack than any kind of native stuff.

p2t2p··on Dead ends of information technology
> Electron and Atom are resource hogs that force you into wasting resources

You can repeat it as much as you want but poke any modern laptop, how many native apps and how many electron apps are there? Spotify, VSCode, bunch of note taking stuff, trello for desktop? And those that are not electron-based, they are simply running in browser. In other words - who cares what you think about performance?

> Saying NFS isn't used anymore is ridiculous. Modern NFS 4.2 with pNFS features is badass.

Again, nobody cares that you think it is badass. My work is still on NFS 3-something because NFS 4 introduced performance issues and restrictions that make it impossible to use. And you know the way to upgrade? Yeah, get rid of NFS and develop a cluster of independent agents that talk over grpc.

p2t2p··on Dead ends of information technology
I use it in my home setup to spin up some service that run in containers automatically. The flow is: change docker file, push, CI runs and validates, another CI runs that uses ansible to run those containers. I probably could connect directly to that docker machine but I don’t want to expose Docker API to the network so I just use ansible.
p2t2p··on Dead ends of information technology
I disagree with some of the things on that list but generally I like the list.
p2t2p··on Named Pipes in .NET 6 with Tray Icon and Service
Honest question - how relevant the skill like that nowadays with all the stuff going Web and Electron?

Are there any apps (except for creating stuff) that are being developed in a way that “server” part is running locally? It seems to me that everything goes web now and if you have a desktop it’s “just” a client for something remote?

p2t2p··on Tools I use: PyCharm / Idea plugins
I switched tech stacks from Java on backend to TypeScript on backend and I'm quite happy that I can afford to use VSCode instead of IDEA now. While IDEA is absolutely wonderful IDE with magical capabilities, the speed and the fact that config is obscure complicated XML that can't be easily committed to the repo makes me want to use something else. If had to do java I'd still go with Idea though, whatever that thing from RedHat in VSCode is, it is not even close.
p2t2p··on UK to ban all in-hand mobile phone use while driving in 2022
That’s cute but if I’ve got a touch screen in my car and scroll through Spotify playlist, I’m as distracted as if I would be doing that on my phone if not worse.

We need something general about distractions and may be a mandate that requires cars to disable touch screen whilst moving. “Put gear shift lever in park to enable touch screen”

p2t2p··on Power Fx: open-source now available
Darn it, every time MS does something like it I feel an urge to get myself a Windows laptop. Gotta control myself.
p2t2p··on Debit cards are hidden financial infrastructure
Australian here. Don’t use credit card, setup a separate account for bills, direct debit everything from there, don’t keep anything big on your debit card and use it with Apple Pay everywhere. No fraud, no fees, no complex things and rules to remember.
p2t2p··on A spoonful of sugar helps the radioactive oatmeal go down (2017)
> None of that suggests that just because you read a conspiracy theory now that it's even remotely true

I don't see where I'm saying that modern conspiracy theories are true and I don't see how your comment resolves the "lack of trust for established sources of information" issue I'm raising.

You go again blaming it on people being idiots instead of suggesting fixes that address those people's concerns and underlying reasons for their concerns.

p2t2p··on A spoonful of sugar helps the radioactive oatmeal go down (2017)
And then people are surprised that QAnon has such a following. Sure thing people will believe in conspiracy theories when it turns out that bunch of conspiracy theories are true. Veritasium had a nice video on that.
p2t2p··on Ask HN: Whatever happened to Wolfram Alpha?
I needed to plot something real quick to see if I’m picking correct function. I had don’t remember how many data points but no much, under 200 I believe. W.A. told me to piss off and pay for it. So obviously I went and spent an hour more to learn how to do that with Gnuplot and did it with Gnuplot. Now I always go for Gnuplot right away.
p2t2p··on Making Emacs Popular Again (2020)
I compared it two what I see in my VSCode (https://imgur.com/a/u9naqVi) and fair enough, it got way better since I tried it last time.
p2t2p··on Making Emacs Popular Again (2020)
Exactly that, plus it doesn't really serve well as platform. I mean VSCode renders Markdown previews correctly, not some ASCII based approximation. It renders images if I happen to click on one. Extensions can actually provide decent UI, thank's to that CSVs never looked better in my text editors.
p2t2p··on They don't even know the fundamentals
You don't, but boy do I love not focusing on how to type something and just having my thoughts flowing into the screen without me thinking how to do that.
p2t2p··on They don't even know the fundamentals
> requirement is that the engineer being hired is able to come up with efficient algorithms.

Coding binary tree is not the way to discover that.

Presenting a task and observing people solving it and explaining computation complexity behind their solution and the thinking behind their solution is how you do that.

p2t2p··on They don't even know the fundamentals
You're right but you or more precisely that interviewer is also wrong.

Understanding the way your storage works is crucial, yes. But you ensure people understand it not by asking "Explain ACID to me" but by asking to design a certain system and observing them figuring out requirements and asking questions. You then ask follow up question about consistency and reliability, you probably even can ask about benefits of using transactions but I wouldn't because there's plenty of databases that can be used reliably that don't have transactions.

Life is more complex than ACID, that's it. Investigate if person understands life, not that they were able to memorise bunch of magic acronyms.

For the life of me I don't remember what SOLID is and I totally fail to parse any written explanation of liskov substitution principle but whenever I see code that violates those I immediately go "please don't do this, that'll cause problems in the future".

p2t2p··on Ask HN: How do you tackle your own negativity?
Music and work you enjoy. I put on some russian rock from me being 16 years old and do some enjoyable coding.

And I can't stress it enough c̶o̶c̶a̶i̶n̶e̶ Lagavulin 16.

p2t2p··on Visual Git
It’s jargon. There are two layers of cli commands in Git. One - user friendly like “git commit”, that does abstract things like commits, diffs, etc. It is called “porcelain”. Another level is low level commands. They are used by “porcelain” level commands to actually manipulate Git’s database. They allow to create objects, change objects, cause re-packing, manipulate refs (branches and tags but more than just that), manipulate object types and look inside objects.
p2t2p··on All Applications for Nuclear Energy at COP26 Rejected
Basically if you say to me that you care about climate change and then reject nuclear, I stop talking to you and taking you in any kind of seriously. Once you reject nuclear it’s just virtue signalling.
p2t2p··on Reflections on software development from anywhere on an iPad
I wish they would make docker and external monitor possible on an iPad. VSCode for iPad + docker that is shipping with it + VSCode Remote that runs dev. environment in that docker would solve all the developers requirements (except for power).
p2t2p··on Earn.com will ruin email if it succeeds (2018)
> if you had someone's email you could be sure the message directly reaches him

You don’t get it. I don’t want your message to directly reach me. I want you to kindly f-off and don’t waste my time with endless offers of shit that I don’t need. You think your message is worth it? Pay me for my time to look at it then. I think it is a great idea. I wish someone did it for phones as well. “p2t2p won’t answer your call as you’re not in the list of approved callers. Press hash sign to make a paid call for a small fee of 1 AUD a minute if you really think your phone call is worth it."

p2t2p··on Earn.com will ruin email if it succeeds (2018)
The recepient configures an auto reply with “No thank you” just keeps receiving money?
p2t2p··on New language features since Java 8 to 17
Am I the only one who's seeing "sealed" classes as an unfortunate development?

I can't count how many times I had to resolve to using PowerMock and hacking bytecode just to mock something in one of the libraries I use because it's ingenious author "final"-ed the whole API surface of the library (and bits of the implementation usually).

Now this gives even greater tool to people who love to lock everything up and think that they know better than me what I need.

p2t2p··on An enormous thread on alleged Google Facebook collusion
Define "kill". Is coding drones that do military strikes considered killing?
p2t2p··on An enormous thread on alleged Google Facebook collusion
Well, look at me. I’m an immigrant. My wife’s useful skills would probably give her salary of about 5th of what we need, so she doesn’t work and takes care of the kid, house and engages in her hobbies, like making custom teddy bears.

If I were put on a project like that I can easily imagine being quiet about it as I put well being of my family waaaay above any ethics. I can imagine that a lot of people do.

So the only real way to solve it is robust regulation and good channels for whistleblowers.

p2t2p··on After the pandemic, we can’t go back to sleep (2020)
Actually Marxists are the best. They tend to express somewhat coherent viewes as Marxism have quite strong philosophical roots. Lots of others are just “views”, that is a pile of incoherent whims that should be realized somehow.
p2t2p··on After the pandemic, we can’t go back to sleep (2020)
> Should we all get a patch of land and grow food for ourselves?

A lot of those types would loooove to see lots of people to go back to subsistence.

That is a lot of people but not them, they are way too smart for that and they’ll reluctangly agree to take the job of guiding lights for all those that went back to subsistence.

p2t2p··on Software developers have stopped caring about reliability
My spelling is horrible, especially when I write on the phone, I know, sorry
← PreviousPage 3 of 16Next →