I applied to Walmart. They're doing functional Node though. I have an in there, but it would require me moving to Oregon.
Which I can't do until my girlfriend finishes this year of school.
Girlfriends dad offered me a job doing consulting work, but it's for their load balancer products. I like being a programmer, so...probably not the right fit.
Here's a fun little question I came across if you guys want: Write a function that takes any iterable (guaranteed to be finite) and a predicate, and rotates the iterable around the first element matching the predicate, so that it is the first.
@DaveRandom in /srv/www there are default and the other domains hosted on the server. If I wanted to start out with a generic project with no domain associated with it (at the moment), can I use default or should I come up with a meaningful name?
I want to be lazy and just use default but logic is arguing with that part of my brain
I have this very small project, of my own, and I have half a mind to do it in CodeIgniter, so it'll be quick. But I don't really like CI and I know it will come to bite me in the ass later on...
@MadaraUchiha I have been working with Node for sometime now, and I have grown to like it a lot. I don't really care for ruby whatsoever at all. So, you know, I just might give node a try for this.
@MadaraUchiha I recently just made a whole project from scratch(for a client), with typescript, using mocha, chai and super test for testing. Express for server and typeorm for models. It was quite nice and much quicker compared to plain node.js.
@MadaraUchiha Yes, and most of the errors being exposed at compilation because of strict typing and such. It really helps a lot.
My other mind is to set up an installation of ZF3 and do it proper. But ZF3 is a monstrosity and offers a lot of features that I will not be requiring.
hi, lets say I write 5 basic scripts like daily dairy, pic gallery script (just read from the disk, like 50 gals), vid script, the same thing, and some two others; I can then join them together and make one big script; can I think about any big script (lets say YouTube.com like) as a collection of smaller separate scripts?
We've got a new rule; no-one is allowed to indulge your OCD behaviour. Everyone is going to just tell you to get and talk to your doctor about your OCD.
@Tiffany The thing I like about ZF2/3 is that it is not a proper framework, I mean its unlike any other framework. Because in its entirety it is nothing bot a collection of libraries. And its your choice how you decide to use those. You decide the entire structure of your application and everything else too. The entire framework is installed in the vendor directory. Unless of course you choose the skeleton they provide and even then you still get a lot of choice, more so than any other at least
It is often referred to as having a pretty difficult learning curve, but that is mostly due to its such extensive collection of libraries and features.
@mega6382 Can you please, confirm the truth in this statement @Ocramius? And mention if I missed something or something that I misrepresented?
... so my boyfriend is having a problem with the software for his online class, and since I have understanding of a community college's hierarchy and website, I try digging around to find a contact so that he can get help ... his college's website directory is made using phpldap, and the server has expose PHP turned on
@Wes I alerted Madara when he went in. He was in here first but Danack shut him down. Yesterday he went in the C# room and kept someone in there busy for over an hour with his normal questions.
@Allenph wanted to show my boyfriend how easy it is to scrape emails off a page, but I've never actually done it, so dinking around trying to figure it out
@Tiffany @tereško suggested this is an artifact of the fact that I have always used RHEL rather than deb, and also correctly predicted that my /opt tends to be full of random crap for the same reason. Pragmatically though, I prefer the logical separation of "the data that directly relates to the primary purpose of the server" (i.e. web apps) from all the rest of the crap in var, which seems to be more or less everything /cc @mega6382
moreover, FHS describes it's purpose as "site-specific data which is served by this system", which seems to be a pretty decent description of what I use it for (sec 3.7 of that doc). tbf this is the first time I have bothered to read that doc, but I feel like I'm doing what it says already :-P
@FlorianMargaine don't even need that fancy of regex because the @domainname.edu is the same for all emails. I was going to search the page where that existed, grab the element, then pull the content from that element and output it as JSON
@FlorianMargaine the user portion should also allow [.+\-], and for the domain portion (?:[a-z0-9][a-z0-9\-]*\.)+[a-z0-9][a-z0-9\-]+ should be sufficient
@Darius open a new tab, chrome in particular sometimes doesn't update what it shows in dev tools (although ctrl+shift+r usually sorts it). But also, typically you need to do a config reload on the web server (or restart it)
@mega6382 it may be just a memory of an old buggy version of chrome, or just I did something wrong once and just carried a completely wrong idea around ever since :-P
@Tiffany the names are a "site identifier", so yeh it doesn't have to be domain name but it should be something unique - don't create random stuff in the default site, for a plethora of reasons that I cba writing out rn but will do at some point if you remind me. The biggest one is that it tends to mean "create a new subdir of docroot for this project" which usually results in weird path-related issues from the browser's PoV down the line
otoh you probably will need to give it a domain name anyway, otherwise it won't get routed to a vhost
but also I would question why you are putting "messing about" projects on a public web server anyway...