Hacker Newsnew | past | comments | ask | show | jobs | submit | more pitaj's commentslogin

I love Svelte. When I first used it, it was like using a framework for the first time: Wow, everything is namespaced to the component, even CSS! Wow, just putting $ in front makes it update automatically! etc, etc


Somethings have definitely changed but I've accepted that maybe this is what is best needed for having some fewer amount of bugs/headaches about software while making it more performant and I sort of trust the svelte team in whatever version they lead us to!

Afterall, what is fun in webdev if not for creating factions and I am part of the lovely sveltelandia! Proud to be a member of it and I have full trust on the team.


They asked what was controversial about what he said, not whether the FCC's actions were constitutional.


>They asked what was controversial about what he said, not whether the FCC's actions were constitutional.

The former is (for some at least) interesting. The latter is actually consequential. I'm concerned about the latter.

The former, whether I agree or not, is about legal, protected political speech.


Private healthcare is barely a market at all - heavily distorted due to government policy.


This reverses causation. Investors are involved because prices are going up, not the other way around.

"Investors buying up housing" is a common explanation alongside "short term rentals taking over" but neither make up a large enough portion of the demand to explain prices.


In a feedback loop, every element in the loop is both a cause and an effect. The way to stop the feedback is to shift one or more relationships in the loop.

If you are lucky there can sometimes be arranged some convenient control elements- but in many difficult problems a lever that you can pull that only affects that one thing doesn't exist. You have choices of levers that affect a multitude of things, maybe many of which go counter to the desired independent effect


> the slow and unproven trickle-down effect of market-rate housing

Slow and unproven? Supply and demand is the most reliable law of economics. Cities like Austin that are building market rate housing are actively seeing affordability improve.

Furthermore, even if it wasn't sufficient, abundance YIMBYism would still be helpful and necessary.


I think the best solution for this is to just not use webfonts, and in fact use the system font instead.


I don’t have extensive experience on this yet, but I believe this is also a solved issue (using custom fonts). Serve the font-family from the same source as the website, preload only the primary font-style (say “normal”), and custom-pick the font to just the Latin subset. That should be fast enough that almost none will notice, except for the pedantic developers like us (personally, I can forgive that).

Henceforth, let the others (styles, variable, etc) kick in as needed.


Yep, that's what I do on my website (except for the Latin subset). Still noticeable on spotty connections, like on a phone in a dead zone.


Or just use any of the font stacks from https://modernfontstacks.com/


I like custom fonts, but I must say I like this. Will use it on my blog.


You can also subset your fonts; e.g. if your content is in a language that uses the Latin alphabet, then you only need to include those characters in your font. Between that, variable fonts, and WOFF2, I've managed to get Inter down to 50kB (plus another 50 if you need real italics).


I get Inter at 77kb but that includes 8 language versions of the site... or should it be less?


Which system font? There’s no standards here; each operating system has their own, with no guarantees as to what is available.

Until OS developers get their house in order, designers will keep on ignoring them.


Partly, the answer is “tough”. As a designer, you don’t and aren’t meant to have pixel-level control over the screen contents. Web is not print. Don’t ask for the PostScript standard fourteen. (Somehow this lesson comes through much better for reflowable ebooks.)

Partly, I am willing to admit that web fonts are still nice when you can get them. But they’re too unwieldy to block on (slow connections exist; font foundries are assholes[1]; etc.), and we don’t really have a solution (the problem with FOUC is not the unstyled content, it’s the layout shift).

[1] https://jakearchibald.com/2021/f1-perf-part-1/


While I'm absolutely not a design-should-rule-all person, I think there's quite a range between "pixel-level control" and "you can't choose which font to use".

If we'd reliably have the top 50 google fonts on every OS, there'd be a lot less webfonts used.


This is also something the browser vendor could provide, without OS-level changes.


From https://developer.mozilla.org/en-US/docs/Web/CSS/font-family :

    system-ui

    Glyphs are taken from the default user interface font
    on a given platform. Because typographic traditions vary
    widely across the world, this generic is provided for 
    typefaces that don't map cleanly into the other generics.


Which system font? There’s no standards here;

Yes, there is:

   font-family: system-ui;


Just brainstorming here, why can't we have "browser fonts" shipped with the browsers?


There's serif, sans-serif, monospace,... That's more than enough to present any content.


Those fonts are not guaranteed to support OpenType features like small caps. This alone makes them inadequate for a lot of content.


Even better: we have OS fonts shipped with the OS, also users can install additional fonts for all the applications to use.


They literally mention Amazon in their comment


Yes, thanks, I should read better.


Yep the biggest problem with the ACA was that it doubled down on health insurance as a benefit of employment, when it should have taken steps to transition everyone off of employer provided plans.


It would be a political disaster to transition people off their employer plans.

The short term effect would be an increase in costs but no increase in pay for most people.


With a small tweak it would have the opposite effect. Just mandate that employers must add what they previously paid in health insurance to people's salary. So it would look like significant pay raises to a substantial portion of the populace. I bet that would be popular.


I don't know if you would even need to mandate it. Stop mandating it, and start taxing all benefits as income, and you remove the biggest incentive for employers for pay for them.


That would suck for employees. They just effectively got an effective decrease in pay.

A switch from employer-pay to government-pay should be a no-op for employees with employer health insurance. But in a naive scheme, it isn't. The burden for paying for health insurance moves from the employer to the employee (through increased taxes). The employer benefits because they stop paying for health insurance, the employee pays the costs.

Voters, who are mostly employees, would hate it.

OTOH, an on-paper pay raise for employees that doesn't cost the employer anything? That'll be much more politically palatable. "Both your taxes and your salary go up 10%" is a lot more palatable than "Your taxes go up 10%".


Health insurance contributions are pre-tax. Take home pay is post-tax.


It was a political disaster to keep people on the status quo of employer provided coverage, which the ACA did.

There's no safe path for any of this, with such effective propagandists ready to slander whatever move you make.


It's a common operation on sets, so would make `HashSet::union` [1] and friends less obvious, for no real benefit.

[1] https://doc.rust-lang.org/stable/std/collections/struct.Hash...


Agreed. Anybody buying this would be better off spending that money on a used card like a 2070 or 3060, and might even save a buck.


Or an Intel Arc card. They aren't very high end, but they're competitive at MSRP and I suspect they'll demolish this in benchmarks.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: