HackerTrans
TopNewTrendsCommentsPastAskShowJobs

valty

no profile record

Submissions

Ask HN: Best file watcher for Node.js/Bun

2 points·by valty·hace 2 años·0 comments

Ask HN: Shell config is crazy complicated. Any solutions?

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

Ask HN: Fastest cross-platform GUI stack/strategy

16 points·by valty·hace 2 años·26 comments

Ask HN: Why don't we turn government into a subscription service?

5 points·by valty·hace 2 años·27 comments

Ask HN: Why is query, key, value in LLMs so hard to explain?

2 points·by valty·hace 2 años·2 comments

[untitled]

1 points·by valty·hace 2 años·0 comments

Ask HN: Is an AMD Threadripper a good idea to speed up code compilation?

2 points·by valty·hace 2 años·11 comments

Ask HN: How to manually filter my YouTube feed on iOS?

3 points·by valty·hace 2 años·0 comments

Ask HN: Programming Without Files and Folders

2 points·by valty·hace 2 años·6 comments

Ask HN: How to write code without having to refactor

3 points·by valty·hace 2 años·4 comments

Ask HN: Fastest way to help a lay-person understand what a compsci "graph" is?

3 points·by valty·hace 2 años·10 comments

Ask HN: Best way to do scoped commands in a CLI app

2 points·by valty·hace 2 años·1 comments

Ask HN: Doing everything myself, where would be the biggest pain points?

3 points·by valty·hace 3 años·4 comments

comments

valty
·hace 2 años·discuss
> "says"

I had of course already checked and it does not. https://github.com/bitgapp/eqMac/issues/380

So please remind me of why your condescending comment was necessary?
valty
·hace 2 años·discuss
And which one has a keyboard shortcut for bass/treble smarty pants?
valty
·hace 2 años·discuss
What I really need is a software bass/treble control that can be mapped to keyboard shortcut.
valty
·hace 2 años·discuss
This line of thinking led me to think: global variables should be, rather, considered good!

Plain text is the problem. We write code so it can be easily read as plain text. Not as living, breathing, running code.

Globals are considered bad because they are hard to trace and reason about. But this is only so with plain text. You cannot click on a variable and see all it's dependencies. We must painstakingly trace these.

If we visualized the dependencies and the flow of our code, we could see the complexity as we go. And the "context" becomes automatic. There is no difference between explicit and implicit context.

The key for globals, is to have one large graph data structure where everything is related. All your data is modeled the same. No mini-databases spread out over the code. No ad-hoc indexes strewn throughout. No modularity. One single giant data model.
valty
·hace 2 años·discuss
Yeh horror story was probably too strong a word. I need to try it.
valty
·hace 2 años·discuss
I've heard a lot of horror stories with Swift UI.

I think it's crazy that it's closed source too. It's a big black box which makes debugging hard. Plus its the kind of framework that does a lot of magic stuff where you scratch your head wondering what is going on.
valty
·hace 2 años·discuss
Wow 55K GitHub stars. This is like some record.
valty
·hace 2 años·discuss
Good point. I would prefer to write in HTML/JS. Vanilla JS is probably the way to go.

I think modern frameworks are so bad at perf because they assume people just have so much compute available and are focusing on one app at a time.
valty
·hace 2 años·discuss
When I said "stack/strategy", the _strategy_ part implied this build-for-each-platform approach.

The question still remains then of which to use for each platform.

On macOS there is Cocoa (Swift or ObjC(++) or pure CPP) and Swift UI.

On Windows there is .NET C# or CPP and a bunch of other stuff.

Any thoughts?
valty
·hace 2 años·discuss
Apple should really be investing in their own stuff here.
valty
·hace 2 años·discuss
> showed my tax dollars flowing through to that child...would be eye opening

I agree. Charity's often use this for marketing. Making clear the direct human impact of your donation. Tech companies like Apple do this a lot too.

But when a government talks of its successes in statistics...I don't think about my tax spend. I think that it was my (and other people's) vote for that team that did that. And typically not even the team...rather the leadership of the political party.

It's like a shift in the marketing approach.

We sent 100bn to this country to help out with this.

vs.

Average Joe paid 10$ of his income last year which helped pay for this and that for these people. One of those people today was Sally... One of those people 15 years ago was Tracy...
valty
·hace 2 años·discuss
> small government

A different spin on "small".

I wonder if you could have micro-governments instead on a per-topic basis with their own mini-budgets.

These omnibus spending bills seem absurd.

The tax should be incurred/realized at the point of the benefit received.

Imagine getting a monthly bill on your estimated tax spend with details of everything it is spent on and how that benefit flows through to you. This might make people more receptive to government.

Also thinking about a Government+ premium subscription service. How can the government offer added benefits to raise more money for things. I guess this is charity.
valty
·hace 2 años·discuss
> If companies aren’t forced to NOT pollute, they will pollute

If no one buys their products, or any products with them in the supply chain, then they won't pollute.

Visibility into these supply chains wasn't possible before internet/technology. A free market relies on consumers paying attention which so far they haven't been, because we are too used to relying on the government...and then complain so much about government.

You definitely see consumers driving improvements through their purchasing. Definitely in areas such as sustainability.

I guess regulation addresses a time lag situation. But if a private market developed for a companies that regulates other companies with subscription fees, then this would solve the problem and do it in a better way. Although I'm not sure how the threat of jail can fit into this. Can penalties be strong enough? Is bankruptcy a strong enough disincentive to lie to private regulators.

> They are there to stop a single fire from burning down the city.

Interesting point. Definitely has non-excludability.

