[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: 312
Thread images: 45

File: wdg_1.jpg (132KB, 1280x720px) Image search: [Google]
wdg_1.jpg
132KB, 1280x720px
goding with /g/

>old thread
>>60948480

>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/getify/You-Dont-Know-JS
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 resources
https://developer.mozilla.org/en-US/docs/Web - General documentation for HTML, CSS & JavaScript
https://libraries.io/ - Discover and keep track of open source libraries, modules and frameworks
https://stackoverflow.com/ - Developers asking questions and helping each other
http://www.programmableweb.com/ - List of public APIs
https://caniuse.com/ - Check browser support for front-end web technologies

>Useful Youtube channels
https://www.youtube.com/derekbanas
https://www.youtube.com/learncodeacademy - codecademy
https://www.youtube.com/channel/UCO1cgjhGzsSYb1rsB4bFe4Q - funfunfunction
https://www.youtube.com/user/TechGuyWeb - Traversy Media
https://www.youtube.com/channel/UC8butISFwT-Wl7EV0hUK0BQ - freeCodeCamp
https://www.youtube.com/user/shiffman - 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/

an in-depth comparison of hosts
https://www.webstack.de/blog/e/cloud-hosting-provider-comparison-2017/
>>
File: 1493407252042.jpg (1MB, 3888x2592px) Image search: [Google]
1493407252042.jpg
1MB, 3888x2592px
why the pic changed? web dev is more than just some front end babby bootstrap work, please change to this pic. Thanks you.
>>
too noisy and bright :^)

anyway, no harm in having more than one OP pic
>>
>>60976794
>obfuscated js
nah
>>
>>60976939
Lol, that's just minified js. You haven't even seen obfuscated js.
>>
woud SSD disk improve node development? I'm making a complex node + express app and it takes forever to reload it with nodemon..
>>
>>60976994
oh god you're right and so smart
>>
>>60977003
>express
theres your problem
>>
>>60977037
yeah, I'm not changing that.. the app is almost ready and I need to cash in lol

also, I'm pretty sure express has nothing to do with it. I use dozens of complex node modules
>>
File: 1496687544036.png (663KB, 1200x776px) Image search: [Google]
1496687544036.png
663KB, 1200x776px
>he doesn't use node.js
>>
How long until Angular 1.x is dead in the industry?
>>
>>60977061
>modules
>frameworks
>node.js
>wonders why its slow
kek
>>60977095
>he doesnt use kore.io
>>
>>60977129

anything angular is already dead

