View on GitHub

Quorten Blog 1

First blog for all Quorten's blog-like writings

More notes on Darwin cross compiler

2016-12-01

Categories: misc  
Tags: misc  

Oh, really interesting. Important updates on Darwin! So, apparently, it is possible to create Darwin on ARM. And this is particularly helpful because it indicates that you can cross build such a system without an existing Mac OS X. That’s what we want.

Oh yeah, and I created lots of links of various disputes on the Talk page on the Wikipedia article on Darwin.

Oh, and a link to the closure of the Darwin project. Is it really true that it failed? Or is that just what the administrators say because they didn’t meet their personal goals?

20161201/https://en.wikipedia.org/wiki/Darwin_(operating_system)
20161201/https://en.wikipedia.org/wiki/Talk:Darwin_(operating_system)#Darwin_as_a_functionally_open_source_operating_system.3F…
20161201/https://web.archive.org/web/20060804104416/http://opendarwin.org/
20161201/https://github.com/darwin-on-arm/xnu

Hail? Largest hail stone? Hail prevention?

20161128/https://en.wikipedia.org/wiki/Hail
20161128/https://en.wikipedia.org/wiki/Hail_cannon
20161128/https://en.wikipedia.org/wiki/Cloud_seeding

Weather modification… and its tactical military use.

20161128/https://en.wikipedia.org/wiki/Weather_modification
20161128/https://en.wikipedia.org/wiki/Operation_Popeye

Interesting links.

“Pay what you want.” Pay at your purported value.

20161128/https://www.humblebundle.com/books/unix-book-bundle

20161128/http://shop.oreilly.com/category/deals/cyber-monday.do?code=CYBER16

^ “Spend more, save more”… but I just can’t help admitting this that you’re still spending more, that’s just marketeers trying to use “creative accounting.”

“docker diff” to check for unauthorized changes

20161128/https://diogomonica.com/2016/11/19/increasing-attacker-cost-using-immutable-infrastructure/

Do a “docker commit” to prepare for the post-mortem.

Use --read-only flag on your image.

20161128/https://m.subbu.org/dont-build-private-clouds-9a54b3d30c8b#.9h8szka29

State of containers: a debate with CoreOS, VMware and Google

20161128/https://youtu.be/IiITP3yIRd8

Read on →

Sad closure of Lavabit

2016-11-21

Categories: security  
Tags: security  

This is unfortunate. Lavabit got closed down because the FBI demanded that they have the private encryption keys, yet the owner refused to give them full-access to all the accounts. This was merely to chase evidence after Edward Snowden. So, rather than complying, the site owner decided to shut down.

20161120/https://en.wikipedia.org/wiki/Lavabit

Okay, okay, time to learn what kind of DSLR camera I can use that is compatible with my existing lenses. Is the lens mount system particular to Pentax cameras? I thought advanced features are, but the basic features are compatible.

By the way, it turns out that Pentax was a first to a lot of things. Mattere of fact, Pentax was Japan’s first SLR camera brand.

20161120/https://en.wikipedia.org/wiki/Single-lens_reflex_camera
20161120/https://en.wikipedia.org/wiki/System_camera
20161120/https://en.wikipedia.org/wiki/Mirrorless_interchangeable_lens_camera
20161120/https://en.wikipedia.org/wiki/Interchangeable_lens
20161120/https://en.wikipedia.org/wiki/Pentax_K-7
20161120/https://en.wikipedia.org/wiki/Pentax_K-5_II
20161120/https://en.wikipedia.org/wiki/Pentax_K_mount

  • Renote. Again, I reiterate, because this is important! I searched for this and found it, that means it’s important! Pentax K-mount.

20170716/https://en.wikipedia.org/wiki/File:KAF2-2.jpg

So yes, for advanced features, Pentax uses its own lens mount that is incompatible with those used by Nikon and Canon. In particular, my lenses use the Pentax K_A mount.

Ah, and the article above just said that Pentax lenses are on the rise in popularity due to rising popularity of the corresponding DSLR. Likewise with Samsung.

Read on →

Okay, so now we have some rather interesting ideas to integrate with how we design our 3D scanner.

First of all, just to get the quick one out of the way, our naming for our “offset map.” To make this more of a coherent metaphor with the photography profession, we can call this “circles of confusion.” After all, that is what we call the artifacts seen in photographs that are out of focus. Anyways, yes, the map that shows the size of the same-time-colored dot in relation to the position of the pixel.

Second, on thresholding. In addition to recording the ambient light photograph to compare against for thresholding laser light, we can also use the color of the pixel in the ambient light map to determine the reflectivity of the material at that point to the laser light. For example, bright red or white will be very reflective to our red laser light, while blue surfaces are going to need more sensitive thresholding. So in the case of the bright red or white surfaces, we can adjust our algorithms to use the least sensitive thresholding, or the highest thresholding in other words. The purpose of this is to reduce our margin of error in detecting whether a pixel is very closest to the center of our laser, thus opting for the minimum “circle of confusion” and getting the highest resolution.

Read on →

Notes on using `cpio`

2016-11-17

Categories: unix   important  
Tags: unix   important  

Important! Notes on using cpio.

find ARCH-DIR -depth | cpio -oV -H ustar > backup.tar
cpio -idmV < ../backup.tar

Let’s explain how this works. -H selects the format. You almost always wnat to use this to avoid using an old and obsolete format. Using tar may be convenient because it allows for interoperability with tar. -depth is necessary so that directories are written last. This is to preserve their modification times on the copy-out. But then -d is needed for this to work on copy-out. -m is used to preserve modification times on copy-out. And -V is an alternative for -v depending on what kinds of screen displays you like to see.

“Why not just use tar”? you ask. Well, because as described above, in relation to directories and the -depth option, tar-archives don’t work as well with cpio, but the reverse works just fine. Hence, it is a matter of maximizing interoperability.

But, beware, -V is not available in BSD cpio.

20161117/http://www.linuxjournal.com/article/1213