HNHacker News
TopNewBestAskShowJobs

nlitened

2,136 karma · joined March 30, 2016

https://www.latypoff.com/
submissionscomments
nlitened··on Mattermost restricted access to old messages after 10000 limit is reached
You actually don't have to maintain the fork and/or update to latest version if you don't need new features.
nlitened··on It's Always TCP_NODELAY
It’s up to the application to change this parameter on per-socket basis
nlitened··on O'saasy License Agreement
> If your SaaS can’t compete on the service part, the software part ain’t gonna make or break you.

Oh, your bootstrapped team can’t simultaneously develop from scratch and support the new open source software project AND outcompete a multi-billion dollar business who decided to offer your service as a below-cost addon to their offering used by millions of people on day one? Tough luck, greedy bastard, you should have stayed in your cubicle.

nlitened··on If AI replaces workers, should it also pay taxes?
I think the major problem with your described system is how you quantify wealth. For example, you start a startup, get almost no salary, but you raise a 20M investment on 100M valuation — with your proposed method of calculation, the government already wants you to pay tax on your shares of a 100M enterprise, whereas you may not see a dollar of profit for another 10—20 years (or ever, if the startup fails). It's very difficult to quantify wealth, especially taking into account that a lot of it is risk-bound and long-term.

One interesting aspect of trying to quantify wealth and tax based on that — is that it gives enormous advantage to bearers of wealth that is difficult to quantify. For example, political followers is wealth that you can't tax, but one can turn into profit very easily and in many sneaky ways. Also power in general (power to collect taxes, power to control law enforcement and army, or people with guns in general) is wealth that isn't quantifiable in monetary amounts. So in this system powerful people will be much more powerful because they will start accumulating all other forms of wealth, and very difficult to restrict — why would they use their power to restrict themselves? They would use their power to remove any restrictions at the highest priority.

So instead of the current system (people willing to invent new things and work overtime for years to bring value to millions of people for a chance of outsized returns — and sometimes earning them) you get a system where political class seizes all power, removes all checks and balances, redistributes wealth production to themselves, and unleashes violence to rule forever. It has been tried many times.

> Government employees doing as you describe would also be subject to severe penalties

This only works in capitalistic open societies where wealth doesn't concentrate with government employees.

> The purpose of policies like the ones I describe is to encourage people to start small businesses and keep them small

Not all businesses can be small. How can a small business construct an airplane? Organize a nation-wide or international postal delivery service? Build millions of cars with spare parts available for decades? Make food, clothing, and shelter for millions? These things require economies of scale to be affordable. And yes, government-managed big businesses have also been tried, they tend to be very unproductive, and produce expensive and low-quality items (with tendencies to significantly decline over years).

nlitened··on If AI replaces workers, should it also pay taxes?
So why would anyone start businesses or continue doing business in such a country?

You’re literally just describing an end to private property, where a privileged government representative can take anything you have. The “government job” will become so lucrative that the position would be passed down within families, father to son. It is already known how these economic systems function, I think.

nlitened··on The Tor Project is switching to Rust
They should just start compiling Tor with Fil-C — free memory safety, no new bugs from full code rewrite
nlitened··on Cloudflare was down
Also “Rewrite it in Rust”.

P.S. it’s a joke, guys, but you have to admit it’s at least partially what’s happening

nlitened··on What is better: a lookup table or an enum type?
I also love the approach of ClickHouse with LowCardinality(String). Flexible, clear semantics, high performance
nlitened··on Migrating the main Zig repository from GitHub to Codeberg
> The two aren’t in conflict; often they reinforce each other

I’d think they _are_ inherently in conflict. Every person has 24 hours per day, and they can spend them on researching and doing what’s right or on reaching consensus. There is some mutual reinforcement to some extent (as it’s usually right to have a reasonable consensus on what’s the right choice), but beyond some basic level there’s always tradeoff.

And for programming language designers, I really appreciate when they make the right long-term choices even if I don’t understand initially why they were made.

