Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
petilon
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
50 ms
·
691.
▲
by
petilon
6y ago
> how silly it is that components cannot reuse logic It may be that your component is too complicated. Components should only have UI code. First move business logic out of the component, into your model layer, and make it reusable the
692.
▲
by
petilon
6y ago
Many meatpacking plants are installing plexiglass dividers between workers. I wonder if this is where tech workers are headed too. It would be interesting to see Google and Facebook offices with plexiglass dividers separating employees. It
693.
▲
by
petilon
6y ago
It is weird how racial diversity is given so much higher weight than other forms of diversity. We are different in economic and social class, religion, politics, urban/rural, interest in sports, interest in music, gender, sexual orient
694.
▲
Open Floor Plan Could Help Spread Coronavirus
(wsj.com)
20 points
by
petilon
6y ago
|
9 comments
695.
▲
by
petilon
6y ago
> But they feel way better. Electron apps have insane resource overhead and many minor imperfection in behavior. But apps written using Electron don't seem to be suffering for it. Examples: VS Code, Teams (both from Microsoft). Wh
696.
▲
by
petilon
6y ago
I used to have a Sun workstation back in the 90's. They were awesome. My workstation had 16MB of memory and ran SunOS, Sun's version of Unix based on BSD. With 16MB of memory the system was a pleasure to use, and had an excellent
697.
▲
by
petilon
6y ago
Blame Flat UI. Thanks to Flat UI, native apps don't have a special look & feel. To the user this means native apps don't look any different from Web/Electron apps. So users don't know to demand native apps. If users
698.
▲
by
petilon
7y ago
This book has a section on "Why Scala" but not on "Why Functional Programming". What is interesting about Scala, if you already know Java (and most CS grads already do), is that Scala is a functional language. Anyone kno
699.
▲
by
petilon
7y ago
Looks like almost the same feature set as SQLPal: http://www.pebblereports.com/sqlpal/ However, SQLPal only supports Oracle.
700.
▲
by
petilon
7y ago
Agree. React started out simple, but now is over-complicated. Here's another tiny lib to use JSX in a native JavaScript application. https://github.com/wisercoder/uibuilder Uibuilder is "close to the metal&qu
701.
▲
by
petilon
7y ago
I am currently using the original iPhone SE and for my purposes it works just fine. I use it for texting, Google Maps, checking stock prices, occasional photo/movie, email, WhatsApp, bank apps, NYTimes app, Apple Pay. I had the battery
702.
▲
by
petilon
7y ago
You can get iPhone 6s for $100 from cellular carriers such as AT&T: https://www.att.com/buy/prepaid-phones/browse/apple/ I am sure the new iPhone SE has more advanced everything but if you're ju
703.
▲
by
petilon
7y ago
Hmm... you may be right. Here's the Smalltalk environment from 1980, it is pretty impressive: https://www.youtube.com/watch?v=JLPiMl8XUKU
704.
▲
by
petilon
7y ago
> Turbo Pascal was an IDE Pretty sure it was the world's first IDE, not just an IDE. In a single .exe file it had a WordStar compatible text editor, compiler, linker and libraries.
705.
▲
by
petilon
7y ago
> You're right that the majority of React apps don't need to trace actions, but when you do you definitely won't think it's overrated. I think Redux is overrated because it is used by a lot of applications that don&
706.
▲
by
petilon
7y ago
Overrated. In what kind of application do you need this? In the vast majority of React apps you do not need this.
707.
▲
by
petilon
7y ago
This is excellent. Forced arbitration clauses are fundamentally unfair to consumers. See this older article to understand why: https://www.nytimes.com/2015/11/02/business/dealbook/in-arbi...
708.
▲
by
petilon
7y ago
How do you access your Work notes from home, or Home notes from work?
709.
▲
by
petilon
7y ago
Consider adding something like this for jsx (200 lines): https://github.com/wisercoder/uibuilder Router (500 lines): https://github.com/Rajeev-K/mvc-router
710.
▲
by
petilon
7y ago
The notion that removing all shades and shadows is "cleaner" is a fad. This fad will end, and the sooner it ends the better it is for all of us. Windows 1.0 doesn't have shades and shadows. It is "cleaner" in that s
711.
▲
by
petilon
7y ago
We are thinking about masks wrong. You want every one else to wear a mask because they might have the virus, and if they do, the mask will stop droplets and aerosols from entering the air you breath and landing on surfaces that you may
712.
▲
by
petilon
7y ago
It is unfortunate that the design of these controls give you no clues whatsoever as to how to interact with them -- or whether you can interact with them at all. Compare this to NeXTSTEP from the late 1980s: https://en.wikipedia.
713.
▲
Coronavirus vaccine unlikely to be ready before 18 months
(theguardian.com)
11 points
by
petilon
7y ago
|
0 comments
714.
▲
by
petilon
7y ago
Sun Microsystems had much more elaborate jokes on April 1: https://www.nytimes.com/2008/04/01/business/worldbusiness/01...
715.
▲
by
petilon
7y ago
Wouldn't just leaving the mask alone for say 72 hours decontaminate it? Viruses can't survive for that long, so should be safe to reuse the mask after 72 hours?
716.
▲
by
petilon
7y ago
> Do they have any reason to believe that there's something special about the borders of India that cause the virus not to spread inside it? Are you assuming there isn't? High temperatures and muggy weather might make the new
717.
▲
by
petilon
7y ago
Here's an example of single-file Web Component. Markup (JSX syntax with embedded JS expressions), CSS and JS are in one file: https://github.com/wisercoder/uibuilder/blob/master/WebCompo... All you
718.
▲
by
petilon
7y ago
India is handling this better than the US. https://www.nytimes.com/2020/03/17/world/asia/india-coronavi... Excerpts: The authorities used GPS technology, CCTV footage and mobile phone records to t
719.
▲
by
petilon
7y ago
Interesting. I never across Vitamin D during my research on insomnia. What is the theory behind this? I'd like to try this--what brand of Vitamin D lamp worked for you?
720.
▲
by
petilon
7y ago
I have seen many doctors, including sleep specialists, regarding insomnia. They all pointed to one source as the reason for the sleep issues: stress. And they all wanted to put me on prescription sleeping pills. I said no to that. Sleeping
More ›