Hacker News new | past | comments | ask | show | jobs | submit | 101km's comments login

The first time I went to work here a few months ago I got out of the Lyft around 9am and two meters away a homeless man was injecting something into his veins. My office is in the Mission.

Some parts of San Francisco are very dirty and the homeless issue is not exaggerated. Everybody knows about the Tenderloin at night.

With that being said, I drove across the US two years ago and if you keep your eyes open you realize it is all over - Portland and Seattle are no better, just less talked about.

My rent is $1300, I live with one roommate on Russian Hill. I'm flexible and lucky so this is not representative. A girl I know who works at Google lives in inner Richmond (arguably a less desirable area) by herself and pays nearly triple for some reason.

It is hard to find a proper gym for less than a Benjamin and food is above average for an American city but hilariously expensive. Good way to gauge is pick some fast food chain and compare, Dennys is x2 here than the rest of the country.

All in all this place isn't the shiny happy city you'd imagine from watching Full House or or the counter culture epicenter of hippie times gone by. It doesn't suck, I'd definitely visit for a week or two if you have never been, and there's a lot of history here but in the end it is no longer a very remarkable place to live.


"My rent is $1300, I live with one roommate on Russian Hill."

Sorry this pricing is not realistic for other viewers here. A two bedroom in Russian hill for $2600 is probably a passed down rent controlled unit (A decade?). A typical 2 bedroom (without problems / not nice / no parking / 800sqft) is about $4500.

If you are outside of SF and look at prices, remember many people are on rent control. And your best bet is finding someone who is.

https://sfbay.craigslist.org/sfc/apa/d/san-francisco-larkin-...

https://sfbay.craigslist.org/sfc/apa/d/san-francisco-edwardi...

https://sfbay.craigslist.org/sfc/apa/d/san-francisco-russian...

(Former resident)


So you are saying OP got lucky to rent a rent controlled apartment, rather than the exorbitantly higher normal prices? Am I missing something? I think it just goes to prove the OP’s point further


Yeah I have no argument. Just pointing out for viewers outside of SF -- that the price $1300 is difficult to find.


I ended up getting a tech job in south Orange County (working at a satellite office of a SV company) because I couldn't bring myself to pay Bay Area rent.

I can't even imagining owning a house _here_, let alone in the bay. Buying a house is generally something adults in America aspire to doing, but in California it's basically a mark of wealth. The amount of cash you have to stuff away for a down payment of sufficient size to not be fleeced by the banks is astronomical.

I'm really considering transferring to Austin at some point.


The weather will always help prop up SoCal real estate (relatively).


That's right: up in flames!


Shrug. Most regions have natural disasters. Floods and hurricanes seem just as bad if not more. Tornadoes are no cup of tea either. And most Orange County metros probably have less fire risk due to the geography of that area.


"... and food is above average for an American city ..."

The food in San Francisco and Marin is the best food in the world, by a fair margin.

In 2018, food, food venues, eating environments and every other aspect of dining, the world over, is being invented and reshaped in San Francisco.

Go anywhere else in the world, at any price point, from the first class lounge at Hong Kong airport to the mall food court in Granada, Spain, and everyone is inspired by, or directly copying, what is being done here.

EDIT: my parent spoke not of a particular restaurant, but the food of the city, generally. That is what I am talking about - not who has the best BBQ joint in your favorite BBQ genre, but which city has the best food (as opposed to "above average for an American city").

I stand by the assertion that food(ie) culture, worldwide, is being driven by SF.


That's a very bold statement, and frankly demonstrates the insular, self congratulatory circle jerk of the Bay Area. Amazing food, of course, but I've been to an open air Tejano restaurant in a garden outside of San Antonio that beat anything in the Bay, roaming chickens and all.

The proprietors could give a shit about SF. And oh yeah, your BBQ sucks. Sure, I can get decent brisket, but for triple the price and half the portion.


Rudy's was hands down the number one thing I missed in moving from SA to SF. Eventually I found solace at Everett and Jones in Berkeley, but even that'll never come close to Texas BBQ.


