News for hackers. Stuff that matters.

genericstorage3

Can't read tutorial on mobile
You'll eventually need js. If server side renders html, now your client is coupled to server side both on api and on html. That's bad.

Now 1 component will be: server side html, client side html, css and js.

Re:Tools for Auditing CSS on Friday April 02, 2021 @04:14AM (#26669850)
That's why css in js is much better. Once your html is out, css is also out.
Re:React and D3.js on Monday March 29, 2021 @10:35PM (#26630756)
I'm the opposite, I despise anything angular, vue, knockout, that makes devs learn a new language.

React just uses js, almost plain.

Re:Syntax Highlighting in a Webpage Without JavaScript on Sunday March 28, 2021 @08:44PM (#26616477)
For example you can do a drop down menu in css. Then you have some new requirements that css alone can't do it.

Even a basic thing, could be impossible in css.

All your css logic goes to trash. Or you can keep css logic and make a mess of a software

If you have done it in js, you'd be able to reuse some code.

Re:Piano Practice Software Progress on Sunday March 28, 2021 @08:41PM (#26616463)
Looks good. Sometimes I play this with friends https://multiplayerpiano.com/

You can play online at the same time with multiple people

Re:Syntax Highlighting in a Webpage Without JavaScript on Thursday March 25, 2021 @02:04AM (#26577001)
I think it's wasted work/experience as css alone can't do everything.

Then you'll end up having a project with highlighting logic in css and js. That's less than optimal

Re:Syntax Highlighting in a Webpage Without JavaScript on Thursday March 25, 2021 @02:03AM (#26576997)
Css will work until a certain point. What do you do when css can't handle?

Give up, do some super hacky unmaintainable css mess, or suck it up and use js...

Re:I finally escaped Node on Wednesday March 24, 2021 @09:53AM (#26567189)
How do you share code between client and server? That's key
They also don't allow you to encrypt data on first setup. So you need to first upload a few files unencrypted before you can set your key. That's why I'm not using them. Basic encryption feature is not thought well...
What a terrible ux
I also prefer to go to the bank. I got my issue solved just by giving my id and wait 10m.

On the phone they couldn't even understand what I'm talking, ton of a security questions... I gave up.

I tried online and had some issues. Some code didn't work even if I had it saved.

Physical much more efficient. I can just relax 10m and get my things done just by saying 1 sentence

Design...
Re:How often should I rotate my SSH keys? on Friday February 26, 2021 @12:40AM (#26271687)
In addition, any node_modules can read your .ssh folder (on windows).
Re:How often should I rotate my SSH keys? on Friday February 26, 2021 @12:35AM (#26271676)
Brute force. Usually people put a simple one
Re:Lisbon’s startup scene rises as Portugal gears up on Thursday February 25, 2021 @11:46PM (#26271450)
if you save 3000gbp in London, you'll save 500eur in Lisbon.

Compare that, and living costs don't matter that much.

In 10 years the difference is huge

Re:Success on Tuesday November 13, 2012 @05:37AM (#4777324)
"Any process that doesn’t take use of our minds capabilities." I think machines will be smarter than us... so in the far (or not) future machines will do everything...
Re:Ask HN: Why don't you work less? on Monday November 12, 2012 @10:26AM (#4773153)
"If you actually find work satisfying and care about the results, then I think it often makes sense to devote as much time as possible without causing yourself to stop enjoying it or become unproductive." But would you still work (doing the same thing) if you had 100000000$?

"If I worked less, I'd want to spend the extra free time doing something important." Why do you focus on doing important things and not what-you-like-things?