HNHacker News
TopNewBestAskShowJobs

Debilski

18 karma · joined May 30, 2013

submissionscomments
Debilski··on Go Enums Still Suck
I’m wondering why we don’t use any type and definition-aware IDEs that could render the first line as a proper table (especially once there is a list of items of the same type involved). With headers and aligned fields. Similar to how Word would do it with inline tables.

Ideally of course with a switch to change to the second, more verbose definition.

Debilski··on What's in a Build Tool?
Depending on compiler flags was implicitly mentioned for sbt, though (point 8). Depending on the `.value` of the `scalaVersion` configuration property is the same thing and can be done for all other settings input as well.
Debilski··on 96 MacBook Pro’s in one server rack
Why use a menubar program…?

    $ man caffeinate
Debilski··on Fish shell 2.2
The problem is that some scripts are written to be `source`d.
Debilski··on What's new in Git 2.1
You could in principal store the old history in a separate repository then (reasons for this may be that the repo historically contained many binary files, possibly because it’s been converted from an SVN repo). After refactoring and rebasing (Note: You do in fact change the SHAs in this scenario – what they do in the blog post is a rebase+squash/fixup basically.) you prepare a new repo which is much smaller and in which you do all further development.

However, sometimes it may be necessary for developers to do a `git blame` which needs to include the old data or similar. If this happens, you add the historical repo as another remote and `git replace` the oldest commit from the dev repo with the historical repo.

Only a few developers will ever need to use `git replace` in this scenario, so it would not say that it is too confusing. (If it was confusing, I’d say everybody would probably have learned that it exists the hard way…) Maybe think of it as a kind of git submodule but for time.

Debilski··on OS X Command Line Utilities
This is probably the thing I’m missing the most in fish shell.
Debilski··on LXQt – The next generation of the Lightweight Desktop Environment
For starters, they could try to get the spacing in and between UI elements right. For example, the text in drop down menus looks pretty misaligned in those screenshots.
Debilski··on GitHub monoculture
I find that casually overlooking the root directory very often gives me a good estimate of how active the project is (and in which subdirectories it’s been worked on most recently) and also (very superficially) how clean the code base is (e.g. are there falsely committed backup/swap/a.out files even in the root dir). Of course, in most cases I’d immediately scroll down to the readme.

Unless, however, I really do want to view a file online (say because I want to check the API of some command I’m using and it is not documented otherwise) in which case I really appreciate that it is so easy to find. I really don’t understand why most other web frontends (Bitbucket, Gitweb, GitLab) make the commit log the first thing to see on the summary page. These mean nothing to me from an outside perspective.

Debilski··on Why Stack Overflow in Portuguese?
Arguably, Esperanto was created by one hobby linguist about 125 years before today’s linguistic research, so I would not stress that too much.
Debilski··on Python on Wheels
An OS solution which allowed for versioned packages to be installed on a per-project base. That’d be something…
Debilski··on Try Julia
round(x) only works for a few specialised types of x. help(round) tells you that it will return the same type then. Of course for a type of MathConst{:π}, that won’t work. For generic types, you need to at least specify the number of digits (round(pi, 3)). (See also: methods(round))