HNHacker News
TopNewBestAskShowJobs

bauerd

1,682 karma · joined September 14, 2014

topcolor f6f6ef
submissionscomments
bauerd··on Banned from Google Ads for Using Apple Card
I second this, recognising my Google account as a giant SPOF made me invest heavily into redundancy. I've gotten closer and closer to the point where I can realistically consider Google services as ephemeral.
bauerd··on Emacs 26.3
I run emacs -nw --daemon, but on OS X it's noticeably slower (running in iTerm, tmux) than it is on Linux. It's not what I would call snappy at all tbh. I've checked it's not my config. I wonder how come?
bauerd··on Using TypeScript with React
Technological Stockholm syndrome
bauerd··on Using TypeScript with React
Not blaming myself, just grateful for getting this mess fixed. I cannot imagine working with tech like this on a daily basis, I'd probably ragequit in half a year
bauerd··on Using TypeScript with React
You were right, @types/react was resolved to both versions 15 and 16! God I'd totally buy you a beer.

But why does this happen? The very first time for me a package manage installs two major versions for a package …

Thanks A TON!

bauerd··on Using TypeScript with React
I'm currently trying to revive a 2yrs old codebase written with TypeScript/React/Redux. I made the capital error of not checking in node_modules apparently or pinning versions (ie using yarn or npm shrinkwrap), as I now get tons and tons of type errors from dependencies on build. Problem seems to be that all the @types packages are somehow out of sync/broken/hell I don't know. I also don't have access to CI logs anymore so I can't figure out which versions it used to resolve to …

The @types definition packages for react-router, redux-thunk, etc. give me "error TS2605: JSX element type X is not a constructor function for JSX element". Most popular answer on GitHub is to rm -rf node_modules and rebuild, however that does nothing for me. I tried upgrading some @types selectively and triple-double checked that the resolved versions make sense, but nothing so far.

A codebase that used to build cleanly now throws ~30 errors on build, without any changes to it. Insane. Always pin your exact versions in JS land …

bauerd··on Why ElementaryOS Left Medium
It's easy to build an audience on Medium, that's what draws authors there
bauerd··on Ask HN: Configuration Management for Personal Computer?
I load my major config files (fish, tmux, emacs) in a CI alpine container[0] and check that they're not broken when i commit them.

If you're on OS X then `brew bundle dump` and `brew bundle install` will also help[1]

[0] circleci config: https://gist.githubusercontent.com/bauerd/27b24d1a3f881fe508...

[1] https://github.com/Homebrew/homebrew-bundle

bauerd··on I Tried Hiding from Big Tech in a Pile of Privacy Gadgets
What if ads are hosted on the same origin as the content? I'd still need application adblocking then I guess
bauerd··on Nearly all mass shooters have four things in common
Authors don't make the claim you argue against.
bauerd··on Big O Notation – Using not-boring math to measure code’s efficiency
How data structures are laid out in memory has nothing to do with the operating system
bauerd··on Malicious code in the purescript NPM installer
npms.io rates the `rate-map` package with quality 99%, so not sure how helpful that is
bauerd··on React Native 0.60
>because of defining views-as-code rather then a flavor of JSX/Angular Templates

JSX is just syntactic sugar, it's not a templating language. You could write yourself a JSX syntax extension for Dart, it'd be the same thing really.

Edit: More succinctly, JSX desugars to method calls

bauerd··on Preserving Laptop Stickers on MacBooks
What about funny stickers then, not branded ones? No fun allowed?
bauerd··on VPN owners: 97 VPN products run by 23 companies
Didn't downvote, still >30 seconds for getting a video playing isn't super convincing. That's far too slow for everyday use, at least for me
bauerd··on As a system programming language, C still deserves learning today
Very much this. I would not bother with C if there wasn't this huge pile of fundamental software written in it.
bauerd··on IPFS, Again
Your argument is that IPFS would be a better product had they hired those distinguished ex-FAANG engineers instead of obscure developers? The article outlines mostly UX and product decision problems. It doesn't seem to me that their engineering teams are holding them back.
bauerd··on Dstat project ended due to RedHat replacing it with its own dstat tool
They didn't even try to contact the author?!
bauerd··on PEP 594 – Removing dead batteries from Python's standard library
Of course there's a difference, but it's irrelevant here, because no matter how long breaking changes have been announced, they break existing code. I prefer a versioning scheme that signals this.
bauerd··on PEP 594 – Removing dead batteries from Python's standard library
Both are changes that will break existing code. SemVer clearly signals this. Why bother with how long something has been deprecated?
bauerd··on Steve Singh stepping down as Docker CEO
Doesn't Expensify have a landing page?! https://www.expensify.com

Color me confused.

bauerd··on Flutter: a Portable UI Framework for Mobile, Web, Embedded, and Desktop
Lack of ecosystem. You'll find yourself having to write ports/bindings/however these are called on your own.
bauerd··on Hyper 3.0.0
iTerm2 has lots of features that Terminal.app lacks: https://www.iterm2.com/features.html
bauerd··on Stripe’s fifth engineering hub is Remote
What do you do all day then? Does no one ever try to get in contact with you?
bauerd··on Svelte 3: Rethinking Reactivity
"The magical disappearing UI framework" was a much better tagline than "Cybernetically enhanced web apps" …
bauerd··on JSON as configuration files: please don’t (2016)
>They are both declarative languages to describe data.

This still applies then

bauerd··on JQuery 3.4.0 Released
Your users likely already have jQuery in their browser cache, given it's loaded from one of the public CDNs.
bauerd··on Xg2xg: Lookup table of similar tech and services for ex-Googlers
Challenge with Confluence for me in particular is that it overrides common keybindings, e.g. C-b in a textfield inserts a pair of asterisks instead of moving the caret backwards one character.
bauerd··on Xg2xg: Lookup table of similar tech and services for ex-Googlers
Can't tell for Google, but Confluence is widely adopted (still I love to hate on it)
bauerd··on Cloud Run beta pricing
Hi thanks for the reply. The only thing he could think of was that he skipped through a couple of videos on Google's official YouTube developer channel that day. But likely coincidental. (On a sidenote, when my coworker had access, autoscaling was broken, like completely, hence in part my curiosity).
← PreviousPage 7 of 14Next →