nlitened··on Ditch your mutex, you deserve better
I don't have any experience with STMs in other languages, but as far as I can see, the ideas are very similar in Haskell and Kotlin implementations, for example, so I guess the downsides are the same as well
nlitened··on Ditch your mutex, you deserve better
I think STM looks pretty cool in toy examples, but in practice it's pretty bad. Very difficult for me to make strong logical argument about this, just based on how it feels.

In Clojure, there are first-class STM primitives with retriable transactions in the standard lib, but every time I tried to use them, the code was slow, difficult to reason about, full of "colored" functions, and non-composable.

Also, unintuitively, the code starts immediately smelling slightly "wrong", as if I tried to put into code my first childish thoughts instead of actually thinking about how the system _should_ work. Like the notorious bank accounts example: yeah, cool, two accounts' balances are TVars — but what if I have 10M accounts? Is the list of accounts also a TVar since sometimes new accounts are created? Are indexes on the list also TVars? How do you persist the lists, how do you synchronize slow persistence and in-memory transactions? How do you synchronize all the deposits with a backup/failover machine? As you continue trying to untangle all this with STM, you start drowning in complexity, and encountering huge contention among transactions touching many parts of your systems, and spewing countless retry logs.

It's not only my own experience — I believe it's widely accepted in Clojure community that nobody actually uses STM, and instead uses simple atomic updates or queues.

nlitened··on Startups are pushing the boundaries of reproductive genetics
I am confused with your position. On one hand you seem to think that eugenics is bad and wrong, on the other had you have a preference on what people should and should not have children — but isn’t it literally eugenics?
nlitened··on How to Enter a City Like a King
“If you want to become a philosopher king, first become a king, then a philosopher”
nlitened··on Don't Force Your LLM to Write Terse [Q/Kdb] Code: An Information Theory Argument
> Human language has roughly, say, 36% encoding redundancy on purpose.

The purpose is being understandable by a person of average intellect and no specialized training. Compare with redundancy in math notation, for example.

nlitened··on Ireland is making basic income for artists program permanent
Why would taxpayers fund art that is not appealing or somehow beneficial to them?
nlitened··on Safe zero-copy operations in C#
Thank you for linking.

In this case, as I understand, you switched from a local array which is re-initialized with values upon each function invocation to a global array that is pre-initialized before even the program starts. So my understanding is you're measuring the speed between repeated re-initialization of your local array and no initialization at all — not between "relative" stack access and "absolute" heap or global memory access.

