• Advertisement

capn_midnight

Member
  • Content count

    15309
  • Joined

  • Last visited

Everything posted by capn_midnight

  1. Recognize these faces as my tweeps, but the BGs have been changed. Also, I think they screwed up their targeting. https://t.co/qDRDQsptHO
  2. My wife watches this show "Once Upon a Time". I find the only relatable characters are the recurring villains.
  3. This database app vendor I have to deal with doesn't provide a public API. Or so they think. They forgot about SendInput.
  4. RT @JulianHiggins: The eternal civil war - procrastination vs. motivation. https://t.co/LWncuQnSQq
  5. I had forgotten how pedantic Java was. I had gotten to live--for a short while--in blissful ignorance, that which is so rarely recapturable.
  6. Emscripten and Visual Studio 2013/15

    I had a similar issue a while ago. Honestly, setting up a VM with a Linux image and installing the latest Clang was easier. I mean, it certainly was not objectively easy, but it was comparatively easier.
  7. VS 2015 is here

    I?.Love?.The?.Null?.Propagating?.Operator();
  8. In this video, I demonstrate using the Primrose text editor to live-edit the world around me. [color=rgb(0,0,238)][/color]
  9. If you'd like to see the (kind of crappy) video of me #livecoding #WebVR #VR #WebGL #JavaScript you can get it here: https://t.co/Ybze6FAPrb
  10. Engineering vs Programming?

    To me, programming for my job and programming for my hobbies are so completely different that I don't really associate the two. One is not using up my mental capacity or my tolerance for the other. If anything, the hobby work recharges me for the pro work. It's kind of like reading and writing by this point: reading things and writing things at work has no relevance to the things I read or write on my own time. It's just a different form of literacy.
  11. Engineering vs Programming?

      Uh, maybe in the ass-end of Maryland or the boondocks of Virginia, but anywhere near enough to DC to not make commuting to work a daily living hell is extremely expensive, one of the most expensive places to live in the country. Here in Alexandria, rents go from $2 - $3 / sq-ft, which certainly isn't San Francisco, but it's definitely over twice what my sister is paying in downtown Des Moines, Iowa. Places *in* the District are going $3 - $4 / sq-ft. Not a lot of well-paying tech companies in the District, either. There is a growing startup scene, but they all pay shit.   Mostly, you'll be looking for a place to work in Bethesda, Arlington, or Anacostia. You'll still probably have to buy a car. DC's metro is pretty good, as far as US metro systems go, and it's *possible* to get by without a car in this area, but you'll pay extra to be near the metro. If you really don't care about living in a city, you can look as far as Reston and Herndon, but then you will *certainly* have to buy a car, and most likely end up commuting an hour one-way every morning to work.   Freelancing, man. Don't play those games. They're rigged.
  12. Engineering vs Programming?

    There is a general problem in the US right now that the average salary for middle-class workers is not keeping pace with the cost of living in those places where jobs are available. Your first job out of college, you're probably going to struggle to make ends meet, because many of the tech jobs have moved to expensive cities and they aren't going to pay you well to start.   I've had more hands-on, away-from-the-computer work as a programmer who isn't afraid of soldering irons than most of my electrical engineer friends who view programming as just a necessary evil.   Bachelor's degree is mostly a waste of money. Get one as cheaply as possible, don't go to an expensive school, try not to pay for it yourself, don't go into massive amounts of debt. Unless you're going to end up working for NASA, nobody cares if you went to MIT. The vast majority of employers only care that you *have* a degree at all, not where it was from or what your GPA was. Master's degree is a complete waste of money. If you want to do research, go get into a PhD program. Master's degree program is just to let people who are afraid of learning on their own or afraid of committing to a PhD program to dump more money into the system.   Best way to make money is freelancing. Fully 1/3rd of the US economy is now freelance, and it's growing. No companies are increasing the number of full-time employees they are hiring, established companies are dumping everything off on outsourced work. Might as well set your own terms. Market yourself, stay on top of your skills, learn more about business than just programming (which no university is going to teach you). You're never going to be paid what you're worth at a job, and the vast majority of employers you're going to end up finding will treat you more like a burden than the source of their livelihood.   I socialize a lot, just not with my "coworkers", because I don't have any coworkers. I work out of a freelancer's' space, the monthly dues are less than what I was spending at coffee shops, plus it still comes with coffee, the wifi is better, and nobody is bringing in their screaming kids in strollers. I also attend meetups of various types in my area. So, I get to meet a lot of different types of people, not just programmers.   I'm also going to buck the trend in this thread and say forget everything about any concept called "Passion In Your Work". It's nice when you're working on something that you enjoy, and I recommend it to the fullest extent that it is possible, but the way it is pitched makes it sound like a never-ending honeymoon at work. It ignores the fact that there is a heaping helping of work that *must* be done that you will *never* be passionate about. You *have* to understand how taxes work. You *must* make sure your health is taken care of.  If you work independently, you *are absolutely required* to advertise and market yourself, network with others, and pitch services to people. The specific details aren't important, you certainly like and dislike a completely different cross-section of things than me. There are times when even the core work that you love will become a chore, but it still has to be done! Everyone has to get this notion that "passion in my work = success" out of your head. I think it is more dangerous than it's worth.   Scratch everything else I said, except for "stay out of debt". If you can manage to stay out of debt, you can do whatever you want. It doesn't really matter. Stay out of debt and you could work 10 hours a week writing stupidly simple web code and you'd be able to support yourself perfectly well. Add another 10 hours a week and you could support a small family. 20 hours a week of work is not a lot, I fit it into 2 days, then do whatever the hell I want the rest of the time. But you *have* to stay out of debt. It doesn't work otherwise.
  13. Primrose is a lightweight text editor control with syntax highlighting and keyboard shortcuts for use in web browsers and WebGL projects. It draws directly to an HTML Canvas element. The resulting image can easily be used as a texture on 3D objects in a WebGL context. It is also extensible, providing a framework to support any number of programming languages, themes, and editing styles.   Check out Primrose Editor. Free for open source projects.    
  14. Primrose - edit source code in a texture

    I'm personally going to use it to experiment with virtual workspaces. I also think it might be cool for AI-bot coding games, ala a graphical version of CRobots or something.
  15. Smartphones/facebook - gone too far?

    I've done it to intentionally be rude at gatherings I didn't want to be at. I turn the ringer and vibrate off when I'm with people I actually like. I can ignore checking to see if a message exists, but if a message exists it's extremely hard for me to ignore it.
  16. Design Contest for Upcoming Game

      The ease of getting Node.js and Socket.IO running on both Windows and Linux is exactly why I use it over other platforms like Clojure or Scala.
  17. How do you email?

    I don't know if this is standard for email, but it at least works for Gmail. You can add arbitrary text to the username portion of your email after a plus sign. So "my.name+blahblahblah@gmail.com" will go to "my.name@gmail.com". I come up with a different prefix for every site I register on, and then I get to keep track of how people contact me without having to create multiple accounts.   Also, gmail ignores periods in the username portion, which has given me many an opportunity to troll a few folks who were trying to reach someone else with my name. I once participated in a history class group discussion for my doppelganger. Apparently, I was more helpful than he usually is, though, which is pretty bad considering I knew nothing about what everyone was talking about without Wikipedia.
  18. There is no reason you couldn't use Python to make games.   The problem you're facing is that learning to program is a lot more than just learning syntax. You have to learn how to use the libraries of your environment, you have to learn how to use the building and packaging and editing tools available to you, and you have to learn how to solve problems. All at the same time.   When I start learning a new programming language (about a quarterly occurrence for me, these days), I start by figuring out how to: Open a GUI window, bonus points for it being a native window for the operating system I'm on Put buttons in the window, and how to place them. The GUI button is the minimum of interaction that a GUI system can provide. If I can get a button working, I'm well on my way to figuring out how the event model works. It will also serve me when developing the program further, to have an easy way to plop controls on the screen to change things. Register mouse and keyboard events. Ideally, I want to be able to poll the keyboard and mouse, but that is often not the case, so usually I have to setup an event handler of some kind and keep track of the state. Perform an animation loop, the "infinite while loop" that also doesn't make the system unresponsive. In the old days with Win32, that meant an infinite loop which gave back time to the OS to execute. In Java, that meant a Timer object that had a Tick event handler. In JavaScript, you request a new frame of animation from the browser when you first start or after you receive an animation frame from the browser. So how a particular system does animation can be quite varied. Load files from disk. I'm going to want to store my images in files, foremost, and eventually my level layouts. Draw images to the screen. With the basic 2D graphics libraries that are available in most GUI subsystems, this is not too difficult. In all of the 3D APIs, there is a lot of setup code to get something like this to work. I usually focus on the 2D graphics from the GUI subsystem first, because usually that's all I need to start. Play sounds asynchronously. Audio has a huge impact on the enjoyability of a game. A really crappy looking game can be greatly improved by just some simple sounds, but even a great looking game is nearly ruined by having no audio. Depending on the system, making it so you can play multiple sounds at the same time, on top of each other, can be difficult. But once I've got it, it's usually easy to copy it around to all of my projects. Once I have these tasks figured out, the rest of the job is mostly just figuring out how to put together the game. For a "first" project in a new language, I usually do Tetris for this reason, because I've done it so many times I don't have to think too hard about what needs to be done to make the game work.
  19. So what's everyone been up to?

    I almost bought it once for my Kindle, but $41 is too much for me. I'll keep an eye on it for when it goes down.     That was pretty rude.
  20. iOS Submisssion: URL/Website required

    If it's anything like Facebook's app requirements, you'll need your own website to also publish a Privacy Policy, a Terms of Service, and a DMCA Notice. There are Creative Commons licensed copies of such documents out on the interwebs. Just find them, fill in the blanks with your name (you don't need to make up a company name, and it's best not to if you don't actually have an LLC), and then just put a link each of the PDFs on the bottom of your page.   I personally have a virtual private server on DreamHosts on which I setup all of my websites, but I've recently been accepted into Microsoft BizSpark, which gives me a lot more free virtual servers and capacity than I'm currently paying for, for the next 3 years, so I'll be moving everything over soon. Look into apply to BizSpark. There is a lot more to it than just free copies of MS software.
  21. Unity Android Game development

    Just, you know, use whatever works for you. You're not going to make Skyrim on your own (wait, I haven't been playing a lot of AAA games lately, what's the current example?) Your biggest project hurdle will not be the performance of your programming language, it will be the likelihood that you'll actually complete the project.   So don't make it hard on yourself. Use Python, or Haxe, or Unity3D with JavaScript scripting, or whatever you think you're most comfortable with. Will it be "OMG ZOMG BESTEST GRAFEX EVAR!"? Nope. Will it matter? Equally nopers on the nosers.   As you grow as a programmer, you'll find you have needs that your current programming language doesn't fulfill. And that's any language. And you'll find it ebbs and flows over time, like today C# is the best language for you, tomorrow it's Ruby, next year it's C# again. Don't sweat it. Just go with it. In 5 years, you'll know 10 languages. In 10, you'll even be good at one or two of them. In 20, you'll forget which languages you even know and they will all start to blur together as you slip in and out of each like carving sick moguls on a ski slope. Or something. My metaphors aren't good today.   Super Mario Bros 3 was a high water mark for me in gaming. Haven't played many platformers since then that have even come close. Maybe Super Meat Boy, but then again, maybe not. That ran on a 1MHz, 8-bit MOS 6805 processor. Today, you have probably 2 to 4 processors in your phone that are each easily 2000 times faster. That's a lot of times-faster in which to fit high-level language overhead. Nowhere near all of that is attributable to "hand-written ASM". We've got optimizing compilers these days. You can't write ASM as fast as your compiler can make code.   All I'm saying is, if your game sucks, if it's slow, if it isn't fun, it ain't because of the programming language. Take it from someone with a lot of unfinished projects: don't waste your time on this meaningless stuff about what programming language to use, and don't waste your time with these people who will call you an idiot for your choices. Learn good habits, one of which being how to finish projects. Sounds like you're off to a good start.
  22. So what's everyone been up to?

    A flood destroyed everything I owned and then 3 months later I got fired from my job, which I hated anyway. I spent 6 months unemployed, burnt through all of my savings, maxed out all of my credit, and had literally nothing to my name. I started freelance consulting and now, 3 years later, I have two part time employees, no debt, some savings, a condo and a new car, three international trips this year alone (pleasure, not business), and I'm married to the most amazing woman in the world (and I've been around the world a few times now, so I think that's pretty safe to say).   I'm using said part-time employees to take over my consulting work (and still take a cut off the top) while I focus on building web-enabled virtual reality software.
  23. Space Mirror = Time Window?

    Assuming the optics could be worked out, as others have mentioned the various problems, to see to our past, the mirror would have to already exist, and would have to have existed at a time T/2 for whatever time T you want to look back in time. If you wanted to see some dinosaurs walking the earth, an appropriately impossible mirror would have to have been put in place, over 150 million light years away, over 150 million years ago.   If you were to put a mirror out in space today, you could not see to any time prior to today. This is just basic geometry. Not assuming faster-than-light travel, if it takes M years to place a mirror N light-years away, with M greater than N, then in M years you could look back in time to a point in our current future. The effect would be such that, if we watched the mirror continuously as it were flying away, it would show us a "live video stream" from the day we launched it, in slow motion, and then in M years when it finally reaches its destination, the slow-motion ends and the "video stream" will resume to normal speed, offset from our own timeline by 2N years.   As it turns out, a similar reasoning applies to why time machines will never be created to allow us to travel back to any time prior to when the time machine was created. Any such time machine would require faster-than-light-speeds-without-space-folding. And I've been assured by people who have studied the issue much more than I have that such a thing is impossible.
  • Advertisement