HNHacker News
TopNewBestAskShowJobs

ktt

161 karma · joined March 11, 2013

submissionscomments
ktt··on Why we need the best tools on Chromebooks and Raspberry Pi
If VS Code is written in HTML/CSS/JS wouldn't it be possible to use it without devmode on Chromebook?

Oh, I just found a issue for that: https://github.com/Microsoft/vscode/issues/1031

ktt··on Ask HN: What laptop should I get instead of a Macbook Pro?
I should've done the same. After 8 months of having it it still has a lot of very weird issues. I hoped Dell would somehow fix it with a firmware update but nope... everything is still the same.
ktt··on Ask HN: What laptop should I get instead of a Macbook Pro?
Which version? I've got XPS 13 9350 and it's been a constant pain. Boot time is very slow [0], bluetooth connectivity is weak, I've got constant graphic glitches when on battery. Latest update of the video driver introduced annoying coil noise, I had to downgrade. Actually I have two XPS 13s at home and both of them have some issues.

I'm also using Dell Thunderbold Dock TB15 and it drops video output and USB connections after 3h (because of heat) [1].

Of course I've got everything updated.

I had an excellent experience with XPS 12 years ago but this 9350 is constantly driving me crazy. I would certainly not recommend it.

[0]: http://en.community.dell.com/support-forums/laptop/f/3518/p/...

[1]: http://en.community.dell.com/support-forums/laptop/f/3518/p/...

ktt··on Why kernel development still uses email
Something like this https://github.com/google/git-appraise ?
ktt··on Purposes, Concepts, Misfits, and a Redesign of Git
Not the parent but I'm using it to stage sections of the file and then revert everything that is not staged. For example all logging statements. Or use staging as a mini commit. It's sometimes easier to look at the diff and stage what you consider to be working code without introducing commits. That of course could also be done with committing and then squashing but that's more work :)
ktt··on Ask HN: How are credentials managed at your company?
This is by far the most interesting scheme in this entire thread!

How do your software components authenticate to each other? With client certificates?

ktt··on I tried to fly to London on a fake passport [video]
Exactly but not for all surnames. See: https://www.quora.com/Is-it-true-that-in-Russian-culture-a-w...
ktt··on Introducing dumb-init, an init system for Docker containers
Reminds me of RancherOS that also have Docker running as PID 1: https://github.com/rancher/os#how-this-works
ktt··on Show HN: Runiq, a little Lisp-inspired language that runs on JavaScript
Cool! Reminds me of https://github.com/kanaka/miniMAL
ktt··on Can we use Jenkins for that?
Yep. Not long ago a remote code execution hole in Java was found. Fortunately Jenkins was quickly patched: https://jenkins-ci.org/content/mitigating-unauthenticated-re...
ktt··on Git-appraise: Distributed code review system for Git repos
Probably the same way that git handles author and committer fields see: https://news.ycombinator.com/item?id=10005577
ktt··on Git-appraise: Distributed code review system for Git repos
What's interesting is that this project seems to be using itself for code review.

Clone the repo and then fetch notes manually:

    git fetch origin refs/notes/*:refs/notes/*
After installing it through "go get" check existing code reviews with "git appraise list".

There are notes from Jenkins and comments from developers as far as I can see.

Seems to be a little bit slow on my computer but the idea is really brilliant.

ktt··on Show HN: Decentralised Twitter – Microblogging on the Ethereum Blockchain
See also something similar using Bitcoin: http://eternitywall.it/
ktt··on Show HN: Nchan – a pub/sub server as an Nginx module
Wow, excellent! I've been looking for lightweight websockets pubsub and had to create something simple in Node to achieve it but this would've sufficed.

I can't wait to give it a try.

ktt··on GitHub's Metal Cloud
Unfortunately most of the material on ChatOps currently covers only how to get Hubot to display cat pictures or other trivia [1]. Maybe it's because each company should create their own "chat API" but I'd also like to hear some real, inside "war stories".

Does anyone knows what app does GitHub use for chats? Looks like a simple and elegant UI over Basecamp.

[1]: http://hubot-script-catalog.herokuapp.com/

ktt··on List of secure websites
TLS is not strictly mandatory in HTTP/2 (see h2c) but even if it was this list solves another problem - when user types e.g. Google.com in their browser the initial connection is made via HTTP. Preload list says "if this domain is typed in address bar go straight to HTTPS, if that's not possible stop the connection".
ktt··on List of secure websites
Then the attacker could just block the update servers.
ktt··on Public XMPP Server Directory
Thanks!
ktt··on Public XMPP Server Directory
Would you mind sharing which XMPP client do you use?
ktt··on Istanbul: A JavaScript code coverage tool written in JS
> Why the funky name?

> Since all the good ones are taken. Comes from the loose association of ideas across coverage, carpet-area coverage, the country that makes good carpets and so on...

https://github.com/gotwarlost/istanbul#why-the-funky-name

ktt··on DNSSEC surpasses 50% of root domains
Wow, I didn't know about it! That's a shame it was removed - I couldn't find a site to test it or the issue in Chromium tracker about removing it though.

More information: https://code.google.com/p/chromium/issues/detail?id=50874

And in Mozilla Wiki: https://wiki.mozilla.org/Security/DNSSEC-TLS-details

ktt··on Converting an existing Backbone.js project to Require.js
Use this syntax, IMHO it's a LOT more readable:

   define(function(require) {
      var $ = require('jquery'),
          Handlebars = require('handlebars'),
          Backbone = require('backbone'),
          MyModel = require('mymodel'),
          MyControllerAnimals = require('mycontrolleranimals');
          
Also require.js comes with an optimizer that automatically concatenates all required files (and no more!) minifies them and you don't have to worry about script order. Also using the text plugin you can package templates (text files) along with the rest of the scripts.
ktt··on A rich new JavaScript code editor spreading to several Microsoft web sites
Yep, that's the same editor (Monaco). This can be easily verified by checking the HTML.
ktt··on Twelve Go Best Practices
Interesting that this snippet:

  func (g *Gopher) DumpBinary(w io.Writer) error {
    err := binary.Write(w, binary.LittleEndian, int32(len(g.Name)))
    if err != nil {
        return err
    }
    _, err = w.Write([]byte(g.Name))
    if err != nil {
        return err
    }
    err = binary.Write(w, binary.LittleEndian, g.Age)
    if err != nil {
        return err
    }
    return binary.Write(w, binary.LittleEndian, g.FurColor)
  }
could be written like this:

  func (g *Gopher) DumpBinary(w io.Writer) {
    binary.Write(w, binary.LittleEndian, int32(len(g.Name)))
    w.Write([]byte(g.Name))
    binary.Write(w, binary.LittleEndian, g.Age)
    binary.Write(w, binary.LittleEndian, g.FurColor)
  }
if the language supported exceptions.
ktt··on Show HN: Save Memory in Google Chrome
Very similar to this extension: https://chrome.google.com/webstore/detail/tab-focused/mhdlja... (except the permissions)