HNHacker News
TopNewBestAskShowJobs

egnehots

852 karma · joined June 7, 2016

submissionscomments
egnehots··on Notes on structured concurrency, or: Go statement considered harmful
There are other approaches. State machines, reactors are often used in low level layers and the Actor model for some high level design.
egnehots··on Show HN: InKino – An open-source movie app made with Flutter
cross platform = mobile only? What about desktop targets..
egnehots··on What Color is Your Function? (2015)
And a great sage would say that it all boils down to category theory.
egnehots··on Show HN: RoughJS – Create hand-drawn graphics using JavaScript
Are there any good papers about this kind of stuff?
egnehots··on Sulong: Finding Errors in C Programs [pdf]
Whoa, dolphins are so smart.
egnehots··on Message Passing and the Actor Model
Indeed an actor only model will easily lead you to a mess.

At first it's simpler with actors to think concurrently mainly because of the strict message passing rule for communication. But as your logic become more complex it will become hard to understand as the code flow is artificially separated between different entities, that doesn't scale nor compose easily.

That's being said, it can be powerful to have just some top level actor abstractions that encapsulate more common idioms.

Actors are great to build distributed micro services, you can have a supervisor to monitor and restart services, a registry to discover and subscribe. An actor can represent a service of course. Very useful as high level concurrency abstractions, not so much as low level primitives.

egnehots··on Please – A Cross-Language Build System
This looks so similar to Bazel..

What's the advantage of using Please?

egnehots··on How to make a game from scratch using Lua and Löve
Is there any flavor of lisp that is close to luajit performances and still small?
egnehots··on An Introduction to Cache-Oblivious Data Structures
It all become clearer if you replace it in your head by

"cache sizes oblivious" algorithms.

egnehots··on How Rust Is Tilde’s Competitive Advantage [pdf]
IntelliJ and a workspace based project will get you a modern IDE experience. However don't expect a responsive edit/compile cycle, compilation times just doesn't scale for large projects, even with incremental compilation. Linking against shared libraries for stable dependencies can help though.

No the ecosystem is not mature enough to get the "enterprise" libraries. Wrappers to c/c++ libraries are often needed.

egnehots··on A WebAssembly interpreter written in JavaScript
That could be really useful to deploy on browsers without native WASM support. Can you give us an idea of the perfs though?

Since WASM is used for some performance intensive applications it would be useful to know how does this polyfill compare to native WASM /asm.js or regular js.

egnehots··on A TensorFlow implementation of Baidu's DeepSpeech architecture
Maybe Tacotron will interest you? It's an end-to-end model, that's reasonably close to the state of the art:

https://google.github.io/tacotron/publications/tacotron/inde...

They are some open source implementations.

egnehots··on Simple, Fast and Safe Manual Memory Management [pdf]
True, but shouldn't we try to at least reduce this attack surface?

I would be radiant with joy and more if cosmic rays formed a significant part of my issues.

egnehots··on Simple, Fast and Safe Manual Memory Management [pdf]
Albeit more complex, the main advantage of rust, cyclone like solutions is that their guaranties are checked at compile time.

For a critical application I vastly prefer to get these annoying compilation errors rather than the illusion of productivity now and then getting runtime exceptions in a shipped product.

Be happy to fail as soon as possible.

egnehots··on Writing Parsers Like it is 2017 [pdf]
I think it's more a response to the wave of attacks against unsafe parsers, such as those used to read subtitles in media players.
egnehots··on Servo nightly builds on Windows now available
they don't allow the use of the latest api. ex: listening to dpi changes.

but what they could do is to link statically with the runtime.

egnehots··on Ask HN: What do you want to see in Ubuntu 17.10?
User: I want hi-res apps!

Dev: Sure, here you go.

User: But why is it so small on my new shiny tablet high density screen?

Dev: (SHit it worked okay for me) Okay now it detects the density and scale..

User: But when I move the window to my old good lcd screen it becomes way too big!

Dev: Okay let's see if I can dynamically adapt to a new monitor density, it's just one scale factor.

User: But when I put it on my big tv flat screen it is too small!!

Dev: (Oh shit you gotta be kidding me, the pixels are actually a viewing distance relative unit??!)

← PreviousPage 3 of 3