HNHacker News
TopNewBestAskShowJobs

milkey_mouse

314 karma · joined November 23, 2015

submissionscomments
milkey_mouse··on Playing around with the Fuchsia operating system
https://chromium.googlesource.com/chromiumos/platform/depthc...

https://chromium.googlesource.com/chromium/src/courgette/

milkey_mouse··on Show HN: A dependently-typed programming language with static memory management
This reminds me a lot of Carp: https://github.com/carp-lang/Carp
milkey_mouse··on Show HN: Tablist – a chrome extension to copy and paste lists of open tabs
Huh, I made something almost exactly like this a few months ago. I couldn't be bothered to get a Chrome developer account and pay the fee so I had to put Chrome in developer mode every time I used it.

https://github.com/milkey-mouse/tab-list

milkey_mouse··on Hacking on Clang is surprisingly easy
https://github.com/StanfordSNR/gg can do builds in the cloud. Their USENIX talk is really interesting
milkey_mouse··on The falling price of a TV set
It's unlikely that a basic Bluetooth speaker would even have an ADC to switch to, not to mention speakers without Chromecast-like streaming capabilities probably only have some tiny real-time operating system.
milkey_mouse··on Fashion industry emits more carbon than flights and maritime shipping combined
From what I understand the main concern with cow farts is the methane produced in cows' (and other ruminants') digestive systems, not carbon dioxide. Methane is a 25x more potent greenhouse gas according to the EPA: https://www.epa.gov/ghgemissions/overview-greenhouse-gases#m...
milkey_mouse··on Toyota is trying to put solar panels on a Prius to charge battery during the day
That's essentially what a plug-in hybrid is, modulo the "small."
milkey_mouse··on V8: A Year with Spectre
Singularity heavily relies on capabilities. What if accessing the current wall clock time was a zealously guarded capability? I wonder what percentage of apps could function with no access to (real time) timers at all, or an extremely granular one?

I can't find a link at the moment, but I recall a paper showing even a very granular clock will suffice for Spectre exploits, albeit with lower bandwidth. Also, something else would need to be done about multithreading, as an application could always just spin up another thread counting as fast as it can to make a poor man's timer.

milkey_mouse··on Ask HN: Which great products didn't succeed?
I still have and use my Zune HD. It works relatively well, is very small, has a long battery life and headphone jack, and most importantly I get the ironic hipster cred for using a Zune in 2019 ;)

The "Metro" design language of the Zune devices, including the HD, influenced the Windows Phone and other Microsoft products. The Zune was the first device to have the tile layout many miss from the Windows Phone.

Zune Music Pass, an all-you-can-listen monthly music subscription service à la Spotify, was way before its time. I think it was the first such offering ever.

Unfortunately its "app store" had a total of 47 apps. On the plus side, you can install every Zune app ever at once :P

It also runs IE5, I think? Maybe IE6? It barely supported CSS at all.

milkey_mouse··on A RISC-V CPU for $8
In my opinion the line to draw is support for a privileged mode/protection rings/memory protection. Anything without that can run μClinux at best, which isn't much better than an RTOS. Without process isolation an operating system isn't very "general purpose."
milkey_mouse··on A RISC-V CPU for $8
RISC-V has a base ISA and many extensions, several of which are virtually required to run a "real" OS with features such as virtual memory. Every build of Linux I've seen for RISC-V is for an RVGC processor with an additional privileged mode.

Theoretically it should be possible to run "Linux" on a glorified microcontroller like the OP with μClinux, but I haven't seen that used for "real" work. It certainly couldn't be used as a general purpose OS.

milkey_mouse··on Writing an OS in Rust: Advanced Paging
Not to shill but I'm working on a Singularity/Midori-inspired Rust JIT-compiled operating system. If that ever gets anywhere I'll post a link/Show HN.
milkey_mouse··on Writing an OS in Rust: Advanced Paging
> The [Linux] kernel already contains some C++

Are you sure? I don't think the kernel even compiles with a C++ compiler [1]. Also, I just ran cloc on my linux repo and didn't get any actual C++ code.

Perhaps some external kernel modules are written in C++, but that seems like a bad idea too [2].

[1] https://www.phoronix.com/scan.php?page=news_item&px=45-Linux... [2] https://www.threatstack.com/blog/c-in-the-linux-kernel

milkey_mouse··on For the Love of Pipes
The standard is expect [1]. There are also libraries for many programming languages which perform a similar task, such as pexpect [2].

