HNHacker News
TopNewBestAskShowJobs

moosingin3space

1,288 karma · joined June 4, 2016

https://mooshq.xyz
submissionscomments
moosingin3space··on DCompute: GPGPU with Native D for OpenCL and CUDA
Apparently Numba can (kind of) do this. It JITs Python/Numpy/Scipy code through the LLVM-based toolchain for CUDA.

[1] http://numba.pydata.org/numba-doc/latest/cuda/kernels.html [2] http://numba.pydata.org/numba-doc/latest/cuda/reduction.html...

moosingin3space··on Exploiting Alpine Linux
This seems to be a common practice in documenting exploits -- to purposefully leave out details that would make it able to cause actual damage in the wild.
moosingin3space··on Remacs – A community-driven port of Emacs to Rust
A while ago, when this project had just started, I filed an issue to discuss the windowing/GUI system: https://github.com/Wilfred/remacs/issues/25
moosingin3space··on Remacs – A community-driven port of Emacs to Rust
Xi isn't vi-like, although it is on their roadmap.
moosingin3space··on Rocket, Rust Web Framework, v0.3: Fairings, TLS, Private Cookies
Rocket uses compiler plugins to do its magic, and compiler plugins aren't stable.
moosingin3space··on Yanni – An artificial neural network for Erlang
Especially nice is the Rustler tooling for building a NIF.
moosingin3space··on 60 FPS Animations with CSS3
Is this the generalization of the Pathfinder text renderer?
moosingin3space··on A ReasonReact Tutorial
It would be awesome if Reason/OCaml had a backend for the Erlang BEAM VM -- could make things like Nuxt.js in OCaml possible. Full-stack type safety benefits would be awesome!
moosingin3space··on Fantastic DSLs and where to find them
This is one of the best comments I've ever read on this matter. Please link that blog post when you write it!
moosingin3space··on Fantastic DSLs and where to find them
I always had a difficult time understanding applicatives. Do you know of any good resources for understanding them?
moosingin3space··on Fantastic DSLs and where to find them
I used to like embedded DSLs a lot too, but then I realized they (mostly) were just the builder pattern + a lot of "extra" syntax (never written anything large enough in a Lisp or Haskell). The builder pattern feels more readable and has fewer context switches when writing code.
moosingin3space··on Fantastic DSLs and where to find them
I'd argue most languages are agnostic about (im)mutability. It's libraries that aren't.
moosingin3space··on Reasons to Switch from Chrome to Firefox
That blog post suggests that credit cards are in scope:

> Before release:

> * Support for credit cards

moosingin3space··on Reasons to Switch from Chrome to Firefox
I really like Mozilla's work, however, it is difficult for me to recommend Firefox as long as it has a poor sandbox relative to Chrome. This is disappointing, especially as Firefox becomes better, but a casual user needs to be protected from malicious websites as much as possible. Until this situation changes, in good conscience I can only recommend Chrome with uBlock Origin and Privacy Badger.

It is my hope that adoption of Rust helps improve this, although more integration with OS sandboxing features would also be excellent in making the case for Firefox.

moosingin3space··on Npmjs registry is down.
Seems to have been resolved -- this status page shows it up (as of 10:30 Eastern).
moosingin3space··on 70% Repetition in Style Sheets: Data on How We Fail at CSS Optimization
This is why I personally like the Vue/React way of scoped CSS -- it promotes loading a simple baseline CSS (like Skeleton) for the full page and specializing in the individual component layer. It's easy to refactor in the case of changing requirements (if the same across components, move style into global CSS, if not, move into component).
moosingin3space··on Telegram founder: US intelligence tried to bribe us to weaken encryption
I did say "there's no hard proof". This was purely an analysis of incentives.
moosingin3space··on Telegram founder: US intelligence tried to bribe us to weaken encryption
Moxie Marlinspike's reputation is dependent on his ability to deliver a secure product. Signal/Signal Protocol development is funded by donations and grants from groups like the Freedom of the Press Foundation, EFF, etc, and those groups desire a secure messaging product. Moxie has staked his reputation on WhatsApp's implementation of the Signal Protocol multiple times on the OWS blog, which he would not do if he disapproved of WhatsApp's implementation. There's no hard proof (except what can be gained through analysis of the executables), but there's no incentive for Moxie to lie, therefore, WhatsApp's implementation should be reasonably secure.
moosingin3space··on Tails 3.0 Released
Why is that important? Especially considering Tails has worked fine using systemd in their previous version based on Jessie. Additionally, Tails has used systemd's service namespacing functionality as part of a defense-in-depth strategy. Switching to Devuan makes little to no sense based on this track record.
moosingin3space··on Firefox 54: E10S-Multi, WebExtension APIs, CSS Clip-Path
I'm curious -- if this is basically a scheduler for tabs onto system processes (which it seems to be), what's the impact on input latency? I've read in multiple places that Chrome's input latency is worse than it could be because of multiprocess, so I'm really interested to see some input latency benchmarks.

Additionally, how are tabs sharing the same process isolated from one another? Chrome uses Linux namespaces for each of its processes, and this keeps tabs separated by a sandbox that requires a kernel exploit to break out of, how does Firefox's sandboxing work within a process?

moosingin3space··on How is GNU `yes` so fast?
Maybe this?

    yes | pv > /dev/null
moosingin3space··on How MutexGuard Was Sync When It Should Not Have Been
Yeah, the remarkable thing about this (for me) is that this particular case isn't actually a language soundness flaw, demonstrating that the general approach Rust takes is a useful one. The author puts it nicely on the /r/rust thread [1].

[1]: https://www.reddit.com/r/rust/comments/6gavfe/how_mutexguard...

moosingin3space··on Let them paste passwords
This is an interesting concept for storing keys. I may end up using something similar in a proof-of-concept I've been thinking about.
moosingin3space··on Let them paste passwords
This is a good point, and part of the problem with the way the average computer user (and far too many above-average users) treat their passwords.
moosingin3space··on Introducing the TensorFlow Research Cloud
I believe Google is playing long-term here -- if they make it really easy for someone to do ML research using their frameworks, they'll collect rent from the researcher and possibly get something more innovative out of their work later.

Not everything they do is about short-term data plays.

moosingin3space··on My Kid Will Never Hack Linux
The C Abstract Machine looks like a generic machine based on the Von Neumann architecture, so it "feels" like it should be fundamental. Add in some sunk-cost fallacy, and a lot of people end up with the belief that C is fundamental to computing, despite the existence of systems that do not use any C.
moosingin3space··on My Kid Will Never Hack Linux
Yes, but there is a research project here that replaces LLVM for codegen: https://github.com/stoklund/cretonne
moosingin3space··on My Kid Will Never Hack Linux
Counterexample: Rust compiler is written in Rust.
moosingin3space··on Alpine – Linux distribution based on musl libc and busybox
Is LinuxKit's core system based on Alpine?
moosingin3space··on An Abridged Cartoon Introduction To WebAssembly
Shared-memory threads are something I hope lands in WASM, since they're part of the reason you'd want to drop down to WASM in an application in the first place.
← PreviousPage 9 of 17Next →