Catch up on stories from the past week (and beyond) at the Slashdot story archive

 



Forgot your password?
typodupeerror
Check out the new SourceForge HTML5 internet speed test! No Flash necessary and runs on all devices. ×

Comment Re:More advertising data (Score 1) 26

Thank you, you nailed it far more succinctly than I.

What gets me are the "So? Every other company does it." as if that makes it right. These are the same people that check in on Facebook, leave location metadata on in photos, and run Google Maps in the background because it gives them the warm fuzzies thinking they're helping.

Comment Not quite dead yet (Score 1) 297

It means that we are now far more removed from access to the metal to even do a lot of the optimizations that we've done in the past.

Well... no, it means that you are, perhaps. Some of us still write in c or c++, and keep our attention on the details. You can tell you've run into one of us when the many-functioned app you get is a couple megabytes instead of 50, runs faster than the fat ones, and doesn't suffer from black-box bugs inherited from OPC.

I always thought that the user's CPU cycles and memory were things a developer was obligated to treat as the user's valued resource, and so not things to waste.

I know, totally out of date thinking. It's ok, I'm old, I'll die soon. :)

Comment machine code ate my neurons (Score 1) 297

But can you program in Z80 and 6502 machine code?

Yes. But more importantly, I can program in 6809 machine code. Including building all the index modes. Which, back in the day, is one of the things that saved me from having to design in, and then program, CPUs like the 6502 and z80, both of which are seriously anemic by comparison. But I prefer to program in assembler. Because I'm sane.

My affection for the 6809 ran so deep that I wrote the 6809 emulator you'll find here, which required me to implement the entire instruction set from the ground up.

But yeah, I can write machine code for about 10 microprocessors. And you know what? In the day... that was useful. I could read (E)(P)ROM dumps, I could cold-patch... but today, I just wish I could get the brain cells back. :)

Comment Re:Unfortunately no and I have a reason (Score 5, Informative) 297

Reading those books requires high degree of mathematical sophistication, particularly, knowledge of complex analysis, which I lack.

They're just algorithms textbooks. They're hard to read because of when they were written, and the accompanying style. More like pseudo-assembly than high-level pseudo-code.

But, hey, if you want to optimize your search algorithm that uses tape as storage, to take advantage of the new-fangled tape drives that can write backwards as well as forwards, it's the book for you! (Yes, that was really a thing, and an algorithm you'll find in Volume 3: Sorting and Searching.)

Personally, I don't think he does a great job explaining algorithms. I once needed to look up O(n) median for something, tried to understand it from Knuth, gave up on the cryptic text, and understood it right away from CLR (now CLRS). It is an exhaustive catalog, but it's not a great learning tool.

Comment Yes.... (Score 1) 297

Folks, we live in an age where programmers declare integers that are going to count from 1...10 as LONG INTEGERS, eating 8 bytes of RAM, where only 1 byte is needed.

We live in an age of cloud computing, load balancers, containers, and distributed databases with stored procedures. When code runs, you have no idea where it is running and how it is spread out over cloud services. Most of the time you don't even know what country the physical box is in.

I have a pure CS degree, but as long as we can keep making things faster and bigger, I am not sure if this book will ever be a top seller. In the brave new world of computing I am not even sure what optimization means anymore. Optimize for CPU, network, compiler, database, cloud architecture??? It is maddening!

As for me, I am currently doing an embedded systems project. Am I doing it in 'C' and ASM like in the good old days? Heck, no, I am using python on a quad core ARM SOC with 1GB of RAM. Even at max processing load I am barely hitting 10% CPU while coding in Python. As long as hardware is fast and cheap, there is no need to spend this kind of time optimizing every cycle and byte. BTW, this is my first Python project. Easy-peasy language that is great for hardware interfacing projects, most libraries exist for common chips like the MCP3008 (AD convertor).

To the kids out there. This is a great time to be alive. You can build anything, learn anything, and talk to anyone. Do cool stuff. Learn everything. There are no limits and powerful hardware is cheap. Look around at how lucky you are to be alive right now. It is an amazing time!

Comment Re:Visual Studio C++ equivalent? (Score 3, Informative) 109

I develop C++ applications mainly for Linux. I use Visual C++ and Xcode (I got accustomed to it after some time) to develop, then I log on Linux to "port" the code with vi, GCC, etc, and add Linux specific features.

Is there a decent GUI for developing on Linux now?

You can use VS on a Windows machine to build/debug on Linux now. You can also run a light version, "VS Code," natively on Linux - it's free and open source, but I don't know how full-featured it is.

Comment Re:treating the symptoms (Score 2) 349

So then which policies are you happy with?

I look forward to Trump actually having a policy that he won't flip-flop on. I couldn't begin to predict what that might be, but once the senate, or someone non-Trump, says "this is the deal", well, then we'll know.

Fuck you, fuck your fascists, and fuck their awful ideas.

See, AC has moved past denial to anger. This is healthy.

Slashdot Top Deals

Money is the root of all evil, and man needs roots.

Working...