that meme came and gone real quick
>>
>>60977135
its not slow, the reloading of the application in develpoment is slow (by slow i mean 5-6 seconds, which eats lots of my time waiting for the shit to reload)
>>
What's a good front-end related project to contribute to?
>>
File: halp.png (107KB, 1891x1031px) Image search: [Google]
halp.png
107KB, 1891x1031px
>>60976759
So I'm pretty new to node, and I got my server to serve the html form, but now I want to take my form data and log it to the console when I click send, but nothing happens. Sorry if my code is sloppy and nonsensical, I'm basically working off of various online tutorials/examples trying to get this to work.
>>
>>60977003
I don't think it will improve it enough to justify buying an ssd just for that. Your bottleneck probably isn't disk based but rather something to do with v8.
>>
>>60977242
the code is running on the server so it won't log to browser's console. run node from the command line (vs code's integrated terminal should work on windows afaik) and you'll be able to see the messages there
>>
>>60977285
It doesn't show up in the command line either unfortunately.
>>
>>60977145
I'm reading forum posts from 2013/14 on various tech sites about how Angular "won" and how all the programmers who use it were acting so smug towards programmers who would criticize it or use older library/frameworks, saying that those programmers didn't "understand" higher level concepts and patterns needed for developing "advanced" web applications that Angular manages "so well". Fast forward a few years, now Google is completely rewriting Angular and breaking compatibility which is an admission that Angular hadn't "won" anything and was shit all along, and was thrown to the framework graveyard in which all JS frameworks quickly find themselves. Those smug developers now look like retards, and their work will be thrown out and rewritten in something else. I wonder how long Angular 2 will last; it would be a miracle if more than 4 years.
>>
>>60977242
>>60977285
you could also run node --inspect and click this button on google chrome (pic related)
>>
>>60977348
... it give such an inspector
>>
>>60977342
I'm interviewing tomorrow for a job that'll be using Angular2(4 or w/e its called). I've used 1.~ in the past, but React ever since then. I really dont want to go back to angular from react :(
>>
i wanna step my game up desu

how2become a better front end dev?
>>
>>60977242
your code should look closer to something like this anon. you don't need fs or http modules if you're using express.

https://pastebin.com/Ct7QMf17
>>
>>60977095
Went use node when there are so many so much superior alternatives?
>>
File: 1485595446018.jpg (141KB, 735x670px) Image search: [Google]
1485595446018.jpg
141KB, 735x670px
>>60977095
>he uses server-side javascript
>>
>tfw 24 years old and just getting started in web development
>tfw you see people your age already having incredible portfolios and resumes to die for
Eh, better to start today than 10 years from now
>>
>>60977542
It's a low barrier to entry and any retard can do it. You'll be fine.
>>
File: 1496771589964.png (2MB, 1400x2100px) Image search: [Google]
1496771589964.png
2MB, 1400x2100px
>>60977542

become full stack or die trying
>>
Does anybody work with compile-to-js languages? (clojurescript, purescript, elm)
>>
File: flat,1000x1000,075,f.u1.jpg (139KB, 1000x1000px) Image search: [Google]
flat,1000x1000,075,f.u1.jpg
139KB, 1000x1000px
>>60977419
Ayy I it works! Thanks man! Also, I see why people like express so much, saves you a shitload of hassle.
>>
what's the best way to run both Python 3 and 2.7 on my computer? I use Python 3 almost exclusively, but there's a few programs I want to try out that still haven't been ported. I don't want to be continuously changing the PATH variable. I'm using Windows + UBuntu btw. Is there an easy way to have both python versions in Ubuntu?
>>
File: 1497889914819.gif (178KB, 600x441px) Image search: [Google]
1497889914819.gif
178KB, 600x441px
Hey anons, I'm trying to do a visualization with React and what I'd like to add is that when you hover over the bar in the charts the bar will change color and at the same time a table highlights the specific row / column related to the data that the bar is using.

For visualization I'm using Victory, and it has shared events like gif related that allow you to do something similar, I'd like to do the same but instead of highlighting the pie chart, highlight the data on the table.

>http://formidable.com/open-source/victory/docs/victory-shared-events

If you have any ideas / links / tutorials or anything similar it is going to be greatly appreciate it, at this moment I've been doing some research and nothing shows up, I don't even know what to Google any more.
>>
Best way to scrap some website highly bloated with JS and Angular? Requires login.

Node or Python? And which libraries?
>>
>>60978067
If it's props, just pass a function to each children that sets the color of the data, and you trigger it when you hover each bar component.
>>
I love you guys for all the support you give and discussion on webdev you create, especially for someone with no friends like myself
>>
File: happiness.gif (6KB, 200x200px) Image search: [Google]
happiness.gif
6KB, 200x200px
>>60978496
>>
>>60977938
don't they have 2 different commands?
like one is python and the other is python2 or something?
>>
How do can you handle tables well at high zoom, and/or low horizontal width? All I know is that i can either squish the columns so the table fits inside the viewport (with almost vertical text), or I keep it at a fixed size and have to scroll horizontally.
Is there a magic one-size-fits-all solution I've missed?
>>
>>60977938
$ python
is python 2.7
$ python3
is python 3.5.2
on my ubuntu.
Check with python -V
>>
>>60978402
Use selenium & co. it has binds for both languages
>>
File: 1497116546474.png (55KB, 217x190px) Image search: [Google]
1497116546474.png
55KB, 217x190px
>upgrade webpack to 3.0
>JS bundle file size went down 21%
>>
>>60978700
Is there something that doesn't start a browser?
>>
>>60978402
All I know of is selenium for python. It's not really fun to work with though.
>>
File: reallifepepe.webm (1MB, 320x320px) Image search: [Google]
reallifepepe.webm
1MB, 320x320px
>tfw semisuck at object oriented JS
>>
>>60978710
nice

>>60978721
no, browser is a thing that makes you able to render html and execute javascript which is exactly what you're trying to do. you can run chrome in headless mode though
https://intoli.com/blog/running-selenium-with-headless-chrome/
>>
Gaise, how do i into unit testing js
>>
File: 2017-05-20-164636_879x696_scrot.png (165KB, 959x776px) Image search: [Google]
2017-05-20-164636_879x696_scrot.png
165KB, 959x776px
>>60979162
just like get jest https://facebook.github.io/jest/docs/en/getting-started.html
>>
C++ dev here. Been looking into web assembly recently. Tempting to just write C++ and compile to wasm. Is it even mature and ready to replace js? Or are there just too many frameworks written in js already that it will be just another dead standard?
>>
>>60979567
>Is it even mature and ready to replace js?
no
>Or are there just too many frameworks written in js already that it will be just another dead standard?
no
>>
So if i want to build mvc app with php
for example crud
Where should functions for create/read/update/delete be?
Which files should i have?
Should i put functions in Model? or use model to just call those functions
View for frontend
Controller? Contoller is to see if im trying to for example delete/update..?
Am i getting this rite?
>>
>>60979624
Then is there a future for it in the long run or am I better off learning js that is kind of pig disgusting?
>>
>>60979732
there is, but not very soon. you're better of learning typescript for now
>>
>>60979732
JS is fine. It's CSS and the DOM which are sources of frustration.
>>
any sane replacement for Express.js in 2017?

Has anyone tried koa2? is it mature enough?
>>
>>60979782
>>60979807
ok thanks
>>
>>60979840

y u no like express.js?
>>
Good plugins for VS Code for HTML, CSS and JS?
>>
>>60980181
>Auto Close Tag
>Beautify
>ESLint
>Path Intellisense
>>
is namecheap legit? can i make my domain point to any of my websites like a github pages site or a site on some other web host? it's only when transferring the domain to a different domain service that extra fees are involved right?
>>
>>60980336
that's pretty much the deal with any registrar.
I think you never have fees for transferring a domain away, you are just forced to add 1 year to the domain if i remember correctly.
>>
>>60977003
That's strange. Does your app connect to a remote db instance or hit up really slow APIs synchronously?
>>
I have an interview for a job at a small software shop that uses the microsoft stack. Is web development in C#/ASP.NET + SQL Studio that bad? Currently I only have professional webdev experience with Go/Vue.js/Mongo and some Python. What books can I pick up to learn webdev shit using the MS stack?
>>
>>60980336
Also you can't set it to auto-renew iirc

And Facebook is sometimes very suspicious of some of those TLDs (.tk, .ml, etc). When I set up a site on one of them and sent it to some friends over facebook messenger, they made me solve a captcha
>>
>>60980550
>Is web development in C#/ASP.NET + SQL Studio that bad?
you'll be forced to use winblows, so it's pretty bad.
>What books can I pick up to learn webdev shit using the MS stack?
http://gen.lib.rus.ec/search.php?req=Professional+ASP.NET+MVC+5
>>
>>60980757
luckily I can moonlight and do other shit in my free time on linux and in other languages.

At least it's a salaried job with benefits, and they don't force you to work 80 hours a week. If using windows is a trade off, I'm ok with that.
>>
>>60980336
Apparently it's in Let's encrypt blacklist.
>>
>>60980550
It's pretty nice. C# is very good language, Visual Studio is very good IDE, MSSQL is good. On cons non - windows support is weak and you will be using IIS.
>>
Anyone here using Perl? What's your setup like? Do you get code completion/hinting in your editor/IDE? How do you do it?
>>
Is webrtc for peer to peer video still good or has something better came along?
>>
>>60978710
>upgraded to webpack 3.0
>same file size
Fucking liar
>>
File: hecooking.jpg (47KB, 631x833px) Image search: [Google]
hecooking.jpg
47KB, 631x833px
>>60979077
Luckily you only have to be semigood to get anything done.
>>
>>60981128
I don't think there are any other options for peer to peer communication in the browser.
>>
So do you guys use Upwork at all? I'm looking to get started with freelancing but just need some examples of work under my belt first before I dive into Upwork...
>>
File: william3.jpg (221KB, 560x510px) Image search: [Google]
william3.jpg
221KB, 560x510px
>>60976759
>Checking out entry level jobs on indeed
>Almost none of them are actually entry level

Wtf?
>>
how do I get started with elm?
is it even worth it?
>>
how can I override an id with class in css? im applying an effect on a class but i wont work it only works with id, even though I dont even have any code on that id
>>
>>60984456
Post code and result, or a simplified example.
>>
File: wink.jpg (23KB, 349x356px) Image search: [Google]
wink.jpg
23KB, 349x356px
>>60977724
more like
become full stack or die hiring
amirite
>>
>>60980942
this only applies if you use namecheap as a web host though right? if you only use them as a registrar you can use a different web host with let's encrypt?
>>
How do I into design? I have no problem learning new code shit, but for the life of me I can't design.
>>
I need help to start making dosh in e-commerce.

I want to build a site that sells tickets, meaning users can spend money through some payment processor, set a few options about their seat, and are then served a generated final ticket on request.

I did free code camp's front end challenges, and I have a pile of Python which can make tickets, so I'm good on html, CSS, and js, but I have never done backend stuff so I have no clue how to:

>set up payment processing
>connect my python ticket code to users
>set up an account system so people can get back to all the above

How do I go forward, anons? Are there any good resources on actually shipping a website like this?
>
>>
>>60986149

You'll need to redo your work from Python, it's not usable on the web. Instead, download Sql and write your code in it. Sorry, anon
>>
>>60976759
Why is JavaScript such a meme that people use it for back end? What is the advantage over using Java, PHP or C#?

Why is there so many meme library's for JS, over the last 4 years I've seen dozens come and go its ridiculous.

I'n Australia job advertisers actually expect you to learn JS meme library's but what is the point if they will be a dinosaur in 2 years time.

C# is comfy programming language, Not being xamarin forms master race.
>>
>>60980546
Does your app connect to a remote db instance or hit up really slow APIs synchronously?

no, I use local db.. but as I said, its not that slow (5,6) seconds. But it is slow enogh to annoy me
>>
>>60985988
subcontract to a designer
>>
>>60984456

Say you want to override an id called "#id-example" with a class ".class-example". You do it by writing it in css like this:

#id-example.class-example { your code }

It all comes down to css specificity. You can read about it on:

https://developer.mozilla.org/en/docs/Web/CSS/Specificity
>>
Any web designer that works in Ubuntu? How good runs Photoshop in wine? Would you recommend Kirta instead (I hate Gimp). Also any good alternative to Illustrator?
>>
>>60986816
>Any web designer that works in Ubuntu?
sounds like an oxymoron
>>
>>60986468
it's cozy only having to be really good at one language and still have the ability to do everything on your own, no context switching. the idea of code reuse IS a meme, in practice that happens rarely unless you're doing something stupid. it's also an easy language to get really good at and grasp despite what it's critics may tell you. I say that it has so many critics because its easy to understand therefore it's easy to criticize. it has it's shortcomings and gotchas for sure but in real life use those rarely are a problem. if you're using javascript to control life support machines or rockets then yeah, you're going to run into problems, but that's not javascripts fault and I also doubt that people do that...yet.
>>
>>60986926
Well I actually only prefer it for the terminal honestly, but if photoshop worked well on linux I'd definitively switch forever.
>>
>>60986149
You need something like Django for back-end python. And you'll need and SQL server like PostgreSQL or MySQL. You can access the SQL server with SQLAlchemy library. I've done some python but not web back-end so I don't know the details.

Don't listen to this autist >>60986246
>>
>>60986816
me. you can probably maybe get photoshop and illustrator to work with wine but you'd be better off maxing your ram and running xp and whatever newest versions run in xp in a vm. but anon just get over whatever inhibitions you have and use gimp and illustrator. i used to love photoshop and especially illustrator and have lost all interest to use either ever again.
>>
AHAHAHAH FAGGOTS
>>
>>60987068
I'm using hackintosh myself, but you can get terminal emulators on windows.. they work very well, but I cant get used to using windows
>>
File: the weak should fear the strong.jpg (928KB, 1200x800px) Image search: [Google]
the weak should fear the strong.jpg
928KB, 1200x800px
is electron gud?
>>
>>60987320
depends on what you're building and your execution. if you're considering it then it's probably your best option.
>>
>>60987340
its glorified wrapper around the web api so i heard electron was a good fit
>>
File: Untitled.png (4KB, 545x222px) Image search: [Google]
Untitled.png
4KB, 545x222px
This is how you do pagination, right? Or am I supposed to generate the pages in PHP?
>>
What's a good way to manage your data w/ React?

Right now I'm using firebase...
>>
>>60987450
Through the props, from the backend. React code should be predominantly UI and your main task should be presenting the data instead of managing the data.
>>
>>60987256
what's a good alternative to illustrator?
>>
File: wew.png (16KB, 1792x1664px) Image search: [Google]
wew.png
16KB, 1792x1664px
>>60986468
>more senseless JS hate
JS is perfectly fine to use on the server.

Lots of frameworks constantly appear, because anyone can make one and post it to leddit, HN or wherever. Who cares unless they get wide range adoption, in which case they probably bring something useful to the table, that's worth looking into.
With the big 3 (Angular,React,Vue), things have settled down a bit for the frontend and you can't tell me, that backend sees even remotely as much turbulence.

>learn JS meme library's but what is the point if they will be a dinosaur in 2 years time.
Ignore developments and changing trends with Node and you will be that "but muh C#" dinosaur.
>>
>>60986816
Can Kirta export to HTML?
>>
>>60988112
Krita?
What exactly is it, that you want to export?
>>
>>60988182
>Krita?
https://krita.org/en/
>that you want to export?
Photoshop can export to HTML. I've never done it my self but at my previous job we were getting a psd from a client then send it to a subcontractor and they would produce the HTML. They would basically fix the psd so it produces good HTML and add some jquery plugins. And we would make back-end and do some small fixes after the subcontractor.
>>
>>60988269
just making sure, since you wrote Kirta

No image editor exports anything directly to HTML.
Never done PSD to HTML, but from what I know you take the image file and then manually recreate it in your code editor.
It's more CSS work, than HTML.
>>
>>60988112
I don't know, I've never used Photoshop to do that, it's good for people that doesn't know HTML+CSS I guess but it's really messy.
>>
File: 1496812423856.png (260KB, 620x640px) Image search: [Google]
1496812423856.png
260KB, 620x640px
>>60988269
really?
are you sure they weren't just making the html look as much as possible like the photoshop version?
>>
>>60988378
>just making sure, since you wrote Kirta
i has diskleksia
>No image editor exports anything directly to HTML.
Photoshop can do that. But the psd should be well made. Things should be organized into layers and such. The output is not perfect, it set all positions to absolute and it's not suitable for responsive design. But the CSS comes out with all browsers' prefixes which is nice. AFIAK it is pretty standard in the industry to hire a designer to design a website in PS and then export it to HTML and fix what's left to fix manually.
>>
Having a hard time here ...

Can anyone give me some primers on managing data with React?

What I want:
A simple app where user can upload a book, with data (such as descriptions, tags) and an image cover.

I'm having difficulties figuring out how to manage the text and image data. What to use, where to host it, etc.


Any help greatly appreciated.
>>
>>60988453
>really?
>are you sure they weren't just making the html look as much as possible like the photoshop version?
Nah. There was a time when we sent them a really fucked up psd. The designer was a retard, he put almost every element in a different layer. So the subcontractor charged like 3 times the usual rate. So I started to investigate that. I found the export tools in the PS. So most of the work the subcontractor was usually doing is light fixing the psd and adding jquery plugins.
>>
>>60988453
Ah, I forgot to mention and you need a full version of PS to export HTML not the PS elements.
>>
>>60988518
That's not really specific to React.

You need to set up a backend on some server with an API, that your client can access.
Cheapest and easiest would be to run it on your own PC while you are developing and then maybe move it to a VPS somehwere, ince you are done.
>>
File: vKDXo.jpg (49KB, 331x331px) Image search: [Google]
vKDXo.jpg
49KB, 331x331px
I made a website.

http://lewdsfm.xyz/

Please berate me.
>>
>>60981128
>>60981973
The only two options are flash, webrtc, or rtmp server.

Webrtc is still the best
>>
>>60989228
everything ok with you anon?

anyway, what do you intend to use for managing content?
Preview image should be compressed. Imagine you have ~10 of that one one page.
If you use jQuery just for the selectors, you can just as easily do that with vanilla JS
>>
>>60986468
>Why is JavaScript such a meme that people use it for back end? What is the advantage over using Java, PHP or C#?
There is no real advantage other than with something like node you can quickly set up a server and testing. It also helps keep everything contained instead of struggling with making the front work with the back.

>Why is there so many meme library's for JS, over the last 4 years I've seen dozens come and go its ridiculous
Because it's easy for people to make JS libs. Just do your research, anything outside of React, Vue, Angular, and Node is probably unnecessary garbage.

>C# is comfy programming language, Not being xamarin forms master race.
Then why even complain about JS if you've found something you like?
>>
>>60989228
you cock craving futa perv.
>>
>>60987646
many people on mac send me files in this shit... pic related.

I just use it to extract the assets, don't know anything about the tool
>>
File: 1474591512974.jpg (35KB, 668x457px) Image search: [Google]
1474591512974.jpg
35KB, 668x457px
>>60976759
>Know HTML/CSS/vanillaJS/jQuery/bootstrap/node/working with APIs

How likely am I to find work as long as my portfolio demonstrates these skills?
>>
>>60989816
you must also know angular, react, browserify, codify, pooify libraries, and do all your backend in wordpress also, because clients find normal backends too difficult
>>
>>60986489
That's not going to work if I want to end up doing freelance work.
>>
>>60989926
thats what most freelance webdevs do
>>
>>60987646
Inkscape is alright.
>>
>>60989866
I guess if you work as freelance for that kind of clients they won't care if you know all those libraries.
>>
>>60990042
>implying there are smart clients
you innocent soul
>>
What text editor do you use? I like atom because it looks good and the package/theme management it's pretty comfy, but it's slow as fuck. I wish it was as fast as sublime text.
>>
>>60990155
vscode
>>
>>60990346

i like vscode a lot too its like a better version of sublime
>>
>>60980336
Redirecting to another page is super easy with Namecheap. It's right under where you choose nameservers.
>>
>>60990398
i ended up registering a domain through namecheap and i'm just parking it for now but yeah it looks easy enough. i'm new to this so i just wasn't sure how it worked.
>>
If I set up a server on localhost it can only be accessed when my laptop is connected to my network at home, right? If I go out to a coffee shop somewhere I'm not going to be taking the server with me right /wdg/?
>>
>>60989816
Fairly good if you actually know all this and didn't just go through some tutorial.
>>
>clone a starter pack to start working with a new framework
>starter pack has 80+ dependencies, most of them unused
>lot of completely useless dependencies for inane stuff like adding a pretty console spinner or console messages with pretty colors
>webpack configuration split over 10+ files in 2 different directories
I know I shouldn't go near starter packs but I fall for it every time
And every time I get pissed off to no end
>>
>>60990577
I do, though I will admit my weak points are not using jQuery that much (don't really like it) and I'm a novice with node.
>>
>>60990346
>>60990381
Damn, I've just tried it... I think I'm gonna do the switch from atom to vscode.
>>
File: maxresdefaultvdssav.jpg (200KB, 1600x900px) Image search: [Google]
maxresdefaultvdssav.jpg
200KB, 1600x900px
Anyone using VScode?
what is the most comfortable way with dealing with sass -> css compilation
so far I have learned
node-sass style.scss style.css
but there must be a better, preferably automatic shit
please help
>>
>>60985198
Must be, I've used namecheap and had no issues with LE.
>>
>>60979077
that's ok, it's the worst kind of js
>>
Node devs:
Played around with Node years ago to develop some DDoS / spamming / sysadmin scripts so I know a little but now I wanna do some freelancing.

1) Where do you guys get your Node jobs?

2) What web frameworks and web application development tools you recommend?