I remember this scene in Gangs of New York where the firemen fight each other back when it was privatized (don't know if this was real).

> rich have freedom of movement but the poor do not

A lot of transport is private. Maybe the poor have more money if they don't have to pay so much in taxes.
valty
·hace 2 años·discuss
Subscription tiers for national defense is funny to think about.

Priority assistance / 24/7 support / merch
valty
·hace 2 años·discuss
Schooling is a tricky one for the free market, and it ultimately gets a bit morally dubious.

I guess you are trying to sell the benefit of a highly-educated country to those who choose private schooling, and getting them to pay for this.

It boils down to how much are you willing to pay for another child's education and what is the acceptable standard of that education.

But if we think about the supply of education, a lot of it is about good teachers, and ultimately someone has to be stuck with the worst teacher in the country. And also class sizes.
valty
·hace 2 años·discuss
I'm interested to dive into this healthcare topic a bit deeper.

To find out what a true free market of healthcare looks like.

Often you find that government intervention distorts markets.

---

...and this looks like the case.

For example, people complain that benefits are tied to employers. But this was caused by the government capping wage increases to combat inflation in 1942, which resulted in companies offering pre-tax health benefits.

This looks like it is changing as people are like: wtf this makes no sense and creates so many bad incentives.

It looks like market forces will fix the system in the end, maybe it just takes 50 years or so.
valty
·hace 2 años·discuss
> Maybe I try organizing online, which probably goes nowhere...Very few people have the time, energy, or resources

The thing is...a sector of companies that do this is probably a good business opportunity that is being crowded out by a mandatory government monopoly.

The fact that government does this means that you are already paying for it, and maybe its not being done well.

If people care about their food, they should look for a sticker on their food, from an organization that verifies it. If other people don't have the label, and people know about it, then people won't buy from them.

And if this is too much trouble, then have another industry above this where companies offer all-encompassing ratings on a variety of different things.

With modern technology so much is possible to solve problems that otherwise were too complicated.

You could end up with a marketplace of super apps, that ensure you are completely covered across all avenues of life to the parameters that you desire.

It sounds complicated, but today its even more complicated with government where we rely on the media mostly.
valty
·hace 2 años·discuss
> Nobody would pay for the fire department

But they essentially do via their taxes. Implying people understand they need to fund it.

If we imagine a very transparent flow of information regarding fires...people would readily see the need for it. Like how we buy insurance.

All roads could be toll roads. We have technology to track exact usage of roads. Why should cyclists pay for the entire road?

If someone doesn't pay for the roads and gets a delivery, then they delivery company passes on the cost of the road.

If we have very transparent availability of pricing then this becomes possible.

> Are companies that don't pay for the EPA allowed to pollute to their heart's content?

If people don't want pollution...they shouldn't buy from companies that pollute.

If people don't want pollution they should ban it from their private property.

With modern tech we can see the entire supply chain of these companies, so consumers can make choices.
valty
·hace 2 años·discuss
> inherent monopolies

I've learned to be careful about this "natural monopoly" term because it turns out to be very debatable. Recently with fiber deployments is a good example...see London/UK experience.

I feel like if people realized the benefits to having many companies compete for everything, then they would choose services that did not act like monopolies and to create barriers of entry.

The consumer ultimately dictates how companies should do business. The problem is a lot of the time they are choosing the price that is in front of them, and not considering the price in the future.

If consumers were smarter they could break monopolies without government intervention necessary.

Like if there were two companies building out some critical infra...if one promised they would do it in a way that others could compete easily, and consumers valued that, then they would win the contract.

> profit above all else a good objective for government services

This doesn't need to be the case.

People already work for government without profit incentive. It's personal prestige mostly I think.

Interesting to think about what would happen if we introduced duplication and competition within government departments. It seems extremely counter-intuitive because of duplication, but its how the entire capitalist sector deliver efficiencies. Same as how open source works. People compete for prestige.

Corporates sometimes do this too. Google might have multiple teams working on the same goal.

Interesting to think about what would happen if you hired two people to do one job and made them compete against each other on every task.
valty
·hace 2 años·discuss
> If you don't have, and don't plan on ever having kids

Then you don't pay for their services, and other people pay more.

Most people don't want an uneducated population so they pay for them.

Government is this strange beast where we continuously seem to vote and pay for all these things we value at the ballot box, but then given the individual choice we change our mind. Or its a matter of "I won't if they don't". Which I guess creates the problem of excludability...if one group is paying for something that those who don't pay for it can't be excluded from...then it's unfair. Then it kind of comes down to everything being modeled as "insurance", such that you are guessing into the future as to what might happen to you and what you might need, and paying based on that.

Maybe its a convenience thing - it takes too much time.

> if I don't drive and don't have a car, I'd shortsightedly opt out of paying for road maintenance

I mean if you drive on the road you should pay more. And with modern tech we can now track road usage very precisely.

The *shortsightedly" argument could be resolved with civic education. People need to be more informed about these things. Or its like: if you don't pay for roads, then you get surcharged by any service you use that uses the roads.

> which is not to turn a profit

Government is then essentially a bunch of not-for-profits. But instead of multiple tackling the same problem, there is only one.

Nothing implies a need to turn a profit.

Those working in the public sector are incentivized by government committee scrutiny, who are incentivized by winning elections.

So you essentially have a bunch of people who do things for reasons other than money. It's a bit like open source software.

Some people will do things simply because they see there is a better way of doing them, and they enjoy doing it, and perhaps derive secondary benefits like prestige and fame.

By not voting for the "zero tax" party, people continuously show that they derive benefit from the services that their taxes pay for.