HNHacker News
TopNewBestAskShowJobs

nuerow

1,179 karma · joined October 4, 2021

submissionscomments
nuerow··on ES modules are terrible
> Breaking backwards compatibility is always painful but there's not one actual criticism of ES Modules as a spec here other than its incompatibility with CommonJS

This.

Also, the bulk of the rant is focused on how the author struggles with configuring his pick of JavaScript bundlers and transpilers, and proceeds to come up with excuses to justify not migrating away from CommonJS .

This article was a waste of a perfectly good click.

nuerow··on Spending $5k to learn how database indexes work
> I am a strong believer that services that are based on "scale infinitly" really need hard budget controls, and slower-scaling (unless explicitly overidden/allowed, of course).

+1 on the budget control, but I don't think there are good arguments in favor of slower scaling.

The ability to scale on demand is sold (and bought) based on the expectation that services just meet the workload that's thrown at them without any impact on availability or performance. That's one of the main selling points of managed services, if not the primary selling point.

Arguing in favor of slower scaling implies arguing in favor of downtime. A service that's too slow to scale is a service that requires a human managing it. A managed service that is unable to meet demand fluctuations is a managed service that can't justify the premium that is charged for it.

nuerow··on Never update anything
> (...) after a month you want to install a new package.

What's your point? If you want to update a dependency then you also need to go through all their dependencies. This is not a javascript/npm problem; it's a software development problem. Dependencies don't get magically updated, even with semver. You experience the exact same problem with other tech stacks. I'm fact, I've experienced this problem far more with C++ projects than with JavaScript/typescript ones.

Why are we expecting and demanding random updates to work with JavaScript/npm when that belief and expectation was always totally unrealistic with any other stack?

nuerow··on Never update anything
> I cannot understand what idiot thought it d be fancy cutting everything into mini dependencies that update every day without you knowing made by amateurish hipsters who transitive depend on each other like their life depended on it.

I'm not sure you're thought things through in your comment, and that you are being fair or reasonable.

No one cuts "everything into mini dependendencies". You have dependencies you reuse. That's it. When one of those dependencies gets updated, say to fix a bug or a security issue, your package manager of choice handles it for you without any issue. Still, if you do not want to fix bugs or vulnerabilities in your code then you are free to pin them all and move on with your life.

At most, the JavaScript or NodeJS crowd needs to have a serious talk about standard libraries and third party lackages, such as whether using packages such as rimraf is desirable.

> and yarn/npm frontend projects that cant be even rebuilt two weeks later

You only experience that sort of problem if you're incompetent in how you manage your dependencies.

With npm you can a) pin major/minor/patch versions of specific packages, b) save your package-lock.json file which specifies exactly which dependencies you use. If you free-float any dependency then that's something you chose to do.

With JavaScript/NodeJS + npm you only shoot yourself in the foot that way if you purposely aim at your foot, remove the safety, and press the trigger really hard.

> And I m very against transpilers and linters which I try to avoid for sanity (...)

Complaining about linters because they test your sanity is a major red flag on your approach to mundane coding tasks. This, and your casual criticism on everyone else's code, leads me to suspect that you really need to do some introspection.

> I kid you not we have an entire team in charge of one small frontent management tool for a pretrade backend, they literally spend 99% of their time justifying why they wont change it, and 1% begging me to join for a week to reorder their column or put a new button...

Based on your comment and on my experience with similar projects, I suspect you're either oblivious and/or leaving out important bits of the story just to continue plowing with your humblebrag, or you're succumbing the need to be hyperbolic.

Frontend development has to deal with far more details and constraints and requirements than any backend task. Frontend is what both clients and PMs and executives look at, and the tiniest changes like resizing a button has deep implications on the business side of things. Furthermore, it's both harder to automate tests and their tests need to be more extensive.

Thus any change, no matter how small, is a uphill battle.

It's beyond me how someone who is so hard on their entire team ends up showing such weak understanding and insight of the problem domain. I know that on the internet no one knows you're a dog, but let's not get silly here.

nuerow··on LXQt 1.0.0
> How lightweight can a desktop environment based on QT be? I thought QT is a rather hefty dependency.

Hefty when compared to what? In a world of webview-based apps, Qt is extraordinarily lean.

nuerow··on US productivity dropped to its lowest level in 40 years
> When Plan A is money printing then the situation is dire.

Bloomberg pointed out the fact that one key factor was businesses increasing worker's wages to attract and retain workers.

https://www.bloomberg.com/news/articles/2021-11-04/u-s-produ...

Considering the ongoing discussion on the US's minimum wage and how it falls below the poverty line, is this drop in productivity actually bad or undesirable?

nuerow··on NFTs over 10k, you go to jail
> Of course, NFTs can be used for money laundering as well but art is presumably already used for that purpose.

Modern art is primarily driven for the purpose of money laundering.

https://edition.cnn.com/2020/07/29/business/art-money-launde...

NFTs are just a new way to conduct the same money laundering schemes which, loopholes and the lack of regulation, are easier to hide and exploit.

This recent change adopted by the IRS is just a way to address that loophole, and lo and behold it's spun as a deadly attack on the purposefulness of the entire technology.

nuerow··on NFTs over 10k, you go to jail
> You may not agree with this use of the technology, but it does not mean the behaviour is primarily criminal.

Again, don't be disingenuous. You're literally commenting on a post on how the IRS requires transactions over 10k to be reported with the goal of fighting money laundering, and how that raises "alarm bells". This is not about paying artists. This is not about paying taxes. This is about a requirement to report potentially illegal transactions within the scope of money laundering.

Trying to spin this to be about art and artists is profoundly disingenuous, and launching ad hominem attacks on those who point out this fact just shows how weak are your arguments.

nuerow··on NFTs over 10k, you go to jail
> I understand it's a massive scam but I didn't get why prominent artists I follow are getting into it in the first place.

Even highly respected artists are not immune to the appeal of making an easy buck. For instance, as legend would have it, Pablo Picasso created his "Poor Robbie" engraving with the express purpose of monetizing it, so that his close friend Robert Godet could quite literally use his printing press to whip out yet another "limited edition" print whenever he was short on cash and needed a quick buck.

nuerow··on NFTs over 10k, you go to jail
> That's an incredibly ignorant remark.

Right, that must be why this is a discussion on the IRS requiring people to report transactions to tackle money laundering, and how that justifies protests, and not art history.

> Art has been one of the more prominent uses of NFTs that emerged this year.

"Art" has been the pretext. The prominent use of NFTs is to perform transactions.

Don't be disingenuous, and tone down the arrogant gaslighting.

nuerow··on NFTs over 10k, you go to jail
> Why are artists incentivised to makw them?

NFTs have absolutely nothing to do with artists or art. They are mainly a scheme to launder money.

Please note that the poster whining about the IRS provision didn't complained about sales tax or income tax, but the need to report transactions over 10k to the IRS. The IRS moved in to plug a loophole, and the NFT gang reacted to it like vampires exposed to sunlight.

nuerow··on Anti-Patterns to Avoid in Lambda Based Apps
> Anyone else encounter this and choose the easy way out - recommending they use Node/Python instead?

I feel your comment fails to take into account the main reason teams stick with Java in AWS Lambdas: code and dependency reuse, and consequently turnaround time.

Arguing that nodejs and Golang are the ideal runtime in problems involving peeling tasks out of a monolith and into AWS Lambdas is a complete waste of time. Your goal is to offload processing tasks out of your service asap without wasting time developing and testing code written from scratch. Thus, you just create a project for your lambda, pick up your Java code that works and is well tested, offload the battle-hardened code and it's delendencies to the lambda package, add a handler to the lambda, add a lambda client to the monolith, sprinkle integ tests, and you're done: you have a production service. You're running a long-lived background task which is invoked only from time to time, and you don't really care if it takes 1 or 2 minutes to run.

Additionally, do you really want to force your team to manage two distinct tech stacks just because you want to offload a process out of a service? What will that cost you?

nuerow··on NFTs over 10k, you go to jail
So, what's IRC Section 6050I and why was it being purposely omitted by the poster?

Answer:

https://www.irs.gov/government-entities/indian-tribal-govern...

