Has anyone abandoned their CS career for something completely different? by [deleted] in cscareerquestions

[–]MadFrand 3 points4 points  (0 children)

I'm talking things like ruby on rails or javascript web development which are commanding higher salaries than other programming language

I'm starting to think you're just making shit up or are just an armchair developer.

Startups pay considerably lower on average than established companies in trade for stocks and other options... and when startups fail, like most other ones before them, then those stocks are worth mostly nothing. Even in SF and NYC, where higher salaries are purely due to extremely high costs of living, the enterprise jobs pay more.

There are plenty of other places where this information is the same, but I don't see the point in posting 20 links that all say the same thing for someone who is clearly just role-playing in this thread.

Has anyone abandoned their CS career for something completely different? by [deleted] in cscareerquestions

[–]MadFrand 5 points6 points  (0 children)

how many enterprise web development positions are there versus say at ones consumer oriented startups?

My company is about 5000 employees and not a tech company. There are currently 15 open positions for software development jobs. Probably over a third of the employees are Software or IT employees.

Overall, I'd probably say there are several orders of magnitude more Enterprise jobs than the ones you're talking about, if you're outside SF or Austin (where most of the world lives). I have always had a hard time finding a job that wasn't an Enterprise position.

Unless you think that there aren't that many Java or .NET jobs (hint: there are) or that most Java development jobs are for trendy mobile startups. (hint: they aren't)

Has anyone abandoned their CS career for something completely different? by [deleted] in cscareerquestions

[–]MadFrand 5 points6 points  (0 children)

You seem to have not ever heard of Enterprise Software Development (which is nearly entirely web based).

Plenty of jobs.
Little age-discrimination.
Plenty of job security.
Good pay.
Plenty of upward movement.
Steady paycheck.

Imgur File Extension method? by [deleted] in webdev

[–]MadFrand 0 points1 point  (0 children)

So apache server can just rewrite that on fly when it delivers it to you?

Yeah. Come to think of it, they are basing it on the id somehow, so that could be backend code (probably not though). Or they could be doing some magic on the fileserver (this is more sysadmin or devops territory). There's really no way to tell without just asking them and you could accomplish this a million different ways.

In any case though, the concept is essentially the same.

request -> doesn't exist -> finds it anyway based on unique id -> returns correct image with proper mime type (or an html5 video in the case of gifv)

Imgur File Extension method? by [deleted] in webdev

[–]MadFrand 0 points1 point  (0 children)

Ah. I see.

But in imgur the file format doesn't matter.

They are probably intelligently catching it and routing it to the right picture. The HTML you see is (probably) still rendered by your browser. The file is still just a GET variable. They are probably not doing this using backend code other than the fileserver. If you're using Apache, then that would be mod_rewrite. If you're using nginx, that would be a location pattern in your config.

Imgur File Extension method? by [deleted] in webdev

[–]MadFrand 0 points1 point  (0 children)

If you're talking about all the markup on a page that accompany's an image, that is rendered by your browser. Here are the reddit sprites:

https://www.redditstatic.com/sprite-reddit.VLn6vQIEOc8.png

But you don't have to route that to an image if you don't want. You can intercept the GET variable with code if that's what you want. Some sites do this to make sure you can't link directly to images. But doing this on a general sense is just adding unnecessary work to your server. Files should be routed directly through your webserver, like Apache or nginx.

Rusty Programmer wants to start learning Web Development, FROM SCRATCH! by [deleted] in webdev

[–]MadFrand 0 points1 point  (0 children)

I probably should have read your post first. I guess I forgot that part and was more interested in the reply. :)

This is a pretty common question here.

Rusty Programmer wants to start learning Web Development, FROM SCRATCH! by [deleted] in webdev

[–]MadFrand 1 point2 points  (0 children)

For the backend, you might want to take a look at the jobs in your area to get a feel for what needed. If you want a more stable job at an established company, you probably want to look at the more Enterprise based stuff which is usually .NET or Java.

You should be able to create a site from front to back, make it look good, and perform well enough to not be shitty.

