[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y ] [Search | Free Show | Home]

/wdg/ - Web Development General:

This is a blue board which means that it's for everybody (Safe For Work content only). If you see any adult content, please report it.

Thread replies: 325
Thread images: 43

/wdg/ - Web Development General

Previous Thread: >>57423407

> Discord
https://discord.gg/wdg
OR
https://discord.gg/0qLTzz5potDFXfdT
(they're the same)

>IRC Channel
#/g/wdg @ irc.rizon.net
Web client: https://www.rizon.net/chat

>Learning material
https://www.codecademy.com/
https://www.bento.io/
https://programming-motherfucker.com/
https://github.com/vhf/free-programming-books/blob/master/free-programming-books.md
https://www.theodinproject.com/
https://www.freecodecamp.com/
http://www.w3schools.com/
https://developer.mozilla.org/
http://www.codewars.com/

>Useful Youtube channels
derekbanas
thenewboston
learncodeacademy
funfunfunction
computerphile
codingrainbow

>Frontend development
https://github.com/dypsilon/frontend-dev-bookmarks

>Backend development
https://en.m.wikipedia.org/wiki/Comparison_of_web_application_frameworks
[Gist] backendDevelopmentBookmarks.md

>Useful tools
https://pastebin.com/q5nB1Npt/
https://libraries.io/ - Discover new open source libraries, modules and frameworks and keep track of ones you depend upon.
https://developer.mozilla.org/en-US/docs/Web - Guides for HTML, CSS, JS, Web APIs & more.
http://www.programmableweb.com/ - List of public APIs

>NEET guide to web dev employment
https://pastebin.com/4YeJAUbT/

>How to get started
http://pastebin.com/pDT82mQS

>cheap vps hosting in most western locations
https://lowendbox.com
https://www.digitalocean.com/
https://www.linode.com/
https://www.heroku.com/
https://www.leaseweb.com
>>
What's a good way to compare Arr1 to Arr2 and return the values/indexes from Arr2 that aren't in Arr1?
>>
>>57452798
I'm going to start planning an e-commerce platform , can you guys recommend me a good book or page with tips and good practices?
>>
>>57452865
if javascript
let arr1 = [1, 5, 6, 7];

let arr2 = [5, 1, 9, -2, 6];

arr1 = arr1.filter((val) => {
return arr2.indexOf(val) === -1;
})

This will return just the values which are not duplicate. Filter accepts index as an arg, but I'm not sure how you would display that with an array
>>
what laptop does /WDG/ recommend. Or do i just buy into the /TPG/ meme
>>
Take my advice with a grain of salt, but I hate the whole mid tier laptop section.

I reckon you either go for a full craptop (thinkpad) or you get something nice (Dell XPS).
Anywhere in between and you just end up being really frustrated/disappointed.
>>
>>57455041
thinkpad x1 carbon
>>
>>57455113
owned a mid tier it was shit

>>57455144
SO IT ISN'T SHIT? cause I was thinking of picking one up off ebay.
>>
>>57455153
I've had one for 4 years and it's still fantastic; never had a single problem with it. Still runs fast like new as well
>>
>>57455188
series so i can pick up the same model famalam?
>>
>>57455113
I agree. What makes me mad is that high-end laptops all look like a GayBoi 3000: Turbo Stealth Bomber Rave Club edition
>>
I use a Lenovo S205 with Ubuntu installed.

It has worked well since I bought it in 2011.

Time for a replacement though. Looking at the 11e series because I like netbooks.
>>
>>57455205
http://shop.lenovo.com/us/en/laptops/thinkpad/x-series/x1-carbon-gen-1/#tab-tech_specs
>>
It bothers me that the x260 can come with no graphics card and still costs 1,700.

This is Apple-tier pricing.

Why does /g/ love this shit? The thing is ugly too. Looks just like how I remember them from a decade ago.
>>
>>57455335
Yeah I'm looking more towards enterprisey ones because fuck some of them are hideous.
All the razer and even the HP spectre look like absolutely ass to me.
>>
>>57455113
Well the upper mid tier isn't so bad really. Some of the HP Envy's or whatever they're calling them are pretty great for $700.

But, yeah longevity just isn't really a thing outside of the high end market.
>>
>>57455393
https://www.youtube.com/watch?v=doEZMNXz1JY
/tpg/ is interested in the old ones due to the reasons in vid and the fact that they're easy to mod.
>>
File: Capture.png (87KB, 989x492px) Image search: [Google]
Capture.png
87KB, 989x492px
>>57455424
T b h HP Envy I would consider almost high tier

Also
>$700
Fuck australia so much, can't wait for your dollar to crash
>>
>>57455456
>$700
That was Canadian dollars my friend. Not a noteworthy model, just some hp envy x360 I think
>>
>>57455113
I think Acer has pretty good spec'ed 17" laptops for only $650, a lot of screen real estate helps a lot with web programming
http://www.acer.com/ac/en/US/content/model/NX.GG7AA.001
>>
>>57455430
I can't watch 30 minutes of that awful editing.
>>
File: butters.jpg (39KB, 1280x720px) Image search: [Google]
butters.jpg
39KB, 1280x720px
can someone post an example of how to securely handle and upload images to a server in node/express or link me to one?
>>
Is Donald Trump going to make outsourcing web work expensive?

The Junior web development scene would EXPLODE overnight, but it would be difficult to go mid-level if you're bad.
>>
>>57455909
Do you want to store it on the filesystem or a cloud system?
>>
>>57455958
filesystem
>>
File: uniq.jpg (60KB, 1118x694px) Image search: [Google]
uniq.jpg
60KB, 1118x694px
>>57452865
>>
File: laravel-logo-big.png (45KB, 570x398px) Image search: [Google]
laravel-logo-big.png
45KB, 570x398px
I've gotten a job for a company that is looking for someone to make their website. It's a commercial real estate company so they just want a place to put all their properties online and shit, photo sliders and design galore.

My question is, what is the best stack to achieve this? I'd like development to not be a massive pain, but I also don't really want a meme framework that will be depreciated in 5 years.

I'm thinking laravel so far? But also maybe Symphony for long support.
/wdg/ seems to hate PHP though so would something like python be better/easier?
I don't think react is the best fit for the project, but I'm considering as well.

Any advice is appreciated.
>>
>>57457741

Wordpress damnit. Why tf would I use Laravel if its that fucking simple. Throw in some plugins, do SEO (so fucking many but can manage if Marketing can help you with content). Then voila!
>>
Got sent here from /dpt/, reposting.

So I managed to get a job fixing up some mongodb/angular.js powered website and I know FUCK ALL about it. Yeah yeah, laugh it up. The last guy kept logging in and breaking shit so the guys would need to call him for "support".
I've managed to get the site back online and get the shopping basket working (paypal shit) but what is really grinding my gears is the fucker has made the search case sensitive. Which is annoying as the version of mongo on the server (3.2.something) defaults to case insensitive. So I'm hunting for where he's flipped this switch and it's driving me nuts.

Anyone got any tips?
>>
>>57458516
I was searching for "caseSensitive" which was only throwing up files in node_modules/ which I'm pretty sure I shouldn't be fucking with.

aM i WRONG? i GUESS i CAN JUST BACKUP THE FILES AND GIVE IT A TRY... oh fuck you capslock
>>
>>57458564
Well I'll be damned, I changed that file and it worked.
>>
>>57458618
OK so now I have a new problem.
If I type in a query of two words (example "wicker chair") then it doesn't work. I'm guessing the space character is fucking it.
Maybe I need to escape that character somehow.

Fuck me I am in over my head. I only know html and bash scripting.
>>
>>57456109

are you using express?
if you are, you can use multer

https://github.com/expressjs/multer

basically you just recieve the image within a POST and then specify where you want to save it on the FS withing the callback
>>
File: 1477098842222.jpg (29KB, 500x332px) Image search: [Google]
1477098842222.jpg
29KB, 500x332px
>>57458637

I really like how you are having a convo all by yourself rubber duck
>>
>>57458656
>are you using express?
I have no fucking idea man. I didn't write this website.
>if you are, you can use multer
I have never used angular.js or mongodb before, I don't even know how to install modules or anything.
>>57458668
>I really like how you are having a convo all by yourself rubber duck
Hey, no need for people to give me advice on stuff I've already solved.
>>
File: 1478370994923.jpg (39KB, 640x480px) Image search: [Google]
1478370994923.jpg
39KB, 640x480px
so here's one

Anyone can point me how to do a Webpay gate connection?

Im running a node server for an eshop, but they demand that I connect to them via XML with a SOAP - I have NO clue how to do that, I'm literally reading what XML is on w3...

I have a public key and a private key - I need to make a signature composed of EVERYTHING in the SOAP (via concatenation with | in between) plus the private key + password + public key.....

know anything where I can start?
I tried requiring a soap module that makes a connection but it demans I use WSDL or something instead of URL.

When asking the portal runners, they've told me i need to install the wsdl onto my filesystem and Generate it there for "security reasons"

Any ideas where to turn guys? They have a sample shop they've sent me but its in PHP
>>
File: 1478362466164.jpg (37KB, 509x435px) Image search: [Google]
1478362466164.jpg
37KB, 509x435px
Is this a good time to learn Angular 2?
>>
File: if anyone asks.jpg (34KB, 480x402px) Image search: [Google]
if anyone asks.jpg
34KB, 480x402px
>>57458686

check the app.js or index.js file - if theres a express = require("express") its using express.

If theres routes handled like - router.get or router.post(req, res, next) = its Express

angular is a framework of Node - mongoDB is a database, that may be connected to Node via for example mongoose

to install Node modules open your shell, cd into the production folder and
type npm install --save >>whatevermoduleyouwannadownload<<

>>57458668

also, rubber duck is a valid technique, no homo
>>
>>57458713
I just realised I replied to you even though you weren't talking to me (re:express). Sorry to the other anon.
I've had no sleep.
>>
File: image.jpg (276KB, 1920x945px) Image search: [Google]
image.jpg
276KB, 1920x945px
I've been working on a UI design I posted a few days ago. People seemed to like it. I'd like to ask for you opinion on the UI design in general since I'm not getting any help from my mentor and /gd/ is not very into web related things. Thanks.

I got told the hierarchy of inormation might be problematic so I removed thumbnails from the left sidebar atm. Don't know how good/bad it is now.
>>
File: image.jpg (252KB, 1386x737px) Image search: [Google]
image.jpg
252KB, 1386x737px
And here's the current article page. The text is hopefully cleaner and it looks easily readable but at the same time, the recommended content is in the view.
>>
UPDATE posts SET reservedSign = :sign: WHERE groupId = :groupId: AND reservedSign IS NULL  LIMIT 1


This query only works twice, then it stops working. Why?

It can chose any of the 25000 rows of data i have and update it, but for some reason it only works on the first 2.

sql output: "Affected rows: 0 Found rows: 0 Warnings: 0 Duration for 1 query: 0,172 sec."
There is literally over 25000 rows that meet the WHERE requirement. The fuck??
>>
>>57458757
>Sidebars
y tho
>>
>>57458704
For work, learn React.js or Angular 2
For everything else, learn Vue 2
>>
File: process.jpg (36KB, 630x472px) Image search: [Google]
process.jpg
36KB, 630x472px
How is Web Development not the most boring tech career of all? Considering every major/serious website nowadays runs the same tried and true layout since the 2000s. Navbar and a search bar at the top; content laid out on very generic columns; some dropdowns and a few buttons; that's as exciting as it gets. And that is your Amazon, Yahoo, Wikipedia, Twitter, Google, basically every tech pioneer's website.

Modern technology allows for endless possibilities as far as making websites go, but we have to cater for the lowest denominator: bad internet connection, low processing power, and users too dumb to be able to navigate on anything that moves too much. As a consequence, every self-respecting business has to run the same bland layout we've been running for over 10 years on their websites in order to be relevant. And so every web project is becomes basically the same shit with a different logotype and color scheme. It feels like there's nothing to be achieved, especially with so many incompetent workers replicating the same basic formula with braindead frameworks e.g. Bootstrap and still making buck. Are you all in it for the money or is there any satisfaction to be had from Web Development?
>>
>>57458913
it's relaxing imo
>>
>>57458913
Money is a great motivator plus can't you say what you're saying for every other work? Dumb people ruin stuff for everyone.
>>
>>57458913
I mean, there are still plenty of exceptionally boring and ugly websites out there. When you find the beautiful, accessible, and functional ones it's all worth it though.

I just enjoy it, I don't see making websites accessible as appealing to lowest common denominator, I see it as granting access to people who otherwise wouldn't be able to even view our site. Making their lives convenient and enjoyable, even if just a bit, is pretty damn great.

If you feel that way though, there are plenty of fields you can jump to.
>>
>>57458796
So I can use more of the wasted space on sides, separate other links from the main content to achieve a better focus, have additional information on it, it is also fixed and scrollable so I can fit in more stuff, and in the end, less important, but the looks of it and making the site feel a bit less generic. I kinda really enjoy this dashboard-y look, don't know how you feel. I'm well aware of current trends so I wanted to experiment with it a bit, since I feel like it would be the easier thing to do to just follow all the patterns - but I'm doing a paper on UI so I need to try something new.

Don't know why some people have aversion towards them, I like both but I've noticed I tend to use left navigation more, though.
>>
>>57458772
So i figured something else out while troubleshooting.

If the row in question has a field that is empty, the query wont work if executed from PHP. It does work if i execute it on the server directly through mysql.

Does php have a problem with updating rows with empty fields? Makes no sense to me...
>>
>>57458994
>>57458772

Ah, fixed it. The fields that were empty were not allowed to be empty. Weird how this stopped PHP from updating, but it worked fine in mysql. Also why didnt the insert complain in the first place? That was done through PHP aswell.

nobody knows shit fuck
>>
File: Photo on 11-10-16 at 9.33 AM #2.jpg (199KB, 1080x720px) Image search: [Google]
Photo on 11-10-16 at 9.33 AM #2.jpg
199KB, 1080x720px
what book should I buy w this?

I finished the popular complete web dev 2.0 course on UDemy. so I have a basic to decent understanding of the following: HTML, CSS, Javascript, JQuery, Bootstrap, PHP, MySQL.

I'm thinking about getting a book to really learn javascript well, or getting a php/mysql book, or learning a javascript framework.

what do you guys thinks?
>>
>>57458913
Well just set aside the fact that youre' wrong... what did you think you were achieving in any other field? Do you think there is anything you can do that hasnt already been done? Or that matters?
>>
>>57459145
Eloquent Javascript or Javascript: The Good Parts
Or just a general programming book like Pragmatic Programmer.
>>
What's a good CMS to use that will be easy for someone else to take over afterwards? I'm looking into Apostrophe. I guess I can look into PHP (I just use WP now) but I don't really want to have to learn it if I can just stick with JS.

>>57458913
I echo the relaxing sentiment. It's fun. I suppose it also depends on where you live. In my country, people are only now seeing the benefit of having a web presence and those that do have some shitty, ugly, non-responsive site or some hackjob they got while also being swindled.

The only thing I see as a threat are those shitty Wix and Squarespace guys but people here are only turning to that because "web development" isn't really a known thing.
>>
I'm working on a webapp which allows users to cast youtube videos to devices which don't natively support casting
>>
>>57459145
"In Order to Live" by Yeonmi Park; it's an autobiography of a North Korean refugee who was sold into slavery in China after escaping from famine in North Korea. Very eye opening
>>
>>57459682
Game development, virtual reality, artificial intelligence, cryptography are all constantly expanding fields with A LOT of things to do that have never been done as new technology keeps arriving.

Whereas even though there have been a lot of advances on web development technology-wise, none of it matters because website layouts have been stale for so long. The only thing that's fresh and still on constantly changing/improving is mobile development but soon we'll find the optimal layout for mobile devices as well and it'll become just as stale as the rest of the web dev field.
>>
Is it bad idea to use jQuery with React?
>>
>>57458913
Personally, when I make webapps, I don't go with the typical bootstrap design. I don't really make any websites which are meant to be a consumer-facing portal for some service, like a restaurant menu or a store page or something; I typically do a lot of webapps, which doesn't limit your UI choices to what's popular at the moment.

I like web development because HTML is the easiest markup language to quickly deploy a project/frontend and have your backend be accessible to someone. For me, the motivation behind programming is making useful things for people to use, and web development helps me reach that audience more easily than developing a native application. Also, web dev allows you to write the most portable code out of any type of development environment, so I wouldn't have to port an app from android to IOS or from Linux to Windows. This way, I can avoid using windows or IOS altogether.
>>
The logic behind solving a captcha is pretty crazy.

Regular captchas, not these "Select the waffles" ones.
>>
>>57460273
what do you mean senpai uguu~ :3?
>>
>>57459130
>nobody knows shit fuck
we don't know what you're feeding the query.

If the query works in the terminal but not in the PHP, then it's the PHP.
>>
File: 000016.png (340KB, 578x421px) Image search: [Google]
000016.png
340KB, 578x421px
You have been visited by the divyanth of handsomeness

You gain nothing
>>
>>57460010
Yes, and have you noticed that, for the most part, most of them are relatively NEW. They have potential to expand greatly because of it.

Web, also has plenty to expand and improve, simultaneously every single industry can grow stale. You think VR won't get stale? People producing the same fucking black boxes people put on their faces with the same fucking screens playing the same damn games? You think these giant industries that are so risk adverse won't monotonize the entire field, just like how you feel Web has become?

Please, wake up.
>>
Why shouldn't I use PHP? It's so fucking easy to use
>>
>>57461312
PHP is fine for use as an API.

Don't use it to actually create the pages.
>>
>>57461739
But why?
>>
>>57461312
Like all other tools available to developers, use it if it suits the project well.

All else is explicitly retarded ramblings.
>>
>>57461750
Because echoing html looks like shit and is confusing when you have any DOM manipulating code.
>>
>>57461801
>Because echoing html looks like shit
But you don't have to do that (if this is what you mean)

<?php if ($var == true): ?>
<p>It's true</p>

<?php else: ?>
<p>It's false</p>

<?php endif; ?>
>>
I'm done programming my website, at least for the basic functions that it will have at first, for now all that's left is the design.

So, any design advice? I.E.:
>What's a good web font? (for headers and/or body text)

But then again, any advice is welcome.
>>
>>57461871
>What's a good web font?
I personally like Fira Mono, Open Sans and Roboto but you have to decide

https://fonts.google.com/
>>
>>57461896
Sorry I meant Fira Sans, not Fira Mono
>>
>>57458913
If you develop websites then yes, that's boring as fuck.

Web apps is where it's at. The people in charge of developing web technologies today are actually pretty good at their jobs, giving us the primitives we need to do great stuff.
If IE 11 finally dies, all browsers will be evergreen.
This will be an amazing time to be a webdev.
We'll still have to deal with apple intentionally crippling SafarIE so web applications can't really compete with native applications, though.
>>
gib list of books to purchase or torrent.
>>
>any Edge-WebKit differences are bugs that we’re interested in fixing
Why didn't they just use WebKit then?
>>
>>57461840
Still looks like shit. Only reason to have PHP on your page is to check sessions
>>
File: image.jpg (516KB, 1318x1889px) Image search: [Google]
image.jpg
516KB, 1318x1889px
I'm a guy who posted that design with a sidebar. I just realized Macaw is free now and I'm hatinf myself for not realizing it sooner. It's amazing.

Anyway, I tried to focus on good UI and UX patterns exclusively this time and made this quick sketch. What do you think of this layout? I guess it is somewhat generic (as that guy was saying about websites of today being boring) but I guess you can't fight against trends. This seems really good from usability perspective me thinks.
>>
File: 062_1000.jpg (109KB, 701x727px) Image search: [Google]
062_1000.jpg
109KB, 701x727px
So /wdg/ I was shooting the crap with a guy outside of restaurant the other day. Turns out he is a hiring manager for his company that is looking for a junior web dev, with an emphasis on php. He seemed like a cool guy and is interested in hiring me.

Problem is he asked for a sample of some of my php code. I'm sure you can guess where this is going. I am very limited in my php ability, I told him I took a semester of php and I wasn't very experienced. He said to send a sample anyway.

I got some of my old school stuff which was very basic. I honestly have been studying various front end stuff and learning so much I can hardly remember php (is this normal?)

I'm sure the guy is willing to give me a shot but I don't want to show some shit code like averaging temperatures and stupid shit I did at school. What is a basic project that I turn into him that would be easy enough for me as a beginner?

Sorry for being that anon... I would really appreciate the help though. Need money but more importantly need experience.
>>
Will I be able to find work after a 1 year community college web development education or will I need to study some more afterwords
>>
>>57458757
Can you hide the sidebar? When I'm reading an article I like to have my text centered and without any shit flying around.

>>57462480
Looks good apart from the really small nav. Spacing is fine, just make it bigger height wise.

t. guy who previously suggested recent comments in the sidebar.
>>
File: 1477849726129.jpg (78KB, 960x960px) Image search: [Google]
1477849726129.jpg
78KB, 960x960px
>>57462563
ima add an image so people see my post :^)
>>
File: image.jpg (196KB, 1434x760px) Image search: [Google]
image.jpg
196KB, 1434x760px
>>57462583
Oh hey!

