Better HN
topnewbestaskshowjobs
Log inSign up

drvdevd

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

Submissions

comment 10y ago · link · parent

From experience (retina mbp 2015, 15"), I would highly recommend you do not try to run Ubuntu (or other Linux) on newer Apple hardware. Take the money you'll save by buying a "lower end" laptop/desktop x86 machine and put it toward buying more RAM, a better SSD, nice peripherals, etc...

comment 10y ago · link · parent

Actually, although I believe the hardware is overpriced, and personally have no gripes about new designs -- I just don't care about them -- I would agree this is where the core problem lies with Apple right now. Almost squarely in software. I could drone on about the reasons for this, but to me it feels like something fundamental is missing in that area now. Something that only Apple used to have.

comment 10y ago · link · parent

Interesting to note how important this is for developers to consider now. If we're going to move to an HTTPS only web, we need to both: 1) understand how CAs work (including how to be your own local CA) and 2) make this an easy or seamless process in terms of workflow.

Granted, it's really not that difficult, but baking this into existing development environments will become a task many projects will need to repeat.

comment 10y ago · link · parent

Well, personally I'm not dead set on non-native code, just thinking of ways to make something "cross platform" this is close enough to native code to make other team members comfortable. Personally, I'm the type to just write native code first as I believe it skips lots of the quirky situations as mentioned in the post. So I completely agree.

comment 10y ago · link · parent

For me, with the only PhoneGap app I've worked on, there were required extensive bridge code to Native APIs, anyway. So adding in the webview components just meant having a mess of different languages/frameworks in the codebase where I don't think it would've required very much native code anyway.

Is there a good meta-compiler solution targeting native APIs across mobile platforms that people are using lately?

comment 10y ago · link · parent

It's interesting to think of it this way. Clearly, the attackers (being ISPs in this case) don't see it this way or don't want to see this sort of MITM this way. Following one of the links in the article [1], you get some great quotes:

> Comcast injects ads into unencrypted traffic, because "it's a courtesy, and it helps address some concerns that people might not be absolutely sure they're on a hotspot from Comcast".

So maybe someone out there actually feels this way when they find content has been directly injected in their unencrypted browsing session. I sure don't.

[1] https://konklone.com/post/were-deprecating-http-and-its-goin...

comment 10y ago · link · parent

What new rule(s) are coming into effect in 2017?

comment 10y ago · link · parent

I find that reading fiction improves my overall desire and ability to read in general - thus improving my ability to take in technical content as well.

429.

On the modern web, ISPs are one of your threats (2015)(utcc.utoronto.ca ↗)

150 points · by drvdevd · 10y ago · 61 comments

comment 10y ago · link · parent

Ok. That's a great summary and good point about non-trivial userspace bits. I hadn't considered how complex "booting" as a process has become...

comment 10y ago · link · parent

This is a great movie! Tempted to watch it right now.

comment 10y ago · link · parent

Though I take your point and mostly agree, is there any reason this couldn't be done with a static boot binary entirely in RAM? Since the kernel is modular anyway, much of the special purpose cruft loaded by the initramfs could just be loaded and unloaded with a boot script of some kind right? I mean: it could all sit on the same filesystem without having a CPIO image on disk? Grub supports pretty much every filesystem already so loading this initial kernel image from the network or wherever could just start there.

comment 10y ago · link · parent

Exactly. And why should you? Especially if your own efforts to make something "production worthy" are shut down -- indicative of both a social and a technical problem.

comment 10y ago · link · parent

I've been on both sides of this equation: not wanting to be availble outside of "business hours" and also feeling frustrated when colleagues aren't available when I need them.

I view this as an engineering and social process problem: your systems should be reliably engineered such that off hours maintenance or other technical issues are minimized. This gets to the social part: people will be more receptive to off hours work if its a rare occurance.

comment 10y ago · link · parent

Security isn't easy. It remains to be seen whether regulation will actually be helpful in getting it right.

Personally, I don't believe that it will, but that's just my opinion.

As with most things in this field, it's one thing to talk about it, another to do it. Schneier has been talking about software liability for a long time.

comment 10y ago · link · parent

Actually, after re-reading your scheme it doesn't sound too bad either... the main problem would seem to be then if the encryption was fundamentally broken (ie: if the encrypted bits are recoverable after the second factory reset and could then be decrypted)

comment 10y ago · link · parent

Of course it depends on the phone. Many qualcomm based Android devices seem to have had their Full Disk Encryption scheme broken at the moment [1], for example. But either way, if your disk encryption scheme doesn't fully wipe the disk before use, then any data that ever hit the disk unencrypted could still possibly be sitting there until its physical blocks are consumed (or could be in a cache somewhere). Again this also depends on the hardware, in this case the storage hardware itself. SSDs using TRIM can wipe unused, unencrypted blocks for example in some scenarios. Who knows about the particular functioning of some SD type controller in a phone or even the card's own embedded OS [2].

I would say if you have data on your smartphone you don't want recoverable at rest, take module0000's advice, then also use encryption, and then also use a multi-pass wipe tool on particluar files. Of course all of this could still not work.

For example, I'm not sure what the forensic ramifications of a seemingly more complex filesystem like APFS will be in the near future when it hits iOS.

[1] https://bits-please.blogspot.com/2016/06/extracting-qualcomm...

[2] https://www.bunniestudios.com/blog/?p=3554

comment 10y ago · link · parent

Another interesting point they mention is "recovering years long deleted texts." Consider the filesystem your phone uses for volumes it's writing data to and how it (probably just) unlinks files when deleted... [edit] and I should add a 'factory reset' will probably just write a new filesystem table over the old on disk without wiping anything on most devices

comment 10y ago · link · parent

My thoughts exactly. It's a fairly set and forget plant and looks pretty cool as well.

comment 10y ago · link · parent

From the article:

> We, on the other hand, didn't plan a thing. > We just built ourselves a powerful apparatus for social control with no sense of purpose or consensus about shared values.

I strictly disagree. We must never forget that just because (perhaps) you and I reading this didn't contribute to this system with a sense of "purpose and ... shared values" that someone else didn't. And we must not forget that those values may not be in accordance with our own.

What appears to be a disorganized mess on the surface may have a much larger design, it's just probably not your design.

comment 10y ago · link · parent

Yes it is actually the architectural history of all this that makes it interesting to me as well. It's the hidden landscape within/around/between/under our cities that's quite fascinating. It's also a prescient observation that modern institutions of surveillence must necessarily evolve alongside our basic infrastructure.

comment 10y ago · link · parent

To me, it very much looks like a giant telco Central Office... where shifty surveillance stuff has been happening since at least 1885 [https://en.m.wikipedia.org/wiki/AT%26T_Corporation] Note that The Intercept's article compared it in that manner.

comment 10y ago · link · parent

Good question. My use case is pretty boring comparatively. Mostly it's typical shell session stuff - SSH, vim, etc. I would classify that as my 'actual work'. And macOS is fine for that of course, except mostly I end up working/testing code on Linux because that's where it will ship.

I'm sure I would feel differently if I was using my Mac for Xcode development or video editing or something totally different and specialized - but I'm not. So for me its kind of just a really beautiful shell interface and web browser.

comment 10y ago · link · parent

That's an interesting take. I think it's important to also remember there's a fine line in breadth vs depth learning in this field as well. So called 'Taco Bell' programming does encourage you, in a way, to learn the basic tools in greater depth than perhaps you would if you weren't forced to.

comment 10y ago · link · parent

I personally feel my choosing macOS over any other OS is almost entirely cosmetic at this point. I might as well just use iOS. Because most of my actual work needs to happen elsewhere anyway. How locked down the platform is is something I'd prefer not to think about when just using the system. If users notice that en masse, it's a problem for Apple. OTOH, Developers are forever a niche.

If they were to attempt to turn macOS into a compelling, competitive UNIX-like OS that could serve in production, then maybe it would matter (note that I'm not saying it couldn't now -- it just seems to occupy such a tiny segment of this market).

But they don't seem to have much intention of going there, seriously. They've gone after the average consumer market agressively for pretty much their entire existence. They stayed that course and it appears to have paid off for them.

So if they do wall off macOS in an iOS manner, who will care?

comment 10y ago · link · parent

> algorithmically

Perhaps in the near future, the only "journalists" anyone will trust will be algorithms. Of course, any system can be manipulated. But I think we are dealing with such an unprecedented deluge of information, an increase in population (and therefore motives) and connectedness, that it may be time to consider this.

But your comment begs the question: who will be the gatekeepers of these algorithms?

447.

Translating C99 to Rust(jamey.thesharps.us ↗)

4 points · by drvdevd · 10y ago · discuss

comment 10y ago · link · parent

Well, I'm upvoting you because I can say that while I think the show has some pretty good moments, its not great and I feel it pulls on my "depression strings" quite deliberately, and I have a pretty damn dark sense of humor. And frankly, it can't touch the Twilight Zone in my mind.

comment 10y ago · link · parent

All of these companies in the mobile space seem to be constantly suing each other though right? Microsoft is no more hostile than Apple or Google in this regard?
1
141516
20