3) What are some tools that would make development faster for me?

Thank you!
>>
>>60990611
if you run node-sass with --watch flag it should recompile whenever you modify your input file
>>
Need some help here with Js.

let's say I have an input file field with a bunch of text fields and I want to select a file, click a button(dunno "Save Button"), save all text input values AND file input value on an object array reset all input fields to let user redo all steps again saving another object on array. Afterwards I want to send this array of objects to my server(something like, submit to "handle/uploads/"), uploading all files clicking on a button "Send".


tl;dr How can I save on a js variable a bunch of files selected on one file input(need to select>save>reset>select another one) and submit to the server handler?
>>
>>60976759
Is there a way to perform GPU calculations using Javascript and a modern browser?
I've read there is some discussion, but I don't know if in the Year of Our Lord 2017 it's safe to count with that possibility.

In particular I want to use GPU to evaluate the same function in thousands of points where the web browser using CPU and Javascript would take a couple of minutes.
>>
File: mercy_noose.jpg (122KB, 457x459px) Image search: [Google]
mercy_noose.jpg
122KB, 457x459px
>tfw spend most of my time working on illegal/gray area app for piracy that I can't really ever put in my portfolio

I'm almost done with the latest update but things keep breaking
>>
>>60990589
every shitty snowflake project thinks it needs to include a 100file scaffold template, that you have to init from the command line.
I hate it. Just put the module up and write how it can be integrated in existing projects.
Your retarded library isn't that special, that it deserves to be the main underlying structure of whatever I am working on ffs.

