Comment on: Programming creativity challenge: draw a ladder
1 02 Mar 2017 18:37 u/Stavon in v/programmingComment on: Programming creativity challenge: draw a ladder
yes H
Comment on: How important is Algebra in computer programming
Depends on what you're gonna program.
It's important for example in graphics stuff, encryption or fault tolerance.
Comment on: The Evolution of a Programmer
I haven't seen this for like 15 years, are you an archaeologist?
Comment on: Are programs today easier to understand than the beginning of programming?
With each level of abstraction a program becomes less understandable at the hardware level but more understandable at the abstract level.
When languages get a new version, usually new features get added but none removed for backwards compatibility. So one might say the new versions are less understandable based on this. But the new features are usually simplifying things because developers want that, so one might agree with that otherwise.
Comment on: Are there any open source website vulnerability software packages out there?
As said Kali bundles some tools. The classic would be Metasploit, which is free for some checks but others are commercial IIRC. If you want a simple load test, just script curl or wget, but without JS the load profile might not be that realistic.
Comment on: Are there any open source website vulnerability software packages out there?
There is a bunch. Some are bundled with Kali.
Don't try DDoS over the internet, your provider might cut you off. But in a local network it's a good idea to look where the bottleneck will be.
Comment on: Java: how long to being able to work as part of team? Resource to make that happen?
I mostly meant for finding a job. It's easy to build something with PHP without much coding skill, so there are lot's of PHP programmers with little skill and many companies avoid PHP only programmer or even PHP at all. Java is still widely used in business applications, causing demand in programmers.
Knowing multiple programming languages also shows you know the concepts, not just the language.
Comment on: Java: how long to being able to work as part of team? Resource to make that happen?
It depends only on your coding skills. Java and PHP are similar in many ways, if you know how to code the change isn't hard. But If you only know hoe to PHP, it will be hard.
I never tried codeacademy, but some experience in it or in project Euler can show your skills to an employer. Contributions to open source projects work the same way.
What different sorting algorithms sound like
1 0 comments 28 Aug 2016 10:40 u/Stavon (..) in v/programmingComment on: [Poll] What's your favorite bit?
0, because I have /dev/zero but no /dev/one.
Comment on: Which programming language to learn first [infographic]
I don't know any new languages which should be included. But I'm open to suggestions.
Comment on: Which programming language to learn first [infographic]
It's accurate. But it's more which language fits a task than which language to learn first. You can use every language to do anything but only one fits best. Learning programming is not learning the language, someone who knows programming can switch languages quite fast.
Comment on: Which programming language to learn first [infographic]
everyone who programs needs to learn the fundamentals of something like 8 bit assembly.
I disagree. Those who program for a career should surely know how a compiler or a CPU work, but for those who don't some basic scripting skills will do.
Comment on: Which programming language to learn first [infographic]
Or if you want to work on the Voat code.
Comment on: Which programming language to learn first [infographic]
It has other things I don't agree with, like the difficulty scale for example but I thought I'd share nevertheless.
Which programming language to learn first [infographic]
75 55 comments 14 Jun 2016 17:42 u/Stavon (..) in v/programmingComment on: PHP/MYSQL or something different
If an account needs more than username and password I won't make one.
Comment on: PHP/MYSQL or something different
Thank you for your feedback we are just wondering once we get more users if it will slow down.
It will not slow down because of the technologies you use, as long as you use them right. Until you get really, really many users.
check out the site and tell us what you think
It asks for name and email, so I think I'll pass
Comment on: PHP/MYSQL or something different
For most webapps PHP/MySQL is fine if you know them well. Use the right tools for the jobs and the ones you know to use.
Comment on: Was Microsoft acting ethically when they killed TayAI?
It's all a question of definitions. Sure companies want to sell their bots as AI. Sure some think a trained evolutional algorithm is a personality. Sure some fear that when an "AI" promotes genocide, AI research should be stopped.
Even a "learning" algorithm isn't a life form and shutting it down is not killing or ethically questionable. That would be like equaling shutting off a computer with killing because its current state could be interpreted as a state of mind.
Some people just like to associate machines and programs with persons.
Comment on: Was Microsoft acting ethically when they killed TayAI?
It was not an AI, it was a chat bot.
Comment on: Programming tip: Stay away from throwing exceptions.
I wouldn't go that far. But exceptions are for exceptional events, like a full disk or other events you can't prepare for; not for handling user inputs or edge cases. Throwing an exception should be the last measure, the code should deal with handable problems without exceptions.
Comment on: why cant an x86 chip be emulated on an fpga?
No, no I'm not.
Comment on: why cant an x86 chip be emulated on an fpga?
Technically it should be doable on a huge FPGA and very slow.
Legally, probably as long as you won't sell it. Or just make it in China, they also copied a MIPS processor for their supercomputer.
Comment on: Programmer quits work on project after getting triggered by a variable name (The comments, however . . .)
The problem is the opposite is happening and there are SJWs forcing CoCs onto projects which enforce a safe space for everything in the project and even what devs say unrelated to the project. The SJWs won't run their own fork, they want the others to change and accept their rules.
Comment on: Programming for a Year and Need Direction
Do I start learning another language?
Only of you feel you'd rather write code in some other domain. Like web, lowlevel, scripting, databases, etc. . Knowing more than one language sure is beneficial but usually having more than one year of experience in one language is better if it's the right language for the task.
Do I maybe work on a big Java project?
Yes, you don't need to do a lot of work on it, but it helps a lot if you manage to work on a big java project. In the industry most projects are big and ugly and you'll better be able to handle it.
when will I be competent enough to enter the job market?
Now if you find the right job. Software projects have usually quite a lot of work which doesn't need a lot of experience. It will not be very interesting, but you'll learn a lot.
I feel like I've just wasted my time! I have no idea how to actually build a computer application or game or anything that would actually be marketable.
You probably didn't. Beginners projects aren't that good. You'd have probably spent your time for sales and bookkeeping instead of programming and have learned less while still making losses or barely even. Competition is hard on the software business, especially if you have to compete against $0.99 apps and free ones.
Comment on: Which voat plugin should we contribute to?
I know the problem. It's nothing you can set up on a test server.
Thing is there are about 20 plugins and none is dominant AFAIK. Maybe JS is where you could make improvements.
Comment on: Which voat plugin should we contribute to?
Contribute to Voat instead. Plugins only help a fraction of users where contributions to Voat help everyone.
Comment on: Computer Languages History Timeline
I actually have a printout of the UNIX timeline by the same guy at work.
Comment on: I Want to Start Programming. Where Should I Start?
No, arduino is not a programming language. But it's a very easy way to intercept with hardware without needing to know much software.
Sure professional electronics and software are more complicated. But IMO Arduino is a good starting point for people interested in software and hardware.
Comment on: I Want to Start Programming. Where Should I Start?
That depends on what you're doing
Comment on: I Want to Start Programming. Where Should I Start?
Arduino is not a bad choice if you look at it from the low level perspective. You can clearly read or write a bit on a pin. You don't have such near hardware access in most other scenarios. And compared to a RaspPi, it's much easier to understand completely.
Comment on: I Want to Start Programming. Where Should I Start?
Python is generally a good choice. But if the focus is on a special field where python isn't well suited there are better choices. For example microcontroller programming on arduino.
Comment on: I Want to Start Programming. Where Should I Start?
would you suggest getting a new laptop? What kind of specs should I need?
No, to learn programming a computer from the 80es or a RaspPi 0 is enough. You won't be able to do fancy 3D graphics, but for 98% of programming it will do.
What are some good developer tools to start out with?
You need a good text editor you're comfortable working with. The rest depends on what you're going to do and on the programming language.
Would you suggest any books or articles that might be helpful
There are no books which cover all of programming and are good for beginners. Choose a problem, which is not hard if you ask a programmer, choose the tools to solve it and read the books on them. Then solve the problem with a program.
Comment on: If someone with 5-10 years of experience in something, be it Java or a specific database, is called 'Senior'....
Guru, then legend
Comment on: We need a Voat App
Somewhere is a post which links about 10 of them, for Android, iOS and Win Phone.
Comment on: How do /v/, /r/ urls work?
Neat, I didn't know.
Comment on: How do /v/, /r/ urls work?
See line 588 to 592.
Comment on: Newbie question regarding OOP
I am sorry for this stupid question
This is not a stupid question, it's the sorrt of question people should aks.
There is no correct way, you always have to choose between several options. Unless one way needs to be taken for performance reasons I strongly recommend you use the most readable one.
Comment on: Anybody own a Raspberry Pi? Care to share any cool projects you've done on it?
Do you know if there ia still a special OS version needed to do somewhat reasonable floating point operations? Is the free graphics driver they announced available yet? I haven't chacked in a while.
Comment on: Anybody own a Raspberry Pi? Care to share any cool projects you've done on it?
No, I just have better computers to use, so I don't use the slowest ones.
Comment on: Anybody own a Raspberry Pi? Care to share any cool projects you've done on it?
I own at least 3 and haven't done anything cool with them. I also own a bunch of similar boards which suffer the same fate.
Comment on: Isn't .NET a weird choice?
It sure is. But this is a project for learning turned into a real thing, you can't change now.
Noe would be easier than anytime in the future, but still not practically possible.
Comment on: List of all programming subverses
I agree that all but the last one should be included in your list/set/whatever.
Comment on: What do you think is the best programming style?
I disagree with whoever wrote the python style guide. But for a phthon based project I'd still stick to it.
Comment on: What do you think is the best programming style?
Comments are a good thing. However too many of them make the code less readable. There is no need for a comment explaining what each line does, the code does that; the comment is to explain why.
Comment on: What do you think is the best programming style?
Some languages like C don't have a lot of conventions though
In this case take one or make a style guide everyone on a project has to follow. Most of it doesn't matter but is very annoying if it's mixed.
indent
One tab or two spaces
curly braces
Use them. Otherwise sooner or later some tired or unknowing or multitasking programmer will add a second line to the indented one liner.
name different things, like camel case, Hungarian notation
Hungarian notation is obsolete for projects using an IDE where you can see the type with a hover or click or shortcut. Otherwise use language conventions and avoid bad names like mySomething and other names not describing what the named this is.
Comment on: List of all programming subverses
I don't know of a list but there is a set. I have no clue hoe complete and up to date it is though.
Comment on: If you;d write a voat clone, what technology stack would you use?
surely something which would allow you to fix typos in the title.
If you;d write a voat clone, what technology stack would you use?
4 4 comments 01 Mar 2015 13:57 u/Stavon (self.programming) in v/programmingComment on: Millions of lines of code[infographic]
Most programmers do both and I think the older software gets, the more work is used in the upkeep.
Sure there is software which is released and never updated, but I think most is kept updated for years.
Comment on: Millions of lines of code[infographic]
New cars have many embedded computers. Motor controller, safety systems, parking aids, navigation, IVI, etc. all need code.
yes '|-|'