As I understand, to do it the way you wanted initially, your local array must be `static const` instead of just const (so that there's a single copy of it, essentially making it a global variable as well). To be honest, I am not sure why C compiler doesn't optimize it this way automatically, likely I don't know C spec well enough to know the reasons.

nlitened··on Safe zero-copy operations in C#
> Just a few days ago I changed stack access to heap access in a larger generated perfect hash and got 100x better performance

Link me the code so that I can show what you did wrong

nlitened··on Bit is all we need: binary normalized neural networks
Isn't digital (binary) hardware literally optimized for 1-bit case by definition?
nlitened··on Nine things I learned in ninety years
> But if you are materially dependent on the job then you have battling imperatives that will stress you

I would like to offer a different perspective for you.

I’ve never been shouted at in my work life. And I also know a few people who complain about being shouted at, at all places of work they’ve had — and it’s difficult for me to empathize with them.

At some point I understood that I never allowed my coworkers or managers to shout at me, and in the rare occasions when their voice was raised, I had made myself very clear, and I quit on the spot had the situation ever happened again. As a result, I’ve always had very pleasant and respectful working conditions, with self-respecting people who I know will quit if abused, so I treat them with respect as well.

On the other hand, people who endure humiliation by imagining contrived moral dilemmas about why it’s good and right for them to continue suffering — suffer for decades wherever they are employed, as they seem to filter out and stick to workplaces where this is acceptable.

Are there really no jobs for your talent where you can be moral, or you’re prepared to endure immorality (and to be faithful employee to such businesses) until you’re old and frail?

nlitened··on Delete FROM users WHERE location = 'Iran';
Russian economy is booming actually, thanks to continued purchasing of oil and gas by Europe and other parts of the world, and the sanctions that block capital outflow out of the country.
nlitened··on U.S. already has the critical minerals it needs, according to new analysis
> And I disagree, I think it would take me two days to clear out the house, but mostly lack the energy and motivation to do it

Likely you’re psychologically unable to ever do it, but it’s comforting to have this convenient lie.

There’s only one way to know.

nlitened··on You Had No Taste Before AI
Profit is “how much your whole is more valuable than the sum of parts it consists of”. If your taste is what makes it valuable, then more profits reflect more taste.
nlitened··on Should we drain the Everglades?
> it can't be true that it exists for us

You're saying it as if you assume some external entity judging whether something exists for somebody or not.

As an atheist you would acknowledge that the entire concept of "existing for something/somebody" is entirely a construct of human mind, which human mentally applies to the observable universe around them. So for an atheistic human mind, everything exists for human, as there's nobody else to exist for.

nlitened··on Should we drain the Everglades?
> nature existed long before humans and exists beyond humans and will exist long after us

If this is true (and I believe it is), then it does not really matter much what humanity does in the big picture. Might as well drain some swamps and seas to reclaim some land.

> On earth, there are living creatures with their own motivations that inhabit all the remote wildernesses and deep seas

You can both acknowledge that, and believe that human must do what's good for humans and animals that are good for humans.

nlitened··on Should we drain the Everglades?
> Nature does not exist for humanity's comfort or aesthetic preferences

To be fair, in most religions (including christianity and atheism) it kinda does

nlitened··on Visual programming is stuck on the form
100%. Hundreds of millions of people have been successfully using this visual programming environment with little to no CS education to solve real business problems for decades. What’s most important — the “visual” part is what actually allows non-programmers to build the intuition and write correct programs, it’s a core feature that reinforces the success, not a gimmicky bolt-on.

Also important to reflect on this, I think: it’s a dynamic functional programming language with annoyingly weak and limited types, with inconsistent string parsing, and the most obtuse and uninformative error messages, and it still works wonderfully.

nlitened··on Microsoft is officially sending employees back to the office
> 1 and 2 are about spending time with people

It is true, and spending time with people over video calls or text chats is a very low-bandwidth, rather thankless job which is generally demotivating long-term. Not that many people are actually willing to channel their emotions for hours daily into pixels on screen with no actual emotional human connection. This means that juniors remain isolated, senior employees feel that tutoring juniors is a waste of their time (which is true in this setup), and good managers either stop caring or burn out.

> 3 can't also be true, just look at all the innovations that OSS has created

Innovating in things you deeply care about is one thing, innovating for yet another work project that brings shareholder value is another. The only recipe that has worked for the latter so far has been "put multiple smart people in one room".

nlitened··on Microsoft is officially sending employees back to the office
With WFH the following things become very difficult and/or ineffective:

1. Onboarding and growing junior employees.

2. Managing/coordinating people

3. Doing/coming up with something innovative

4. Making sure an employee is not working another job in parallel

With RTO, companies try go get back the ability to do these things, at the expense of employees’ commute time

nlitened··on Stripe Launches L1 Blockchain: Tempo
> Could you then say that this blockchain really provides nothing that a traditional centralized system wouldn't?

Blockchains (in general) enforce not only open code, but open data.

Technically, nothing prevents traditional banks to offer standardized easy-to-use and easy-to-onboard API access to their financial data, but in reality incentives are not there (quite the opposite).

Blockchains are a contrived way to enforce open code and open data. There are other technical ways to do that, but none of them has been found to actually work in reality.

nlitened··on The buyer-pull and seller-push theories of sales
It is only a counterpoint if you claim that this compensation scheme works well. If you don't think it makes sense, then it actually proves my point that bonuses should only involve things that directly depend on employee's own performance.
← PreviousPage 4 of 25Next →