This is unnecessarily inflammatory. Several cities around the world are having an impact. I've spent plenty of time in SF (some of it with my partner who has been a semi-professional food reviewer for 10+ years) and yes, it's great. But Melbourne and Sydney in Australia – which are similarly cosmopolitan to SF – would have to count as rivals and also have a strong influence internationally, as do cities in Asia and Europe. There's no need to argue that one particular city is leading the world "by a fair margin". It's a subjective claim that is impossible to prove and thus only leads to futile arguments.


I didn't mean to be inflammatory.

I am not a CA native and I don't live in SF (although I do live in Marin). I do, however, travel all over the United States and the world and I see that there has been a global, emergent food culture (perhaps a monoculture ?) and it seems clear to me that San Francisco is the root stock - from the ambience and the lighting to the food sourcing and the coffee list.

I'm sure it's a repeat of "American Food" before it and "French Cuisine" before that. It won't last forever.


I can’t tell if your sarcasm is on fleek or if you’re plain batty.


That would be news many people (e.g. El Bulli graduates in Spain) who are really innovating in food.

Sure, Bay Area (although not so much SF itself) has some good, even great, if vastly overpriced, food, but "best, by a fair margin" is a gross exaggeration.


are you joking? tokyo is inspired by marin county? i can name better food cities in the same state (LA) let alone country or world


> I stand by the assertion that food(ie) culture, worldwide, is being driven by SF.

Lay off the kool-aid kid, it's bad for you mental health. Who told you that the global foodie culture is driven from SF? Not here in India for sure. And I really doubt it is affecting anywhere else in Asia.


Uhhh where in Marin? I grew up here.

The average Marin resident doesn't eat at these places.

These are the places for the finance CEOs, high profile landlords, and the tech commuters. There's no post hippie commune or even yuppies here anymore. Just greedy fucks eating overpriced food on undersized plates.


sorry but seems like romanticized marketing dribble.


(citation needed)


There is so much traditional cuisine out there as to make this post truly ridiculous.


>With that being said, I drove across the US two years ago and if you keep your eyes open you realize it is all over - Portland and Seattle are no better, just less talked about.

It's not that it's not talked about, it's that other cities manage to not have it right in the middle of the city.


Seattle is every bit as bad as California. Interestingly enough, when California started getting bad, Washington was where they moved. Now? Hellloooo TEXAS!


I can vouch for Portland - smack in the middle.


If you're commuting in a Lyft/Uber, you're part of the problem. That aside, for better or worse, most of us city-dwellers are numbed to shocking! displays of hard drug use.


For a pinch of irony the founder is Israeli: https://en.wikipedia.org/wiki/Adam_Neumann https://www.youtube.com/watch?v=yOb_ogQJWeI

tl;dw - "As of 2 years ago 98% only young entrepreneurs, as of today 30% of all of our members are enterprise, corporate America.

23% of all Fortune 500 companies are already in WeWork.

..If they want a satellite office they'll just put it in a WeWork, if they are looking for an HQ or they want to redo their HQ they'll ask us to do it.

And today we don't even take the space - we will redesign the space, build it, deploy our technology which is called WeOS and took a long time to create and put our community managers in there.

I would love to do it for city hall, in fact if any mayors are listening: we.co/mayors"


Money does not care much about your place of birth or ethnic affiliations... Especially the Saudis who have no qualms about Israel. Commercial real estate, however, is hardly the future. In my city for instance 30% of commercial real estate is sitting vacant.

Their concerns would probably be focused on this:

> In its first ever release of financial results, the privately held firm said total revenue rose to $421.6 million from $198.3 million in the year-ago quarter as memberships jumped to 268,000 at the end of June from 128,000 a year earlier.

> Net losses jumped to $723 million over the first half of 2018 from $154 million a year earlier.

https://www.reuters.com/article/us-wework-results/wework-rev...


Whats Ironic about that? Isn't SA allied with Israel?


I believe in this instance it is the author wanting to level up on AWK and Go. The value is learning and fun.

