Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
err4nt
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
28 ms
·
271.
▲
by
err4nt
8y ago
First, you CAN do a lot of things and you ARE intelligent. You're also brave for asking here and I hope you're getting some helpful answers! I think one thing you'll have to come to terms with is your lies about the past. It
272.
▲
by
err4nt
8y ago
Education. Make a thing that's simple, make it bug-free, make it customizeable, then _teach_ people how to do great stuff using it.
273.
▲
by
err4nt
8y ago
HTML syntax is a lot more flexible than a lot of people choose to write it. The following is a valid table in HTML: <table> <caption>Example Table <thead> <tr> <th>Col 1
274.
▲
by
err4nt
8y ago
This is something that's very easy to check in a web browser with DOM - Suppose you have this HTML: <p>hello</p><img src=#> If you try to access the `.alt` property of the <p> tag you get `undefine
275.
▲
by
err4nt
8y ago
Beautiful, I made something similar any time you're in a conversation where people are using big tech words so you can come up with something good: https://codepen.io/tomhodgins/pen/eZoJYQ The secret to any g
276.
▲
by
err4nt
8y ago
I've not finished the book yet, but I'm partway through it. I can share an anecdote from my own adult experience. I have played around with coding (HTML/CSS/game modding/etc) a little bit for many years, but I will
277.
▲
by
err4nt
8y ago
What's wrong with class="centered wide-margins light-bg"? It would do the same as what your .resources class looks like it might do, and it's supported everywhere already.
278.
▲
by
err4nt
8y ago
A very tall order, but if you could meet all of those rules you would certainly be the exact kind of person I would hope to run into when contributing to an open-source community <3
279.
▲
by
err4nt
8y ago
It's been a big help to me in both understanding what freedoms I have as a consumer of software, as well as providing me with thoroughly vetted, top-quality licenses to work with when I'm trying to give freedoms to the people who
280.
▲
by
err4nt
8y ago
Sorry to hear about your loss, I am hoping peace accompanies you as you go through the next hours and days ahead.
281.
▲
by
err4nt
8y ago
Do you speak more than one natural language? I am an anglophone but took most of my schooling in french. Though I work in english now, I can remember distinctly 'thinking in English' and 'thinking in French' and dependin
282.
▲
by
err4nt
8y ago
Yet we have a wide variety of programming languages, and switch between them as the need arises for a better fit to the problem domain we're working in. With the wide variety of things like number systems in different languages, wouldn
283.
▲
by
err4nt
8y ago
I feel like you're still thinking small in terms of attributes, and big in terms of values. Many many values all crammed into one attribute (class), but the reality is you can invent infinite (∞) data attributes. There's literally
284.
▲
by
err4nt
8y ago
> None of the modifications done through the dataset api would reflect in the DOM and be readable by CSS unless you were to convert the list to a space separated string and explicitly set the attribute. I'm really not sure what you
285.
▲
by
err4nt
8y ago
> The classList API makes modifications to the class property very easily. So does the dataset interface for custom data attributes: https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement... >
286.
▲
by
err4nt
8y ago
How come people who do this only ever use class names? Why not invent your own data attribute like data-hover="red" where you create new namespaces for things like hover, or pseudo classes, why it it always only ever class names?
287.
▲
by
err4nt
8y ago
Applying CSS using utility classes it just a different way to abuse HTML for the purpose of inline styling. - How do you set a class for states like hover, focus, active, hidden, checked, etc - How to you use/create/style pseudo-e
288.
▲
by
err4nt
8y ago
I think a lot of people who suggest things like this use the image of a computer writing code, or generating code in a programming language that didn't exist, when I think in reality what's more likely to be implemented is somethi
289.
▲
by
err4nt
8y ago
These jacks come from, not the 20th century, but the 19th century! It boggles my mind how something we've have had since the 1880s is suddenly obsolete. There's a plethora of devices in existence manufactured over a span of decade
290.
▲
by
err4nt
8y ago
My theory -> they're too smart! Maybe they realize that if they ever started talking back to us humans, we'd put them to work (more than we already do)
291.
▲
by
err4nt
8y ago
Why/where would modules be necessary here? Just because there's a feature now that didn't exist years ago doesn't mean it's the right time & place to use it. The code works as-is, a small refactor to leverage bu
292.
▲
by
err4nt
8y ago
Hey Jesse, I can sympathize with your situation, and I've seen you get some really solid advice in other comments here so I'll just add my 2¢ about presenting yourself. I have a couple of probing questions, and I mean no offense,
293.
▲
by
err4nt
8y ago
I'm aware, but I'm responding to the myth of: > Any effort in trying to bring it up to modern webdev standards would likely make the code expand significantly That's just not true, and nowhere did that person say: "Be
294.
▲
by
err4nt
8y ago
And is it accurate to describe IE < 10 as "more modern"?
295.
▲
by
err4nt
8y ago
I'm not saying a rewrite is necessary at all, but refactoring this code to use more modern standards would NOT increase the line count at all, my guess it it might cut it by 15%+ in total size if you leveraged the beautiful builtin fun
296.
▲
by
err4nt
8y ago
Where did they have to repair it when the plug came loose and began leaking again?
297.
▲
by
err4nt
8y ago
Refactored to be shorter and more modern: javascript:Array.from(document.querySelectorAll('body *')).filter(tag => ['fixed', 'sticky', '-webkit-sticky'].some(prop => window.getComputedStyl
298.
▲
by
err4nt
8y ago
I use Pandoc to convert directories of Markdown files into static HTML websites. Here's the build command for responsive.style[1]: pandoc $file -f markdown -t html5 -H templates/header-prod.html -B templates/nav.html -A
299.
▲
by
err4nt
8y ago
A failed experiment to me would be one that wasn't able to run its full course, or from which no information can be gleaned. Bitcoin has run for a long time, we have gleaned a ton of useful information - as far as experiments are conce
300.
▲
by
err4nt
8y ago
What about "the mesh". Can be used interchangeably with "the cloud".
More ›