News for hackers. Stuff that matters.
Re:Why I use old hardware by WrtCdEvrydy on Wednesday January 23, 2019 @10:21AM (#18978852)
It's a staple of 'developers' to have fancy Macbooks while essentially just needing a shitton of RAM these days.

Programmers don't need bleeding edge, just a lot of RAM.

Re:Why I use old hardware by matthewmacleod on Wednesday January 23, 2019 @10:39AM (#18979080)
Some of them don't – but some of them do, and that improved performance can offer a noticeable productivity improvement.

I recently upgraded from a 2015 Macbook pro to a new i9 one, and right now I'm working on a computer vision pipeline for some data – an embarrassingly parallel task. It takes about 15 minutes to run a process which would have previously taken about an hour. This is a direct improvement to my development experience (trust me!)

But there are a bunch of different reasons. Modern stacks can be annoyingly under-optimised; a large Webpack app with live reloading can be irritatingly slow even on recent machines. Fast SSDs are useful for people working with large datasets. Better GPUs can mean better UI performance and more screen space.

In short, remember that just because you don't need the hardware, doesn't mean that others don't! :)

Re:Why I use old hardware by jjrh on Wednesday January 23, 2019 @03:13PM (#18982313)
But why do you need that on a laptop? Just run it on a server.

If you work for a employer with deep pockets I guess sure why not? Otherwise a workstation you can remote connect to (if you work from home or travel) is probably good enough.

Re:Why I use old hardware by evook on Wednesday January 23, 2019 @10:58AM (#18979303)
Nothing about your post adds up.

2015 MB i7 to i9 MB doesn't increase anything times 4.

How long have you been working on that task and waited an hour? The wasted labour cost might have bought you a dedicated compiling rack 2 weeks in.

How long could you have rented cloud ressources to bring that task down to close to instant for the cost of a i9 MB?

I am just curious tbh. I have various tasks like yours hobbywise. But the least thing I'd encourage my laptop to do is compile/render/analyse a problem that takes more than 60 seconds. Beware if you fully utilise a laptop like you describe shouldn't it become useless for everything else while doing that?

So much questions...

Re:Why I use old hardware by matthewmacleod on Wednesday January 23, 2019 @11:22AM (#18979591)
Nothing about your post adds up.

That's great, but I'm literally sitting at my desk doing it just now, so I can assure you it's not just made up!

2015 MB i7 to i9 MB doesn't increase anything times 4.

i5 2015 13" MBP to i9 2018 15" MBP. 3x the cores, higher IPC, higher frequency, faster memory, faster SSD. It adds up, and for this class of process a 4x improvement is totally reasonable.

How long have you been working on that task and waited an hour? The wasted labour cost might have bought you a dedicated compiling rack 2 weeks in.

I don't know how the hell you work, but I don't just kick off a process and let it run while I sit still at my desk waiting for it to complete :) It just involves working to a slightly different rhythm, and the ability to iterate a bit faster makes that nicer for me, at minimal cost.

Anyway… wasn't the point that "developers don't need faster machines?" I think buying a "dedicated compiling rack" would count!

How long could you have rented cloud ressources to bring that task down to close to instant for the cost of a i9 MB?

No idea, but in the long term, more than it costs to buy a new development machine. Plus this way I don't have to fanny around with copying assets back and forward, remoting in to visualise things, setting up a server or whatever. And the new laptop makes everything a little bit faster and more enjoyable to use. The price of the machine is pretty marginal for a tool I use in excess of 40 hours a week.

Beware if you fully utilise a laptop like you describe shouldn't it become useless for everything else while doing that?

Nah, it's fine generally. Everything's just a bit slower until it's done.

Re:Why I use old hardware by TAForObvReasons on Wednesday January 23, 2019 @11:59AM (#18979995)
Faster is usually better but it's worth pointing out: If a task took a whole day, you wouldn't burn the day twiddling your thumbs - you'd context switch and do something else. You'd save long compilation steps to late day so that you could come back tomorrow, not wasting time. For many people, 15 minutes is not worth switching but 1 hour wait time is.
Re:Why I use old hardware by srcmap on Wednesday January 23, 2019 @12:46PM (#18980517)
Recently got access to a new HW platform with 256 cores CPU, 512M of L3, 512G/1TB of RAM. The speed of that thing compiling the linux kernel and run certain AI testing are amazing. One can try out different experiments so much faster.

Used to working diff company with server farms for compiling. Even with the servers, compiling the 26G software pkg took 4 hours. When it is high noon and everyone was using it. I have seen compile jobs can last 8+ hours. There a few times that by the time compile is done, I have completely context switch out and forgot what I need to debug.

Re:Why I use old hardware by erinaceousjones on Wednesday January 23, 2019 @12:37PM (#18980410)
I did two dissertations on realtime outdoors computer vision stuff (detecting landing targets for quadcopters and shadow classification), with a really high-end (at the time) laptop with 16GB memory, 8 cores @ like 3.5GHz turbo, a 512GB SSD and a GTX970 GPU which was okay at running tensorflow et al. Not only was it a very capable workstation which I could leave crunching data on overnight, both dissertations involved field robotics (quite literally, doing stuff in fields with drones :)), and being able to use the same machine wherever was a godsend.

No matter where I was, be it at home, in a computer lab, presenting my work to peers or my supervisor, or outdoors in a field, I had the same tools, same large dataset of raw h.264 video streams, same hardware, same everything, without needing to rely on streaming data to and from some server on the internet, or worry about keeping my work and software in sync across multiple machines. I could tweak my algorithm parameters in-field and I could continuously compile my huge 100-page latex sources for my dissertations from.. the beach :)

Re:Why I use old hardware by matthewmacleod on Wednesday January 23, 2019 @04:19PM (#18983079)
I think that's definitely one of the good use-cases of a portable machine. Before buying a new one, I did do the maths on using a more powerful desktop instead and just keeping my older laptop for travel – but like you say, it means constantly thinking about what data and capabilities you have available at any time. And coincidentally I was also working last week on real-time computer vision for robots, on a remote customer site, so it was nice to have my machine with me :)
Re:Why I use old hardware by emj on Wednesday January 23, 2019 @02:50PM (#18982023)
I myself will take a small computer and a fast connection anyday, I do not think money is the biggest issue here just what is practical.
Re:Why I use old hardware by sk5t on Wednesday January 23, 2019 @02:10PM (#18981541)
Yah. Or simply imagine the benefits of a cheap, upgradeable workstation instead of trying to do a long build on a computer squeezed into a half-inch-high package: more cores, more RAM, big old GPU, wired network, the list goes on.
Re:Why I use old hardware by matthewmacleod on Wednesday January 23, 2019 @04:15PM (#18983042)
Sure, a desktop machine would be less expensive than a laptop of equivalent performance. But I work mostly from home, work in the office maybe one day a week, and often visit customer sites. The ability to just pick up and go with a relatively powerful machine is pretty attractive.

I think it's always important here to realise that people have different use cases and priorities for their equipment, and that there's no right or wrong answers. Some people are happy to fork out for a portable; others don't require that, and would rather have a fixed workstation with more power. Some developers are totally fine with 10-year-old kit, and some can benefit from newer stuff. I'm sure everybody evaluates their circumstances and comes to suitable conclusions for themselves!

Re:Why I use old hardware by jwr on Wednesday January 23, 2019 @11:35AM (#18979725)
The newer macbooks also have significantly better I/O performance, which together with the faster CPUs and more cores might add up to a 4x difference.

It's a pity they are otherwise crappy for my work (I need a reliable keyboard, I do not want a "touch bar", I do want USB-A ports).

Re:Why I use old hardware by bryanlarsen on Wednesday January 23, 2019 @11:48AM (#18979872)
I've installed small amounts of RAM into machines and have them speed up more than an order of magnitude. The speedup was because it stopped swapping. Modern computers have other similar bottlenecks that can show massive improvements for what seem like small changes.
Re:Why I use old hardware by abraae on Wednesday January 23, 2019 @12:47PM (#18980534)
That's a bit of a knee point though.

If your machine doesn't have quite enough RAM, it will swap and likely be unusable.

Once you have just enough it will fly, and adding more RAM will make little difference.

I can't imagine the OP's aged stack is so low on RAM that he puts up with swapping.

Re:Why I use old hardware by bryanlarsen on Wednesday January 23, 2019 @12:53PM (#18980611)
As I said, there are lots of other knees. For example, a slightly increased L1, L2 or L3 cache size can have a similar effect.
Re:Why I use old hardware by flyingpenguin on Wednesday January 23, 2019 @11:15AM (#18979504)
uhh, in 2015 a i7 had 4cores, boost of around 3.4

in 2018 a mobile i9 had 6cores/12threads, bost of around 4.8 (so lets be reasonable, thermals might let us keep 3.6).

For a super optimized parallel load you could totally see more than 2x speed up.

But yeah... why do that on your laptop?

Re:Why I use old hardware by eanzenberg on Wednesday January 23, 2019 @02:36PM (#18981859)
If it takes 15min locally then you should do it locally. My rule of thumb.. if it takes > 1 hr locally it should be done elsewhere.
Re:Why I use old hardware by hoistbypetard on Wednesday January 23, 2019 @12:32PM (#18980363)
> uhh, in 2015 a i7 had 4cores, boost of around 3.4

Not on a 13" MBP, it didn't. Source: there's one on my desk.

Re:Why I use old hardware by acura on Wednesday January 23, 2019 @10:53AM (#18979235)
And on a none portable computer you could probably do it even faster. Maybe you need a laptop but there are tons of peoples using laptops that doesn't needs to.
Re:Why I use old hardware by matthewmacleod on Wednesday January 23, 2019 @11:26AM (#18979628)
I think that's pretty much what I said, right?

Not everybody needs a laptop, or a super powerful development machine. But if you want to process some stuff nice and quickly, while not being tied to any physical location, it's a totally reasonable solution.

Re:Why I use old hardware by jschwartzi on Wednesday January 23, 2019 @12:41PM (#18980449)
The wonderful thing about a laptop is that if I want to go sit by a window for an hour while I'm working, I can just stand up and move. A desktop chains me to my desk, deep within the heart of a dimly lit cubicle farm.
Re:Why I use old hardware by est31 on Wednesday January 23, 2019 @10:32AM (#18978990)
The funniest thing about this is probably that RAM prices have went up in the last 2-3 years. I built my current computer in 2016 and if I had to buy the same RAM that it has today, I'd have to pay more. So for the same money, "newer" means in fact worse. Noting that prices have went down from their peak increase since, but it's still more than the lowest historic price.
Re:Why I use old hardware by chasil on Wednesday January 23, 2019 @10:49AM (#18979187)
More important than price is trust.

The Core 2 Duo/Quad on LGA775 is the last revision of the Intel Management Engine (ME) that can be completely removed. The me_cleaner script recently added the ability to clean this platform.

A Q9650 quad-core CPU is the best performance that can be reached on this board. I have two and I have run me_cleaner on both. I do my finances on the one that runs OpenBSD.

Re:Why I use old hardware by retro64 on Wednesday January 23, 2019 @11:02AM (#18979355)
I bow to your paranoia. Although I have often wondered if retro computers will become more valuable in the future as the final bastion of electronic privacy.
Re:Why I use old hardware by icedchai on Wednesday January 23, 2019 @11:54AM (#18979944)
If your tinfoil hat isn't too thick, you can take a modern computer and set it up behind a hardware firewall, or connect over serial...
Re:Why I use old hardware by pixl97 on Wednesday January 23, 2019 @01:26PM (#18980999)
And then monitor the tons of weird ass encrypted traffic coming in and out of it, hoping that those requests to AWS are some program getting updates and not the contents of your L2.

Firewalls are great, and you should have one, but you have to constantly watch and understand everything coming in and out of it. Works ok as a full time job, terrible when you have other things to do.

Re:Why I use old hardware by icedchai on Wednesday January 23, 2019 @02:45PM (#18981961)
If this is too much trouble, you can connect over serial, like 25+ years ago. Transfer files with zmodem from an internet-connected host. A Raspberry Pi with a serial port would be perfect for this.
Re:Why I use old hardware by 51lver on Wednesday January 23, 2019 @12:12PM (#18980145)
I have a rack full of machines like this. Dual sockets with 8GB ram each. Any affordable upgrade would be a downgrade. I'm looking at at least $200 per U to upgrade from hardware that is essentially worthless. I literally got the CPUs for $2 each. There's something really funny going on with prices after core 2.
Re:Why I use old hardware by PascLeRasc on Wednesday January 23, 2019 @01:47PM (#18981265)
How much is your power bill?
Re:Why I use old hardware by 51lver on Thursday January 24, 2019 @01:21PM (#18991336)
Kindof a lot, but I tell myself that servers are an efficient winter heat source.
Re:Why I use old hardware by matthewwiese on Wednesday January 23, 2019 @02:18PM (#18981638)
Thank you for this information, this is going to be my next project.
Re:Why I use old hardware by eanzenberg on Wednesday January 23, 2019 @12:56PM (#18980641)
Don't forget the tinfoil in your bunker.
Re:Why I use old hardware by PascLeRasc on Wednesday January 23, 2019 @01:45PM (#18981249)
Can your board take an X9770?
Re:Why I use old hardware by chasil on Wednesday January 23, 2019 @04:35PM (#18983276)
These are the boards that I patched:

https://github.com/corna/me_cleaner/issues/233

Re:Why I use old hardware by bunderbunder on Wednesday January 23, 2019 @12:36PM (#18980399)
Even that depends on the dev environment.

If you're using a lot of virtual machines, sure. If you're working on something that's inherently RAM-hungry like video processing, sure. If you're working against a local database server, maybe. If you're using something like IntelliJ or ReSharper (but not necessarily Visual Studio), then, <sigh>, yeah, I guess.

If you're doing Web development, OTOH, it's probably better if you not have much RAM. If front-end, because a significant percentage of your users will be using low-RAM devices like smartphones and Chromebooks, and you shouldn't need any more RAM than they do. If back-end, because the production servers will (hopefully) be handling a lot more load than what you're doing in testing, so if you get too comfortable with treating RAM as a plentiful resource in development, that's going to be a recipe for scalability problems.

Re:Why I use old hardware by sascha_sl on Wednesday January 23, 2019 @12:54PM (#18980629)
Our Scala teams disagree.

I do mostly Go, and yeah, there it doesn't matter as much, but you should see some of the build times on these services. There isn't even a big scary monolith left in our architecture (besides a frontend in node).

Oh, and let me not forget minikube.

Re:Why I use old hardware by dkersten on Wednesday January 23, 2019 @12:17PM (#18980200)
SSD's really help a lot too. SSD's and a reasonable chunk of RAM (whether reasonable is 8 or 16 gigs depends on what you're doing, I've never needed more than 16). Anything else is not so important for normal development. A fast SSD definitely helps as without one, IMHO waiting on the disk I/O is typically the bottleneck.

Hell, I did a lot of (hobby, not work) development on an eee PC netbook a few years ago. Besides the discomfort that a small screen and sub-normal keyboard brings, it was a reasonable experience. I didn't have to run slack then though.

Obviously it depends on what you're doing though. Processing data? Running a ton of tools all at once? Differing workflows and requirements have different hardware needs.

Re:Why I use old hardware by AnIdiotOnTheNet on Wednesday January 23, 2019 @12:25PM (#18980286)
I think the existence of SSDs are why modern OSs are borderline unusable on HDDs. It is kind of ridiculous how much passive IO there is, and how ridiculously long it takes to launch or open things.
Re:Why I use old hardware by dkersten on Wednesday January 23, 2019 @12:40PM (#18980434)
You're probably right. Applications definitely are a lot more lax on resource consumption.

I've sat down and enumerated the things I do daily on my computer versus what I did back in ~2000. Besides streaming (youtube, netflix and spotify basically), its pretty uncommon that I do anything that I couldn't or didn't do back then. The performance of these things, now, seems about the same anecdotally. Maybe it was a little slower then, but not so much slower compared to the hardware performance difference. It makes me sad.

Also, as I said in other comments, I once developed hobby projects on a netbook. I of course ran a minimal system and didn't run resource hogs like slack. I'm currently using a cheap laptop running a minimal system (but unfortunately I do need to use slack, chrome, docker for work). They run fine.

I think developers or companies have decided that developer time is more important than performance and resource use of their products, punting the cost of that onto their customers. If my work didn't require it, I would definitely switch to more resource conscious tools and I'd be a bit happier. Oh well.

Re:Why I use old hardware by AnIdiotOnTheNet on Wednesday January 23, 2019 @01:00PM (#18980681)
I would agree, and I hate that attitude in developers. Technology is a force multiplier, when you write something slow you're multiplying that slowness and all the time it wastes across the lives of your entire user base over the lifetime of the product.
Re:Why I use old hardware by antisthenes on Wednesday January 23, 2019 @03:33PM (#18982572)
I think browsers is what regressed the most.

I used to be able to open 3 Twitch streams in 720/1080p back in 2010 on a dual core Athlon X2 5000.

These days, if I open 2 HD streams in Firefox on a 4.2 Ghz quad-core 4670k, the system essentially freezes - the browser becomes unusable and both streams lag. Thank god for streamlink that lets you bypass the browser interface and view the streams in VLC or MPV.

Not to mention Electron-based apps using 600-800MB for a chat program with some light jpeg usage.

Developers' blatant disregard the the use of user's system resources is insane. It seems that regardless of hardware improvements, the modern developer only targets "acceptable" levels of performance, leaving power users frustrated.

Re:Why I use old hardware by jandrese on Wednesday January 23, 2019 @03:08PM (#18982263)
Ubuntu seems fine on my older laptops, but Windows 10 is a different animal. I had an otherwise fast laptop that was almost unusable because Windows was always thrashing the slow spinning HDD. It could take 10 minutes or more after waking up from a sleep before the HDD light turned off (and even then off means a constant flicker). Apparently it's related to telemetry data Windows was constantly collecting for some reason. I eventually replaced the HDD with a SSD and the difference is night and day.
Re:Why I use old hardware by AnIdiotOnTheNet on Wednesday January 23, 2019 @07:04PM (#18984605)
I'll admit that Windows is a bigger offender in this regard, but Linux Desktop has become quite bloated too.
Re:Why I use old hardware by jandrese on Wednesday January 23, 2019 @07:16PM (#18984702)
I had a really old laptop with a 2.4Ghz C2D and 2GB of RAM plus a 4600RPM (I think) 60GB HDD that I had to switch to Cinnamon, but after that it worked alright. Could even keep a few tabs open in Firefox. It really only had trouble when it ran out of memory and started swapping.

It doesn't seem as easy to switch Windows to a lighter desktop environment.

Re:Why I use old hardware by AnIdiotOnTheNet on Thursday January 24, 2019 @07:46AM (#18988144)
Actually it kind of is, you just go to an older version of Windows. A surprisingly large amount of software will still work, or at the very least have alternatives that do. XP is really really snappy on modern hardware.

Granted, using XP today is not recommended for other reasons.

Re:Why I use old hardware by jandrese on Thursday January 24, 2019 @04:25PM (#18993137)
Can you even activate a copy of XP these days?
Re:Why I use old hardware by pixl97 on Wednesday January 23, 2019 @01:28PM (#18981027)
It's a trade off. Your OS had to play all kinds of games to manage those 150 or so IOPS you had. When you have 10,000 to a million IOPS you can drastically simplify the operating system.
Re:Why I use old hardware by antoineMoPa on Wednesday January 23, 2019 @10:33AM (#18978996)
RAM? maybe for Visual Studio/Xcode/Android dev. But for any nodejs/ruby/php development, a 10 year old machine with 1GB RAM is perfect.
Re:Why I use old hardware by dijit on Wednesday January 23, 2019 @10:46AM (#18979152)
There are two things that cannot be true at the same time.

"Ram is cheap"

and:

"The maximum ram you can get is 8-16G"

Developers who are making electron applications (not that electron is the primary cause, it's just a correlation I see often) constantly consider that "ram is cheap" for their users and thus do not pay attention to memory consumption like they should.

This means that you're right in a way; vim is good enough for most people and a decent terminal emulator is going to cost you much less than 100mb of ram.

However; slack is consuming 2GiB on my machine, Skype for business is using 500MiB, Outlook @ 600MiB. I use safari and not chrome (safari is @800MiB with too many tabs open) but if I were using chrome I could be using many multiples of gigabytes.

If everyone thinks their program is worth 1GiB of ram or more then your machines become very limited in what can be backgrounded. You might as-well run Android/iOS if you're running with 1G of ram with todays application/web ecosystem.

The thing is; I am quite conservative with memory usage and I'm still quite sure I wouldn't be able to work on anything with 8GiB or less.

( I mean, I just checked and I'm using 15G of memory: https://i.imgur.com/xd6eB91.png )

Re:Why I use old hardware by carlmr on Wednesday January 23, 2019 @11:23AM (#18979602)
Electron is kind of the cause. You can program lean in Electron (see VSCode), but realistically the people that program JavaScript/TypeScript are usually not your CS pros. It's a language that everyone can get into easily, attracting very subpar developers as a result.

So it's not Electron, but it's what Electron enables.

Re:Why I use old hardware by schwartzworld on Wednesday January 23, 2019 @12:01PM (#18980017)
Electron has its place, which is allowing web developers to make 'native' apps without learning new technology. When you are downloading any free software built on Electron, realize that it likely started as a labor of love that the person decided to open source or make available for free.

That said, large companies using Electron is what I don't get. You can't expect me to believe Slack doesn't have the resources to create an actual app for their product.

Re:Why I use old hardware by carlmr on Wednesday January 23, 2019 @01:10PM (#18980789)
It's not that they don't have the resources, but if you want to create something that works the same on Mac, Windows and Linux it might even be a good decision for a bigger company.

Also they might have started in electron and now it's hard to move away from it.

Re:Why I use old hardware by sascha_sl on Wednesday January 23, 2019 @01:01PM (#18980695)
Sure, there's a very low barrier to entry, but node has a big hurtle in the middle.

You can relate if you ever had to setup a JS taskrunner/webpack from scratch. If you don't do it regularly, expect to spend 2-3 hours going through documentation and lots of outdated StackOverflow posts.

JS is easy as long as you stay within the constraints of whatever scaffolding you're using, if you need anything outside of that or need to upgrade your stack you need to know a lot of little things. "Best practices" move fast in JS, and projects die fast too.

Re:Why I use old hardware by carlmr on Wednesday January 23, 2019 @01:08PM (#18980772)
What I'm trying to say is that the low barrier to entry causes a lot of bad software engineering. Of course tooling issues can be hard to solve and you can do beautiful programs in every language. It's just far more likely that if you pick a JS developer at random they won't know much about memory allocation, which algorithm to use, profiling, and on general clean code.
Re:Why I use old hardware by pseudalopex on Wednesday January 23, 2019 @02:53PM (#18982061)
Even VS Code is slower and uses much more memory than native apps.
Re:Why I use old hardware by carlmr on Wednesday January 23, 2019 @04:33PM (#18983250)
True, on my machine it uses 150MB of my RAM. It's a lot compared to native apps, but it's really at the point where it's not that bad in the grand scheme of things.

Our companies customized eclipse on the other hand hogs 8GB ram when doing nothing, needs 2 minutes to start, and is sluggish in general. It's our course written in Java, which is much closer to native than electron, but still they wasted resources everywhere they could.

You can't run a compile on a 8GB ram machine, it will start swapping to hard disk.

Sublime doesn't have all the features, notepad ++ neither, and I just don't like vim style editing.

That leaves vscode.

Re:Why I use old hardware by anthk on Wednesday January 23, 2019 @01:40PM (#18981176)
And here I am, using nmh and exmh under CWM. With vimb + a host file, or plain Links+. IRSSI + Bitlbee for the rest. XMP to play some inspiring tunes. I only use 1.20G of RAM while using cached I/O . That minus the cache, is 185MB, according to vmstat.
Re:Why I use old hardware by dijit on Wednesday January 23, 2019 @01:49PM (#18981294)
You’re lucky. I could run so lean if I didn’t need to read emails using outlook and use Skype for business + slack for communicating with colleagues.

I’ve tried replacing slack with the wee-slack plugin for weechat but, while it works it’s far from a fully working solution and I still need to spin up a slack client sometimes.

Re:Why I use old hardware by anthk on Wednesday January 23, 2019 @03:18PM (#18982390)
Can't you use Thunderbird + Lightning? The RAM usage may be less.
Re:Why I use old hardware by asark on Wednesday January 23, 2019 @11:29AM (#18979664)
The actual act of writing code, maybe, but:

1) 4GB—let alone 1GB—is already cramped with just Slack and any one of your usual bloated shitware issue trackers/wanky PM toyboxes (Jira, Asana) open in a tab or two, plus the usual few tabs of DDG/Google, Stack Overflow, some docs, et c. That's before any actual code-writing tools enter the picture. The basic suite of tools to just be working at all in almost any role is just barely not-painful to use on 4GB. Worst case you're in an agency and have all your tools, plus several duplicates for the same purpose for a client or three, and so on, all open. Yes, it's because all these tools are terrible and eat like 20x the RAM they have any right to and even that's generous, but I still have to use them.

2) Better hope you don't need any design tools at all. (Sketch, say) if you're trying to get by on 4GB or less for everything, unless you like only having one thing open at a time or dealing with UI sluggishness I guess.

3) Docker(-compose) or minikube or whatever? Service dependencies, local mock services? Running test suites? Without a strong CPU and 16GB you'll see slowdown.

4) A fan of any of the fancier webmail clients, like recent GMails or Inbox or Outlook or whatever? I'm not and just keep the Basic HTML version of Gmail open because its full-page loads are faster than the "speedy" AJAX garbage on those, but if you are into that sort of thing take a look at their memory use some time.

FWIW I think almost all the tools surrounding and supporting development these days are god-awful resource hogs that somehow still manage not to be very good and think 1GB absolutely should be enough memory to get by doing node/ruby/php dev, but I still have to work with that junk, and 8GB's the bare minimum to do that without hitting swap constantly, IME, and even with that you've gotta be careful. 16GB's much more comfortable, especially if you sometimes have to do things other that just Web dev.

Re:Why I use old hardware by antoineMoPa on Wednesday January 23, 2019 @12:12PM (#18980138)
I have 8GB here, under Debian. I can easily run docker (with a rails server), firefox (discord, slack, facebook, youtube, online radio + outlook webmail, all at the same time), with many Emacs windows.

I think I could manage to have less RAM (I frequently code on my chromebook with 2GB RAM). My theory is that the ram expands to the amount available https://en.wikipedia.org/wiki/Parkinson%27s_law

Re:Why I use old hardware by asark on Wednesday January 23, 2019 @12:36PM (#18980404)
IIRC at my last employer an Asana tab + Slack ate ~1.5GB all on their own, and Asana was so slow to load that one hated to close it.

Jira's not as bad as Asana but depending on the set-up it can be pretty close. Then there's Invision, et c which are much lighter than those but still pretty damn heavy, if you're trying to get by on 4GB or less. And/or maybe you've got Outlook and Teams and all that. And that's just the communication & collab tools, not even any of the stuff to produce actual work output. Temporarily having to use a 4GB machine with that kind of workflow is why I'm now permanently on Basic HTML for Gmail—it loads fast enough I can close it, and uses so little memory there's no reason to. I couldn't spare the 300+MB for Inbox or whatever with all that other junk open, and besides, Basic HTML's much faster.

Re:Why I use old hardware by WrtCdEvrydy on Wednesday January 23, 2019 @02:34PM (#18981839)
No, it's that developers write their code on 16GB of RAM Macbooks running the minimal amount of software required.

If you're not seeing performance issues in your developer machine, you'll hardly see a developer running on 2GB of RAM.

Re:Why I use old hardware by matthewmacleod on Wednesday January 23, 2019 @10:43AM (#18979122)
But for any nodejs/ruby/php development, a 10 year old machine with 1GB RAM is perfect.

I don't think I'd enjoy the experience of developing on that machine!

Re:Why I use old hardware by amiga-workbench on Wednesday January 23, 2019 @10:34AM (#18979024)
A lot of shops have large and swollen Linux VM's to run your database, web server and interpreter in for consistency with the production environment.

If I wasn't running on a Mac at work I could comfortably use containers without the overhead of another VM.

Re:Why I use old hardware by fiddlerwoaroof on Wednesday January 23, 2019 @10:50AM (#18979194)
The new docker that uses the Mac’s builtin hypervisor works pretty well
Re:Why I use old hardware by amiga-workbench on Wednesday January 23, 2019 @10:50AM (#18979198)
I didn't know about that, I'll give it a look over.
Re:Why I use old hardware by beatgammit on Wednesday January 23, 2019 @10:57AM (#18979284)
You could always install Linux. I personally would hate running a VM regularly for my job. It just adds complexity without much benefit.
Re:Why I use old hardware by 00deadbeef on Wednesday January 23, 2019 @11:09AM (#18979435)
The benefit is the VM can precisely match production, and every project you work on can have a different VM with a different set of software.
Re:Why I use old hardware by amiga-workbench on Wednesday January 23, 2019 @11:03AM (#18979369)
It gets worse than that, I'm still on spinning rust, although I do have 21gig of RAM so I can keep my VM's running.

Looking forward to putting an inexpensive linux workstation together when this Mac eventually bites the dust.

Re:Why I use old hardware by jamesgeck0 on Wednesday January 23, 2019 @11:02AM (#18979353)
For a small app on a box running Linux, _maybe_. Any other case? That hasn't been true for years.

The large Rails app I work on can eat up 500mb RAM easily. The webpack dev server I'm running to compile the Angular frontend for said Rails app is taking another 500mb. Visual Studio Code (easily the best TypeScript editor) is using over a gig of RAM all by itself.

Re:Why I use old hardware by 00deadbeef on Wednesday January 23, 2019 @11:06AM (#18979406)
lol, I'm sorry but no a 1GB machine will not cut it even for a hobby, never mind in a real business environment.

A good IDE like PhpStorm is going to use 1-2GB.

A browser will consume 1GB+. Want multiple browsers for testing? Add another few gigs.

Most devs now use a VM or container with PHP, MySQL, etc running inside it. Add at least 1GB, maybe 2GB.

You probably need Slack or HipChat running. 0.5GB to 1GB.

A mail client. 256MB+.

Your company probably has Office 365, so you'll need Outlook. 1GB+.

Re:Why I use old hardware by beatgammit on Wednesday January 23, 2019 @10:55AM (#18979261)
Eh, 1G is pretty limited. I'd want at least 4G. Yes, 1G is workable (I could do most webdev on a Raspberry Pi), but a desktop environment and a browser running one tab uses half of that, and each tab would increase that usage.

The 4G isn't for building or running code, it's for tons of browser tabs open with documentation. I routinely have >10 tabs open, and that's quite likely to cause swapping on 1G RAM.

Sure, I could slim everything down by running a tiling window manager instead of a desktop environment or configuring my browser to unload older tabs (or close and reopen with bookmarks), but that takes extra time, and if time is money, that money is better spent on a few extra gigs of RAM.

Re:Why I use old hardware by c22 on Wednesday January 23, 2019 @12:06PM (#18980066)
As a counterpoint I currently have over 130 tabs open and my machine isn't breaking a sweat. The secret is leaving Javascript disabled by default and selectively enabling it on a per-tab basis only when needed. This strategy works great if the main thing you're looking at is documentation.
Re:Why I use old hardware by nileshk on Wednesday January 23, 2019 @08:33PM (#18985218)
I found out last year that 1GB RAM is not enough for TypeScript development (whose compiler runs on nodejs). I was building a fairly small TypeScript project on a Linux instance with 1GB and no GUI and no other processes hogging RAM. I was consistently having builds fail with errors about half of the time. Finally figured out that it was running out of RAM and if I turned off source map generation the errors went away. I didn't really need source maps in this case, as I was not developing on this machine, but it certainly would be a problem if I was trying to do development.

Sure, there is a lot of development that can still be done with 1GB RAM, but you're going to run into limitations and it is far from "perfect"

Re:Why I use old hardware by wlesieutre on Wednesday January 23, 2019 @10:35AM (#18979028)
And people who only close browser tabs every six months
Re:Why I use old hardware by simias on Wednesday January 23, 2019 @10:41AM (#18979100)
As long as you don't have to run a bloated electron app or anything similar at least...

I have a relatively minimalist Linux environment by today's standards (I use Emacs, Firefox with about 10 tabs, the Signal client, a few terminals and a lightweight WM) and I already use 1.5GB of RAM at the moment. Firefox alone uses 408M of RES, the Signal app almost as much (!) while my Emacs with dozens of buffers uses "only" 130MB. How times change. The rest is used by all sorts of system processes and minor daemons.

So basically I'd be fine with 1GB if it wasn't for the bloat that's modern web-based development. These days I'd say that 4GB is a more reasonable baseline.

Re:Why I use old hardware by wink on Wednesday January 23, 2019 @11:16AM (#18979518)
Also not strictly true - this is enough for some version of PHP development.

The last PHP app I was developing was running in the same mode as the whole company's infrastructure was developed and running - one puppetized Vagrant VM for the code and one for mysql, and sometimes a few more for other services.

Sure, even if you just want to abstract the stuff away from your host machine you could reconfigure stuff to run on one VM - but that's again diverging from production. And in the grand scheme of things we were working on several different vm types a lot more than only on this PHP app...

Re:Why I use old hardware by azangru on Wednesday January 23, 2019 @11:10AM (#18979456)
> 10 year old machine with 1GB RAM is perfect

No, a machine with 1GB RAM is not perfect. If you are a frontend developer coding in node. And if you are not, you might need a browser for Stack Overflow; and you might need Docker or vagrant for virtualization.

And, you may also want an Electron-based editor, such as Atom or VS Code.

Even 4GB is hardly ideal. 8GB is probably where it starts getting comfortable.

Re:Why I use old hardware by mythrwy on Wednesday January 23, 2019 @11:34AM (#18979714)
I propose we give every front end dev at _most_ 4GB RAM for awhile and see if web bloat stops inflating.
Re:Why I use old hardware by azangru on Wednesday January 23, 2019 @11:58AM (#18979986)
There are far better ways to address this particular problem. Introduce web performance budgets in frontend projects; test frontend projects on specific target devices on which you need them to perform well; perhaps create dedicated web performance teams that will work on the tooling and testing for better performance.

Development machine does not need to have the constraints of a testing machine; it's counterproductive.

In any case, "web bloat" is relative to the target users and target devices. It's one thing to target cheap Android phones in India; it's quite another to target laptops of a SF-based startup. In the second case, web bloat is negligible.

Re:Why I use old hardware by Wowfunhappy on Wednesday January 23, 2019 @12:57PM (#18980655)
> In any case, "web bloat" is relative to the target users and target devices.

What about, relative to how many resources should be required for whatever tasks the software needs to perform?

Just because I have a lot of ram doesn't mean I want Slack to use it all. I'd rather give that space to the OS for file caching and such.

Re:Why I use old hardware by eeZah7Ux on Wednesday January 23, 2019 @12:11PM (#18980132)
Yes please! Very few companies do this type of dogfooding.
Re:Why I use old hardware by winrid on Thursday January 24, 2019 @03:30AM (#18986952)
Nope. The project can still have crazy dependencies that need compiled (thrift etc).

Every morning every Dev in our shop no matter the project is going to run "mvn clean compile -U"

Sure you can split the large projects up. Just get some time from your PM.. next quarter.... :)

Re:Why I use old hardware by hinkley on Wednesday January 23, 2019 @10:57AM (#18979283)
So you’re not doing anything with Docker or ML, or a compiled language, and you have no unit tests?
Re:Why I use old hardware by muro on Wednesday January 23, 2019 @01:21PM (#18980930)
I haven't done web development lately. Why do unit tests mean higher requirements on the hardware?
Re:Why I use old hardware by HumanDrivenDev on Wednesday January 23, 2019 @06:54PM (#18984512)
At a guess - the various popular test runners are slow and bloaty.
Re:Why I use old hardware by hinkley on Thursday January 24, 2019 @10:31PM (#18995326)
Depending who you talk to, there are behavioral breakpoints at one, three, and seven minutes.

If you have a few thousand tests at a couple milliseconds apiece (really really easy to do even in a midsized project) you’re getting above that 1 minute range. Shaving 40% off with a faster computer stops people from task switching while testing.

Task switching pretty much doubles your test cycle because you never switch back at the precise moment the tests are done (we are developers. We always underestimate everything by a factor of 2).

Re:Why I use old hardware by cpburns2009 on Wednesday January 23, 2019 @11:00AM (#18979322)
Can Chrome or Firefox run on less than 1 GB of RAM nowadays?
Re:Why I use old hardware by zozbot123 on Wednesday January 23, 2019 @11:10AM (#18979450)
FF Quantum runs quite well on a 1GB system. You can go even lower than that, but you'll be hitting swap.
Re:Why I use old hardware by jagger27 on Wednesday January 23, 2019 @11:08AM (#18979429)
Firefox can.
Re:Why I use old hardware by andyidsinga on Wednesday January 23, 2019 @12:52PM (#18980601)
While I generally agree with that - more ram is better. I was doing android os builds a few years ago for a wearable project and using the -j make arg reduced build time significantly.
Re:Why I use old hardware by bluesroo on Wednesday January 23, 2019 @10:30AM (#18978966)
Don't forget the SSD.
Re:Why I use old hardware by gautamdivgi on Wednesday January 23, 2019 @11:06AM (#18979397)
The ssd is actually needed. My employer encrypts the drives. It’s too slow without the ssd
Re:Why I use old hardware by ethelward on Wednesday January 23, 2019 @11:28AM (#18979651)
What encryption are you using? LUKS on HDD is imperceptible for me.
Re:Why I use old hardware by sergiotapia on Wednesday January 23, 2019 @10:58AM (#18979293)
Sounds like you never worked on a monstrosity that requires 9 different docker processes running. Java, Scala, Postgres, damn.

Even on a top of the line macbook pro that shit chugged.

And the laptop would get HOT.

Re:Why I use old hardware by rhinoceraptor on Wednesday January 23, 2019 @12:05PM (#18980056)
I think that's just the Docker for Mac client (and Hypervisor.framework). I think the disk I/O performance was bad, the last time I used it was for Node.js/Postgres about two years ago. I was able to really speed up the integration test suite by disabling fsync for Postgres.

If you were running native Linux it should be a lot faster.

Re:Why I use old hardware by eeZah7Ux on Wednesday January 23, 2019 @12:14PM (#18980159)
That's what servers are for.
Re:Why I use old hardware by sergiotapia on Wednesday January 23, 2019 @01:21PM (#18980932)
100
Re:Why I use old hardware by maceurt on Wednesday January 23, 2019 @10:56AM (#18979278)
Furthermore, the mac os is seriously impaired compared to linux.
Re:Why I use old hardware by gcb0 on Wednesday January 23, 2019 @11:09AM (#18979439)
even windows have better UI. on a Mac you can't even alt-tab between two terminal windows. ridiculous.
Re:Why I use old hardware by frou_dh on Wednesday January 23, 2019 @11:18AM (#18979545)
What's ridiculous is condemning something based on your own ignorance. The keyboard shortcut is Cmd-Backtick ("Cycle Through Windows") and it works in all macOS applications.

There's simply a more sharply defined distinction between applications and windows. Cmd-Tab is for application switching.

Re:Why I use old hardware by gcb0 on Thursday January 24, 2019 @03:36PM (#18992655)
you happen to be talking to someone graduated in UX design. and from my high horse I often don't fall for personal taste when writing UI critic :)

if the user wants to move to a terminal window they have open in the background, which key combination do they press? alt+tab or alt+backtick? they have to stop and actively think about which current window is highlighted. is it the browser? or another terminal? this completely kills the action fluency of a keyboard shortcut.

Re:Why I use old hardware by tkxxx7 on Saturday January 26, 2019 @06:00PM (#19009125)
> is it the browser? or another terminal?

This is generally a non-issue, but even if you are getting tripped up consistently, the OS literally tells you at all times what application currently has focus

Re:Why I use old hardware by PascLeRasc on Wednesday January 23, 2019 @02:25PM (#18981724)
People have already given you the answer, but macOS also supports tabs in nearly all the stock apps, so CMD+{1,2,...} is an even nicer way to work with multiple terminal windows, if you're not a fan of tmux. I don't think any stock Windows applications allow tabs.
Re:Why I use old hardware by bytebuster on Wednesday January 23, 2019 @11:20AM (#18979562)
of course you can, it's just another hotkey.
Re:Why I use old hardware by Ultimatt on Wednesday January 23, 2019 @11:22AM (#18979584)
lol try pressing command instead of alt :Z
Re:Why I use old hardware by tengbretson on Wednesday January 23, 2019 @12:32PM (#18980369)
cmd ~