Better HN
topnewbestaskshowjobs
Log inSign up

drvdevd

1,178 karma · joined Oct 17, 2013 (13y ago) · 589 submissions

Submissions

comment 10y ago · link · parent

I agree. And I work remotely now. It seems the #1 requirement for remote work to work is ... mutual understanding. Otherwise you end up with communication gaps.

The case for VCS is interesting to me because I believe we could replace a number of complex tools in the stack with proper use and style on top of that.

Literally, we could do 90% of it all with just a VCS and people paying attention to it. You know: commit early, commit often, read commit messages, understand the code, run the tests. And so on and so forth...

comment 10y ago · link · parent

There is a vagrant libvirt plugin [https://github.com/vagrant-libvirt/vagrant-libvirt], which makes for a nice interface to libvirt if you are used to vagrant. Personally I think it would be great if there were an alternate tool that could make use of vagrant's existing infrastructre (e.g: base box images on Atlas and config scripts) but which is closer to libvirt...

comment 10y ago · link · parent

Also:

> LinkedIn will show you the professional discipline, GitHub the shared libraries and their publicity.

I would guess that NSA has a firm grasp on this sort of basic OSINT problem and code attribution techniques.

comment 10y ago · link · parent

Brilliant. I believe from this vantage the whole situation becomes much less clear which is of course very interesting.

comment 10y ago · link · parent

Good point. It's hard to take anything at face value in a situation like this (other than the working code itself that was released). In particular: everything in the corresponding manifesto could be complete nonsense or misdirection.

comment 10y ago · link · parent

Ha! Same here. This is exactly why I wish more (overtly) political stories weren't flagged so quickly as of late... 9/10 the HN commentary really is superior.

comment 10y ago · link · parent

The way I personally use it ... I'd say you're exactly right. And adding that to an easy cross compilation/platform story that can side-step C toolchains in many cases, garbage collection, and intelligible concurrency, and you've got an extremely useful tool.

comment 10y ago · link · parent

Just speculating: this might mitigate some kernel level exploits but since its typically usb card <--> usb bus/controller <--> PCI bus, presumably hardware or kernel bugs elswhere in that stack could still be exploited. Interesting thought!

comment 10y ago · link · parent

I should add that there are the obvious benefits to these 'constraints' -- if you can stick with mostly what's exposed already in the default nix packages your configuration will be very clean and your system will be built in a reproducible way from the start.

comment 10y ago · link · parent

I've used it as a server before and it's quite nice, it just requires getting used to the nix language a bit and possibly dealing with customization work when something you need isn't exposed already in /etc/nixos/configuration.nix. For example, imagine you needed some weird iptables functionality - you might end up writing some shell-ish rules using 'networking.firewall.extraCommands' [https://github.com/NixOS/nixos/blob/master/modules/services/...]. Of course other admins on your team might have to be on board with this learning curve too.

comment 10y ago · link · parent

I have a similar situation, and agree. I actually keep Linux installed on a separate partition on my 2015 Retina MBP. I shrink the OS X partition as much as possible, and install grub on the EFI system partition, alongside OS X. When in OS X, I use VMWare (with an EFI-based VM) to boot the Linux partition and slowly over time I'm working on getting the thing to run Linux smoothly as a Desktop alternative to OS X. This involves some weirdness. For example I had to recompile my kernel yesterday with some patches just to get suspend/resume working in Linux due to hardware changes introduced circa 11,4. This is an example of the challenges Linux/other free software OSes face which companies like Apple don't on the Desktop -- a tight coupling between OS development and hardware design. It's actually quite remarkable how far Linux has come in spite of this.

comment 10y ago · link · parent

Does this make any sense in an open workspace where you're surrounded by a million other laptops and cell phones anyway?

comment 10y ago · link · parent

Interesting take. When I first read this article I admit to buying in to the sensationalism a bit -- but I'll have to agree with you that The Darknet really hasn't changed this situation significantly, rather it's just introduced a more convenient route for would be malicious insiders.

Also, from another perspective (as you explain), it's actually made it easier to catch such insiders, due to the open nature of these markets (regardless of the fact that they're 'Dark' or believed to be anonymous).

comment 10y ago · link · parent

Thanks for this! I didn't realize (or had forgotten) LUKS had been ported to Dragonfly. Also you touch upon my #1 frustration with APFS without really knowing anything about it: simple portability.

comment 10y ago · link · parent

Actually, perhaps this doesn't address all your points, but I share the sentiment about VM snapshots "feeling" quite similar, in fact I experience it every day as I run ZFS as a root filesystem within VMware. The real gain for me is that all of these tools are in-band with my working OS. If I were provided a VM(s) on AWS or some SAN by my employer, that could in theory give us a mutual benefit. Ops could avoid giving me access via IAM or whatever and expanding beyond some set limit, but allow me to perform almost identictal "ops like" tasks using ZFS (which I also find to be fairly user friendly).

