Better HN
topnewbestaskshowjobs
Log inSign up

jokull

690 karma · joined Mar 18, 2009 (17y ago) · 432 submissions

twitter: @jokull
Submissions

comment 1mo ago · link · parent

I think poster overfits the postgres wiki advise. The thing is, most timestamps are not "UTC". That's only when you want to print an epoch value human readable you need some timezone and UTC is the most neutral. That doesn't mean you should opt for zoned timestamps in columns.

Because of this overfitting OP lands on exactly the wrong advice. Unfortunately the quoted line is "Even Postgres Wiki says: Don't use timestamp without time zone" but wiki says "Don't use timestamp (without time zone) *to store UTC times*".

comment 1mo ago · link · parent

Good feedback - I condensed the webpage

comment 1mo ago · link · parent

Very cool! I wrote a go library for this https://onwardpg.solberg.is

comment 10mo ago · link · parent

Yes - not seen it this red though.

comment 10mo ago · link · parent

As seen from my apartment in Reykjavík Iceland: https://ss.solberg.is/89N0qS7T

comment 10mo ago · link · parent

Keep in mind that a lot of vibe-coded software is flying under the radar because it’s being built to replace SaaS and bring workflows in-house. We often judge success by public launches or ARR, but the real "killer app" for this methodology right now is internal tooling for small teams. For example, instead of spending developer bandwidth integrating Salesforce into first-party data, teams are increasingly just vibe-coding a bespoke CRM or CMS as an appendage to their existing database. It’s complex software (state, auth, heavy logic), but it will never be on Product Hunt because it's purely for internal utility. The success metric here isn't "did we get 10k users," it's "did we avoid a $50k contract and weeks of integration hell."

7.

Type aware lint rules: Oxlint vs. Biome 2(solberg.is ↗)

4 points · by jokull · 1y ago · discuss

comment 1y ago · link · parent

I recommend https://remedajs.com/ - they're always making the types more accurate too. Like groupby has nonempty lists.

9.

Practically Safe TypeScript Using Neverthrow(solberg.is ↗)

1 points · by jokull · 1y ago · discuss

comment 2y ago · link · parent

Link to your wife's work?

11.

Local Dev Should Use HTTPS Too(solberg.is ↗)

1 points · by jokull · 2y ago · 1 comment

comment 2y ago · link · parent

libsql (from turso) is also working on this - the more the merrier

comment 2y ago · link · parent

I just use cloudflare tunnels (cloudflared) - don't have to install any certificates, it's all handled by cloudflare. Yes, it exposes globally, but that's often convenient to share a link to my dev with colleagues. And it has been fast enough. Downside is that you need internet connectivity.

comment 3y ago · link · parent

No - please check out Hono https://github.com/honojs/hono

comment 3y ago · link · parent

Very different. Svelte has magic event bindings and compiles `.svelte` files. Their learning material is interactive and worth going through just to see some new ideas.

comment 3y ago · link · parent

For what it's worth there's a good library to load markdown with Svelte components mixed in. Here's how I'm loading it: https://github.com/jokull/blog/blob/master/src/lib/getPosts....

comment 3y ago · link · parent

SvelteKit is a very complete and well designed solution. Routing, data loading, forms, SSR, caching, dealing with environment variables - all very nice. The only "drawback" is Svelte - I just don't like the data binding thing and prefer working with React components and hooks. Maybe that's just because I've spent so much time in React/Next. Well written React code is actually quite easy to debug, reason about and debug. I find it super annoying to refactor Svelte code because every time I want to extract some code into a component it can't be a function in the same file before it becomes a whole new file. It has to be a file. Also haven't found anything nearly as nice as Framer Motion and Radix in Svelte land.

comment 3y ago · link · parent

Love this library and use it with kysely-codegen and D1

19.

Shopify acquihires Remix, moves away from React Server Components(hydrogen.shopify.dev ↗)

3 points · by jokull · 4y ago · discuss

comment 4y ago · link · parent

The criticism is mainly on last-generation frameworks that came around before React and the like. They bundled together an all-in-one approach to writing web apps. Django comes with an admin tool!

The world has largely moved to richer frontends so stacks are more flexible.

comment 4y ago · link · parent

They also have a migration guide and have even built some tooling around that process: https://render.com/docs/migrate-from-heroku

comment 4y ago · link · parent

Fastmail

23.

Options when working for US companies as resident in Europe(solberg.is ↗)

1 points · by jokull · 4y ago · discuss

comment 4y ago · link · parent

To read a draft :) You can reach out to me here if you want jokull@solberg.is

comment 4y ago · link · parent

Hey what's your email? I'm thinking about writing up a blog post with information in this AskHN

comment 4y ago · link · parent

In my country it is but you have to pay a fair salary and only expense strictly business related things. At the end of the month it's not illegal to have some funds remaining - as it can be because of irregular income, a business reality for many (most?).

comment 4y ago · link · parent

The issue here is not calculating a fair salary - and its an insanely popular way to avoid taxes all over the world. Tax authorities turn a blind eye, I suspect because the practice is just too common among politicians and their friends.

This might not be an issue if the corporate income tax + financial gains tax comes out the same as payroll tax. The bigger issue here is that you can use the remaining funds to invest and losses form a tax deduction base. More commonly however people just cram as much personal consumption inside the companies before paying out the salary, even things like travel and dining out. In the EU, VAT is commonly quite high and you get refunds on that if the expenses are on the company.

comment 4y ago · link · parent

Is there something stopping a US company from issuing equity to foreign citizens?

comment 4y ago · link · parent

The way I do it, I set up a limited liability company that is just my own name. I then charge for services rendered and income goes into a company in my sole ownership. I then pay salary to the only employee (me). This is common and completely legal.
12345
15