HNHacker News
TopNewBestAskShowJobs

kn8

504 karma · joined December 28, 2011

submissionscomments
kn8··on How Shopify reduced storefront response times with a rewrite
Is the new implementation still Rails?
kn8··on Theory of Everything Controversies with L Smolin, S Hossenfelder and E Weinstein
The whole show is great, but there’s an interesting back and forth between Sabina and Eric starting at https://youtu.be/CJx3gLkebIA?t=1h02m08s with some new explanations of Geometric Unity.
kn8··on Is WebP really better than JPEG?
In my experience, when building websites, webp has always been smaller thus far.

For anyone interested and building sites with Next.js, I've released a plugin for optimizing images and converting to webp with fallback to jpg/png: https://github.com/humaans/next-img/

kn8··on Show HN: Obsidian – A knowledge base that works on local Markdown files
Hm.. I opened Obsidian. Double clicked the title bar to make it not full screen (on a Mac), now it's not visible anywhere. It's as if the window is 0 width somewhere on my screen..
kn8··on SQL is a better API language than GraphQL – Convince me otherwise
Nor is GraphQL..
kn8··on Effortless realtime data management for React and Feathers applications
A little more about how it works on the server in this thread: https://twitter.com/kidkarolis/status/1247906414317592583. It's a neat way to do realtime APIs with a REST setup.
kn8··on How Apple Is Working from Home
Dupe, discussion: https://news.ycombinator.com/item?id=22730478
kn8··on End-to-end encryption in the browser
I'm a fan of https://precursorapp.com/, but will give excalidraw a go.
kn8··on Planetary: a VC backed social network built on Scuttlebutt, out of stealth
And more investors, "And we're backed by some very smart VCs including @BloombergBeta @FuelCapital and @upsidevc among others" https://twitter.com/tomcoates/status/1220078067328024576

It's interesting.. I'd guess VC money is not in line with what the scuttlebutt community would think is the right approach for creating a better alternative to current giants. But at the same time it's clear that you need a lot of time and money to create something polished and mainstream. There must be multiple ways to achieve the same goal.

kn8··on Planetary: a VC backed social network built on Scuttlebutt, out of stealth
Biz Stone, one of investors - https://twitter.com/biz/status/1220048447794900993
kn8··on Planetary: a VC backed social network built on Scuttlebutt, out of stealth
Link to the site: https://planetary.social/
kn8··on Show HN: Humaans – the first HR app that won't make you tear your hair out
OP here. Humaans is a smart employee database, aka an "HR app". We're building it with the goal of making it a joy to use for both the People Ops teams and all of the employees within a company. HR tools from our experience are generally lacking the polish we expect from many modern tools we use day to day.

We're focusing on making it beautiful, as straightforward and as efficient as possible, really fast, remote and distributed team friendly and useful in all sorts of small ways. For example, you can see the local time of your remote colleagues in the directory or their profile. Hovering over your time off balance shows you the breakdown of how it's calculated - days accrued, booked upcoming days, booked past days, carry over - so you know exactly what's going on. The "filter by anything" search lets you find an individual or people from some team or city quickly, and so on.

It's built using Node.js/Postgres and React.js as the key tech. The API and UI are fully realtime since the backend is powered by Feathers.js (https://feathersjs.com/).

Feel free to try it out – it takes only 2 minutes to sign up. Feedback is welcome. Also interested in what you'd like to see in a tool like this. The HR space is quite broad with a lot of interesting tools popping up and we're still exploring the ways we could have the most impact to help businesses be more efficient.

kn8··on Modern Script Loading
The two drawbacks of module/nomodule that I don’t see being discussed often:

- babel compiles async/await down to regenerator when using modules: true (at least for now) - the definition of “modern” browsers will change eventually and module/nomodule detection will not be relevant

Which is why I’d use ua sniffing: https://github.com/KidkArolis/jetpack/blob/master/docs/07-di...

kn8··on Announcing Zap iOS on the App Store
The privacy policy they used for App Store app can be found here: http://zap.jackmallers.com/privacy
kn8··on Show HN: Ethical Resources – 300 ethical alternatives to mainstream stuff
Fathom - very simple, very pretty, great all in all

Countly - a little richer, e.g. geo view

