View on GitHub

Quorten Blog 1

First blog for all Quorten's blog-like writings

About a multi-machine server. The idea is that you have a small, low-powered, always-on computer to process requests. If a request requires a larger resource, it will be forwarded to the larger computer. If the larger computer is powered off or sleeping, it will be woken or powered on. And then what? How to handle the request when it cannot be responded to immediately?

I thought HTTP had a status code for “resource temporarily unavailable.” Indeed, it does. So we have that response right there, and we can serve a custom error page that will automatically refresh after a timer, and tell the user the machine is powering on.

Read on →

Important! Hugo is a static site generation system similar to Jekyll. However, it’s written in Golang, and it runs much faster. Okay, I’m all hands down for this instead of Jekyll… except for the fact that GitHub pages still runs on Jekyll.

20180614/https://gohugo.io/
20180614/https://github.com/gohugoio/hugo

On the popularity of DSLR cameras. Why they are not very popular? First of all, let’s analyze what kinds of devices a typical person uses most of the time. Computers? Yes, definitely. But in the case of the smartphone, they are using the screen most of the time, not so much the camera. So there you have it. You know which of those two devices an average user is willing to put more money into. Hence the tiny cheap smartphone cameras are good enough for most people, no need for the glorious huge SLR camera lenses and sensors.

And the other thing? Why are 3D printers more popular than 3D scanners? Well, a similar reason is going on here too. Lots of people spend lots of time at a computer, but how much time are they spending building real-world objects in the physical world with their own hands? There you have it. We now know the mentality of the major user. The purpose of a 3D printer is to readily integrate with the exist built-world inside the computer, not the other way around. As it turns out, the thought process runs in only one direction. Sorry, no two-way communication going on here.

Read on →

Okay, so this is really interesting. You know that one GitHub repository for migrating out of GitHub? Well, over the course of a few days, several people have posted discussion comments in the Issues, the original maintainer got fed up, decided to delete all Issues, disable Issues, reset the Git repository to the previous revision, and then… went silent for a few days. In the meantime, discussion from community members has since moved to a successor GitHub repository maintained by someone else.

The point in hand is that the first maintainer wasn’t prepared to handled so much growth so quickly.

20180612/https://github.com/upend/IF_MS_BUYS_GITHUB_IMMA_OUT
20180612/https://github.com/upend/IF_MS_BUYS_GITHUB_IMMA_OUT/issues/114
20180612/https://github.com/upend/IF_MS_BUYS_GITHUB_IMMA_OUT/issues/116
20180612/https://github.com/upend/IF_MS_BUYS_GITHUB_IMMA_OUT/pulls
20180612/https://github.com/upend/IF_MS_BUYS_GITHUB_IMMA_OUT/pull/118
20180612/https://github.com/upend/IF_MS_BUYS_GITHUB_IMMA_OUT/pull/112
20180612/https://web.archive.org/web/20180606152455/https://github.com/upend/IF_MS_BUYS_GITHUB_IMMA_OUT/issues
20180612/http://www.upend.org/

Read on →

Some interesting highlights from the Trisquel General Free Software forum.

20180611/https://trisquel.info/en/forum/general-free-software-talk

This is unfortunate.

20180611/https://trisquel.info/en/forum/minifree-leah-asks-money-get-another-gender
20180611/https://vimuser.org/surgery/

This is interesting. Bug #1 on Ubuntu has since been closed, due to the advent of tablets and smartphones. Also, there exists an ethical repository hosting page on GNU.org, which I’ve never seen before. Yeah, that’s probably because it’s not well linked up with the rest of the page contents.

Read on →

Fraudulent social websites

2018-06-11

Categories: random  
Tags: random  

Very interesting sites here. So, there are these websites to meet up with old classmates… but the problem was in their marketing tactics. False advertising, demanding payment, false claims that someone is looking for you to get payment.

20180611/https://en.wikipedia.org/wiki/MyLife
20180611/https://en.wikipedia.org/wiki/Classmates.com
20180611/https://en.wikipedia.org/wiki/Names_Database

Multithreading in Emscripten

2018-06-11

Categories: misc  
Tags: misc  

Important! So, you’re asking about multithreading in Emscripten? How does it work? What are the limitations?

Okay, so here’s the lowdown as I understand it. WebWorkers are the base implementation. At one point in time, SharedArrayBuffers were used on top of these to effectively implement multithreading, but for the time being this feature was disabled in light of the Meltdown and Spectre vulnerabilities. Until the feature gets re-enabled, true multithreading in Emscripten is out of the game.

Okay, so what features do WebWorkers provide you with? Can you start a process and deliver messages to it like you would with Unix I/O? Unfortunately, the setup seems more contrived. You can deliver messages, but messages are processed in a batch manner. A message, one delivered, calls an event notification, and the next message processing will be delayed until that function exits. Sorry, looks like Unix-like read() is not supported.

20180611/DuckDuckGo emscripten webworkers
20180611/https://floooh.github.io/2013/01/13/multithreading-in-emscripten-with-html5.html
20180611/DuckDuckGo emscripten threads
20180611/https://stackoverflow.com/questions/27473959/thread-using-emscripten#31466135
20180611/https://kripken.github.io/emscripten-site/docs/porting/pthreads.html
20180611/https://developer.mozilla.org/en-US/docs/Web/API/Web_Workers_API
20180611/https://developer.mozilla.org/en-US/docs/Web/API/Worker
20180611/https://developer.mozilla.org/en-US/docs/Web/API/EventListener

Outlook for Mac? Goes nowhere. But they do have this interesting “UserVoice” feedback site with an interesting terms of service.

20180611/https://outlook.uservoice.com/forums/293343-outlook-for-mac
20180611/https://outlook.uservoice.com/forums/293343-outlook-for-mac/suggestions/33300451-add-a-warning-features-oriented-toward-primary-use
20180611/https://outlook.uservoice.com/tos

LibreSSL not working with the latest version of Python? Yes, read about what’s going on here. Basically, LibreSSL isn’t keeping up with extensions to OpenSSL, and the Python community is moving toward using OpenSSL extensions because their development team is so small.

20180611/https://github.com/libressl-portable/portable/issues/381