I've been thinking about adding a button to hide a sidebar, just don't know if it would be hidden or shown by default (basically like YouTube). I have to admit I prefer it being shown but I agree about centered article which bothers me a bit - especially since the content is usually left aligned so that's what users are used to the most.

I think I will code up 2-3 designs (including the sidebar one, which is still my favourite) and let some people test them and write their opinions (not sure how I'll do that yet, never did it).

I agree with small navigation, it is just a fast mockup - something I will do a shitton or the next few days now that I found out about macaw.

Unrelated pic, just one more try at it.
>>
>>57462589
I added it to my post so I could find it later, it just happened to be a lady.
>>
Anyone running any price comparison website?

Thinking about creating one, but before I do, I'd like to know how "illegal" web scraping is now. Many of the web shops don't have APIs, and so I would have to scrape. Is it an absolute no or is it on a shop-to-shop basis?
>>
File: images.jpg (3KB, 311x162px) Image search: [Google]
images.jpg
3KB, 311x162px
>>57462802
I meant the post I quoted (my post) cuz I kinda want one of you lads to answer that question. I guess the sarcastic smiley wasn't a good idea
>>
File: Capture.jpg (10KB, 258x62px) Image search: [Google]
Capture.jpg
10KB, 258x62px
anyone here know notepad++ pretty well? Why is half the shit inside of my <script> tags black? Nothing in the html or global parts of the style configurator has a black fore color.
>>
>>57462731
I'd make it so that it hides either on mouse-out or on a click that's outside of it. Add some arrows in the vertical center of it, and you should be fine.
>>
>>57462849
You should honestly use a better editor, Notepad++ really isn't very good.
>>
>>57462890
I just use it for simple shit like homework. would still be nice to know why it's doing this, though.
>>
>>57462492
Then make something that isn't shit. Like a login system or something that pulls from an API.

You could write something in the time it took you to make that giant ass post.
>>
>>57463145
How shit is your attention span to think that is a giant post?
>>
I was looking up the riots and found riot.js

Any good?
>>
>>57463606
We dont need blog posts here.

Go use your journalism degree elsewhere.
>>
>>57463606

login system is a good idea. maybe login system with md5 encryption... then have a simple to-do last once logged in?

I would say something with a database for sure. lots of industry shit will be w databases.
>>
>>57463960

to-do list*
>>
>>57463960
>maybe login system with md5 encryption
Don't use MD5 for passwords
>>
File: tXfn6Yp.png (7KB, 1200x492px) Image search: [Google]
tXfn6Yp.png
7KB, 1200x492px
What do you think about sites like lynda.com and their content?

Is it any good or all overpriced crap?
>>
>>57458668
lol fucking idiot. why would you take that job. give it to me what is your clients email?
>>
>>57463960
Do some REST shit where you can access Data (fucking movies or albums or whiskey whatever) and maybe some of the data is only accessable if you are logged in. Or you can note favorites that get saved to your account - if you want to stick with the to do list thing.

That would be good imo.
>>
>>57464017

it's good for beginners in that it shows you're trying and aware of encryption. if you're making a simple login system it's better than plaintext. but yeah I agree.
>>
>>57464066
>Do some REST shit

noob here. seen this word a few times. what exactly is rest/restful?
>>
Alternative to Rotten Tomato API?
>>
>>57458745
>>57458757

is the popular sidebar collapsible or not ? Apparently, not. 9/10 for the UI . But for clients, this is 7/10.
>>
>>57462849

just change the fucking theme or download another one .
>>
>>57461801
>>57462463
Don't be an autist and use a templating engine?
Looks clean as fuck in my opinion
>>
File: 1466778167813.jpg (195KB, 1022x1280px) Image search: [Google]
1466778167813.jpg
195KB, 1022x1280px
>>57463145
>>57463960
>>57464017
>>57464066
>>57464510
Thanks for all the help guys. I think I'm going to go with the to-do list. With a login page.

I do really appreciate it.
>>
I'm trying to make a chat program as a pet project for me and some friends. Some centralized server with a web and phone client. What's the best way to go about this as far as frameworks to use?
>>
>>57465492
It looks like shit with anything that manipulates the DOM.

You must be new to PHP. If you say it looks good with any type of serious JS then I'm OK with that, just know you're in the minority of modern web developers following 2012 trends and beyond.
>>
wow, I just blew two fucking technical interviews in a row because of how shitty Java is and how shitty it makes everything else by association

First I blew a web developer position for which I broke a speed record on the coding test becuase I didn't know all of Java's shitty language-specific terminology

Next, I blew a technical exam because of Java's shitty overcomplication and the fact that its regex system doesn't fucking work

And the worst part is, every single job wants a fucking java developer and any fucking job that claims to be a javascript or python developer position is actually a java developer position in disguise. Fucking Java!
>>
>>57466423
ok
>>
I'm having a hard time figuring out how to fix my app. I call my odata api using angularjs $http.get. If I change the data in the database , and call the api again, I get the older data. I've been trying several fixes to stop getting the cache data. Anyone familiar with this?
>>
>>57465805
Literally anything my man

Do you want to do it in Javascript? Node for the backend, React for the frontend. Or angular. Or raw HTML.

PHP? Laraval, Symfony, the list could go on...

Just pick one man. There's no best answer in web development in 2016, don't let anyone try to tell you their way is the only way.
>>
Do you use webpack-dev-server?

It's great when it works, but a lot of the times, it's so particular about how you configure it and doesn't print helpful debug messages. Even for a beta software, it's very finicky with configuration.
>>
>>57465941
I am actually. What would you recommend instead?
>>
>>57462563
Yes
>>
>>57464626
What do you mean?
If you want to use info from Rotten Tomato, you deal with their rules and get API key.
Unless you want to use IMDB or whatever other website.
>>
>>57466855
>>57467729
I am too. The debug messages can be pretty bad, but nothing like the --inline --hot
>>
>>57452798

I'd love to add "The Net Ninja" on YouTube, really useful channel.

Here's the link:
https://www.youtube.com/channel/UCW5YeuERMmlnqo4oq8vwUpg
>>
File: qGMR4Wg[1].png (107KB, 448x570px) Image search: [Google]
qGMR4Wg[1].png
107KB, 448x570px
>started Freecodecamp
>everything about HTML seems understandable
>first challenge comes to build a page like pic related
>tfw have no idea what to do

So far I've only created a gray div. But how the fuck do I make that a large picture would fit in nicely like in the example?
>>
>>57468167
I'm using several different ones. I found a solution.
>>
>>57467729
Throw the PHP out to the side. Interact with it as an API.

Once I started doing it this way I was knocking out projects very fast. I'm not really one that likes to change how I do things, but this made me incredibly happy.
>>
Guys, if I stream my design process could I get some help?

I need to design this shit soon because a perfect job listing was just posted.
>>
>>57468448
>>57468448
I always hated that project.

They use bootstrap but don't even tell you to use bootstrap.

Like that is really fucked up.

Anyway use bootstrap.
>>
>>57468448
Width 100% padding left and right 10%
>>
>>57452798
Someone redpill me on the difference between Web Design and Web Development? Trying to figure out what's best for me.
>>
File: v45K2LK[1].png (126KB, 1164x555px) Image search: [Google]
v45K2LK[1].png
126KB, 1164x555px
>>57468448
>>57468726

Got no idea how to fix everything t.b.h
>>
>>57468781
I don't know what they taught so far.

Did they teach CSS?

You can just do width="80%" on the gray div and align="center" for everything that should be centered.
>>
Question about normalization in databases.

If i have like 30000 rows in a table and i want to make one of the fields into its own table in a one-to-one relationship. But then i will have 60000 rows total in my database. Is that really the best way of doing things?

I kinda feel like im missing the point here. Wont more overall rows = bad performance? Feel a bit uneasy doing this with other tables because i might increase the amount of rows in my database 10fold.
>>
>>57469249
It's not so much rows as it is rows and columns combined.

It's better to have more rows and less columns most of the time.

I'm no SQL wizard though, we have some of them here occasionally and there's a reason they are paid up to 85 an hour where I live in texas.
>>
Does anyone use elementaryOS here for web dev? How is it?
>>
>>57466759
https://stackoverflow.com/questions/17059569/how-to-refresh-invalidate-resource-cache-in-angularjs
>>
>>57469732
About the same as any standard Linux distro?
>>
>>57465628
Fuggg. Look at that semen demon.
>>
File: Screenshot_20161111-093625.png (550KB, 1033x1837px) Image search: [Google]
Screenshot_20161111-093625.png
550KB, 1033x1837px
>>57452798
Still working on my route mapping Web App. Added some new features, such as named session and vehicle type.

Also working on getting my Commercial Driver's License. Got past pre-trip and backing maneuvers (straight-line, parallel, offset). Still need to pass road test. My WebApp came in handy today for recording the route used in the test.

Is pretty cool when you're able to use a tool you wrote in a real world scenario.
>>
How do i make a video or gif play in the background of a page?

also
> wtf!! now theres ads on the bottom of the page too?
>>
>>57468781
looks great good job fcc :)
>>
>>57471568
Use the video tag, with <source> elements inside the video tag.

