HNHacker News
TopNewBestAskShowJobs

joshumax

1,890 karma · joined September 5, 2015

I love free software.

Email: mail [at] joshumax.me Web: https://joshumax.me

[ my public key: https://keybase.io/joshumax; my proof: https://keybase.io/joshumax/sigs/v057ht53ZepoKt9YeWTgNnFj6vfLCqSC9m1ziR-9Oss ]

submissionscomments
joshumax··on Build your own Linux
Looks like this site may go into some more detail of how the specific packages interact to create a "standard" Linux distribution more than the LFS series does; but I'm not sure how much has changed regarding that in recent times... Even the faded BLFS book I was gifted in 6th grade seems to be more focused on just getting the packages built and installed into the LFS root than going in depth about their internals/function. Even though tools like buildroot/OE/Yocto offer much better tools to make a Linux from scratch, I think both of these offer a great way to quickly gain at least some insight into Linux + userspace
joshumax··on Can you make your brain not see this circle illusion?
I've always thought of it this way:

Over millions and millions of years of evolution, many mammals (including us) adapted our vision centers to quickly process large chunks of environmental information by developing a series of beneficial hard-wired processing networks in the visual cortex. These neural pathways allow us to do things like subconsciously notice small movement or even judge distances fairly accurately without parallax. Most of the time it works pretty well; I mean, it kept us as a species alive up to today. However, illusions like this "exploit" the "visual hacks" our brain uses (that allow us to process such large amounts of visual data so quickly) by creating objects that don't (or can't) exist in nature. Our brains are fairly picky about things like depth-of-field and textural shading and oftentimes their limits can be demonstrated by simply playing with a few colors and changing a few angles.

joshumax··on OpenMoko: 10 Years After
I had issues making calls on my Freerunner, sure, and it certainly wasn't very user friendly (even flashing replicant to it resulted in a very buggy daily driver) but I did enjoy the phone for what it was; a fun platform to hack around with and one of the first (and perhaps almost the only?) mobile device with hackability not only in mind, but centric to its design.

I hope alternatives like the Neo900 make it off the ground, but I'm not holding my breath. Most people just don't seem to care about open hardware when they could be getting the latest, fastest SoC for their $varPhone. Maybe it makes me weird that I'd rather use an open device with a single ARM core at 800Mhz than a closed one that uses the Snapdragon 835...

joshumax··on How Wi-Fi Works
Just the basics.

Plugged in my 'scope and started probing some debug headers that looked a lot like they'd be for UART, check if one is Tx and is sending out data, figure out the baud rate, hook up Rx, Tx, and GND on my UART dongle to the correct headers, and modify the bootsting in Cisco preboot to spawn a serial console which landed me into busybox as root :)

joshumax··on How Wi-Fi Works
If you want to hear something else scary, I dumped the firmware on my modem a little while back and started exploring it:

https://twitter.com/joshumax/status/860712276717748225

joshumax··on Show HN: Cinc – GitHub for recipes
I started a teensy bit of work on something sorta like this a while ago: https://github.com/joshumax/git-cooking

Glad to see somebody actually brought a similar idea to fruition :)

joshumax··on Reverse Engineering One Line of JavaScript
Cyberferrit said new programmers to the project, not specifically new to the language or programming itself.

Working on emulation software I commonly run across snippets such as `res = !!iRegisterVal` which results in some C newbies scratching their heads as to why a useless double negation would be there. But for more seasoned developers its intent can pretty easily recognized...

joshumax··on 2bit Astrophotography with the Game Boy Camera
Looks like the maximum supported exposure time is ~1 second... That mixed with the fact that the fact that it has a fairly shallow well depth probably means that the CMOS would be best suited for LUCKY imaging. Also adding a cooler to the back of the Gameboy camera may help reduce amp glow. Anyone have the specs on the ADC chip?
joshumax··on Popcorn Linux – for ISA-diverse multi/many-core architectures
Wow! I actually wasn't aware that TIMI existed until just now! All I've ever really known is ARM's work on the Jazelle hardware subsystem. I'll have to check this out more in the morning though!
joshumax··on Popcorn Linux – for ISA-diverse multi/many-core architectures
Based on interest here I'm planning on cleaning it up this weekend and shoving it on my GitHub (http://github.com/joshumax) by the end of this week or earlier...

