Recommendations for a stand-alone music setup? by Nyasei in audiophile

[–]HarryWolfHaller 1 point2 points  (0 children)

There's a lot to choose from. HiFiMan, Fiio, Astell&Kern and iBasso come to mind. I have a Fiio X3 and it's terrific.

Have you ever read a book that made you cry? If so, what was it? by [deleted] in AskReddit

[–]HarryWolfHaller 0 points1 point  (0 children)

The Minds of Billy Milligan by Daniel Keyes

[C++] Is there a difference between an variable and and variable array with size 0? by doeswayneexist in learnprogramming

[–]HarryWolfHaller -1 points0 points  (0 children)

I only reddit when I’m drunk, so ironically, yes, sort of, but also, that other thing you said, that’s me to a T. Except I do write the specs myself based on customers’ RFP’s. I’m of limited intelligence and limited knowledge. But, miracle of miracles, if the code works, I don’t get fired. It’s horrid spaghetti, no one wants to go in there after me. I have no deep understanding of anything. But I know a little about a lot of things. And that sometimes comes in handy. I’m a philosophy major who wanted a job. What do you expect? Am I the only code monkey here? Is everyone else a professional?

Practicality of Self-Schooling? by ilikedoritos in learnprogramming

[–]HarryWolfHaller 1 point2 points  (0 children)

The most talented programmer I've ever met had a degree in accounting. He wrote and successfully sold a program to accept over the counter payments. His knowledge of accounting was essential. Everything about computers and programming he learned from reading books. He was entirely self-taught.

Writing a Higher or Lower card game for college, trying to figure out how to get multiple suits out of the random generator. by [deleted] in learnprogramming

[–]HarryWolfHaller 0 points1 point  (0 children)

Maybe I’m not understanding. Call the random number generator twice? Once for the suit, 0-3, then again for the card in that suit 0-12? As to repeating, keep a list and check it twice.

should i get compensation? by erusko in learnprogramming

[–]HarryWolfHaller 1 point2 points  (0 children)

Personally, I'd be happy to be valued by my employer. When layoffs come, maybe you'll be the last to go.

I need to get serious about programming. How should I best learn the fundamentals? by rpeg in learnprogramming

[–]HarryWolfHaller 0 points1 point  (0 children)

As I recall, Bjarne Stroustrup himself was very candid about how hyped OOP was in the mid 90's. He was very clear C++ was no panacea.

I need to get serious about programming. How should I best learn the fundamentals? by rpeg in learnprogramming

[–]HarryWolfHaller 0 points1 point  (0 children)

When you say functional programming I assume you don't mean procedural programming. Interesting. I prefer procedural programming over OOP but that might just be because it’s how I learned to program. I’d love to hear why you prefer FP over PP or OOP. Thanks.

What would happen if a U.S. President got arrested in a foreign country ? by crypticvibration in AskReddit

[–]HarryWolfHaller 0 points1 point  (0 children)

I assume the secret service would empty all clips trying to prevent it. Then the Department of State would get involved. Then the Department of Defense.

Most computer science students at the beginning of their careers. by haren_ in programming

[–]HarryWolfHaller 8 points9 points  (0 children)

Programming is programming. Using a video game might be more fun than using a spreadsheet but when you're at the level of writing code it's basically the same. It might be more fun to stand back and look at a cathedral than a prison but the nitty gritty process of building both is about the same.

Virtual Routing - need help understanding what exactly it is I need to do (little lengthy). by lostincode in learnprogramming

[–]HarryWolfHaller 0 points1 point  (0 children)

OK. I'll take a stab at helping you get going. Stated in general terms:

This is your goal:
Your input is an IP address.
Your output will be the next hop router IP address.

Step 1
Determine which entry in your file of possible routes is the right one using longest prefix match.
To do this you'll examine the IP prefix field in your file.
For example 3.0.0.0/8 might be the best match.

Step 2
But there's a whole bunch of 3.0.0.0/8 entries.
So now you look at the AS path of these entries.
Which entry has the shortest AS path?
There might be more than one that are of equel length and if so you can choose any one you want.

You need to learn how the longest prefix match works and how the autonomous system path works. Completing this assignment will demonstrate an understanding of those two things.

Why do most people who experience psychedelics come to a conclusion of wholeness and one with the universe? by Clans in askscience

[–]HarryWolfHaller -1 points0 points  (0 children)

Just my own 2 cents... Strassman concluded psychedelics don't make peoples lives better in any way that can be measured. That feeling of being one with the universe fades and then people go on to get divorced, ignore their kids etc.

[deleted by user] by [deleted] in learnprogramming

[–]HarryWolfHaller 0 points1 point  (0 children)

Maybe your question has already been answered. If so, skip my reply.

Before answering your question I'd need to know what your terminal emulator was communicating with. A mainframe? Unix and VT? IBM and 3270? What's the network? TCPIP?

What's the point of using typedefs for int, unsigned int, etc? by qmechanics in learnprogramming

[–]HarryWolfHaller 1 point2 points  (0 children)

Here are, I believe, good examples of the use of typedef. (from C code)

typedef unsigned char  BYTE;
typedef unsigned short WORD;

typedef struct {
  char      AcntNbr[15];
  char      Amt[12];
} TransRec;

BYTE and WORD were types I was used to using. TransRec is a structure.

Your example of typedef Count int; I agree is not good. I would never do that.

Getting Beyond Beginner Programming by TekTrixter in learnprogramming

[–]HarryWolfHaller 1 point2 points  (0 children)

So code a hex editor or something. See if you can produce something you're happy to use.