HNHacker News
TopNewBestAskShowJobs

wildpeaks

2,611 karma · joined December 12, 2012

https://twitter.com/wildpeaks https://bsky.app/profile/wildpeaks.fr

[ my public key: https://keybase.io/wildpeaks; my proof: https://keybase.io/wildpeaks/sigs/yQmAnhmw5ODzOpfBpYvX1T7owc-Fwoe6TpMkU8-94Ho ]

submissionscomments
wildpeaks··on Ask HN: Do you send emails to yourself?
Yes: when I'm browsing on mobile, I send myself links to topics to look into further on desktop (where it's easier to have a bunch of tabs and applications open at the same time).

This way, I can reserve weekly blocks of time for processing these interesting links all at once instead of being side-tracked every time I encounter an interesting new rabbit hole.

wildpeaks··on Two Way Mirror Improves Video Conferencing
Even better, 3D screens like Looking Glass that require no contact with the display.
wildpeaks··on Docker update ToS: Image retention limits imposed on free accounts
No need for a new service, a simple Github Action with a cron trigger can do it.
wildpeaks··on Docker update ToS: Image retention limits imposed on free accounts
This will begin November 1, 2020
wildpeaks··on The cult of the free must die
Pocket is useful and has some paid features: https://www.mozilla.org/en-US/firefox/pocket/
wildpeaks··on How to stop procrastinating by using the Fogg Behavior Model
You might enjoy reading about The Spoon Theory:

https://en.wikipedia.org/wiki/Spoon_theory

https://butyoudontlooksick.com/articles/written-by-christine...

It's a similar way to describe budgeting mental energy reserves, and how some activities lose spoons while others replenish them.

wildpeaks··on React v17.0 Release Candidate: No New Features
I was pointing it out because people might misunderstand "no new features" as there being no change that they need to be aware of (e.g. internal restructuring).
wildpeaks··on React v17.0 Release Candidate: No New Features
No new feature, yet contains breaking changes.
wildpeaks··on Rome: A Linter for JavaScript and TypeScript
This is the reason why I wrapped my Webpack config in its own package (same with Eslint), that way I pretty much only have a single dependency to add when starting or maintaining a project (and if a project has a very unique need, it can still modify the config generated by the package).

The package has a bunch of automated tests, so Dependabot checks for me if dependency updates are still compatible with the way I expect them to behave (and if a dependency needs to be swapped by another, I only need to do it in one place).

wildpeaks··on Dear Staging: We’re Done
Ideally you'd run tests both in staging (first) and production (only if staging says OK), with the goal to catch 99.99% of issues in staging, safely away from the paying end users.

Because realistically, something will go wrong sooner or later and it will cost the company (and its customers) a lot more money and reputation if it happens in the user-facing environment.

wildpeaks··on Rome: A Linter for JavaScript and TypeScript
It does matter if the only value of the linter at the moment is that it will be part of a set of tools to replace the entire toolchain.

It already took forever for the ecosystem to get JSHint, Tslint and others to converge into Eslint.

wildpeaks··on Rome: A Linter for JavaScript and TypeScript
A few questions on top of my head when I consider changing the toolchain:

- does it handle images imports

- does it handle scss imports

- if not, does it require css-in-js (and if so which one)

- does it handle shaders imports (and other arbitrary dependencies that need custom processing to get embedded in the bundle)

- does it generate SRI hashes for stylesheets and scripts

- can it generate web workers

- can it generate node bundles or only browser bundles

- can it split chunks

- do you still get TS intellisense in VSCode

- can it be used with Rust and/or Webassembly

