It's just a simple GUI address book for now. I thought I had to use regex to solve how to search. Boy was I wrong.
EDIT : Also, what tools are you talking about? About the only tool that I can really find that will be helpful to me, really, is a GUI for youtube-dl.
I should hope the interviewer expects your code to be clear and understandable. Cramming things into 1 line probably won't achieve this.Was introduced to the "Fizzbuzz Problem" by a friend today, who said it's an interview question for coding jobs.
I know basically shit all and was able to do it in 9 lines pretty quickly. I'm pretty sure you can do it in 1 but I don't know enough yet to do so. It concerns me if this is actually a job interview question, unless getting it to 1 line is the point and is significantly more complicated.
Was introduced to the "Fizzbuzz Problem" by a friend today, who said it's an interview question for coding jobs.
I know basically shit all and was able to do it in 9 lines pretty quickly. I'm pretty sure you can do it in 1 but I don't know enough yet to do so. It concerns me if this is actually a job interview question, unless getting it to 1 line is the point and is significantly more complicated.
I know a couple folks here cautioned against bootcamps, but I ended up signing up for a local one that has a good relationship with the hiring managers in town (Over a 90% hire-rate, going by linked-in). I haven't interviewed for a job in over 6 years, so I figure the job-search help part of the bootcamp will be worthwhile, and the class portion should help me focus a bit more than "grab random Udemy courses," which is what I've been doing so far.
I should hope the interviewer expects your code to be clear and understandable. Cramming things into 1 line probably won't achieve this.
Fizzbuzz is pretty basic. Wait till they have you do graphing algos and pull retarded made up shit out of their ass like "H trees"Was introduced to the "Fizzbuzz Problem" by a friend today, who said it's an interview question for coding jobs.
I know basically shit all and was able to do it in 9 lines pretty quickly. I'm pretty sure you can do it in 1 but I don't know enough yet to do so. It concerns me if this is actually a job interview question, unless getting it to 1 line is the point and is significantly more complicated.
I know a couple folks here cautioned against bootcamps, but I ended up signing up for a local one that has a good relationship with the hiring managers in town (Over a 90% hire-rate, going by linked-in). I haven't interviewed for a job in over 6 years, so I figure the job-search help part of the bootcamp will be worthwhile, and the class portion should help me focus a bit more than "grab random Udemy courses," which is what I've been doing so far.
I will let you in on some knowledge that is somehow not clearly communicated, but is pretty important to understand for you to succeed in coding jobs, and maybe IT in general.unless getting it to 1 line is the point and is significantly more complicated.
import sys
z,x,y= "}{|}A|k{|kA|}=BE1)|BF}))|$}:~pI~/;@Go{H%{&A?|if }:~pJ"\
"IJ-1~#>=0:GoAG@HG;o{G;%-I&{?|m,kJ,j=C?;/@~o{~D:Gl[c]("\
")?","G$p:%~;%~;el!]':p%break~;![':p%#<len(j):~%\n\t\t"\
"%if c=='%while o%\n%m[k]%+=1%\t%if not %c=j[o]%-=1%sy"\
"s.std%[0]*64000,0,0,open(sys.argv[1]).read()%if l.has"\
"_key(c)%in.read(%out.write(chr(%=1%,o".split('%'),"HG"\
"&%/~!#?}{;$@ABCDEFIJ"
for i in range(len(x)):z=z.replace(y[i],x[i])
z=z.split('|')
for o in range(9):
exec("def %c():\n\tglobal k,m,o,j\n\t%s\n"%(chr(97+o),z[o]))
l={'>':c,'<':d,'-': b,'+':a,',':e,'.':f,'[':g,']':h}
i()
This. Write the code so people can understand it during the hiring process. Then once hired slowly obfuscate your code to ensure job security. This is the way.I will let you in on some knowledge that is somehow not clearly communicated, but is pretty important to understand for you to succeed in coding jobs, and maybe IT in general.
First, a lemma: Companies (and their managers) really hate it when you are the only one who is able to do something they need done, and they can't replace you with someone else to do your job.
The rest is the obvious conclusion: The goal is to write code that is maintainable and easy to understand, so a different programmer can take over. This is also known as the bus factor.
If you write the solution to the Fizzbuzz problem like you are the running champion in an obfuscated code contest: this will instantly raise flags. Because at the end of the day you are working as a team, and that needs communication. In a lot of ways. Code comments and artefacts are a way of communicating with either a) a different programmer or b) the you in the future who forgot how he even got there.
Would you hire someone that wrote Python code like that?
The solution to what it does is here.Python:import sys z,x,y= "}{|}A|k{|kA|}=BE1)|BF}))|$}:~pI~/;@Go{H%{&A?|if }:~pJ"\ "IJ-1~#>=0:GoAG@HG;o{G;%-I&{?|m,kJ,j=C?;/@~o{~D:Gl[c]("\ ")?","G$p:%~;%~;el!]':p%break~;![':p%#<len(j):~%\n\t\t"\ "%if c=='%while o%\n%m[k]%+=1%\t%if not %c=j[o]%-=1%sy"\ "s.std%[0]*64000,0,0,open(sys.argv[1]).read()%if l.has"\ "_key(c)%in.read(%out.write(chr(%=1%,o".split('%'),"HG"\ "&%/~!#?}{;$@ABCDEFIJ" for i in range(len(x)):z=z.replace(y[i],x[i]) z=z.split('|') for o in range(9): exec("def %c():\n\tglobal k,m,o,j\n\t%s\n"%(chr(97+o),z[o])) l={'>':c,'<':d,'-': b,'+':a,',':e,'.':f,'[':g,']':h} i()
Only thing that bothers me about this is the lack of spaces around the assignment operators.I will let you in on some knowledge that is somehow not clearly communicated, but is pretty important to understand for you to succeed in coding jobs, and maybe IT in general.
First, a lemma: Companies (and their managers) really hate it when you are the only one who is able to do something they need done, and they can't replace you with someone else to do your job.
The rest is the obvious conclusion: The goal is to write code that is maintainable and easy to understand, so a different programmer can take over. This is also known as the bus factor.
If you write the solution to the Fizzbuzz problem like you are the running champion in an obfuscated code contest: this will instantly raise flags. Because at the end of the day you are working as a team, and that needs communication. In a lot of ways. Code comments and artefacts are a way of communicating with either a) a different programmer or b) the you in the future who forgot how he even got there.
Would you hire someone that wrote Python code like that?
The solution to what it does is here.Python:import sys z,x,y= "}{|}A|k{|kA|}=BE1)|BF}))|$}:~pI~/;@Go{H%{&A?|if }:~pJ"\ "IJ-1~#>=0:GoAG@HG;o{G;%-I&{?|m,kJ,j=C?;/@~o{~D:Gl[c]("\ ")?","G$p:%~;%~;el!]':p%break~;![':p%#<len(j):~%\n\t\t"\ "%if c=='%while o%\n%m[k]%+=1%\t%if not %c=j[o]%-=1%sy"\ "s.std%[0]*64000,0,0,open(sys.argv[1]).read()%if l.has"\ "_key(c)%in.read(%out.write(chr(%=1%,o".split('%'),"HG"\ "&%/~!#?}{;$@ABCDEFIJ" for i in range(len(x)):z=z.replace(y[i],x[i]) z=z.split('|') for o in range(9): exec("def %c():\n\tglobal k,m,o,j\n\t%s\n"%(chr(97+o),z[o])) l={'>':c,'<':d,'-': b,'+':a,',':e,'.':f,'[':g,']':h} i()
That's a real problem that takes more than 10 minutes for anyone that passed procedural programming 101 to write?Was introduced to the "Fizzbuzz Problem" by a friend today, who said it's an interview question for coding jobs.
Gotta use python to write the C for youBe glad. They suck dick and are also stupid as fuck.
I've bitched about it a lot in the Job Hunt thread. My favorite was whiteboarding fucking python for a job that was exclusively in C and I told them that.They agreed and still thought it was important to be good at python with correct syntax.
You first need to figure out your backend technology stack. There are tons of them, and you need to choose one your hoster supports and a language you are comfortable in. Plus for some languages there are multiple frameworks to choose from, each with different goals, strenghts and limitations. On top of my head:So I'm just looking for someone to point me towards a good tutorial on setting up an account system and an indication of how long it will take to make it.
Yeah I didn't understand any of that. Thanks for much for the information though. I guess PHP/SQL would be the way to go as GoDaddy supports that.You first need to figure out your backend technology stack. There are tons of them, and you need to choose one your hoster supports and a language you are comfortable in. Plus for some languages there are multiple frameworks to choose from, each with different goals, strenghts and limitations. On top of my head:
- PHP + any Database
- Python/Django + any Database (If you go full framework ahead)
- Python/Flask + Plugins you need + any Database (if you go more towards minimalism)
- Node.js + Mongo if you can neither handle two languages at once nor understand what this "Relational Database Model" is all about
- Java - there are tons of ways, like JSP, Servlets, JEXL
- ASP, ASP.NET or ASP.NET Core (there are multiple flavors) if you are a Microsoft shop
- Go if you like building big fat binaries you can roll around and live in
- Ruby if you want Rails that badly
- Groovy/Grails if you want Rails, but also want a Java Virtual Machine
If you don't know the difference between the Boyce Codd Normal Form and the Backus-Naur Form look for something simple that will either manage your SQL database with an object-relational mapper (Java, Rails) or use a simpler storage like MongoDB.
Take a look at this one:So I'm just looking for someone to point me towards a good tutorial on setting up an account system and an indication of how long it will take to make it. I'm looking right now and there's too much choice, I don't want to start a tutorial on a system that can't have the features I need.