An AWK interpreter written in Go is unlikely to be an improvement, except, well here is another blog post you might be interested in that has a similar sense of adventurous tinkering (it's about improving on grep): https://ridiculousfish.com/blog/posts/old-age-and-treachery....

That's from 2006 and the tl;dr was graybeards did things a certain way for a reason. And yet nowadays with have things like rg (and ag and a bunch of others).


I think my GP has an objection to it being shared and being on top when there is nothing to learn from this in terms of ideas (which I share) and not to people hacking away.


But now other people who are interested in Go can learn from it. Seems pretty much the point of HN - finding interesting things to learn.


I know you can have a workspace and edit local files via Chrome, but is there really no simple way to "close the loop" and sync the devtools changes to a local file?

This extension is a nice step in that direction but still involves copy/paste and editing.


I bet it's possible to write a webpack plugin that takes CSS changes from StyleURL and saves them to disk

It currently outputs CSS based on the filenames from the sourcemaps, theoretically you could append the changes to the same files via a webpack plugin, and then if you ran it through some step after to make the selectors appear in the right place in the file, you would get the experience you describe, where it's like you edit the CSS in chrome and it saves it to disk directly so you can commit it later

Seemed like too big of a jump though to start off with that, because first asking people to install a Chrome extension is a thing, and then not everyone uses webpack for front-end and I'm sure there'll be complicated edgecases with something like this


That is actually fixed now.


Seems macOS Terminal app still hasn't True Color support. Tried running https://github.com/tclamb/iTerm2/blob/d0ecb297727a59c9ee5511... both in Terminal app and iTerm 2, and only iTerm 2 shows all colors, whereas Terminal app still shows only some colors. My VIM themes also look more bleak in the default Terminal app.


Cool, thanks -- maybe I'll give built-in Terminal another whirl at some point then.


Ah, darn, I'm a few hours late so you will probably miss it but I wanted to ask for a long time:

Sounds like a lot of stuff like this has accumulated. Your dedication to backwards compatibility (and testing) is always very impressive, but don't you ever get the urge to do a parallel "SQLite Next" effort as it were? Kind of like python had the 2/3 years.


I read somewhere that the developers of SQLite have a multi-decade support agreement with some big companies. If true, they will probably keep all the accumulated stuff. Any changes would only be additions and never break backwards compatibility.


There was an attempt to re-architect sqlite. Try searching for sqlite4.


Here is a discussion about how the sqlite4 experiment ended, from 8 months ago

https://news.ycombinator.com/item?id=15648280 (157 comments)

And the relevant commit (timestamp 2017-10-27):

https://sqlite.org/src4/artifact/56683d66cbd41c2e

> All development work on SQLite4 has ended. The experiment has concluded.

> Lessons learned from SQLite4 have been folded into SQLite3 which continues to be actively maintained and developed. This repository exists as an historical record. There are no plans at this time to resume development of SQLite4.


I've spent ~1 month tramping all over Cuba. This is absolutely spot on.


Sometimes it feels like Groundhog Day, behold: https://medium.com/@buckhx/unwinding-uber-s-most-efficient-s...

tl;dr - S2 is a good library.

There's also a joke in here somewhere about bikeshedding and yak shaving.


I present to you yak shedding: pointless bickering about an irrelevant detail that everyone has an opinion of, and the result of this decision process has such fundamental implications that the whole project is re-engineered from scratch to include a yak farm.


They provided a spreadsheet on their investor relations page: https://dropbox.gcs-web.com/static-files/105a910a-1026-4056-...

Losses last three years are: ~300m, ~200m, ~100m.

They are going to be profitable by 2020 and their margin is growing, so I don't get this negativity.


They can predict a lot of things. But in the B2B market, they are competing with much larger companies that can offer the same amount of storage plus a lot more - Google and Microsoft.

In the consumer market, they are competing with Google, Microsoft, and Apple.

Would you really want to compete against the three most valuable companies in the US where as Steve Jobs said “you’re not a product you’re a feature”?


I have been using 12" MacBooks since they came out because I live out of a backpack and travel a lot.

I cannot find anything comparable in terms of size/weight/battery and build quality. Especially the trackpad, nothing is remotely close. Otherwise I'd get that and put Arch on it.

People complain Apple is expensive, not so sure. The TCO may actually be less because of the high resale value. It is also more convenient.

More than once when faced with crossing an annoying border (TSA, sigh) I'd sell the Macbook at my origin and simply pickup a new one at the destination. Thirty minutes in-and-out of the Apple store, they all seem to have exceptionally fast wifi, and setup handled via a curl-to-bash of mine gets me exactly back to where I started, down to the sessions..

Since my points of origin usually have higher Apple prices due to currency/taxes, I end up accidentally eking out a profit after months of use per machine.

If you can't be arsed with the above consider this: Their retail global presence is getting to be quite complete, even coming to Samsung land (Seoul, behold: https://www.youtube.com/watch?v=xt4ldH5vQCQ) and Tel Aviv finally along with some others. Most big airport hub cities will have an Apple store close by.

Stuff gets broken or stolen and yet with this setup I'm generally never 24 hours away from my exact laptop setup...

There is no alternative. I feel trapped.


> There is no alternative. I feel trapped.

This is ironic, considering that you live out of a backpack! Honestly though, there are alternatives, but that's the problem with luxuries: once we have been spoiled, human pyschology makes it difficult to accept "less." We tend to describe things we want as things we "need." It seems that many Apple power users, myself included, tend to be perfectionists when it comes to computers. Unlike the rest of the population — the majority of whom don't live out of a backpack and can not justify the cost of Apple products (with the possible exception of an iPhone) — "good enough" just doesn't cut it.

Depending upon what you're using your computer for, you could have a "good enough" setup with just about anything, though it would probably be less comfortable to you than what you have now. For light use, a Chromebook can be instantly set up, and they can be found all over the world. For heavier use, any Windows 10 laptop can sync settings to the cloud and, coupled with Chocolatey and WSL, it's possible to emulate your current workflow. MacBooks are fantastic machines and I believe they offer immense value but, if you feel trapped, it's because the adventurous spirit that has carried you across the world has yet to extend itself to your computing environment!


I used to use macbooks exclusively, but for the last 2 years or so I have switched mostly to windows 10 because of work, and I hate it more two years later than I did when I started using it.

I am truly trapped. I will buy another macbook, I can't help myself. Even now I can feel myself justifying their flaws in order to propel myself towards the next model. There is no escape.


There is an escape, but you lose some ports and cores with it.


I like how you view this as a luxury and you’re right. But efficiency and near optimization are more virtuous luxuries, to me, than things I frequently think of like sugar or diamonds.

Having an efficient interface with which to work is really important to me. I suppose it’s a luxury to not have to wait 500ms between keystrokes in vim, but I want instantaneous response.

The MacBook touchpad is really useful and using another slows me down both physically as well as mentally since I know there’s a better option.


I had a Thinkpad x200s, and all in all, nothing came/comes close to it (tolerating the slightly thicker build, which is inevitable for highly serviceable machines).

I've been an MBA user as well, for reference. I use the mousepad little to none though. Possibly (but I'm not sure, since I haven't tried) IBM had such capillary distribution to support the quite bizarre use case of selling and repurchasing a new machine every few months.

Sadly, the line is over, and this type of build is obsolete nowadays.


X220i here, and even though modern browsers and applications do tax its CPU (leading to shorter battery life), I still get at least 5 hours out of a new (and inexpensive) 9-cell battery. Build quality is simply second to none, the hinges are still perfectly tight with no slop, even after 7 years.


x1 (gen c5) is amazing as well. After almost a decade as a macbook user, i'm impressed by it & back to linux! :)


I have one of those from work and running NixOS in it, everything works perfectly and I love the machine.

Btw if thinking of a X1C for Linux use, I'd skip the latest for now due to them changing how the sleep works and it having issues even with Windows (losing battery while sleeping). The fifth model is great though, if you're not looking for the 8th gen CPU and HDR screen.


C6 definitely has too many drawbacks, but, I'd love to have the little camera cover. I'll have to 3d print one...


Unfortunately they don't pop up very often as refurbs, and they tend to be overpriced when they do.


x220 user myself, great little machine. Hard to break. I upgraded the disk, 16 GB RAM and new battery. I once dissassembled it completely to replace the CPU thermal paste and was surprised by how easy it was. Now I'm confident that whatever breaks I'll just fix it.


> tolerating the slightly thicker build, which is inevitable for highly serviceable machines

I'm in the same boat, and I actually think the lack of serviceability is a feature. On the x220 you can change the disk, the memory and the keyboard just by unscrewing a few screws. On newer laptops, including the whole Thinkpad line, you'll eventually end up breaking little pieces of plastic involved in holding the bottom of the machines, regardless of how much care you take, using the right tools etc...

Especially considering that the gain is to be thin, which really doesn't add much to laptop. If you're restricted for space, then the width is the key factor (try to use anything bigger than a 13 inch on an airplane!). "Thin" seems to be a pissing contest between laptop manufacturers, which the marketing departments then took care of convincing buyers that it was an important feature.


I upgraded the RAM on my T470P a while back and there wasn't anything to break really, the clips where robust and it was 7 screws to take the back off.

It wasn't noticeably different to my R50 a long time ago.


I think I'm going on 7 years with my x220. It simply refuses to die, and I love it.


I've been using a 13" MBP for years, and am almost astounded by how much I take it, and its trackpad for granted from reading this thread. Also-- Would love it if you could share an example of the bash you execute to restore everything right up to the sessions (redacted where necessary)!


Mid 2014 MBPr here. Got it the day after it came out for about $1000 after winning the Best Buy coupon lottery. I haven’t had a single thought of replacing it since. Its battery still lasts me all day, the laptop hasn’t slowed down on me, and is still completely silent. I’ve dropped it plenty of times and I’m getting a bit suspicious of how much longer it’ll last me. I’ve fallen in love with it though and I really hope I won’t have to replace it anytime soon.


> setup handled via a curl-to-bash of mine gets me exactly back to where I started, down to the sessions..

Wow. I'd love to know more about that.


Can you tell me more about "curl-to-bash"?

Setting up my mac can be a matter of days and I hate it.


Whoa, why? Or, more specifically, why are you not using migration from a prior Mac or from a Time Machine backup? The ease with which a Mac user can be up and running on new hardware is, to me, one of the larger advantages of the platform. I know, this being HN, that you likely have a number of FOSS tools installed; are they somehow not getting picked up properly by migration & backup?

True story: we were robbed in 2012, in a quickie smash-and-grab through a rear patio (glass) door. They were in and out in maybe 1 minute, and took only what they could see from the yard -- which included my Macbook Pro.

We're well insured, so I went and got a new one the next day, plugged it into my Time Machine drive, and went and had lunch. When I came back, my new machine was ready to go -- all my apps, all my data, and even all my app windows were restored.


Shit, I hope your data was encrypted


D00d. I read HN.


I think they mean the classic install process of "curl -s <url> | bash", used to download and then execute a bash script. The real question in my opinion is what kind of tools can fully set up an entire environment, including sessions, from a bash script? Homebrew only gets you so far.


Apologies for the self-plug but this is what I built for GitHub to do exactly this: https://github.com/MikeMcQuaid/strap. Add Homebrew Bundle and a Dotfiles repo into the mix and you get what was described. This is obviously pretty Homebrew and GitHub centric because I work on both.


Just want to thank you for `strap` and your `dotfiles` repo's, Mike! They've been terrifically helpful in setting up my Mac environment.


Thanks for the kind words <3


I haven't played with it on my mac, but I've been headed down the path of setting up my environment with Ansible. I have one script that bootstraps Ansible, and it does the rest. That said, I haven't managed to get everything in there yet. It requires discipline to never set things up without putting them in configuration management (same as if you're configuring servers).


