HNHacker News
TopNewBestAskShowJobs

orangepanda

1,863 karma · joined December 22, 2014

submissionscomments
orangepanda··on How Canva saves Amazon S3 costs
Offtopic — is it some cardinal sin to include a link to the home page from a documentation? I dont know what canva does, if I stumble on a documentation page first, should I not be allowed to see the product's landing page at some point? This is so prevalent, it has to be a conscious choice.
orangepanda··on How to raise a Roman army: The dilectus
That’s for regular battles, not all of which are recorded in history. Battle of Cannae was remembered specifically because of the death toll
orangepanda··on Ask HN: What are some life optimization tricks you have discovered?
- Do not buy clothes that need ironing
orangepanda··on React is 10 years old
Does anyone seriously expect nothing to change and improve for 30 years, or however long their career is? Not just in software, but any profession. Long gone are the days when the same plow is used for 10 generations.

From my experience its not learning something new thats a problem, but getting the organisational support to push a major change through

orangepanda··on An open-source alternative to QuickBooks
Having interacted with Stripe's chat and email support, I have a similar feeling - their goal is to get me to go away instead of actually helping with my problem.

My first and only choice is their discord support, when that doesnt help I rather work around the problem than get stuck in their email limbo.

orangepanda··on That people produce HTML with string templates is telling us something
I wouldnt call it a "gotcha". Using vanilla javascript you'd be using className as well:

    document.body.className = 'class1 class2'
JSX chose to align names to the DOM spec [0]. Same for htmlFor and friends.

[0] https://dom.spec.whatwg.org/#ref-for-dom-element-classname%E...

orangepanda··on Nginx 1.25.0: experimental HTTP/3 support
nginx by default adds a version header in the response. I did not expect that nginx.org themselves would be 2 minor versions behind latest.
orangepanda··on Popover API
I like how they included video examples, for those whose browsers dont support the api. I liked more how on safari all the videos are just white.
orangepanda··on Visual Studio UI Refresh
Even Visual Studio UI is not safe from inflation. Is making everything 10% bigger necessary?

Jetbrains also introduced a new inflated UI recently, and at least provided a compact mode.

orangepanda··on Semaphore: A Full-Body Keyboard
My first thought was Dance Dance Authentication

https://stackoverflow.blog/2017/03/30/stack-overflow-unveils...

orangepanda··on PWAs in App Stores
Thats surprising, given that Google cant filter out actual spam
orangepanda··on C++17 creates a practical use of the backward array index operator
Would compilers optimise the unnecessary variable away?
orangepanda··on An Interview with Nvidia CEO Jensen Huang About AI’s iPhone Moment
Is Nvidia taking advantage of the crypto/AI trends, or enabling them?
orangepanda··on You might not need an effect
useEffect was designed to allow shooting yourself in the foot, in a good way. There's never a situation when react doesnt allow you to accomplish something - the page even a mentions of synchronising with jquery!

Whats the alternative you propose? Not allowing react to be used with any 3rd party libraries or access to browser apis?

orangepanda··on Bank Failures in Brief – 2023
Forward comparability?
orangepanda··on Introducing react.dev
How would passing a value from one hook to another look like, for example, Subhook requiring viewport value to set up some subscription?
orangepanda··on Meta plans to lay off 10k employees
Its a post-communication world. While before only a title was read and comments made based on assuming what the content is, now we assume what the comment is and reply based on that.
orangepanda··on Common Beginner Mistakes with React
Its not an optimisation, its about state management.

React can’t see the difference between a reorder and remove&insert. When reordering items the state should be moved as well; when removing and inserting a new item, state should reset.

Using an array index is equivalent to silencing the error

orangepanda··on Signal says it'll shut down in UK if Online Safety Bill approved
Many of those lawmakers want to regress back to the 18th century, replacing modern banking with cholera. Not having a tech industry isn’t a threat to them, it’s the goal
orangepanda··on Twilio is laying off 17% of workforce
I chose not to use sendgrid (twilio) because they force their own 2nd factor auth app, instead of allowing to use literally any of the ones already out there.

Anecdotal, but still

orangepanda··on Speeding up the JavaScript ecosystem part 3 – eslint
> We haven't opened a PR because esquery seems to be unmaintained at this point.

This all was for nought, or were PRs for other changes opened?

orangepanda··on Stripe increases fees for EU and UK-based businesses in April
> Traders in the EU are not allowed to charge you extra for using your credit or debit card.

https://europa.eu/youreurope/citizens/consumers/shopping/pri...

orangepanda··on Things I want to see in JavaScript and Front end development in 2023
{# is it just javascript?}
orangepanda··on Apple fined $8.5M for illegally collecting iPhone owners' data for ads
> My son was surprised to see an ad or in app purchase in an Apple Arcade game.

They probably call it "included promotions" instead of ads, and pretend it’s okay.

orangepanda··on Microfeatures I'd like to see in more languages
Php supports kebab-case variables:

    ${"variable-name"}=123;
Isnt it beautiful?
orangepanda··on Python 2 removed from Debian
I dont know python. Does python3 have different behaviour than python2 on the same code, beyond just crashing?
orangepanda··on A Visual Guide to React's useEffect (2021)
> I've found that people that learned class-based React first and then switched to modern function-based React often have more trouble with useEffect than people who learned functional components directly

I’d say its the opposite; people who used lifecycle methods know that useEffect and friends eliminates an entire class of bugs. People who started with hooks dont understand the problems it solved, and only see the quirks

orangepanda··on Older iPhones bricked for being too outdated, locking users from data [video]
Upgrading probably does reduce performance slightly, but is it a noticeable difference; or is it something people say because of degraded batteries and go "hurr durr update bad"?
orangepanda··on My building has replaced our keys with an app
While I do have mostly usable fingers, fingerprint readers do not like me; my hands are consistently too sweaty
orangepanda··on Fast Typesetting with Incremental Compilation [pdf]
Interesting. Page 5 also includes an image but text is selectable there.
← PreviousPage 4 of 11Next →