Better HN
topnewbestaskshowjobs
Log inSign up

drvdevd

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

Submissions

comment 9y ago · link · parent

Makes me think of Eliza :)

comment 9y ago · link · parent

Well, whatever he's calling himself, I think the article is pretty cool. NFC is a protocol I'm interested in but know nothing about so this is interesting and helpful.

comment 9y ago · link · parent

This is one reason I want to make the use of some sort of spaced repetition software a habit for myself. I can't think of any better way to keep learning new things than structured practice..

comment 9y ago · link · parent

So basically both hosts (workers) were supposed to be storing session data in a shared Redis cache, but one host was misconfigured and was storing (and/or retrieving) session data from local memory instead?

comment 9y ago · link · parent

While I can't answer your question about biology/pharma, I will say that depending on how you look at it - Conover's vindication of routine chemistry had some of the same elements of sexy as Fleming's discovery of Penicillin. That is, both discoveries were "hidden in plain sight" and owe their existence to the different lab work styles (and thus points of view) of their discoverers.

comment 9y ago · link · parent

Agreed. I actually don't care about watches, personally, but I found the author's writing compelling enough to remember why I care about some things that just might not be considered "practical". Very inspiring.

comment 9y ago · link · parent

Yeah, I figured as much, but was hoping there might be something about the Linux subsystem that would be helpful in porting drivers around, beyond userspace.

Obviously, I've yet to actually use it myself.

comment 9y ago · link · parent

I use it all over with LUKS on Ubuntu. It works fine, but there's one little hitch:

when calling anything that ultimately calls grub-probe (e.g. apt-get upgrade), you have to symlink the decrypted device mapper volume up a layer into /dev because grub-probe can't seem to find the ZFS vdev(s) otherwise. ie: "ln -s /dev/mapper/encrypted-zfs-vdev /dev".

This is in fact the case on every Linux distribution I've run ZFS over dm-crypt on.

EDIT: IOW its a grub bug not an Ubuntu bug.

comment 9y ago · link · parent

I wonder if the recent Linux syscall emulation on Windows would somehow make it possible or easier to port ZFS on Linux to Windows.

I know you have the SPL anyway, so maybe with the addition of the Linux POSIX-ish layer in there this could be the case...

comment 9y ago · link · parent

I wonder if you're aware that you've created a comment to which it's impossible to reply without a spoiler?

comment 9y ago · link · parent

People in the computer hardware/software repair industry should be infuriated by this as it erodes trust in their profession generally -- not just Best Buy.

I know I'll be recommending that friends and family just backup, destroy, and/or reinstall, and avoid repair shops unless absolutely necessary.

And of course -- Don't buy from Best Buy.

comment 9y ago · link · parent

I'm sure you're not the only one. As a soon-to-be Dad and long time single hacker late night guy, I've been wondering myself if I'll feel the same way.

But then I remember the day jobs I've had where I was thinking the same things on the clock: lamenting what I'm not working on and will probably never accomplish. Especially including the programming and/or devops jobs.

I've got to say I can't point to a single job (even working in a restaurant as a dish washer, and on a ranch) where I couldn't have found any way to constantly increase my knowlede even by some small ammount while working. It's even more challenging to me working remotely on gigs that are utterly boring, because I'm tempted to stray out into left field and the Internet makes that so easy of course.

But those boring gigs carry value that I can find if I look for it, and that I can build upon. Every second, they offer opportunities for exploring a new problem domain - for learning something new. And my client gets a great ROI if I do that. We both win.

And with Kids, is it not a good thing to tell them about what you're working on? To show enthusiasm for your work? You say you try to teach your kids things - I've heard it said the best way to learn something is by teaching it, right?

comment 9y ago · link · parent

I just have to say... glossing over the details quite a bit, not reading the article. Mostly I've just read peoples' thoughts on here and Twitter.

But my initial gut feeling/reaction about this news is that it's distinctly un-interesting as compared with, say, Shadow Brokers or Snowden.

Just my initial reaction...

comment 9y ago · link · parent

But - I can't think of a single language in which using it "wrong" might not lead to info leaks? Any language with a runtime has to manage memory somehow at the runtime layer and so similar leaks can occur there depending upon design and implementation, and the wider OS context.

At the whole program/application level, when you create your own data structures, you can find lots of ways to leak them to the world.

comment 9y ago · link · parent

I agree. I keep seeing comments about C being the culprit, but in my mind, this is more of a policy issue regarding how any given language initializes and allocates memory.

Sure, in this case, we may see a C-specific bug in play, but I think this sort of bug is more effectively mitigated by forcing buffers to be zero-filled upon allocation and/or deallocation, and perhaps system-wide at the OS level, rather than relying upon language features to cover it.

So - I'm not explicitly defending C here - I just don't think a similar bug could never occur in a "memory safe" language as well.

comment 9y ago · link · parent

I believe it's about .026/GB-month so about $20-30/TB-month. My ultimate goal is to get some scripts going to push the least-accessed datasets into nearline which save me about, say, 30% on total cost.

