[ / / / / / / / / / / / / / ] [ dir / random / 93 / biohzrd / hkacade / hkpnd / tct / utd / uy / yebalnia ]

/prog/ - Programming

Programming

Catalog  Archive

Name
Email
Subject
REC
STOP
Comment *
File
Password (Randomized for file and post deletion; you may also set your own.)
Archive
* = required field[▶Show post options & limits]
Confused? See the FAQ.
Options

Allowed file types:jpg, jpeg, gif, png, webp,webm, mp4, mov
Max filesize is16 MB.
Max image dimensions are15000 x15000.
You may upload5 per post.


File: 1449949563535.jpg (224.88 KB,1140x1310,114:131,1446060072351-0.jpg)

f009b4 No.3709 [Open thread]

Sup /prog/,

I am currently at uni and I am also working as a dev. I've been programming for 3-4 years but I feel like I'm stuck on a platoe. How can I improve? I have 2-3 projects I've completed but they're not very serious.

I can work with Python/C++/Rust/C#/Java/C but I spend most of my time working with Python and Rust.

I tried starting to pick up some CS in order to help me but I'm unsure if this will help me be a better programmer.

What advice would you give me?

1 post omitted. Click [Open thread] to view. ____________________________
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

f009b4 No.3731

To be marketable in the workforce, you'll probably want to learn how to work with databases. Learn SQL while you're at it.

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

f009b4 No.4491

A better programmer how?

Do you want to develop practical skills?

If so, work on projects in strange territory. If you usually do frontend stuff, learn backend stuff. And it's not just writing code. This involves learning some sysadmin tasks, like how to daemonize your code, how to handle config files and logfiles.

And if you usually do backend, learn some frontend technologies. Not just Javascript, but learn some libraries like Angular and Bootstrap. Learn to make web UIs that don't suck ass.

If you want to become smarter, learn smart people languages, ones that will expand your mind. Some examles are Lisp, Ocaml or Haskell. Smalltalk is kind of glossed as a smart person language, but I think it has lots of merit. It's pretty much the gold standard for an OOP language.

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

f009b4 No.4492

If I could do it over, I would spend more time learning math. I had a cousin who went to college for bio-engineering and now he is a developer just learning how to program on the job working on an application that can identify cancer cells viewed through a digital microscope. His skills as a programmer or lack thereof at the time isn't what got him that interesting gig, but his domain knowledge. Develop domain knowledge outside of programming so you can apply your programming to new and interesting things.

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

f009b4 No.4516

>>4492

Wow, i would have never imagined that. Not op but thanks.

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

f009b4 No.4517

>>3709

Learn a different prog language. I love python and the C family, but try out something like LISP. it makes you think about programming in entirely new light

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.



File: 8b941db9cf41786⋯.png (2.77 MB,2000x2000,1:1,background.png)

7fb563 No.4477 [Open thread]

Anyone have a guide on how to customize your 8chan page?

____________________________
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

7fb563 No.4493

File: 5a197de7c615d6f⋯.png (440.47 KB,2880x1630,288:163,Screen Shot 2016-12-08 at ….png)

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

7fb563 No.4494

>>4493

>click [Options]

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

7fb563 No.4525

>>4477

lrn 2 css newfag

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.



File: 4919ea536e99123⋯.gif (25.19 KB,228x250,114:125,serveimage.gif)

26033f No.4450 [Open thread]

Good book for learn Perl?

____________________________
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

26033f No.4451

The llama book (Learning Perl) is great if you don't know much about programming.

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

26033f No.4453

Modern Perl, you can read it free online

http://onyxneon.com/books/modern_perl/

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

26033f No.4457

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

26033f No.4615

>>4457

>sicp

lol

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.



File: 28e6d15361c9fd2⋯.png (2.64 MB,1440x900,8:5,wizard.png)

3a653e No.4444 [Open thread]

