[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: 320
Thread images: 50

File: 1491915724737.png (731KB, 824x553px) Image search: [Google]
1491915724737.png
731KB, 824x553px
trying out updated OP from last thread edition
improvements welcome

>old thread
>>60688998

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

>Getting started
Get a good understanding of HTML, CSS and JavaScript.
Everything you learn will have these as their base.
The Mozilla Developer Network offers a good intro (no matter your browser choice)
https://developer.mozilla.org/en-US/docs/Learn/Getting_started_with_the_web

>Online courses
https://www.codecademy.com/
https://www.freecodecamp.com/
https://www.bento.io/

>Further reading/viewing
https://www.youtube.com/watch?v=sBzRwzY7G-k
https://github.com/kamranahmedse/developer-roadmap
https://github.com/dypsilon/frontend-dev-bookmarks
https://github.com/vhf/free-programming-books/blob/master/free-programming-books.md

>Code challenges
https://www.codewars.com/
https://www.hackerrank.com/
https://codefights.com/

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

>Useful Youtube channels
derekbanas
learncodeacademy
funfunfunction
computerphile
coding train

>cheap vps hosting in most western locations
https://www.digitalocean.com/
https://www.vultr.com/
https://www.linode.com/
https://www.scaleway.com/
https://www.heroku.com/
https://lowendbox.com
>>
>>60711471
I like the new OP, OP
>>
>>60711471
What is the best way to learn es6 from scratch?
>>
>>60711631

https://babeljs.io/learn-es2015/
or
http://es6-features.org/

has a good overview
>>
>>60711631
Think of a project and make it.
>>
>>60711703
> code console utils for an years
> have no idea for React/Angular/Vue app
Can you help me, Anon?
>>
Need pretty urgent PHP help for this problem I'm having. I'm getting a bunch of data from a json rest API and I'm using json_decode to print the results. Now, the issue is there are multiple results with the same name but different keys.

Right now I'm using the following to get the first result, how can I repeat this for all of the keys with the same name and print them below each other sperately?

print '<span class="result">'.$json['result'][0]['name'].'</span>';
>>
File: logo.png (4KB, 400x400px) Image search: [Google]
logo.png
4KB, 400x400px
install Vue.js
>>
File: vue.png (10KB, 400x400px) Image search: [Google]
vue.png
10KB, 400x400px
Vue is love, Vue is life
>>
>>60712088
lol that sucks. I just took the pic above me, rotated and saved. Why did I lose the transparency? How do I keep it?
>>
>>60711933
Use a foreach loop
>>
>>60711894
bump
>>
how do i manipulate individual pixel using javascript?
>>
>>60712300
fillRect on your canvas context with width and height both being 1.
>>
>>60712300
https://stackoverflow.com/a/4900656
>>
File: VUE.jpg (9KB, 225x225px) Image search: [Google]
VUE.jpg
9KB, 225x225px
VUE
U
E
>>
>>60712135
What are you using to edit it? Just tried it in MacOS preview and GIMP, and they both seem to preserve transparency by default, provided you export to a format that supports transparency, which you seem to have.

There might be a setting in whatever program you're using, probably under export settings or something similar.
>>
I see all of the resources but as a total beginner I just downloaded
>notepad ++

Which site should I check out first? I only have basic HTML understanding.
>>
>>60711933
http://sandbox.onlinephpfunctions.com/code/92fb63ede638399d0ef49f4d7982024990874073
>>
>>60712335
>>60712354

nono, im thinking more like

>user upload a picture
>i manipulate picture
>spit picture back out

i know there's jimp, but i want to edit the picture myself, without using libraries.
>>
>>60712562
>Getting started
>Online courses
in the OP

teamtreehouse and other paid sites have like 1 week trials you can also use alternatively
>>
DELETE FROM table;

Table has 400k rows.

Been executing for 3 minutes 50 seconds so far.
>>
>>60712680
>without using libraries
okay
start by loading the image data
https://developer.mozilla.org/en-US/docs/Web/API/FileReader
then you need to decode the file. start by reading format specifications. here's one for png: http://www.libpng.org/pub/png/spec/1.2/PNG-Contents.html
after decoding you should have a 2d array of pixels you could maniputale as you want
after you're done encode it back, the format specification will apply here as well

after you've decided that you actually don't want to do this without external libraries, get some existing decoders like https://github.com/niegowski/node-pngjs
and delegate the encoding/decoding part to them
>>
>>60712300
>>60712680
When you say "in javascript", do you mean on the frontend, in the browser, or do you mean in Node?

Because JavaScript actually has builtin support for painting the common image formats in a canvas, and then you can just edit the pixels you want. After that, users can just right-click > save image as on the canvas (I believe as a png). Or I think there are ways of converting to other formats.

If it's in Node, I think the canvas api is still available, but I'm not sure if that's the most efficient way to do it. You might want to look in to libraries as >>60712877 suggested.
>>
>>60712877
>>60713179

i'll use that library

when i said no libraries i meant i dont want to do decompression, manipulation, grayscaling, yadda yadda myself

thats why i mentioned jimp
>>
File: Brendan_Eich_001.jpg (47KB, 570x734px) Image search: [Google]
Brendan_Eich_001.jpg
47KB, 570x734px
STOP BEING GAY
>>
>>60713400

i dont want to do --> i WANT to do

fuck im retarded
>>
File: 9ff.png (198KB, 550x535px) Image search: [Google]
9ff.png
198KB, 550x535px
>setInterval(function(){ otherFunction()}, 3000);
>>
File: 1496258101471.jpg (124KB, 882x731px) Image search: [Google]
1496258101471.jpg
124KB, 882x731px
>>60713540
>if (myVariable == true)
>>
>>60713540
dumb frogposter
>>
>>60712720
FindAll on mongodb
Collection has 3M documents
Manipulate it to make a datastructure in memory.
Store results in xml file (500MB)
Took 8minutes.
Golang isn't THAT bad...
>>
>>60713633
meant for >>60712822
>>
File: gh.jpg (147KB, 944x902px) Image search: [Google]
gh.jpg
147KB, 944x902px
>>60713406
>Xe doesn't own a GitHub shirt

>>60712248
Do something you would find useful yourself.
Otherwise you won't have motivation and won't finish it anyway.
>>
>>60712822
how about TRUNCATE
>>
File: 1474399576295.jpg (21KB, 372x260px) Image search: [Google]
1474399576295.jpg
21KB, 372x260px
Does anyone have experiences with captive portals/spash pages?

I want either:
• all requests to be forwarded to one address (an html page on my local network)
• all users to be sent to a certain page as soon as they connect to the wifi

What I have:
• DDWRT enabled router
• No internet
• Cat5e connection between router and a PC running windows (my 'web'server using apache)

I just have an open wifi I want people to connect through to see a web page through my apache PC, I don't need them to do anything else on the network. I wouldn't mind an 'agree' page as long as it dumps you on a specified site but that's not really what i'm looking for, it just seems like a lot of the programs/services are associated with that.
>>
File: 1494668661264.jpg (38KB, 530x325px) Image search: [Google]
1494668661264.jpg
38KB, 530x325px
>>60713579
>if (isTrue == String("yes"))
>>
Anyone else a PHPajeet here? I don't like PHP that much but ''''''node'''''' and its tooling is downright awful imo.
>>
>>60712558
just regular Windows' Paint
>>
>>60715313
>using paint in year > 1995
>>
>>60715204
Anyone else a McDonald here? I don't like McDonalds that much but ''''''<insert steakhouse with $300 ribeye here>'''''' and its service is downright awful imo.
This is what you sound like.
>>
>>60715343
I'm not gonna download fucking gimp when all I do with my pic editor is crop pics
>>
>>60715204
Yes, it's fine for most things.
>>
>>60715204
You mean strictly backend? If so then I don't use either. I only use node for frontend dev tools and for my electron game. I have no complaints.
>>
Where the hell do I put the Maps API key in Wordpress so the map can actually show up?
>>
>>60715643
RTFM
>>
>>60712822
Might be foreign key checks.
>>
How do you beat impostor syndrome?
>>
>>60715204
Agree on node being shit but there are other choices.
>>
>see this https://angel.co/boomtv
>basically lets you zoom around and watch things from different views
>3.5 million in funding

What the fuck, man
>>
>>60715643

quit whoring out your website to all those 3rd parties
>>
>>60717006

brb off to get a patent on spectator mode
>>
>>60717102
I don't get how they do it.

I'm in the same field and everyone around me is getting seed funding or bought out.

I guess I just suck ass. I get 4k uniques per day and it's like I don't even exist anywhere. Nothing on google, no social media postings, nothing.
>>
>>60717162
Either:
1. Your product is shit
2. You're not trying to market your product
2. You're not sociable enough to sell your product
>>
>>60717541
or I've only been around for 2 months and people are actively ripping off my stuff.
>>
Making a twitter clone with Bulma as the framework. This framework is perfect for this shit. I don't have to do anything.
>>
how do I limit the number of rows in <code> tags. just like in <textarea rows=""> ?
>>
>>60718635
You could probably do it in CSS, by setting the height in 'lh' (line height) units.
>>
Is laracasts worth getting a subscription for? I have access to Lynda but its pretty lacking desu.

I don't know any php and it kind of looks like laracasts is more for laravel? Maybe?

Anyone have experience with this site? Could you recommend?
>>
>>60718945
Laracasts is pretty good. I've been a sub for about a year now.

Just keep in mind that most of the stuff uses a Mac, but I like his teaching style. For some reason I absorb it very fast the way he does it.
>>
>>60718635
https://codepen.io/anon/pen/NgWpRN

>>60718945
I don't know but you should try this first
http://rutracker.org/forum/search_cse.php?cx=014434608714260776013%3Aggcq1kovlga&cof=FORID%3A9&ie=utf-8&q=laracasts&sa=%D0%9F%D0%BE%D0%B8%D1%81%D0%BA+%D0%B2+Google :^)
>>
>namecheap auto-buying and offering domains for 1000 times the price

Fuck you, namecheap. You used to be cool.
>>
I want to get into coding, good luck to me.
>>
>>60719042
So it comes down to the guys teaching style and whether or not it clicks? When I was looking through his library (assuming I can see it all as a non-member) it looked pretty small, is that a fair assessment anon?

Always a damn mac.

>>60719062
Yeah I honestly may pirate a video first just to see what he's all about.


Thanks guys.
>>
Anyone know about a good book/resource for make more beautiful page with CSS?
>>
File: 1473890057228.jpg (69KB, 580x339px) Image search: [Google]
1473890057228.jpg
69KB, 580x339px
>>60714250
send help, just need the name of a program or service that isn't garbage or $$
>>
>>60719187
There's enough content there if it has the things you want to learn about.

You can go to the smallest library in your state and still not finish all of the books.
>>
>>60719221
Keep trying, Pajeet.
>>
Guys I just bought a thinkpad.

webdev or programming?

Which skill should I focus on first.
>>
>>60719234
That's true. Maybe I need to take another look around there. I got no problem paying money I just want to make sure I like his style is all.

Anything else worth subscribing to anon?
>>
>>60719378
Laracasts is all I've subscribed to so far.

Something about his style is very comfy. It's a relaxing place to learn. It's like a mix between story-time in kindergarten and CS class but explained friendlier and more thoroughly.

Maybe some other anons can pipe in about other places to learn from.
>>
Is vue actually worth learning or is it just disguised nigger shit?
>>
File: flop.webm (292KB, 594x174px) Image search: [Google]
flop.webm
292KB, 594x174px
i want to achieve the right side with backface visibility thingy
>>
>>60719247
>webdev or programming
but webdev involves programming

>>60719589
no niggers in china
>>
Odds - Use PHP for backend
Even - Use Go for backend
0 - Use Node
>>
Does anyone here have experience with GraphQL?

Trying to figure out how the fuck to make a schema created with the makeExecutableSchema function from graphql-tools to work with the SubscriptionManager class
>>
File: 1495090285576.jpg (117KB, 650x650px) Image search: [Google]
1495090285576.jpg
117KB, 650x650px
Pls help, in python3 and scrapy (a FOSS webscraper)

so in this program, after getting html of the page, if I want to extract the contents of

 
...
<div class="quote">
<span class="text">“The world as we have created it is a process of our
thinking. It cannot be changed without changing our thinking.”</span>
<span>
by <small class="author">Albert Einstein</small>
<a href="/author/Albert-Einstein">(about)</a>
</span>
<div class="tags">
Tags:
<a class="tag" href="/tag/change/page/1/">change</a>
<a class="tag" href="/tag/deep-thoughts/page/1/">deep-thoughts</a>
<a class="tag" href="/tag/thinking/page/1/">thinking</a>
<a class="tag" href="/tag/world/page/1/">world</a>
</div>
</div>
...
</div>
...



with the program (in python3):

>>> response.css("div.quote")
>>> title = quote.css("span.text::text").extract_first()
>>> title
'“The world as we have created it is a process of our thinking. It cannot be changed without changing our thinking.”'



question is, what would I type if the html was:

<div class="">


?

I tried

>>> response.css("div.") 



but got an error
>>
im not what the difference between backend and front end is, is this consdered backend or front end?

http://sparkjava.com/tutorials/application-structure

im using java to generate the webpage, so its a front end right? But since im producing the final webpage, but it also takes in data from the database, so like it can't go back further than that can it?
>>
I'm making it, fellas.

Compete with bigger services, show them you have some power users, they buy you out.
bingo.
>>
>>60720825
Remove the dot
>>
>>60721100
wouldn't I get a bunch of other unwanted tags that use <div>? I just thought there was a shorter way, eh, I just go another layer tru enough
>>
File: ss-2017-06-03-10-11-54.png (15KB, 658x209px) Image search: [Google]
ss-2017-06-03-10-11-54.png
15KB, 658x209px
>>60720911
/src/main/java is backend
images, css and velocity templates are frontend

>>60720825
>>60721131
try div[class], pic related
>>
File: ss-2017-06-03-10-24-50.png (19KB, 668x222px) Image search: [Google]
ss-2017-06-03-10-24-50.png
19KB, 668x222px
>>60721621
okay, I just realized that I dun goofed.
div[class=""] to match only the divs with empty class. I don't even know if scrapy supports all this, but it should
>>
>>60721621
>>60721700

nice! thank you
>>
is it possible to even have dual language running on a website? one for showing shit and one for doing stuff at the back? im not talking html and node but node and java

im aware of https://github.com/joeferner/node-java

but from what i see its just a pseudo-java implementation inside node? what the fuck is the point of that?

i already have a java code written (it takes in a file then spit out a file)

i guess using child_process).exec ??? then calling 'java yadda yadda'??

but what would happen if theres like 100 user using the same service at once wouldn't it fuck up the input/output files if my comp isnt quick enough
>>
>>60711471
Can /wdg/ help me extracting specific contents of a site?


I was wondering if any of you kind people can write me a script that downloads the actual contents (without the comments) of the site.
>>
>>60722025
sent
>>
>>60722081
http://www.learncpp.com/
>>
File: ss-2017-06-03-11-47-12.png (91KB, 833x787px) Image search: [Google]
ss-2017-06-03-11-47-12.png
91KB, 833x787px
>>60722002
>but from what i see its just a pseudo-java implementation inside node?
it's not. here you go
>>
Is there a way to automatically delete unused images from my folder? Something that scans html/css for images
>>
>>60722566
If you're using Gulp, there's a few gulp tasks you can use that'll do it.
>>
File: zxqoa3kvxruy.jpg (87KB, 477x1728px) Image search: [Google]
zxqoa3kvxruy.jpg
87KB, 477x1728px
Hey,

Can I have nested git repos where I can commit once and it creates the same commit in both repos?

The structure of the project is like this:
>docker-compose-project/
>docker-compose-project/heroku-web-project/

Both are Git repos, one goes to BitBucket the other one to Heroku. I just want to keep the commits for the Heroku project synchronized with the parent project.

Thanks in advance brosefs
>>
>>60722566
find . -print0 -name "*.{html,css}" | xargs -0 grep -Poh '(src=\"|url\()\K.*.png' | uniq | xargs -L 1 rm
>>
>>60722397

arigato anon senpai
>>
If an interviewer asks about OOP is it enough to mention inheritance and encapsulation?
>>
>>60723526
Definitely not
>>
>>60722725
https://help.github.com/articles/syncing-a-fork/


but what you describe seems like not the ideal approach anyway.
Whats the problem with just having 1 repo?
>>
>>60722872
wew
thanks anon
>>
so my heroku app is written in nodejs but i have a java script in it so i have to install java as a dependecy

i already followed the instructions here https://stackoverflow.com/questions/36191073/node-java-error-libjvm-so-cannot-open-shared-object-file-no-such-file-or-dire

but im still getting the same error described
>>
>>60724783

not JavaScript but JAVA static method in it

i can run the web just fine locally.
>>
I wanna get into making wordpress themes.

what do?
>>
>>60725130
read the wordpress documentation about making a theme
>>
Do you use mod_pagespeed faam?
>>
>>60721724
How are you finding the world of web scraping?

I thought it was really cool at first but the amount of shoddy html/CSS out there with no proper pattern/structure got on my nerves after a while.
>>
>>60725323
Still new, and I'm suffering from the same dilemma

So many horribly organized sites, luckily developing pattern structures from very hard to discern shit has always been my way of fun so it works out, but yeah I can see this getting really annoying in due time
>>
>>60722725
Yeah probably a bad approach.

Long story short, the parent/docker repo contains the stuff needed to run it locally (postgres instance + the webservice itself) and then there's the webservice itself which after pushing to Heroku also restarts the "live" staging web applicaiton.
>>
>#/g/wdg You need to login to services to join or speak in that channel.

what
>>
File: piratesofthecarribean.png (205KB, 3340x3176px) Image search: [Google]
piratesofthecarribean.png
205KB, 3340x3176px
>>60713540
>tfw asynchronous programming
>>
>>60725931
No one uses irc anymore.
>>
>>60726143
twitch.tv chat runs off irc.
>>
>>60726183
I meant wdg. That's why it's locked.
>>
>>60726213
Just use discord nerd.
>>
Trying to decide whether to start learning Angular or React first. What are the pros and cons of either?
>>
>>60726523
learn vuejs
>>
>>60726523
React is preferred by most people as far as I can tell.
Angular is more popular in "enterprisey" environments.
No idea what their pros and cons are though.
I use Vue :^)
>>
File: 1487267521351.jpg (83KB, 360x360px) Image search: [Google]
1487267521351.jpg
83KB, 360x360px
Why is the irc locked?
>>
>>60726644
>>60726143
someone should make a new one or remove it form the OP

discord has people, but it's full of memelords
>>
>>60726671
The discord is pure cancer
>>
>>60717162
Link your stuff and we will judge it.
>>
>>60726644
It isn't locked, you just need to register your nick.
>>
>>60727172
And where are you supposed to do that?
>>
>>60727228
With NickServ, like on every other IRC network using the service.
/msg nickserv help
>>
- Can build auth scheme in python
- Can configure auth in Werkzeug
- Can configure auth in UWSGI
- Can configure auth in Nginx

Which one /g/? My API has no roles and shit just some users that can use it
>>
File: 6d5.png (276KB, 1280x720px) Image search: [Google]
6d5.png
276KB, 1280x720px
Is this general so special, that there is even a need for a chat?
The thread itself is good enough for discussions.
>>
>>60727389
Chat is for more intense shitposting, m8
>>
Has somebody made a bookmarklet you can click on to be directed to the newest /wdg/ thread? I can code one fine but it would be nice if somebody had already made it
>>
>>60726613
This.
>>
What books would you recommend for learning HTML5, CSS3 and Javascript, /wdg/?
>>
How to not get depressed when you have to work on web stuff. It feels like it's so easy to spend 100 hours of your life to get fuckall result because it's so tedious. And the only way to actually make anything approaching progress is to overwork like a motherfucker. Could be spending that time making some fun game or something. Is the trick to just turn off your brain or something because if I think about what I'm actually doing it's like I can't go on.
>>
I'm thinking about learning a backend language, can't really decide between Python and Go. In my area job offers for either of those is about the same, so that's not an issue. Question is, what are the pros and cons for both of them? I think Python has a bigger following in general, but Go is compiled (which is better, I guess). Help.
>>
>>60727676
javascript:(()=>{fetch('https://cors-anywhere.herokuapp.com/https://a.4cdn.org/g/catalog.json').then(a=>{a.json().then(b=>{b.forEach(c=>{c.threads.filter(d=>d.sub).forEach(d=>{d.sub.includes('/wdg/')&&(window.location=`https://boards.4chan.org/g/thread/${d.no}`)})})})})})();
>>
Newbie here. Which is the better option for someone who wants to code full-time - using your real name or a moniker? Would the moniker make it difficult for people to hire you for freelance work? I would like to earn a living from this but am wary of putting my name online.
>>
>>60728267
Real name obviously and prepare to have your background scrutinized
>>
>>60728267
Well t b h you will probably link your real id to your work with linkedin or whatever shit anyway. But yeah you could just put the github link on your resume so fewer people see it.
>>
>>60728314
I have no background, which is reassuring for now.
>>
>>60728421
Well that's actually worse and more suspicious. They're going to ask why you don't have like 200 linkedin connections etc
>>
>>60728421
Oh yeah and they might even ask why you don't have fucking Facebook since a ridiculous amount of business is done on there
>>
File: CDA7o.png (127KB, 600x857px) Image search: [Google]
CDA7o.png
127KB, 600x857px
>>60728421
10year NEET here
I feel like that's worse than no background. What do I even tell people, when they ask about what I did so far.
>lel, sry we won't give you a job, because you didn't have one before :^)

but yes, use your real name, when you deal with businesses.
Noone will hire @webdevTony420

>>60728472
fuck I am worried about that as well.
Don't even have a FB account. That's more of a hurdle than learning the latest JS Framework ever could be.

t. not the other anon
>>
Jeez guys calm down, I am just starting out in web coding. Of course I have no connections. Maybe I will make a Facebook account but I don't think I have to since there is Upwork for freelance shit.
>>
>>60728720
If you get a job on upwork without being harassed over social media shit I will print out my Facebook profile and eat it
>>
>>60728775
I'll be hanging out here a lot, learning a lot of shit, and I will describe my experiences in Upwork when I am ready for freelance work. So stay tuned. It may be a month or so but sit tight and you will see how little a social media presence matters when it comes to coding for random people.
>>
File: Capture.jpg (28KB, 535x415px) Image search: [Google]
Capture.jpg
28KB, 535x415px
>>60728720
also read https://hackernoon.com/why-you-should-never-use-upwork-ever-5c62848bdf46
Doesn't mean that you shouldn't use it, just something to know about before committing your time.
>>
>>60714250
Bump, this is interesting.
Not sure if it's web dev though, more networking.
>>
>>60719161
They do this? Fuck I use them for my work domains. I'd move in a second if they are doing this shit.
>>
>>60719161
>>60729244
they also talk shit about letsencrypt to sell their own certs, avoid them.
>>
>>60729265
got recommendations for a better place to get domains from?
no google domains please. Not available in my region.
>>
>>60729357
I'm using gandi for several years now.
>>
File: menu.jpg (107KB, 1899x639px) Image search: [Google]
menu.jpg
107KB, 1899x639px
What is a menu like this called?
>>
File: 1496296734329.png (171KB, 425x516px) Image search: [Google]
1496296734329.png
171KB, 425x516px
>>60730120
Just a carousel with 4 entries per row; with a single row I would guess.
>>
File: 1496098470149.jpg (81KB, 842x792px) Image search: [Google]
1496098470149.jpg
81KB, 842x792px
Hey buds,

What do I need to know to make a simplistic self-promotion website for art?

Something like this:
http://fengzhudesign.com/
>>
>>60730418
A site like that could be done with just HTML and CSS.
>>
File: mfw.png (93KB, 1920x395px) Image search: [Google]
mfw.png
93KB, 1920x395px
>>60730418
>checking out site
>mfw

anyway it's just HTML and CSS
learn it and you can make something similar
>>
>>60730297
Thanks anon. I thought it was a joke at first.
>>
File: wr0H3as.png (734B, 380x195px) Image search: [Google]
wr0H3as.png
734B, 380x195px
I know using CSS frameworks for everything is frowned upon, but what about just including a frameworks flexbox grid?

There are some edge-cases, that are well covered, by Bootstrap/Foundation so you don't have to stress about oddities in certain browsers.

Do you use your own grid solution or a framework?
>>
How do I get better creatively? I can copy stuff from sight pretty well at this point, but when I work on something original, it looks so shitty and basic and unpolished compared to basically every other website done by a professional I have seen. Is it supposed to just come to me? Do I just look around for sites I like and copy them or what?
>>
>>60732721
Have you tried bootstrap and themes?
>>
>>60732736
Yeah I use Bootstrap for most things simply because its faster. I don't use themes and generally customize on my own.

Is using themes a thing lots of people do? If so, I was very unaware of this. I thought everything was done from scratch aside from Bootstrap or Foundation pretty much.
>>
>>60732771
>Is using themes a thing lots of people do?
I'm not sure, it was just an idea. I only ever tried bootstrap once so I don't have much experience.
>>
Is JSON the only format for communication between modules?
>>
>>60734072
>not using XML
>>
>>60734101
Does it matter if you use JSON or XML? In the end you're just going to use a parser library to transform the XML/JSON to an object vice versa and it's easy to do on both
>>
I always use a UI framework.
>>
Is there a lightweight and non-meme js framework that doesn't force you to just have
<body><my-app></my-app></body>
but just modify the dom a bit here and there? Kinda like angular 1.0 but it's dead. I want my apps to be as usable as possible when js is disabled.
>>
>>60735648
>just modify the dom a bit here and there
jQuery might be what you're looking for. It's basically just shortcuts, compatibility shims and syntactic sugar for common vanilla js stuff.
>>
>>60735706
Yeah, I was hoping for something one level above that. Two-way data binding is important. jQuery gets out of hand quickly.
>>
Go or PHP?
>>
>>60735648
>>60735735
how is this even remotely like anuglar1? I just checked my old angular1 app's index.html and it's literally an empty div with a ng-view attribute. what you want is a js library to manage the dom for you except you don't want it to manage the dom.
if you're making something that needs to be safely accessible with tor then you have to cope with jquery. otherwise just use fucking react. nobody disables js in 2017 unless they're autistic

>>60736114
java
>>
File: 1379490669547.jpg (49KB, 353x359px) Image search: [Google]
1379490669547.jpg
49KB, 353x359px
>>60736717
>java

It was good for freshman college and it's fucking shit language through and through
>>
>>60736114
short-term, PHP has a better market share, but it's a huge clusterfuck to use and full of security holes (so I hear, never used it).

Go has better long-term perspectives, and it's the least verbose of all the compiled languages. Very intuitive, super fast. Overall a solid choice, I would say.

Also PHP is just for webdev, Go can do anything.
>>
>>60736833
>le java a shit meme
please keep your cancer memes away from this thread
>>
>>60736905
How can you eve defend it?
>>
ffs why css is so fucking stupid and messy and dumb its just fucked up whhhayyyyyy I mean for ffs I can't even align some random shittext vert&horiz without spending 30 fucking minutes trying to figure out how REEEEEEEEEEEEEEEEEEEEEE
>>
bros how much does it cost have a google cloud web up and running? im probably like the only one gonna use it though
>>
why is java web development so fucking complicated
>>
>>60736936
just accept flex as your new lord and saviour and you will be spared
>>
>>60728267

It doesn't really matter. Of course if you call yourself "cunt_destroyer_666" on GitHub, this might come off as childish. But what matters most are your skills. If you have a good skillset, then the rest doesn't matter that much.


>>60728535

So what have do done to actually get employed?

People always think about the "magic words", the "flawless C.V." or how many LinkedIn or Facebook friends they need to get employed. But they never ask themselves "Why would I hire myself? What skills would make my employer make me hire myself?"

Because it's actually simple:
DO. MORE. CODING.

1 ) Have you done a site for yourself? Reworked it with a betters stack? Nice, go to stage two:

2) Have you done sites for your friends? Their families? Did someone pay you? Great, now you have the portfolio for stage 3:

3) Have you found a first customer? Maybe even gave him a special price? Found a second one? A third one?


Eventually you are good enough that a company has to hire you, because there aren't just as many skilled developers out there. It's a no-brainer.

So your skill set should be:
Are you good enough to become a competition for a company? Then they will hire you.

Companies are not there to teach you programming.


>>60736114

Why not both?

Start with PHP, it has a lot of jobs, a lot of good frameworks and is pretty easy to deploy.

Then learn some Go. You probably won't find a job with it, but it's fun to work with..

Go positions are usually for people that have other skills (i.e. Java devs or PHP devs), meant as "reward". A company has no actual benefit from using cool and hip programming languages. Managers want a stable and working ecosystem where they can easily hire developers for. So the only reason to use something like Go and use a "newer" programming language (which has many risks and disadvantages) is to attract good programmers that want this position specifically because of the cool language.

HR and Marketing 101.
>>
>>60731960
I use the Bootstrap grid, but not the whole framework, the syntax of version 4 is good, it makes more sense than almost any other frameworks' grids I tried. I don't like flexbox that much for grid systems to be honest, although it's great sometimes.
>>
>>60737242
>Of course if you call yourself "cunt_destroyer_666" on GitHub,

We actually had a guy apply for a job a while back, his email address was something like [email protected].

He did not get the job.
>>
>>60737368
I've heard he works at Pied Piper now
>>
i know html css js and jq but how do i actually start building fancy sliders and other cool interactive shit that you see js gods create
>>
>>60737525
if you know all these then you should be able to do that easily.
>>
>>60737564
i know with jquery i can just incorporate jqueryui features.

but how to actually build from core js
>>
>>60737576
I'm sorry if I'm being a cunt but the answer is really "write the code that does what you want"
>>
>>60737576
add the elements you want.
for a very simple slider one for the line and one for the tick.
add mouse down/up events to the tick and when the mouse moves left/right move the tick accordingly and calculate the value it should generate.
>>
>>60737576
Then you use you languages to build whatever you want, if you don't know where to start then look for tutorials and rebuild specific things, there are plenty of open-source project on the internet, download one, look at how it's done, understand each aspects of it then build one yourself.

There is no magic potion, just write code.
>>
>>60737215
1. pom.xml
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>

<groupId>org.springframework</groupId>
<artifactId>gs-spring-boot</artifactId>
<version>0.1.0</version>

<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>1.5.2.RELEASE</version>
</parent>

<dependencies>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>
</dependencies>

<properties>
<java.version>1.8</java.version>
</properties>

<build>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
</plugin>
</plugins>
</build>

</project>


2. src/main/java/hello/Application.java
package hello;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.web.bind.annotation.RestController;
import org.springframework.web.bind.annotation.RequestMapping;

@SpringBootApplication
@RestController
public class Application {

public static void main(String[] args) {
SpringApplication.run(Application.class, args);
}

@RequestMapping("/")
public String index() {
return "Hello complicated world!";
}

}


3.
$ mvn spring-boot:run


4.
$ curl localhost:8080
Hello complicated world!


how is this complicated exactly?
>>
>>60737830
are you fucking serious? You have to do all that just for a fucking hello world?

Dude...
>>
File: 2017-06-04-125604_650x712_scrot.png (84KB, 730x792px) Image search: [Google]
2017-06-04-125604_650x712_scrot.png
84KB, 730x792px
>>60737904
not really, but I don't see how is that a problem for anything more complex than a hello world. unless your ultimate goal is to make short hello worlds and not shit that does stuff but I sure hope that's not the case
>>
Yo guys, noob here so get ready for a dumb question. Getting to grips with producing a messageboard as a first project in PHP and MySQL as per the guidance from this page: https://code.tutsplus.com/tutorials/how-to-create-a-phpmysql-powered-forum-from-scratch--net-10188.

However I can only work through localhost at the moment rather than host online. What do I do regarding SQL databases? Is it possible to host databases through localhost?
>>
>>60738076
just install a mysql/mariadb server and run it when you need it.
>>
>>60738076
Sure it is, if you're using a solution like WAMP or XAMP then you can access PhpMyAdmin with localhost/phpmyadmin usually.

Otherwise you'll have to do what other anon said, install a database engine on your local machine then access it via console or an interface.
>>
>>60738065
sure, I guess all that boilerplate and unnecessary verbosity disappears the bigger your project is. come on dude, java is and always will be a huge turd. It's only saving grace is that it has a huge community, but that's it.
>>
>>60738160
>sure, I guess all that boilerplate and unnecessary verbosity disappears the bigger your project is.
it actually makes it easier to understand what the code is doing
>>
>>60738471
>java
:^)
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.Logging;

namespace bazoinga
{
public class Program
{
public static void Main(string[] args)
{
var host = new WebHostBuilder().UseKestrel().UseIISIntegration().UseStartup<Startup>().Build();
host.Run();
}
}
public class Startup
{
public void Configure(IApplicationBuilder app, IHostingEnvironment env, ILoggerFactory loggerFactory)
{
app.Run(async (context) => { await context.Response.WriteAsync("Hello World!"); });
}
}
}
>>
>>60738597
Oh sweetie...

const express = require('express')
const app = express()

app.get('/', function (req, res) {
res.send('Hello World!')
})

app.listen(80, function () {
console.log('Example app listening on port 80!')
})
>>
File: 1486758283140.png (52KB, 1429x511px) Image search: [Google]
1486758283140.png
52KB, 1429x511px
I'm trying to learn ReactJS, but the classname attributes aren't being rendered in the browser. Anyone know what's causing it to fail?
>>
File: 1442615418684.png (286KB, 601x567px) Image search: [Google]
1442615418684.png
286KB, 601x567px
>>60738701
>node
>>
>>60738597
>>60738701
>le hello world fight
just fucking stop and go do something productive

>>60738701
you forgot to include the files in node_modules

>>60738729
it's "className"
>>
>>60738752
Wow, thanks. Me good dev.
>>
>>60738752
give me something to do then fuck nugget, im boted as fuck and too dronk to do anything productive
>>
>>60714250
Just set your DNS server to forward every lookup to your webservers' IP
>>
>>60738701

const app = require('express')();
app.get('/', (req, res) => res.send('Hello World!'));
app.listen(80);
>>
File: ss-2017-06-04-14-27-34.png (48KB, 645x177px) Image search: [Google]
ss-2017-06-04-14-27-34.png
48KB, 645x177px
>>60738729
>>60738752
>>60738761
also consider using typescript

>>60738767
get undressed and watch your clothes

captcha: Extra CALLE
>>
>>60738729

classname -> className
>>
>>60738850
im ab9ut to go to bed i have a headache and every programming thread on gee is boring as fugg so yea im gonna get undressed and throw my clothes in the wash, also shower, and make a hot water bottle, its cold tonight, any twinks want to snuggle in bed>?
>>
Anyone looking to learn React and get an environment up and running quickly and simply, this guide is great. https://medium.com/@diamondgfx/learning-react-with-create-react-app-part-1-a12e1833fdc

On part 2 and I have literally mastered ReactJS.
>>
>>60739200
What was your knowledge of JS beforehand?
>>
File: 1473993603216.png (469KB, 528x626px) Image search: [Google]
1473993603216.png
469KB, 528x626px
>>60739218
Pretty basic. I've been in FE for a couple years, but rarely actually use JS to do anything beyond the most basic stuff. It's actually pretty exciting. It's all making sense. There's a nice pattern to the logic, everything slots into place.

Like, I really would like to move from my current job to a ReactJS job. I'll actually be able to create nice solutions and systems and fucking do something, rather than deal with XYZ module doesn't work, or struggle for hours trying to get some template to output in Magento.
>>
Embedding PHP code in HTML - okay or bad?
>>
>>60739450
never mix code and markup.
>>
>>60739464
except when you're using React or working on the PHP part of facebook :^)
https://news.ycombinator.com/item?id=1113832
>>
>>60739552
gross
>>
is it possible to choose all data from a column in an array with a loop like you do with rows?
>>
File: 1292259284692.png (10KB, 326x383px) Image search: [Google]
1292259284692.png
10KB, 326x383px
Does anyone here use & like Django? I've been using it for a pet project for a couple of years, and generally working with the ORM and a number of features has been nice. But man do I hate the configuration process...it seems like there are so many stupid little things that can go wrong. I'm considering jumping ship and porting my project to a new framework. Anyone feel like it's worth the pain to stay with it?
>>
>>60739946
Flask is similar to Django but quite a bit simpler. Give it a go if you want to avoid all that manual setting up.
>>
>>60739886
what do you mean by columns and rows? array is just a sequential collection of items, it doesn't have columns and rows
>>
So what do I do to get a job in web development?
>>
>>60740003
yea I meant all the data in the row
now I take the data with a loop like this array[i].data1, array[i].data2, array[i].data3 etc but I have hundreds of data and I wonder if I can select them all with a loop too
>>
>>60740079
get_good(webdev) || get_good(suck_dick)

your choice
>>
>you must verify your email account before you can send messages in this server
>>
>>60740000
Thanks, I had heard of it but hadn't really given it much of a look.
>>
>>60711471
4chan catalog page looks like and feels like datatables
>>
>>60711471

How would I make a program that does exactly what "edit and resend" does in the Firefox development screen?

I want to be able to make a request exactly like one that I have in the console already
>>
>>60740225
It also lacks some of Django's more advanced features, but chances are you don't really use those so you won't even notice they're not there.

If you're still not happy with that, maybe give Ruby on Rails a shot? I've never tried it, but I hear it's a super-easy scripting language, similar to python, which can be picked up in just a few days. And Rails is supposed to be a kickass dev framework.
>>
File: ss-2017-06-04-17-07-11.png (17KB, 338x265px) Image search: [Google]
ss-2017-06-04-17-07-11.png
17KB, 338x265px
>>60740111
>>
File: 1496191322831.jpg (35KB, 600x600px) Image search: [Google]
1496191322831.jpg
35KB, 600x600px
>you're applying for a position in a web-focused tech company
>they ask for you to solve a programming problem as part of the application
>you figured out the algorithm

How do you present it, /wdg/? They suggest jsfiddle but anything is allowed.
They seem to like docker containers so I was thinking of using that
Maybe compile it into wasm?
>>
>>60740411
take any languages http request class and set its settings that fit your request.
>>
>>60740559
do a Tyrone video of it

https://www.youtube.com/watch?v=4a97RLwbhMM
>>
>>60740539
i dont even know what is that im using plain js
>>
File: ss-2017-06-04-17-27-47.png (18KB, 420x285px) Image search: [Google]
ss-2017-06-04-17-27-47.png
18KB, 420x285px
>>60740743
no problemo

>>60740559
>Maybe compile it into wasm?
are you joking? just use the jsfiddle
>>
Can I just say I am experimenting with MySQL and PHP right now and it is so fucking fun

I have no idea why it took me so long in life to figure out that web development is my bread and butter but it is just so cool
>>
File: chrome_2017-06-04_11-35-53.png (13KB, 477x265px) Image search: [Google]
chrome_2017-06-04_11-35-53.png
13KB, 477x265px
>>60711471
How can I improve this? It's so hard making things look not shit on mobile
>>
Should I fall for the react meme?
Is there a better option?
I'm confused
>>
>>60740934
do some simple stuff with some frameworks and then pick the one you like best.
>>
So I volunteered to help out a friend's sister with her website. It was supposed to be an easy job with some cool technical functionality in the background.

Unfortunately she changed the whole fucking layout 5 times already and I'm having a hard time keeping up.

Also a thing related to that - that really pisses me off - is that she keeps buying shit! Fucking accounts to websites/services, website layouts, bootstrap and wordpress themes... When there is no functionality done yet! Isn't investing real money the last thing you do in any project? How do I get out of this politically?
>>
>>60740961
>she has money to spend
>volunteer to work for free
i hope you get pussy or something out of this
>>
>>60740934
You shouldn't be using javascript at all and should be writing small compact websites with many pages in HTML/CSS.

This is achieve maximum browser support, will be fast to load and not place unnessary burden on your users computers. It'll also look better and be easier to maintain.

Don't fall for millennial code artisans the turn coffee into to code's javascript "framework" memes.
>>
>>60740981
fml
>>
>>60740961
tell her you don't have time anymore to take care of it and wish her good luck.

might also have a look at https://workplace.stackexchange.com/q/1705
>>
>>60741026
>not using javascript at all
>but muh additional functionality to the page
ok, now I'm even more confused
>>60740959
what are other frameworks available? I heard about angular and angular 2, but only those
>>
>>60741062
this. you offered to help and the bitch went crazy.
>>
>>60740934
yes

>>60741026
refreshing the whole page to update a part of it is inefficient and places unnecessary burden on user's computer, internet connection and patience

>>60741086
>what are other frameworks available?
vue
>>
>>60741086
check out the examples at http://todomvc.com/
>>
>>60741119
oh, that is a new page to me
thanks senpai
>>
>>60741062
>>60741092
Thanks dudes - makes sense. I'll talk to him first and I'll see where that goes.
>>
>>60741263
(him being the brother)
>>
>>60741119
>http://todomvc.com/
https://github.com/sindresorhus
https://github.com/passy

check out the github on these two dudes right here. How the fuck do they do it? Coding every single day of the week, fucking hell. Really envious right now.
>>
File: ss-2017-06-04-18-14-10.png (38KB, 384x254px) Image search: [Google]
ss-2017-06-04-18-14-10.png
38KB, 384x254px
>>60741367
>aspiring rebel
what did he mean by this?
>>
>>60741438
read blog
>>
Hello /wdg/, I have a question. Say that I know html + css pretty well (including sass, responsive design, all that stuff, I've even done some little paid jobs, making psd's into webs, modifying wordpress themes, etc), and I want to add javascript (i know the basics) now to begin with programming in general while focusing on web front-end at the moment. Do I need to go through all those frameworks, js versions, task-runners, templating systems, bundlers, and all the node.js stuff, etc.? Or can I just stick with vanilla js and jquery and be solid with it before learning more modern stuff? Feels like its changing a lot and there's too many things for complete newbies, while jquery seems to do the job, even though I keep hearing it's not cool anymore so I don't know if its wasting my time.
>>
All this neet life is making working 8.5 hours a day seem like a lot. What's the average working day in this field?
>>
>>60742078
I typically work from 12pm to 3am every day
>>
>>60742078
depends where you are.
here any office job is 38.5 hours per week or 7:40 per day.
>>
How do you call up a PHP file in an HTML file? I want to refer to an external PHP file so I can use some code from it in my HTML index page, is that possible?
>>
>>60742380
you can load the generated markup or javascript functions with an ajax call.
you cannot load php code into an html file.
>>
>>60742380
the files has to be php, if it is, you can include the code from the other file, otherwise you can't
>>
>>60741986
>Or can I just stick with vanilla js and jquery and be solid with it before learning more modern stuff?
yes, do this. if you add the other stuff then it's too many things at once. also it'll help you understand why the other stuff is useful instead of you using it just because everybody else does.
>>
>>60721023
That is awesome. And eventually what I'm working towards, hopefully.
Any more info or stories you'd like to share?
>>
>>60742722
Thank you, I think I'll do just that.
>>
>>60721023
>bigger services, show them you have some power user

what sort of services are you competing against?
>>
File: 1487554553571.png (6KB, 381x162px) Image search: [Google]
1487554553571.png
6KB, 381x162px
What is 'it' here?
>>
>>60743684
https://www.toptal.com/react/how-react-components-make-ui-testing-easy
>>
>>60743684
semantic name for the testing function
>>
I fucking hate angular.
Just trying to put sortables inside a carousel and the syntax is god awful
>>
>>60742380
Use a <form> tag with the attribute "action=file.php" and include a <submit> element inside that
>>
Noob here. Having an issue. I've set up a messageboard in localhost to become acquainted with PHP and MySQL. Trying to register as a new user but can't. Is it because I'm signed in to phpMyAdmin as root or I am trying it through localhost rather than on an external network?
>>
>>60744233
what do you mean, can't?
what's the error message you get?

do you use localhost in your connection string but the server only listens to 127.0.0.1?
is your root user allowed to connect through localhost and 127.0.0.1?
>>
I'm trying to serve a html handlebars template named main.handlebars to the user through a server.js javascript node.js file I'm using express.

var server = express();

var main = require('./views/layouts/main.handlebars');

server.render('main');

i save the file path location of the handlebars file, and try to render it, but I get this error when i run my server:
C:\users\martin\node_modules\express\lib\application.js:549
if (opts._locals) {
^

TypeError: Cannot read property '_locals' of undefined
at Function.render (C:\users\martin\node_modules\express\lib\application.js:
549:11)


my server.js file is 40 lines long, but this error appears to be referencing the 500th line in the file
>>
>>60744233
So you can't connect to your MySQL database through PHP? Did you fill the connection details correctly?
>>
what should i make
>>
File: trump.png (20KB, 62x83px) Image search: [Google]
trump.png
20KB, 62x83px
>>60744343
Make some money.
>>
>>60744420
thanks
>>
>>60742380

No, you don't "use some code" from PHP in an HTML file. PHP controls the HTML, not the other way around.

Just google a "hello world" tutorial for PHP.


>>60743684

Domain specific language of some sort of testing framework. Basically an elaborated assertion.

>>60744233

>Trying to register as a new user but can't.

Ah I see..

It's because of the 23rd line in your login procedure. You didn't convert into UTF8, therefore your password is interpreted as ASCII and is different as the passwort in your data base.

A common beginner mistake.
>>
File: privileges.png (18KB, 597x163px) Image search: [Google]
privileges.png
18KB, 597x163px
>>60744254
The error message is irrelevant on my site (since I wrote it) and the sql code is fine in the PHP itself but phpMyAdmin states something interesting in the user accounts section:

>A user account allowing any user from localhost to connect is present. This will prevent other users from connecting if the host part of their account allows a connection from any (%) host.

So I am assuming that, as the site is hosted through localhost, it may not allow user registrations (thereby amendments to the 'users' SQL table). I have four users in phpMyAdmin set up (as shown in screenshot) with the displayed privileges.

I'm new to all of this so forgive me if I have made a silly error in judgement.

>>60744333
Started with PHP and MySQL just this morning lol. Wrapping my mind around it all. I get the feeling it is something silly but I have provided all the info I think is necessary for you guys to help me out.

>>60744475
You're joking with me aren't you
>>
Right now I've got a function
server.get('/', function(req, res, next){
res.render('./layouts/main.handlebars');
});
when I run the server and go to http://localhost:3000/ , I can see the html is loaded when I access element, but the page doesn't display the tweeter html without any styling.
I do get two errors in console;
index.js:151 Uncaught TypeError: Cannot read property 'addEventListener' of null
at index.js:151
Am I forgetting a command to display the html file once its loaded?
>>
>>60744605 here, just to add that 'visitor' is intended to be every user of the website.
>>
I DELCARE A MEMEJIHAD ON BRTI IF HE DOESN'T UNBAN FROM THE /WDG/ SERVER.
>>
>>60744755
I want children to leave
>>
Should I use
http://sparkjava.com
Or Go?

Also what should I use instead of jquery?
>>
>>60745152
>what should I use instead of jquery
https://cheerio.js.org/
>>
>>60745152
depends on what you needed jQuery for so far.
>>
What are some real world example of ReactJS? When I Google it, the only thing of any relevance is a page of user submitted demo things.

I'm looking for actual websites that use ReactJS.
>>
File: db-share-20141.png (10KB, 835x352px) Image search: [Google]
db-share-20141.png
10KB, 835x352px
Given that MySQL and MariaDB have over 75% of the market share, are there any arguments not to learn those 2 as my main database solution (neet here trying to make the leap to un-neetdom)?

Are there any major downsides to these 2 db's?
>>
>>60745442
it was written by facebook devs for instagram
>>
>>60745671
>Are there any major downsides to these 2 db's?
you won't be able to boast to people on /g/ about your awesome meme stack
>>
>>60745442
facebook.com has 30 000 react components
>>
>>60745713
I mean, I do intend on taking up some of the NoSQL db's and Hadoop and weird stuff like that because it sounds fun, but as far as vanilla-SQL goes, MySQL and MariaDB seem to be the best options, right?
>>
File: 1496600915304.jpg (51KB, 500x524px) Image search: [Google]
1496600915304.jpg
51KB, 500x524px
>>60745780
I don't really know if they are the "best".
MySQL especially has a huge advantage, just due to it's extreme popularity obviously and makes for a well marketable skill.

Last time I asked here, I was recommended PostgreSQL for general DB use.

I actually know nothing about DBs btw.
only ones I ever used were sqlite and Mongo, but that was just, because they were the first available choices, not because I made a thoughtful decision.
>>
>>60745841
>MySQL especially has a huge advantage, just due to it's extreme popularity obviously and makes for a well marketable skill.

This is their main attraction to me right now, because I'm looking to get a job soon. But I wanted to know if there were any big technical disadvantages that would make me maybe reconsider. I guess it's a question for more experienced users, of which there aren't many here on /wdg/.

How is Mongo btw? easy to use?
>>
>>60745962
should be easy enough, when you use mongoose.
No idea how it compares to the others though
>>
>>60745671
https://db-engines.com/en/ranking_trend
>>
>>60747027
So I assume that enterprise is still oracle dominated field?
>>
>>60745671
Mariadb is basically Mysql with some improvements. Another popular one is Postgresql. But there isn't really that much difference for user - SQL and structuring database is mostly same for all SQL databases.
>>
>>60745962
Nosql itself is generally bad idea for most databases.
>>
is there any option in phpstorm to format my code
I need to edit some retarded code where is new line for { used after if, for etc, my eyes hurts when i see that, pls help
>>
>>60747719
Yes.
>>
>>60747698
>>
>>60736936
>just use css grid (or flexbox)
>>
>>60748396
wait :^)
>>
>>60731960
Hmm, I actually don't use any CSS frameworks at all. I've been getting along fine building high-quality sites using just flexbox and the rest of the CSS rules. Use `vh` and `vw`, those are very helpful for more complex layouts that need to look good on any platform
>>
>>60744651
It would be easier to help you if you posted the entire project dir on github or something. That function you posted might not be the source of the issue,
>>
>>60711471
>https://www.digitalocean.com/
bump
bless you anon
>>
>>60749526
It's been like 10 hours and it finally works.
REee and such.
>>
Is there anything wrong with this testing philosophy? If the code can be broken into a module then do that and write unit tests, but if it's just a helper function then forgo unit tests and write end-to-end tests using a headless browser? Seems like a clean and easy way to get good coverage without going overboard.
>>
>>60751782
End-to-end testing is usually expensive -use it to test general working and use unit tests on module to test scenarios.
>>
>>60742078
Depends what you're doing. Own my own business so some weeks I work 4 -6 hours a day while other weeks I do the trump thing and use the phone once I wake up til I sleep.
>>
>>60747719
why are u using phpstorm

are you a faggot?
>>
>>60753716
What else should he use?
>>
>>60753750
Microsoft notepad
>>
>>60739268
Would you learn Flux or Redux for React?
>>
File: 587b4cf144060909aa603a5c.png (2MB, 1860x2190px) Image search: [Google]
587b4cf144060909aa603a5c.png
2MB, 1860x2190px
Tab or spaces /wdg/?
>>
>he uses Roboto
>>
>>60713737
>Q stands for Questioning not Queer
Huh
>>
>>60754013
tabs
>>
>>60754013
2 spaces
>>
>>60754486
I'm a noob and it has been mentioned that tabs are bad practice but the key is there for a reason so...why exactly do people not like those who use tab to indent in web coding?
>>
File: mern-social-banner[1].png (9KB, 800x430px) Image search: [Google]
mern-social-banner[1].png
9KB, 800x430px
So I'm getting started with back end. Someone recommended the MERN stack. What do you guys think?

Also what should I work on? I know the basics of C++ and Java and know basic CSS and HTML so I'm not completely new.
>>
>>60711471
>Get a good understanding of HTML, CSS and JavaScript.
this does not apply for backend devs
>>
>>60753750
>visual studio code
>sublime text
>atom

get with the times. you are a modern developer right
>>
>>60754933
Those who complain about tabs are those idiots who use broken compiler that couldn't handle tabs as whitespace. VERY fucking old idiots, do broken compiler like that even exist nowdays ?!

Tabs are better because they can expand to whatever width the editor is set to, so everyone can be happy using their custom tab width.

But ultimately one should edit a file using the same whitespace style it has, for consistency.

Best approach is tab for indents and space for alignment.

Beware, mixing space/tab indents is the work of the devil and will trigger everyone.
>>
new thread already here

>>60755444
Thread posts: 320
Thread images: 50


[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.