News for hackers. Stuff that matters.

clanrebornyes

Re:Ask HN: Why does front-end development change so often? on Saturday January 19, 2019 @11:36PM (#18951129)
Unlike backend frontend isn't built on a solid foundation.

So someone people don't learn the stuff in use (or find it difficult to achieve the current trend in preexisting technology) in use and find easier tricks/concepts then base their whole framework on that.

Now newbies, who want to quickly achieve something gravitate towards the new shiny things which makes the current Trend easy but makes rest of the things difficult.

You can optimize technology along any axis, but if you optimize it along one axis it will be deoptimized along some other axis.

For example, think of interactivity. When people wanted to build interactive website, they brought stuff like websockets/single page application but now websockets can't be cached like a http API and SPA throws monkey wrench into SEO.

Now, you made current trending thing (interactivity) easier for newbies but made other things like initial page load time, SEO difficult.

These are my noob level observations, as you gain more experience you'll find many examples of this happening in wild.

Similarly, to achieve scalability people brought in JWT instead of Session cookies and lost ability to revoke the token without maintaing a blacklist or using short lived tokens which you've to refresh every few minutes increasing RPS load for the server.

So the moral of the story is that you need to understand what a particular technology makes easy and what it makes difficult then you select the appropriate technology without chasing the hype.

Re:I Nearly Lost All of My Data on Saturday January 19, 2019 @11:26PM (#18951074)
I am trying to find cheaper device between NUC and Pi.

Lot fewer choices are available.

NUC is expensive. I wonder when will 8core ARM based NUC will arrive in the market.

No idea is NUC can be powered by Xiomi Mi 2i powerbank but a Raspberry Pi can be

Priorities:

1. Gigabyte ethernet

2. Small form factor NUC or smaller.

3. 8+ cores

4. Very low power consumption

Re:I Nearly Lost All of My Data on Saturday January 19, 2019 @11:11PM (#18950990)
I use syncthing for syncing when my raspberry pi joins a specific BSSID, sync starts.

It's susceptible to macspoofing but I hope my Pi won't join a spoofed network.

Re:Ask HN: What have you done with Raspberry Pi so far? on Saturday January 19, 2019 @11:28AM (#18947744)
Is it really that fragile that it can't run Pinhole for even a year?

Or it has to do with the experience of the user?

Did you've Powerbackup? How did it corrupt your card?

Re:Ask HN: What have you done with Raspberry Pi so far? on Saturday January 19, 2019 @11:27AM (#18947739)
Wow, do you ever plan to replace fly by wire electronics with a Pi?
Re:Ask HN: How do Toronto tech salaries compare to NYC/SV? on Saturday January 19, 2019 @11:26AM (#18947736)
Find the salary on glass door now double that :)
How many hours it lasts?
It's not - it's a hack. Powerbanks aren't design for random surge in power output which is what Raspberry Pi requires.

Usually used for charging other batteries.

I've Rasp Pi + alpha card + 50K mah powerbank as my router, which creates 3 APs, one with Tor other with work VPN and last with my home connection.

All use cloudflare dns+ pi hole to block ads.

I use another PI as a media server and for remote torrent downloading.