> IRC Section 6050I requires that any person engaged in a trade or business that receives cash in excess of $10,000 in a single transaction or in related transactions must file Form 8300 PDF, Report of Cash Payments Over $10,000 Received in a Trade or Business.

So indeed it's an anti-money laundering provision. No wonder this gets the NFT crowd all riled up. I mean, little cartoon drawings being "bought" for six figures don't just sell themselves, right?

nuerow··on LibreWolf – A fork of Firefox, focused on privacy, security and freedom
> I don’t know of a single example of Firefox doing it, but I feel like it’s fair if people are thinking about it as a possibility.

This line of reasoning doesn't add anything of value because the same fear mongering applies to LibreWolf and any other project just the same.

nuerow··on LibreWolf – A fork of Firefox, focused on privacy, security and freedom
> Until Firefox accidentally disables these settings or replaced them with new ones with new defaults, deprecates these plugins or introduces a new privacy invasion.

Did anything of the sort ever happened at all or are we only entertaining thought experiments?

nuerow··on LibreWolf – A fork of Firefox, focused on privacy, security and freedom
> Once it was clear that Chrome was destined to cater to the masses, Firefox should have done a hard pivot with an emphasis on privacy and putting the user in control of their browsing experience.

Why do you believe that catering to the masses implies not focusing on privacy and putting the user in control of their browsing experience?

nuerow··on LibreWolf – A fork of Firefox, focused on privacy, security and freedom
> Telemetry isn't inherently bad or privacy violating.

How can you tell?

nuerow··on Tell HN: I built a $5/mo JavaScript-free Rails app
> The app is down right now. I'm getting 502 errors

Seems to be up right now, but CSS was acting up a bit until a few moments ago.

Page loads are consistently over 1.5s though, with the HTML taking approx 1s. Not something to write home about.

nuerow··on Our self imposed scarcity of nice places
> it is not for the market to adapt to our needs, it is for us to adapt to the market and hopefully we can extract what we need.

The market isn't a magical entity which demands human sacrifices. It's quite possible to keep it reigned in with a combination of banning private property investments[1] with public housing and urban renewal projects. Cut down on detrimental demand and increase supply.

[1] https://news.ycombinator.com/item?id=28422768

nuerow··on Our self imposed scarcity of nice places
> Firstly, walkability only means higher prices if supply is limited.

Isn't it, though?

In fact, not only is it limited, it's also a market on the supply side.

> Secondly, a grocery store needs say 500 potential customers (households) within walking/transit distance.

In consolidated urban areas with medium density occupation, such as city centers in pretty much any relatively large European city, you already have multiple supermarkets at a stone's throw. In some places like Madrid some suburban areas even have multiple supermarkets on the same apartment block.

nuerow··on Our self imposed scarcity of nice places
> Why is there no public transport? Because it's losing money due to low ridership. Why is the ridership low?

This certainly is not it, because public transportation is in general a public service whose main output is not turning a profit but positive externalities that boil down to quality of life. Consequently, there are plenty of cities around the world where their public transportation network is subsidized to the point where the service is completely free to use.

Let's put things in perspective: in the US, Texas wasted close to $3B dollars to expand a highway to a whopping 26 lanes[1]. Wouldn't it be far better if that cash was instead used to put together a commuter railway service that serves the same route, or even in Houston's appallingly tiny light rail network[2]?

[1] https://www.cntraveler.com/story/the-worlds-widest-highway-s...

[2] https://en.wikipedia.org/wiki/METRORail

nuerow··on Our self imposed scarcity of nice places
> Zoning is the biggest impediment. Most US cities have parking requirements, rules for setbacks, and limits on number units in a building.

Surely that's not it, because zoning in general and urban planning in particular is what determines walkability, and that is determined by design. Even if you have the most stringent requirements for parking, plans are already produced with that in mind.

Therefore, either a urban area is designed with walkability in mind, or it is not.

nuerow··on Our self imposed scarcity of nice places
> The walkability comes at the cost of tiny housing though.

You might have your correlation/causation things mixed up. Walkability means higher quality of life, which means higher demand thus higher prices. In turn, as real estate prices go up, real estate developers are pressured to provide more houses from a limited construction area, thus this means shrinking apartment sizes.