>Homebrew only gets you so far.

Homebrew has an app that can also handle installing Mac App Store apps. It also handles installation of third party fonts.

You then download and activate your dotfiles, copy over your data, and that's it.

For sessions, I guess a download of a recent cloud sync of your last tmux state for iTerm2 would do it (haven't tried).


Some of the old Boxen libraries (Puppet automation for things generally outside of the "run a command to install" area--like complex OS configuration and per-application setting installation) plus a bit of bash and a few Hammerspoon scripts gets me working. It's not pretty, but usually means the only things I have to do manually are install XCode and log into a few accounts (unless I'm changing hardware types or OSX vesions).


Possibly a complete image of the disk. dd'ing from an SSD with trim gets you zeros for the unused sectors, otherwise write a big file with zeros on the remaining space.

This data compresses quite well and gets you all the hidden and extra attributes an rsync might miss. That would be my unix-y approach.


I just rsync my home directory and re-run the nix installer.

Setting up my mac is a matter of letting things run overnight mostly (the rsync primarily).

Then chsh to zsh and log in/out and bam, back in business. I put all my apps in ~/Applications as well or as often as I can. I think screen flow is the only app that I need to install, but that is a bit of a one off and not often used so no big deal.


Agreed. Apple makes the best consumer mobile computer hardware by far, repairability issues aside. The touchpad is originally what sold me on my first MacBook (2013 13" Retina) and it is still the feature I miss the most on other laptops.


Apple makes the best looking consumer computer hardware, but a Thinkpad destroys it in every department except the Trackpad. Keyboard (no contest), upgradability, RAM, ruggedness, even price.


I see people say that Thinkpads are more rugged than Macbooks and have to wonder what that opinion is based on. My own experience is that they're at least on par. (unless we're talking about the specifically-engineered "toughbook" style Thinkpads)