>>60990564
depends on which address your server is listening on.
if it's listening on the IP, that it got assigned from the router and the router is configured to forward (lets say port 80 for http) to that device on your network, then you can access it from anywhere by going to http://[insert_your_home_IP]

>>60990611
webpack with sass-loader, if you want to automate it
>>
>>60991159
well there is WebGL, so there is certainly a way to use the GPU.
Just found this, and bet there are probably similar things
http://gpu.rocks/

>it's amazing what you can do now
https://moments.epic.net/#
>>
im very very new, i found a nice addon and want to tweak it a bit but syntax error

aTab is undefined


https://pastebin.com/Eig1vKwP
https://pastebin.com/raw/Eig1vKwP

please help
>>
what am I doing wrong? arguments to readAsText() is not an object. This is my first js function and i feel retarded.
function kanjiSearch(f){
var s = new FileReader();
var subs = s.readAsText(arguments[1]);
for(i = 1; i < 5; i++){
console.log(subs.charAt(i));
}
console.log('神\'s character code is:' + '神'.charCodeAt() + '\n');
}
var file = document.getElementById('fileItem').files[0];
kanjiSearch(file);
[/code/
>>
>arguments[1]
shouldn't that be f ?
>>
>>60992055
then it says subs is undefined in the for loop, even though it's scope seems fine
>>
File: nvd-home-100006883.jpg (191KB, 600x600px) Image search: [Google]
nvd-home-100006883.jpg
191KB, 600x600px
>>60976759
I want to make a simple website with retro look, pls give ideas.

Pic very related.
>>
>>60991159
even with javascript that's running in a browser you could almost certainly process thousands of points fast as fuck
>>
>>60990946
Uploading files using client side javascript is serious PITA. You would be better off using normal form submit.
>>
>>60991870
Wild guess: You use the argument f in the function definition but write arguments[1] in readAsText()
>>
>>60992192
but still >>60992124
>>
>>60990769
>2) What web frameworks and web application development tools you recommend?

Immutable.js, React and Webpack.
>>
>>60990769
Not this guy but also interested in seeing some answers.
>>
File: vue.png (4KB, 400x400px) Image search: [Google]
vue.png
4KB, 400x400px
>>60992124
means, that you are now past that error.

also
>This is my first js function and i feel retarded.
that's some advanced stuff for your first JS function

s.readAsText doesn't seem to return anything
you should try s.result according to the MDN
https://developer.mozilla.org/en-US/docs/Web/API/FileReader/result

console.log(s.result.charAt(i));


not sure if that works, but at least it's in the right direction i think