Offering smaller apartments also has the advantage of increasing price per unit of area, while keeping selling prices within reach of the market segment you're targeting, i.e., you might not afford 1M for a house with 200m² but you might afford 500m for a house with 100m².

nuerow··on Our self imposed scarcity of nice places
> I don’t get why housing should be a special carve-out and don’t see a workable answer to how to provide food for everyone while banning all investment in companies that grow or sell food.

The economy exists to support everyone's life, not the other way around. Just because you can argue someone can make a quick buck selling a basic necessity, that does not mean it's ok to deprive a whole community of basic necessities.

Take for example water. Would it be ok to hold everyone hostage over access to it, and even lobby for municipalities to stop the public sector from encroaching onto a service provided by a private business, just because Nestle and the likes bottle and sell it?

The current delta between the have and have-nots, and the profound impact that "small" real estate investments have on pushing access to housing far out of reach of your average middle and upper-middle class family, is a collosal social and economical red flag. Access to housing has a profound impact on everyone's lives and even community. You accept jobs based on access to housing, and the amount of time wasted supporting said job is time eaten away from the time you spend doing far more important things like caring for your children and family. Being deprived from that just because a faceless investor wanted to park his bailout money somewhere and decided to dump it in real estate hurts society.

nuerow··on Researchers demonstrate complete solar-powered hydrocarbon production
Key take from the article:

> At the very small scales used here, the process was pretty slow. Over the course of a day, with seven hours of useful sunlight, the setup produced 32 milliliters of methanol, which was mixed in with water as a major contaminant.

And also:

> Then there's a matter of scale. To fuel a daily round-trip flight between New York City and London, the researchers estimate, it would take 10 mirror farms directing sunlight at reaction chambers in an area that gets strong and consistent sunlight. That translates to covering around 3.8 square kilometers of the desert with mirrors. (For context, that's about a quarter of the size of California's Ivanpah solar facility.)

The article also mentions possible nickel-and-dime optimizations, but even though the experiment proved thag it is possible and allowed for a nice headline it doesn't seem to have any possibility to scale at all.

nuerow··on TypeScript: Control flow analysis for destructured discriminated unions
> [TypeScript] is not very consistent and uses a lot of "special cases" or "special features" to solve specific problems.

That's very interesting. Could you please provide an example that showcases that inconsistency?

nuerow··on Trying to get a job in a labor shortage is harder than you think
> This. Any talk of "labor shortage" should be seen for what it is: a request for subsidized immigration to keep labor costs low.

Salary is not the only significant parameter. Awful working conditions also makes it very difficult to attract and retain employees, even if they are well paid. See for instance how one notoriously abusive FANG is currently experiencing high "regretted attrition" rates in spite of paying FANG-level wages.

nuerow··on Trying to get a job in a labor shortage is harder than you think
> Real BS.

I'd say there is no labor shortage, only a exploitable labor shortage.

Employers who respect their employees, offer decent salaries, and adequate working conditions don't have a problem attracting candidates.

Somehow the businesses we see whining about their employees quitting in droves and having a hard time replacing them sound awfully nightmarish and highly disrespectful and outright abusive of their current and former staff.

A telltale sign is how this class of employers are blaming unemployment benefits and relief payments for eliminating their leverage over the poor souls who felt obligated to tolerate these jobs, and how they are no longer able to coerce them into falling in line.

nuerow··on Trying to get a job in a labor shortage is harder than you think
> I know a lot of senior developers who were hired this way.

Knowing the hiring practices of some consultancy firms and how they routinely upsell their hotdog junior devs as prime rib senior developers, I have to say that I also know a few senior developers who were hired this way.

nuerow··on Trying to get a job in a labor shortage is harder than you think
> For that matter, negotiating is a thing. They start low, you counter, etc.

Is it really a good idea to negotiate salary with someone whose starting offer is well below market rate? I mean, even if you feel you can get a change of heart out of them, is that really the character you want in someone who can have a considerable impact on your well being and even life?

← PreviousPage 2 of 14Next →