Leave these fields empty (spam trap):
Name
You can leave this blank to post anonymously, or you can create a Tripcode by using the float Name#Password
A subject is required when posting a new thread
Subject
Comment
[*]Italic Text[/*]
[**]Bold Text[/**]
[~]Taimapedia Article[/~]
[%]Spoiler Text[/%]
>Highlight/Quote Text
[pre]Preformatted & Monospace text[/pre]
1. Numbered lists become ordered lists
* Bulleted lists become unordered lists
File

Sandwich


javascript by Lydia Gudgedale - Sat, 12 May 2018 20:10:25 EST ID:r5si74OP No.37533 Ignore Report Reply Quick Reply
File: 1526170225292.png -(863168B / 842.94KB, 1452x2208) Thumbnail displayed, click image for full size. 863168
just sharing this enjoyable picture image with a text post
3 posts and 2 images omitted. Click Reply to view.
>>
Shit Fanfield - Fri, 01 Jun 2018 20:05:49 EST ID:+t8dQYkO No.37550 Ignore Report Quick Reply
Eso marea
>>
Hannah Ballyspear - Sat, 02 Jun 2018 10:04:55 EST ID:9QSfnS0r No.37554 Ignore Report Quick Reply
>>37543
Worse of all
[] == {}
false
>>
Hannah Ballyspear - Sat, 02 Jun 2018 10:09:46 EST ID:9QSfnS0r No.37555 Ignore Report Quick Reply
>>37554
That said I don't use the equality operator in most cases.

Where type coercion is useful are (sadly neeccesary santiy checks like)

if (thing && otherthing && thing[otherthing] && thing[otherthing].value ) {
// use thing[otherthing].value
}
>>
Angus Clommermud - Tue, 26 Jun 2018 16:05:30 EST ID:lP7MCiRB No.37570 Ignore Report Quick Reply
Just sharing this enjoyable link of a Markov chain trained on the Puppet documentation and the assorted works of H. P. Lovecraft.

Excerpt:
“At length they emerged on a muddy road to find the server, how to authenticate to it, and more.”

http://thedoomthatcametopuppet.tumblr.com/?
>>
Fanny Gunnerstock - Sat, 30 Jun 2018 07:54:12 EST ID:lP7MCiRB No.37571 Ignore Report Quick Reply
1530359652515.png -(729B / 729bytes, 135x34) Thumbnail displayed, click image for full size.
> Haskell


Learning C# by James Randi - Thu, 21 Jun 2018 15:15:03 EST ID:x3YbP8ya No.37565 Ignore Report Reply Quick Reply
File: 1529608503008.png -(23689B / 23.13KB, 1600x1600) Thumbnail displayed, click image for full size. 23689
Can you recomend any good books I can get in PDF or good online free "courses"to learn some C#
I'm using sololearn.com right now and its ok but i wanted to try some other sort of things like this.
>>
Graham Coddleman - Thu, 21 Jun 2018 15:42:44 EST ID:2qXrTEql No.37566 Ignore Report Quick Reply
Fuck MOOCs. Find a book you want on Amazon and get it off of libgen.
>>
Hedda Tillingbanks - Fri, 22 Jun 2018 01:18:08 EST ID:Xm/W+3lL No.37567 Ignore Report Quick Reply
C# is a great language to learn.

Maybe give one of the "for dummies" series of books a try if you really don't know where to start. Or try a free online course!
>>
James Randi - Fri, 22 Jun 2018 03:43:40 EST ID:x3YbP8ya No.37568 Ignore Report Quick Reply
>>37567
It's like you didn't actually read my OP
>>
James Randi - Fri, 22 Jun 2018 11:04:23 EST ID:x3YbP8ya No.37569 Ignore Report Quick Reply
>>37567
Thanks for the advice, I plan to get an Ebook reader soon so I can load it up with good starter C# books. Keep the recommendations coming but also for some good online tutorials.
I was doing some of the courses in Unity tutorials.
I had some saved to a list from 3 years ago that I thought were better than the current tutorials they have. The newer ones feel less helpful. But I guess since they updated unity they unlisted those videos. I have the urls for a few random ones saved but not the whole play lists sadly.


I love u 420 by Jack Dribbleham - Tue, 19 Jun 2018 15:25:31 EST ID:8n5k8z4E No.37563 Ignore Report Reply Quick Reply
File: 1529436331824.png -(3114040B / 2.97MB, 1300x1370) Thumbnail displayed, click image for full size. 3114040
Soi don't know much about programming
I've been using computers since I was basically born and remember rainbow logo macINTOSH computers when're that was a thing
I've decided I'd like a career change

I want to eventually deal with AI or Cybersecurity
And by AI I am pretty certain I mean a type of machine learning where you build a "neural net"
I think thats like the predominant thing in that field right now
Im really interested in for lack of a better term "future tech" like bioengineering and anything that has to do with the human body and tech kinda "merging" in any sort of way
I've always really been so interested in the way networks and computers interact which is why cybersecurity is another thing Im really starting to look into, I think computer forensics falls into that category tooI guess that involves "hacking" to an extent to understand how to attack/infiltrate a system?

I'd like to learn on my own and slowly build a kinda portfolio and eventually when I think I'm good enough try and contribute to any ongoing projects or something, to gain "clout'
(really more like rub shoulders with people who can help me later haha.)

But before all that I'd really like help figuring out the best avenues of action from you guys hence this post and all that.
Comment too long. Click here to view the full text.
>>
Oliver Mazzleman - Tue, 19 Jun 2018 22:22:15 EST ID:2qXrTEql No.37564 Ignore Report Quick Reply
Python is both the lingua franca of AI and frequently recommended to infosec people. It's not without its problems, but unless you have very specific constraints you have to worry about it's generally a good choice for any project.


Hello WordPad by Hugh Fasslespear - Sat, 16 Jun 2018 12:27:34 EST ID:lP7MCiRB No.37558 Ignore Report Reply Quick Reply
File: 1529166454438.png -(48735B / 47.59KB, 960x1039) Thumbnail displayed, click image for full size. 48735
I'm learning to code but any ideas I come up with are too big / complex for my current skill level.
If you could order me to make a small shitpost toy program I'd be very happy.
Make me code, daddy
>>
Molly Fizzlenog - Sat, 16 Jun 2018 15:13:49 EST ID:2qXrTEql No.37559 Ignore Report Quick Reply
I'm not a big fan of building stuff as a way to learn a language. Functions and data structures, sure, but it's far more instructive to read real programs than to attempt them. Anyway, maybe you could do a text adventure or Conway's Game of Life.
>>
Phyllis Brushcocke - Sat, 16 Jun 2018 16:53:25 EST ID:Xm/W+3lL No.37560 Ignore Report Quick Reply
Why don't you try to make a small text-editor program, like Notepad or Wordpad?
>>
Hamilton Cucklestone - Sat, 16 Jun 2018 20:57:02 EST ID:lP7MCiRB No.37561 Ignore Report Quick Reply
>>37559
>>37560
I appreciate it!
Might actually combine, my editor of choice [Textadept] is purposefully small sourced at 6k LOC total, maybe I'll try to remake it in Common Lisp. Still kinda a larger project than I was going for, but since I have something to work from it might work. Kinda like a pixie emacs in CL instead of eLisp without all of those features.

And then integrate a text adventure right into the editor, cause emacs
>>
Telvanni Bug Musk - Tue, 19 Jun 2018 11:15:33 EST ID:lP7MCiRB No.37562 Ignore Report Quick Reply
>>37561
Clarifying, by combining I meant that then I actually have a reason to read through some real source, I've known that I should but I never get around to read just for readings sake. Doing it for a reason (rewriting) gives cause.

Going in I realized I have no idea where to even begin. There's loads of source files and I've no idea which one to start reading in. I'm pushing on though.


SQL???? by Frederick Billingham - Thu, 29 Jun 2017 23:03:54 EST ID:CWRrpPJ1 No.37095 Ignore Report Reply Quick Reply
File: 1498791834108.jpg -(13839B / 13.51KB, 312x311) Thumbnail displayed, click image for full size. 13839
heya proggers

what are the career prospects for those proficient in SQL and SQL alone?

Took a year long course in marketing research and I realize the databasers seem more of my folk than than the marketeering knobs.

What languages complement SQL? What are some good resources for learning SQL?

Thanks proggies
4 posts omitted. Click Reply to view.
>>
Lydia Buzzcocke - Wed, 19 Jul 2017 15:10:59 EST ID:hh4uYXvR No.37117 Ignore Report Quick Reply
>>37095
> what are the career prospects for those proficient in SQL and SQL alone?
not many, unless you're a Microsoft SQL (TSQL) guru. You do need to know your way around the OS the DB is on as well, if you are to solve problems with the SQL server.

Unless you're also a programmer in some way, you're unlikely to get your foot in, as you are expected nowadays to not only manage the DB and be able to query, but to expand it and integrate it in a product as well.
Where I work (as a sysadmin), the programmers take care of DB layout, integration etc... I just take care of the server, user rights and make sure it all runs smoothly and is backed up.

The REAL challenge is balancing the workload properly between DB and programs...

What languages complement SQL? What are some good resources for learning SQL?
Any language can speak to any language, provided there's an API or library
The answer really depends on if you want to make practical apps or websites. C# is a good (albeit Microsoft-centric) start, as you can both do .exe apps and websites (with ASP.NET) quite easily. I find both MSSQL and Visual Studio have some good features to help beginners along and save time.

If you decide on C#, have a look at LINQ to SQL and Entity Framework (and linqpad for debuggin' and tweakin') as those can help you make safe DB calls without too much fuss.
Comment too long. Click here to view the full text.
>>
Betsy Bommlebut - Thu, 20 Jul 2017 12:50:07 EST ID:xjxP6QN5 No.37118 Ignore Report Quick Reply
>>37117
> Entity Framework
If you do this you'll never really understand data. Avoid object-relational mappers like the plague (cause they are a plague), see >>37113 for the straight dope
>>
Wesley Bardhood - Fri, 21 Jul 2017 14:41:06 EST ID:9QSfnS0r No.37121 Ignore Report Quick Reply
>>37118
Sometimes you are forced to, because your colleagues are using it or your boss wants you to use it because they think it makes your codebase portable across database daemons.
I hate ORMs with fervor but I still use one almost every day.
>>
Isabella Packleson - Tue, 25 Jul 2017 15:57:46 EST ID:V7eGwZUD No.37123 Ignore Report Quick Reply
OP, get into PostgreSQL. It's a legit good analytical tool and my company uses it everywhere.
>>
Shit Fanfield - Fri, 01 Jun 2018 20:09:22 EST ID:+t8dQYkO No.37553 Ignore Report Quick Reply
Que biyo más feo


Fuck learning all this shit by Cyril Fundlemog - Sun, 07 Jan 2018 23:01:24 EST ID:EOzYeBa9 No.37259 Ignore Report Reply Quick Reply
File: 1515384084027.jpg -(24595B / 24.02KB, 340x451) Thumbnail displayed, click image for full size. 24595
I wish I could know how to code without having to learn it.
5 posts omitted. Click Reply to view.
>>
Thomas Buzzstone - Fri, 02 Feb 2018 01:34:31 EST ID:HH6lED9y No.37309 Ignore Report Quick Reply
>>37259
If you want an intro to programming that utilizes python, check out MITx 6.00.1.
>>
Archie Sucklelock - Sun, 25 Feb 2018 23:29:30 EST ID:c9h0RhPb No.37453 Ignore Report Quick Reply
How do I learn to enjoy programming or to actually know what I'm doing?

I'm in college and am in computer science and I just fucking detest programming classes. I find myself completely unable to do anything so I've hidden away in math courses and really theoretical courses.

I just cant wrap my head around it. I dont know what im missing
i have the basics but I cant seem to actually make anything
>>
Henry Nendersot - Tue, 27 Feb 2018 01:00:25 EST ID:BW3MomrQ No.37455 Ignore Report Quick Reply
>>37453
Maybe programming isn't for you then. It sounds like you have a penchant for maths though, so that's good.
>>
David Dartham - Tue, 27 Feb 2018 14:03:31 EST ID:1j8iF08r No.37456 Ignore Report Quick Reply
>>37453
Programming is a craft. If all you've ever done is toy CS programming then of course you can't make anything. Try a software engineering course or apply for Google Summer of Code or just look at some small open source applications. Also a lot of CS people can't write software to save their lives, so don't sweat that.
>>
Shit Fanfield - Fri, 01 Jun 2018 20:07:15 EST ID:+t8dQYkO No.37551 Ignore Report Quick Reply
Me recuerda a la película hete


work less by slack off - Thu, 24 May 2018 21:38:13 EST ID:c0hoKBBr No.37548 Ignore Report Reply Quick Reply
File: 1527212293108.png -(66024B / 64.48KB, 1269x598) Thumbnail displayed, click image for full size. 66024
The book called 4 hour workweek inspired me to develop this system. What it taught me is having a business is good but having a formula for it is better. There's no doubt scaling with no resources is hard, but in a way that is the essence of scaling.

by the way, I hate my life and wish I had the guts to commit suicide
>>
Ebenezer Gevingwit - Thu, 07 Jun 2018 14:18:13 EST ID:r5si74OP No.37557 Ignore Report Quick Reply
good luck


C++ Design: Too Many Arguments!! by Alice Sezzlehed - Sat, 12 May 2018 13:28:25 EST ID:ooXJl0td No.37530 Ignore Report Reply Quick Reply
File: 1526146105683.jpg -(970836B / 948.08KB, 3048x2432) Thumbnail displayed, click image for full size. 970836
Hi guys and gals,
My C++ program (a roguelike game with lots of lists) is becoming pretty large. As I try to clean things up, I’m noticing I’m creating huge ass functions with many arguments (since I’m passing so much data sets around).

I think I’m pretty meticulous about keeping track of everything, so it’s not that I’m running out of computer memory, it’s just the code is impossibly long and ugly. Is it normal to have functions with 10+ pointers to different datasets, etc.?? Or am I dokng somethig wrong - any idea how to fix it?

Id love to hear your ideas!!
7 posts omitted. Click Reply to view.
>>
Jarvis Bemmerbury - Mon, 14 May 2018 19:00:49 EST ID:r5si74OP No.37541 Ignore Report Quick Reply
>>37535
Oh it would be so cool if the outdated university curriculum included stuff like that in it.
>>
Doris Cradgelot - Fri, 18 May 2018 04:12:24 EST ID:+joVuqaF No.37544 Ignore Report Quick Reply
If you're using a lot of default values you can initialize them with a lambda (an anonymous function) like:

int foo( int n ) {
auto bar = [](int n, int constant) { return n + constant; };
return bar( n, 2 );
}

This is an extremely contrived example of the partial application pattern, but the important thing to note is that the `foo` function only takes one argument, then `bar` is called from inside with both the default argument and the argument passed to `foo`.
>>
Esther Pullerforth - Mon, 21 May 2018 02:44:25 EST ID:Xm/W+3lL No.37545 Ignore Report Quick Reply
>>37544
I personally find lambda function usage in C++ more complicated than standard explicit named function usage most of the time.
>>
Hedda Turveywater - Mon, 21 May 2018 15:20:05 EST ID:+joVuqaF No.37546 Ignore Report Quick Reply
>>37545
The lambda expression comes in handy for partial application because you can't nest standard functions in C++. Plus, if the lambda is only meant to be a helper for one particular function, you wouldn't want it to pollute the global name space anyway.
>>
Phyllis Dunnerbudging - Wed, 23 May 2018 11:09:54 EST ID:De9RwqWL No.37547 Ignore Report Quick Reply
>>37530
Yes, roguelike games have many pointers to different datasets like: character attributes, monsters, spells, potions, locations.
And the routines can be very very long, especially the case statements covering all possibilities.

In contrast to what others say, generally do not split routines into smaller functions if there is only one caller. Otherwise you will be scrolling all over the place and making a bigger out-of-context mess than you can imagine.

What you should do is avoid global variables. Collect them all into a larger struct and pass that along as a pointer to a 'global dataset'.

Look into nethack and ularn for comparison.


Mini multiplayer server instance by Jenny Wezzlechet - Tue, 08 May 2018 12:02:54 EST ID:S/rykYgn No.37528 Ignore Report Reply Quick Reply
File: 1525795374104.gif -(562047B / 548.87KB, 200x200) Thumbnail displayed, click image for full size. 562047
This is a hard question to explain because English is not my first language.

I have a game coded with socket.io that uses a persistent world. When a player clicks play, he enters the world and can manipulate it like singleplayer Minecraft. However, many other users can access the server at the same time and modify the world so that the first player sees modification, but none of the players can see each other. All enemies, bullets, etc are only for each individual player. Players only can see world modifications of other players.

I want to make it so groups of 2 players can player simultaneously. So these 2 players can see each other as well as world modifications of all other players. Would I just have to have multiple servers? I want to just use the 1 server to let groups of 2 players to play the game like how solo players play the game now. I can't afford to host many small servers.
>>
Sidney Surringwock - Fri, 11 May 2018 01:19:59 EST ID:Xm/W+3lL No.37529 Ignore Report Quick Reply
Since your game is like Minecraft, you could simply have one very large procedurally generated world that was so big that it's highly unlikely that any group of 2 players would ever run into one of their neighboring groups of players.


C++ by Hugh Cevingwater - Mon, 09 Apr 2018 09:00:46 EST ID:9B4LusOJ No.37498 Ignore Report Reply Quick Reply
File: 1523278846948.jpg -(24430B / 23.86KB, 576x768) Thumbnail displayed, click image for full size. 24430
I'm looking for something a bit like std::map, except that I don't care about a <key, value> pair; I just want to be able to say to the thing, "here, keep this integer". And "hey, have you got that integer, yes or no?"

Something tells me a hashmap isn't the right tool for the job, but I can't seem to figure out what is. Any ideas?
>>
Albert Hingerdat - Mon, 09 Apr 2018 09:33:39 EST ID:8hwK1pxu No.37499 Ignore Report Quick Reply
>>37498
You probably want std::hash

It's like std::map, except it only takes a key and instead of having to implement less than, you have to implement a hash function for the type you are using if it doesn't have one
>>
Hamilton Drallerson - Tue, 10 Apr 2018 15:06:39 EST ID:9B4LusOJ No.37509 Ignore Report Quick Reply
>>37499
Oh that did the trick. Thanks.
>>
Doris Clubblesedge - Sat, 05 May 2018 15:20:32 EST ID:w/eFrgQ5 No.37526 Ignore Report Quick Reply
Why not set or multiset? http://www.cplusplus.com/reference/set/
>>
Shitting Gumbleman - Sun, 06 May 2018 03:33:29 EST ID:Xm/W+3lL No.37527 Ignore Report Quick Reply
If all you care about is "could this item potentially be in this set?", then you might want to look into using a Bloom filter datastructure (not the kind used in graphics, but the other kind used in general computer science).
https://en.wikipedia.org/wiki/Bloom_filter
>>
Jarvis Bemmerbury - Mon, 14 May 2018 19:02:15 EST ID:r5si74OP No.37542 Ignore Report Quick Reply
>>37527
y not just a set


C++ from Java by James Badgeham - Mon, 30 Apr 2018 11:44:50 EST ID:uuXCv622 No.37523 Ignore Report Reply Quick Reply
File: 1525103090443.jpg -(131910B / 128.82KB, 900x750) Thumbnail displayed, click image for full size. 131910
Alright boys, I just finished my first year of Applied Computer Science, we were taught Java extensively and had one class on VB in the second semester (god I hope I never have to work with that) Anyways, apparently next year we continue on the programming concepts we learned expanding into things like multi-threading which we haven't learnt yet, except we switch to C++. The thing is, we don't actually get taught C++, we're just taught IN C++. The advice from the second years I got was teach yourself C++ over the summer and that will be the easiest class you take next year, otherwise it will be the hardest. So, what resources could you recommend to make that transition? What are specific Java-to-C++ quirks I might need to know?
>>
Fucking Wublingbanks - Mon, 30 Apr 2018 18:38:08 EST ID:jPnU+Gop No.37524 Ignore Report Quick Reply
Download and spend a weekend on A Tour of C++. Then make a toy project to feel out your compiler and workflow. You'll be way ahead of the curve.
>>
Phyllis Gingerway - Wed, 02 May 2018 02:36:17 EST ID:Xm/W+3lL No.37525 Ignore Report Quick Reply
Learning C++ without learning C might be the largest part of the hurdle for you. Otherwise, many of the object-oriented paradigms of Java carry over into C++. For a very high-level view, read Wikipedia's entry on the differences and similarities between C++ and Java:
https://en.wikipedia.org/wiki/Comparison_of_Java_and_C%2B%2B

Also the sooner you download Visual Studio (it's free now, so there's no excuses!) and learn how to use an interactive debugger, the better off your entire life will be.

There are some large differences that you'll have to learn between the languages. Most of them fall under the category of "things Java does for you that C++ makes you do manually". Things like this include:
  • Memory management. Garbage collection is *not* a thing in C or C++, so you have to manage the creation and deletion of your objects manually (using new/delete or malloc/free or placing the objects on the stack as automatic variables).
  • Pointers, references, and by-value passing of variables. This is pretty important in C and C++ (C doesn't support references). Pointers are a new concept of a variable that can "point" to arbitrary locations in memory (or to "null"). References are really just pointers with a nicer syntax that can only point to one thing. So much stuff in C/C++ is pointers and this is a really important language concept, so make sure to try to learn it well!
  • Strings are not really a built-in type. You can use std::string for ease of use, but you really should get comfortable with C-strings (character arrays or char*).
  • Operator overloading is possible in C++. This is not necessarily a required feature, but the ability to redefine operators is useful for various purposes.
  • "const" is a special keyword in C and C++ and it marks a variable as being non-modifiable after the first time it is written. This is a lot like Java's "final" keyword for variables.
  • The built-in types are mostly the same: short, int, float, and double all mean the same things between the two languages. Also both languages have a type for boolean logic ("bool" in C/C++ and "boolean" in Java). C/C++ also support "unsig…
Comment too long. Click here to view the full text.


Game dev live stream by Otay - Sat, 28 Apr 2018 12:36:33 EST ID:/kCdQ+UW No.37520 Ignore Report Reply Quick Reply
File: 1524933393357.jpg -(52501B / 51.27KB, 500x471) Thumbnail displayed, click image for full size. 52501
im writing a game in an out dated version of the unreal engine and streaming it :] https://www.twitch.tv/otayzilla
>>
Lillian Simmlebeck - Sat, 28 Apr 2018 23:10:42 EST ID:2j3uquS6 No.37521 Ignore Report Quick Reply
Aw yeah dog let me waste my life by watching you waste your life.
>>
David Tillingfuck - Sun, 29 Apr 2018 03:43:43 EST ID:Xm/W+3lL No.37522 Ignore Report Quick Reply
>>37520
Have fun, OP!


<<Last Pages Next>>
0 1 2 3 4 5 6 7 8 9 10 11 12 13
Report Post
Reason
Note
Please be descriptive with report notes,
this helps staff resolve issues quicker.