For making it appear in the background, if I remember right, you use css to put either absolute or fixed positioning. You're going to want to layer that shit with z-index, and layer the rest of the page with z-index too.
>>
>>57471646
I don't want to have a full blown video running in the background, i dont want to degrade the pages performance, is there a lighter alternative?
>>
>>57452798
If I'm a complete code-retard stillborn, but can draw shit in Illustrator with some proficiency (enough for people to pay me for it anyway), what are my best options to creating a simple site for a wee home project of mine?
>>
>>57471673
web site builders, drag and drop shit. you literally CANT fuck that up, no matter how retarded you are.
>>
>>57471667
<img src="./coolVid.gif.gz">

<video>
<source type="video/webm" href="coolVid.webm.gz">
</video>

If you use gzipped files, remember to set apache to send the Content-Encoding header, so the browser will automatically decompress.
Content-Encoding: gzip
Content-Type: video/webm

NOT:
Content-Type: application/gzip

Sorry it took so long to reply, I'm on mobile
>>
>>57471763
arigato gozamasu senpai
>>
Quick question. I have a compulsory course in my uni next semester about web development... and the contents are servlets, jsp, JSF, ejb and stuff like that

Does anyone use those technologies? Is it going to be a waste of time?
>>
>>57471673
Dude, there are so many developers like myself that can write code all day and all night, but can't draw/envision designs for shit.