So I'm thinking of making a D&D application that handles maps and turns and so on. Kind of like roll20 but not on a website.

So I'm just wondering what api you guys might recommend for the graphical portion. I'm using C#. Its what I was taught sorry

____________________________
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

3a653e No.4634

C and assembly, goy.

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

3a653e No.4635

>>4634

Elaborate

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.



File: e374a3de2bdc0e3⋯.png (10.78 KB,722x434,361:217,2b99ae2367ccd41ab0ce8501f3….png)

7009d1 No.4441 [Open thread]

Hey, i'm working on a hobby operating system called FutureOS. The name is because it'll only get finished in the future, as in, never complete. The goals are to have a FAT12 or FAT32 filesystem, basic sound support, and TCP networking by then end of 2016. The operating system currently runs in 16 bit real mode on the x86 architecture but there will be a way to enter 32 bit protected mode later in development. If you want to contribute to the github repo, you can find it here: https://github.com/Penot1/FutureOS

Right now, there are two commands, "echo" and "loadb". echo prints whatever parameter it is given and loadb loads the second floppy disk into memory. Feel free to submit pull requests, and if you have any questions either send me an email or put them in this thread.

____________________________
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

7009d1 No.4585

Hey how'd you get started on building your own operating system? Have already but want to see how others' ideas came about

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.



c8a876 No.4429 [Open thread]

Alright, so I've been making scripts that interact with websites for awhile now, usually what I do is view the relevant requests with Live HTTP Headers and then work from there. However, this program I am working on now isn't showing the requests to send a message to the chatroom in Live HTTP Headers. Someone told me to use mitmproxy however I am having trouble installing the certificates. Does anyone have any suggestions?

____________________________
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.


File: e2abec74e427e38⋯.png (262.35 KB,287x410,7:10,2016-09-17-205906_287x410_….png)

6044d4 No.4425 [Open thread]