Incidentally, I'm also a fan of nested virtualization and using git on top of ZFS... I believe all of these tools complement each other nicely as opposed to being mere repetitions.

comment 10y ago · link · parent

I think the number one legitimate concern I can see, after just reading this for the nth time, is the trustworthiness of C++ compilers, which I believe was not so great in the early 90s. Now, I have no evidence to back this up (yet), but I'm willing to bet that clang and LLVM are verging on as trustworthy as (if not more than) GCC at this point. Nevermind MSVC, which would require its own analysis. I'm not a C++ programmer, but you're right: clearly it has advanced. And Linus has gone off on GCC as well for producing crappy output as well (https://news.ycombinator.com/item?id=8089321)

comment 10y ago · link · parent

Or perhaps the more obvious: you try to disallow 'npm install' in some limited environment but allow other npm commands?

comment 10y ago · link · parent

Yes, I agree and also thought of shell aliases when I read this. On top of that there's an argument forming somewhere in my mind that this also sets a bad security precedent in the long term... although I can't put my finger on it exactly. Any place where you unnecessarily widen the range of possible inputs (especially in a shell interface) seems to invite future abuse. For example, what if some future maintainer decides to make this a regex match?

comment 10y ago · link · parent

It seems like a losing battle though. Small embedded cameras are becoming too widespread and you can't put tape on all of them. I think looking forward it's not unreasonable to rely on software controlled switches to minimize this risk, knowing that they will fail or be exploited sometimes anyway.

comment 10y ago · link · parent

You've made one of the most compelling points I've seen in this discussion so far. Really - why mix an application security mechanism into the transport layer? DDoS attacks will happen whether Tor is blocked or not. Add to this some other interesting points I've read here regarding: IPv4 exhaustion, NAT and IPv6 growth. All signs seem to point to the need for an application level solution.

comment 10y ago · link · parent

And here you've hit upon what would actually be interesting: the open sourcing of Windows itself, open sourcing of Hyper-V, etc. This is a 'nice to have' addition to Windows for sure. But it really does nothing to make Windows more relevant as an open source platform which is actually a major technical strength of most UNIX-alikes. And no I'm not saying Microsoft has to go GPL.

comment 10y ago · link · parent

Regarding the path of least resistance for developers eventually, hopefully, perhaps traversing NAT will prove to be a bigger pain for the average developer than just using IPv6.

comment 10y ago · link · parent

Agreed. I had to navigate away quickly. Which is a shame because the article was interesting.

comment 10y ago · link · parent

Not exactly disagreeing with you but for a long time now the web has been our primary path to most forms of code execution hasn't it? I mean if you count HTTP as the web in addition to browsers?

comment 10y ago · link · parent

This line stood out to me (especially after reading the protocol explanation points from a manufacturer just above): "I’m baffled as to why such a well-known brand as Foscam would enable P2P communications on a product that is primarily used to monitor and secure homes and offices."

Well the first answer that came to mind for me was NAT. There's a reason you'll see both botnets and (commodity, cheap) security cameras generating P2P traffic: NAT.

NAT+IPV4 is a problem that adds complexity and less usability at the cost of security. It's a clear bolt-on design that consumers have tolerated probably for longer than we should have. I think ISPs have mostly created this problem in being slow to adopt something else.

I would also agree that we have a basic usability problem in home routers and pretty much the entire concept of firewalls when it comes to normal users. How do you explain egress traffic filtering to someone who just wants to control their thermostat from their phone and stuff?

comment 10y ago · link · parent

If you're in the email marketing business having to create and test email templates, this could actually be a very practical exercise and a team building game at the same time, I think. These bugs are a serious pain point sometimes for folks on deadlines. I could see making a sort of perpetual internal game out of this to make the job more fun and incentivize documenting new bugs found.

comment 10y ago · link · parent

You beat me to this! Awesome!

comment 11y ago · link · parent

Immediately upon reading 'csrutil disable' I thought of 'setenforce 0' and the fact that this is usually the first measure taken to deal with SELinux by many users, usually against better judgement. However this, like SELinux, begs the question: is this a good user interface design? Or simply a small stumbling block for malware authors? I suppose the devil is at least partly in the details: can a kernel exploit at runtime easily flip a few bits somewhere and disable SIP?

comment 11y ago · link · parent

Yeah when I read the post, I kept thinking about the fact that there are a number of areas in which the just plain interested individual could focus their efforts to achieve the same general feeling of depth the author had back then. And this can also transfer across technical domains in unexpected ways. For example, in-depth knowledge of how the Linux Kernel's network stack works could transfer to a large eventual cost savings when some BGP implementation is improved based on that knowledge. And maybe that improvement turns out to be mostly 'algorithmic' and maybe that algorithm was devised by someone working in JavaScript.

I think the network hardware issue alone is a good example of where the complexity in the stack has probably increased exponentially since the 90s.

1
1617181920