I've dropped my Macbook Air, open, from a standing height onto a tile floor (accidentally, obviously), and the only damage was a slightly bent corner of the lid. That was 3 years ago and I'm still using it every day. And my home beater is a 2008 Macbook Pro that I've dragged all over the world; the only failure so far has been a fan, which I replaced myself.


In my case, my opinion is based on:

- All (newish) thinkpads having spill-resistant keyboards.

- The best-selling ones (X & T series) meeting the Mil-SPEC 810G standard.

I use a Mac though, because I got tired of fighting to get Linux properly running on my thinkpad

edit:format


I've been impressed with the durability of MacBooks in the past, but sadly the "survives a fall from the top of a refrigerator without a scratch" feature has been superceded by "keyboard exposed to air, several keys stop working". They're way too flaky these days for the nice aluminum unibody to offset.


Good point. I haven't bought a laptop in a while, so my view is probably outdated. I do like the keyboard on my Lenovo work laptop though.


I had kept repairability issue aside until I had to go for flash drive replacement of my 2012 13" MacBook Air recently.

Apple support (which is a 3rd party in my country) said ~$400 and local repair guys quotes like $350 or so. The new MBA (last year's) is available for ~800 here. Apparently I can't get any other brand's flash drive fit in there.

That laptop worked just fine (battery, screen all). I wish I can find a way to give it another year or two. Maybe boot from a memory card or so and leave it plugged all the time?


Here's what you want:

https://eshop.macsales.com/shop/ssd/owc/macbook-air/2012

Just replaced the internal SSD on a 2012 MBA myself - works great now :)


