Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
LorenzA
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
1.
▲
by
LorenzA
9mo ago
>Why? Because the second open p-tag closes the first p-tag and then the last closing p has no matching starting p-tag and creates one thus resulting in 3 p-elements. > It isn’t an opinion, it literally is invalid HTML. the only "
2.
▲
by
LorenzA
1y ago
there is a good article from lea verou https://lea.verou.me/blog/2024/contrast-color/ on a workaround like this
3.
▲
by
LorenzA
2y ago
director of photography
4.
▲
by
LorenzA
2y ago
attr() can also be used to some degree https://developer.mozilla.org/en-US/docs/Web/CSS/attr
5.
▲
by
LorenzA
2y ago
the spotify app has a mini player that seems to do a similar thing https://community.spotify.com/t5/Community-Blog/Introducing-...
6.
▲
by
LorenzA
3y ago
you are welcome happy to help.
7.
▲
by
LorenzA
3y ago
no things inside slots keep the styling from the outside
8.
▲
by
LorenzA
3y ago
you can just have an unnamed slot. I'm probably missing something here haven't build a tabs thing in a long time. But just trying this out for a couple of minutes the thing you want seems to be possible. I didn't do any styli
9.
▲
by
LorenzA
3y ago
Most of the time you have the tab and the panel to display the content of the tab a super simple demo implementation of something like this https://web.dev/components-howto-tabs/ In regards of slots, they are a nice wa
10.
▲
by
LorenzA
3y ago
it sounds like the thing you are looking for are slots and they are supported in shadow DOM with the HTMLSlotElement
11.
▲
by
LorenzA
4y ago
looks like a dead project last content change seems from 2016 https://github.com/rowanmanning/joblint/commits/master
12.
▲
by
LorenzA
4y ago
looks like a "fun" thing there are a couple other states that change the image that gets displayed. Clicking up top on the dark mode to get "night own" or type the Konami Code to get Konami the other 2 cases seem to be d
13.
▲
by
LorenzA
4y ago
I find this an interesting concept. How do you do this in practice add a number to every comment and explain your system somewhere?
14.
▲
by
LorenzA
5y ago
in general a lot of dom-nodes can reduce performance and with canvas you have much more control over what and how things get rendered. I would assume this is also nothing new or "special" afaik google spreadsheets is using canvas
15.
▲
by
LorenzA
6y ago
feels nice to play around with it. you can create really fast some mock up ideas. found some bugs or maybe just something i found strange take it if you want it:>, (was just testing the demo) * adding some components and clicking shuffle
16.
▲
Container Queries are coming to Chromium
(bram.us)
3 points
by
LorenzA
6y ago
|
0 comments
17.
▲
by
LorenzA
6y ago
this is a very nice idea and i like that i can read a book and improve my typing and my spelling at the same time :> not sure if thats a good way to report a bug but: one problem/bug i have. as a non native speaker i have my keyboar
18.
▲
by
LorenzA
6y ago
the template syntax reminds me of an other postgres libary https://github.com/porsager/postgres
19.
▲
by
LorenzA
6y ago
ubi doesn't automatically mean that you get a flat increase. there are models where it is modelled with taxes in mind. so simplified. if you had nothing before you know have $1000. if you had $2000 before it stays. if you had $3000 bef
20.
▲
by
LorenzA
6y ago
a date picker would be super annoying to use if you would have all the state in the store. that are probably 40 variables. assume you open the date picker can can move threw the tabs of the month and you are not interested in changing this
21.
▲
by
LorenzA
6y ago
not sure i understand you correctly, but keeping all state external just clutters up the store i feel. if the state is not used anywhere else and you also don't need to change it externally i would not move state out of the component.
22.
▲
by
LorenzA
6y ago
yes seems also wrong to me. not sure what linter would complain here, that would depend a little bit what fetchData & updateBreadcrumbs really use and do. a much bigger problem with code like this is the fetching of data gets much more
23.
▲
by
LorenzA
6y ago
you can do this also yourself @ https://developers.google.com/speed/public-dns/cache
24.
▲
by
LorenzA
8y ago
document.querySelectorAll('.tpm_sensors').forEach((sensor) => {if (sensor.pressure < threshold) { fixBeforeIDie(); }});