u/Stavon - 58 Archived Voat Posts in v/programming
u/Stavon
  • home
  • search

u/Stavon

5 posts · 53 comments · 58 total

Active in: v/programming (58)

  • ‹‹‹
  • ‹‹
  • ‹
  • 1
  • ›
  • ››
  • ›››
Comment on: Programming creativity challenge: draw a ladder

yes '|-|'

1 02 Mar 2017 18:37 u/Stavon in v/programming
Comment on: Programming creativity challenge: draw a ladder

yes H

2 01 Mar 2017 22:59 u/Stavon in v/programming
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.

4 01 Nov 2016 20:15 u/Stavon in v/programming
Comment on: The Evolution of a Programmer

Also a real programmer writes FORTRAN.

0 21 Oct 2016 20:11 u/Stavon in v/programming
Comment on: The Evolution of a Programmer

I haven't seen this for like 15 years, are you an archaeologist?

2 21 Oct 2016 19:57 u/Stavon in v/programming
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.

For deeper insight

1 01 Oct 2016 21:27 u/Stavon in v/programming
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.

0 20 Sep 2016 19:42 u/Stavon in v/programming
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.

1 20 Sep 2016 19:34 u/Stavon in v/programming
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.

1 05 Sep 2016 16:39 u/Stavon in v/programming
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.

1 03 Sep 2016 18:17 u/Stavon in v/programming
What different sorting algorithms sound like
1 0 comments 28 Aug 2016 10:40 u/Stavon (..) in v/programming
Comment on: [Poll] What's your favorite bit?

0, because I have /dev/zero but no /dev/one.

1 15 Aug 2016 19:21 u/Stavon in v/programming
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.

0 03 Jul 2016 06:40 u/Stavon in v/programming
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.

1 02 Jul 2016 08:44 u/Stavon in v/programming
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.

0 14 Jun 2016 20:43 u/Stavon in v/programming
Comment on: Which programming language to learn first [infographic]

Or if you want to work on the Voat code.

0 14 Jun 2016 19:08 u/Stavon in v/programming
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.

1 14 Jun 2016 19:07 u/Stavon in v/programming
Which programming language to learn first [infographic]
75 55 comments 14 Jun 2016 17:42 u/Stavon (..) in v/programming
Comment on: PHP/MYSQL or something different

If an account needs more than username and password I won't make one.

0 14 May 2016 22:48 u/Stavon in v/programming
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

0 14 May 2016 17:27 u/Stavon in v/programming
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.

0 14 May 2016 16:57 u/Stavon in v/programming
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.

0 25 Mar 2016 15:48 u/Stavon in v/programming
Comment on: Was Microsoft acting ethically when they killed TayAI?

It was not an AI, it was a chat bot.

14 25 Mar 2016 00:47 u/Stavon in v/programming
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.

9 11 Mar 2016 23:06 u/Stavon in v/programming
Comment on: why cant an x86 chip be emulated on an fpga?

No, no I'm not.

1 25 Feb 2016 00:48 u/Stavon in v/programming
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.

1 25 Feb 2016 00:39 u/Stavon in v/programming
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.

1 02 Feb 2016 19:15 u/Stavon in v/programming
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.

3 18 Jan 2016 19:56 u/Stavon in v/programming
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.

0 16 Jan 2016 13:44 u/Stavon in v/programming
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.

4 16 Jan 2016 13:38 u/Stavon in v/programming
Comment on: Computer Languages History Timeline

I actually have a printout of the UNIX timeline by the same guy at work.

1 26 Dec 2015 00:25 u/Stavon in v/programming
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.

0 24 Dec 2015 02:37 u/Stavon in v/programming
Comment on: I Want to Start Programming. Where Should I Start?

That depends on what you're doing

0 24 Dec 2015 02:22 u/Stavon in v/programming
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.

0 24 Dec 2015 01:35 u/Stavon in v/programming
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.

0 24 Dec 2015 01:15 u/Stavon in v/programming
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.

8 24 Dec 2015 00:05 u/Stavon in v/programming
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

12 30 Jul 2015 19:30 u/Stavon in v/programming
Comment on: We need a Voat App

Somewhere is a post which links about 10 of them, for Android, iOS and Win Phone.

0 17 Jul 2015 21:51 u/Stavon in v/programming
Comment on: How do /v/, /r/ urls work?

Neat, I didn't know.

7 08 Jul 2015 21:07 u/Stavon in v/programming
Comment on: How do /v/, /r/ urls work?

See line 588 to 592.

18 08 Jul 2015 20:26 u/Stavon in v/programming
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.

9 28 Jun 2015 12:57 u/Stavon in v/programming
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.

0 23 Jun 2015 22:12 u/Stavon in v/programming
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.

1 23 Jun 2015 21:42 u/Stavon in v/programming
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.

0 23 Jun 2015 21:36 u/Stavon in v/programming
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.

2 14 Jun 2015 11:20 u/Stavon in v/programming
Programming Sucks
4 1 comment 13 Jun 2015 11:08 u/Stavon (..) in v/programming
Comment on: List of all programming subverses

Thanks

0 31 May 2015 17:05 u/Stavon in v/programming
Comment on: List of all programming subverses

I agree that all but the last one should be included in your list/set/whatever.

0 31 May 2015 16:35 u/Stavon in v/programming
Comment on: List of all programming subverses

Some missing ones are: /v/code , /v/css/ , /v/devops/

1 31 May 2015 16:23 u/Stavon in v/programming
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.

0 31 May 2015 16:20 u/Stavon in v/programming
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.

2 31 May 2015 10:57 u/Stavon in v/programming
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.

0 31 May 2015 10:52 u/Stavon in v/programming
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.

1 31 May 2015 10:32 u/Stavon in v/programming
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.

3 01 Mar 2015 14:11 u/Stavon in v/programming
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/programming
Comment 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.

1 21 Feb 2015 10:44 u/Stavon in v/programming
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.

2 18 Feb 2015 20:17 u/Stavon in v/programming
Millions of lines of code[infographic]
15 6 comments 18 Feb 2015 19:56 u/Stavon (..) in v/programming
  • ‹‹‹
  • ‹‹
  • ‹
  • 1
  • ›
  • ››
  • ›››

archive has 9,592 posts and 65,719 comments. source code.