Thank you. I will try to find its equivalent available in my country (IN).


You can also boot off a Thunderbolt 2 or USB SSD drive for better performance. I duct-taped one to the back of my screen a few years ago when I didn’t have time to get a repair done.


> I cannot find anything comparable in terms of size/weight/battery and build quality. Especially the trackpad, nothing is remotely close. Otherwise I'd get that and put Arch on it.

Arch on a macbook is a great experience


I tried for a while, and running it natively really hammered the battery, got nowhere close to the same uptime as when running macOS. Running it in a VM was OK on battery, but of course there's CPU/RAM overhead, and the trackpad _feels_ nice, but it still doesn't quite move in the right way.


when using powertop on my MBP 2014 I can get 7-8 hours of battery.


What’s the catch? If powertop is so good why isnt’t it built into distros?


The tweaks don't always work without any issues: speakers make static or USB ports get disabled even with wireless mice, for example. Distros don't want to cause problems like this.


> If powertop is so good why isnt’t it built into distros?

well, it's usually just an `apt install` or `pacman -S` away. I don't think that distros are optimized for laptop use cases.


Some distros don't offer a laptop-optimized build explicitly. But many times this is because the optimization is performed as an automated step during the installation process.

That said, some popular distros do offer laptop modes during install. Off the top of my head, I think Ubuntu and Gentoo do.


Oh that'd be enough for me, I'll give it a go.

What about the trackpad though? Of course the hardware feel is the same and great, but it doesn't move quite right, like it does with macOS, or you would with a mouse.


I think it's funny how your entire comment reads as a love story, then ends with "There is no alternative. I feel trapped".


Compare

https://www.apple.com/shop/buy-mac/macbook

https://www.lenovo.com/us/en/laptops/ideapad/ideapad-700-ser...

Looks like you get twice the ssd for the money and similar performance but you get a better screen on the apple. Of course you could of course spend more and get a model with a better screen as well.

1300 vs 700. Even if you get 25% resale value after 3 years and say 20% for the thinkpad you will have paid 975 vs 560 for the thinkpad.


The resale of a MacBook after 3 years is way more than 25%