Unfortunately getting dynamic linking working is a WIP and so far everything has to be statically linked (yeah it's terrible I need to get dynamic linking working; I have some ideas). As for abstracting the syscall interface between architectures...afaik the PNaCl handled that for me based on how process isolation works...

joshumax··on Popcorn Linux – for ISA-diverse multi/many-core architectures
A few months ago I created/worked on a project that involved separating PNaCl (the portable native client) from the Chromium project, rewriting parts of it for use as a generic JIT compiler, and building a small PoC distro around it where all of userspace were PNaCl binaries except for the loader/JIT (which was a regular old architecture-specific ELF that existed read-only in memory and loaded by a slightly-patched Linux kernel) Only PNaCl executables were allowed to run in userspace, which allowed for secure execution of user binaries thanks to the sandboxing features of the modified portable native client. However, another benefit of the PNaCl is that binaries are compiled to a performant architecture-agnostic IL (similar to LLVM's IL) and then quickly finalized by the PNaCl loader into a regular architecture-specific binary and loaded into secure memory when they are started.

This meant, in a nutshell, I could have a completely architecture-agnostic root filesystem, with the only architecture-specific binaries being the kernel and PNaCl runtime, which sat in the initial ramdisk.

joshumax··on Ending support for Android Market on Android 2.1 and lower
Shoot, now my calculator won't get any more cool apps...

https://youtu.be/Skbuc_pQj9g

joshumax··on How sandboxing works in Fuchsia
I can't say everything I've heard for NDA reasons but I've been under the impression its use is in future resource-constrained IoT devices, which tend to lack a secure, lightweight OS with a unified API. Reverse engineering a certain "smart" nightlight uncovered a minimal Linux 2.6.xx rootfs with telnet open and enabled by default
joshumax··on Alpine – Linux distribution based on musl libc and busybox
Yeah that's the one... my job requires me to port the Linux kernel to various embedded devices and architectures (let's just say I frequent elinux.org a lot) so work often overlaps into my personal hobbies...
joshumax··on Alpine – Linux distribution based on musl libc and busybox
I use it on my cable box with < 64MB RAM! Got a minecraft server up and running on it too!
joshumax··on Screen sharing comes to Slack video calls
I loved using screenhero with my team... waited forever for a Linux build to come but was sad when Slack bought them out and the port was never brought to fruition.
joshumax··on Scraping Tinder selfies to make a dataset for AI experiments
Now I feel bad for doing this exact thing with Tinder to create a data-set for determining age based on facial features...

At least I didn't publicize it after and removed it when I was done

joshumax··on Show HN: Zuck.js, a JavaScript library that lets you add Stories everywhere
Whats up

Whats upp

Whatsupp

Whatsapp

joshumax··on MP3 for Image Compression (2006)
So you were the person who posted that link ;)
joshumax··on Brains Sweep Themselves Clean of Toxins During Sleep (2013)
Even if it's not recommending a juice cleanse, whenever I see the word "Toxin" in an article without context I assume that the post was most likely written for the layman and as such probably sacrifices accuracy for ease-of-comprehension.
joshumax··on A new vantage point: Canonical CEO Jane Silber to step down
I think one of the major driving factors initially was that Ubuntu didn't follow the long package tree freezes that Debian stable/testing was subjected to after a period of time. Debian stable still tends to contain older packages with security patches applied rather than the latest and greatest(tm), which most standard users tend to prefer over stability
joshumax··on Web needs rethink to stop “nasty” ideas spreading, says Tim Berners-Lee
So, the web was created to freely distribute unhindered by geographic position or social class...

But apparently people are using it to do bad stuff

Better censor it, that can't go wrong /s

joshumax··on Beej's Guide to Network Programming
Aw man I used his wonderful guides and examples all the way from middle school up through uni; I owe him a lot of my success to this day!
joshumax··on Taking the SCiO Food Analyzer Grocery Shopping
> At the very least, it could become an interesting science fair project for some enterprising kid

As that "enterprising kid" who couldn't wait until the SCiO was completed, and who was fed up with his 3d printed visible light spectroscope, I put in a lot of research effort figuring out how to go about creating a portable, financially attainable NIR spectroscope. I started out thinking it would be fairly straightforward since I already worked on creating CCD sensor driver boards in my early highschool years (after all it just seemed like you'd need a linear CCD with no IR-cut filter, a diffraction grating, a prism with 95%+ reflectivity, and an IR emitter with a peak wavelength of ~920nm). I invested about 6 months working through the various roadblocks I encountered until I managed to get half-decent results from it when taking the spectrum of various salts. Still never managed to fully refine it since I didn't have the budget to (Heck the Eagle schematics I sent off to a PCB fabricator were so poorly-designed that in order to get it to work correctly it required me to solder a wire across two traces to prevent the sensor from blowing up). It's still somewhere in one of my drawers and is a fun novelty item (and it did win (second?) place at my junior science fair) but at least with my design, it really wasn't the portable tricorder I was hoping for...

joshumax··on Developer Preview of Android O
> Notification channels: Android O also introduces notification channels, which are new app-defined categories for notification content.

FINALLY. I talked to a Google dev about this idea >1 year ago to enthusiasm but I never thought that it would actually be implemented (and I was too darn lazy to work on implementing it myself)... I'm so glad that channels are finally a thing in O! Hopefully they'll also add the ability to put different channels in different named Swipe views so I can flip to different tabs to see different notifications.

joshumax··on Douane personal firewall for GNU/Linux
Looks like a good alternative for GNU/Linux to Little Snitch and RadioSilence (both MacOS only), recently displayed on HN.
joshumax··on Prime Number Spiral
My friend discovered an interesting way to visualize prime numbers on an integer grid a while back. I whipped up a quick visualizer for it: https://codepen.io/joshumax/full/rOrBPz/
joshumax··on Photonic Bell states creation around rotating black holes
Something to note: More times than not, asking a liberal arts major about how quantum mechanics works is usually more valid and reputable than the preprint arXiv
joshumax··on Qualcomm's Snapdragon 835 to Support Windows 10
I think Ubuntu touch got it right with convergence; phone when you want it to be, "desktop" when you need it to be.

Now if only I didn't have to bring a billion cables and a keyboard with me

joshumax··on Amazon Go
As soon as I publish it I will ;)
← PreviousPage 5 of 7Next →