>>60990769
> 2) + 3)
Look at both Vue and React and pick one of them
Look at webpack to automate your build, even if it's a pain to set up in the beginning
>>
pls help me /g/?
I need a RELEVANT topic for my bachelor thesis (50-80 pages, over a 12 weeks period)
I wanna do something about webapplication security (XSS, CSRF, SQL Injection etc.). I suggested something like testing/comparing web frameworks on security aspects but my prof disapproved, as its a worn out topic, not relevant anymore.
What would you suggest to me??? pls halp
atm I'm considering doing something about security stuff in WebAssembly but I wouldnt even know where to start.
>>
>>60978480
Not him but how would you do that? How would you pass the styles as props? Or maybe I didn't understood correctly
>>
>>60992556
You have a component that holds the data, then to change the color, you set a function in that component, and pass it to all children.
>>
>>60992258
>>60992359

Assuming webpack, also use the webpack dev server with hot module reloading (hmr), it's pretty awesome.
>>
>>60992578
Correct, what I don't understand is what is the function that you pass going to do, like it's going to change the styles (if that's possible, I don't know how though)? in other words:

>you set a function in that component

How is that function going to achieve the goal of changing the color of x or y object?
>>
>>60986469
That's very slow
>>
File: 1428724162431.jpg (38KB, 611x405px) Image search: [Google]
1428724162431.jpg
38KB, 611x405px
>>60976759

why does this cause an error?
var rules = document.styleSheets[i].cssRules;
// SecurityError: The operation is insecure.


fuck me
>>
>>60992174
I see. Do you see any other way around it? like, how can I upload multiple files selecting one file at time, saving this info and reseting the field again? before submiting it to server.
>>
>>60992700
If you want to keep styles and components separated, make it switch an string for example, and when you render, switch className based on that string.
>>
>>60977003
>woud SSD disk improve node development?

Yes.
>>
File: 1463225091970.jpg (38KB, 412x424px) Image search: [Google]
1463225091970.jpg
38KB, 412x424px
So I've been enjoying learning about back-end shit and I've been getting pretty deep into node.js which is good since it goes well with learning javascript.

Only thing is I do hope to get a job in the field at some point but don't really see anyone asking for node.js at all. Would it be better to switch to something like php right now or keep going with node.js? I'm assuming it will be really quick to pick up additional in-demand languages with one language reasonably well mastered.
>>
>>60992902
I see, changing className makes sense for changing the CSS Styles. Thanks.
>>
>>60990611
webpack with sass-loader. lightning fast auto-reload
>>
>>60990769
1) contacts. but there are plenty of node jobs out there.
2) use node with typescript (ts-node_. it makes it more solid. just express for routing, pg for database library, and react with typescript on the frontend. vscode is a good editor with these.
3) webpack dev server, vs code intellisense, modinafl
>>
>>60989758
Bootstrap needs jQuery. Since this is just going to be my own thing and it's running on a low-diskspace server I'm not going to use a database or anything.
>>
>>60992359
vue-cli can initialize a vue application with webpack for you, so you can literally just create apps with "vue-cli init webpack <app name>"
>>
Is there any good reason to use anything more advanced than SQLite in my Node backend?
I used JSON files with lowdb to store data during development, but wanted to switch to a "real" DB for the long term now.

How do I pick the right one? All I know is that everyone shitposts like mad, when you mention non-relational like Mongo.
>>
>>60993753
The webpack template has a metric shit ton of dependencies, including Karma, Mocha, Selenium and even Express for good measure
The webpack-simple is a more sane alternative, only has the base dependencies and then you can build on that
>>
>>60994068
>How do I pick the right one?
postgres
>>
>>60980550

Career wise it's a good move. You won't have many friends on the internet because they'll all be using the latest memework.js framework. At least you'll be employed
>>
>>60994186
And what's the advantage you get over sqlite?
I am not into setting up an extra DB server, if it's not worth the effort in the end.
There will never be multiple servers accessing the DB remotely or anything.
>>
Is this general so slow because everyone is working?
>>
>>60991870
Arguments[0]?
>>
What's the best hosting company? I heard bluehost but there are a few redpillers out there whinning that the company is owned by EIG or something like that and apparently that's a bad thing, but every survey I've seen has Bluehost on top.
>>
>>60994671
/g/ isn't that fast of a board anyway and with /wdg/ I think it can vary a lot if you just happen to have 2-3 active posters more
>>
>>60993595
Only if you use a dropdown menu
>>
>>60994637
well I've just been told that it's a "Junior Developer" position that focuses mostly on generating Stored Procedures and RDL files for the moment.

I know almost no SQL. No idea where or how to learn it in the span of a couple weeks.
>>
>>60992848
External stylesheet? Probably cross-origin.
>>
I want to make a gallery but I cannot wrap my head around the structure. Images should be tagged and then users should be able to search by tags. What is the best way to store the images? Hash table of some sort? I am planning on using JS/Node.js
>>
>>60992881
Use several file inputs and add dynamically more?
>>
>>60995564
Learning SQL comes with learning data modeling. You're better off learning how to architecture your database than SQL commands. There are tools out there that automatically make your models SQL tables anyway.
>>
>>60995639
Put file on disk, put metadata with filepath and tags in database, voilá!
>>
>>60995639
how many images?
Depending on that I would decide, whether I let the server or client filter the image list.

Say you have a JSON object for example with keys either being the image ID/hash/etc. and then an array as the value, that lists all the tags of the image.
Or a list of tags and then have them correspond to arrays of image IDs belonging to that tag.
Then you can build a list of results from going through the object once.
>>
How the fuck do you get jobs on Upwork?
>>
how can i grab just the keys of an array of objects?

example:
[{"name": "John", "age": "28"}, {"name": "Bob", "age": "23"}]


Right now I'm just trying to grab the names of the properties. Name, age, etc
>>
>>60996268

its not simple, you have to go through a lot of shit to get approved

get a "real" job then once you git gud start doing side projects on upwork, thats what i did
>>
>>60996351
Try this
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/keys
>>
File: Halp.jpg (38KB, 347x375px) Image search: [Google]
Halp.jpg
38KB, 347x375px
>>60977233
I'll bump this again,
I have learnt CSS, HTML, and DOM, can also kinda get around git/github/bash. But right now I feel like I'm just wandering around without making progress, I lurk in different IRC channels, but have not made any connections. Can somebody pls show me a path?
>>
>>60996416

yeah i tried that but its not working i think because i have an array of objects, not just an array, and not just an object

my code:
 data.forEach(function(x) {
document.getElementById("newTable").insertAdjacentHTML("beforeend", Object.keys(data));
});
>>
>>60996506
You can't explore github for projects until you find one you like?
>>
>>60996506

sounds like youre stuck in just the front end of things, which is dangerous because its not hard, youre less employable, and front end development is flooded with feminists and SJW's.

become full stack or die trying.
>>
>>60996506
I feel like there's probably already a surplus of front-end developers for open source projects.

Best thing to do is probably build up a portfolio of "yet another" <insert website here>
>>
>>60996527
Loop through the array of objects?

https://codepen.io/anon/pen/rwmzZz?editors=0012
>>
>>60996527
>>60996758
Also, what you're doing there is adding the whole data array and not just the single item. I assume Object.keys(data) will give you the whole list of keys from all the objects in that array, and you want the keys from just one object in the array, try Object.keys(x)
>>
>>60996927

i got it, this is what i did

 var columnNames = Object.keys(data[0]);
