HNHacker News
TopNewBestAskShowJobs

for1nner

358 karma · joined July 3, 2019

submissionscomments
for1nner··on Migrating from Vue 2 to Svelte
> In what way is being on Vue 2 painful? Using it in production, zero problems, everyone understands it, does everything we need.

I think others have offered sufficient/agreeable takes on this, but as the OP, I'll firstly point the pain finger at our own development and blame far too much state/ui/biz logic existing in the web in very tangled and inappropriate ways (part of the nightmare I inherited). Beyond that, the actual vue2-related pain points are typically ecosystem-related support (packages, etc.), and specifically being able to adapt to typescript (this project was initially done in early vue 2.x with just javascript, and attempting to reimplement in typescript to address some of our pain was not fun)

for1nner··on Migrating from Vue 2 to Svelte
> Svelte claims to be pretty small - I wonder how that pans out compared to an "equivalent" app in Vue or even vanilla JS.

I don't have helpful benchmarks here, but can anecdotally confirm that the compiling and bundling magic that svelte does is... magical. They do some really smart tree-related things at build which are (imo) a major feature leading to this quick-and-small packaging of an app.

for1nner··on Migrating from Vue 2 to Svelte
The very first paragraph leads me to believe this is just a rewrite into svelte for the sake of it - I get it, Svelte is the new hotness on the FE-js-block, but this entire post stinks of "someone on the dev team advocated and fluffed enough figures to convince us. So now we're going to tell you why it was the right choice!" I say all this pretty confidently as someone currently maintaining a massive legacy vue2 app which we are currently rewriting into... *checks notes* React. Because we thoroughly vetted and PoC'd how we'd do it in Svelte and in Vue 3. The former is utterly untenable for an actual product-serving business - it is a pre-release, actively-developing product. Vue 3 is great, I highly recommend reacty-folks or frontend devs try it. We wanted the larger ecosystem (and boo to us for not being brave enough to support the growing vuecosystem).

The framework is so new, trying to justify your decision based on State of JS surveys over the last three years is asinine at best - svelte's own UI framework[1] is not even at 1.0 (has only recently been renamed to sveltekit).

Furthermore, there's a literal migration guide[2] to bring your app from vue 2 to 3. It's not easy. It's not painless. But being on vue 2 is equally painful. I'm also not sure what documentation or development this person is referring to because "restricted global access" is just patently false for both vue 2 and 3 - I don't even know what to cite here because it boggles my mind so thoroughly that I can't even conceive where you would come up with that "fact." Is this someone who's never opened their root app file? The place where one can pipe anything from decorators (and yes, enums???) to entire packages globally?

[1] https://kit.svelte.dev [2] https://v3-migration.vuejs.org/

for1nner··on An analysis of the new World Cup ball
because god forbid we ever actually try to change a thing that is a known bad, right?
for1nner··on Apple Rankings
For those who need re-assurance:

> Brian Frange is a comedian and writer who has been yelling about apples for years. [...] Brian is not in the pocket of big apple and all reviews are inarguably accurate and not corrupted by corporate influence.

for1nner··on How rate hikes are affecting the economy
Effective regulations and/or taxation of corporate profit might've been a little less painful for Average Joe though.
for1nner··on Dear Chess World
Chess is not a game where there is always one right move, but where positions are threatened/protected to a greater/lesser degree, and the _value_ of those threats/protection can only be realized much further along in the game.

The best players in the world, these 2700+ rated players have:

1. Played many many positions many times over and have incredible recall of those general positions.

2. Know how to analyze a position/state of the game at any given moment and have a better "feel" for who is advantaged and/or where the greatest strengths/weaknesses of black/white are located.

However, none of them have the power of chess engines, which analyze singular moves (or poll a db) for the hundreds/thousands of possible outcomes 1, 2, 3, ..., n moves ahead (this is why the best engines are strictly better than humans at this point), so unless a player has both played and committed to memory the exact line being played in a game, the best they tend to get to is "having a feeling" about the state of the game (please forgive my oversimplification here, chess fans)

