Search found 34 matches

by mister_m
Sat Feb 14, 2015 5:11 am UTC
Forum: Computer Science
Topic: Fleeting Thoughts (CS Edition)
Replies: 99
Views: 69511

Re: Fleeting Thoughts (CS Edition)

Trying to teach myself some Scala/FP. Going through some exercises on foldr/foldl currently. Reasoning about these becomes a little easier if you are able to answer "what is the last argument this function recieves?". For instance, reversing a list using foldLeft becomes pretty simple if y...
by mister_m
Sun Sep 30, 2012 6:18 am UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 9979
Views: 1981195

Re: Coding: Fleeting Thoughts

As someone who has just inherited a VB.NET web application that - with all honesty - is an absolute mess; a significant portion of my work day is a bit on the frustrating side. No unit tests, a large database without any integrity constraints, lots of clients, etc. It is a tough situation to deal wi...
by mister_m
Sun Jan 15, 2012 10:35 pm UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 9979
Views: 1981195

Re: Coding: Fleeting Thoughts

I just got finished with the first ever programming interviews that I ever had. Needless to say, I was quite nervous during the interviews and a little distracted. Both of these companies had me do phone interviews before I came in that I did (I think) fairly well on. i could list some excuses as to...
by mister_m
Mon Nov 21, 2011 11:45 pm UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 9979
Views: 1981195

Re: Coding: Fleeting Thoughts

EvanED wrote:Any algorithm book, probably. This is one of the standard suggestions.

For maps, you have to decide whether you're more interested in tree-based or hash-based maps.


How would you make a data structure generic in C?
by mister_m
Fri Nov 11, 2011 5:36 am UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 9979
Views: 1981195

Re: Coding: Fleeting Thoughts

I aspire to become a master of C. Does anyone know where I can find a decent writeup about heaps and maps? I'd like to implement these data structures.
by mister_m
Fri Nov 04, 2011 11:08 pm UTC
Forum: Computer Science
Topic: Undergraduate Research Topics
Replies: 3
Views: 1828

Re: Undergraduate Research Topics

Do a comparison of immutable data structures to mutable data structures. If you pick your research carefully, you can discuss differences between languages and how different structures interact with threading and distributed systems. Thanks for the reply. Do you mean specifically to examine how sta...
by mister_m
Thu Nov 03, 2011 9:12 pm UTC
Forum: Computer Science
Topic: Undergraduate Research Topics
Replies: 3
Views: 1828

Undergraduate Research Topics

Hi guys. I am looking around for an approachable research topic for an independent study. Areas I am interested in are Programing Languages, Distributed Systems, Threads, and Data Structures. I haven't really tried to do anything like this before, so all this stuff is pretty new to me. I'd appreciat...
by mister_m
Tue Oct 11, 2011 7:09 pm UTC
Forum: Coding
Topic: The "IT DOESN'T WORK!" thread
Replies: 1958
Views: 557587

Re: The "IT DOESN'T WORK!" thread

I am trying to compute the possible paths from node 0 on this graph, to node 2. I have the graph stored in the following adjacency matrix: 0 1 2 0 1 1 1 1 1 1 1 2 1 1 1 The method I read about was multiplying the matrix against itself n times, where n is the maximum path length that you want to find...
by mister_m
Wed Oct 05, 2011 6:22 am UTC
Forum: Coding
Topic: Starting out with Fractals (direction needed)
Replies: 15
Views: 4205

Re: Starting out with Fractals (direction needed)

I'd be interested in learning more about the underlying mathematics involved in the process. Complex numbers isn't something I've talked about since high school algebra, and I can't say with a straight face that I even really comprehended them at the time. Are there any resources that you would reco...
by mister_m
Wed Oct 05, 2011 6:10 am UTC
Forum: Coding
Topic: How can Object Oriented code use functional principles?
Replies: 7
Views: 2379

How can Object Oriented code use functional principles?

I read in various places that the best programmers know how to maximize functional principles when writing Object Oriented code. That is great, but unfortunately, examples are never really cited. Could someone give me some insight into what this means exactly? What are some examples of functional pr...
by mister_m
Wed Oct 05, 2011 4:04 am UTC
Forum: Coding
Topic: Odd design decisions?
Replies: 55
Views: 8294

Re: Odd design decisions?