What we really need to learn to do is find each other and get together. All my apps look like shit because I just can't come up with any good designs. And I know a few people that can do amazing photoshop psds, but can't code.

We really should start working together. It's the best solution.
>>
>>57471763
FYI nginx compresses transfers whenever possible, on its own.
Also, I don't think compressing webm with gzip will give you any file size benefit.
>>
>>57471822
eh, Its Java you of course its in use.

my advice is, learn it for the class but drop it in the real world.
You dont want to be stuck working in Java EE with Pajeets smelly ass, dont you?
>>
>>57471822
The main place I've seen jsp is, ironically, university websites and some government Web stuff.

I've seen servants used in a few more places. Openfire, some report generators for use in medical industry, and some other places.

I'll go ahead and tell you JSP and servlets are not big players, but you will see them every now and then.

I'd mostly try to stick to html5, angularjs, Sencha stuff (extjs, touch), and other MVC js frameworks. Knowing node, php, Ruby, and stuff like haml and Sass also helps you in hirability.
>>
is it harder to learn nodejs + express or php?
>>
>>57472072
PHP is probably the easiest language to learn.
>>
>>57472072
PHP is easy as fuck, it has a fuckton of stuff that you need for web development already build in (since it's made specifically for that)
>>
File: odin.jpg (202KB, 700x600px) Image search: [Google]
odin.jpg
202KB, 700x600px
Sup. Looking for STUDY PARTNERS to master web development.

Our goal is jobz. We'll be using the ODIN PROECT, but we'll be flexible.
Skill level can range. We'll share creations, challenge each others, and steer towards ever greater self-improvement. Previously had great success w/ this method.

If you are dedicated and srs hit me up at mauser91 protonmail.com
>>
Django or node.js?
>>
>>57474761
node because django reminds me of undesirables
>>
>>57474310
i'll study just let me finish this pajeet project for school
>>
I'm making a tic tac toe game. First, the code in question:

if (computerSym == 'x') {
//eliminate the arrays that have 'o' from contention
var reducedMovesArr = eliminateUnusables(oArr);
console.log("reducedMovesArr: " + reducedMovesArr);
//if there is a winning move available, put symbol on necessary square
winningMove(reducedMovesArr, xArr);

//eliminate the arrays that have 'x' from contention
var reducedBlockArr = eliminateUnusables(xArr);
console.log("reducedBlockArr: " + reducedBlockArr);
//if the other player has a winning move available, place symbol on blocking square
blockingMove(reducedBlockArr, oArr);


//if there are no winning moves available, put symbol on a random unoccupied square
var availMoves = availableMoves();
console.log("Available computer moves: " + availMoves);
randomMove(availMoves);
}


so this is for the computer AI. first the computer checks if it has any winning moves, and if it does, it performs a function that places it's symbol on that square. if there are no winning moves, then it checks if the other player has any winning moves, if it does, it places a symbol on that square to block it. the last part is to place the symbol on a random available square if neither of the two previous functions go. Obviously as it is now, all three functions are going to go off, potentially placing multiple symbols on the board. How should I go about making it so the computer's turn is over after the first successful function?
>>
Need to make and host 2 different web pages on same domain. Like x.domain and y.domain
For the backed I thought I would use python flask, java spark or lisp/clojure. Clojure seems to lack documentation.
So Which would be easier:
deploy nginx and have 2 uwsgi processes on the 2 flask apps
deploy 2 java spark apps, I ques I could use iptables to redirect for one app but because there are 2 I would need apache, nginx, something else to redirect client to to right local port depending on the url x.domain or y.domain.
deploy something else but what?
>>
>>57476195
>more comment than code
desu ugly code
>>
>>57476195
Done=false;

Once you put a piece down the. Done=true.

Check for done before doing anything
>>
>>57476229
broke the functions out before posting, I'll clean it up later

>>57476234
true, sounds good I'll do that
>>
I dont know how to do a good design.

I've been done for weeks but can't design it right.


I can do shitty bootstrap but not the cool things I want to do like animate divs on scroll when changing classes.

No one will use my site if it looks bad.
>>
>>57476440
Then after the player moves you can set done to false again.
>>
File: 1475067314094.gif (2MB, 250x131px) Image search: [Google]
1475067314094.gif
2MB, 250x131px
>apply to webdev job
>finishing interview, going well
>"what shows do you like anon?"
>true detective, was planning on watching westworld (cant say american dad and animu)
>"GOT is a must if you want this job hehe"
>>
>>57476487

Leave ahead of him, slam the door and block it, scream HOLD THE DOOR the whole time.

You'll get the jobs.
>>
>>57476487
>not literally just making a joke out of it and securing your place within the company
xD guess i'll... hodor XDDD
*anon GoT the job*
>>
>>57476487
interviewer has good taste
>>
>>57455041
I got an asus zenbook 305 last year and have been liking it. 1080p screen, 8gb ram, 256gb ssd and slow core m proc for $600. Nothing mind blowing, and typing on the keyboard kinda sucks shit but most laptop keyboards do. Get ~8hrs battery on arch linux.

Don't think I could go larger than 13" after giving up gaymen
>>
File: 1478824061702.gif (4MB, 400x400px) Image search: [Google]
1478824061702.gif
4MB, 400x400px
>>57476857
>>57476487
>>
>>57458704
Been rewriting some of my works frontend in angular 2. Like it a lot and haven''t had many problems except its hard finding good packages for certain things (hard to find a good data table, specifically). I expect that to change though, and it wouldn't be a problem for pretty much anyone else
>>
>>57476806
I did that anon, its just my internal autism.
>>
Hey lads, about to start throwing resumes out and wanted to know if any of you had experience with angel.co? Should I just spam every company in my area or target companies?
>>
>have div 300px height.
> set nested div to bottom: 0;

>div under parent div

I really hate CSS. There is no reason this should be happening. It's programmatically impossible.
>>
>top: 100%;

Why is it doing this?
<style>

.header-container {
width: 100%;
height: 300px;
text-align: center;
background-color: #7f7fff;
}
.header-text {
position: relative;
top: 50%;
transform: translateY(-50%);
color: #3232ff;
font-size: 30px;

}
.searchFields {
position: relative;
top: 100%;
Tried bottom, top, margin-bottom. Relative, absolute, nothing. ETC ETC.

Only thing close is top:80% which makes no fucking sense.

}


</style>
</head>
<body>
<div class="header-container">
<span id="header" class="header-text">
LOGOS
</span>

<div class="searchFields">
<div id="searchPeople">
<input type="text">
<input type="text">
<input type="text" >
<input type="text">
<button id="check">Find person!</button>
</div>
</div>
</div>

>>
>>57477181
I get it now. Finally ran through a quick tutorial about positioning that I've been ignoring for way too long.
>>
>>57477538
I still don't get what you were asking desu.
>>
>>57477711
See the textboxes below their parent div when I told them to be at the bottom inside of the div?
>>
>>57458913
Maybe bad for the designers...

But as a programmer: technology is always evolving, learning new things is fun.
10yrs ago it was boring, php5 +MySQL and smarty templates and push out the HTML...
But
These days we have Javascript Ajax at frontend.

(10yrs ago there was always a retarded friend of costumer who used ie6 with disabled Javascript, and client always complaining about it)
>>
Any books you guys would recommend me for understanding e-commerce a little better? I don't mean products like woocommerce, but the payment systems and how do they work. If i were to set up a store from scratch i would hit a wall at making the payment system, how do i approach that?
>>
>>57478211
Pick a payment gateway and read their docs. It's usually a bunch of signing stuff back and forth and then receiving a callback.
>>
why doesn't transformY work on large text?

transformX does
>>
I am trying to add a class using select values but it only works with the default value what am I doing wrong? here is fiddle https://jsfiddle.net/7x4e8Lcq/
>>
>>57478361
You're not listening to changes on the select, and you need to remove the other class for it to work consistently.

$('#select').on('change', function(evt) {
if($(this).val() == 1) {
$('html').addClass('color1').removeClass('color2');
} else {
$('html').addClass('color2').removeClass('color1');
}
}).trigger('change');
>>
>>57478416
thanks m8!
>>
what do you use to design your sites before coding them?

Photoshop isn't really working for me, I read there's something called adobe edge reflow but it's discontinued apparently
>>
>>57479463
if personal project
pencil + paper
if not, whatever workflow they got going on
>>
>>57479497
my handwriting is fucking garbage but i'll give it a go
>>
>>57479463

look up wireframing.

here's an example of something you can use online, but there are a lot of options out there: https://wireframe.cc/
>>
>>57478211
>If i were to set up a store from scratch i would hit a wall at making the payment system, how do i approach that?

https://stripe.com/docs is, from what I've seen, the most popular payment processing.

there's also "shopping cart" options which I think are a little more robust: https://www.x-cart.com/home3. sounds like maybe you would want to do that part on your own, so this kind of stuff might not be as useful.

I haven't actually used either of the above, I just read enough about ecommerce to be generally aware.
>>
My new site is going to make it big time.

It's like Tinder but for sandwich artists.
>>
>>57480158
cool.
i have a certificate in sandwich engineering from a community college.
>>
>>57480267
I'm jealous. I flunked out because I used the inappropriate amount of spring mix. That course is no joke.
>>
File: asdsa.png (21KB, 980x652px) Image search: [Google]
asdsa.png
21KB, 980x652px
What should we do with it?
>>
>>57480340
I was thinking Facemash for sandwiches.

By the way, cuckerburgers Facemash wasn't really popular at all. Remember in the movie? 22,000?! I fucking knew those weren't uniques.

"In the course of one day, the number of visitors quadrupled—by 10 p.m., the site had been visited by 450 people, who voted at least 22,000 times."
>>
>>57480387
Yeah I knew it couldn't have been that high. Love that movie though.
>>
>>57480994
We need more tech startup movies.

I watch the social network about 15 times a year.
>>
>womyn friend heard tech stuff pays well and wants a career change from glorified sales manager

>starts spamming coding memes on fb 24/7

>pays $99 for some website development course online, in return gets 12 videos of Pajeet Kumar Patel Patel making a three page static site

>!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"
lang="en"

>notepad++, IE10

>"now vee r going too use, something, advanced, for editing our files"

>starts up Eclipse and imports the three project files and hits 'run'

>we advanced now

>tell her it's a scam, she tells me (backend dev on and off since 2010) I just don't understand

>she's keen on purchasing the rest of the series, at some point it's another $39 for Patel's "unleash the power of web 2.0!!"
>>
>>57481125
>!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"

Jesus christ, that brings back memories of trying to figure out what the fuck it meant back in 4th grade.

The book seriously said "Just write this because you need it to validate your document. Copy and paste it because you won't remember it."
>>
>>57479463

balsamiq
>>
>>57481125
How can I make a web dev tutorial series for women without being sexist?
>>
>>57481072
Fuck are you me.
The one scene where it's making facemash is the closest I've seen to technical accuracy in any movie
>>
>>57481158
Just let her get on with it, she doesn't deserve extra help because she's a woman.

If she wants to learn the hard way then let her most, male spergs do
>>
>>57452798
join us if you need help with web-design
https://discord.gg/YRHjUWN
>>
>>57481178
That scene is the biggest reason I watch the movie. It hypes my up something furious.

I just discovered the website rabb.it - We should have a /wdg/ movie night and watch it.
>>
>>57481279
Who is this? /gd/?
>>
Is there a speedtest that i can embed and get the results returned?
>>
>>57481158
Be a womyn
>>57481776
I think chrome already has something to simulate internet speed. Also jmeter I think
>>
>>57477054
Is your main div floated to the left or right?
>>
Learning python.

If I want to split a list by n into a new list via comprehension how can I do this?

for example:
x = [1, 2, 3, 4, 5, 6]
# I want it split into twos
[[1, 2], [3, 4], [5, 6]]



I think this can be achieved with a slice but I am not sure.
>>
>>57482797
https://stackoverflow.com/questions/312443/how-do-you-split-a-list-into-evenly-sized-chunks
>>
I'm thinking of programming a little game like tetris on javascript to help me learn the language, what do you guys think?
>>
>>57483149
Good way to learn the language, and rewarding and visually appealing enough to make you complete it.

Here's one a friend of mine whipped up in js
http://smhdale.design/crappybird/
>>
>>57479463
i just do the same thing over and over and change the colors around
>>
>>57479463
If you do any enterprise web apps this is your saviour.

http://metroui.org.ua/
>>
File: SS_002.png (743KB, 1891x998px) Image search: [Google]
SS_002.png
743KB, 1891x998px
Can someone help me?
I enabled gd in php.ini and shit aint working
>>
>>57466423
>blaming the language for you own lack of knowlage
wew just kill yourself already
>>
>>57483505
Restart Apache
>>
>>57476222
I dont get the joke who is your host...?
>>
>>57474310
BUMP.
>>
can someone help me? >>57483938
>>
>>57484039
Apache? Got the php module enabled?
>>
>>57484048
in httpd.conf is nothing that has in name "php", that is problem
>>
>>57481147
Who the fuck thought this would be a good idea?
>>
>>57484057
Is libapache2-mod-php5 (or the PHP 7 variant) installed?
>>
>>57484057
Depends what version you have.
Is there a mods-available folder in the apache folder?
If so check for a php7* file

Additionally I think there's a package called libapahce2-mod-php (may be a different one for php7) that automatically installs the module for apache.
>>
>>57484083
>>57484081
Hey hivemind bro
>>
>>57484081
php7
>>57484083
i installed it with php php-apache
tried this way https://www.digitalocean.com/community/tutorials/how-to-install-linux-apache-mysql-php-lamp-stack-on-arch-linux
but it is not working
>>
>>57484101
hey there

>>57484106
Are you sure you followed this step, using the available php7 keywords instead?

# Use for PHP 5.x:
LoadModule php5_module modules/libphp5.so
AddHandler php5-script php
Include conf/extra/php5_module.conf
>>
>>57484252
LoadModule php5_module modules/libphp5.so
AddHandler php5-script php
Include conf/extra/php5_module.conf

with that code apache wont start
>>
>>57484258
That's because you decided to install the php 7 module instead:
You should check the error logs when installing things on your own.

LoadModule php7_module        modules/libphp7.so
AddHandler php7-script .php
AddType application/x-httpd-php-source .phps
AddHandler application/x-httpd-php .phps
AddHandler application/x-httpd-php .php
AddType application/x-httpd-php .php
>>
error_log
...
[Sat Nov 12 16:01:39.006734 2016] [core:notice] [pid 3451:tid 140146312589248] AH00094: Command line: '/usr/bin/httpd -D FOREGROUND'
[Sat Nov 12 16:07:35.799430 2016] [mpm_event:notice] [pid 3451:tid 140146312589248] AH00491: caught SIGTERM, shutting down
AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using 192.168.43.67. Set the 'ServerName' directive globally to suppress this message
[Sat Nov 12 16:08:34.006150 2016] [mpm_event:notice] [pid 3640:tid 139852684632000] AH00489: Apache/2.4.23 (Unix) configured -- resuming normal operations
[Sat Nov 12 16:08:34.006666 2016] [core:notice] [pid 3640:tid 139852684632000] AH00094: Command line: '/usr/bin/httpd -D FOREGROUND'
[Sat Nov 12 16:11:16.116899 2016] [mpm_event:notice] [pid 3640:tid 139852684632000] AH00491: caught SIGTERM, shutting down
AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using 192.168.43.67. Set the 'ServerName' directive globally to suppress this message
[Sat Nov 12 16:16:17.006117 2016] [mpm_event:notice] [pid 3893:tid 139962872168384] AH00489: Apache/2.4.23 (Unix) configured -- resuming normal operations
[Sat Nov 12 16:16:17.006636 2016] [core:notice] [pid 3893:tid 139962872168384] AH00094: Command line: '/usr/bin/httpd -D FOREGROUND'
[Sat Nov 12 16:27:25.030295 2016] [mpm_event:notice] [pid 3893:tid 139962872168384] AH00491: caught SIGTERM, shutting down


btw with that code, apache is not starting too
>>
>>57484281
this >>57484310
>>
How do you guys make graphics for your websites?
>>
>>57484332
tail -n 30 /var/log/httpd/[name-of-your-access-or-error-log-file]
>>
>>57484353
What graphics? I rarely need anything but photographs, which I usually ask the customer to provide.
>>
>>57484353
Depends on the project. If personal, I'll usually be designing my own or just using ((free)) photos. If not personal, client is usually supplying or paying more for me to design it.
>>
>>57484427
Things like buttons, sidebars, logos, anything needed for a graphical webpage.

>>57484491
What software do you use to make them?
>>
>>57484611
I'm using iconfonts for those, for the logo I'd ask the customer or use inkscape.
>>
>>57484611
Depends on what I'm making. For smaller things that don't need reinvention, I'll just be using already made icons for example. For all else photoshop/illustrator.
>>
>>57484622
I didn't know about iconfonts, thanks.
Why vector graphics and not raster graphics?
Because they scale better?

>>57484677
Got it, nice dubs. Thanks.
>>
>>57484692
yes, why would I ever want to still use raster graphics for logos?
>>
>>57484702
I don't know, I asked because I don't know much about graphics for websites.
>>
>>57484728
well, stick with iconfonts, you can change color/shadow/size just with css.
I've used fontawesome and material.io so far and it works out pretty well.
>>
>>57484405
>tail -n 30 /var/log/httpd/

[Sat Nov 12 16:01:37.477166 2016] [mpm_event:notice] [pid 3134:tid 139892945997760] AH00492: caught SIGWINCH, shutting down gracefully
AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using 192.168.43.67. Set the 'ServerName' directive globally to suppress this message
[Sat Nov 12 16:01:39.006085 2016] [mpm_event:notice] [pid 3451:tid 140146312589248] AH00489: Apache/2.4.23 (Unix) configured -- resuming normal operations
[Sat Nov 12 16:01:39.006734 2016] [core:notice] [pid 3451:tid 140146312589248] AH00094: Command line: '/usr/bin/httpd -D FOREGROUND'
[Sat Nov 12 16:07:35.799430 2016] [mpm_event:notice] [pid 3451:tid 140146312589248] AH00491: caught SIGTERM, shutting down
AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using 192.168.43.67. Set the 'ServerName' directive globally to suppress this message
[Sat Nov 12 16:08:34.006150 2016] [mpm_event:notice] [pid 3640:tid 139852684632000] AH00489: Apache/2.4.23 (Unix) configured -- resuming normal operations
[Sat Nov 12 16:08:34.006666 2016] [core:notice] [pid 3640:tid 139852684632000] AH00094: Command line: '/usr/bin/httpd -D FOREGROUND'
[Sat Nov 12 16:11:16.116899 2016] [mpm_event:notice] [pid 3640:tid 139852684632000] AH00491: caught SIGTERM, shutting down
AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using 192.168.43.67. Set the 'ServerName' directive globally to suppress this message
[Sat Nov 12 16:16:17.006117 2016] [mpm_event:notice] [pid 3893:tid 139962872168384] AH00489: Apache/2.4.23 (Unix) configured -- resuming normal operations
[Sat Nov 12 16:16:17.006636 2016] [core:notice] [pid 3893:tid 139962872168384] AH00094: Command line: '/usr/bin/httpd -D FOREGROUND'
[Sat Nov 12 16:27:25.030295 2016] [mpm_event:notice] [pid 3893:tid 139962872168384] AH00491: caught SIGTERM, shutting down


>too long, needed to cut almost 50%
>>
>>57452798
I'm looking for free private git repository.

Should I use bitbucket or gitlab?
>>
>>57485940
I'm using a locally installed gitlab and like it.
>>
>>57485957
I don't understand. How are you using gitlab locally? I though it was just a git repo hosting site.
>>
>>57485972
You can also just download it and run it on your own server.
https://about.gitlab.com/downloads/
>>
>>57485996
Oh thanks. Is that free?
>>
>>57485957
Literally useless
>>
>>57485940
GL
>>
>>57486004
yes. only enterprise features cost something, but unless you're a company with a larger team you aren't going to need those.
>>
File: ___Michaela the office lady.jpg (199KB, 996x1225px) Image search: [Google]
___Michaela the office lady.jpg
199KB, 996x1225px
Would anybody be willing to volunteer and help me work on my hentai site?

https://www.doujinathome.com
>>
>>57486520
Why? You should get a designer or something first.
>>
>>57486520
just open source it instead of asking for people to work for free for your dumbass platform desu
>>
Vertx tells me that I have to use https when using session cookies or else there's a sec threat of hijacking.

I can't afford a fucking certificate for my silly webapp, can I just ignore this?
>>
>>57486601
letsencrypt dummy
>>
>>57486601
Have you been dead for the last couple of years? Free automated certificates are the norm now
>>
I work as a back end developer for a company that develops ecommerce software and I got a big task in developing improved internal tracking of everything that happens in the store, things like:

* user clicks on a product
* user adds product to cart
* user buys product

Just bunch of different "events" like this. Would it make sense to develop something similar to google analytics that we can customize to our needs and handle all these events, or are these things better handled "internally" instead of developing an external tracker? Do companies ever do this?
>>
>>57486864
It's a standard feature in Prestashop, so you can see in which part of the proces you lose your customers.

Normally those things are handled internally. But if you can code it in such a way that you can reuse the code in a way that would make your life easier then you could do that. It's always good to have lots of reusable website parts ready to go.
>>
>>57486977

We also already have hooks for tracking everywhere already, since our customers want external tracking, so I thought it would be a good idea to reuse these hooks but with our own tracking which we can use for mulitple things if we build it intelligently. So instead of adding extra logic to all of the tracking hooks, we just add our own tracking and the hooks always stay the same.

Does this sound good?
>>
>>57486864

Yes I did
Google analytics can log custom events, with custom arguments...
>>
>>57487077
I forgot the link
https://developers.google.com/analytics/devguides/collection/analyticsjs/events
>>
>>57487076

Fuck I suck at explaining, but atm we have hooks for almost all the user actions like I mentioned above, but we don't use them ourselves. It's only if the customer wants to add external tracking like ga, at a particular stage in the buying process that we use them. But if we want to build new features that also rely on these same actions, it would make sense to build our own tracking and use these hooks no?
>>
>>57487077
>>57487087

The problem with ga is that every customer needs their own key, so it's harder to manage. And it wouldn't make sense to use ga if we only want to track things for internal purposes, right?
>>
>>57487122

If client want to use it you can say it's a dependency, add ga code on admin page if he want to use this feature.

If you want to track how users use your software is easy if you are hosting. If not you can make your own analysis services and your software "speaks to home", in that case need to check your law environment.
Because of ethical reasons this feature needs to be possible to turn of by clients.

PS sry my English is sucks
>>
What styling to make my text logo pop on hover?

It's just a div with text in it.
I've tried making it bold and tried text-shadow.
Everything looks bad.
>>
Using Javascript in my introduction to programming course in university. im building a personal website for a project and I'm wondering if I can use Javascript to take input in a form and send it to my email? (I don't really want to have to try to use PHP again)
>>
>>57487575
If it's a link, use underline on hover, functional and looks ok
>>
So I want to make a web app that takes some info from the user and then displays it nicely in a downloadable word document. I've been searching for tutorials or at least libraries that I can use in Js but didn't found anything. Any ideas anons?
>>
>>57488674
5 secs on google https://www.google.com/#q=npm+.doc+file
>>
>>57488961
Thanks! I was searching with the wrong terms
>>
File: 1476784119194.png (9KB, 645x773px) Image search: [Google]
1476784119194.png
9KB, 645x773px
Is it okay if your portfolio is simple and generic?
>>
File: resume.png (1003KB, 1700x2200px) Image search: [Google]
resume.png
1003KB, 1700x2200px
>>57489378
this is a resume
>>
>>57489414
It's downright killing my self-esteem realizing how much more experience he has than I do.
>>
>>57489414
You are saying that it's supposed to stand out no matter how ridiculous it's or what it is it?
>>
>>57489568
be good enough to have an autistic resume
>>
How do i set php on nginx anons?
I added
location ~ \.php$ {
fastcgi_pass unix:/var/run/php-fpm/php-fpm.sock;
fastcgi_index index.php;
root /srv/http;
include fastcgi.conf;
}

