3,581 karma · joined Oct 4, 2011 (15y ago) · 1,011 submissions
http://www.drinchev.com
[ my public key: https://keybase.io/drinchev; my proof: https://keybase.io/drinchev/sigs/DoNkf0DJhCHcuXXwrX-M5M-qqQV3NqJQJO518YFb8zY ]
comment 3y ago · link · parent
It's also one of the best shareware models ( Is this even a word these days? ), that I've ever stumbled upon.
Keep up the good work, folks!
comment 3y ago · link · parent
> which day to day tech workers working on internal B2B do not face
That's so true. Good luck explaining to management that the front-end app needs additional cloud resources, such as a server, so we are on the edge of the trend with SSR.
Most apps behind a login face tough architectural / security meetings, defending SSR for their use-case.
comment 3y ago · link · parent
When I first read the news, I thought about another hit for the crypto, however looking at what happens I’m a bit worried where will the avalanche reach next Monday.
Stay safe folks!
comment 3y ago · link · parent
Seems like it’s not an electron app, but also works with JS and even React.
In case someone is using both. What are the Pro/Cons against Raycast for ScriptKit?
comment 4y ago · link · parent
This makes no benefits as to bearer token or any random string that the server "knows" is a valid authenticated request via internal store, like a DB.
comment 4y ago · link · parent
Eating sugar for example in excessive amounts leads to way worse diseases - https://www.webmd.com/diabetes/features/how-sugar-affects-yo....
comment 5y ago · link · parent
I think they do that mostly because for the users who’ll have to download the header 100 times for each action they’ll do. Not really sure that all benefits from SPA are hidden in company costs. Mostly they are in modern tech approach.
Writing this I still agree with the article. SPA is needed when you are under authentication but publicly you can live with progressive web.
comment 5y ago · link · parent
https://github.com/h5bp/html5-boilerplate/blob/master/src/in...
comment 5y ago · link · parent
Mentioning corona here, I think the society is desperate to find more IT folks around and loosing someone because of shitty interview process ( which I mostly skip because I’m a freelancer ) is quite sad.
comment 6y ago · link · parent
22.
Ask HN: Good and logical resources on growing kids
9 points · by drinchev · 6y ago · 6 comments
comment 6y ago · link · parent
I remember having similar struggles with infinite-scroll product page a while back ( ~5 years ago ), with variable card height. I thought this could be done with CSS nowadays, but I guess css grid & flex-box specs don't go that far.
Awesome work!
comment 6y ago · link · parent
Isn't this possible with only CSS?
I see each article ( section ) with position absolute and heavy JS calculations. My browser brain thinks that with some combo of flex-box / flex-wrap and breakpoints you could achieve this without the need for resize handler. I guess that's not the truth
So can you point the struggles not doing this with CSS?
comment 6y ago · link · parent
> Here, we change the engine type from turbofan to propfan. Just to test how it works. Since the new engine no longer matches our snapshot, the test fails. We’ve got a report, and our engineers are on their way to investigate the problem.
I would be really happy if I know that the onboard computer has tests that checks if the engine being used is compatible before it takes off.
IMO, tests in general should be as close as possible to the real use-case ( kudos for the screenshot testing ) and as far as possible from the implementation. What happens with snapshots is that you are bound to the implementation. Maybe I have a logic somewhere in my code that does s/propfan/turbofan/. Would a user be interested in that or the functionality itself?
We ditched all JEST's snapshots statements in our code-base, because of code-coverage abuse and false sense of "being safe" just a couple of months ago. It was a good decision that helped us be closer to "what the user sees" rather than "what the markup should be"
comment 6y ago · link · parent
> curl https://aviary.sh/install | sudo bash
I would really try to avoid this, especially when it's targeted for sysadmins ( I guess DevOps nowadays ).
What's the big deal of having this instead :
> $ wget https://gitlab.com/dchester/aviary.sh/-/archive/1.3.2/aviary...
> ./aviary-install.sh
comment 6y ago · link · parent
> Here’s the simplest solution I could come up with:
> 1. Serve the current site from a subdomain (e.g., 2017.ar.al)
> 2. Make my 404s into 302s that point to the previous version of the site.
> 3. If I change the site again in the future, rinse and repeat.
> I call the technique 404 to 302.