[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: 305
Thread images: 22

File: Z6zEcJj.png (731KB, 824x553px) Image search: [Google]
Z6zEcJj.png
731KB, 824x553px
>Old thread
>>58406081

>This season's Advent of Code:
https://adventofcode.com/2016/

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

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

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

>Useful Youtube channels
derekbanas
thenewboston
learncodeacademy
funfunfunction
computerphile
codingrainbow

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

>Backend development
https://en.wikipedia.org/wiki/Comparison_of_web_application_frameworks
https://gist.github.com/dypsilon/5819528

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

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

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

>cheap vps hosting in most western locations
https://lowendbox.com
https://www.digitalocean.com/
https://www.linode.com/
https://www.heroku.com/
https://www.leaseweb.com
>>
professional HTML software engineer here. Ask me anything
>>
>test
>combine arrays and sort non-descending
>use any language

array_merge ($a, $b)
asort ()

Huehue
>>
why would i need to convert this object to JSON when I can just go like this to display it?

var person = {"name": "Bob", "age": 27, "city": "New York City", "state": "New York"};

for (var key in person)
{
console.log(person[key]);
}
>>
>>58439486
In both cases - maybe, maybe not.
Cheers, though.

>>58439727
Oh, I meant minor issues/decisions. I wouldn't be able to sleep as a dev and a human being if I knew an app isn't secure and we're doing nothing to fix that.
I do see your point, and after cooling down a bit, I decided to talk to management tomorrow about how we should try to communicate better and such.

As for the hole, oh boy. It's a shop where the previous dev left the order sum calculations in the front... and the back doesn't check anything. I'm not joking...
>>
>>58440123
it already is JSON
>>
what text editor do you guys use?

what would you recommend for a low-end pc?
>>
I have got my thing working so that when a user highlights a cell in my table, it adds a class of highlighted.

When I click a button I want it to add all the highlighted cells text to an array. I had it earlier so that it added all the text, but if the cells had "A" "B" "C" "D" it stored it on click as ABCD.

How do I get the highlighted cells text to get put in an array.
>>
Dude, fuck LaunchCode.

Alright I have some real complaints here.
1 - It selects 3 puzzles, 1 entry-level, 1 intermediate, 1 senior-level.
Ok, no problem there. Cool, gives me some space to showcase what I can do. NOPE. An hour and 3 minute time limit.

I blasted through the entry-level problem in < 3 minutes. Basic array shit, no problem. I passed every single test case it threw at it. I went straight to the senior level. After a few minutes I knew what to do.
I spent the rest of the hour and a half debugging because they fucking lied. They injected an array count into the array so I have to shift the array. It even said the first in the array is a count for how many are in the array after it. No problem. trimmed out the 1st. WHAT THEY MEANT WAS "THIS ARRAY COUNT ISN'T ACTUALLY IN THE ARRAY AT ALL! WE JUST PUT IT IN THE INPUT BOX TO LIE TO YOU BECAUSE FUCK YOU"

So yeah, that was fun.

Now the real question. Why does some shitty apprentice-placing website that pays 15 dollars an hour require people to solve 2 questions out of 3, which are way WAY above their pay-grade?

You would think they would go up to intermediate at most since an apprenticeship is McDonald's-tier + experience which will land you that entry-level in 6 months maybe.

OR you can make 1 little puny fucking project and submit it for a junior-dev position until you get tested. You will blow the fuck out of the junior dev test compared to launchcode since they will usually give you time and not expect you to create Amazon Alexa 2.0 in an hour and a half...then you start out at 40-60k.
>>
>>58441033
Notepad.
>>
>>58441033

I like to use Jetbrains Webstorm, or Sublime Text 3 otherwise.
>>
>>58441033
vim you fool
>>
>>58441155
so what's the problem? what did you try and how did it fail?
>>
I tried this, and it partly works, but combines it all into one long string

 x = $(".highlighted").text(); 
>>
>>58441957

var x = [];
$('.highlighted').each(function() {
x.push($(this).text());
});
>>
>>58442015

Ahh mate you lifesaver, cheers for that.
>>
any way i can find out what libs and frameworks NVIDIA used to make their new store app? It's very fast and ajax-y. So it can't be a crappy M$ .net app. I see a lot of JS when inspecting.

nvidia.com/en-us/apparel/
>>
>>58442144
looks like they're using granite
https://www.nvidia.com/etc/clientlibs/granite/jquery/granite.min.js
>>
>>58441313
Why not Notepad++? Is it because it's for faggots and real autists can write markup in their sleep?
>>
/wdg/ eternally bee tea F O() >>58442198
>>
>>58439545
>html
>software engineer
pick one
>>
>>58440123
JSON is to go from a text format to a javascript object. So if you've got some API that gets you the names of some that go to your school, it might return the following in plaintext:

[{"name": "Ameesh", "city": "Bangjalabad, India"}, {"name": "Anjana", "city": "Putitinmypooper, Bangladesh"}]


you then run that text through JSON.parse and you get a useable Javascript object
>>
>>58442581
>taking the b8
>>
>>58442616

why would you convert text to a js object tho? why store data in a txt file? why not just read the data from a db and display it with a back end language?
>>
>>58439466

How do you guys do nav bars?

Do you use <div>'s with inline-block display for horizontal menus or <ul>'s?

Do you use Javascript for vertical drop-downs or just use CSS? Do you use <ul>'s or <div>'s?

I've been using <div>'s for everything and Javascript.
>>
>>58443335

html5 gives us a nav bar element.
>>
>>58443125
not him and it's probably b8 but whatever :
>user clicks button
>clientside script sends request to server
>server sends data as json string back
>clientside script deserializes json string into object
>server side script can display and edit object ez mode
>>
>>58443359

But then all those grandpas and third worlds will not be able to access your web system since they don't have compatible browsers.
>>
>>58443387
*client side script
>>
>>58443420

screw em
>>
>>58443335
Bootstrap

I don't even expect myself to design anything.
>>
>>58443469

>not coding your code yourself
>not knowing your code

Honestly though, I'm I still the only retard who codes his own page from scratch and his own "bootstrap"?
>>
>>58443549
I wasted more time trying to use bootstrap classes than doing the styles myself
>>
File: Noob.png (97KB, 863x376px) Image search: [Google]
Noob.png
97KB, 863x376px
How do I eliminate the space between the logo and the contact info on the right?

I've tried margin: 0 0 0 0; and padding: 0 0 0 0;
>>
>>58443549
I have before. I have launched projects out there completely handcoded in notepad with zero frameworks.

I don't like doing it anymore. It's easier to throw in bootstrap and make minor edits before launching.
>>
>>58441174
I can't remember the site I used when I was interviewing a lot a few months back.
A lot of the companies would use different ones.

But I totally feel you. These were for entry level positions. I'd blow past the easy ones and then there'd be ~2 difficult ones. And by the time I get to the final one there's like 10-15 minutes left, sometimes more. And it's some fucking traveling salesmen problem. I understand it but when you only give me 1-1.5 hours to do a bunch of menial stuff then a few ridiculous ones. There's no way I came close to finished. Maybe that's because I'm just not good enough, which is entirely possible or they just want to weed out every single applicant except for the actual robots. All for a 50-65k job.
>>
>>58443387

how does the server turn the data into a json string for you to turn it into an object?
>>
>>58443731
use library because you don't want to write a json serializer yourself
>>
>>58443800

ok so you read data from a database and serialize it to JSON, then you parse that JSON to turn it into usable javascript objects?
>>
>>58443605
Use floats or better yet use grid system since you clearly have no clue what you're doing.
>>
>>58443839
that's one way of doing it, server could also return whatever else format like xml
json just happens to be popular atm due to javascript's popularity and its easy human readability
>>
>>58443841
>floats

Thanks man, how do I bring it down from the top now. I said in the image I'm a completely beginner still learning, thanks.
>>
What's all this hit I'm reading about prototype in javascript?

I haven't seen this in years and now I just saw it in 3 separate searches.
>>
>>58443933
just people trying to get javascript to do class inheritance
>>
File: Untitled.png (4KB, 653x67px) Image search: [Google]
Untitled.png
4KB, 653x67px
Am I overusing classes?

Should I set display and position every time in every ID or is it a good idea to have a single class just for that?
>>
ok why isnt this working. ffff

$(document).ready(function() {
$("#messageDiv").fadeIn("slow");
});
>>
Simple question here.

I need to always round up in JS to an int.

1.1 needs to be 2
2.1 needs to be 3

etc. If it's over a whole number then it's the next whole number. What do?
>>
>>58443992
Tried looking in console? :^)
>>
>>58444032
>>58444032

