Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
sir_pepe
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
1.
▲
Migrating from Parcel to Vite
(code.movie)
1 points
by
sir_pepe
9mo ago
|
0 comments
2.
▲
by
sir_pepe
10mo ago
It does not count as "easy" if the features don't stay disabled.
3.
▲
by
sir_pepe
1y ago
Why not learn from past failures? Then everybody gets a great user experience, not only those of us who know how to set up a pi-hole. Everybody wins! Apart from the framework-industrial complex, that is.
4.
▲
Thing cannot write computer programs
(mastodon.social)
6 points
by
sir_pepe
1y ago
|
1 comments
5.
▲
by
sir_pepe
2y ago
I actually tried to shoehorn AI into https://code.movie/ as an experiment once, but it only got unpredictable and of course extremely slow. Hand-tweaked magic numbers plus escape hatches for manual intervention feel much mo
6.
▲
by
sir_pepe
2y ago
The bigger ones do more out of the box! Most obviously, they include render functionality, which Ornament does not — you get to pick and choose your building blocks yourself.
7.
▲
Show HN: A framework for web component frameworks
(sirpepe.github.io)
8 points
by
sir_pepe
2y ago
|
2 comments
8.
▲
by
sir_pepe
2y ago
My day job is all about doing presentations, so I obviously wrote my own slide software. It is a pure expression of my workflow, my requirements, and my idiosyncrasies and the way all of the above changed over ~10 years. It is a great perfo
9.
▲
by
sir_pepe
2y ago
Fortunately it is very easy to opt out of all of this. Nothing stops you from having a backed deliver HTML and then sprinkle some basic JS and CSS on top. In theory at least, in practice everybody's brain has been smashed to bits by re
10.
▲
by
sir_pepe
2y ago
The real problem in my experience is that people who consider themselves to be "real" developers don't care about CSS. I do a ton of code reviews and consulting for companies of all sizes and their JavaScript and TypeScript i
11.
▲
by
sir_pepe
2y ago
Not true, member state's contributions are the largest "money maker": https://www.consilium.europa.eu/en/policies/financing-the-eu...
12.
▲
by
sir_pepe
2y ago
When you want to pass an object to a web component without going through JSON or some other stringification procedure.
13.
▲
by
sir_pepe
3y ago
Building your own proprietary frontend framework still counts as a framework in my mind. Like how a custom tailored suit is still a suit, just one that is, well, tailored to spec. The whole "no framework" narrative is silly.
14.
▲
by
sir_pepe
3y ago
RE decorators in TypeScript: it is true that TS code does not have to live in classes... in general. But some APIs (eg those for custom elements) _do_ require classes, so one may end up writing a whole bunch of classes anyway. And in this c
15.
▲
by
sir_pepe
4y ago
Not really a "project", but TypeScript's own type definitions for the DOM are a great example. Eg. document.createElement returns different subtypes of HTMLElement depending on the string argument (HTML tag name) it gets call
16.
▲
by
sir_pepe
4y ago
To try and limit one's use of operations on types, as suggested in the article, is not really great advice in my opinion. Sure, you would not want to actually implement and use a VM in types, but distilling rules about a program into t
17.
▲
by
sir_pepe
4y ago
Not quite! If you have an attribute "onclick" and set the DOM property "onclick", the attribute value stays unchanged, but if you click, the function set by the property gets called. Set the attribute an both the attribu
18.
▲
by
sir_pepe
4y ago
The real fun comes when you consider the interactions between setting an event HTML attribute and the DOM property. If memory serves, setting the DOM property for eg. "onclick" to some JS function overrides (but does not change) t
19.
▲
by
sir_pepe
5y ago
If just being self-employed counts and raising the bottom line counts as "take off": I should have made my services much more expensive much sooner. I less than 40% percent of potential customers balk at your rate, it's time
20.
▲
by
sir_pepe
5y ago
After many years of following the JavaScript ecosystem, there's one thing I learned: most of the "many things" out there don't stay relevant for long. I personally make a conscious point of not diving into the hot new th
21.
▲
by
sir_pepe
5y ago
getElementsByClassName and getElementsByTagName return live HTMLCollection objects that update when the DOM changes (or rather get re-computed when you access their contents following a DOM change). Depending on what you do with them, you
22.
▲
Show HN: Warhol – Turn pattern libraries into fast CSS tests
(warhol.io)
3 points
by
sir_pepe
6y ago
|
0 comments
23.
▲
by
sir_pepe
6y ago
As someone who wrote their last lines oh PHP in something like PHP 5, this list tickles my desire to take PHP for a spin again. Not only does the language appear to be much improved, but also the frameworks look so appealing! I'm serio
24.
▲
Why (and how) to lie with progress bars
(warhol.io)
4 points
by
sir_pepe
6y ago
|
0 comments
25.
▲
Principles of Authoring a Pattern Library
(warhol.io)
27 points
by
sir_pepe
6y ago
|
1 comments
26.
▲
This Is Why You Hate CSS
(warhol.io)
1 points
by
sir_pepe
6y ago
|
0 comments
27.
▲
by
sir_pepe
7y ago
I'm working on Warhol [1], which performe tests on web design based on pattern libraries right inside your dev tools. Think reverse DOM diffing on the CSSOM. Sounds way WAY easier than it is, but that's sort of true for web develo
28.
▲
Reducing Redux Boilerplate in TypeScript
(warhol.io)
2 points
by
sir_pepe
7y ago
|
2 comments