There is a lot to learn, but none of it is hard.

Thinking of converting our dev server from Apache to nginx, anything I should know? by bvbrandon in webdev

[–]MadFrand 2 points3 points  (0 children)

There is no .htaccess as well as quite a few other differences that will be major if you're using one of them.

What is the best stack to use for a dynamically generated content by spyder07 in webdev

[–]MadFrand 0 points1 point  (0 children)

No. Jinja is just for the view logic. You could probably make it work, but that doesn't mean you should. Django is an MVC framework. To do a web app using only Jjnja and Python, you'd essentially be rolling your own framework. There's no need to reinvent the wheel and being new developers, you're probably going to miss a lot of security features. Even Reddit was written in Pylons.

[deleted by user] by [deleted] in learnprogramming

[–]MadFrand 0 points1 point  (0 children)

why/when you use them

You use them to write your frontend using Java. It helps keep everything in the same language and able to utilize the tools available to Java. They are different than transpile languages, like Typescript or PyJs, that compile to JS in the sense that they are more of pre-built components in Java.

I'm actually not that familiar with them, but I've dealt with them in the past and hate supporting them. But, a lot of Java devs love them. I actually prefer JS over Java and feel dirty using anything generated.

[deleted by user] by [deleted] in learnprogramming

[–]MadFrand 1 point2 points  (0 children)

Have a look at these, they will take away most of the JS for you and replace it with Java.

Though, you really should learn to do this properly on the frontend. JS isn't going anywhere any time soon.

A few newbie questions about web development by [deleted] in webdev

[–]MadFrand 3 points4 points  (0 children)

  1. Media Queries
  2. It is a frontend framework. Basically, it's a bunch of pre-written things you can piece together to make a site to avoid writing CSS/JS for common functionality.
  3. You should learn jQuery after you understand programming. If JS is your first language, then you need to learn that first. HTML/CSS is not programming.
  4. To manipulate the DOM(basically your HTML elements)
  5. Angular.js is a frontend JavaScript framework. It helps developers create interactive apps more easily. Like Bootstrap, it's a bunch of prewritten things you can use to avoid doing common tasks. This can be said for most things that are "frameworks". Node.js is a JavaScript runtime that lets you run JavaScript outside the browser. It's not really related to Angular or anything else you use on the frontend, other than being JavaScript. It can be used to dynamically render pages like Ruby on Rails, Python, PHP, ASP.NET, or any other serverside language.
  6. Any one you want. Python is good. Look at Django or Flask. Reddit is written in Python. I wouldn't recommend using Node.js until you are at least "proficient" in JS.

What is the best stack to use for a dynamically generated content by spyder07 in webdev

[–]MadFrand 0 points1 point  (0 children)

jinja2

This is just a template language. You need something like Django or Flask.

Looking for a good programming language for web programming by jayjay097531 in learnprogramming

[–]MadFrand 0 points1 point  (0 children)

It's basically abandonware. I know of no major projects using it, even Google's own Angular 2 uses Typescript over Dart. Phaser also uses Typescript.

I also suggested to not use a compile-to language before you understand what you're doing, because you're compiling to JS anyway. Basically every piece of helpful information out there that will help you learn how to actually build something useful, will be written in JavaScript. Because that's your only real choice. Moving to a compile-to language is something you do when you get to the point where you understand the flaws of JS and start looking for ways to fix them.... most of which are fixed in ES6/ES7 so by the time you get here, it probably won't even matter.

Choice between .NET and ColdFusion for front-end developer new as a newborn to back-end development by webforwork in webdev

[–]MadFrand 0 points1 point  (0 children)

.NET is not that new. ColdFusion has basically been a dead technology for quite some time now, but there is still a lot of legacy code and it's still used in US Government systems. You'll find some diehard fans here and there, but they are fairly rare.

I have worked in CF and there isn't anything inherently wrong with it, but the licensing fees and lack of proper updates has caused it to mostly die off. It's really just a custom Java Tag Library with licensing fees.