>http://lmgtfy.com/?q=javascript+round+up

Literally. The. First. Result.
>>
>>58444051

ya nothing is there. Wtf. If i put in an alert("ayy"); that works, but the fadeIn function isn't working. I've included jquery properly in the head section. Minified version of 3.1.1

fuck
>>
>>58444061
Yeah, didn't see the caps UPWARDS on .ceil

I had to post it here before I could see the answer.
>>
>>58444067
Put in
$("#messageDiv").fadeIn("slow");
in console. Does it work?
>>
>>58443978
If you actually reduce your css sheet's complexity by doing this it's probably worth it
>>
That was a quick project.

I just made a .js that estimates how long it takes to read your article and puts it in a <i> tag.

Throw that one in the portfolio.
>>
>>58444101

it just returns
[div#messageDiv]
>>
>>58444161

nvm its cuz i wasnt adding display:none; to it first

wow. What a waste of 30min
>>
Here's my little scripts that estimates article read time if anyone cares.

Also, future employers Googling my github, don't judge me.

https://github.com/danthom88/ReadTime.js
>>
>>58444290
>display:none
>not .hide()
is there such a thing as best practice in jquery or should I just go back to learning react?
>>
>>58444541
Doesn .hide() just make it display:none anyway.
>>
>>58444557
Yes.
>>
>>58443839
You make an API that does db queries and returns output as JSON to AJAX requesters
>>
>>58444593
is one or the other best suited to this use case of a div that will be unseen then fade in on an event?
>>
>>58444626
Well, if you're going to have the div hidden initially then it's best to do it in CSS with display: hidden;

If you're hiding the div dynamically, on say another event, then it would be best to use hide() wherever you need to do so.

As for difference in function, there is none as far as I know.
>>
>>58444677
but I just use opacity:0 if I want to hide shit with css

is that wrong?
>>
>>58444695
Yeah fuck Stallman for not using JS.
>>
>>58444716
bro I'm asking about how to do easy stuff Im sorry if you thought I was making a political statement but Im not
>>
>>58444695
Yes.


If you need to hide things out for testing purposes then use comments.

If you need to hide them from on document load, then use CSS.

If you need to hide them dynamically then use hide() (or getElementById("myDiv").style.display = "none" if not using jQuery);

I meant display: none; in the earlier post, not hidden.
>>
>>58444745
thanks this actually helps me a lot. i have these kinds of quests a ton about jquery and when I google them its just umpteen-gorillion explanations of how NOT to use jquery
>>
>>58444768
Funny. I prefer vanilla js and I can't Google a question without the answer being in jQuery.

Anyways, happy to help. Have fun.
>>
>>58444783

This. So much this.

I like to use my own simplified non-overkill pure tasty vanilla Javascript scripts.

But wherever you look something up online 90% of the time the answer is in jQuery.

I hate you, jQuery, I hate you so much.
>>
>>58444875
yo, don't hate the playa, hate the game
>>
Why people consider using getElementById when you have document.querySelector/querySelectorAll ?????
>>
>>58445073
why would you use that when you know you're just using an id
>>
>>58443978
>Am I overusing classes?
Yes you are. Look up naming methodologies like BEM, OOCSS.

Example using BEM:
<button class="side-button side-button_state" role="button">
<span class="side-button__icon">
<img class="icon" src="nicememe.png" alt="">
</span>
<span class="side-button__text">User area</span>
</button>
>>
Best way to come up with side project ideas (profitable or not i don't care - bored.)
>>
>>58445083
It makes the code much better, you just don't need to add IDs when not necessary and keep a main structure on how to select elements. (Not for jQuery users though)

But since it's just a selector its not that important, just marking it out. People nowadays use 100 percent jQuery/react/angular/(vuejs?) So yeah it's not such a big deal using it for small examples/whatever
>>
>>58445120
google for startup ideas or something like that
>>
>>58445120

What I've done and helped a lot is: look for a problem you have on your life, one you can fix with a website or an application, and do it.

I've tried doing projects thinking on others problems and didn't work out for me. That doesn't mean it can't for you.

Googling for start-up ideas may be a solution but it's not the best since many people go there and end up doing nothing.
>>
>>58445120
I like to clone stuff i use and hopefully end up adding better features than in the original
>>
I don't fucking get adsense.

>estimated earnings: .01
>randomly added 4 dollars into my account.
>>
>>58445120
Thank about something that would be mad dope and make it.

That's usually how it goes for me anyways. I got the Y-Combinator funding.
>>
>>58445422
You can't make decent money with websites anymore unless you're really lucky.
>>
>>58441033
kate
>>
File: C1UYX2LXcAA_KYJ.webm (325KB, 770x668px) Image search: [Google]
C1UYX2LXcAA_KYJ.webm
325KB, 770x668px
I thought you all would find this interesting.
Auto-fill exploit.
>>58445478
>unless you're really lucky.
Disagree. If it's a good idea and you manipulate it to make it look like others think it's a good idea then people bandwagon.
Of course you can't just launch a good idea and expect it to carry by itself. That's missing a big part of the formula.
>>
>>58445561
Still if you want to make a living it's better if you work for a big company than having your own website although doing both is life easy mode.
>>
>>58445478

you need to actually make an app that lots of people use

the term "website" is fucking extinct now.
>>
>>58445620
Depends.
If you have a good idea that's workable and you're a decent talker you could probably get some seed funds to start making your website.

The average person though? Work a stable job, work on your side projects in your free time, and keep trying to get those side projects funded.

>>58445638
You should make both. Cordova exists for a reason.
>>
>tfw no free hosting servers for web dev bullshit

I wish there was a place where I could get a box and some shitty static ip address and fuck around with my web project and let other people test.
>>
>>58446018

its like 5 bucks a month dude
>>
>>58446018
You can get a Raspberry Pi Zero + all the miscellanea you need for like $30. It's not powerful, but it's plenty enough to host a small website. Plus if you get bored with it, you can make a robot or something.

As for the static address, some ISPs will give you a static v6 address for free (with your normal subscription, I mean). You can also use dynamic dns and host it on a regular residential address. (Recommend using non-standard ports depending on how tolerant your ISP is of home servers)
>>
>>58446036
and if you're referred you get 10 free and there is a 10 free promo code.

So you get the first 5 months for $5.

For $5 you can teach yourself to be full-stack if you don't run ubuntu or use whatever bs microsoft shit there is.
>>
>>58446168
>Plus if you get bored with it, you can make a robot or something.

Home automation too.

Want an impressive portfolio project? Run a webcam feed to a space you don't use and setup a lamp controlled with a pi through PHP or whatever.

When they go to check your projects they will see it and will be able to control your webcam live. It's impressive.
>>
File: scared str8 u pussy azz bich.png (70KB, 242x248px) Image search: [Google]
scared str8 u pussy azz bich.png
70KB, 242x248px
>>58446018

AWS??????
>>
>>58446192
That'd be kind of fucking cool.

What about this:
>get like 5 raspberry pis
>tinker with them and get them to do bullshit things like webcam your babby, control your thermometer, unlock the garage door, et cetera
>have them all continually ping some server with information and requests for commands
>use some generic shitty mvc like asp.net or react to give you a dynamic display of your raspberry pi devices
>put a shit logo on it, wear a turtle neck, and act like a complete fag as you give your pitch speech to silicon valley

I AM THE FUTURE! WE WILL MODERNIZE THE HOUSE!
>>
>>58446018
open shift
>>
>>58446351
I'm guessing the getting your baby stolen was the joke, but you delivered it so vaguely I'm not sure you knew.

Just control a LAMP with LAMP. Get it?
>>
>>58446314

You'd be surprised what you could manage on the free tier for a year.
>>
>>58446693
On AWS?

Aren't they ridiculously expensive compared to nearly everyone else?

https://aws.amazon.com/cloudfront/pricing/

4chan would be 90,000 a month on their service.
>>
>>58446018
heroku
>>
>>58441155
Use Jquery to select the cells with the highlight class or somethin
>>
Spring is hard or I'm too stupid to understand it
any good site or book to embrace spring framework
>>
>>58446018
go halfsies on a cockbox with someone
>>
Has anyone else never talked to a web developer before?


I'm having an interview with an entire team of developers tomorrow.

I have never met another web developer before. Not even someone who does it as a hobby. I've been making websites as a hobby for 18 years and not once.
>>
>>58443549

I'm new to this shit and only about a month in, and I've learned how to do pretty much everything bootstrap can do myself in the span of 1-2 weeks of just trying to replicate sites with HTML/CSS, and can code a template faster than dicking with bootstrap, now.

I feel like bootstrap so big that it actually takes longer to learn it and memorize the classes than it does to learn how to do it in CSS from scratch.

> muh grid
What are % widths and floats?

Bootstrap is a pajeet meme.
>>
Anyone else offer people websites for stuff?

Like I just offered a full shopping cart website for a lute.

Handcrafted.

Let's see.
>>
Hey /wdg/, is it possible to start learning React Native + Redux without ever prior touching React iself or would this be a disadvantage and as such a steeper learning curve?

Basically want to learn to make mobile app's, am already pretty proficient with ES6/jquery/nodejs/php, also know angular1 but haven't used it ages.

TLDR can I learn react native + redux without first learning react as a frontend web library?
>>
Am I a minority in thinking that react, angular, vue, backbone, virtualdom etc are just unnecessary? I can appreciate react-native but I'd still rather use phone-gap or swift. I use libraries without qualm, but I just find frameworks like I mentioned to be nothing but abstractions for the sake of being abstractions. I feel like I'm missing something but I keep going back to them trying to find whatever magical benefit they provide but I always come back feeling like I must be a really bad programmer and suffer from the opposite of the impostor effect or what? I feel the same way with server side frameworks too.
>>
>>58449419
If you retrieve json data from your server and want to update the webpage using that data, what do you do? Manually write the functions that will access the DOM and add new elements/modify elements? If you have many sets of data you have to write a function for each different set of data+elements. And these functions are not reusable because they're tightly coupled to the data and the element names and structure. A framework does that for you.

>I feel the same way with server side frameworks too.
Have you ever written a dynamic website without a server-side framework?
>>
>>58449558
replying to myself
>Have you ever written a dynamic website without a server-side framework?
I take that back, it's not that bad for a simple website so you probably have. I wouldn't, makes the task harder than it needs to be.
>>
>>58449558
>If you have many sets of data you have to write a function for each different set of data+elements. And these functions are not reusable because

After all the framework boilerplate and scaffolding, you have written the same amount of code usually and can tailor it to your specific use case. I understand these frameworks have there place, I trust that the people at Facebook and Google know what they're doing but 99% of websites aren't Google or Facebook.

As for server side frameworks I meant behemoths likes rails. I actually like rails sometimes but I'd much rather use sinatra more often than not.
>>
>>58449659
Well if you want just my personal opinion, I'm making a small personal website (just a fancy todo list) and for me using Vue makes it a lot easier. Maybe not in terms of amount of code written (although I'm pretty sure it's less than without a framework) but the cleanliness, maintainability and organizational advantage is really big. It lets me do things that I would not be able to easily program myself (not good at javascript).

If I was not using Vue, I would be using server-side templates to partially make up for that, and my website would be worse.
>>
Is there any way to put in rich text into HTML5 canvas with its basic formatting (Italic, bold) intact?
>>
>>58446999
html is a waste of time anyway
>been messing with web dev for a month
>half of that time was wasted on learning what bootstrap does
>already calling people pajeets
kek
>>
What is good examples of small projects? I've done HTML, CSS, php a while back and want to try something small like an online calculator to freshen my memory.

Any good practice sites you can create?
>>
Why did I believe the faggots shilling C#?
>be into php7 with few small projects on github
>see c# shilled fucking everywhere on wdg and dpt
>invest in very large C#/.NET book
>fill my head with this microshit (end up enjoying it desu :^))
>upload small c# projects to github
>apply to fuckton c# jobs while learning
>apply to like 3 php jobs
>get a fucking interview to use php

This is what the C# shills won't tell you.
>it's majoritively large companies who're looking for c# devs right now
>smaller businesses are more attracted to the likes of php
>to get a c# job in a large company you're gonna need a degree

I'm just thankful I realised this shit only 3 weeks into my learning. But I fucking invested so much time and effort omg.
>250+ pages of this lengthy af book
>at least 3 hours a day dedicated to learning or coding in c#

tl;dr DO NOT DIVE HEAD FIRST INTO LANGUAGES BEING SHILLED ON THIS FUCKING MEME BOARD.
>>
>>58451804
Honestly that is pretty obvious from basic looking into stuff or just reading the thread, you should have done some more research.

I've never really seen C# shilled as something people should learn though, only seen people talking about using it.
I see either php or node being pushed for hipster startups or pajeet jobs
>>
>>58451839

You typically see it shilled when someone mentions Java or similar.
>>
File: 1478409446022.jpg (48KB, 396x385px) Image search: [Google]
1478409446022.jpg
48KB, 396x385px
Can't decide what language to focus my energy on. I must choose between Java, C# or php if I want a job since there are barely any job listings for meme languages. Which one to choose /wdg/ ?
>>
>>58446718
>Aren't they ridiculously expensive compared to nearly everyone else?
Depends on your use-case. For a very small site, a VPS or self-hosting is usually the most cost effective option. When (if) your site grows big enough that managing it becomes a pain in the ass, moving to AWS is usually the logical step up. AWS's customer-base is enormous, so obviously they're doing something right.

>4chan would be 90,000 a month on their service.
That $90k number was an exaggeration/miscalculation IIRC, but even if true, most sites of 4chan's size can deal with that price because they've found a way to monetize by that point. 4chan is a special case because moot was doing it as some sort of hobby project instead of a business.

>>58446828
>using spring

>>58447225
I'd rather have money desu

>>58448606
That's ridiculous, of course you need to know react to use react native. Why would you even want to do that? React is pretty easy anyway, you can learn most of it over a weekend.
>>
>>58452175
>Why is method chaining only discussed in the context of jQuery?
It isn't though?

>Can Javascript not method chain already?
Of course you can. The example you posted should work fine, not sure what you're referring to exactly.

>>58452328
There are jobs out there for memelangs, you just have to hunt a bit more for them and sometimes be willing to travel. Each of those three languages has its pros and cons.
PHP is probably the easiest one to find a job in, but you generally don't make quite as much and you may have to deal with some *seriously* awful codebases.
Java is still very common for non-webdev jobs and of course android, so if you want to move into one of those fields, that would be the thing to learn.
With C#, there is a non-zero chance you'll have to deal with windows servers, but it's a bit more comfy than Java (from what I hear). You can also use it to make Unity games if you want to get into game dev.
They're all good choices though, and most likely you'll end up learning more than one eventually.
>>
How can i play. Avi file , HTML5 player ain't supporting it
>>
>>58452799
you can't.
>>
http://www.infoworld.com/article/3150716/application-development/forget-angular-3-google-skips-straight-to-angular-4.html

> "Let's not call it AngularJS, let's not call it Angular 2," he said, "because as we are releasing more and more of these versions, it's going to be superconfusing for everybody."

>Angular's upgrade plan also includes moving to TypeScript 2.1 as a baseline, away from TypeScript 1.8. While this means there are breaking changes, Minar was reassuring. "It's not going to be a big deal. We did these migrations across the whole Google and it was quite trivial, but it does require [some interventions]."

Ngfags btfo yet again. Let's be honest though, if you're using angular in ${CURRENT_YEAR}, you're used to google constantly breaking your shit.
>>
>>58452799
Convert it to mp4 or webm with ffmpeg.
>>
>>58446828
baeldung have good tutorials, this mykong gook guy as well
>>
PHP OOP interview questions?

I know the basic principles and terms like object, class, inheritance etc and namespaces.

Anything else?
>>
>>58453039
learn design patterns
>>
>>58452847
More like Microsoft Angular
>>
>>58451804
it's pretty obvious that large companies use java or .net

what your're basically saying is that you are retarded
>>
File: raw.gif (740KB, 248x236px) Image search: [Google]
raw.gif
740KB, 248x236px
Anyone uses AngularJs?

Im trying to do a simple drop down that gets populated with data from some backend service.

I created a directive that GETs the results from the api, then using ng-repeat in the directive template, create the options for the dropdown.

The thing is, depending the connection, it sometimes gets populated with data, and sometimes it nevers fills up with the info, even if the network says it did the GET.

What im doing wrong here? Anyone can suggest a better way of doing it?
>>
So you use public functions in a class if say you had an instance like myDicks and needed to access a method of that object?

myDicks->becomeLong(); ?

I wouldn't be able to access that as protected even though the object is of that class or even private?
>>
File: you.jpg (60KB, 990x557px) Image search: [Google]
you.jpg
60KB, 990x557px
>>58453198
>>
>>58452753
It's not comfier than Java anymore.

It used to be a lot comfier, but Java 7 and 8 evened the field.

There are things that C# does more comfy than Java, and vice versa.

It all comes down to what libraries, frameworks, toolchains etc. you're using.

Java has Maven and other dependency managers that makes a lot of stuff comfy as fuck.

Want to use MSSQL?
https://mvnrepository.com/artifact/com.microsoft.sqlserver/mssql-jdbc/6.1.0.jre8

Here you go. Enjoy. Just add that XML to you maven dependencies list, and you're done.

C# use nuGet for their deps, and msbuild for building, and something else for the whole orchestration effort.

So it isn't at all black and white anymore.
>>
>>58453251
I just did something like that for my own web application.
Except that I just used normal JS to populate things with.
>>
2nd interview in 15 minutes.

I got 3 cheatsheets because I spaghetti under pressure.
>>
>>58453659
oh my phenibut...
>>
>>58453681
I have some somewhere actually.
>>
What's the best way to change the body background within a React SPA?

Target body styling within componentDidMount?
>>
>>58453363
well memed
>>
Well that didn't go well.

"If you don't hear from us in a week then you can send a follow up email...that's probably how this call is going to go. Anyways thanks for calling."

Damn.
>>
>>58453011
I will check it thanks m8
>>
>>58454040
spring project has ok getting started tutorials as well with basic sample projects hosted on github
>>
>>58454183
should I use STS or eclipse web or netbeans?
>>
File: Captura.png (1MB, 1311x789px) Image search: [Google]
Captura.png
1MB, 1311x789px
Has anyone used wow.js? the images appear like this the first time anyone loads the page, but after a refresh everything runs smoothly, I don't know what's going on.
>>
>>58454318

really hard to find whats wrong without debugging/inspecting your code
>>
js is definitely the way to go for both front end and back end. it's the c++ of the web. so fast. so powerful. only downside is crappy syntax.
>>
>>58454262
it's up to your personal preferences and what you're used to
i use eclipse even tho it's bloated as fuck, spring boot plugin isn't even that helpfull
>>
>>58454318
I've hit bugs like that doing weird stuff floats. Will render right 99% of the time but fuck up 1%.
>>
so lads what approach would you take do design something like this.
is it even possible to make the grid using divs and borders or 100% image?
>>
>>58454745
Yeah you don't want to do the grid in css. I'd try a tiling svg background. Should be pretty easy.
>>
>>58454819
im afraid of matching the content blocks to the grid. I guess this must be done all in fixed dimensions with loads of breakpoints.
>>
>web """""""""""dev"""""""""""
L m a o
>>
>>58454318
Try adding an overflow: hidden; to the element that wraps the images.
>>
>>58454411
>>58454608
Thanks for answering guys, I didn't find a solution in the code itself, but I just typed in a script so the page reloads once.
>>
>>58454902
looool
>>
>>58454864
Well you probably could use gradients to make the grid background but I don't think it will help with making it easier to line up the elements contained.
>>
I just got an email from my 'project manager' saying she had a problem with one of our sites' responsive design. I asked her what size her browser was and she said 'laptop size'
What the fuck
>>
If you were offered a job in your pay range but it was mostly writing a wordpress blog, "doing SEO" kek, and producing content (pics and videos) would you do it as a stepping stone to webdev or will I look like another wordpress babby cranking out the drek of the web?
>>
>>58455151
stop finding excuses and do your job properly.
>>
>>58455151
provide the url so we can all laugh at you
>>
>>58455155
I basically am doing this right now. Started as a junior SEO. Moved into a 'technical seo' position and then into a development role. The company is shit, but it's experience that will land you a good job.
I hope.
>>
>>58455192
I do freelance SEO and dont mind the work but the idea of writing blogs makes me sick to my stomach. Already 2 million blogs are published every day. Yuck.
>>
How do I make things like, sliders, volume controls.

Say I wanted a volume control like

[#####-----]

i.e. a rectangle filled up to the point that you click on

any good tutorials?
>>
>>58455259
input element of type range
>>
>>58455259
I googled it and found several promising looking tutorials.

You're welcome.
>>
>>58455253
i prefer people posting content on blogs than on twitter desu
>>
>>58455253
Yeah, that's pretty shitty. For as much value as they add, you might as well just get someone on fiverr to write one and then just spin it.
>>
>>58455294
2 million a day most get less than 10 shares and can take 4-22 hours to complete. Twittard takes 5 second MAXIMUM to think about before sending and automatically gets shared by all your followers/bots/etc
>>
File: icecast.png (1MB, 1357x569px) Image search: [Google]
icecast.png
1MB, 1357x569px
Anon showed us the icecast web ui he was working on the other day so i stole his idea
Finally managed to get mine working with basic functionalities
Now all i need to do is make it look less shit, add listener ratings, add admin page to manually setup next song, make it build playlist based on listener ratings and other metadata and integrate with youtube-dl
weeeew
>>
>jewgle says temp.html is popular
>i dont have a temp.html

What did he mean by this?
>>
I need to search a field of an SQL table that contains non-word characters, for a query that contains only word characters (i.e, [a-zA-Z0-9]).
I'd love for there to be someway to specify that all non-word characters in the table should be treated as wildcards, so for example, the search string "dusseldorf" should be able to match "Düsseldorf", with that U+FC being treated as a wildcard.

I'm not sure what search terms to use for what I'm trying to do. There's plenty of information about searching by wildcard, but what I'm trying to do is essentially the reverse of that.
>>
>>58455988
what SQL server? most should already have this inbuilt to treat language specific characters differently in searches.
>>
>>58456044
sqlite3.
>>
>>58456108

i fuarking love sqlite
>>
>>58455155
I would take anything in the web dev field.

Some experience is better than no experience.
>>
>>58456108
sqlite can't do this.
>SQLite only understands upper/lower case for ASCII characters by default. The LIKE operator is case sensitive by default for unicode characters that are beyond the ASCII range. For example, the expression 'a' LIKE 'A' is TRUE but 'æ' LIKE 'Æ' is FALSE. The ICU extension to SQLite includes an enhanced version of the LIKE operator that does case folding across all unicode characters.
https://www.sqlite.org/lang_expr.html#like

you might want to try the ICU extension or alter your query and add every alternative version to the where condition, which might get messy though.
>>
>>58456224
Even with the ICU extension, that's still just case folding. It'll recognize ü and Ü as equivalent, but not as equivalent to the regular latin u.
Altering the query isn't really an option, because there's a very large number of possible queries, for every position of every unicode character that looks like the supplied ascii character.

I've thought about copying the data to another column with those unicode characters removed or changed, but I'm not sure what I'd replace them with that would allow a string of regular latin characters to match them, unless I had a big lookup table of unicode characters and regular word characters that resemble them.
Even then, that's a narrow solution. I'd like to be able to do this with other characters too, so, for example, a user could search for "version 1" and it would match "version-1" or "version_1", etc.

There has to be some way to do this, I've seen a lot of searches where this sort of thing works. I just don't know what it's called.
>>
>>58456473
every large database server does this, sqlite is not one of them.

https://dev.mysql.com/doc/refman/5.7/en/charset-unicode-sets.html
https://msdn.microsoft.com/en-us/library/ms142571.aspx#Linguistic%20components%20and%20language%20support%20in%20Full-Text%20search
>>
>>58456473
dunno if sqlite supports this but you could write a function that turns a string into a canonical version, ie

>SELECT simplfy(Düsseldorf); 
dusseldorf

SELECT * FROM user WHERE simplfy(name) = simpify(Düsseldorf);
>>
>>58450398
>half of that time was wasted on learning what bootstrap does

No. It was learning html/css well enough to replicate any site's layout without bootstrap. I didn't bother learning bootstrap because it's pointless if you know basic css.

>html is a waste of time
lmao, okay.
>>
I'm trying to debounce the contents of a React component method. The easiest way to do this is to just declare a variable outside of the component to use as a bool for debouncing.

However, this isn't really the React way of doing things. State should be located on the component. Unfortunately, it seems that the event I'm trying to debounce (window resizing), occurs too quickly for the async nature of setState to be of use when managing state.

What should I do?
>>
>>58456821
>I didn't bother learning bootstrap because it's pointless if you know basic css.
I think you're at that point where you know enough to think you know what you're doing, but you don't know enough to be competent.

Try not to have too many opinions of your own until you've actually got some experience.
>>
>>58456821
>learning html/css well enough to replicate any site's layout
Oh boy. Can easily tell you're a noob. Try using bootstrap when you've started asking yourself "how long will it take to make this" instead of "how do i make this..?"
You'll see.
>>
>>58457053
I think you're at that point where you know enough to think you know what you're doing, but you don't know enough to be competent.

Seriously. Bootstrap is good only for prototypes or for people who need to whip up a ui but don't know html/css. If you know html/css well enough, it will only get in your way. If you use bootstrap for professional public facing websites and don't end up styling over 90% of bootstrap anyways then your design sucks and you're a code monkey.
>>
>>58457060
This.

Writing your own CSS is awful. I wrote my back-end and front-end in 8 hours. The CSS has taken me months. I've been designing since October and I've used CSS for 20 years.
>>
>>58457424
I don't use Bootstrap myself but I understand the reasoning behind frontend frameworks.

See, when you have a project of sufficient complexity and size being worked on by a team of developers, that team needs to adhere to a set of common conventions. Because its impractical to expect every other developer on the team to sit there decipherering your special snowflake bullshit code that is probably fucking shit, and its unreasonable to expect you to do the same for everyone else.

So you end up with a framework of some kind, and its easier to pick a thoroughly documented and well supported off-the-shelf framework like Bootstrap or something, than it is to create, document and support your own home-made framework. Even though people still do that, and then they release it to the public which is why there are fucking millions of frontend CSS and JS frameworks.

So keep learning, kiddo. Maybe one day you'll be good enough to get some industry experience. Until then, stop trying to have your own opinions, because you'll end up being another Dunning-Kruger retard webdev, and we have enough of those already.
>>
>>58457466
If its taking months to write some css then you either don't have a design picked out and are designing in html/css which has nothing to do with css/bootstrap, or you don't understand the underlying fundamentals of css as well as you think you do and are creating bugs for yourself. Most people who think they know css, only know the names of selectors and attributes, they don't actually understand it much deeper than that. If you really have a layout that is taking months to write css for, then using bootstrap would not change that at all, because it would be limitations of the browser holding you back, not css.
>>
>>58457466
then you're just a bad frontend developer. for me even with very large multi-page layouts it usually takes less than half an hour to write the basic site, and then after that its just write as you go. Adding a element? Spend 10 seconds making it look nice.
>>
>>58457623
post links to your work.
>>
>>58457623
Do you layer your page correctly so that the GPU compositor handles translations, or do you have shitty browser repaints every time something moves?
>>
>>58457651

lel this

preventing the browser from repainting is key. You'll get much higher frame rate and performance with well written CSS....tho that's really only for transitions or animations....
>>
>>58457587
Your post is the Dunning-Krueger effect in action. I hope you're saving your rupees so you can sue the lil code boot camp you went to when your boss realizes you're a one trick pony.
>>
>>58457629
If you want I can post images of my local projects since most of my sites aren't online or have been severely redesigned since I sold them, but I assume you just want to look at how well I follow standards etc?
>>
>>58457587
>when you have a project of sufficient complexity and size being worked on by a team of developers, that team needs to adhere to a set of common conventions.

You literally have no idea what your talking about. Anything that scale/complex isn't using a css framework lmao.
>>
>>58457587
css is a markup language, there is no such thing as special snowflake bullshit code. you either can understand css, and have a mental model in your head of how it will render, or you're a tard that needs to go back to studying or find a different job.
>>
File: pug-window1.jpg (524KB, 2716x1810px) Image search: [Google]
pug-window1.jpg
524KB, 2716x1810px
PSA: Anyone using a pre-made CSS framework aren't real web developers.
>>
>>58457588
Shut the fuck up, you retarded pleb.

When writing code, it either works or it doesn't. When writing stylesheets it always works, but it always looks like shit.

That's why it takes longer. Not because 20 years is too short a time to learn CSS.
>>
>>58457623
>then you're just a bad frontend developer
>bad frontend developer
>developer

It's designer, dickhead.
>>
>>58457994
>but I assume you just want to look at how well I follow standards etc?
He probably wants to look at, and laugh at, your large multi-page layouts that only took 30 minutes.

30 minutes is enough time to div it out if you're doing anything other than 90s style <div width="800px" height="600px"> and display block everything like a top-shelf craigslist developer.

Let's see it then.
>>
>>58458394
>but it always looks like shit.

Only if you're retarded.
>>
>>58458394
What the fuck are you even rambling about? Bootstrap is written in CSS you fuck. If the css you write results in something ugly then it's because you're shit at design and/or your understanding of css is "my nephew can make websites" tier. Give it another 20 years, maybe you'll get the hang of it!
>>
>>58458647
PHP is written in C, so because I know PHP that means I know C?

No? For the same reason a person using bootstrap doesn't have to know CSS.

kys
>>
>>58458766
>No? For the same reason a person using bootstrap doesn't have to know CSS.

If they aren't doing web dev as a career, then sure. If you're actually doing this even semi-seriously not knowing css is like a gamer not owning a pc or any consoles.
>>
>>58458812
Yeah, but it takes forever to get it right.

If you're an artfag or don't give a shit what your pages look like then alright, but for everyone else it takes forever. Every developer knows this. I've never met any developer saying otherwise. Real developer. Not craigslist developers with their 1990's $199 5-page of curry scented website or anyone not in a multimillion dollar company. Everyone knows CSS takes forever.
>>
>>58458766
I don't know whether to laugh or to cry.
>>
I learned the basics of css in a day. And after making a website or three and experiencing all the bullshit (off screen menus, footers, mobile friendly, grid) it became easy as fuck.

Timewise its really not worth skipping. Difficulty wise its just 2D legos.
>>
>>58458872
>Everyone knows CSS takes forever
Git gud son.
>>
>>58458647

bootstrap relies on javascript, too. Very much so. It's pretty dumb not to use it if you want your site to be responsive. It handles just that. Everything else is all design choices and color theory.

also you fags go to /gd/ if you want to talk design, this is for web development/programming only.
>>
>2017
>not knowing node
>>
>>58458872
I wouldn't be able to make a living or be able to sleep at night delivering something built with bootstrap that's meant to be public facing to a paying customer. Its like selling modular homes and presenting your self as a custom home builder. if you're billing people for this shit then your rates better be on par with those craigslist monkeys you belittle.
>>
>>58459011
>It's pretty dumb not to use it if you want your site to be responsive.

It's also pretty dumb to load a massive, bloated framework to make your site responsive. I know it's this decade's #1 buzzword, but it's so fucking easy...


>>58459058
>if you're billing people for this shit then your rates better be on par with those craigslist monkeys you belittle.

This. The guy is basically talking mad shit about himself. Delusional.
>>
Jewbrains WebStorm or Atom for Node.js Dev?
>>
>>58459240

there are other lighter weight responsive frameworks than bootstrap. You could also remove some of the stuff you dont need so the min file will be even more minified. Idk. I wouldn't want to waste my time re-creating responsive functionality. Also depends heavily on how much content your site/app has....if its just a few things then yeah you can just do a few @media calls, however if youre dealing with a lot of pictures or something or content laid out like a grid, then im gonna use bootstrap i don't give a FUCK.
>>
>>58459401
>dealing with a lot of pictures or something or content laid out like a grid

That's why you write reusable CSS. You don't need a framework to do that. That's why the class attribute is called what it is. You can reuse and layer your classes in a modular fashion. Because you see, HTML/CSS/JavaScript are all already frameworks for building websites. They aren't frameworks for building frameworks, that's just silly. Frameworks are the big corporations solution to H1b backlash, if they cant import pajeets, they'll just create frameworks and code boot camps and make their own pajeets.
>>
>>58459252

Atom hands down
>>
Fellas, what's a good way to send automated emails to customers in Node?

Someone places an order - transaction happens - email gets sent.

Mailgun? node-mailer? What do you prefer?
>>
>>58459685
Mailgun or a competitor is probably your best bet unless your company has it's own smtp servers and sys admins.
>>
>>58459685
https://www.npmjs.com/package/sendmail

if its a pretty small scale operation you can get by with that, but theres some setup involved with dns and shit that I dont quite remember to make sure it is actually delivered and not sent to spam. email is a pita.
>>
>>58459011
literally just add @media at whatever reso your site starts looking shit at
>>
File: 1484094983337.jpg (75KB, 640x480px) Image search: [Google]
1484094983337.jpg
75KB, 640x480px
>>58459747
>>58459849

thank you fellow Pajeets.
I am now a bit wiser
>>
>>58444061
>it uses mac interface now
fuck that site.
>>
I did it guys I got a job
>>
>>58460014
grats

They told me "Yeah you can send a followup email next week to that guy that contacted you"

I should have realized that when a junior dev position is open for over a month and half they probably want a senior level.
>>
>>58456185
would you take a QA job anon?
>>
>>58460014
congrats dude, you fucking made it.

If you don't mind my asking what kind of skills do you have? I'm curious because I've been trying to make it for a while now and I need to know if should start working out my trigger toe or not.
>>
I have been assigned to create a web interface for data entry at work.

Now I could make it from scratch myself, but is there some sort of framework I can use? Especially useful would be the ability to relate specific textboxes on a form to specific fields in several different MySQL tables.
>>
>>58460014
congrats and as other said

skills
what was the interview process like
expereince
job
all the details please we are interested
>>
Front end dev here. Why are most backend php developers in the office act like they're some elite hacksors? I feel like they underestimate front-end
>>
>>58453251
Well without your code its a bit hard to debug, but console log the response. Also are you consuming data from a third party or your own service?
>>
>>58460173
>>58460235
No degree or boot camp. Self taught through projects. This helped me gain expertise with modern frameworks, dev tools, and of course JS itself. Also read about algorithms and data structures on the side. Technical skills aren't enough on their own, however. You need to be able to communicate effectively and confidently. Go to meetups related to web dev or the specific technologies you use - recruiters will be there too. Talk to people until you land an interview. If it doesn't go well, no worries, it was good practice. The more you do this the easier it gets.
>>
>>58460281
Both the backend and frontend is easy as fuck once you get the hang of it. But people like to feel important.
>>
>>58460387
And for the uninitiated it's all black magic.
>>
>>58443566
>>58446999

All I need from Bootstrap are those JS responsives, i.e. navbar that turns to dropdowns on dropdowns and such . Hell, I can code simple styles with CSS. But the frameworks' styles have already proven their usability towards the users. I still have a lot to learn when assisting responsiveness with JS . Other than that, grid shit and babby media queries, that I can handle (which is like copying bootstrap's breakpoints ONLY)
>>
>>58461273
It's generally agreed CSS menus are better for SEO. Because not all search engines are good with Javascript. For usability for the users it's also preferable to use CSS because some people don't use Javascript.
>>
I want to embed an .ogg stream on my site but the <audio> tags are not doing enough for me. It becomes silent between tracks and i have to reload the site to hear anything again.

Does anyone know of a good free player that i can use?
>>
>>58461904
>some people don't use Javascript.

Fuck 'em. I don't give a shit about bootstrap, but fuck catering to retards stuck in the stoneage...
>>
If I learned js would it be easy to transition into plain java
>>
>>58462639
They're not related.
>>
>>58462639
They're not anything alike. JavaScript only has that name to ride the coattails of popularity that Java had when JavaScript was created.
>>
File: 1476625980518.png (279KB, 898x790px) Image search: [Google]
1476625980518.png
279KB, 898x790px
What are some /g/ approved books for learning CSS?
Is there any must have?
>>
File: reactfml.jpg (121KB, 917x926px) Image search: [Google]
reactfml.jpg
121KB, 917x926px
Fell for the React mey mey, just started so at day 1 of learning it. Why isn't my checkbox being rendered /wdg/? Console also not logging any errors. Meh...
>>
>>58462639
Not the same in ANY way.
JS is used in many fields Java is useless and vice versa, just do your google search Pajeet
>>
>>58463090
Dont waste your time with that shit, just start a project with a lot of CSS involved, do a lot of google search.

After 5-6 projects of such matter, find a intermediate or high level CSS course/book
>>
>>58459252
Jetbrains for an actual IDE. Has neat features like refactoring project wide, TODO tracking, built in command prompt that defaults to the project path, allows you to run Node server.

Atom, like all text editors, if you just want to edit scripts
>>
File: absolutely disgusting.jpg (74KB, 720x540px) Image search: [Google]
absolutely disgusting.jpg
74KB, 720x540px
>Testing IE / edge
>>
>>58458055
As an engineer in an enterprise job at a fortune 500 company, you're entirely wrong. Everything uses a CSS framework. For a lot of companies they actually fork off of Bootstrap and adjust things like the buttons and shit to match their own liking then use that as the company standard for web-facing components.
>>
>>58458647
>yfw bootstrap requires jquery
>>
File: 1367209656239.jpg (249KB, 425x638px) Image search: [Google]
1367209656239.jpg
249KB, 425x638px
im trying to make a script that makes a torrent out of every mp4 file in a folder, then saves the hash+title of the torrent file on a sqlite db

but I'm getting an error I can't understand, could anyone point me out on the right direction?

doing this for a very weird videogallery using sinatra+webtorrent

ruby script: https://hastebin.com/orazacizez.rb


and the output:
jett at ludibrum in ~/D/D/S/p/sparrow 4.411 Kb
↪ ruby nebula.rb Thu Jan 12 23:15:34 PST 2017
existing db loaded/home/jett/.rvm/gems/ruby-2.3.3/gems/sqlite3-1.3.13/lib/sqlite3/database.rb:91:in `initialize': near "hash": syntax error (SQLite3::SQLException)
from /home/jett/.rvm/gems/ruby-2.3.3/gems/sqlite3-1.3.13/lib/sqlite3/database.rb:91:in `new'
from /home/jett/.rvm/gems/ruby-2.3.3/gems/sqlite3-1.3.13/lib/sqlite3/database.rb:91:in `prepare'
from /home/jett/.rvm/gems/ruby-2.3.3/gems/sqlite3-1.3.13/lib/sqlite3/database.rb:137:in `execute'
from nebula.rb:50:in `block in scan'
from nebula.rb:46:in `each'
from nebula.rb:46:in `scan'
from nebula.rb:62:in `<main>'
>>
>>58464144
How about you just seed the whole folder you fucking nigger? 3 months down the line and file 48.mp4 will have no seeds, every fucking time
>>
>>58464190
I have my reasons, you'll see it when it's done
>>
>>58463143
Try

document.getElementById("content");

instead of queryselector
>>
>>58462310
>>58461904

And they already did the hard part of designing, usability. I can put some color and border on some shit, I can make it 24 grids if I have to. But they already proven that when they design a button, ol' granny knows that is a button that can be clicked.
>>
>>58464144
So how would I insert those two strings into that table?

google is failing me
>>
>>58463143

this is so damn easy, i dont even consider it programming
>>
>>58464811
I'm guessing you need to do something like this
@@LDB.execute "INSERT INTO Videos('nigger', 'dicks') Values(#{infohash}, #{title})"


But I don't know ruby
>>
finally some code is being posted in /wdg/, good work lads post more shit just for shits n iggles
>>
>>58459252
Jetbrains for an actual IDE. Has neat features like refactoring project wide, TODO tracking, built in command prompt that defaults to the project path, allows you to run Node server.

Atom, like all text editors, if you just want to edit scripts
>>
Anyone know a place in Brisbane where they hire without degrees? Aus is ridiculously swamped with pajeets atm.
>>
>>58444154
Any chance you have a link that sounds interesting.
>>
>>58444154
>>58444524
>>58466601
ah sorry im a fucking idiot
>>
>>58465056
this.

This general is 90% "How do I job" shit.
Here's how you get a job: be interested in programming, just start doing shit. After 10 years you have a lot to show off.

I've given quite a lot interviews already. Most of them don't seem to be interested at all in programming. They don't do it in their free time, they have nothing to show besides their degrees or work experience.
Some guy fresh from university didn't even know how if/else works and some with 20 years of experience couldn't even touch type.
I've hired people who quit school without a degree but were interested in programming and could show some nice stuff they made or work on over the past few years, they are most of the time the best developers we've had.
>>
File: nope.jpg (192KB, 1886x934px) Image search: [Google]
nope.jpg
192KB, 1886x934px
>>58464473
still not working ;(
>>58464994
Bait?
>>
>>58467332
It's been like 6 months since I messed with it, but don't you have to require react as React?

I don't know if that already happens in React.js

It's like var React = require("react");
>>
>>58467332
<checkbox> is not a valid element, without content and size it's 0x0 and displays nothing.
use <input type="checkbox"> instead.
>>
>>58467385
Yes it is, it's a component that he declares with React.createClass.
>>
>>58467385
alright never mind, react does some shenanigans here. didn't see this.
>>
>>58467385
but I did use <input type="checkbox">, it's returned in the component :-/
>>
>>58467332
React is so dogdamn ugly.
Why would I want to mix markup and code like this.
>>
>>58467431
it's JSX that gets transpiled to JS, I find it pretty comfy to use but am a total newb at this library so no clue why my code isn't working
>>
>>58454902
easy fix best fix
>>
>>58466675
>After 10 years you have a lot to show off.
We don't want to wait 10 years to get a job.
Most of us plan on getting something entry level as our priority, and then from there going out and learning more.

I'd like if I could just stay home and work on programming comfortably ten years however not really possible without a job.
>>
>>58467332
react classes have to start with a capital letter, lower case will be treated as html tags.
so name it CheckBox.
>>
File: worksnow.jpg (6KB, 371x155px) Image search: [Google]
worksnow.jpg
6KB, 371x155px
>>58467570
did not know this and it never even ocurred to me, I've only tried with all lowercase and camelcase. thanks a lot good sir!
>>
>>58455580
look at your referrals. it was probably a spam bot. dont go to any of the referral links cause thats what they want
>>
>>58467521
just do something.
write a shitty guestbook in php.
ANYTHING you can show off helps.

Just sitting at home doing nothing and applying for jobs doesn't increase your chances.
>>
>>58467635
Nobody advocates for that, at most what I say is while you are making something you might as well just send your stuff out since it's pretty low effort and time so you can just do it at the same time.
Also some companies while hire you and pay you to literally do online classes and stuff (not common but still happens) and if you can get payed while making a shitty guestbook that's all the better.
>>
>>58467694
just throwing in my 2 cents I am still learning and have a day job but I find clients and offer to solve their webshit problems which leads me to to some good paying learning experiences

ive never seen anybody willing to give me money to learn unless I bluff them and say I can do it before I learn how to do the thing.
>>
>>58467605
but its literally not checked
>>
>>58467627
man I just dont see the point of google analytics its just a bunch of russians taunting you and you learn how to filter out their nonsense so you can reclaim the same traffic data that several free websites and browser extensions already offer
>>
Is there some editor that gives me documentation for functions in nodejs? I'm used to programming in java with an editor that gives me all information I need but programming in node feels like I'm just fumbling in the dark.
>>
>>58466675

my first web dev job NOBODY there knew how to fizz buzz. There was just 3 other developers....but still. All they knew was shitty old asp.net code.
>>
>using sqoop to export sql data into hadoop
>want to prefix the table names like user -> myservice_user
>the export a single table comand lets you set the name of the destination in hadoop
>the export whole database export command doesnt let you set the destination name or prefixes on the table
RRRRRREEEEEE
>>
>>58469277
we intentionally limit the documentation to give regular people a headstart on the rampaging hoards of pajeets
>>
Bought www.nintendoarms.com and I'm reselling it. Is this a good investment?
>>
>>58471244
dunno if domain investment is worth it in the world of gtlds but if you find the right buyer well done
>>
>>58471244
Sounds like you'll just end up being sued by Nintendo if you ever try to do anything with it.
>>
>>58471244
Nintendo can claim it from you.

Domain sitting isn't really legal anymore. There was recent legislation passed against it because the fucking domain reseller nigger jews were all over that shit.
>>
>>58448606
>Basically want to learn to make mobile app's, am already pretty proficient with ES6/jquery/nodejs/php, also know angular1 but haven't used it ages.

Just learn React first, it has some teachings that will stop you from over-confusing yourself when you have to think about native too, you will thank yourself later
>>
I feel I have a really simple question.

When I press one of 2 buttons (Basically a true false) my Javascript code does runs an if/else loop, what is the correct way of repeating the function after they press either button, and regardless of the if/else statement.
>>
>>58473497

onclick="myFuction()"
>>
>>58473497
call the function again at the end?
Not sure I understand your question.
>>
>>58473497

if else isn't a loop, it's a statement.

and are you asking about a toggle function? what are you trying to do
>>
>>58440473
trolled softly
>>
I'm trying to follow the tutorial here:

https://tutorials.kode-blog.com/laravel-5-ajax-tutorial

I'm running into a problem with the route.php code. Specifically the $rrequest object is empty even though I am passing an object from the ajax javascript code.

I printed the Request object into the logs using this code:
Log::debug(print_r($request->input('genename'), true));

What exactly am I doing wrong?
>>
File: 1479175710289.jpg (35KB, 512x512px) Image search: [Google]
1479175710289.jpg
35KB, 512x512px
Can anyone recommend cheap .com domain registration, and good site hosting services? Preferably one that can scale up based on increasing traffic that we'll be getting?
>>
>>58475567
> cheap .com domain registration

Cheaper than the standard price of $10-15 that every place charges you mean?
>>
>>58475691
Fair enough. I haven't registered a domain before, just worked on the sites after they've been established.
>>
>>58475567
use namecheap if you know of nowhere else.
>>
>>58475152
>What exactly am I doing wrong?
you're using php
>>
somebody post some 1337 web dev code
>>
>>58476604
<script
src="https://code.jquery.com/jquery-3.1.1.min.js"
integrity="sha256-hVVnYaiADRTO2PzUGmuLJr8BLUSjGIZsDYGmIJLv2b8="
crossorigin="anonymous"></script>


>>
PHP/MySQL side is squared away, but now I'm having javascript issues.

Specifically the bootstrap modal is not showing if I:
>click edit on row to change
>click save changes on modal
>click edit on same row again

It seems to be related to the
<div class="modal-backdrop fade in"></div>
not being made in the second click on edit.
How do I fix this?
>>58476453
Don't have a choice. Anyways I got around the problem by changing the request type to POST and sending it to a different URL.
>>
>>58477508
$('<div class="modal-backdrop"></div>').appendTo(document.body).hide().fadeIn(); 
>>
>>58477567
I don't think it's the root cause. The div disappearing is a symptom. It's likely caused by the ajax code for adding/editing the row corresponding to whatever was edited.
>>
File: Capture.png (18KB, 601x303px) Image search: [Google]
Capture.png
18KB, 601x303px
>>58477606
In comments section from a rapefugee:


The issue is the ajax generated content doesn't respond to on click like it should be.
I found the answer here:
http://stackoverflow.com/quest...

So, instead of using:
$('.delete-task').click(function(){ });

Change it to:
$('#tasks-list').on('click', '.delete-task',function(){ });

Same thing apply to edit button!

Hope this help!
Thread posts: 305
Thread images: 22


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