voidlogic

Joined 14 years ago

Karma
3,297
Submissions
1,171
Member since
Nov 15
View on Hacker News

Recent submissions

Comment · 3 years ago
Right but a Google L6 is a was probably a PE at the last Fortune 500 they worked for.
Comment · 4 years ago
Why do you think the engine is beyond saving? I use Firefox everyday and have absolutely zero complaints...
Comment · 4 years ago
You can still run firefox as normal app, and it's rock solid.
Comment · 4 years ago
Comment · 4 years ago
Hey, I live near you. Agree on multiple points. I doubt most people from the coasts would believe how good the food and drink scene in Winona and La Crosse is.
Comment · 4 years ago
You are changing your view of the hard worker mindset based on experiences with a single individual?
Comment · 4 years ago
Everyone I know in the API / CDN / Proxy space switched from using ab to wrk years ago for good reason. PSA: Please stop using ab and use wrk/wrk2. ab doesn't even support HTTP 1.1...
Comment · 5 years ago
Most of your above list would be taken care just by sticking to Ubuntu on Thinkpads using gnome-session-flashback. Its basically a polished version of the same DE I have been using since 2004 and love... rock solid (not of the boot or HW issues you mentioned, etc). I spend like no time ever messing with it and its been that way since 2014, 2016?
Comment · 6 years ago
I still don't understand why someone would want to use this over GOGS....
Comment · 6 years ago
At my college all the dorms had a kitchen for residents to use in the basement... is this not normal?
Comment · 6 years ago
I find Go's approach to be in the Goldilocks zone. Its not intrusive enough to slow me down (or guarantee correctness for that matter...) but its enough that I no longer need to save the multi-threading something I know needs to be multi-threaded for a second pass and very rarely have multi-threading issues or trouble debugging.

That being said, developers often have a bit of learning to get there, but that can greatly be accelerated by good team/mentor code review and discussion.

Comment · 6 years ago
Also of note is having to terminate a single TCP/TLS connection per client vs one for every concurrent client request! Even if you are using a middle man like a CDN doing HTTP 1.1 pooling this is still reducing the established TCP/TLS connections by an order of magnitude or more.
Comment · 6 years ago
This code should just call sha1.New(). If for some reason these allocations are a performance issue it is very simple to fix that will a little pooling:

    package main

    import (
        "crypto/sha1"
        "hash"
        "sync"
    )

    func main() {
        hasher := getHasher()
        defer poolHasher(hasher)
    }

    var hasherPool sync.Pool = sync.Pool{
        New: func() interface{} {
            return sha1.New()
        },
    }

    func getHasher() hash.Hash {
        return hasherPool.Get().(hash.Hash)
    }

    func poolHasher(hasher hash.Hash) {
        hasher.Reset()
        hasherPool.Put(hasher)
    }
Comment · 7 years ago
Comment · 7 years ago
IMHO they should either just adopt Dave Cheney's errors package (https://github.com/pkg/errors) into the standard library or leave it as it is becoming the de-facto standard.

The parallel reddit thread seems to agree too: https://www.reddit.com/r/golang/comments/biexq0/go_113_xerro...

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton