Readit News logoReadit News
Syrup-tan commented on Cache-Control: immutable   bitsup.blogspot.com/2016/... · Posted by u/chadaustin
Klathmon · 10 years ago
It really works beautifully. One of our applications coming up needs to work offline, and we found that because of the naming we were using, appcache was almost completely work-free to implement.

If the appcache.manifest changes, it rechecks all files (or in my case, would only pointpessly re-check those which haven't changed, and download new ones), and the appcache.manifest will change the second a single byte anywhere in the program changes.

It's fantastic.

Syrup-tan · 10 years ago
It's notable that appcache is now deprecated [0]

It's been replaced by Service Workers, but those can get reallly hard to deal with if they start caching themselves (!)

Chrome's devtools has ways to delete old service workers and such, but I've found that on Firefox it's next to impossible to debug.

[0] https://developer.mozilla.org/en-US/docs/Web/HTML/Using_the_...

Syrup-tan commented on LKML: New syscall: leftpad()   lkml.org/lkml/2016/3/31/1... · Posted by u/ajdlinux
whoosher · 10 years ago
Whoosh!
Syrup-tan · 10 years ago
https://xkcd.com/1627/

I think you added an "H"

Syrup-tan commented on Integrating a VT220 into my life   drewdevault.com/2016/03/2... · Posted by u/kragniz
creshal · 10 years ago
I'd really love to have one or five of those for maintenance work. There's a lot of devices that I don't really need to have a keyboard and video connected to for 99.99% of their life time, but I still need an LC display and KVM switch connected to for about 10 minutes per decade. It's such a waste.
Syrup-tan · 10 years ago
Euhh, I'm not sure I understand your use-case, but e-ink displays aren't especially "cheap", or such. They take a noticeable amount of time to update the display, so doing things like typing, or viewing output from top(1) would be less than ideal. (This seems to get better with firmware, and being "smart" about which places of the screen get updated, generally)

The appeal, at least to me, is that they can display information with little energy cost. For example you could have it monitor the system's health and have it update every half an hour, showing graphs and such, and it would be able to do that for a very long time with a smallish battery.

Syrup-tan commented on Safety Check for Brussels   facebook.com/safetycheck/... · Posted by u/dinosaurs
_pmf_ · 10 years ago
Log in required; classy.
Syrup-tan · 10 years ago
It's a service, of sorts, for registered users to know if any of their friends are in the vicinity, and if they are safe.

It also allows users to mark themselves as "safe" if they were in the affected area.

Syrup-tan commented on Tor NoScript visit tracker   bitbucket.org/ElijahKayto... · Posted by u/Syrup-tan
korm · 10 years ago
But this can't track individual users, it just provides general usage statistics, like visitor retention.

I'd be interested in a viable example of this being used to identify users.

Syrup-tan · 10 years ago
I'm unsure why this is downvoted.

I think he is saying that users can't be tracked between page-loads using this method, or your risk sending multiple users the same token. (which is true, at least with this implementation)

The time they spend on the website, latency, etc can all be used to add to a fingerprint, but there isn't something magic that makes this accurate, especially without JavaScript.

Edit: please don't mind me ghostposting kthx

Syrup-tan commented on Show HN: Sway, a tiling window manager and compositor for Wayland   github.com/SirCmpwn/sway... · Posted by u/ddevault
gravypod · 10 years ago
I remembered this name from some place, then I looked at his github account and remembered he was the guy doing a cleanroom rewrite of minecraft. Amazing to go from that to working on this.

Good luck.

Syrup-tan · 10 years ago
Seems to have a pretty interesting attitude.

https://github.com/SirCmpwn/TrueCraft/issues/230

Syrup-tan commented on Source: Microsoft mulled an $8B bid for Slack, will focus on Skype instead   techcrunch.com/2016/03/04... · Posted by u/crsmith
sand500 · 10 years ago
Switched from Skype to Discord for gaming. No regrets.
Syrup-tan · 10 years ago
The unofficial API community is also really great, and there are a plethora of libraries to choose from to get something working quickly.

https://blog.discordapp.com/the-robot-revolution-has-unoffic...

Syrup-tan commented on Show HN: CLJS Fiddle – ClojureScript   cljsfiddle.com... · Posted by u/escherize
Syrup-tan · 10 years ago
Here's a simple modification to get the random number between 1 and 10

    [:div
     [:p "Hit Run to get a random number:"]
     [:h1 (+ 1 (Math.floor (* 10 (rand))))]]
If you weren't previously familiar with the syntax I figured this might help.

u/Syrup-tan

KarmaCake day278January 22, 2015
About
Feel free to reach me at ~ syrup+hn at denpa dot moe
View Original