Better HN
topnewbestaskshowjobs
Log inSign up

fgkramer

67 karma · joined Jul 6, 2018 (8y ago) · 43 submissions

Submissions

comment 1mo ago · link · parent

At the cost of pretty bad build time performance when the application grows. We migrated a >1M LOC codebase to CSS Modules from VE for a ~30% build time speed improvement and much better tree shaking on Next.js

comment 2mo ago · link · parent

How does this work with inference providers behind OpenRouter? Are you saying that all of them are actually losing money?

comment 7mo ago · link · parent

I mean, they don’t train on your data unless you have the setting enabled. Do you really think they are reading your prompts at all? Free inference providers sure, but Anthropic?

comment 9mo ago · link · parent

GitHub Copilot

comment 10mo ago · link · parent

This is already a reality with smart chargers in the UK. Your electric car can be charged when the electricity rates are lower (night usually)

comment 11mo ago · link · parent

But has this been thoroughly documented and are there solid libraries to achieve this?

My understanding is that this is not part of the spec and that the only way to achieve this is to sign/hash documents on clients and server to check for correctness

comment 1y ago · link · parent

I feel this would go down pretty bad considering the recent attempts to break E2E encryption on messaging. Also a very tempting vector for hackers and governments to track user’s behaviour

comment 1y ago · link · parent

Multiple reports will automatically drop it from the usual list, unless there’s manual intervention to keep it from brigading attempts

comment 1y ago · link · parent

Isn’t Vercel’s CEO an investor of Clerk? A direct competitor to all these FOSS auth libraries.

10.

Deliveroo set to be sold to US rival DoorDash in £2.9B takeover(independent.co.uk ↗)

2 points · by fgkramer · 1y ago · discuss

comment 2y ago · link · parent

You understand the complexities and risks involved in maintaining the setup you’ve described?

It’d be unreasonable for most folks who just want to sell regular products and deal with marketing and sales. Those become the biggest tasks once they start getting traction (ask any relatively successful indie hacker). Paying the processor’s fee is worth it for most

comment 2y ago · link · parent

You travelled the Atlantic multiple times over the year? That must be costly!

comment 2y ago · link · parent

I’m in my first month of meds and I’d do anything that’s necessary to keep taking them.

I get it’s a catch 22 sometimes, especially trying to get diagnosed as an adult, but the benefits in my life have been immense.

I’d encourage you to muster the willpower (that we feel we lack so often) and book it if you can afford it. It took me years to get to this point and I wish I had done it sooner. Life is short, allow yourself to live it fully!

comment 2y ago · link · parent

What’s PEM?

comment 2y ago · link · parent

I’m currently wearing a CGM from Lingo (https://www.hellolingo.com/) which is pretty much the easiest way I’ve found to get my hands on one without a prescription (as I’m not diabetic).

So far it’s shown me that the sluggishness after a carb-heavy meal its heavily correlated with the glucose spike and how good my organism copes with it.

Can’t wait for the day we have our own Fallout style Pip-Boys!

comment 3y ago · link · parent

Astro - https://astro.build/

Is probably the fastest thing you can use with extremely sensible defaults and that you can use alongside most web frameworks.

I've been using React for 6 years but this has changed my view of what is possible. You can write React/Vue and have it compiled statically or keep the component's interactivity.

It's the tool I had been looking for for years.

comment 4y ago · link · parent

I was always inclined to think it meant "the way" or "the road".

comment 4y ago · link · parent

Thanks for sharing, I always wanted to see what was inside these beautiful properties! (If you go to the lettings section you can actually see individual properties and their HEFTY price)

comment 4y ago · link · parent

We just need to see Gattaca to be horrified at the results of such experiment.

comment 4y ago · link · parent

https://zoomquilt.org/

comment 4y ago · link · parent

Getting a job straight out of a bootcamp is hard. Getting a front-end job out of a bootcamp without knowing the most popular technologies is even harder.

Bootcamp's interest will always be to increase their students odds to be hired rather than foundational knowledge

22.

How to Get Back on Track(dariusforoux.com ↗)

2 points · by fgkramer · 5y ago · discuss

comment 6y ago · link · parent

Well, in their defence, you can't really know how much the uptime is going to be affected by until the incident is resolved. If it was a live counter then you'd see the uptime go up as the month progresses!

24.

How Normal Are You?(hownormalami.eu ↗)

1 points · by fgkramer · 6y ago · discuss

comment 6y ago · link · parent

Cross origin browser cache is a no-go for Safari (and hopefully other browsers will follow suit), 3rd party scripts from a CDN are not cached across different domains. The only way to properly cache things longterm is with webpack records, but not many people can bear with the added complexity of maintaining them in their pipelines.

comment 6y ago · link · parent

Seconded, when you have a large codebase, BEM selectors end up taking a considerable amount of kB on your final bundles. Moving to CSS modules and running a css class minifier and deduplicator is the best thing you can do if you work in a project where performance is critical.

Anecdotical, but the best improvement I've achieved doing this is shaving off ~30% of our final bundles, gzipped!)

comment 6y ago · link · parent

!g for the lazy!

comment 7y ago · link · parent

https://www.npmjs.com/package/typesafe-get works pretty good

comment 7y ago · link · parent

This following is completely unfounded, but I think that it would become a stigma to those who got it.

We are all driven by chemicals and everyone has their own preference on how to release dopamine and any other chemicals, be it exercise, drugs, alcohol, anything you can imagine. Getting a button to trigger such a strong response would mean a certain division in society, those who seek pleasure the new way or those who want to keep with the traditional way.

Overall I think that facilitating this would give people a huge (maybe too big) escape from reality and would certainly be abused.

Robin Cook had a plot about this (triggering orgasm-like responses on brains) many years ago in his book Brain:

https://www.goodreads.com/book/show/529804.Brain

comment 7y ago · link · parent

You can use some built-in modules: http://erlang.org/doc/efficiency_guide/profiling.html or some external tools like recon: https://ferd.github.io/recon/index.html
12