I've never understood why C has two different operators for accessing structure members ('.' or '->', depending on if your variable is a pointer or not), when there is never a situation where it is valid to use both. Doesn't the arrow operator ' -> ' represent a dereference, and then an access? Whe...
by mister_m
Wed Oct 05, 2011 4:00 am UTC
Forum: Coding
Topic: Starting out with Fractals (direction needed)
Replies: 15
Views: 4205

Re: Starting out with Fractals (direction needed)

Basically this is iterating the equation temp = temp 2 + point and approximating whether it diverges. The point point is in the Mandelbrot Set if and only if temp will never diverge. If the magnitude of temp grows beyond the 2, then temp is guaranteed to diverge, so we can stop at that point. In pr...
by mister_m
Wed Oct 05, 2011 2:32 am UTC
Forum: Coding
Topic: Starting out with Fractals (direction needed)
Replies: 15
Views: 4205

Starting out with Fractals (direction needed)

I want to write something multi threaded. I really haven't before outside of a silly little server for class, so I checked out the " Embarrassingly Parallel " problems list on wikipedia, and I saw that fractals were among these problems suited for a multi threaded solution. The article say...
by mister_m
Sat Oct 01, 2011 6:51 am UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 9979
Views: 1981195

Re: Coding: Fleeting Thoughts

Well I trust my users enough for them to read the documentation I wrote about how to properly format the xml file anyway. I have to trust them a little bit - begrudgingly . Unrelated to my previous inquiry, but I have been reading a little bit about Ocaml a little on reddit and hacker news lately. D...
by mister_m
Thu Sep 29, 2011 2:54 am UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 9979
Views: 1981195

Re: Coding: Fleeting Thoughts

If I am writing an application that depends on a user supplied xml file being properly formatted, I am guessing that embedding the DTD inside of the xml file would be bad practice. I am using a validating parser courtesy of the lxml python library - and it lets me store the DTD as a separate file if...
by mister_m
Sun Sep 18, 2011 6:57 pm UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 9979
Views: 1981195

Re: Coding: Fleeting Thoughts

Will this thread ever be available in book, or FAQ form? I'd bookmark it twice.
by mister_m
Wed Sep 14, 2011 11:19 pm UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 9979
Views: 1981195

Re: Coding: Fleeting Thoughts

I want to write a tiny web server in python. I thought that might be a neat project. Trouble is, I really don't know anything about web servers, threads, callbacks, or naturally any sort of server writing best practices. Where should I start with this? EDIT: I'd like to make something WSGI compliant...
by mister_m
Fri Sep 02, 2011 5:30 pm UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 9979
Views: 1981195

Re: Coding: Fleeting Thoughts

The biggest thing I am worried about after graduating is starting to do interviews. I don't feel like I would be very good at them, and I took my data structures and algorithms classes in my first year so a lot of time has passed before I was really engaged in the material. I suppose the interview d...
by mister_m
Thu Sep 01, 2011 6:18 pm UTC
Forum: Coding
Topic: Open ended Project
Replies: 11
Views: 2365

Re: Open ended Project

Try a simple image-manipulation tool. Make something that takes in an image and grayscales it. You can vary how much you use libraries versus how much binary munging you do yourself, but it'll teach you a goodly bit of stuff without being too complicated. Another similar option would be to write co...
by mister_m
Thu Sep 01, 2011 6:08 pm UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 9979
Views: 1981195

Re: Coding: Fleeting Thoughts

What's the kosher way of disabling copy constructors in C++ nowadays? I know c++0x has a new delete keyword that disables it altogether, but in older versions of the language? Is it enough to just declare it explicit and private have an empty body, or do I throw an exception, or what? I checked in ...
by mister_m
Tue Aug 30, 2011 11:22 pm UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 9979
Views: 1981195

Re: Coding: Fleeting Thoughts

