Details
-
AboutSold my first program early 1981. I've seen things you people wouldn't believe....
-
LocationEngland
Joined devRant on 5/31/2016
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
-
@prodigy214 No - that was the big complaint about it right from the start. If the Touchbar had been an additional row it would have been a success. Instead, we got stupid shit.
-
Code Complete (I’ve only read the first version) is both general and good.
-
Try out some Vibram FiveFingers - thin footwear with separate toes. I’m fond of mine, but you do get some stupid comments.
-
Lightweight Desktop and compile your own kernel specific to your machine’s hardware rather using the generic one that came with your distro.
-
The Erdinger Alcohol-free (actually 0.5%) is tasty, refreshing and extremely good.
Every other low or non-alcohol beer I’ve tried has been awful with a nasty sour under-taste.
Remember: Don’t Drink and Drive. -
Definitely. Noisier, but just remember you don’t have to bottom out the keypresses, they should still register.
-
Arch Linux is good and has excellent documentation - but it's also a lot of work.
I am very pleased with Gentoo which has also let me tailor and compile a system exactly to my liking (without systemd!).
Try it in a VM first. -
Just Think "Lucky Escape!"
-
Currently Fvwm Crystal on desktop, Unity on best laptop (for the HiDPI support), LXDE on next best, iceWM on old netbook.
Old desktop (no longer used) has Bodhi Linux with Enlightenment 17.
Also used i3 and Blackbox in the recent past, in the distant past KDE, Gnome and XFCE and the very distant past just plain X.
Lightweight desktops are best. I want my resources doing useful work, not chewing through RAM and processor cycles for the sake of some eye candy.
A friend has told me I need to get with the times which I would do if more modern programs didn't waste resources like they are going out of fashion. -
I like my CODE keyboard. Expensive, but worth it.
-
Because they are better.
I have a CODE keyboard with Cherry MX Clear switches, damped.
You don't have to "bottom" a mechanical keyboard, there is no need to depress the key fully.
They can be noisy though - but not much noisier than Apple's latest laptop keyboards. -
A long time ago (1980s) in a faraway place (England) I worked with an Operating System called VMS.
Every time you wrote to a file it gave it a new version number the file becoming the name plus a semicolon then the version. When using a file, if you didn't specify the version it automatically used the latest version.
Periodically you would purge the excess versions, keeping the last so many you wanted, e.g.
Purge/keep=3
Or (abbreviated):
pu/k=3
Needless to say, your unfortunate tale wouldn't have happened in the Old Days, and shouldn't happen now if we just learned the lessons of the past.
Yes, I am a grumpy old-timer. -
Does not compute....
-
You have to learn to think in the language. Don't try to write in your native language and then translate into code, think in code - just like learning a natural human language.
Then build simple "words" (basic commands) into "phrases" such as iterating a fixed number of times, or visiting each element of a list or array in turn. Break problems down into these patterns, thinking how to express the problem you are trying to solve using these patterns.
Keep at it until it begins to "flow". -
Asus or a 2nd hand Lenovo.
-
I used to quad boot between OS/2, Linux, Windows 98 SE and Windows 2000.
That was a beast of a machine for the time. -
@Timothy-Barron Yes, you're right. I was posting while inebriated. Sorry!
-
@devios1 Sorry, yes, you're correct. And I already knew that - but that's what happens when you post when on holiday in Prague after drinking lots of excellent Czech beer. 🤓
-
@devios1 No. The rule is that brackets are dealt with first.
So 6 / 2 * 3
Then left to right.
3 * 3
Which is 9. -
Recruiters are basically pimps, and with much the same moral and ethical outlook as the other kind.
Ditch him. -
@Bikonja Me too.
If you aren't paying for it then you are the product being bought and sold.
Why would I be interested in telling some corporation/government who all my friends are and what I (and they) really think? It's Big Brother's wet dream. -
I do hope you used the proper "Here be Dragons" ascii art of a dragon. 🤓
🐉 -
This has actually been analysed.
Dijkstra wrote about bounds checking and the best way that minimises errors.
Basically:
0 <= x < N
is the way to do it. -
Time to sue.
-
Wow! Just looked this up. Genuinely interesting. Thanks!
-
Surely it should be rated up to 11 ?
😎 -
@edwrodrig I follow the same rule, (actually 79 chars).
One advantage of using 4 spaces is that it very quickly shows that your code is becoming too deeply indented.
Keeping indentation levels down is a very good way of keeping unnecessary complexity from your code.
Basically, it's fewer context switches for the CPU in your head. -
@edwrodrig Burn the heretic!
(Only kidding).
I think consistency is more important than the number of spaces.
In my Pascal days at University I used 3 spaces.
Starting work I used 2 spaces to fit in with colleagues.
Then switched to 4 spaces to fit in with another team.
I've found I prefer 4 spaces, but don't really mind so long as the indentation is consistent. -
4 space indentation for the win! 🤓
Those of us who use spaces know that our indentation isn't going to get messed up.
This is important.
We also clearly care enough to want fine-grained control over our visual horizontal and vertical alignment.
This is also important.
And clearly important enough to be rewarded! 😊 -
For years I have only ever used it on a machine once - to install a replacement browser.
My kids call it the "browser installation program". 🤓