HackerTrans
TopNewTrendsCommentsPastAskShowJobs

grumblingdev

no profile record

Submissions

Tell HN: Modern software engineering is ridiculous

47 points·by grumblingdev·hace 2 años·22 comments

Ask HN: Write once, run anywhere front ends failed. Thoughts?

10 points·by grumblingdev·hace 3 años·23 comments

Ask HN: Do we still need Electron?

5 points·by grumblingdev·hace 3 años·1 comments

Ask HN: What is the best way to build a desktop app in Windows in 2023?

51 points·by grumblingdev·hace 3 años·104 comments

Ask HN: Are cross-platform frameworks worth it?

2 points·by grumblingdev·hace 3 años·2 comments

Ask HN: What it the tech stack of the new WhatsApp desktop?

2 points·by grumblingdev·hace 3 años·2 comments

Tell HN: The terminal shell is a nightmare

1 points·by grumblingdev·hace 3 años·4 comments

comments

grumblingdev
·hace 8 meses·discuss
> right now

Yes I admit the Silicon MacBooks are pretty good - albeit losing external GPU support and max 4 external monitors.

The Intel MacBooks were unusable though.

There is such a lack of competition. We really some new polished Linux variant.
grumblingdev
·hace 8 meses·discuss
This Intel is my secondary laptop - but give it any kind of non-cricial task and the fan is on max and its practically unusable. I have M3 Max now.
grumblingdev
·hace 8 meses·discuss
I had a 13 Pro and I thought it was too out-dated which was why my Safari was ridiculously slow, so I bought the 16 Pro...noticed literally zero improvement. Overheats, bugs galore, search for apps is slow and still doesn't work.

I am seriously looking at Android now, first time in my life.
grumblingdev
·hace 8 meses·discuss
Yes!!! Such great news.

Apple has really gone to shit. I am confronted by Apple performance and bug pain every hour of my life. I always think: how can someone think this is acceptable? Steve Jobs wouldn’t.

Everything is such trash I could go on for hours.

I realized a long time ago that if the person at the top doesn’t care then no one will. It seems hard to believe but it makes sense when you consider individual incentives, politics, and the complexity of software. Everyone wants a safe promotion and doesn’t want to take the risk to push things forwards.

Apple Silicon seems great but the Intel MacBook was the worst piece of shit ever so they kind of had to. I have a 2019 that was the top of the line but can’t do anything without overheating. It’s barely usable for any second laptop tasks.
grumblingdev
·el año pasado·discuss
If people are willing to buy my product for $100 at most, I will earn $83 pre VAT (20%).

If my product costs $73 to make, then I make $10 profit, and the government earns $17.

The government then spends this $17 to the benefit of the citizens of that country.

The tax burden either falls on the producer or the consumer depending on price elasticity of demand.

High elasticity would result in the producer needing to absorb the VAT.

But high elasticity for individual products usually results from increased competition.

But if there is not much competition, and elasticity is still high, then the company's profit margins are being eroded by the tax, with a greater share going to the government.

If the average price elasticity of demand for imports is higher than domestic production, then one could argue this is not fair.

Also, each EU country has certain discretion over how to charge VAT for groups of products so there is the potential for unfairness and tariff like impacts.

But I will admit that it is a difficult case to make that a consumption tax is discriminatory.
grumblingdev
·el año pasado·discuss
Social media is rapid fire short cuts and videos.

Destroys our imagination and creativity. Instant satisfaction.

When we imagine things we are exploring a tree of possibilities and following the branches that give us satisfaction.
grumblingdev
·el año pasado·discuss
There is a big opportunity for someone to make a all encompassing blocker. I am yet to find one. I think everyone is struggling with this in some way.

Anytime I get setup with a blocker it helps heaps. But I always slip back in. Every source of useful information (Reddit, YouTube) comes with toxic clickbait that you cannot disable.

I realized that my addiction is to the point that I cannot reason my way out of it. There needs to be a physical barrier.

A tangible example is sitting eating breakfast and the phone is sitting there and I so badly want to check cnn.com to see what is kicking off in politics.

Today I decided not to check it, and my imagination ran wild and I got really motivated about work. If I checked the phone though this wouldn't have happened and I would have ruined my whole morning searching for little dopamine hits.

Social media kills your imagination and injects someone else thoughts into your head. You want to let yourself think about things that you enjoy and motivate you INTRINSICALLY, not someone else because then you just keep needed to rely on their enthusiasm.
grumblingdev
·hace 2 años·discuss
> "move fast and break stuff"

But it makes me wonder how people have time to invent all this shit when they need to move fast. Learning a new stack every 2 years doesn't seem like moving as fast as you could.
grumblingdev
·hace 3 años·discuss
What was the exact moment the fraud began?

What should he have done instead?
grumblingdev
·hace 3 años·discuss
Just no obvious choice like every other platform.
grumblingdev
·hace 3 años·discuss
Easy...

    $`ls -al`
or

    ls('al')
And, transpile shortcut strings on-the-fly to TS code:

    ls({
      all: true,
      oneEntryPerLine: true,
    })
grumblingdev
·hace 3 años·discuss
We should stop using Bash, and use TypeScript instead.

Bash is terrible.
grumblingdev
·hace 3 años·discuss
Everyone bought into "immutable" "no side-effects" "one way data flow" as this ultimate goal. But never thought what the tradeoff is.

And people get FOMO that they need to use a big thing that they couldn't write themselves.

Whereas if you throw out everything and just build only what you need, you get something infinitely more understandable and simpler, probably with some hand-rolled data-binding thing that you actually understand.

Most people don't understand how their frameworks are working under the hood. They are just relying on a nicely documented API...until anything goes wrong.

Trying to debug React for example is insane. And if you build your own custom store it re-renders 6 times when in dev. When I saw this...I knew React's days were numbered.
grumblingdev
·hace 3 años·discuss
Yeh, React is a nightmare. It's too easy to build a tangled, un-performant mess.
grumblingdev
·hace 3 años·discuss
> the first, MVP-style, attempt will be using Electron.

Good choice.

If you want to stick to HTML...WebView2 is suppose to replace it, but it assumes your backend code is .NET or C++, instead of JS/Node.js. Microsoft Teams is using it.

If you want to use native Windows UI components from JS code, then React Native for Windows is recommended. Facebook Messenger is using it.

All approaches require C# or C++ modules to be used to interact with the Windows Platform. Or there is: https://github.com/tjanczuk/edge.

The recommended approach is WinUI 3 which would involve C#/C++ and XAML.

To SwiftUI/React/JetPack are called module-view-update (MVU). There is an MVU for C# called Comet. https://github.com/dotnet/Comet#key-concepts
grumblingdev
·hace 3 años·discuss
Exact same experience. Socialization is great but work is a solitary pursuit in an isolated space free from distractions.
grumblingdev
·hace 3 años·discuss
I find FaceTime terrible. Takes 10 seconds or more to connect.
grumblingdev
·hace 3 años·discuss
Imagine being an Amazon delivery driver. Monitoring to the extreme. Constant boring shit all day. Running up apartment stairs.

Then imagine an office worker...

It's a world of difference and puts things in perspective.

People take things for granted too easily.
grumblingdev
·hace 3 años·discuss
My point is its a minor inconvenience compared to a lot the working environments people operate in.
grumblingdev
·hace 3 años·discuss
"get the job done" is usually poorly defined.