-  [WT]  [PS]  [Home] [Manage]

  1.   (new thread)
  2. [ No File]
  3. (for post and file deletion)
/pr/ - Programming
  • Supported file types are: C, CSS, DOC, DOCX, GIF, H, JAVA, JPG, PDF, PNG, SVG, SWF, TXT
  • Maximum file size allowed is 10000 KB.
  • Images greater than 200x200 pixels will be thumbnailed.
  • Currently 479 unique user posts. View catalog

  • Blotter updated: 2011-01-12 Show/Hide Show All

Please check this /7ch/ thread to discuss the potential addition of WebM support.

Movies & TV 24/7 via Channel7: Web Player, .m3u file. Music via Radio7: Web Player, .m3u file.


Nattajerk 11/09/07(Wed)10:31 No. 6 [Reply] [First 100 posts] [Last 50 posts] Stickied
6

File Structure_and_Interpretation_of_Computer_Programs.pdf - (2.21MB , Structure and Interpretation of Computer Programs.pdf )

I heart /pr/

lets start with a book thread. I have some cached learning.


106 posts and 86 images omitted. Click Reply to view.
>>
Neckbearded Basement Dweller 14/04/18(Fri)23:32 No. 4409
4409

File 139785673583.jpg - (107.91KB , 600x855 , web design.jpg )

I made an archive of everything in this thread and am uploading it here:

http://volafile.io/r/BEEPi

(search for books.zip)




Newbie Thread patchouli!!SyAQpmZGyw 13/05/26(Sun)19:31 No. 3818 [Reply] Stickied
3818

File 136958949722.jpg - (25.15KB , 293x324 , bjarne2.jpg )

What's this? Just a compiled list of resources silly!
(Also, check out the book thread, lots of lovely stuff)
Ask newbie/where to begin questions in this thread!
~


Language Agnostic:
http://www.gskinner.com/RegExr/
http://www.autoshop101.com/forms/h14.pdf
https://www.khanacademy.org/cs

Editors:
http://www.codeblocks.org/ (great IDE for C/C++ and supports many libraries, cross platform)
http://notepad-plus-plus.org/ (good for scripting languages)
http://www.gnu.org/software/emacs/ (great editor with large learning curve)
Message too long. Click here to view the full text.


17 posts and 2 images omitted. Click Reply to view.
>>
Neckbearded Basement Dweller 14/01/23(Thu)13:41 No. 4280

>>4279
will do, thanks




I Before E Except After C Algorithm(Python) Neckbearded Basement Dweller 13/12/28(Sat)23:47 No. 4261 [Reply]
4261

File 138827083071.jpg - (68.80KB , 620x880 , wrong ie.jpg )

So I was challenged today to prove this graphic I shared on Facebook and ended up disproving it by a lot with a simple python program. As with any good scientist, I would like some people to:
1. Try it with different (>100000 words) wordlists to see if my results hold up that when "I" and "E" are both in a word the I before E rule is followed roughly 75% of the time.
2. Make sure the algorithm is correct.
Enjoy!
SOURCE: https://docs.google.com/viewer?a=v&pid=sites&srcid=ZGVmYXVsdGRvbWFpbnxoYXNlcmVubGFuZXNoZXJzdHVkaW9zfGd4OjUyM2YxYzU0YjZmYWE2N2U


2 posts omitted. Click Reply to view.
>>
Neckbearded Basement Dweller 14/01/03(Fri)05:28 No. 4265

dict: http://downloads.sourceforge.net/wordlist/hunspell-en_US-7.1-0.zip
ei: 444
ie: 1076
cei: 28
cie: 56
both ei and ie: 13

code:

l=open('en_US.dic').read().split('\n') for y in ['ei','ie','cei','cie']: print(y,len([x for x in l if y in x]))


>>
Neckbearded Basement Dweller 14/01/18(Sat)10:42 No. 4277

Another big problem is that the rule only describes words where the "ei"/"ie" spell the sound "ee" as in "bee". There really are very few exceptions.


>>
Neckbearded Basement Dweller 14/04/20(Sun)15:05 No. 4412

>>4265
We almost wrote the same pieces of code.

