Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
sbergot
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
18 ms
·
151.
▲
by
sbergot
6y ago
> If you have the ability to work with react components, you probably are knowledgeable enough to use CSS. If you are building a webapp, nobody is knowledgeable enough to use css because css is broken for this use case. Tailwindcss is ab
152.
▲
by
sbergot
6y ago
Have you profiled your page? I have used it on medium project and I haven't had any painting speed issue.
153.
▲
by
sbergot
6y ago
You are not helping your case by calling out people based on where they work instead of what they say. Refulgentis is raising factual points.
154.
▲
by
sbergot
6y ago
Ids are rarely used in webapp because most people are using a component based approach. By nature they can be instantiated multiple times so you can only use classes. The basic approach is to only use selectors with a single class name and
155.
▲
by
sbergot
6y ago
This post is a good description of why some people like functional css: https://adamwathan.me/css-utility-classes-and-separation-of-...
156.
▲
by
sbergot
6y ago
Not OP but here is my version: - css is not scoped by default. Predicting the effect of adding a new rule is very hard if you are not using scoping solutions or if you are not constently writing new class names with a strict convention - be
157.
▲
by
sbergot
6y ago
Your comment is completely valid. I am just reacting to the usual flow of hate toward any frontend library that do not follow the initial ways of the early days of html/js/css.
158.
▲
by
sbergot
6y ago
Please have a look at https://adamwathan.me/css-utility-classes-and-separation-of-... With tailwind you can create a very small configuration files where you pick a small set of available options for spacing and colors. Thi
159.
▲
by
sbergot
6y ago
So you are just learning JS but felt legitimate enough to post an unfair rant?
160.
▲
by
sbergot
6y ago
Sorry to burst your bubble but Tailwind is anything but "yet-to-be-proven-framework". It is a very solid and powerful abstraction that has existed for 3 years. Speaking of piles of abstractions, please enlighten me. What is not a
161.
▲
by
sbergot
6y ago
I am saddened by all the negativity around those new css approach. I like most HN threads but anything frontend is laughed at by people with little frontend experience. They repeat some truth they learned 20 years ago. Honestly HN is not a
162.
▲
by
sbergot
6y ago
Functional libraries such as tailwindcss are popular because they are a good way to achieve this goal.
163.
▲
by
sbergot
6y ago
If you need a responsive layout then PDF isn't really an option.
164.
▲
by
sbergot
6y ago
For css this is the best explanation that I can find: https://adamwathan.me/css-utility-classes-and-separation-of-... For react maybe this one: https://medium.com/madhash/rethinking-separation-of-concer
165.
▲
by
sbergot
6y ago
It might be the same, but it is way more subtle: "What's Work Insights? Work Insights is a reporting tool for G Suite that gives you insights into the impact of your G Suite deployment. Using easy-to-read charts, you can see metri
166.
▲
by
sbergot
6y ago
Microsoft tries to soften the pill with positive vibes, but they literally named their product "productivity score". As a manager, I would expect a "productivity score" to reflect the productivity of my employees. If som
167.
▲
by
sbergot
6y ago
I cannot tell if this comment is sarcasm or not.
168.
▲
by
sbergot
6y ago
It is not whether you need a database or not. It is "how configurable/dynamic things should be". More configurability usually means more power to your users and more pain to maintain the software. So I usually go to the least
169.
▲
by
sbergot
6y ago
I'd say that tailwinds only works if the designer is on board or if you are not working on pixel perfect specs.
170.
▲
by
sbergot
6y ago
I don't understand why it doesn't apply to knowledge workers. Negotiating power is a variable quantity, not a binary property ("you have it or not"). The writers guild is a good example. Whether they use this better posi
171.
▲
by
sbergot
6y ago
Good programmers know how to "grow" software. Starting with the right level of simplicity, and adding complexity when needed.
172.
▲
by
sbergot
6y ago
This was indeed the promise of spacemacs. I tried it a few times and roughly 30% of the advertised features were broken out of the box.
173.
▲
by
sbergot
6y ago
because Lisp allows you to define language-level abstractions that affects the control flow. Those "abstractions" are always leaky and everyone has to understand their implementation to be able to work with them or read code that
174.
▲
by
sbergot
6y ago
You comment is interesting. In the first sentence Lisp is a good solution against complexity. In the second one it is not. A good litmus test for complexity is the following: as a developer analysing software in order to understand & mo
175.
▲
by
sbergot
6y ago
What electronjs brings is cross platform deployment. This is not a small feature.
176.
▲
by
sbergot
6y ago
And you are just acting as a gatekeeper. This app is accessible for anyone who is not able/willing to install something locally like a kid using a computer at school. This is what sandboxing gives you. Blender and Maya are useful for e
177.
▲
by
sbergot
6y ago
I have come mostly to the same conclusion. UI specific state (eg a flag to store whether the left panel is folded) should be as local as possible. When you have some functional data (the lisk of tasks in a todo app) then putting that in the
178.
▲
by
sbergot
6y ago
The part about static types is weird. "Tests are not always perfect but can be useful. However static types are not perfect and so they are useless."
179.
▲
by
sbergot
6y ago
what you are describing is testing invariant properties. It is telling that your two examples are math functions because those often have lots of useful invariants. A lot of time you only have weaker properties to test so you have to look f
180.
▲
by
sbergot
6y ago
Maybe it is not the type of growth that the author is interested in? Climbing one step does not magically enables you to fix everything wrong about an organization.
More ›