I consider the total price I pay for cloud backups as a form of punishment for how poorly I manage my data ;) ZFS will let you go crazy and expand forever transparently but you should actually know what data you really need to back up...

comment 9y ago · link · parent

Primary LAN backup:

--

  - 7TB ZFS pool running on Ubuntu Xenial

  - hardware: an old laptop with 6 cobbled together external USB 3.0 drives making up the pool

  - each vdev (3 total) in the pool is mirrored

  - standard tools on top of that: time machine + netatalk, NFS, samba, SSH+rsync, ZFS send/recv, etc.

  - external drives need battery backup (can't recommend the case where you don't have battery backup for ZFS vdevs)

  -- no ECC RAM

Off-site backup:

--

  - Ubuntu Xenial running in google cloud, 10GB root volume, 3.75G RAM, 1 vCPU

  - secondary (backup) disk is currently only 1TB, with a zpool as filesystem. Easily expandable by adding virtual disks as vdevs (plus I trust their hardware slightly more than my own).

  - using ZFS send/recv to selectively backup important datasets and keep cost as low as possible
Secondary LAN Backup and Restoration Testing:

--

  - a separate 8TB disk on another ghetto piece of old x86 hardware, no redundancy

  - restored from the offsite backup to get 2-for-1: backup and restoration testing

Encryption:

--

  - everything local uses dm-crypt

  - as for google cloud, I also use dm-crypt. If I want to conceal the keys from remote memory, I use nbd-server to expose a block device across SSH

comment 9y ago · link · parent

Very interesting. I need to read up on smart contracts to better understand your post but the first question that comes to mind is: if you use virtual machines to run the code and test the exploits, against which platform(s) would those VMs be built? Would the idea be to standardize on one virtual infrastructure (and therefore class of exploits) or would you allow just about anything?

I ask because I can imagine some (or many) PoCs would require hardware and software of a different platform than usual e.g. qemu+x86_64 vs ARM vs MIPS. So, I guess I see a somewhat complex infrastructure problem that this would need to have solved.

Perhaps the VM for running the exploit and exploited code in question should be wrapped around the binary that the vendor distributes, with an intention that it be e.g. ELF on x64 Linux 4.x, statically compiled?

comment 9y ago · link · parent

I've wondered the same. What if you just opt out of 90% of everything? What are the implications of not using social media?

comment 9y ago · link · parent

Also the brand/form of L-theanine seems to matter as well. I've tried several and the random cheap brand I purchased at the local health food store seems to have had the most noticable effects.

comment 9y ago · link · parent

Well, moving away from SMS doesn't mean you're stuck with just Signal of course... what about XMPP for example?

I consider Signal an imperfect but extremely useful option for a very specific use case: getting my family and friends to send me (and each other hopefully) encrypted messages, just cause.

And after having done that, I can say I see the genius of the approach Signal has taken.

comment 9y ago · link · parent

"These people overcame heat-death with this one simple tr-"

comment 9y ago · link · parent

Thanks for this! Ive been doing wacky stuff like kexec which was completely unecessary when I could've just done a pivot_root...

comment 9y ago · link · parent

This is an important point. AI could replace many programmers for example. Or make better investment decisions.

It has the potential to kill the entire notion of wealth as we currently know it, regardless of social standing.

What then?

comment 9y ago · link · parent

I'm curious whether or not there's even a test for the presence of this drug or it's metabolites in the blood of a user who has taken it within say even just the past hour, due to its purportedly short lived effects...

Not curious enough to consult the literature, but curious.

comment 9y ago · link · parent

Having used both plain LXC and BSD Jails before Docker was a thing, and now using Docker after, I can say much of this is true. But there's a fundamental additional point: Docker's marketing has increased its' usage for application development in general, and now it has become technically useful because of the resulting ecosystem they grew around that. Docker Hub is quite useful if you just want to deploy some app quickly -- usually it's already been done for you.

comment 9y ago · link · parent

"Perp stole 50CB of classified data. Hear he was all hopped up something they're calling 'Heap Spray'"

comment 9y ago · link · parent

I think you're right.. The numbers don't seem to add up. They seem like inflated "media" numbers. The media/general public just knows 1TB is "big" (because most people just need gigabytes) and 50 times that is Serious Business.

comment 9y ago · link · parent

Yes, I understand the performance gain. But the difference here with respect to management, presumably, would be that when this is loaded/compiled in the kernel, less userspace setup would be required -- correct? I'm assuming it would just show up like an available network device at boot. I need to watch the talk still.

I know doing the same for TUN/TAP is not a leap really, but it's one more thing to have to consider. Also I have no idea what the performance implications of TUN/TAP are either (although I frequently use both, I've never measured it).

comment 9y ago · link · parent

So I've caught flack for choosing an OpenSSH "native" VPN (where it sets up TUN/TAP for you on both ends, etc..) over IPSec before.

While I'm sure it's probably lower performance, if you've ever done more than just plug and play some Cisco IPSec stuff (e.g. manually implement IPsec on Linux), it is terrifying in its complexity, IMO, for something you depend upon so critcially.

1
789
20