HNHacker News
TopNewBestAskShowJobs

mborch

354 karma · joined February 5, 2013

[ my public key: https://keybase.io/malthe; my proof: https://keybase.io/malthe/sigs/P91I55t_n-qdnNBhpjFQx6FiKdTKsqccUyLeNV5f7TI ]
submissionscomments
mborch··on How We Got Here: DNA Points to a Single Migration From Africa
"However, neither Mallick et al. nor Malaspinas et al. exclude the possibility of multiple out-of-Africa dispersals." (from the commentary).

How is that one wave?

mborch··on The great fire of London – 350 year anniversary site
Terrible user experience. There's no reason to use this kind of interaction when it's not adding to the experience.
mborch··on US Senate website says use HTTP instead of HTTPS
If you live in a country where you can't trust your ISP then there is a very real MITM risk.
mborch··on Cruise
It's already public record since it's a law suit.
mborch··on How Software Gets Bloated: From Telephony to Bitcoin
Are you saying that the only programmer who's able to avoid bloat is a not-smart programmer? The truth is that it's a balancing act and it's not always clear when bringing in yet another externally maintained library is the right thing to do.
mborch··on How Software Gets Bloated: From Telephony to Bitcoin
Very true. It's like a cooking competition where you take over from someone else after being blind-folded. Unless you're from the same schooling chances are the result will lack direction. The equivalent in software is bloat. Note that sometimes that "someone" is your former self and you forgot what the idea was.
mborch··on The Sign Up with Google Mistake You Can't Fix
You're right and actually the CEO reached out and clarified this. I have updated my post to try and better reflect the problem.
mborch··on The Sign Up with Google Mistake You Can't Fix
I did after about 18 minutes which did limit the import to just the most recent emails. Phew!
mborch··on Show HN: Insideout – does this new approach to Python packaging makes sense?
No it doesn't.

I think most people would be surprised to find the package's contained module in the root of the repository because it's not one-to-one with what will end up being "installed".

Also, a package can install multiple modules.

mborch··on Diesel: A Safe, Extensible ORM and Query Builder for Rust
You can use a CASE-statement for each possible filter and apply it only if the filter value(s) are non-trivial.

    -- Parameter :filter
    --
    AND CASE WHEN :filter IS NOT NULL THEN
        table.column = :filter
    ELSE TRUE END
This has zero cost in the case where :filter is unset.
mborch··on Fira Code: monospaced font with programming ligatures
Escape using zero-width space character to break up the ligatures ...
mborch··on 24/192 music downloads make no sense
different compressions being talked about here.
mborch··on Sift: Grep on steroids
Just add these to your .gitignore/.hgignore/.agignore file.
mborch··on Qualys Security Advisory – LibreSSL
Yes.
mborch··on Blip: A bytecode compiler for Python 3
This is required due to Python's semantics. You can't optimize that away unless the code is written to explicitly turn a global into a local.
mborch··on Secure channels over TCP/IP
"On our production frontend machines, SSL/TLS accounts for less than 1% of the CPU load, less than 10 KB of memory per connection and less than 2% of network overhead. Many people believe that SSL/TLS takes a lot of CPU time and we hope the preceding numbers will help to dispel that." - Adam Langley, Google.
mborch··on Constructors in Ceylon
Dart uses the following sugar for a "simple" constructor:

    Color(this.rgba);
That is, it directly assigns the argument to the slot (which must be defined at class-level.)

Of course, it's still repeating the class name but that's solvable.

mborch··on Kore: a fast web server for writing web apps in C
Just put HAProxy in front of your server. You'll want that anyway most likely.
mborch··on Is Time Series Database a Thing?
The article states the opposite: that it's write-heavy.

The difficulty in managing time series data is that you need to do roll-ups and generally avoid doing the same work twice - that is, read the same rows over and over again.

If you're doing the same work over and over, it's always going to be slow. Don't do that! InfluxDB could presumably be built on top of PostgreSQL. It just manages the data lifecycle. But that would be a polyglot mashup project then and not something you could sell to VCs.

mborch··on Who Cares about GET vs. POST? NoREST
Just require query string to be sorted. In Python:

  urllib.urlencode(sorted(params.items()))
mborch··on Advancing the realtime web
PostgreSQL can be schemaless if you want it to be. It obviously does joins, so that leaves only the awesome query language.
mborch··on Riot – A React-like, 2.5K user interface library
Maybe just watch me on Github.
mborch··on A better pull request
Interestingly, only Github manages to syntax highlight the diff.
mborch··on Docker and the PID 1 zombie reaping problem
Fair enough, but for the record it's at least 10 MB (try starting up Python and import your list of modules).

The environment variable handling and other stuff could perhaps be handled in a separate bash-script (or Python), such that the scope of the actual reaper is sufficiently small (to use a lower-level language).

mborch··on Docker and the PID 1 zombie reaping problem
It's trivial to write this program in C and it is a waste of memory to load up 50 MB of Python just to accomplish this simple task.
mborch··on Hope – A Python JIT for astrophysical computations
How is allocating and populating a Python list order to do a simple for loop in a tight inner loop not problematic? Neither CPython nor PyPy can optimize that out.

As I said, this is assuming we're on Python 2.x.

mborch··on Hope – A Python JIT for astrophysical computations
Assuming this is Python 2.x (doesn't seem to be specified in the benchmark results), then the use of "range" is problematic (should be "xrange").
mborch··on Postgres full text search is good enough
http://xapian.org/
mborch··on ShellShock exploited in the wild: kernel exploit with CnC component
http://linux.die.net/man/3/execv
mborch··on ShellShock exploited in the wild: kernel exploit with CnC component
Run the program without starting a shell?
← PreviousPage 3 of 4Next →