Hacker Newsnew | past | comments | ask | show | jobs | submit | vatotemking's commentslogin

Heres how I do it. I just use express.js, sequelize (sqlite) for ORM, nunjucks for templating. Then on the frontend I use VueJs 2 which I use like jQuery - no compile step no components. Throw in some Bootstrap 4.5 because I dont need the new features of 5. Deploy on a $5 lightsail server. Done!


please explain some more. what are the specific examples?


Read the article or my original post.


We didnt know when it happened, but we are now at the mercy of AI. Scary times. Everything we do is controlled by algorithms.


Google search has stopped working for me for a long time.

I usually append "stackexchange", "quora", or "reddit" when searching to get useful answers. If you dont do that, you'll get SEOd garbage.


Tip: Use android firefox with ublock and open m.facebook.com


Make video streamable (start playing when usable bits are available). Recently needed this for an auto-playing video background [1]:

"ffmpeg.exe" -i "in.mp4" -c copy -movflags faststart "out.mp4"

[1]https://beta.gsc.edu.ph


A 10watt solar panel and a step-down module that can charge a powerbank is the simplest, cheapest, most portable option I can think of.


WordPress plugins (and themes) are plagued by freemium versions. SEO has been gamed. Gone are the days of finding a non-freemium, single functionality plugin, that just works. You have to be a seasoned WP developer to wade thru all the crap that is the WP ecosystem, or if all else fails, write your own functionality via functions.php.


Im working on something similar. Mine is a RFID scanner kiosk that uses a local db when offline. How do you manage sync conflicts?


In my workflow, I PULL when they initial get online and MERGE non conflicting changes and ACCEPT the changes with the latest timestamp if there is a conflict.

It's not perfect and people still complain, to do it cleanly I would need to prompt the user which change to take but I haven't figured out a clean way to do that yet.


Its been there ever since nodejs was around. Ive been using it for a long time now. I love it as a template engine.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: