Lurker News
Peter Thiel has written about the "10x rule" for startups, where your innovation has to be 10 times better than the second best option [1].

Have you personally experienced such 10x improvements in your own interactions with software? What were they?
[1] - https://thenextweb.com/entrepreneur/2015/07/13/the-10x-rule-for-great-startup-ideas/

Comments (795) 280 threads

Earlier comments
saalweachter4 replies#
Modern Linux distros.

Yeah, I have so many complaints about them, but for a wide range of use-cases and hardwares, they "just work" now.
In the olden days, Linux desktops and servers, and especially laptops were much more "pets" than "livestock", needing constant attention and care to keep them working, correctly configured, and up to date. Half the time when you added a new software package or piece of hardware you'd end up breaking your X-windows configuration and need to spend six hours getting things mostly working again.

Loughla3 replies#
Linux Mint literally just works 99.99999% of the time. It's better than windows, tbh, in terms of stability on my machines.

Compare that to Ubuntu, Mint, or Fedora from even 10 years ago, and it's startling.
Go back to 2004-5 when I was really into this kind of thing in college (and had time to dicker with it), and it's like they're not even the same product.
You're 100% right. Linux desktops used to be pets, very fragile, sensitive pets. Now, they're machines that work. It's remarkable how far its come.
(and I know this is a fanboy statement forever, but) I genuinely do not know what is holding linux back from massive adoption anymore.

saalweachter#
Microsoft Office and most desktop games, basically.

Linux is a little too command-line happy, sure, but not being able to run Excel or World of Warcraft is a much bigger deal-breaker for most people.

bad_username#
I found the 0.0001%. Mint could not reliably connect to my run off the mill BW Brother wireless laser printer. I had to reboot often to get printing. Same problem on 2 different PCs.
Laerthd#
For me it's the microsoft office suite. I used to make documents in LaTeX and continue in some cases for text heavy or math heavy final documents. Since using powerpoint however, I cannot image going back to either LaTeX or libre office for either presentation or quick intermediate reports. LaTeX is too cumbersome and libre office is just a pain to use (one part of me still hope that I am just using it wrong). Apart from that, gaming is also a reason for my personnal computer.
dopeboy#
You're giving me flashbacks to when I had to compile my own kernel for ubuntu on a macbook.

All to get suspend working.

bradford#
Reading your comment (and replies to) is a bit interesting because I almost never see an admission that Linux is anything but gods gift to humanity. (yes, I exaggerate, bot not too much). It's nice to see more reflection and honesty about various annoyances that came with it.

I remember being told (circa 2005) that my PC issues would be resolved if I just switched from Windows to Linux.
I tried Linux a few times back then, and it never stuck. I would hit some small issue that I couldn't solve and eventually I'd give up and go back to Window (which certainly had its own problems, but I wasn't under any illusion that it was a flawless)
I use Linux more now (mostly as part of WSL) and I really enjoy it when I get to use it.

elihu#
I remember the old days of having to run a program to generate proper modelines to get XFree86 working with whatever monitor I was trying to use.

Though to be fair, having explicit modelines was once also useful when modifying a BNC Trinitron monitor that ran at one very specific resolution to connect to VGA.
It's nice that monitors mostly just work these days.

fnord775 replies#
Java vs. the 90s C/C++ standards. Not having to deal with memory management made it so much easier to write applications.

I'm guessing SQL was a 10x innovation at least when it came out, too.

aphextron3 replies#
+1 for this. Java gets shade from the hipsters these days, but it's almost impossible to overstate what a revolution it was for software engineering.
hodgesrm#
Java had an impact similar to COBOL in the previous generation of business apps. I used to call it COBOL for the 90s.

If you don't know COBOL, it was a revolution compared to programming in Assembler. It's hard to overstate how big an improvement it was for productivity.

bhaak1 reply#
Java saved me from having a C++ career. And that was the 90s C++, not the C++ of today. I dodged a bullet there.
benibela6 replies#
Unfortunately I learned Delphi

Afterwards you could not take the other languages seriously
Like comparing two strings for equaltiy, strA and strB.
In Delphi, you write: strA = strB
In Java: strA != null && strA.equals(strB)
Delphi just did everything better

Continue this thread — 6 replies

AnimalMuppet4 replies#
Java brought two things to the table compared to C++: garbage collection, and an enormous library.

I don't think that garbage collection, by itself, was a 10x change. For it to be so, programmers would have to be spending 90% of their effort on freeing memory. Don't get me wrong, garbage collection is a big win when you can use it, but I don't think it's quite that big of a win.
The library... that might almost be 10x, by itself, because of everything that you don't have to write. The combination of that plus garbage collection gave Java quite a kick compared to C++.

Ma8ee2 replies#
Not freeing memory, but tracking down memory leaks. We rarely even hear that term nowadays, but most large commercial programs used to have them.

Continue this thread — 2 replies

thow-01187#
+another huge benefit - Jar files and class files made the IDEs possible. Studying at the university, moving from Visual Studio/C to Eclipse/Java was a wtf-how-is-that-even-possible moment.
stickfigure#
In the 90s I used to spend DAYS hunting down memory issues (corruption, leaks, crashes) in C++ code. Your whole schedule could slip by weeks because of one hard to reproduce issue. I haven't seen that kind of problem in a long time.
ralphc#
I was part of the C++ -> Java revolution, and I'd add the language being much simpler than C++. It felt like a rare, real 80/20 thing where you get 80% of C++'s power for 20% of the complexity.
blunte#
And to think, Java was a tough sell to companies at one time. I had to sneak it in (same way we snuck Linux in) by building some invisible infrastructure thing with it, having it run without fail for months, and then saying, "Oh hey, did you know thing X is actually Java/Linux?"
zz865#
One other thing about Java is it had great libraries. C++ didn't have things like collections so you couldn't write a library that used a 3rd party linked list because your user might not have a roguewave license etc. STL became popular soon after Java which helped.
bluedino#
The same, except today, Python vs C/C++

Novice C programmers would get stumped on opening a file, reading and parsing the data.
Now you have:

    with open('foo') as reader:
      # blah blah
gfxgirl#
Java got it wrong IMO. There are many things that need the same management. C++ allows this vis destructors. You can auto-manage memory, auto manage locks, auto manage files, auto manage GPU resources, auto manage video players, audio players, etc.. etc ...

Java you can only auto-manage memory. All the rest you can't.
Yes I get that C++ has too many foot guns but Java's solution is half assed. There's so much more to resource management than just memory.

dale_glass4 replies#
SSDs.

Virtualization.
Git. I've used CVS and SourceSafe before.
LVM. The old MBR way of partitioning is just awful.
systemd and journald, just to be a bit controversial. I really don't miss my days of screwing around with init scripts, or having to parse logs by hand.
Arduino. It makes lots of cool stuff very accessible.
sshfs, it's amazingly convenient.
pulseaudio. Sound on Linux finally works. I spent an unbelievable amount of time fighting with it before.
valgrind. Amazing for debugging memory issues.
Modern hardware. It's only recently that I'm no longer tightly restricted by RAM, disk space or the CPU. I remember the hours spent on freeing up conventional memory, a kernel taking 3 hours to compile, and having room for half the stuff I wanted to install.

atonse1 reply#
I absolutely love systemd and journald. The fact that you can do most things declaratively and have a common interface for logs, it's just beautiful. I can do things like "show me the logs for this service for the last 5 mins".

I still don't fully understand why people prefer bash scripts.
But then again, I have never once needed to edit those bash scripts since I usually don't stray too much from defaults.

dale_glass1 reply#
It all depends of course on what you do. When you try to ship stuff for various Linux distros, having to figure out how SuSE, Red Hat and Ubuntu like doing their init scripts is a pain.

Admin-wise it's nice not to ever have to look at a 3-way merge of stuff in /etc/init.d if somebody touched anything, and then the system was upgraded.
But besides that there's lots of cool benefits. Like not needing to deal with PID files, the fact that you always know what a random process belongs to, and that if you want to stop something, nothing will be left behind. Plus all the nice resource limits, auto-restart and other useful parameters that can be applied to anything.

atonse#
It may make the lives of distro developers harder, but doesn't it make the lives of sysadmins (of which are probably 100,000x more than distro developers) easier?

And we always wax poetic about how doing things in a declarative way ultimately leads to a better experience. So I am always perplexed when people give systemd a hard time when that's exactly what systemd has done, it's established a standard and consistent way to declare services.
Speaking of other things that seem to not want to change, why in 2021, a decade after PowerShell, do we still pipe unstructured text between processes and perform gymnastics with sed/awk/print, does that not just feel extremely janky to people? I'm not remotely a fan of Windows servers, but PowerShell got this right from day one since it started from scratch with the idea of piping objects back and forth. Can we not as a community at least have standardized flags to output the various standard commands as maybe JSON? and take inputs as JSON as well? maybe this has already been tried but I don't see it.

bombcar#
SSDs did it twice - the improvement from spinning disk to SSD it desktops was amazing, and then NVME/M.2 took it ANOTHER 10x - the speeds for storage are now so insanely fast that some of the trade-off decisions no longer apply.
darepublic#
+1 for git, I learned it at my second job and I remember at my previous position using window shared network drives as a very basic versioning control system
boring_twenties1 reply#
> LVM. The old MBR way of partitioning is just awful.

Just wait until you find out about ZFS!

gautamcgoel1 reply#
Honest question: can you explain the practical advantages of ZFS over LVM + Ext4? I understand that ZFS combines a filesystem and package manager, but why should I, a humble OSS user, care?
boring_twenties4 replies#
Not all of ZFS's advantages necessarily apply to "humble" uses like your home PC, but I can think of a few that surely do.

Filesystems share all available space in the pool. Say you have 16GB space available, so with LVM, you might make an 8GB /home and an 8GB /var. Later on, you've run out of space in /home while still having 4GB free in /var. What do? Well, you can probably get by with resize2fs followed by lvresize ... but this is not only cumbersome, but prone to catastrophic failures. With ZFS this is simply never an issue.
Snapshots. LVM has them too, of course, but they're not aware of files so they're far less useful. With ZFS, you can simply run `zfs diff` and it will pretty quickly tell you which files were added, modified, and deleted.
Building on this snapshot functionality, incremental backups become a breeze with `zfs send` and `zfs receive`, obviating the need for clunky (by comparison, at least) solutions like rsnapshot.
ZFS actively detects data corruption, by checksumming everything. Assuming you have redundancy (mirrors or raidz pools), it also automatically fixes them. It's often said that this is only relevant to "enterprises," but I'd disagree: I don't want to discover my personal files have been corrupted any more than an enterprise does their business files. A better argument is that this protection is incomplete if one is not using ECC RAM, however, a partial counter to that is that a lot of recent consumer hardware (namely, AMD's) does support ECC RAM.
Overall I'd say comparing ZFS to LVM+ext4/XFS/whatever is kind of comparing, say, Windows 95 to Windows 2000 (or Unix, if you prefer). It's just not a fair comparison, they're not even playing the same sport. A much more apt comparison would be to BTRFS, but ZFS has been rock-solid for longer than BTRFS has been in existence, and the latter has been eating people's data left and right for most of that time.
On the other hand, one downside to using ZFS at home is that you can't really add one drive at a time. Say you have a raidz2 (similar to RAID-6) pool with 6 drives in it. You can't just add a seventh. The ideal way to grow such a pool in ZFS would be to add a whole nother raidz2 "vdev", which would then be striped with the first one. That means buying 6 new drives, not 1.

Continue this thread — 4 replies

marianov2 replies#
Wireshark. I've saved countless enterprise problems that nobody could debug by intercepting traffic and guessing, or looking at the raw data nobody knew was there.

Python list comprehensions + ipython: it changed how I approach all compley python code. I iterate over the data until I get it right, then use that as the basis of the program/script.
Youtube: I can learn anything now. It's the real world The Matrix

Aperocky1 reply#
Interesting use of wireshark.. I'd assume they'd at least allow you access from at least one end.
marianov#
last time it was: install tcpdump on java server doing nasty things. save pcap. Analyze with Wireshark, find out the JAVA app was doing insane things against the Oracle DB even after vendo said they had "optimized" database access. Th good thing is the same technique applies to REST apis, sockets, load balancer problems, other databases. You probably can do a better job using each specific stack debug facilities, but a .pcap and wireshark is the swiss army of debugging.

Also: strace for reading what anything in Linux is trying to do when failing.

saalweachter#
Re: YouTube, the internet as a whole has gotten pretty for "How do I X?" queries.

My favorite anecdote was the time I ripped a hole in the side of my house, then googled "How do I frame a rough opening for a window?" ... and that story turned out fine, with my house having a new window at the end of the day, and not a gaping hole with a tarp tied to it.

Load more comments