Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
8lall0
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
31.
▲
by
8lall0
6y ago
I care because it's cognitive overhead, i MUST know what the "spacer" does and how it does, instead of having a simple margin or padding which works so well when you set box-sizing: border-box.
32.
▲
by
8lall0
6y ago
Let's not. Please. We have margin, we even have flex and grid gap (which is my personal favorite new addition to CSS). Please don't.
33.
▲
by
8lall0
6y ago
I always follow this personal rule for centering: - Buttons and stuff that should stay the same with font increase: padding with ems - Everything else: flexbox Flexbox has made everything so easy.
34.
▲
by
8lall0
6y ago
I still think that this kind of approach it's only a "problem moved" from CSS to inline HTML, which makes me mad because i still need to jump from HTML to CSS all the time, plus custom modifications can be painful with tons o
35.
▲
by
8lall0
6y ago
My experience teaches me that everything born for "fast prototyping" is going to temporary stay for years to come. So tailwind, like bootstrap, just moves the problem from css to html class attribute.
36.
▲
by
8lall0
6y ago
What do you love about Angular? I'm using it and i find it so overcomplicated, so convoluted, not obvious in any way and with a really bad dev experience.
37.
▲
by
8lall0
6y ago
I use that too. It's simply unbeatable. It makes me a better typewriter and a better coder.
38.
▲
by
8lall0
6y ago
We need young and experienced programmers, not the old ones. Old programmers tend to say "That's how we do things here.", experienced and mind-opened ones can lead you to finally replace the classic old php 5.4 require mess t
39.
▲
by
8lall0
6y ago
Totally agree. I pulled off all my setup with Technics stuff (turn, amp, speakers) for ~300€ and, for a first time user, it's absolutely FANTASTIC. I saw people with 2000€ setups not pulling off a better sound than mine.
40.
▲
by
8lall0
6y ago
This is genuinely stupid code from a first-week-junior dev who is still learning a lot. The worst code i've ever seen was a PHP function that printed a menu (with relative permissions) from a database. Problem: it was O(n^3), 200 lines
41.
▲
by
8lall0
6y ago
Thumbs up for esbuild, it's awesome.
42.
▲
by
8lall0
6y ago
Btw it's possible to get this font? I would love to use that on my personal blog :)
43.
▲
by
8lall0
6y ago
And the Netscape download link still works :D
44.
▲
by
8lall0
7y ago
I think that the right way to rephrase that is "use the right tool for the right job". How many blogs are powered by wordpress? How many of them can be replaced with a static gen? HTML has a lot of garbage, but at least it's
45.
▲
by
8lall0
7y ago
That's non-optimal UX imho. I can't understand why it's so hard to get a decent datepicker in general. You should only: * Tap on years and months to select one * Tap on your preferred day * Being able (programming side) to se
46.
▲
by
8lall0
7y ago
That's so sad that we need posts like this to get this information. Thank you btw.
47.
▲
by
8lall0
7y ago
Nothing new here :) C64 is 1 year older, discontinued in '95 too and still devs are releasing games and stuff.
48.
▲
by
8lall0
7y ago
The simple regexp matcher by Rob Pike: https://www.cs.princeton.edu/courses/archive/spr09/cos333/be...
49.
▲
by
8lall0
7y ago
https://godoc.org/modernc.org/ql
50.
▲
by
8lall0
7y ago
I agree on the "inelegant" and "verbose", but the tradeoff is that every block became "obvious", so manteinance is much much easier than ever before.
51.
▲
by
8lall0
7y ago
You can use wasm as a lingua franca between languages if you have some good libraries or programs that you want to share.
52.
▲
by
8lall0
7y ago
Well, it proves that not everything should be able to do tons of stuff.
53.
▲
by
8lall0
7y ago
Joining the best of both worlds, i love it. Kudos :)
54.
▲
by
8lall0
7y ago
I don't think that everyone should be able to edit the style of native elements. I prefer a consistent behavior, and the select itself works fine everywhere for example. But i sadly agree, JS stuff is going to be needed for a long time
55.
▲
by
8lall0
7y ago
Nice job! The spritesheet is the best!
56.
▲
Ask HN: Why am I feeling dumb with PHP?
2 points
by
8lall0
8y ago
|
1 comments
57.
▲
by
8lall0
8y ago
You type far more code (which in JS matters A LOT) for a less flexible solution and for such a simple task. I completely disagree.
58.
▲
by
8lall0
8y ago
Nothing in Javascript makes me not afraid, the less i have to touch it, the better i feel. SASS + BEM accomplish the result in a more manageable way.
59.
▲
by
8lall0
8y ago
+1 for pouet.
60.
▲
by
8lall0
8y ago
tl;dr avoid too much nesting, prevent DRY and make small but useful functions. An advice that is valid since forever.
More ›