but it is not working
>>
When will we have motion tween so you can animate your UI however you want?
>>
File: 991.jpg (33KB, 350x265px) Image search: [Google]
991.jpg
33KB, 350x265px
>>57489414
>>57489476
I thought this was a joke that someone did on colleague or something, but apparently it's legit. This fucker even has peer-reviewed papers on arXiv on his website, the very same website where he hosts this gem. Jesus H. F. Christ.
>>
>>57489809
have you seen his github? his fucking profile is a pony
>>
Just sent my CV to one company for a first time.
Applying for drupal developer job, wish me luck anons, im scared :((((
>>
File: how.png (224KB, 1366x768px) Image search: [Google]
how.png
224KB, 1366x768px
How would you make this look better?

Textfields go away and are replaced with data after form is submitted.

This is for mobile only right now.
>>
>>57489942
Fucking change that ugly blue and use padding.
>>
>>57489942
just google nice form css, ez game anon
>>
>>57489959
I have a pretty nice one now.

Button fixed to bottom. Changed color and spacing.

Anyone know how to trigger a bootstrap collapse toggle in JS?
>>
>>57490275
Holy shit, read the documentation, it's right there where you copy-pasted the code from.
>>
>>57489930
Good luck anon. You have bigger balls than me.
>>
>>57489930
>sending out one application
>one
>single
>application

gl anon. expect rejection
>>
>>57490360
>self learned
>one programming company in my small ass city
>one application
>never had a job before

ez job
>>
>>57490293
It's not there unless data-action houses js for some unknown reason and it's collapse.

In the time it took you to respond I made my own animated collapse.
>>
>>57490538
Good, now you're thinking for yourself, keep doing that!
>>
>>57457741
I'm going to hijack your question.

How should I go about learning PHP?
I'd like to have a homebrew server on something like a Pi. Any suggestions?

I guess I'd also better pick a framework. I don't care about work applicability, I just want something easy to learn and fun.
>>
>come up with easy idea
>figure it will take a week tops
>it's been a month and 2 weeks
>only 90% done

I had the back-end done in 4 hours. Designing sucks balls.
>>
>>57490618

Ask yourself two questions:
* Are you learning a specific toolset for a specific job? If so, obviously chose that.
* Are you just chosing php and a framework for fun just to learn web dev? Then it doesn't fucking matter. Once you learn the basics you can jump around between whatever framework you want.

How to start? Just start building something, whatever comes to mind. You will google literally 99% of your project and it will probably suck ass, but the next time it will suck less, and the next time even less.

People actually use questions like this just to procrastinate. Do you honestly think it matters? Just start.
>>
>>57490695
Now what's your suggestion for someone who forgets their previous framework the minute they start learning a new one?
>>
>>57490800
smoke less weed
>>
File: 1468488888505.jpg (214KB, 1080x1349px) Image search: [Google]
1468488888505.jpg
214KB, 1080x1349px
HELP

need to learn React within 2 days, anyone got some good resource?
>>
>>57490800

What do you mean "forget"? Most frameworks work the same with some small differences. There's nothing to "forget", there's only documentations to read up on.

You know what you need to do conceptually, and you know what you need to look up in the framework. If you don't know this, you didn't learn the underlying concepts & principles well enough behind your first framework.

I've never used Laravel or PHP for that matter, but I know how frameworks work in general which means I could be up and running within an hour or two.
>>
>>57489942
Padding. Looks ugly with the fields reaching the window.
>>
>>57490855
https://thinkster.io/getting-started-with-react
ez pz
>>
File: rimjob inventer.jpg (54KB, 500x373px) Image search: [Google]
rimjob inventer.jpg
54KB, 500x373px
>>57490891
looking good thanks senpai
>>
BYE PAJEET!

We might get those entry-level jobs finally!
I told Trump specificially aboit this issue and here we are.
https://www.ft.com/content/b42f40c2-a6df-11e6-8b69-02899e8bd9d1
>>
What's a good/useful web application? It's raining outside and I have nothing better to do.
>>
>>57490891
>all those animations
This is why people hate web devs
>>
>>57491013
A voting system where you get shown 2 random images of dicks and have to decide which one looks more feminine
>>
>>57491044
>useful
>>
>>57490957
Subscribe to read. Yeah, give a sec.
>>
>>57491044
this actually has potential.
you can build a community where people can upload images of their dicks
and have a matchmaking sort of algorithm which matches only similar tiered dicks together
>>
>>57490360
Other people recommended me there so they asked me to send CV.
>>
>>57491041
The only people who hate web devs are non-web programmers, and that's only because normies actually understand what we do lol.
>>
>>57491119
this was the seed idea for facebook
>thinks for a minute
>dickbook?
>????
>profit
>>
>>57491170
don't worry senpai you're gonna do fine
when you get invited, just act like you belong there and you'll get the job

just got a webdev job myself without any real prior experience, was the only one I applied to as well lol
>>
>>57489942
Padding, have the button a custom one that stretches the length of the form if the whole thing is like max 640px or something

Change colour scheme
>>
>>57488305
Just use php.

Don't be lazy (even though it isn't even that time consuming or complicated you can copy it straight off the net)
>>
>>57491239
For me hard part is to set my level of knowledge.
Like how good am i at c/c++/java/php/nodejs
I didnt know what should i do so u put them in "Intermediate:" and only Linux systems in advanced. I always think that im not rly good at php but them i see autistic people working as web devs and think that maybe i am underrating myself
>>
File: isitbetter.png (264KB, 1366x768px) Image search: [Google]
isitbetter.png
264KB, 1366x768px
Is this better?

Layout-wise. Colors are changing.

I changed sizes of things to viewport sizes
>>
>>57491367
are you using that for website or webview?
>>
>>57491367
Looks much better but I wouldn't place the button completely at the bottom. You should also add some padding or a margin
>>
>>57491367
Padding
>>
>>57491384
Cordova app for phones/tablets.
>>
>>57491414
Cool.
Left, right, top, bottom?
>>
>>57491499
>Left, right, top, bottom?
Yes
>>
>>57491499
Left and right. You don't want the fields going all the way to the sides.
>>
new thread
>>57491803
>>57491803
>>57491803
>>57491803
Thread posts: 325
Thread images: 43


[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y] [Search | Top | Home]

I'm aware that Imgur.com will stop allowing adult images since 15th of May. I'm taking actions to backup as much data as possible.
Read more on this topic here - https://archived.moe/talk/thread/1694/


If you need a post removed click on it's [Report] button and follow the instruction.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com.
If you like this website please support us by donating with Bitcoins at 16mKtbZiwW52BLkibtCr8jUg2KVUMTxVQ5
All trademarks and copyrights on this page are owned by their respective parties.
Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
This is a 4chan archive - all of the content originated from that site.
This means that RandomArchive shows their content, archived.
If you need information for a Poster - contact them.