Matomo - the most feature rich, closest to GA (haven't used)

kn8··on Show HN: Ethical Resources – 300 ethical alternatives to mainstream stuff
Because there's a barrier to entry with some of these "less ethical" tools, especially analytics, hard to compete with free or having to self host. We can/need to do better?
kn8··on Roll Your Own Analytics
And here's my write up of how you can quickly host your own instance of Fathom using dokku: https://www.kn8.lt/blog/hosting-your-own-analytics-with-fath...
kn8··on Pika: Making it easier to find, publish, install, and use modern packages on npm
But why is nobody using that?

Specifically, I would think 99% if stuff being shipped today is bundled with tools like webpack.

kn8··on How Hacker News Stays Interesting
Is the issue esoteric languages or just languages you don’t use? Which languages do you use?
kn8··on Top Seven apps built with Python
Youtube?
kn8··on Show HN: Jetpack – Webpack made more convenient
I'd say:

- meant to be not React only

- less opinionated in that it doesn't include jest

- smaller in scope/code, so easier to understand what it does by reading the code (?)

- allows extending configuration

- focus on SPA use case with jetpack/serve or proxy features

I should probably give CRA a proper spin though, it's popular and V2 seems pretty good.

kn8··on Show HN: Jetpack – Webpack made more convenient
For a different definition of zero though. While webpack now does something useful with no configuration (which is great), you will most likely end up adding lots of configuration for any application. Whereas with jetpack there's a chance that you won't (at least in my experience).

The challenge of course is the diversity of the ecosystem. Different projects are trying to address it differently, e.g.

* CRA is opinionated and unconfigurable

* Neutrino/pwa-cli propose a higher level plugin approach (i.e. install a plugin, without needing to configure it, in webpack plugins take many lines of configuration to configure)

* Next/Gatsby use a plugin system as well but are also specialised tools which means a lot of decisions can be abstracted

* jetpack tries to be application/use case/framework agnostic and provide you with the most commonly used/useful foundation, you can optionally add extra (e.g. sass), but you don't have to recreate the foundation (i.e. es6, jsx, modern css, css modules, hot reloading, serving, producing html, etc)

It's also about the DX, jetpack lets you run a dev server with a single command, it lets you analyse the bundle with a sigle command, it builds an optimised, split chunk bundle with a single command.

Just pointing out some motivations behind the project, I'm a fan of webpack, been using it for many years.

kn8··on Show HN: Jetpack – Webpack made more convenient
That's an interesting perspective. I'd add that one option in those situations could be to utilise Webpack plugins. In one project we were bundling JavaScript with webpack in a service behind an online IDE. We used a couple hand rolled plugins to do custom resolving (find the packages in this memory-fs structured by name/version), caching (what is safe to reuse) and sandboxing (only allow safe requires and plugins).
kn8··on Show HN: Jetpack – Webpack made more convenient
Yeah, I mention it in the Comparison[1] section of the docs ;)

[1] https://github.com/KidkArolis/jetpack/blob/master/docs/08-co...

kn8··on Show HN: Jetpack – Webpack made more convenient
Yes, but it's a solid foundation that they all try to offer. Raising the bar for what you get from the tool by default, ideally without making assumptions that would exclude it from any use cases.

I'd argue one of the reasons Next.js is so popular is because you can get started with no configuration. It has optional configuration, but all the webpack config, css, hot reloading, route splitting, etc. all serves as a solid foundation.

kn8··on Show HN: Jetpack – Webpack made more convenient
Thing is, in my experience, the configuration can get quickly very difficult when the plugins don't play nice. It's not just webpack's configuration, it's also babel and babel-loader and postcss and postcss-loader and so on. Next thing you know, you're spending hours tweaking the config to get it to work.

I wanted something that is a good fouondation for _any_ project. If it needs extending, sure. But there's not much to remove.

You could argue you don't need all those plugins, but.. I would like to use jsx, async/await, css autoprefixing, css imports, hot reloading, compile it all for older browsers, split chunks and generate html. Those seem to be expected features today (or maybe that's a wrong assumption I have)?

kn8··on Show HN: Jetpack – Webpack made more convenient
That's a fair point. I don't know what the best solution to this problem is, but I do think there's a problem.

Requiring the users to install 20 or more dependencies (@babel/, @postcss/, webpack-*, etc.) and write dozens of lines of configuration every time just doesn't feel right (or maybe it is..).

And we know what the developers need, they need to bundle a web project in a way that's optimised for production, js and css compiled to run on N (configurable) most recent browsers (optionally). But that's not that trivial in webpack, if it was, perhaps we wouldn't have so many abstractions trying to improve upon status quo.

Perhaps that's just an inherently difficult problem. E.g. there are many many ways to handle CSS, people use variety of transpilations such as TypeScript or Flow, projects have different requirements.

Another data point is that Parcel this problem in a much more "everything works automatically" way and it's really resonating with people.

kn8··on Show HN: Jetpack – Webpack made more convenient
Same, the global pkgs I always have installed are:

* nodemon

* npm-check

* ndb

* serve

* webtorrent-cli

* jetpack

kn8··on Show HN: Jetpack – Webpack made more convenient
Nah, I think installing locally is more common and often recommended. But I personally like the convenience of executing ad hoc bits of js on my laptop using `node` or `nodemon`. Why not the same for browser javascript?

E.g. you could do something like:

  cd ~/Desktop/foo
  npm i somepkg
  echo console.log(require('somepkg')()) > index.js
  jetpack
And now you're running some pkg in the browser, to try/test it out. That's what the use case for this feature really is. For real apps, I install it locally as well or else a breaking change in the future could cause issues.
kn8··on How AlphaZero Mastered Its Games
I heard it’s good from several people. I haven’t seen it myself yet.
← PreviousPage 2 of 3Next →