Now if a 2600 rated player - someone who's still easily in the top 1% of chess players and incredibly capable player of the game - were to be playing a game against a 2800 rated opponent, but had a computer tell them "Hey, this one move is critical" without being told the exact move, they would almost _certainly_ become heavily favored to win. That "feeling" about a position is now irrelevant. There are only a few pieces that will be likely moved on any given turn, and now you can narrow down your own analysis to what is different about moving any one of them in particular because you've been given advanced warning that the most-likely-to-be-played moves will result in wildly different consequences n moves later.

These are hours-long games. Taking 15-20 minutes on a turn is not unheard of, and doing so on a turn that is proven-critical can make all the difference.

for1nner··on Zero Trust SIM
Is there a reason your eng. team is EU-only while your biz/ops is EU/US?
for1nner··on Naming microservices needs to be trivial, not cryptic (2018)
Is it too on the nose to point out the URL (domain) vs. this title?
for1nner··on I've started using Firefox and can never go back to Chrome
I find multi-account-containers* incredibly useful re: tab groups. Coupled with a few pinned tabs (email), I generally always know where to look for what when I have the browser open.

*https://addons.mozilla.org/en-US/firefox/addon/multi-account...

for1nner··on I've started using Firefox and can never go back to Chrome
In fairness, the person writing the article doesn't really have a say in the infra that the publisher is using. I agree that doesn't make the hypocrisy magically disappear, but it shouldn't detract from the points being made about the platforms we use to access the web.
for1nner··on Programming Fonts
I find Hermit very pleasant to read - it's definitely got some uniqueness and "decisions" about the style that I can see would bother many people. I find it cute.
for1nner··on DigitalOcean acquires CSS-tricks
Well at least 50% of that % is me forgetting which is justify-content and which is align-items...

Words are hard

for1nner··on Heroku was Down
HN: All of our amps go to 11.
for1nner··on Ask HN: What do you snack on while coding?
hummus with:

- veg

- pita/bread

- crackers

- cheese

- fruits (olives, dates, apples, pear)

easy, riffable, modifiable (add olive oil, garlic, lemon zest, fresh pepper, jam). Pretty healthy.

for1nner··on NASA returns Hubble to full science operations
Even longer for it to actually power up and start "working." Really excited for it, but feel like something akin to this hubble issue happening with the JW would be disastrous.
for1nner··on Rich Harris joins Vercel to work on Svelte full time
Bless you.
for1nner··on Apple Silicon Macs can't boot from external drive if internal drive failed
s76 blogged that they're working towards manu of their own laptop machines soon rather than the clevo stock, so that value might change soon.

Then again, their tower is exorbitant, so...maybe not.

for1nner··on How is bamboo lumber made? (2016)
Well we know that bamboo harvesting is more sustainable/renewable than wood harvesting (note the 4-5 years time to yield vs... orders of magnitude difference with trees, among other things).

But I'm guessing your question is more about the processing of that bamboo (chemical and energy to produce):

https://bioresources.cnr.ncsu.edu/resources/environmental-im...

for1nner··on Launch HN: Inflow (YC S21) – Self-help app for people with ADHD
Why not offer the service with a paywall? And I don't mean the awful website kind.

