Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
dmitriid
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
75 ms
·
661.
▲
by
dmitriid
4y ago
How do you enforce consistency in CSS-in-JS? Paddings, margins, sizes, colors? Everywhere I've seen CSS-in-JS used, everywhere it's people busy writing bespoke styles in every file.
662.
▲
by
dmitriid
4y ago
It gives you a consistent design system with sensible defaults and easy-to-use (and rather memorable or easy to deduce) utility classes. Unlike the yet-another umpteenth bespoke `.card-header__buttons .card-header__button--secondary` that n
663.
▲
by
dmitriid
4y ago
That's why the wink ;) I used to sort of like CSS-in-JS, but on larger projects it also quickly devolves into "I know we have a design system, no idea what we have there, here are one-off CSS styles for this particular component&q
664.
▲
by
dmitriid
4y ago
> The people that know CSS don't want to learn new classnames when they can use CSS and that is a standard. And then they end up with dozens (and in big project hundreds) of bespoke CSS class names that no one can remember or keep t
665.
▲
by
dmitriid
4y ago
> what's the benefit of Tailwind over style attributes on HTML tags For example, you can't specify hover, focus etc. style attributes. You can't specify screen sizes either. Plus there are few Tailwind classes that cover s
666.
▲
by
dmitriid
4y ago
> I like how you like to make up random numbers with no data to sound very scientific :) Says the person whose answer is "I don't know". I told you why knowing the percentage of people affected is important. You just dismi
667.
▲
by
dmitriid
4y ago
> No idea. All the owners of that model of iphone. I have no clue how many units were sold. How is that important? So, you have no idea how many were affected, but "all users". How is that important? If it was 1% of 1% of users
668.
▲
by
dmitriid
4y ago
> Wired: Browser WASM (from Go source) that accepts commands over websockets to modify & render the DOM. Why WASM? For what purpose? Just to do that? You don't need WASM for that: see Phoenix LiveView
669.
▲
by
dmitriid
4y ago
> A "you're holding it wrong" flaw could result in death rather than missed calls How many people were affected by this, and is this comparable to the failure rate of the dive computer you implicitly trust? Quick Googling:
670.
▲
by
dmitriid
4y ago
> who used MyISAM I remember reading "High-Performance MySQL" in mid-200s. It was a real eye-opener: all the things you needed from a DB where somewhat randomly available across the different storage mechanisms, but not in any
671.
▲
by
dmitriid
4y ago
It's not just America, and English. There used to be (sometimes rather insane) niche dictionaries like reverse dictionaries, specific terminology dictionaries, hyper-specific ones like "A dictionary of "Names for inhabitants&
672.
▲
by
dmitriid
4y ago
> it’s in the editing of those first 10,000 photos that you will find the hidden photographer in you. Instead of taking 10 000 photos, then sifting through them, and then editing them... Take 1000 photos, but take the time to take them
673.
▲
A New Hampshire libertarian utopia was foiled by bears
(vox.com)
5 points
by
dmitriid
4y ago
|
0 comments
674.
▲
by
dmitriid
4y ago
> Do you have any good sources about this? For example, documents in Google court cases: https://twitter.com/jason_kint/status/1592380225064960002 and https://twitter.com/jason_kint/status&
675.
▲
by
dmitriid
4y ago
> You can easily buy two terabytes of memory nowadays. Hence, scaling memory is relatively easy (save the time it takes to make that data hot in memory). This means your first million customers are easily served from memory, and it'
676.
▲
by
dmitriid
4y ago
Shells are not separate from the parent company. The Cloud act still applies to them.
677.
▲
by
dmitriid
4y ago
All the dystopian nightmares are already here. A few more steps closer to paid doors to your apartment from Ubik: https://www.goodreads.com/quotes/7444685-the-door-refused-to...
678.
▲
by
dmitriid
4y ago
It's hard to see how. MS would have to create an entity entirely separate from MS US... while providing the exact same services.
679.
▲
by
dmitriid
4y ago
What utter drivel. The EU stance is this: "a person's data belongs to the person, and you can't obtain, collect, sell, or transfer this data in any way, shape, or form without an explicit consent from the person". The US
680.
▲
by
dmitriid
4y ago
So "Microsoft can't be expected", "Sony doesn't care" but we should only blame Apple. Gotcha. Because only Apple has the power and hence the responsibility, not the tiny helpless companies Microsoft and Sony (~
681.
▲
by
dmitriid
4y ago
> if it weren't for Apple Vulkan would be a near ubiquitous desktop and mobile API Ubiquitous desktop: Windows Uniquitous gaming consoles: XBox and Playstation Ubiquitous phones (worldwide): Android APPLE IS RESPONSIBLE FOR VULKAN N
682.
▲
by
dmitriid
4y ago
> instead of using the cross-platform universal standard that everyone else is using. 1. Metal predates Vulkan 2. The vast majority of gaming platforms either don't support Vulkan, or have it as a distant third-party option https:&
683.
▲
by
dmitriid
4y ago
> Everyone who’s gone through a reasonable undergraduate CS curriculum should have Tell me the equivalent of "I went to Harvard you peasant" without telling it.
684.
▲
by
dmitriid
4y ago
jai's author, Jonathan Blow, always creates a game from scratch. His games: Braid (highest rated XBox Live title when released, "Xbox Live Arcade Game of the Year", https://www.youtube.com/watch?v=YgGeBOC0PX4
685.
▲
by
dmitriid
4y ago
For me it quickly feels too much like work (I have the same feeling about all other factory/production chain games from Satisfactory to Dyson Sphere)
686.
▲
by
dmitriid
4y ago
Mantle was a proprietary AMD-only Windows-only API until AMD gave up and parts (not even the whole part) of Mantle became parts of the future Vulkun standard sometime in 2015. So sure, sure, Apple "went out of their way to not support
687.
▲
by
dmitriid
4y ago
> I think Apple TV is very overlooked by developers too. Because no one nows if the platform will be there or not. Apple's commitment to it has been lackluster. And since there are no dedicated controllers, you'll need controll
688.
▲
by
dmitriid
4y ago
After all, Apple's Metal precedes Vulkan by two years, and the vast majority of gaming platforms do not support Vulkan, or Vulkan is a distant third-party API on them: https://news.ycombinator.com/item?id=33742823
689.
▲
by
dmitriid
4y ago
Chrome pushes hundreds of new APIs every year [1]. On top of that modern browsers are huge unmaintainable beasts. Chrome is upwards of 25 million lines of code [2] All of this compounds together: new features introduce new bugs, new feature
690.
▲
by
dmitriid
4y ago
> What do you think led Vlad to invade? Any combination of (in no particular order): - paranoia - phantom empire pains - complete and utter failure to produce anything of note on ideological level except "we're a great empire t
More ›