Better HN
topnewbestaskshowjobs
Log inSign up

voidlogic

3,297 karma · joined Nov 15, 2012 (14y ago) · 1,171 submissions

Submissions

comment 9y ago · link · parent

Can Duo be used to Google Authenticator or do you have to use "Duo Push"?

comment 9y ago · link · parent

gccgo?

comment 9y ago · link · parent

What about the 5-10% performance boost? For me thats like getting a few hundred thousand dollars worth of free hardware...

comment 9y ago · link · parent

>They can abuse their near-monopoly of the market with almost no fear of reprisal.

What checkbox isn't Google checking to be hit by anti-trust action for its ad networks?

comment 9y ago · link · parent

>But where does that put 'mandatory reporters'?

They are OK, as they are not being paid by the law enforcement agency.

The issue here is a search is not a "private search" once the searcher is a paid government actor.

comment 9y ago · link · parent

Part of this is also that Go is really good at not allocating from the heap when it can allocate from the stack (escape analysis). Until Go 1.5 the Go garbage collector was pretty weak, but it didn't matter as much as it would have for a language with heavier heap allocation.

comment 9y ago · link · parent

Good point. I agree there are other reasons to use Go, I what mean is that unless I have a project that gets a lot of bang for the buck out of those, the KISSness of Go wins out over those nice features and their correlated complexity. GC was just at the forefront of that list of features.

comment 9y ago · link · parent

On similar note, why Rust over Go?

If I look at everything I used to write in C, I'd say 80% is well suited for Go and the rest I would fallthrough to Rust for. For the stuff where having a GC and slightly less control is OK, I don't see why I would want to use Rust. Rust is just much more complex and I prefer to keep it simple stupid (KISS).

Basically, Go is good for 90% of what I used to use Java for and 80% of what I used to use C for... trying to understand where it makes sense for Rust to fit in.

comment 9y ago · link · parent

>My goal isn't to create a C replacement, but a better Go. Go gets concurrency and syntax right but its type system is shitty. Go is a missed opportunity.

Have you considered forking Go and replacing the type system? If such an experiment was successful this could be the fabled Go 2.0...

comment 9y ago · link · parent

I'd be interesting to know to what degree Go's aggressive stack-based allocation/escaping makes this hypothesis less strong than other languages.

For example, Java a few generations ago was very poor at escaping heap allocation to the stack and so much the opposite skewing towards heap allocation over stack allocation, so I'm sure the JVMs of this era were an extremely good fit for the generational hypothesis.

comment 9y ago · link · parent

>I'm just trying to find a high end laptop that will run Linux flawlessly.

My 2nd Gen Lenovo X2 carbon is high end and runs Ubuntu flawlessly.

comment 9y ago · link · parent

You do not need to run as root to bind an application to a low port, instead use setcap (it works for everything not just Go): https://stackoverflow.com/questions/14537045/how-i-should-ru....

comment 9y ago · link · parent

>One other way to put this is, are you comfortable running your Go process as root (in order to bind to port 443)?

You do not need to run as root to bind an application to a low port, instead use setcap (it works for everything not just Go): https://stackoverflow.com/questions/14537045/how-i-should-ru...

comment 10y ago · link · parent

TL:DR? Compress diffs, don't diff compressed things?

comment 10y ago · link · parent

Also https://en.wikipedia.org/wiki/KISS_principle

comment 10y ago · link · parent

Like isomalt + erythritol ?

comment 10y ago · link · parent

Sounds better than sugar! I wonder if they consider using isomalt.

comment 10y ago · link · parent

>Operating system doesn't matter much when the malware is in BIOS or firmware code.

Are you insinuating that was the case here? Source please, I'd be interested to read about that.

comment 10y ago · link · parent

>I'm no Apple fan boy, but those Lenovos are not IBM Thinkpads anymore.

Are you saying the quality is down? I can't agree with that, I have kept buying Thinkpads and my X1 Carbon (2nd gen) is fantastic.

comment 10y ago · link · parent

>Lenovo's malware scandal should certainly give you pause, but do note that it was only installed on its consumer laptops. Thinkpads were unaffected.

And would not matter if you were installing Linux per this thread...

comment 10y ago · link · parent

>Just saying "typical" is borderline negligent

Pretty harsh for an informal post on a mailing list, its not like this was a formal proposal or an announcement.

Talking about why "typical" lacks meaning is fair, but calling the OP negligent is not.

comment 10y ago · link · parent

Google search bots etc, do client side rendering...

comment 10y ago · link · parent

>This does make it a little trickier, and potentially a little easier to detect.

Correct, I should have said, it eliminates many easy ways to download code. Defense is depth is all about making the attackers job harder and increasing their likelihood of being detected.

comment 10y ago · link · parent

>Always run services (e.g. ElasticSearch) with a unique user dedicated to that service and nothing else.

Quick tip; If you do this, you can also make your iptables rules be per user. For example, "webserverUser" can only accept inbound connections on 80/443 and only have outbound connections that are related to established inbound ones. If an attacker gains execution as this user, they cannot download new code, etc or even do DNS lookups for that matter.

comment 10y ago · link · parent

>Do you insist on being there for every hallway conversation? Of course not.

Lots of people have a pathological fear of being left out / not in the know. Just the other day a co-worker was lamenting how much time he spends checking all the channels just because he didn't want to miss something...

Because slack hallway conversations have a lower barrier than real ones, therefore it can be more taxing on people than real life, or other forms of communication, would be.

comment 10y ago · link · parent

Go and Python are not even close to being in the same league for performance in a majority of cases.

1: https://www.techempower.com/benchmarks/#section=data-r12&hw=...

2: https://benchmarksgame.alioth.debian.org/u64q/compare.php?la...

comment 10y ago · link · parent

Walmart has been rapidly growing their eCommerce operation for several years, the only difference in the past this has been done via multiple smaller acquisitions per year, rather than by huge ones.

comment 10y ago · link · parent

>alienates a tech-friendly user such as myself,

You mean FE engineers? :P (half kidding)

A lot of tech savvy folks think the old style UI is more usable. So you should take care speaking for a group.

comment 10y ago · link · parent

>Honestly, I find it horrifying people feel the need to vote for the "least worst option".

I think this is highly dependent on "how bad" the two mainstream options are. There are plenty people who think there is a legitimate concern that a Trump presidency could lead to nuclear war or some other kind of national disaster. If you believe this is a real possibility it comes much easier to empathize with voting for the "least bad option".

TL;DR I dislike Regan, but in a Regan vs Hitler election I would vote for Regan rather than a 3rd party I was actually more aligned with to try to ensure Hitler did not rise to power.

comment 10y ago · link · parent

> if they haven't simply 'rm -rf /'d you.

Or dd if=/dev/urandom of=/dev/sda1 bs=8M

1
567
40