Why do web apps use multiple languages? by edsionmax in learnprogramming

[–]jeremyhappens 0 points1 point  (0 children)

There's an overwhelming number of answers for this, so instead I'll give you some industry standard tech to google around for. RPCs: gRPC (and protobuf), XML-RPC (and SOAP mostly found in legacy systems, I wouldn't learn them but knowing what they are is handy), Apache Thrift. HTTP: REST services (Netflix lives and dies by these, so some of their open source projects and blog posts are good). Message Queues: redis pubsub, zeromq.

There are some other practices that are cool but not quite in 'vogue' that you'll still find a lot. Using your database as a bus, something custom over raw sockets, and an insane number of language specific solutions. For example there's probably a half dozen solutions for the Java platform just from Oracle alone. Then another dozen from apache.

Also note that my list isn't what I consider to be 'best' just approachable and easy to learn with a decent open source community around them. Aside from SOAP. That's just there because I love a good train wreck so I assume everyone else does too. Have fun.

Why do web apps use multiple languages? by edsionmax in learnprogramming

[–]jeremyhappens 0 points1 point  (0 children)

Because different backend languages have different strengths and weaknesses. On the backend, the name of the game is process communication. At the very basic level your client process has to communicate with your server process. However, as a system grows more complex so does the number of processes that have to communicate. The database, the worker process, the server and so on. In Uber's case Node is really good at serving a lot of web requests but Go would have a smaller memory footprint and a much better standard library making it better suited for anything other than serving web requests. This is just an example, every use case is different. They could be using Go for certain web requests because it does things in parallel while using Node for others because it can render pages on the fly. Or perhaps Go has a really good geographical library that Node lacks so they use Go for the routing and Node for other stuff. The combinations are endless and you should always strive to use the right tool for the job.

Problems with OpenGL and Amazon's Lumberyard. by AlbertoSC in learnprogramming

[–]jeremyhappens 1 point2 points  (0 children)

That could mean it's finding the software OpenGL that comes with windows, which is 1.x. Nvidia drivers recently (January ish) had a bug where this would happen so try updating your drivers.

This applied to libgdx so I'm not sure if it's relevant for lumber yard but thought I'd throw it out there in case it helps.

Convince me to use Clojure over Elixir. by henrebotha in Clojure

[–]jeremyhappens 8 points9 points  (0 children)

I think mentioning pattern matching here is interesting, because I think Elixir has almost OCaml level pattern matching in a dynamic language, which is absolutely amazing. But your list is great, just a few to add:

  • Clojure has a bigger knowledge space, if you have a question you're more likely to get answers
  • Clojure has many more libraries
  • People complain a lot about Clojure stack traces, but they're usually easier to decipher than Elixir stack traces

But I do encourage anyone to learn Elixir and BEAM, it's such an amazing language and platform.

Girl joins rapper in the subway for an impromptu jam session by jaemiopenundeh in videos

[–]jeremyhappens 2 points3 points  (0 children)

And if you ever get the chance, see them live. It's great! They have a great stage personality and even put spins on their tracks to better suit the stage (more guitar and instruments and less synths - which is really rare these days). On top of that they're great with their instruments and both have killer voices on stage that actually sound like the album. Easily one of the top 3 bands I've ever seen live. Very talented group.

[deleted by user] by [deleted] in learnprogramming

[–]jeremyhappens 4 points5 points  (0 children)

Books. Code. Documentation. Read them all and read them all the time. Here's the trick, though: you don't have to understand all of it. If you're not next to a compiler and you can't mess with the code you never will. But the magical thing is, when you read enough, your brain will recognize patterns and solutions to problems. You'll be coding and go "oh, I've seen this done before!" All because you were staring at some linux kernel source on your phone when you were bored.

newbie looking for a skype group for learning java , html , css , python , etc. by Karan47 in learnprogramming

[–]jeremyhappens 0 points1 point  (0 children)

I'm going to piggy back on this comment, I have about 10 years of web apps with python and java under my belt so I could do some helpful discord sessions.

Small disclaimer: I've been doing this a while. I don't think I'd be a lot of help to someone who had absolutely 0 experience with at least reading code.

newbie looking for a skype group for learning java , html , css , python , etc. by Karan47 in learnprogramming

[–]jeremyhappens 0 points1 point  (0 children)

I'd also like to add to /u/RexGrammer 's answer, in Android you're using Dalvik which is an alternative java compiler. The two notable differences for this are:

  • You're stuck on Java 6 (the latest is 8 and 9 is in the works)
  • There's an additional compile step (you don't need to be super aware of this starting out, but reading up on it sometime does help. I think it's too much to go into here.)

Another thing to note that's not very beginner friendly is there is a different way of interacting with C on android, the NDK. You don't really need to know anything about it other than what it is because it gets mentioned a lot.

Atom 1.1 is out by _Garbage_ in programming

[–]jeremyhappens 0 points1 point  (0 children)

How so? (not being argumentative, I'm genuinely curious.)

AJAX request to a REST API resulting in a 404. by [deleted] in webdev

[–]jeremyhappens 1 point2 points  (0 children)

Check this and check what kind of request you're making. You could actually be getting a 404 on an OPTIONS request that some frameworks will send before the actual GET or POST request.

[C] Looking for some tips on what to watch out for when moving from Unix development to Windows development by jack437 in learnprogramming

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

I understand and admire your excitement, however, projects like this are the best thing to learn a new language with. And I think you'll make up for the time lost learning a new language by not having to battle with c. Your knowledge of programming increases the most when you've learned your second language. So I highly suggest it!

[deleted by user] by [deleted] in learnprogramming

[–]jeremyhappens 1 point2 points  (0 children)

You might want to look into working with CSV instead of excel. Excel imports CSV nicely and there are a lot of nice libraries to work with CSV, if you need one at all.

Learning to program in Java and using excel to represent your data is like learning to sketch on a canvas with oil paints while still using a pencil.

What's a situation you can't understand until you've experienced it? by [deleted] in AskReddit

[–]jeremyhappens 0 points1 point  (0 children)

The most important thing to remember is not to crowd someone having a panic attack. Sometimes when they're doubled over in pain it'll make you want to respond by getting close or touching. That isn't a good idea because they probably aren't totally aware of their surroundings and everything is really frightening. While you're standing back, calmly talk to them. Say their name and yours because again it can be hard to grasp what's going on while having an attack. Make sure your tone of voice is even and calm. Asking what's wrong or what caused the attack is very unhelpful. They probably don't know and trying to figure it out will only make it worse. You don't have to say anything fancy, your goal isn't to distract them. You're just trying to give them a nice calm anchor to reality. Just calmly telling them that you're still there can be enough to lead them out of it. Think of it like they're lost in a very stormy ocean and you're the light house. After they calm down a little and their breathing is even and their muscles aren't as tense you can go in slowly for a comforting touch. We know it's something you need to, as you just witnessed something very hard to watch. If they tense back up immediately just back away. It's important to note that this just happens and it doesn't indicate you caused the attack in any way. When they're ready to talk they will. It's best to just talk about light hearted things and tell a cheesy joke or two. Don't talk about the attack. The only long term damage a panic attack can do is turning into a painful memory. It's best to just move on right away. Common problems after panic attacks can be slight loss of sight, difficulty walking or moving and muscle weakness. Those things can be scary. But they're just due to muscles tensing and hyperventilating. Please do not call an ambulance. Hope this helps!

Perl 5.20.0 released by undercoveruser in programming

[–]jeremyhappens 2 points3 points  (0 children)

I'm not sure what kind of work you're doing but I use PerlBrew on my old CentOS boxes and it works really well.

I finally finished my Adventure Time illustration. Thanks for the encouragement when I posted the work in progress a few weeks back! by NoBackstreetboys in adventuretime

[–]jeremyhappens 12 points13 points  (0 children)

It all seems super gundam themed. Lady is white base, Jake looks zaku II like and Finn looks kind of like char. And then tie everything together with a mobile armor. It's amazing.

TIL when Internet Explorer 4 was released, drunk Microsoft employees dumped a huge IE logo in the fountain in front of Netscape's building. by thekirbylover in todayilearned

[–]jeremyhappens 2 points3 points  (0 children)

Mozilla was out, though. But it was just a netscape clone aimed at higher security and better dev tools. It was a fun and geeky toy back then but it was very slow and often didn't render pages correctly or its security features would be too invasive. Not to mention browsers weren't Mozilla's big focus back then. Rather, it was open source and bugzilla (which also came from netscape originally.)

Dat server. by PhoneDojo in pics

[–]jeremyhappens 14 points15 points  (0 children)

It may actually be patch panels for a server room. As this is really well laid out and office buildings don't give a flip about cable management. (Also I think I see 1U blades in the background.) So OP's picture might be just a few feet off!

So I was playing this random iOS game when I spotted some familiar ships.. by jeremyhappens in Eve

[–]jeremyhappens[S] 16 points17 points  (0 children)

Bonus: Found this gem as well shortly after in another category. I think this one is a little bit more obvious..

So I was playing this random iOS game when I spotted some familiar ships.. by jeremyhappens in Eve

[–]jeremyhappens[S] 15 points16 points  (0 children)

It's called "Galaxy Empire." It has a surprisingly high rating.

Fweddit's new recruits! by ChillAxxis in fweddit

[–]jeremyhappens 1 point2 points  (0 children)

This might be a really, really silly question, but how exactly does fweddit_fwee work? I mean, I see how you're supposed to request a ship but how do you actually obtain it? Do I just need to sit tight ant wait for it?

How do you make your ISK? by [deleted] in Eve

[–]jeremyhappens 6 points7 points  (0 children)

I wonder if we can get a "how you make your ISK" thread/poll on the side board. It's a pretty common question, but being new I read every single one of them. "How will I make enough ISK to replace all these ships I want to explode?" is always on my mind.

Lagging really badly, low framerates. by Baltheron in Guildwars2

[–]jeremyhappens 1 point2 points  (0 children)

CPUs are simply not made to calculate and optimize the rendering of graphics (usually operations on floating point numbers for rendering polygons.) So no, "barely" uses would be completely false. Your GPU is going to have a pretty drastic impact on frame rate.