(use (srfi 1 13)) (let ((words (string-split (with-input-from-file "en_US.txt" read-string)))) (map (lambda (pattern) (cons pattern (fold (lambda (h t) (if (string-contains-ci h pattern) (add1 t) t)) 0 words))) '("ei" "ie" "cei" "cie")))




Neckbearded Basement Dweller 13/01/31(Thu)20:18 No. 3387 [Reply] [Last 50 posts]
3387

File 135965991476.png - (4.10KB , 640x320 , Girls-Who-Code.png )

What do you anons think about those people who are trying to increase the number female programmers in the world?


56 posts and 6 images omitted. Click Reply to view.
>>
Neckbearded Basement Dweller 14/04/16(Wed)22:30 No. 4403
4403

File 13976802282.jpg - (96.11KB , 612x612 , 1389501957013.jpg )

Stupid. Why do you need to increase the number people using something open and available to anyone?

It's same as how Gnome went to shit after they spent such a huge amount of their budget on Women Outreaches program.
http://www.pcworld.com/article/2143160/gnome-foundation-faces-cash-crunch-over-women-outreach-program.html

It's just idiotic.


>>
Neckbearded Basement Dweller 14/04/17(Thu)22:55 No. 4404

>>3496
>But also it helps society to break traditional gender roles by educating our scientifically illiterate women in these fields.

I think the above sentence says it all.

You want to do it? Do it on your dime. And no coercing anyone else.


>>
Neckbearded Basement Dweller 14/04/20(Sun)14:36 No. 4411

It doesn't bother or affect me in any way. It's misguided though. Efforts generally involve just trying to convince girls that coding is possible for them. That won't change how people see and treat girls in society, which is the real goal.




java project abood 14/04/19(Sat)19:21 No. 4410 [Reply]
4410

File PF-0303102-ProgrammingProject.pdf - (92.49KB )

please help me with this java project




phk on how to sabotage everything Neckbearded Basement Dweller 14/04/12(Sat)15:42 No. 4397 [Reply]
4397

File 139731017820.jpg - (43.97KB , 600x400 , Behj8RUCYAAR42X.jpg )

Talk by Poul-Henning Kamp (FreeBSD) @ FOSDEM '14

- he covers how open source projects are sabotaged
- how shit is distracted purposely
- how NSA shills can sneak in patches
- how NSA can shutdown privacy projects with patent trolling
- how Skype was likely bought by the NSA thru proxy
- how totally fucked OpenSSL is
- how totally fucked Ipv6 is
- how totally fucked DNSSEC is

http://youtu.be/fwcl17Q0bpk


5 posts and 2 images omitted. Click Reply to view.
>>
Neckbearded Basement Dweller 14/04/18(Fri)04:54 No. 4406
4406

File 13977896555.gif - (943.54KB , 500x350 , tumblr_mq22z7L1wX1rcatuko1_500.gif )

>>4405
>i was watching a youtube video and it said the NSA has fully cracked TOR
Well, it wouldn't be on Youtube if it were not the absolute truth. No evidence required.


>>
Neckbearded Basement Dweller 14/04/18(Fri)05:17 No. 4407

>>4406
i can't tell if sarcasm or not.... seriously i can't


>>
Neckbearded Basement Dweller 14/04/18(Fri)05:18 No. 4408

>>4406
nice gif btw




is Java dead? Neckbearded Basement Dweller 14/01/05(Sun)05:55 No. 4268 [Reply]
4268

File 138889774551.jpg - (12.51KB , 258x195 , images.jpg )

Is Java dead? or does it have as comeback in the future


13 posts and 1 image omitted. Click Reply to view.
>>
Neckbearded Basement Dweller 14/03/20(Thu)12:34 No. 4374

>>4361
>kids probably get freaked out by the sight of a terminal.
I strongly feel programming should be taught as an extension of math, regardless of language. Beginning with user interfaces and cat pictures produces programmers who struggle to code actually useful things to put in those pretty windows.

As for java, been there, done that. It's a decent learning language, and it's binary/vm portability isn't to be scoffed at, but as a language it may encourage some bad habbits if you are going to do C++ later. It's no biggie if you are aware of it though. I would however probably suggest Python for someone starting out.


>>
Neckbearded Basement Dweller 14/03/20(Thu)12:38 No. 4375

>>4374
Addit*: And by teaching it as math/science it doesn't seem weird to work on a command line or produce only text output.

* Like edit, except you add something. :S


>>
Neckbearded Basement Dweller 14/04/13(Sun)11:59 No. 4399

>>4325
>>4351
i'm in high school too and there are no AP computer courses here though they do teach c# and i did score #1 in the class and get a metal since then i haven't done anything with C# and have only been interacting with C++. But most of the time when i did learn it my freshman year in a class full of sophomores juniors and seniors the teacher didn't know what she was talking about and we had to figure it out ourselves it was a game dev class too. Numerous amounts of students taking her class now have trouble debugging due to the fact that the computer thinks it's running more than one C# and i had to explain why it won't run but i really don't know if they listened. But yeah to what the OP said Java is still alive and well i knew a guy that used java and still does and he hates C and any form of it.




Neckbearded Basement Dweller 14/02/26(Wed)01:41 No. 4336 [Reply]
4336

File 139337531017.jpg - (492.80KB , 1600x2048 , image.jpg )

I just found the fastest algorithim for matrix multiplication


2 posts and 1 image omitted. Click Reply to view.
>>
Neckbearded Basement Dweller 14/02/27(Thu)06:07 No. 4342

Benchmark it against BLAS if you're so sure. Or post the complexity, the best known is O(2.3something n).

>>4341
There's a Nobel for Mathematics. It could only be worth one if it introduced some really good new concept.


>>
Neckbearded Basement Dweller 14/03/23(Sun)01:42 No. 4384

Researcher and senior software engineer doing high performance computing, artificial intelligence, and machine learning. (Largely statistical regression and parameter estimation requiring very large matrix multiplication)

Post the code, if you aren't completely full of shit, I have a job for you.


>>
Neckbearded Basement Dweller 14/04/04(Fri)19:10 No. 4392

Oy Vey! P-please post your code g-goy... I promise I won't steal it and copyright it...




Neckbearded Basement Dweller 14/02/25(Tue)21:38 No. 4333 [Reply]
4333

File 139336069175.png - (42.26KB , 800x444 , vi-emacs-final.png )

So, programming on GNU/Linux:

Which is best? An IDE, Vim, or Emacs? (Instead of shitposting or flamewarring, you have to give a legitimate reason for your answer and why you like it better than the other options)


14 posts and 3 images omitted. Click Reply to view.
>>
Neckbearded Basement Dweller 14/03/21(Fri)15:22 No. 4378

I like to use the QtCreator IDE in fakeViM mode (even for non- Qt coding). You basically get all the benefits of a full IDE(code insight, debugging, project management etc) while keeping the efficient editing of ViM.

I'm okay with using ViM and commandline/scripts though, at least for smaller projects.


>>
Neckbearded Basement Dweller 14/03/31(Mon)22:31 No. 4389

For me the best IDE is same as always: a handful of xterm's (or screen/tmux) running vi, make, cscope, gdb, etc. It's old fashioned, but it still works.


>>
Neckbearded Basement Dweller 14/04/01(Tue)03:46 No. 4390

>>4344
Second that. Geany is a good modern editor that supports stuff like plugins, macros and rectangular selection/edit -- and it is open source.

Sublime text is also ok, but a bit too hip for me -- and it is closed source.

And finally, the editor/IDE is not really important when coding. The important thing is the code itself.

(Unless you code Java. Coding java without Eclipse will make your eyes and fingers bleed. Oh, the amount of boilerplate, factories of factory classes, and javadoc comment blocks...)




Neckbearded Basement Dweller 13/09/03(Tue)22:18 No. 4087 [Reply]
4087

File 137823948674.gif - (4.70KB , 350x450 , utp_colors.gif )

Where can I get info for writing network code for multiplayer games?


4 posts and 2 images omitted. Click Reply to view.
>>
Neckbearded Basement Dweller 14/03/14(Fri)12:44 No. 4369

For most game related things I tend to end up on gamedev.net when searching for answers.


>>
Neckbearded Basement Dweller 14/03/20(Thu)13:08 No. 4377

Also, http://open-game-protocol.org/


>>
Neckbearded Basement Dweller 14/03/23(Sun)01:37 No. 4383

http://beej.us/guide/bgnet/output/html/singlepage/bgnet.html

Read the whole. goddamned. thing.




Delete post []
Password  
Report post
Reason