HNHacker News
TopNewBestAskShowJobs

avita1

176 karma · joined November 27, 2014

submissionscomments
avita1··on Bootstrap 4 drops IE9 support and goes full flexbox
It's worth noting that nothing on github suggests that the person who made that comment is a contributor/maintainer for Bootstrap.
avita1··on Simplify Service Dependencies with Nodes
The library they referenced (Finagle) does pretty much just that. A few things that leapt out at me:

- It's hard to figure out what the dependency graph looks like just from promises

- That pattern is verbose and results in gross types when you do it in Java

- With this library, you can easily profile parts of the algorithm to see what's going slow, what's taking a bunch of memory, etc.

avita1··on Amazon Polly – Lifelike Text-To-Speech
Interesting to hear Danish and Icelandic. Does the language affect how difficult it is to get realistic sounds?
avita1··on ‘Diamond-age’ of power generation as nuclear batteries developed
I won't claim to know much about this, but the article claims that the graphite works because it emits "short-range radiation", which I'm assuming refers to the carbon-14 emitting beta radiation.

Depleted Uranium and the stuff that comes out of depleted uranium (which I think would account for most of the spent fuel in the United States) emits beta and even shorter alpha radiation. Does that mean that the concept could work with depleted uranium?

avita1··on You can’t fix diversity in tech without fixing the technical interview
Without sounding condescending, how old are you? I had my head more "fundamentals of CS" when I was just leaving school and also never failed a technical interview. After spending some time in industry, I don't think about those types of problems as much. If I were to do the same technical interviews I did back then today, I'm almost certain I wouldn't do as well.
avita1··on Language Server Protocol
Are there any examples of extensible protocols like this in the wild? I'm asking because the only such protocol that seems to get mentioned on HN is XMPP (and always with groans).
avita1··on Btree vs. LSM
LSMs and Btrees are both data structures designed for use with disks, so the tests were probably run with disks.
avita1··on Adopting Feature Flag-Driven Releases
> Even most refactors are done behind a flag

How does this work without cloning vast swaths of code and saying:

    if (feature)
       loadModuleA();
    else:
       loadModuleB();
avita1··on Inside font-rs, a font renderer written in Rust
This implementation uses an underlying, materialized array right? And that was the very thing that the author is trying to avoid.
avita1··on Israel Proves the Desalination Era Is Here
Of the three plants mentioned in the article, it looks like at least the smallest (Ashkelon) is powered by natural gas.

http://www.delek-group.com/Holdings/EnergyInfrastructure/Del...

avita1··on Java REST framework Dropwizard 1.0 released
Personally ,the worst I've ever run into is some hairy classpath issue, as one the children comments mentions. Although maybe I'm just lucky.

Where does bytecode manipulation or code generation happen in Dropwizard? Reflection for sure, but not any more so than any major web framework in a dynamically typed language.

Maybe you're referring to the SQL library they suggest (which I've admittedly never used heavily). But I don't see how you can have a SQL library without generating SQL.

avita1··on Java REST framework Dropwizard 1.0 released
I use Dropwizard in my day-to-day and I've never ran into any code generation or byte code manipulation.
avita1··on Shipping Rust code in Firefox
That's not a complete comparison though -- sbt only downloads the platform-independent jars and minuscule launcher scripts. It's still on the user to install a JRE globally.

An analogue for rust would be something that detects the platform at runtime and then downloads a statically linked (?) binary that works on that platform. It can also exploit the ivy cache as the Scala compiler is just a library as far as SBT is concerned.

Isn't that a deal breaker? I would assume that downloading and checking in the binary for a whole compiler for 3+ platforms is untenable.

avita1··on Why Google Stores Billions of Lines of Code in a Single Repository
> Also, please compare the easiness of setting up CI for a hundred of repositories compared to a single one with tens thousand of files.

It's not so black and white though. There's plenty of difficulty in keeping a mono-CI system running and being helpful.

* The CI service becomes a single point of failure for all developer productivity

* Running a full build on every commit while accounting for semantic merge issues (so serially) is non trivial.

Jane Street did a pretty good write up of how hard this can be: https://blogs.janestreet.com/making-never-break-the-build-sc...

avita1··on Improving Docker with Unikernels: Introducing HyperKit, VPNKit and DataKit
My understanding is not great, but it looks like they're bypassing a host VM entirely and using a shim (HyperKit) to talk to whatever virtualization the underlying OS supplies.
avita1··on Scala Native
I like Scala, and this is purely anecdotal: but with Java 8 becoming pervasive and large companies adopting Scala style guides that recommend most of the advanced features away [1], Scala becomes a less compelling choice.

Sure, companies aren't dropping existing code in Scala, but I would be surprised if large organization were to push for new code to be written in Scala instead of Java 8.

Edit: link

[1] https://github.com/twitter/scala_school

avita1··on Introducing MIR
My guess is that in the future, source code -> MIR could be cached (on disk) so that whole-program optimization/linking could happen without compiling all of the source to IR.
avita1··on Google CDN Beta is already one of the fastest CDNs
It's not about the number of users, it's about the amount of unique content.
avita1··on Silicon Valley’s ‘unicorns’ have regulators worried
Doesn't that defeat the purpose of an IPO? The P does stand for public after all.
avita1··on Comparing Rust and Java
What are these fine-tuning and background daemon tricks? I have yet to see gradle run as fast as ant period.
avita1··on Toronto man found not guilty in Twitter harassment trial
> Once you block someone, there is no way they can contact you directly.

Most carriers allow you to blacklist phone numbers (although that very well may not have been the case when those laws were written).

avita1··on blip.strongloop.com is dead – what is this?
But they can't be stealing any identifying information right? At best it can count the number of times the package was downloaded.

Isn't the solution for npm to have tighter controls on where it will download packages from?

avita1··on We need to start drinking recycled wastewater
The article mentions mass desalination, but it doesn't actually go into how impractical it is compared to recycling wastewater.

http://www.nytimes.com/2010/07/11/world/asia/11water.html

avita1··on PostgreSQL 9.5: UPSERT, Row Level Security, and Big Data
Out of curiosity, has anyone managed to find something more detailed about the guts?

It sounds like it's basically a BTree that stops branching at a certain threshold, but I'm almost certainly wrong.

avita1··on Starting a tech startup with C++
Sure, I was referring to pre-1.0 rust ;)
avita1··on Starting a tech startup with C++
Ditto. I'm also curious if D ever came up. My impression is that it was (until recently) much more stable than rust.
avita1··on Starting a tech startup with C++
Not to dredge up this debate for the umpteenth time, but the same can be said of unit tests: they are not a proof of correctness, and they often give you a false sense of security.
avita1··on How Shazam works
There was an article on here a few months ago that talked about Shazam's ability to predict hits months in advance.

http://www.theatlantic.com/magazine/archive/2014/12/the-shaz...

avita1··on How I’d redesign piano sheet music
Such an instrument exists! http://www.rogerlinndesign.com/linnstrument.html

My biggest gripe with this notation is that it assumes you're playing in a key, so the lines go <D E F# G...> for the key of D. That causes the spacing for a D chord and an E chord to look different, even though they're composed of the same intervals.

avita1··on How I’d redesign piano sheet music
You lose a lot of information that way, e.g. voicing/inversions. Also, reading text names get a lot more cumbersome when you need stuff like "Ab half dimished +9".
← PreviousPage 2 of 3Next →