wildpeaks··on Rome: A Linter for JavaScript and TypeScript
I removed Babel from my toolchains a while ago, so it's even shorter: TS, ESlint, Prettier, Webpack.
wildpeaks··on Toshiba formally and finally exits laptop business
End of an era, their laptops used to be everywhere.
wildpeaks··on On Using Twitter
Depends on who you follow: the ones I do usually post facts (such as showcasing their work or linking to other people's work) rather than opinions, so it's been a net positive so far.

For example, I probably never would have visited CERN or Chernobyl without it.

wildpeaks··on Node Modules at War: Why CommonJS and ES Modules Can’t Get Along
I removed Babel from my toolchains a while ago (and instead use TS to transpile even dependencies), so the compilation times are fine.
wildpeaks··on Node Modules at War: Why CommonJS and ES Modules Can’t Get Along
Honestly, all I need is a standardized way to publish and consume packages directly as Typescript (right now you can point "main" & "types to it, but I'd rather something like export maps) because the transpilation should be done by the end user as you can't assume which build target they might prefer.
wildpeaks··on Changes to SameSite Cookie Behavior – A Call to Action for Web Developers
This must be infuriating for webdevs if some of their users report an error because they're in the percentage while the devs who have to fix things aren't in it, unable to reproduce the error.
wildpeaks··on Take control over your feeds to regain mindfulness
I dread the day the trick using Search to force Twitter to show a chronological view of just the people I follow will stop working:

- without replies: https://twitter.com/search?q=filter%3Afollows%20-filter%3Are...

- with replies: https://twitter.com/search?q=filter%3Afollows%20-filter%3A&s...

They already send irrelevant notifications (sometimes even about tweets that I already read & even retweeted with comment) if they feel like you're not engaged enough.

wildpeaks··on How Zoom works [slides]
Try Discord if it happens again, it's great for gaming.

Personally I only keep Skype around for one specific customer.

wildpeaks··on You can't tell people anything (2004)
Not only deemed stupid, it can also be perceived as an attack by making the presenter "look bad" and up in retaliations.

People remember how they felt a lot longer than who was factually correct.

wildpeaks··on A little bit of plain JavaScript can do a lot
Because React tries to do so many things nowadays, I can no longer justify the bundle size cost when I can have Preact do what I need at a fraction of the size.
wildpeaks··on GitHub isn't fun anymore
I'm not sure what you're referring to, it's very easy to run an Action after each push?

    on:
      push:
        branches:
          - "**"
wildpeaks··on Today’s Javascript, from an outsider’s perspective
Github does this as well, it's not specific to VSCode or Javascript.
wildpeaks··on Twitter is testing a way to let you limit replies to your tweets
Art thieves and bad actors are gonna love this, now they won't have to worry about being held accountable anymore.

They should at least hide these threads from people not in the list, to act like group DMs: it would still allow bringing more people in the conversation if needed.

wildpeaks··on ESLint 7.0
If visual noise is an issue, I made a VSCode theme specifically for muting things like quotes and semicolons, that way I don't have to choose between explicit semicolons and reduced visual clutter: https://marketplace.visualstudio.com/items?itemName=wildpeak...

The theme was primarily made for me, but I published it because others might find the idea useful.

wildpeaks··on Doom Eternal's Anti-cheat installs a driver to ring-0 kernel
Ironically, Bethesda had regained some goodwill recently because they published some of their titles on GOG (therefore DRM-free) some months ago, but this new move just erased it, especially by doing this as an update (to avoid bad press at launch).
wildpeaks··on A first look at Unreal Engine 5
It's a total game changer.

Time for everyone to learn Unreal, Houdini, and Mari.

wildpeaks··on Unimpressed by online classes, college students file lawsuits for refunds
I'd even go so far as to say it's a superior experience because you can speed up the filler, rewind when something is unclear or when new information give a different context, and pause while looking up something up. And you can still ask questions asynchronously (so there isn't a time pressure for the teacher to answer something quickly) in the comments, with a precise timestamp instead of relying on human memory of what has been said; other students can even answer too.

In-person university lectures are the only time I experienced boredom because it felt like such an inefficient way to learn things.

wildpeaks··on Porting a React Front End to TypeScript
If it's just one property, you could specify it's optional using a question mark instead of creating an additional type:

  type Foo = {
    Hello: string;
    Bar?: string;
  };

But if you really need separated types, the extension syntax is so short that you could define it in the function definition directly:

  type Foo = {
    Hello: string;
  };

  function hello(myparam: Foo) {}
  function world(myparam: Foo & {Bar: string}) {}
← PreviousPage 10 of 21Next →