Do any of you know any learning resources similar to build your own lisp(http://www.buildyourownlisp.com/), except for C++?

A tutorial where you build a small/medium sized project, and in the meantime learn about the language.

____________________________
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.


File: 44aa4f69c4aa74a⋯.png (3.83 KB,319x158,319:158,download v45vbn.png)

32d5a9 No.4418 [Open thread]

Do you guys have any guide to learn C# / Visual Studio?

I'm just out of HS and we learned Java but I don't like it, it's a bit too reclusive and I heard C# with VS is more sugary (also more jobs for it here).

____________________________
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

32d5a9 No.4419

I've been learning c# for some time now and have never found a great guide for it. You'll probably want to use multiple sources to get the best results. I've never used anything for just learning VS itself, I just pick things up from using it for C#/C++.

This is alright if you want to learn basic syntax. It also has some quizzes and tests, although I can't speak for how great they are:

https://www.tutorialspoint.com/csharp/index.htm

These two are more focused on Windows Forms, which is nice to know for learning the language but mostly obsolete compared to WPF these days. The videos also go a bit slow but aren't that long:

http://www.homeandlearn.co.uk/csharp/csharp.html

https://www.youtube.com/playlist?list=PL0EE421AE8BCEBA4A

For learning WPF, these are okay:

https://www.youtube.com/playlist?list=PL8m4NUhTQU48LI4hMrzdiLxfSY4-QcJ3l

http://www.wpf-tutorial.com/

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

32d5a9 No.4420

Are you willing to get actual books? Get Microsoft Press "C# Step by Step". requiresJust as a word of caution, the most recent editon focuses on Universal Windows Platform development with VS 2015 and Windows 10. If you only have Windows 7, you probably want to look for an earlier edition (from a quick search this may mean the 2010 edition; yes it uses VS 2010, but most things about the IDE will carry over and WPF is worth learning, probably more so than UWP).

>>4419

I wouldn't use WinForms for developing commercial software, but it still works great and allows you to quickly throw together GUI applications, so it works great for personal projects and LOB programs. It also has the benefit over WPF of being supported by Mono.

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

32d5a9 No.4423

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

32d5a9 No.4424

Using IDEs like visual studio or meant to develope prototypes, getting a working program together quickly. But because of the generated code, it's better to develop 3 tier programs from scratch while using the prototype as a guide

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.



53bbbc No.4280 [Open thread]

Is it possible to learn Java basics in about 1 week?

____________________________
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

53bbbc No.4287

Depends on what you mean by "the basics." If you're starting from no programming knowledge or experience, then probably not. If you are making a thread to asking this question, probably not.

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

53bbbc No.4408

>>4280

IIRC I had the basics down in a few hours and my first ever project was to write an equivalent of a unix shell.

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

53bbbc No.4409

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

53bbbc No.4411

The basics are pretty easy really. It's just about rote memorisation of the Java syntax.

Where it can get difficult and where most tutorials fall short is in learning to conceptualise the best way to build and layout a program you're building for good readability and code portability.

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

90f250 No.5267

alacrity

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.



File: 1470805635133.jpg (143.44 KB,1257x874,1257:874,EVO 1.jpg)

e1639e No.4354 [Open thread]

/prog/ We need to talk about the posters.

Most of your posts are written by brand new coders who are dabbling with a variety of languages. Too many languages. These posters don't seem to know very much about the standards or styles of the code they discuss, yet have many opinions on the quality of the languages they have dabbled with.

Do you know why?

This is because of the Dunning-kruger effect.

Absolute beginners believe they are superior to anyone else, yet while gaining real experience in their confidence is shattered and they become aware of their impotent struggle against the ocean of knowledge that programming actually is.

Well? What do you have to say for yourself.

____________________________
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

e1639e No.4389

The board is dead as it is without scaring the newbs away.

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

e1639e No.4391

>>4354

So what can we do to fix it?

testing code tags


do
multi
lines
work?
id
assume
so

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

e1639e No.4404

If there were already a couple of quality threads here you could try redirecting people from /tech/

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.



File: 1454925825843.gif (19.11 KB,617x388,617:388,u_term_01.gif)

825ec4 No.3909 [Open thread]

Hello /prog/!

Learning myself C at a steady and slow pace. Now I've learn that creating even the most simple TUI using printf is bloody murder. So I've decided to take it to the next level.

Can anyone please tell me if there's a good tutorial on how to create terminals using <curses.h> (or some other library).

3 posts omitted. Click [Open thread] to view. ____________________________
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

825ec4 No.3952

>>3947

Pirate Visual Basic for DOS.

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

825ec4 No.3953

>>3952

>Visual Basic for DOS

Seems cool! And does that code transslate to C code?

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

825ec4 No.3955

>>3940

>>3909

This one is ok OP, just remember that you have to use pdcurses if you want it to be remotely portable.

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

825ec4 No.3959

>>3955

Thanks! But the terminal is to make it easier for me to explore and develop core mechanics.

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

825ec4 No.4392

>>3909

Curses programs don't tend to look nearly as good as that pic. That looks more like something made with the old DOS Borland TurboVision library. Anyway, Borland eventually released the source code for that library, and you might even get it to compile on your OS.

https://en.wikipedia.org/wiki/Turbo_Vision

You can still make nice stuff in Curses, but it's more work, and usually ends up looking more basic and less consistent than stuff made with TV.

There's also the S-Lang library, and various other alternatives.

https://en.wikipedia.org/wiki/S-Lang_(programming_library)

https://en.wikipedia.org/wiki/Text_user_interface

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.



077a75 No.4357 [Open thread]

Experienced hobbiest programmer here. I mostly use C, C++, Go, Python, and sh. I don't know any Java and would like to program apps for Android. What is the recommended course of action?

____________________________
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

077a75 No.4358

Learn Java, obviously. What kind of fucking question is that?

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

077a75 No.4359

>>4358

An asshole answer for a legit question. I was hoping there was a C++ option I hadn't seen yet.

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

077a75 No.4362

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.



File: 1468625574480.jpg (227.26 KB,624x468,4:3,FJMoq.jpg)

c96202 No.4326 [Open thread]

I'm a Brit, recently relocated to the US on a fiance visa, and I'll be eligible to work here later this year.

My last job was as a developer for just under 5 years, working in fintech in London, in a company that's respected in the sector in Europe, but not very well known in North America.

I know that my previous experience and my education (CS at an Oxbridge uni) count for a significant amount in the UK tech job market - lots of tech companies are full of Oxbridge grads, and they like people who went to the same university as them, it's not very fair and it's not deliberate on their part but it's the way it is.

I expect that those things won't count for nearly as much when applying to US companies, and I will probably have to put in some effort to secure a job, I can't simply rely on networking and cronyism again.

What sort of experience should I expect in interviews? Do companies actually look at github profiles? Is HR as stupid over here as is often depicted and should I fill my resume with buzzwords? I'm sure I could pick up whatever technologies most job listings mention given time, but at the moment my skills are not very broad.

____________________________
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

c96202 No.4341

Companies look at everything you post online ever. HR is just as bad as they are depicted in movies. Much of the humor in movies like Office Space stems from the level of truth in it. Buzzwords are a must. Resumes are often screened by programs that prioritize the ones with more buzzwords and toss the ones with few to none. No human will likely read your resume, the US is full of short intention spans and idiotic employers.

The hiring manager will likely glance at or skim your resume, also looking for key words and hoping it isn't as boring as all the other ones they glanced at. They'll base there decision on how convincing you are, how confident/attractive you look, and how quickly you can turn the conversation into a friendly chat about the hiring manager's favorite topic, themselves.

Once you finally get a job, expect a bunch of idiots demanding impossible scenarios to be completed in an unrealistic amount of time.

Social skills and the ability to sell yourself are of the utmost importance. Basically, be everyone's buddy and feign interest in all the boring shit they tend to blab on about incessantly. Actual merit or knowledge is likely to lead to trouble if you flex it too much. If you come off as too intelligent, you may be seen as a potential threat. Also, don't go way above and beyond. People will see this kindness as a weakness and exploit you by dumping a bunch of work on you. They will also generally view you as a pushover and this can really hurt your chances for promotion.

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.



File: 1467397035613.jpg (26.22 KB,477x300,159:100,cross-platform.jpg)

7c2268 No.4311 [Open thread]

Is there any tool that can generate C#, Java and Javascript class files (I know javascript have no classes) that can be easily converted to byte[] and back?

I remember google having something like it, but I don't even know how to search for something like it

I am expecting something that read some xml/json/proprietary file, and produce empty classes with just the serialize and deserialize methods ready

____________________________
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

7c2268 No.4319

You should write that tool yourself. I bet /tech/ would love to make a logo for it.

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

7c2268 No.4330

In case you're still looking, Google's Protocol Buffers. You can also use MsgPack or thrift.

Protocol Buffers have a JSON serialization format, but it's not available in all languages.

The word you're looking for is "serialization". Binary serialization is what it looks like you really want.

Based on your last sentence, google protocol buffers is exactly what you want.

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.



24f8d5 No.4325 [Open thread]

If I wanted to make a programmable VM with customizable opcodes, is there any more performant way to do so than using C to fill an array with function pointers that doesn't involve assembly magic? I would like to keep the code more or less portable.

I am asking because accessing a function pointer is always kind of expensive, so I was wondering if there is some better way to do it or simply any other language that is faster for this purpose than C.

____________________________
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.


Delete Post [ ]
[]
[1] [2] [3] [4] [5] [6] [7] [8]
| Catalog | Nerve Center | Random
[ / / / / / / / / / / / / / ] [ dir / random / 93 / biohzrd / hkacade / hkpnd / tct / utd / uy / yebalnia ]