[1] https://core.tcl.tk/expect/index [2] https://pexpect.readthedocs.io/en/stable/

milkey_mouse··on Powder metallurgy
A related method not mentioned in this article (or, in fact, many places at all) is iro3d[1]'s "selective powder deposition": a 3D printer effectively creates a mold out of sand, with empty spaces filled with a metal powder. After the "print", done in a crucible, is finished, an ingot of metal with a lower melting point is set on top & the whole thing baked in a kiln. The metal from top fills the space between the granules of powder and solidifies with nearly no shrinkage (as the object is mostly made of the powder, which never melts).

[1] http://iro3d.com/

milkey_mouse··on Federated Learning
Has anybody tried applying this to a blockchain by having the PoW be improvements to models in previous blocks or something? This seems like such an obvious idea (especially with all the hype around blockchain nowadays) that either this exists or I'm missing something crucial about the technique.
milkey_mouse··on Git hash function transition plan
Chains of Git commits are already a blockchain - at least, already a DAG, and to be more specific, they are both Merkle trees. Internally, each commit contains the hash of the previous commit it was based on:

    $ git cat-file -p HEAD
    tree e013f4d121199d60b70043f525aef4a7e641b5f6
    parent 152bbb43b30ced1b32e9ed6f5ba2ac448de725b6
    author Linus Torvalds <torvalds@linux-foundation.org> 1510512373 -0800
    committer Linus Torvalds <torvalds@linux-foundation.org> 1510512373 -0800

    Linux 4.14
You can even GPG sign each commit if you want to ensure authenticity. The other aspects of cryptocurrency blockchains don't really apply here: we don't need a single "true chain," in fact that's the point of branching.

(Kids these days with their blockchains...)

milkey_mouse··on Used GPUs flood the market as Ethereum's price drops below $150
Isn't it only the 4GB RX cards that will get worse for mining? Or is it that the GPU memory bandwidth is less on AMD cards?
milkey_mouse··on The Ultimate-64 board
Hmm... Could you combine these boards with these newly-pressed cases [1] to get yourself some completely new C64s?

[1] https://www.kickstarter.com/projects/1670214687/original-com...

milkey_mouse··on Mega Man for TempleOS
4chan's /g/ is especially obsessed with TempleOS and Terry's livestreams; there's typically a /tosg/ thread somewhere on the front page.
milkey_mouse··on Flat Pack Chainless Bicycle from IKEA
> WARNING - Serious or fatal crashing injuries can occur from furniture tip-over. To prevent this furniture must be permanently fixed to the wall.

Somehow I doubt permanently fixing one's bicycle to the wall will help.

milkey_mouse··on Robots will soon replace human fruit pickers
Robots won't take all our jobs yet; apparently they're aiming for the low-hanging fruit.
milkey_mouse··on LastPass autofill exploit
I'm pretty sure when using the Chrome extension, all the HTML/JS is downloaded locally once when installing the extension, as logging in via the extension brings you to a chrome-extension:// URL. When logging in via lastpass.com, of course, you will be redownloading the crypto code every time.
milkey_mouse··on Ask HN: What was your “why didn't I start doing this sooner” moment?
To me, programming (on personal projects) is as fun, if not more fun, as games. I've played some great games that I was fully engrossed in, but for the most part I feel like I'd rather spend my time programming with a tangible reward (a program that does something novel) than gaming with a virtual reward (put there by the developers, they can't be entirely new things).
milkey_mouse··on Meat Is Horrible
I agree. Implementing this sort of thing seems like a prime candidate for the cobra effect: https://en.wikipedia.org/wiki/Cobra_effect
milkey_mouse··on Amazon Has Swallowed Downtown Seattle
My cynical side says a third reason is that open offices make it very easy for managers/bosses/anyone who wants to see if you're working or not.
milkey_mouse··on JavaScript Performance Updates in Microsoft Edge and Chakra
Surface Phone.
milkey_mouse··on The Cloned-Consciousness-as-Continuous-Consciousness Fallacy
This sort of reminds me of the movie Sync by Corridor Digital: https://youtu.be/vhjimhX9d5U?t=38s
milkey_mouse··on Git 2.9 released
I've put emoji in commit messages. Git already supports Unicode (mostly). Just make sure you're using a Unicode-aware terminal.
milkey_mouse··on The Intel ME subsystem can take over your machine, can't be audited
Finally, the ME is getting the exposure it deserves. Seems like just two weeks ago nobody knew it existed.
← PreviousPage 4 of 6Next →