I really should work on some sort of portfolio. I've been putting Tunguska on my resume, but as it's fairly old (and I haven't really worked on it for a few years, and some parts has primordial C-code from back in late 2007), it's like a gallery of bad programming practices and dubious OOP design. ...
by mister_m
Wed Aug 24, 2011 3:09 am UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 9979
Views: 1981195

Re: Coding: Fleeting Thoughts



Thank you for this resource.
by mister_m
Tue May 03, 2011 5:45 am UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 9979
Views: 1981195

Re: Coding: Fleeting Thoughts

RT: Does anyone else find it hard to code on anything but the tools you're accustomed to? I feel like I have come to an embarrassing level of complacency when it comes to auto completion. Maybe it is just because I am on the mere student level, but I think some of the time, mostly when dealing with...
by mister_m
Sat Apr 23, 2011 5:44 am UTC
Forum: Coding
Topic: Help me design a toy graph library - or something
Replies: 0
Views: 868

Help me design a toy graph library - or something

I want to write a simple graph library based that is similar to JGraphT in how it is used, but way smaller in scope. I'd like to limit it to wighted or unweighted, and directed/undirected simple/multigraph/graphs initially, and then possibly expand based on how much time I have. Currently I'm thinki...
by mister_m
Tue Apr 19, 2011 5:48 am UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 9979
Views: 1981195

Re: Coding: Fleeting Thoughts

I want to write a simple graph library based that is similar to JGraphT in how it is used, but way smaller in scope. I'd like to limit it to wighted or unweighted, and directed/undirected simple/multigraph/graphs initially, and then possibly expand based on how much time I have. Currently I'm thinki...
by mister_m
Fri Mar 04, 2011 4:44 pm UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 9979
Views: 1981195

Re: Coding: Fleeting Thoughts

(for example, uploading a new version of a static website to a remote server) There are tools for this that won't make you want to murder things. If you have SSH access (and you should...), and are using any halfway-decent version control system you can either (in the case of a DVCS like git) push ...
by mister_m
Thu Mar 03, 2011 9:00 pm UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 9979
Views: 1981195

Re: Coding: Fleeting Thoughts

Does anyone know anything about makefiles?

I am interested in learning about them a little bit, and employing them for tasks outside of simply compiling stuff. (for example, uploading a new version of a static website to a remote server). This seems interesting to me. Resources please!
by mister_m
Mon Feb 21, 2011 7:00 pm UTC
Forum: Coding
Topic: What can I do with random numbers?
Replies: 23
Views: 3802

What can I do with random numbers?

Are there any interesting programming projects that rely heavily on a large amount of random data, or just general random numbers? I know that cryptography relies heavily on random data,but I am mostly curious as to other stuff that may or may not rely on random data. Thanks.
by mister_m
Sat Feb 19, 2011 3:15 am UTC
Forum: Science
Topic: Computer Engineering after BS in Computer Science?
Replies: 3
Views: 1697

Computer Engineering after BS in Computer Science?

I am currently in my junior year of a computer science degree from DePaul university. Lately, I have become increasingly interested in the field of computer engineering, and I am interested to find out more about potentially receiving another bachelor's degree in Computer Engineering from IIT. I don...
by mister_m
Thu Feb 17, 2011 8:17 pm UTC
Forum: Coding
Topic: Coding tasks to pick up a new language
Replies: 10
Views: 1858

Re: Coding tasks to pick up a new language

Write a binary tree implementation.

I think in Real World Haskell there is an exercise very early on in the book to implement a convex hull algorithm. If you're looking for mathy stuff you can check out the SICP exercises.
by mister_m
Thu Feb 17, 2011 5:04 pm UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 9979
Views: 1981195

Re: Coding: Fleeting Thoughts

No huge red flags, but a couple questions: 1) Why bother with struct ll_head? The classic way of doing a linked list is to just use the first node of the list rather than a distinct head node. I suppose you'll update the size in the head node as you add/delete other nodes? Do you anticipate needing...
by mister_m
Thu Feb 17, 2011 4:40 am UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 9979
Views: 1981195

Re: Coding: Fleeting Thoughts

The current task I am working on is learning the vim editor and the C language. I decided to try to code up a linked list to learn how stuff works in C with a basic project. I'd like the linked list to be a usable data structure for myself and for others (doubtful, but bare with me), my question is,...
by mister_m
Fri Feb 04, 2011 3:12 am UTC
Forum: Coding
Topic: try catch finally
Replies: 18
Views: 4106

Re: try catch finally

I can give you an example of where using a finally block came in handy recently in school. I am taking a distributed systems class and we were tasked with building a TCP client and server program to transfer files from one to the other. What was key here, is that in the event of an exception occurri...
by mister_m
Fri Feb 04, 2011 2:57 am UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 9979
Views: 1981195

Re: Coding: Fleeting Thoughts

Does anyone have any tips on writing absolutely bulletproof test cases? I'm a lowly intern, and my boss is having me automate some user interface testing with this thing called Selenium (http://seleniumhq.org/) in C# with nunit. I've done a little bit of testing in Java at school but I'd like to mak...

Go to advanced search