I mean: someone signs up - regardless of whether you want to call it a subscription - and every month on renewal, they get a notice to confirm renewal (or have to re-enter payment, though I suspect that's probably _too_ much friction).

Is that a great way to retain revenue? Probably not. But it's way better for press than what I saw when I opened this thread and was immediately turned off. It's definitely the kind of consumer-first model that I'd love to see more of, certainly from a company/app whose target is helping people...

for1nner··on The naughty username checking system used by Twitch
Amusing to see the is_hateful query which used to just be an unreadable mess of regex for validation. Clearly the infra has grown/changed over 10 years, and this is obviously neater, but boy does it LOOK a lot bigger now (and I'm sure they've added yet more new words that try to hurt people...)
for1nner··on The Framework is the most exciting laptop I've used
Agree with everything said here, as a MBP user (2010->2015->16->19) for the last however many years (PC before then and as a secondary now)

The closed ecosystem and continued hardening of even access to inside of my machine is troubling and obviously anti-consumer. Those points coupled with the lack of even 32GB of RAM in an M1 model (not to mention the cost of the brand) makes my next computer a probably-not-apple machine.

for1nner··on 60x speed-up of Linux “perf”
> The authors' decision to license theis works this way causes the problem.

I'm not sure how you can rationally make an argument for a framework that literally limits the use of improved or more performant code/technology/understanding simply because it does not share a philosophical view of IP/ownership/sharing.

This is the core of the problem with IP in the real world as well, and I find it mind-boggling that we don't look at the SYSTEM and see it as problematic.

for1nner··on Houses in Japan are going for as little as $500
Time will only continue to reveal how unreasonable that mindset is.

The population will continue to age and shrink, so cultural norms will have to make way for that to ever change.

for1nner··on Zoom settles US class action privacy lawsuit for $86m
Sure!

Zoom made over $600M in profits in 2020 alone.[1]

This awards members of the class at most $25 - which might materially mean something to an individual (unlikely), but is virtually nothing; furthermore as an accounting line item for Zoom, this is literally not worth batting an eye at. Yes there will be knock on effects of "better training" and scrutiny of messaging/security both internally and externally, but it will effect practically 0 change to their overall bottom line or revenue/profit projections, and there is obviously no legal precedent set or oversight changes that will aid end users moving forward. yay.

What does all of that cost? $21M[2] to law firms. I won't go into the insanity and inanity of billable hours and the profit machine of law in this country, but that point is simply to underscore that those legal firms are the second winners in this. Despite their position and goal - ostensibly and in name only - of aiding the members of the class in seeking a just and fair reward for wrongdoing and bad faith by Zoom.

Meanwhile, as others have commented, reputations and contracts have been burned and sullied, and doubtless money lost along with that, but our legal system is not interested in trying to attach responsibility or reparation to those effects (because they can't necessarily be proven as fault of Zoom).

So the ultrarich get ultraricher.

[1]https://www.sec.gov/ix?doc=/Archives/edgar/data/1585521/0001... [2]https://www.reuters.com/article/zoom-settlement-idUSKBN2F30W...

for1nner··on Zoom settles US class action privacy lawsuit for $86m
Glad to continue seeing regular reminders of what failed economic and legal systems look like in my very own backyard.
for1nner··on The Awful German Language (1880)
> The phonetics of Mandarin unless you create software to repeat and repeat and repeat every day is simply impossible for any adult foreigner, because we as children have not learned the basic sounds. German phonetics by comparison is trivial in a tenth of the time.

I'm not sure what you mean by this - that is very much person-dependent. As a primary English speaker, I was near-fluent in German before attempting Mandarin, and I found the inflection and tonal side of the language relatively trivial, whereas writing/reading (and generally rote vocabulary) have always been a struggle for me (similar experience across attempts to learn Latin, German, French, and Mandarin).

for1nner··on Fortran.io – a Fortran Web Framework
It's a feature.
for1nner··on Things end users care about but programmers don't
> It should work on my old android phone browser/IE 11

Disrespectfully, No. Please die, IE. Please.

But otherwise, I think the spirit of this is pretty accurate, if only that parenthetical at the top were perhaps more emphasized or explained.

Anecdotally, working for crm-adjacent services, there was just a firehose of things customers (and our own sales/customer-facing teams) wanted to implement for the sake of "customization." And especially some of the customer asks were incredibly QoL-based and reasonable (shocking, I know), but the reality was that the roadmap was being pushed ever along, management and sales want new features to polish up for leads and investors, and we simply lacked the manpower to sufficiently cover both sides of that coin. Now that speaks more to failures in the org structure and leadership than anything (imo), but I think it's not dissimilar at many places, both small and large.

Long edit complete.

← PreviousPage 2 of 2