Live data from Hacker News

The $80 web development workstation

skofo.github.io

71–80 of 172 posts

Re: The $80 web development workstation

#71

Honest question here: Why would anyone ever think OS X has "world-class interface design"? It's missing basic interface features that have been bog standard in Ubuntu/Windows for years, like any sort of proper window management. Hell, the maximize button actually doesn't work - it has such inconsistent use that you have almost no hope of actually getting what you want out of it. To get even decent window management,…

It's the hardware and the fact that it's Unix. Seriously, the Macbook Pro is a beautifully designed machine. The only things that could compete with it would be similarly priced Thinkpads etc, but you have to install and customize your OS on them.

I agree that the OS X interface is overhyped but most of the problems you mention can be fixed in a couple of minutes. I use a free window manager to do basic manipulation and enabling the folder hierarchy view in Finder offers a better solution than the up-button. These are insignificant tweaks compared to what one would need to get a Linux desktop set up just so (although that has gotten easy enough to the point that it isn't a big deal for slightly technically literate users, but I still wouldn't install Ubuntu on my parents' notebook).

But underneath the interface is good old BSD-flavored Unix. Macports is an okay solution for package management. That combined with iterm and vim is all I care about - all running on rock solid hardware.

Re: The $80 web development workstation

#72

Earlier quoted context omitted.

It's popular to hate on Ubuntu, but I personally love it and its UI. I've used Ubuntu since 11.04 and run 13.04 on my personal laptop (for development and day-to-day stuff). I'm a sucker for pretty things like translucent title bars and snapping windows to full-screen, but I also love how easy it is to develop with Linux (as opposed to Windows). Everything is usually a single command away on the command line (sudo ap…

Maybe I should try it again, but last time I used it, I couldn't get programs to just work. I don't want to hate on ubuntu, I liked a lot about it, but so often you can't just install and use something, you have to do a bunch of fiddling. Last time I used it, I couldn't get Dropbox to install correctly. Sublime text would always open in the default spot and with the default window size rather than where I closed it.…

If you've been programming for a while, modifying software isn't as scary and intimidating as you'd think.

For exmple, I had wpa_supplicant always crap out at a few coffee shops here in LA. It tried to associate but didn't wait long enough.

I ran it with the "-v" option and saw a line that said something like:

"Waiting 5 seconds".

I downloaded the source code and searched for that message:

grep -r Waiting * | grep second

I got 5 results or so. I opened up the code and I saw a line like this, right above the debug message.

timeout = 5000;

I added a 0 (making it 50 seconds) and saved the file. I ran ./configure && make and killed /usr/bin/wpa_supplicant, then used my copy and like magic, it started working. Go me!

I think any average non-wizard programmer could have probably done the same. I didn't have to know all any big-picture detail of wpa_supplicant's design nor did I have to know the 802.11[anything] protocol. No need to do packet dissection or anything like that.

I looked at the screen, I grepped for where the problem was and I added a 0. Fixed.

It took all of 20 minutes or so. A lot less time then the productivity I had already lost by putting up with the issue in the first place. [1]

Those kinds of experiences are the kind that make me stick with linux.

I have an identical problem with the same networks on my s3. I'm guessing it's because of the same thing. But my stock install of the developer-unfriendly OS has made the barrier to doing the same process much much higher.

I had a different, but also easily solvable problem on a MBP once in 2012. I tried the same process. But the man pages were half a page long and dated 10 years ago. The developer documentation was non-existent, the source code was inaccessible, and everyone that was experiencing the problem were unsophisticated users who recommended things like "going to the mac store".

Basically, I was stuck with the problem. I would have had to have been in my top form hacking zone to even find out what and where to mod; and then I'd have to write assembly to fix it; using tricks to maintain byte alignment, function pointers, all that noise.

After a few experiences like that I realized the machine in my hands was a sophisticated consumer appliance.

That's nice. But what I really wanted was a "feasibly reprogrammable" computer.

---

[1] Here's another example: I had an idea for a way to switch application windows where you type in string matches of the window names, all these weird UI ideas... The problem was I couldn't program in X - I had no idea how to do that.

Good thing is that I didn't need to. Because of the openness of the system, I was able to execute my idea with a perl script; calling programs to move around and manipulate windows.

The existing tools gave me enough control, power, and information, in order to execute this sophisticated idea; and all without having to learn xlib (which I intend to do one day). It's become part of my must-have list for my long-term environments. Here's the link https://github.com/kristopolous/alttab . I still don't know exactly how to create an x window.

I'm convinced that although initially daunting, the "here's the blueprints" philosophy of linux actually makes sophisticated ideas simpler to execute, however counter-intuitive that sounds.

Re: The $80 web development workstation

#73
post #18

You shouldn't be looking for bargains for your developer hardware. You should pay for what you want, not just for what you need. You spend a lot of time using this for your daily tasks, and it's worth it.

Why does everyone always have to get what they want and not just what they need? I might want a $50,000 car, but I don't need it - this is just sad that people feel they should just always get what they want every time. I applaud the guy for realizing he didn't need to spend $1000.

If you were a taxi driver, and cars lasted roughly the same amount of time regardless of how many miles they were driven, then you would splurge on a very nice car if you could afford it.

Re: The $80 web development workstation

#74

Come on, we can do better than that. This is not to besmirch Apple or any silliness like that, my comment here is about this view point. The "de facto standard?" This view is probably common among programming hipsters but its hard to take seriously. There is a world out there besides Apple and RoR that is not just enterprise slog ... As far as the $80 machine ... I mean ok ... If you are on a serious budget but ... I…

Saying that if you use a Mac, you're obviously a hipster is just fucking stupid.

MacBooks are good laptops. I like them. Using and liking a MacBook doesn't make you a hipster, nor does it make you any less of a "serious programmer".

Re: The $80 web development workstation

#75

Come on, we can do better than that. This is not to besmirch Apple or any silliness like that, my comment here is about this view point. The "de facto standard?" This view is probably common among programming hipsters but its hard to take seriously. There is a world out there besides Apple and RoR that is not just enterprise slog ... As far as the $80 machine ... I mean ok ... If you are on a serious budget but ... I…

[deleted]

Re: The $80 web development workstation

#76

Honest question here: Why would anyone ever think OS X has "world-class interface design"? It's missing basic interface features that have been bog standard in Ubuntu/Windows for years, like any sort of proper window management. Hell, the maximize button actually doesn't work - it has such inconsistent use that you have almost no hope of actually getting what you want out of it. To get even decent window management,…

Great points. OS X default window management is definitely lacking in some respects. However, as mentioned by others, you can fill the gaps with a few free and cheap apps (e.g. TotalFinder, TotalSpaces, Moom, Witch, Alfred). Those combined add most of the lacking features plus the additional power of flexible spaces and quick keyboard fuzzy-searching.

Re: The $80 web development workstation

#77

Honest question here: Why would anyone ever think OS X has "world-class interface design"? It's missing basic interface features that have been bog standard in Ubuntu/Windows for years, like any sort of proper window management. Hell, the maximize button actually doesn't work - it has such inconsistent use that you have almost no hope of actually getting what you want out of it. To get even decent window management,…

"all useful things no doubt, but things you don't change on a per-folder basis that often- while literally not having an "up one level" button. At all." Add the "path" menu to your Finder window toolbar. You now have access to all parent folders of the current directory in two clicks. It's one of the first tweaks I make setting up a new OSX install. Along with dumping "all my files" from the sidebar and as the new wi…

Go Up One Level = Command + Up Arrow

Re: The $80 web development workstation

#78
post #18

You shouldn't be looking for bargains for your developer hardware. You should pay for what you want, not just for what you need. You spend a lot of time using this for your daily tasks, and it's worth it.

two kinds of mindsets can be distinguished:

hacker mindest and consumer mindset.

buying an old ibm thinkpad (to install linux) is hacker mindset. buying a windows laptop is consumer mindset. buying a macbook (in the case of an end-user) is consumer mindset. buying a macbook (in the case of a developer -- for the reason that is *nix based) is the consumeristic hacker mindset.

i can see how someone buying a macbook sees themself as getting the best of both worlds.

ofcourse macbooks are more popular than vintage thinkpads in our "developer" culture.

a parallel: there is more pop than anti-pop in the music industry.

consumers.

Re: The $80 web development workstation

#79
I wrote Rails for a startup this summer, and had access to my own T60 and a MBP they gave me (I also did iOS, so it was necessary). I worked on both, but definitely preferred the Thinkpad.

I run Crunchbang, so everything ran perfectly fast (even Chrome), and there are a ton of things I preferred:

* Using a 2D grid of workspaces (as described in the OP)

* The 1400x1050 screen--my Vim fits much better in a 4:3 screen than a 16:10 one.

* Sane package management (apt-get > brew)

* The trackpoint, which for me works great.

* Sane and configurable window management.

* Various Linux niceties, such as middle-click paste.

* A fantastic keyboard.

* Etcetera etcetera etcetera.

Re: The $80 web development workstation

#80
post #6

The T42 was a really solid pre-Lenovo ThinkPad that had significant mindshare among tech nerds when I arrived at MIT. It was my machine in college and the keyboard was amazing. I'd probably still be using it if one of the fans hadn't died around year 4. Pretty as Macs are, and awesome as the glass touchpad is, I still miss that ThinkPad keyboard.

Its pretty silly how it doesn't boot if the fan fails, I turn the fan off because its making weird noises, but the laptop still runs fine, although I try to keep the temperature below 90 degrees C, I think it automatically declocks at higher temperatures anyway. Also you can buy replacement fans on ebay if you have time to tinker.
Post reply on HN