127 karma · joined Apr 20, 2017 (9y ago) · 19 submissions
comment 3y ago · link · parent
What I heard was that payment providers charge higher fees for allowing foreign cards, so website owners (who focus on domestic business anyways) just won't bother.
comment 4y ago · link · parent
Bluetooth accessories are not guaranteed to work. People struggle with screen configurations all the time. Nvidia driver updates are still a nightmare. I'm pretty sure there's no secret sauce.
comment 5y ago · link · parent
comment 5y ago · link · parent
comment 6y ago · link · parent
[0] https://en.wikipedia.org/wiki/Linear_congruential_generator#...
comment 6y ago · link · parent
2. The dice roll example is not uniform distribution, I think this is a common pitfall when generating random integers of a range. `randomNumber % 6` results in a slight bias towards 0 and 1, since 2^31 % 6 == 2, there are more numbers in the range [0, 2^31-1] that map to 0 and 1 than those that map to 2...5. To make it uniform, for example, you should always discard if `randomNumber < 2` and regenerate another number for use.
comment 8y ago · link · parent
"To continue to promote the use of HTTPS and properly convey the risks to users, Firefox will eventually display the struck-through lock icon for all pages that don’t use HTTPS, to make clear that they are not secure." [1]
[1] https://blog.mozilla.org/security/2017/01/20/communicating-t...
comment 8y ago · link · parent
IMO pattern names are merely for communication purposes, like saying "abstract factory" instead of having to say "I have an interface F for creating instances of interface A, where different implementations of F can be chosen at runtime to create different instances of implementation of A". And also you are not required to call your factory "Factory".
comment 8y ago · link · parent
For Xming, simply set DISPLAY in shell and local GUI programs just work, as well as SSH X forwarding.
[1] https://github.com/mintty/wsltty
[2] https://sourceforge.net/projects/xming/
(EDIT: typo)
16.
Please build websites for the web, not just Google Chrome(thenextweb.com ↗)
59 points · by AvocadoSushi · 8y ago · 25 comments
comment 9y ago · link · parent
[0] https://www.blackhat.com/docs/us-17/thursday/us-17-Tsai-A-Ne...
comment 9y ago · link · parent
BBS with Internet today serves as a high-performance forum, loading boards/articles takes a single RTT. Storage is still file-based and relies on filesystem and kernel caching.
comment 9y ago · link · parent
For those interested, their codebase is available on GitHub [1].