I can find 2015 retina macbook pros with 1tb of storage that originally sold for 1800 for 600 at this point which is aprox 33% resale value after 3 years. This is only slighter higher than prior estimate. There also may be a transactional cost in moving it ebays cut + shipping OR a time cost/risk in selling it yourself via craigslist for cash. This is not counting the cost of refurbishing to make ready for sale for example replacing the battery. If you spend $30 shipping give ebay 50 and pay 80 for a battery and sell at 600 you may only net 440 or around 25%.

Here is an interesting analysis of why used macs may be worth more. Authors thesis seems to be that because apple lacks a low end and has a smaller pool of buyers there is more demand among cost conscious buyers. It also holds back in 2015 that used apple products are worth twice as much as other vendors products in the same portion of their lifecycle but seems to have hard numbers only for phones and from 2013 so not neccesarily relevant to present laptops.

https://www.makeuseof.com/tag/apple-tax-macs-hold-resale-val...

https://gizmodo.com/one-huge-reason-to-not-switch-to-android...

I further hold that resale value is of negligable value to most uers who will either break a device, pass it on to a family member, lose it, or hold onto it until it is effectively of negligable resale value.

It would be disingenious to take maybe money into account when making a purchase unless you specifically plan to upgrade frequently and use the money from said sale to offset the cost of newer models.

For example one could spend 1800 then sell for half in 2 years and put it towards the next 1800 machine. One could spend not much more than 900 per year after the initial investment. So say over 10 one would have purchased 1 machine at 1800 at year zero one for 900 each at year 2 4 6 8 for an average cost per year 540 per year.

Of course people are vastly more likely to say purchase for 500-900 and use for 3-5 years then rinse repeat for a cost of 100-300 per year.


Wouldn't it be easier to just wipe the drive before TSA?


I think people are really confusing TSA with border control. TSA cares about people bringing knives and bombs on planes. US CBP/ICE or similar is a very different thing from TSA. I've never heard of TSA asking for any more detailed inspection of a laptop than swabbing it for chemical residue, and asking that it be powered on to confirm it's a real working laptop. CBP/ICE on the other hand are a totally different story (as documented extensively by the EFF, etc).


people definitely conflate the two, especially since the TSA has in the past taken great interest in peoples laptops. I don't think they currently have the authority to do any sort of accessing of the data on peoples computing devices.


I would be disinclined to try to tell TSA what their authority is, just as I am disinclined to tell them in person that it's flipping stupid to require me to remove my belt.

Telling the hands of the government that they don't have the authority seems like a very fast ticket to a very inconvenient travel delay. There's almost certainly some rule or administrative thing where they Can Get Away With pretty much what they say you can, and then you're stuck finding a lawyer.


Really depends on their comfort/paranoia level. If the device is taken out of their sight for more than a few minutes, they'd be highly suspicious. More so if you are crossing borders of countries known to be hostile.


> Really depends on their comfort/paranoia level. If the device is taken out of their sight for more than a few minutes, they'd be highly suspicious.

If your expected adversary is a nation-state intelligence agency, what do you expect to do? Take your laptop with you everywhere you go, all the time? Leave in your apartment for a theoretical attacker to execute an evil maid attack on it?

FDE is highly useful against ordinary adversaries. People with the financial/staffing/training resources to run surveillance on you 24x7 and access your equipment while it's unattended, that's an entirely other ball game.


You are considering only the extremes. There's also a ground between ordinary adversaries and nation-state agencies.

Take for example China. There are plenty of rumours about business executives taking throw-away electronics while crossing the border or how China installs some random software on people's devices when crossing a border neighbouring a certain province[1]

FDE can also lead to increased suspicion when crossing a border and refusal to unlock the system can pretty much lead to a denial of entry or, worse, detention. FDE also doesn't help in cases when a random border crossing can require installing a malicious boot-loader or a persistent malware somewhere in the system.

In the China story, they might not be installing a persistent bootloader but there's nothing really stopping them from doing that.