for (var x = 0; x < columnNames.length; x++)
{
document.getElementById("columnNames").insertAdjacentHTML("beforeend", "<th>" + columnNames[x] + "</th>");
}
>>
>>60997005
for(let key in data[0]){
document.getElementById("columnNames").insertAdjacentHTML("beforeend", "<th>" + key + "</th>");
}
>>
>2017
>Using the DOM at all

Why? Fucking learn Angular/Vue/React already.
>>
>>60996555
will do
>>60996573
I get what you are saying - ofc it's just markup, the low barrier to enter is the reason why I picked front-end in the first place. But I need some kind of job soon, because I feel completely useless and my last job is a while ago. I'm runnig out of benies. fuck.

You are very right about all the faggots. I already blocked shit like medium.

So, you think the Node/React meme is the way to go?
What do I do about the job problem, it starts making me crazy
>>
I want to build an booking system that could be used by a business nothing too fancy just a personal project I'm wondering if anyone has suggestions for frameworks to use or if I should even bother using one? Still deciding what language to use either PHP or python most likely python
>>
>>60996055
Yeah I've never really done anything that requires a large database, or justifies even using SQL. My work uses MongoDB, and we don't use any reporting services or anything.

I guess I could find a project to get some experience quick.
>>
Does anyone know of a guide or tutorial series on how to make these type of animations and transitions? I know you guys don't like overly interactive stuff like this but I really want to know. None of the courses I've seen touches upon this.

http://www.banxico.org.mx/mibanxico/
>>
https://www.autodraw.com/

Can anyone figure out what technology is this editor based on? It has a 22k+ lines js.
All I see is a canvas but what I don't really understand is the kind of element used for the text tool. Inspect element doesn't seem to help, I see no evidence of svg manipulation...
I'm asking because time ago I built a fullscreen mobile-ready in-browser app like that by using snap.svg library, but this one looks way more polished and advanced (aside from the embedded AI).
>>
>>60997005
>>60997255
Don't you want the keys from every object in `data`? Also, your code is pretty trash:

const columnNames = [].concat.apply([], data.map(o => Object.keys(o)));


Or I guess you just want to get the keys from the first object because they're duplicated anyway?

Object.keys(data[0]).forEach(name => uglyDOMStuff(name));


Avoid loop structures, write functional code.
>>
>>60998545
Actually, I just realized the first example can be written as:

const columnNames = [].concat.apply([], data.map(Object.keys));


Which is pretty sweet. Works in chrome, anyway.
>>
>>60997908
It's using a textarea. I assume the handles and shit are drawn directly onto the canvas and the textarea is just laid on top and kept in sync.
>>
>>60992160
Use tablets (or even divs) styling the borders with the same bevel they used to look back then, also add some 3D animated low quality gifs (like those rotating @ that linked to the email adress).
>>
>>60998545

What does the => mean?
>>
>>60999006
https://devdocs.io/javascript/functions/arrow_functions
>>
>>60999006
That's shorthand for anonymous functions.

The thing before it is the parameter. If there are multiple, you enclose them in parentheses. The thing after it is the contents of the function, and you can omit the curly braces for one-liners.
>>
>>60998588
try

const columnNames = [].concat(...data.map(Object.keys));


:^)
>>
How do I make a poll for my website's front page?

I understand how to program and format most of it, but I don't understand how to have my website remember all the votes and to prevent people voting multiple times.
>>
File: MVC.png (11KB, 861x459px) Image search: [Google]
MVC.png
11KB, 861x459px
>>60976994
I dunno, I don't think minified would have spaces like that in between commas and after semicolons.

>>60979669
Pic related is a quick diagram I drew up. Think of the controller as a pipe that directs the data from the View to the Model and vice versa. Since the data you're getting from the View may not be in the format the Model (Database) needs, you have to change it using the Controller. (Create, read, update, delete) The Model is what stores the data for retrieval later. If would would like a slightly more in depth explanation, I'd be more than willing to help out.
>>
File: swagtasticpepe.jpg (34KB, 607x341px) Image search: [Google]
swagtasticpepe.jpg
34KB, 607x341px
>>60976759
>There's just so much to learn
>All these fucking tools
>Multiple ways to do one thing

I should've just stuck with regular programming, at least C/C++ is kind to me. I could of just went full neet while making a game or something.

>I don't actually regret getting into webdev I just wish it wasn't so frustrating.
>>
>>60989926
Of course it will.
>>
>>61000041
Oh yeah, that too.
>>
>>61002301
The first thing you need to learn is that you don't need to learn all this shit. If you're an experienced programmer, then you need to focus on specific infrastructure stuff like HTTP, DOM, etc., and the common abstract wedev paradigms. Everything else like languages and frameworks you pick up as you go. If you're not an experienced programmer, just focus on a JS stack and that's it.
>>
>>60976759
>>60976939
>>60976794
OP image
>linking favicon.ico when every browser automatically pulls it since IE5

fucking pathetic how bad you web devs are
>>
>>60977502
I just started using go instead of php and python
it's pretty much as easy to code but is probably quite a bit faster
>>
From HTML
<div>
Hello {{props.name}}
</div>


From C#:
            var n = new ScriptedPage("main.html", "Norbert");
int it = 0;
n.get = (a,b) => JsonConvert.SerializeObject(new { name = "Travis" + it++ });
new Server(new[] { n });

This is confirmed to work, including hotloading and reloaded props. This is to encourage code kind of like:

{{/* work with props.name or props here*/
"";//do not return anything back into the machine
}}
<div>
Hello {{props.name}}
</div>


I've also got something that does something similar for Vue, but I don't know enough about it and there's too many features for me to feasibly test. Regardless, what's above is about everything anyone seems to want from Vue.

Serverside escaped javascript and props, the only other features are a few basic page features. No components because that's complicated stuff that implies classes and therefore a machine that understands object oriented, which is surprisingly not the v8 engine. If you want classes or components, you must use the untested VuePage or the Facebookâ„¢ approved reactjs framework.

Consider it about the simplest serverside javascript framework out there, yes it responds fast.
>>
>>60976794
> web dev is more than just some front end babby bootstrap work
You're right, web development is complete hell.
>>
>>60987431
Generate the pages in PHP. But seriously consider using Twig for a templating engine and get a handle on Composer to install Twig
>>
>>60979077
>object oriented JS
It fucking sucks anyway. Why force it when you have to use horrible prototype shit
>>
>>60987431
>>61002950
>injecting into javascript with PHP
You're suggesting this?

Doesn't PHP have something like a list data structure or even an array?

BTW do not inject into javascript with even javascript. Keep server side code and client side code at least a little bit separated.

>>61002301
C/C++ is fairly difficult, not many people who've been programming for long really want to develop in it for a reason. In web development, there are many frameworks and most of them are old and even more of them are based off of ancient ideas/hacks that aren't nice to deal with. I'm thinking knockout code which has script in HTML elements.

Find something simple that works for you which can solve most your problems, webdev involves two things.
Client side
Server side

The first is where things are presented, you do not store data here. Show the user what they need to see and make sure each CRUD function is visible, that's create, read, update and delete.

