HNHacker News
TopNewBestAskShowJobs

fragile_frogs

135 karma · joined January 24, 2021

submissionscomments
fragile_frogs··on Ode to libraries (the book ones)
> So what to do? Go to nearest coffee shop. You’re lucky if they don’t play tasteless trendy music. You’re lucky if a waiter doesn’t keep asking if you need anything, isn’t intrusive, and doesn’t subtly let you know when it’s time to leave by checking on you constantly . You’re lucky if no teenagers talking loudly about their-whatever-teens-talk-about-these-days.

I used to work from coffee shops until I realized how annoying it is to have a café full of people working on their laptops. A once lively place that was supposed to be an escape to relax, meet friends or read a book has turned into a soulless office environment. I want to go to a café to escape work, not to be reminded of it by constant keyboard sounds or video calls.

> You’re lucky if a waiter doesn’t keep asking if you need anything, isn’t intrusive, and doesn’t subtly let you know when it’s time to leave by checking on you constantly .

> Oh, by the way, pay a lot of money to be here and to drink a nice cup of burnt coffe.

How entitled can you be to think that you can occupy a table for the whole day and expect to only buy one coffee?

> Then rent an office or subscribe to a co-working space? What? I get paid to work, not to pay for it.

Yes, that is exactly you are supposed to do. If you are working remotely and can´t afford a co-working space you are probably underpaid. Your salary should either include that expense or your employer should cover that for you.

fragile_frogs··on React Is the New IBM (2023)
> Andrew Clark’s vision of using more compiler magic to solve for React’s shortcomings is indeed a very Facebook-esque approach to solving problems with performance and suitability

and

> Much of the innovation in the UI space is now happening around the edges of the React ecosystem: Solid.js, Preact.js, Svelte.js, Vue.js, Astro.js, Qwik.js, Marko.js

- Solid.js requires *babel-preset-solid* [1]

- Selvte has a compiler

- Astro components are custom `.astro` files

- Qwik.js ships an optimizing compiler [2]

- Vue has `@vue/compiler-sfc` [3]

React is fine, stable and easy to upgrade

[1] https://www.solidjs.com/guides/getting-started

[2] https://qwik.dev/docs/advanced/optimizer/

[3] https://vuejs.org/guide/scaling-up/tooling#lower-level-packa...

fragile_frogs··on I paid for Sublime Text
I have been using Sublime Text for about 8 years now, I have tried multiple different editors in the mean time including VS Code, Atom, Fleet and I always went back to Sublime Text.

After years of using ST for free, I finally bought a license about two years ago when ST 4 came out, I am also a paid user of Sublime Merge, which is the best git client I have tried.

fragile_frogs··on VanMoof encryption key exporter
I ride BMX, road bikes and Mountain Bikes. I've tried a VanMoof two years ago and the build quality was terrible. You couldn't pay me to ride one.
fragile_frogs··on 'BlackBerry' review: The comedy and tragedy of the innovator's dilemma
I bought the BlackBerry Classic a while ago and I also own the Key 2.

The BB Classic is everything I want in a smartphone, the build quality is great, the keyboard is amazing in and BB OS is really intuitive and fluid to use.

Such a shame that every smartphone nowadays is just a rectangle with a screen and nothing else...

fragile_frogs··on Ask HN: Why is there no database with a functional query language?
I want something like ReQL[1] but as a language itself

[1] https://rethinkdb.com/docs/sql-to-reql/javascript/

fragile_frogs··on Hetzner continues its growth in the US with a new location
> I might make an exception for RethinkDB since I loved it so dearly.

Don't get my hopes up... I haven't used RethinkDB in ages and have fully moved to Postgres though

fragile_frogs··on Working with Tailwind CSS every day for 2 years
You could combine styled-components/emotion with something like open-props[0]. You get all the power that comes with CSS and a set of variables to help you create a consistent design. That's how I manage my styling.

[0] https://open-props.style

fragile_frogs··on Working with Tailwind CSS every day for 2 years
I've been looking for someone to mention open-props and I really enjoy using it.
fragile_frogs··on Ask HN: How would you design an alternative Twitter
Yeah, you would have to raise the one-time payment constantly in order to keep up with your own recurring costs, the more users you have the greater your costs will be.
fragile_frogs··on Talking to strangers can make us smarter?
I used to work at Starbucks for about a year and a half and it all depends how busy it is. Unless it's busy, those random conversations with customers where the best part of the job, at least for me.
fragile_frogs··on Open source sustainment and the future of Gitea
> Only downside of SEPA is that it is a lot less common outside EU/Europe

SEPA stands for "Single Euro Payments Area" and was build for the EU/Europe, I don't think it's available outside of Europe.

fragile_frogs··on Turbopack, the successor to Webpack
IMO where Parcel shines is when you are building client side single page apps or JS/TS libraries.

I could see that it won't be the right tool for a multi page server rendered app.

fragile_frogs··on Turbopack, the successor to Webpack
> I’m still searching for a zero-conf full-stack pipeline which could manage both frontend and backend in a single project under a single watch command

I did create a proof of concept how this could be done in parcel https://github.com/mochicode/parcel-fullstack-poc.

The /src folder contains:

1. /api => backend

2. /app => react frontend

3. /shared => shared code

Once everything is installed, just run "npm start" and it will:

1. build and watch your src folder

2. react hmr/fast-refresh works

3. nodemon will reload your node server when things change

4. serve your react app on localhost:8000/frontend, currently hard coded, but I could also load this from the package.json file.

Not zero-config, but it almost gets you there.

fragile_frogs··on Turbopack, the successor to Webpack
I think this could benefit Rome. Both projects are written in Rust and so far they have a linter and a formatter and now they can integrate Turbopack, package it behind "rome build" and don't have to build their own bundler and transpiler.
fragile_frogs··on Turbopack, the successor to Webpack
I think this might have just made their lives easier, from the projects website:

> Rome is designed to replace Babel, ESLint, webpack, Prettier, Jest, and others.

Since both projects are written in Rust, the Rome team could use Tubopack to build/bundle projects and focus on the other features they are planing: https://rome.tools/#supported-features

fragile_frogs··on Turbopack, the successor to Webpack
> I just wanna `script/build` or `yarn dev` and not think about it anymore.

Parcel might be a good fit for you: https://parceljs.org/

fragile_frogs··on Turbopack, the successor to Webpack
And when you try to upgrade just one plugin everything breaks and you have to upgrade everything.
fragile_frogs··on Turbopack, the successor to Webpack
After years of configuring webpack for various projects I have finally decided to migrate all my projects to Parcel[1] manly because I got tired of creating and maintaining hundreds of lines of webpack.config.js files, I wanted something that just works. I am really happy with that decision.

Parcel is plenty fast and is pretty much zero config, I can use it to build libraries[2] as well as applications[3] for the browser and node.

I am manly building client side react applications, so your mileage may vary.

[1] https://parceljs.org/

[2] https://parceljs.org/getting-started/library/

[3] https://parceljs.org/getting-started/webapp/

fragile_frogs··on Codeberg: A GitHub alternative from Europe
While the founders are from Europe, GitLab is a US company [1] and the SaaS offering is based in the US [2].

[1] https://about.gitlab.com/blog/2015/07/01/operating-as-gitlab...

[2] https://about.gitlab.com/handbook/engineering/infrastructure...

fragile_frogs··on The Future of the Web Is on the Edge
yugabyte looks quite interesting in that space. From what I can tell their OSS product allows for "Row-level geo-partitioning" https://docs.yugabyte.com/preview/explore/multi-region-deplo...

I haven't used it for anything yet, so I don't know how well it works.

fragile_frogs··on Flyweight: An ORM for SQLite
This is what I do in postgres:

  insert into your_table(id, created_at, uri, project_id)
  select id
       , created_at
       , endpoint as uri
       , project_id 
    from jsonb_to_recordset($1)
      as x(
          id uuid
        , created_at timestamptz
        , endpoint text
        , project_id uuid
      )
fragile_frogs··on Ask HN: Good private email host with IMAP?
Protonmail is awesome. Even though I have been a paid customer for years, mostly to support them, I only recently started to actually use the products and they are really good and I love the focus on privacy.
fragile_frogs··on Reimagining front-end web development with htmx and hyperscript
https://github.com/vercel/ncc
fragile_frogs··on Convex vs. Firebase
Convex queries remind me of RethinkDB's query language (ReQL). RethinkDB also had the horizon project[0], looking at todays projects like Convex, Thin[1] and supabase[2], kinda makes me wonder what the RethinkDB guys could have build.

RethinkDB was such a great project.

[0] https://rethinkdb.com/blog/horizon-release

[1] https://thin.dev/

[2] https://supabase.com

fragile_frogs··on Bearer tokens are just awful
You can actually securely store a key pair inside of indexeddb by setting extractable to false [1]. You can then get a reference to the key and perform your allowed key usages without JS touching the key.

[1] https://developer.mozilla.org/en-US/docs/Web/API/SubtleCrypt...

fragile_frogs··on Ideal Monitor Rotation for Programmers
I got myself the 49" Ultra-wide monitor from Dell [1] and it's a fantastic product. I was never really a fan of using two monitors so having two 27" monitors in one screen is really amazing and it becomes even better if you combine it with FanzyZones [2] to manage the window layout.

1) https://www.dell.com/en-us/work/shop/dell-ultrasharp-49-curv...

2) https://docs.microsoft.com/en-us/windows/powertoys/fancyzone...

fragile_frogs··on Rust Moderation Team Resigns
They also posted the resignation on the Rust subreddit: https://www.reddit.com/r/rust/comments/qzme1z/moderation_tea...
fragile_frogs··on Ask HN: Can Firefox be revived?
Zoom on Firefox only has the speaker view, if you want to have the grid view to see everyone you'll have to use Chrome/Edge.

I also have to use Figma on a daily basis and the there are some odd things happening in Firefox that don't appear in Chrome/Edge.

fragile_frogs··on PostgreSQL 14
I found "The Art of PostgreSQL" quite helpful: https://theartofpostgresql.com/
Page 1 of 3Next →