Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
pault
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
85 ms
·
691.
▲
by
pault
8y ago
> have a compiler enforced link between variables, selectors, and their usages. That sounds interesting. Can you describe that in more detail?
692.
▲
by
pault
8y ago
I will swear on my life that I haven't used a style attribute in the last five years. Since I started using BEM for namespacing I have had a very easy time keeping my CSS clean and maintainable. I won't deny others their opinions,
693.
▲
by
pault
8y ago
It's okay, they didn't get fired; they're just being scaled down!
694.
▲
by
pault
8y ago
Freakonomics has a chapter about the Romanian government being overthrown approximately 20 years after abortion was outlawed.
695.
▲
by
pault
8y ago
I worked for a small design agency that got stiffed on a six figure invoice this way. There was absolutely nothing they could do about it and the bankrupt founder didn't even bother apologizing. It almost killed a 10 person company tha
696.
▲
by
pault
8y ago
Ah, should have RTFA
697.
▲
by
pault
8y ago
Exactly. Common methods of execution are putting a tire around your arms and chest and setting you on fire, and cooking you alive in a giant microwave. Just hearing about this stuff is enough to give you nightmares, and that's the whol
698.
▲
by
pault
8y ago
Really? I mean, how would you do something about it if it meant your whole family would be tortured to death? Set on fire? These guys have horrifically cruel methods of execution. And despite all that he did go undercover. Balls of steel if
699.
▲
by
pault
8y ago
I don't know, I've heard stories about Russian hackers being tortured to coerce them into working for organized crime. They may have made him an offer he couldn't refuse.
700.
▲
by
pault
8y ago
CSS in JS isn't CSS. It's just SS. It ignores the best part of the language; the cascade.
701.
▲
by
pault
8y ago
Just out of curiosity, do you have multiple independent teams working on your app? Do you use a monorepo, and if so, do you feel like it makes refactoring and bug fixes more difficult?
702.
▲
by
pault
8y ago
This is called hyperfocusing (AKA the zone) and it's a typical characteristic of people with ADD. I have it pretty bad and I almost flunked out of school because I would spend all day reading enormous serial fantasy novels (wheel of ti
703.
▲
by
pault
8y ago
> persisted to a back-end and re-fetched on route This is a huge pain in the ass and requires a ton of really tricky UX design. What happens when the data is cached and you fetch it again? Do you disable the UI and show a spinner until
704.
▲
by
pault
8y ago
Large, devastating fires can be prevented by clearing out fuel and doing smaller controlled burns.
705.
▲
by
pault
8y ago
Clone is from the Greek klōn, for "twig".
706.
▲
by
pault
8y ago
If you don't have any routing to deal with, component state is all you need. You can still move your business logic out of the view components and use lifecycle methods and event handlers to coordinate it, but the use case you are desc
707.
▲
by
pault
8y ago
> We would have to introduce totalitarism lead by Gandalfs Thanks, I'm stealing that line. :)
708.
▲
by
pault
8y ago
I'll assume you're referring to your comment that was flagged to death and accept your apology.
709.
▲
by
pault
8y ago
I'm a US citizen. Where do I find the form for imposing trade sanctions? Can I file it electronically?
710.
▲
by
pault
8y ago
I am aware of the repression of women in SA but I didn't realize they weren't even allowed to leave the country. The addition of real time tracking technology just makes it that much more horrifying. Imagine being a woman trying t
711.
▲
by
pault
8y ago
Holy shit, I can't believe this is happening in the 21st century.
712.
▲
by
pault
8y ago
> Futher, Redux doesn't solve synchronization issues in situations where you can't represent the data the same way. I would argue that synchronizing data between multiple representations is an anti-pattern, and the exact anti-p
713.
▲
by
pault
8y ago
> I consider it the single biggest mistake in my career I have to ask... what went so wrong? If you had a time machine, what would you tell your younger self?
714.
▲
by
pault
8y ago
Sorry to reply twice to the same comment, but if you have an instance of a user model, and you need to display the model data in the navigation bar, on the user profile page, and in a comment thread, how would you manage that data? And do y
715.
▲
by
pault
8y ago
> I'm not sure why you think the data is irrelevant I believe the GP meant "unrelated". Can you drop your top level component into another application with different children and still have it work? Can you move the child
716.
▲
by
pault
8y ago
I haven't worked at home since I started contracting (after a 10 year stretch of all remote work). In my experience most jobs that you get through a staffing agency are for big lumbering corporations that are completely out of touch wi
717.
▲
by
pault
8y ago
> Very few components in a React application require state management. I agree. My apps usually consist of a few stateful components for dropdowns and modals and such with the remaining being functional components. The problem is the maj
718.
▲
by
pault
8y ago
Not at all; you can write selectors that return a branch of your state tree, and you can generally tell where the line should be (user makes more sense than userName and userEmail). You keep saying that you won't have these problems if
719.
▲
by
pault
8y ago
In my experience this is the use case where vue shines. It's far easier to drop it into an existing html template than to create a react application for a single component.
720.
▲
by
pault
8y ago
Redux state isn't mutable. Mutating the state tree in a redux reducer is a bug.
More ›