The second is the server side. Here is where you store data that can last for years. It consists of a language of your choosing (C# is nice..) and whatever method you've found to get data from the server to the client.

That last one is where many wonderful and disgusting variations come, PHP runs entirely scripted code before responding to clients, some people render entire pages with javascript frameworks (no problems for browsers) giving web crawler bots script it probably won't run, some people use something like ASP.MVC which involves razor code and that's very hit or miss.

Again, I'm >>61002877 I generally come back and forth when I'm working on web stuff for ideas. That project is based around that idea and those props come from the server, all cached.

>>61003045
What you want is relaxed javascript parsing and lots of features, I used reactjs with typescript and got horrible prototype shit, but if I'm using it at home I can run lots of "dangerous" code.
>>
>>61002790
It's still good practice, and it's necessary if you want to name your favicon anything other than favicon.ico

Also, if you want your favicon to show up when you're accessing a file with file://, you need to explicitly link it.
>>
Injecting into HTML is tricky, ugly, dangerous business. This is usually, about 90% of the time, how badly designed websites were hijacked in the past. A user found the right escape characters and set to work fucking shit up. BBCode was the first "fix" but eventually people found ways to escape PHP and SQL code, C# is usually safe.

This is why they say things like don't have user generated data in your templates, which are any text files in your file system.

Otherwise, I've got four default props behaviours:
<div>
Hello {{props.name}}
</div>

If given props, will say, hello name, otherwise will error since Norbert doesn't have a real name (no one has actually ever called their kid that, right?)
<div>
Hello {{props;}}
</div>

This will say hello norbert if not given props and will say hello "serialised props here" if given props. Weird, I know, the thing will caste props as a string if it's used as a string?

<div>
Hello {{'Guise'}}
</div>

This will actually say Hello guys but..
<div>
Hello {{'Guise';}}
</div>

Will not, because it's ended on a semicolon. If the code segment starts with, which like the delimiters, can be whatever you want.

You can even make it so the engine will always spit out the last thing in the engine by setting a PrintLastUsedVariable property from C# as true, I guess this is nice for whatever reason? Just don't end the last line with a semicolon.

This is the C# code that generates the props simply makes props.name the url string.

Now I have to test something really simple in Vue. If it's working I'll release.
>>
Decent place for an established web developer to get freelance work?
>>
>>61003743
Seek, indeed, etc.

Apply locally bro, contract work is horrid. You're there for X months, get paid X - N months where N increases how great you are and eventually you're going to realize the most talented freelancers get paid the least.

Make a bunch of portfolio sites, apply to small businesses, make the corner shop website respond under 10ms.
>>
hay bois, there used to be a reprise hosting employee who used to post here, he still around?
>>
>>60984159
maybe you're just below entry level
>>
>>61003821
Entry level should be bachelor level graduate.

If you can't get a job with a bachelor level graduate, there's a problem. If you can't, but some woman with a code camp for girls certificate of participation can, there's a real problem. It's shitty, but getting companies to hire local graduates instead of local seniors to cost cut instead of outsourcing.

The real issue is the disparity of standards, it's not fair that you'll only hire a white male graduate if he's done X amount of years experience but then not hire him even so for unfairly competing with graduates. At this stage, it simply becomes clear any middle to large business with a HR department doesn't actually care if you're below entry level or far above entry level.
>>
>>61003866
i feel ya ma boi, it pisses me off too that hr departments hire people based on race and gender and not based on actual job suitability.
but you have to get in there, if a job looks too hard dont worry about it, you'll get it done, uni only teaches you a tiny fraction of the knowlege you need as a programmer, but it also teaches you that if you dont know something you do some research and come up with a solution.
you can do it son, i believe
>>
>>60984159
it's a scam so they have an excuse to bring in cheap pajeets which they can treat essentially like slaves because the pajeets have to put up with it or they'll get sent back to india
>>
>>61003929
I prefer small business for this reason, if someone skilled walks by they're usually more interested in results than virtue signal to no one since no one cares about small businesses.

We all know why this is and it's hard to blame anyone, in the best scenarios it's some well meaning person who has absolutely no idea about web dev and was hired for "knowing people" because of a sociology degree. In that case their only indication IS years of experience and it IS weird if seniors are competing for graduate positions, it appeared in tech articles here that seniors were applying for junior roles and that's in between so it's still an impossible situation. In the worst case scenario, it's radfem man hating.

Freelance is hard for a reason, it's hard to find good clients. Fuck, if I found a few people willing to pay a thousand a week for a fast website I'd be fine. The thing is you wouldn't and you couldn't because it'd be impossible to justify to your boss.
>>
Anyone jumped into Webpack3 already? Any issues so far? What about the uglifyjs issue?

I was thinking of letting it simmer for a few weeks for a more stable release. I'll just use version 2 for now
>>
>>60977938
Put "python helloworld.py" when you run a python 2 script and "python3 helloworld.py" when you want to run a python 3 script. Pretty sure they both come installed by default on linux.
>>
>>61004426
>uglifyjs
you can replace uglify with babili https://www.npmjs.com/package/babili-webpack-plugin
>>
File: PAJEEEEEEEEEET.jpg (112KB, 611x669px) Image search: [Google]
PAJEEEEEEEEEET.jpg
112KB, 611x669px
>download a reusable library on github to save time
>its made by a pajeet
>i thought to myself "so what if its made by a pajeet as long as it works then no problem
>I decided to lint it first before implementing to my project
>Pic related

Rajeeeeeeeeeiiiieeeeeet!!!!!!!!
FUCKING UGLY CODE ITS SO DIRTY IT TRIGGERED MY ANTIVIRUS PROGRAM!!!!

Goddamn Rajeeeeeeeet!
>>
>>61004554

Yep, this is the state of the whole "you can find anything you want on npm" ecosystem. The fact every idiot can push a reusable library does not always make life better.
>>
>>60977938
virtualenv
I use it for all python development
dont use python though, dynamic typing is immoral
>>
File: kim.jpg (170KB, 1536x1350px) Image search: [Google]
kim.jpg
170KB, 1536x1350px
I've been working on a couple ecommerce sites and I hate it.
>>
>>61004739
tell us your story anon
>>
>>61004739
The complexity just grows exponentially with every feature added.
>>
someone got a tutorial on how to do ajax requests to a myphpadmin database?
>>
>>61005402
>tutorial
figure it out yourself brainlet, open phpmyadmin and look at what requests it's sending
>>
Any tutorials or guides on collaborative WordPress development with git? Like I get it and all but how the fuck do I deal with the database?
>>
>>61005514
>tutorial
what are you backing up? the schema or the data
if it's schema backup the schema create scripts and write a setup script that creates the database and runs the create scripts on it
if you are backing up the data.. you shouldn't be, write a database seed script and back that up
>>
What's the going rate for a front end JS dev in the UK with about 3 years experience?
>>
>>61004554
theres no law that says you need to use every single module
>>
>>61004426
>no breaking changes
let me know how it goes
>>
>Minimum a BS in computer science, web development or related fields

Who the fuck needs a bachelor in god damn web dev?
Like I need to spend 4 years to use Google Analytics, holy shit.
>>
>>61005938
not him, I'm going to update right now
>>
>>61005938
>>61006170
it werks
>>
>>61005956
it's common to ask for a degree, doesn't have to be specifically a web dev degree

just apply anyway
>>
Opinions on w3school?

Some people here told me it was shit, but thier website looks fine at first glance.

If I should avoid it, could anyone elaborate why?
>>
>>60978496

Second. This board is pure love for lonely guys like us.
>>
>>61007095
>>61007095
They're fucking misleading. I myself used w3fools for a month while studying javascript and learned nothing!

all I remembered from that bullshit site was:
function(person name age)
this.name = name
this.age = age
this.person = person
without even telling which parameter goes where. fuck that shit I wasted 1 month for that shit. Now I only use MDN

alert('FUCKW3FOOLS!')

...yeah and that goddamn alert instead of console.log
>>
>>61007095
When I started in 2012 their site was an outdated pile of shit. They are adding articles on new tech some times but they are never updating the old ones. I doubt anything changed since then. The only semi-relevant articles they have are on SQL because SQL have not changed much in past 25 years. And yeah.. they are not associated with W3C anyhow. They just bought a cool domain.
>>
>>60986149

To serve content, code your site in C and interface it with appropriate TCP calls
>>
File: face_captain_ritard.jpg (194KB, 768x768px) Image search: [Google]
face_captain_ritard.jpg
194KB, 768x768px
>>61005402
>myphpadmin database

If that's what you call it, something tells me you're vulnerable to code injection.
>>
>>60978496
The "support" is the reason these threads are shit. /g/ is not a goddamn tech support board, and hobbyist ESL newfags coming in here and using a general instead of learning to google should all be banned.
>>
File: file.png (141KB, 356x362px) Image search: [Google]
file.png
141KB, 356x362px
>>60976759
theoretically, how complicated would it be to develop something similar to draw.io, but more limited. And the most comfy stack to do so ?
>>
Will I need any kind of powerful hardware at any point of my web dev learning journey?
>>
>>61009482
you will probably need decent hardware. depends on how you define powerful
>>
File: 23233434.jpg (73KB, 778x434px) Image search: [Google]
23233434.jpg
73KB, 778x434px
>>61009554
The question pretty much is, am I fine with this?
>>
>>61009482
>HDD
gross.
>>
>>61009482
Not really. Ideally your website will be able to run on relatively low-end computers, so you shouldn't need much to actually render the site.

And running a local server isn't too resource-intensive either.

The only thing you might need more RAM or processing power for is if you want to run a VM for testing your site, but even that won't be all the time.
>>
>>61009731
That's pretty much the only upgrade suggestion I got.
>>
>>61009609
You're completely fine with that.

t. running a local apache server w/ database on a 4 year old macbook air
>>
What's the deal with frontend frameworks? Am I just not getting it or are people seriously too stupid to make a nice looking website without piling on tons of unnecessary node shit?
After setting up webpack, bundler, npm and a host of other shit you've already spent more time and work than it would've taken to just implement the feature you wanted in pure JS.
>>
>>61011250
Didn't know that vanilla JS had a virtual dom to work with.
>>
What should I use for scraping pages in python? My current solution of multi-threading requests is running into limits.
>>
>>61011250
>After setting up webpack, bundler, npm and a host of other shit you've already spent more time and work than it would've taken to just implement the feature you wanted in pure JS.
no I didn't
>>
>>61011373

>limits

How?

Btw what are you using, bs4?
>>
File: inline elements.png (7KB, 752x40px) Image search: [Google]
inline elements.png
7KB, 752x40px
What does /wdg/ recommend when adding elements such as classes, ids, etc, to html entities? Is there a recommended order? I am a beginner so at least I would like to be consistent with my code order early in learning. Like does class go first before everything else or after? Does it even matter?
>>
>>61011564
I can only run 8 threads concurrently on my pc and start to take it's time when i need to fetch something like 10k pages.

bs4 for parsing, requests for feching
>>
>>61011599

You mean the order in which the attributes are defined?

It really doesn't matter.
>>
>>61011705
Thanks, I've been calling that by the wrong name. I will remember you anon.
>>
>>61011612

Jesus that is a lot and I don't think you can do better than that or if it even makes sense to do more, do you really need do scrape that amount to get useful data?

If your tool is hanging in between threads chance is that your code is messed.
>>
>>61011298
Just make it yourself anon, don't forget to use Gentoo as well!
>>
>>61011599
Doesn't really matter. Personally I put the id first, then the class, then basically everything else. Just develop a self-consistent style.

Same goes for order of properties in CSS. I go with display, position, width/height, top/right/bottom/left, padding, border, margin, font stuff, everything else. But just be self-consistent so you know where to look when you go to change things.
>>
>>61011841
What I'd probably do is get an instance closer to the server as I'm currently fetching everything from halfway across the world.
>>
>>61011612
python3.5+ async instead of threads.
>>
>>61013064

That too, for me less than half that would certainly dry up my bandwidth regulating the fetches for its limit should do good.

I wonder what he is doing though unless he is trying to compete with google he would probably benefit more on doing a trim on his algo and choosen targets and go for more specific content and less hosts.
>>
File: bannerps.png (41KB, 574x414px) Image search: [Google]
bannerps.png
41KB, 574x414px
What Photoshop settings are advisible for a banner image /wdg/?
>>
>>61011612
ryzen
>>
What is the best software for time management and weekly planner shit, /wdg/?
>>
>>61014316

Vimwiki..
>>
>>61014316
org-mode
http://doc.norang.ca/org-mode.html
>>
File: pen_and_paper.jpg (415KB, 1772x1864px) Image search: [Google]
pen_and_paper.jpg
415KB, 1772x1864px
>>61014316
>>
File: 1495935708093.png (301KB, 800x1065px) Image search: [Google]
1495935708093.png
301KB, 800x1065px
>>61014655
Kek
>>
File: 231432.png (249KB, 355x430px) Image search: [Google]
231432.png
249KB, 355x430px
What's the highest paid job I can get in web development? Been an FE Magento dev for a couple years on pitifully low pay. A+ school grades in Math.
>>
>>61014684

>>61014684

Cool picture.

The only thing I don't know shit is about the ElasticSearch stuff.
Saved for future considerations.
>>
>>61014688
>A+ school grades in Math.
Are you seriously referring to high school grades or just being silly
>>
>>61014688
java/spring senior backend engineer
>>
>>61014851
My university grades weren't so good but I was in a top 10 uni in the country.
>>
>>61014971
did you finish the degree? then just say you have a degree. A+ in burgerland doesn't mean much
>>
https://freelancesharp.com
roast my site
>>
>>61014971
What you need is a portfolio. School grades don't count whatsoever, show off your portfolio of work that you developed independently and it will land you any kind of job you wish.
>>
File: lel.jpg (21KB, 233x394px) Image search: [Google]
lel.jpg
21KB, 233x394px
>>60976759
lel

just kidding anon, at least you actually made something unlike everyone else here.
Why wordpress though, doesn't seem like a good fit.
>>
File: 7ef.jpg (29KB, 600x600px) Image search: [Google]
7ef.jpg
29KB, 600x600px
new thread
>>61015075
>>
>>61008988
>draw.io
>canvas stuff
Yeah..

https://developer.mozilla.org/en-US/docs/Web/API/Canvas_API
https://api.jquery.com/mousemove/
https://stackoverflow.com/questions/7790725/javascript-track-mouse-position

20 seconds in google. No need to thank me.
>>
>>61014688
The whole point is to obtain the title "Senior XYZ" and then you just assrape the company that trusts your word as the gospel. It's the cornerstone of IT work.
Thread posts: 312
Thread images: 45


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