Honestly, in certain cases (and I'd rather say, a lot of cases) it's just easier to have no device than deal with what they did to your device after the fact or just sell the device after entering if you are suspicious of it.

[1] https://motherboard.vice.com/en_us/article/ne94dg/jingwang-a...


A nation-state also has a gap between the most advanced capabilities and what can be used on a routine basis.

For instance a TSA screener is not going to have access to the latest and greatest because information about it gets leaked people will take counter measures.


>Take your laptop with you everywhere you go, all the time?

With a small laptop, this is a very small problem.

>Leave in your apartment for a theoretical attacker to execute an evil maid attack on it?

Security cameras?

With very basic training anyone can maintain good physical opsec, the much harder part is keeping your software secure.


>Leave in your apartment for a theoretical attacker to execute an evil maid attack on it?

TPM + FDE?


This isn't about fancy "infosec" threats, this is about TSA breaking or stealing your laptop, or alternatively ordering you to unlock it or they won't let you (a non-American) into the country.


yeah if you're going through the trouble of selling and buying a new mac it really seems a drive wipe is more than sufficient but I may be missing something. in general traveling without a computer is easier than travelling with one.


I can see how selling a used MacBook(purchased in the USA from a state without state taxes) could just be sold off as a used item in say Europe, before returning back to the US. The difference in cost could actually be a net positive.

Now, if all your files live in the cloud, and you have your setup automated completely, why not?


The keyboard layout is an issue.


For dev work an US keyboard is actually preferable.

While we’re here, let me just add another little form of “geographic advantage” (?) to the mix: you all know cmd-‘ pages through windows of the same application. On a US layout ‘ is right up next to tab, which makes it extremely convenient to remember the mnemonics of cmd-‘ and cmd-tab. In US intl ‘ is shoved down next to lshift, and the premium key top of tab is the useless §.

Why? Apple, why?!


US English keyboards are available in most places alongside the local variants (though I guess you can’t guarantee they’ll always be in stock)


Or a benefit, depending on who you ask. (I prefer ANSI keyboards)


It is ridiculous how hard it is to get ANSI keyboards here (Germany). Laptops are ok (Macs, Lenovo and Dell) but external keyboards (especially mechanical ) and any other laptop brand are a huge hassle.


> More than once when faced with crossing an annoying border (TSA, sigh) I'd sell the Macbook at my origin and simply pickup a new one at the destination.

Wow! I've heard of this as a practice reserved for the ultra-paranoid, but never actually seen somebody who does it. What's your threat model? Do you have some reason to believe that the US three-letter-agencies might target you in particular? Are you famous in security circles?


How frequently are you traveling? And is it usually for extended periods of time? I'm curious for more details, if you can share.

I'd also like to know more about your config restoration process. Is it literally just running your script? What other things does it do?

My process is fairly streamlined as is, with most things except software installs done automatically. But I'm always on the lookout for improvements.


Continuously the last two years, 30+ countries. :)

What kind of details are you looking for? I unbox at the Apple store and:

- Temporarily turn off Spotlight & Time Machine (Permanently) because it helpfully tries to index everything and tinker with a handful of system preferences while a memorized curl|bash runs

Mostly appearance related. This can also be automated but doesn't seem worth it as it only takes a minute. I don't use iCloud.

- Selective sync with Dropbox (which was just installed for me), mostly for the 1Password folder, while the rest of the script runs. Read HN or better yet about the new surroundings.

- Manually run software update and reboot into my now familiar machine

- Turn spotlight back on

I do forget to remap the esc key each time I do this, or the name of the thingie that helps you do that, that's about the only noticeable difference between old and new machines.


>I do forget to remap the esc key each time I do this, or the name of the thingie that helps you do that

I don't suppose it's Karabiner[1], is it? This is the one I'm most familiar with, as it's been around under a few names for a very long time.

If so, this is in `brew cask`[2], which I am assuming is somewhere in your script's mix.

1. https://pqrs.org/osx/karabiner/

2. https://github.com/Homebrew/homebrew-cask/blob/master/Casks/...


I'm not sure to which key you want to remap esc to, but if it is to any of Command, Option, Control, fn or Caps Lock, you can do that from the Keyboard Preferences: https://i.imgur.com/whzlIW9.png


OS X by default lets you rebind the capslock key to esc :)


>and setup handled via a curl-to-bash of mine gets me exactly back to where I started, down to the sessions..

could you explain this exactly? i browse hacker news casually and this part is a bit over my head


The buyer of your MacBook may be dangerous.

Entering country: buy Macbook and SSD/RAM.

Leaving country: remove/hammer old SSD/RAM, install new, and sell.


Or rely in Linux proper frigging LUKS drive encryption


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: