AnonAccount: What is it, and what does it do? - Q&A Thread
Leave these fields empty (spam trap):
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
[*]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


Union-Find by Ernest Crobberfield - Sat, 04 Jan 2014 21:55:56 EST ID:DSv7yEq1 No.30678 Ignore Report Reply Quick Reply
1388890556738.gif -(88281 B, 500x214) Thumbnail displayed, click image for full size. 88281
So, I need to program a Union-Find algorithm in Java which reads the pixels off a 800x600 .bmp bitmap file which includes only white and black pixels, and find the biggest connected area of white pixels.

I know how to read the pixels (for inside a for) and to determine if they are black or white. However I'm not sure how I should do the algorithm itself.

So far I have written a method which reads the picture row by row from top to bottom, left to right, and saves the information whether a pixel is black or white into a int[800][600] array. I also wrote a method which can determines if the neighbouring pixels are black or white.

What should I do next? Am I doing something wrong?

So this is what I wrote so far (sorry for comment language, but it should be pretty straightforward):
connectedComponentIndex is basically the amount of connectedComponent entities found so far.

If you need something explained better, lemme know.

Pic not related.
6 posts and 1 images omitted. Click Reply to view.
Matilda Higgleman - Wed, 08 Jan 2014 21:50:44 EST ID:vhgZIlcV No.30709 Ignore Report Quick Reply
You start with a map where each element maps to itself, making them singleton trees. When you connect two elements in union-find, you update the map so that one of the elements maps to the other.

I assume you can do it by creating your own tree-structure, but my java skills are too rusty to help you there. As a C programmer I'd need pointers.
Reuben Boblinggold - Thu, 09 Jan 2014 19:18:34 EST ID:DSv7yEq1 No.30717 Ignore Report Quick Reply
Yeah, I've understood this much :)

Could you maybe find a pseudocode of this for me? I don't really know where to look. I would greatly appreciate it.
Reuben Boblinggold - Thu, 09 Jan 2014 19:50:43 EST ID:DSv7yEq1 No.30718 Ignore Report Quick Reply
I managed to program the data structure itself, but I somehow have to make it so that I can expand the size of the datastructure as I go through the main program. So the size can't be static. How do I do this?
Reuben Boblinggold - Thu, 09 Jan 2014 19:52:29 EST ID:DSv7yEq1 No.30719 Ignore Report Quick Reply
Oh yeah, and heres the code so far:
DisjointSets class:
ProcessImage method:
Archie Bidgekere - Thu, 09 Jan 2014 21:29:38 EST ID:vhgZIlcV No.30725 Ignore Report Quick Reply
Instead of a static array use some dynamic builtin datastructure, google suggest ArrayList for me.

Unless you are going to actually use the rank for optimizing the tree (which I assume is not going to be a requirement, I'd suggest you drop it, otherwise it's quite clear to the course staff to see you are copy pasting code. Also you're flattening the tree in find incorrectly.

Finding developers by Hannah Nanningkire - Tue, 07 Jan 2014 23:50:27 EST ID:ncAjALCo No.30698 Ignore Report Reply Quick Reply
1389156627588.gif -(139957 B, 120x120) Thumbnail displayed, click image for full size. 139957
Does anyone know a good place to find a developer as fast as possible?
I need a script for gimp/photoshop as fast as i can get it (for work). I could write one, but it would be my first time and i definitely wouldn't be fast.
Shit Crimmerwell - Thu, 09 Jan 2014 15:02:17 EST ID:zViLolk/ No.30715 Ignore Report Quick Reply
>>30698, but good luck sifting through 100 indians and pakistanis who applied to your offer for zero discernible reason.

fucking going nuts by lol - Wed, 08 Jan 2014 03:47:12 EST ID:8f5grPgm No.30699 Ignore Report Reply Quick Reply
1389170832571.jpg -(170650 B, 1024x512) Thumbnail displayed, click image for full size. 170650
hey guys I am just coding and I am fucking going rage shit right now

I hate how fucking outdated some of these fucking mother fucking libraries are and im fucking raging

i am fucking going to smash this keyboard

fuck this fukcing shit pice of shits

Cornelius Dricklestudge - Wed, 08 Jan 2014 11:59:10 EST ID:9mTYGMig No.30701 Ignore Report Quick Reply

i hate libraries. Nothing but jewish crap. I hate jews and want to kill ALL OF THEM! Just to let you know, I'm a supple 8 year old racist. My name is Eric Cartman and i don't have anything else funny to say because government flouride

Libraries generally do suck though because of shitty librarians who do what the police tell them to do. You know how cops go into those paid-for-by-your-fucking-tax-dollars buildings and just think they can just steal donuts and shit, but they always end up getting some stupid librarian to just go along with whatever they say and they NEVER QUESTION THE GOVERNMENT BECAUSE THEY LIKE THAT FUCKING EASY MONEY

i am lethargic brb bitcoin mining stuff arrived

How do you... by Phineas Sasslestone - Thu, 02 Jan 2014 16:24:03 EST ID:PQzGpXuE No.30668 Ignore Report Reply Quick Reply
1388697843959.jpg -(49893 B, 400x300) Thumbnail displayed, click image for full size. 49893
For those of you that do freelance work, how do you separate yourself from the hordes of cheap freelancers from shit hole countries that charge pitiful rates when you are looking for work?
Henry Cladgefield - Thu, 02 Jan 2014 16:32:35 EST ID:xUc15/mA No.30669 Ignore Report Quick Reply
Have a portfolio full of high quality work.
Betsy Maffinghood - Thu, 02 Jan 2014 17:12:26 EST ID:dUqCye/w No.30670 Ignore Report Quick Reply
Form personal connections with your clients.
Find clients who value being able to shake hands with a contractor over the table rather than Skyping with some random Indonesian dude.
Do top quality work, deliver on time and stay within your quoted budget.
As you do great work, it will add to your portfolio, allowing you access to better clients and the ability to charge higher rates.
Approach potential clients directly if you need work, rather than waiting for leads.

If a client wants a lowest bidder from India, they're not looking for the product and advantages you bring to the table; you're out of their league. Learn to recognize and avoid those clients early, they'll expect you to bend over backwards for 50c/hour.
Esther Pobbergold - Tue, 07 Jan 2014 19:26:50 EST ID:mYetc0iT No.30697 Ignore Report Quick Reply
>Form personal connections with your clients.

This is a big one for me. I have a full-time design/development job so I don't actively look for freelancing work; it usually falls into my lap via word-of-mouth from people I've worked with in the past. However, because the client is a personal connection (or one degree away from one) I find greater motivation to communicate clear expectations (timelines, cost, etc.) and deliver quality work than I would if the client was some dime-a-dozen small business looking for the cheapest logo possible.

>>30670 is right on, too, in saying that those are the sort of clients you do not want padding your portfolio with one-off projects that you did on a weekend for the bare minimum amount.

Plus, a good working relationship with clients you are personally associated with usually (but not always) means repeat business. I've had one for like ~4 years running.

Wallpaper Switching by Eliza Bezzlestone - Mon, 06 Jan 2014 15:27:01 EST ID:8lgOKLdt No.30692 Ignore Report Reply Quick Reply
1389040021155.jpg -(536311 B, 1920x1080) Thumbnail displayed, click image for full size. 536311
I'm writing a program to manage sets of images and rotate through them as desktop backgrounds since the default manager in Windows is pretty limited. On Windows it seems the only way to do this is with .NET, so I'm writing in C#.

The actual call to change the current wallpaper is pretty straightforward but I've been thinking about how I might customize the transitions. Does anyone know if it's possible to have transitions between images other than the default Aero fade in/out or just an instant update with Aero disabled?

Maybe I could disable Aero transitions and then edit and update the wallpaper.bmp file fast enough so that it changes bit by bit (figuratively) from one source image to the next, but could the desktop background itself update fast enough and often enough (like what, 30 times a second?) to sustain the illusion? Probably not...

If not I guess I'll just stick with what I have now, Google hasn't given me much and I don't know how much effort that feature would be worth anyway.
Isabella Happerchodge - Mon, 06 Jan 2014 21:10:08 EST ID:xtelIQ1k No.30693 Ignore Report Quick Reply
There's probably no practical solution short of using a different desktop environment.
James Blatherlock - Tue, 07 Jan 2014 18:14:19 EST ID:DPk8BkCq No.30696 Ignore Report Quick Reply
Solution is in the last post:

help support by Lydia Clayway - Sun, 05 Jan 2014 04:55:20 EST ID:OXF/Qj0k No.30685 Ignore Report Reply Quick Reply
1388915720579.png -(270447 B, 500x365) Thumbnail displayed, click image for full size. 270447
I've barely started looking into programming and coding and such, but I'm starting with basic stuff, I would think. I'm trying to customize my firefox through userchrome and I've got some success but still am retarded.

I'm trying to change my tab sizes, and what I have doesn't work. I don't know if there's anything I need to do for the little icons on the tabs, the text on the tabs, or the small little indention on the very left of the first tab.

/* change the tab tooblar height */
.tabbrowser-tab {
height: 12px !important;
padding-right: 4px !important;
.tabbrowser-strip {
height: 12px !important;

That's what I've got right now for tab sizing. Tried asking 4spam but it seems broken right now.
Phoebe Gendledad - Mon, 06 Jan 2014 22:43:36 EST ID://5j3v6S No.30694 Ignore Report Quick Reply
Try one of these:
.tabbrowser-tabs *|tab {

font-size: 12px !important;
height: 50px !important;
min-width: 8px !important }


@namespace url(""); /* only needed once */

#TabsToolbar { height: 35px !important; }
Graham Duckway - Tue, 07 Jan 2014 16:50:15 EST ID:1jxwX+Cv No.30695 Ignore Report Quick Reply
i think the tags are "pre" not "code"

COBOL by Fuck Toothall - Fri, 03 Jan 2014 00:35:01 EST ID:XTAwyUkO No.30673 Ignore Report Reply Quick Reply
1388727301020.jpg -(68450 B, 500x346) Thumbnail displayed, click image for full size. 68450
I am trying to learn cobol. (no job/school reason; I just wanna) in fact, I want to learn the fixed sourcecode style that is AGGRAVATING ME SO.

I'm on a mac (mavericks/10.9.1) and I somehow managed to compile open-cobol 1.1.0 and have it compile some of the time. my problem is with the rest of the time. I can copy verbatim an example program known to work and it WILL NOT WORK, IT ANGERS ME. does anyone have experience with open-cobol or have any ideas to help a newber try to just get the damn compiler to work for me? I've barely even had a chance yet to learn the basics! :('' my main question is how do I tackle quirks of open-cobol or is there something novices are likely to do wrong (because I'm likely doing it)?

I can only guess that it's an EBDIC/ASCII problem, but I'm using a text editor that should be saving text entirely as ASCII, and it's running through the text editor before compiling even when it's an example program that does compile. besides: why is open-cobol set to ebdic when I'm on an ascii machine/how do I change it if that's the problem?
Fuck Toothall - Fri, 03 Jan 2014 00:36:36 EST ID:XTAwyUkO No.30674 Ignore Report Quick Reply
I was extremely unclear and want to specify: copy/pasted example code compiles, but word-for-word retyped code does not, even in free source mode
Edwin Dartfield - Fri, 03 Jan 2014 01:11:12 EST ID:xtelIQ1k No.30675 Ignore Report Quick Reply
Diff the working source and the broken source and all will be made clear. Also, EB*C*DIC.
Sidney Shakeridge - Sun, 05 Jan 2014 17:33:40 EST ID:ytPz0lka No.30690 Ignore Report Quick Reply
Just check that you spelt ENVIRONMENT DIVISION correctly.
Basil Fallynock - Thu, 16 Jan 2014 23:40:19 EST ID:rznvXzKM No.30759 Ignore Report Quick Reply

ho ho ho very funny (I am op)
...but it was just about as bad, I admit. the font I was using wasn't showing a difference between curved and straight quotes, and the mac was set on "smart quotes".

FOSS Licenses by Sophie Dembleridge - Fri, 13 Sep 2013 15:17:14 EST ID:nW6+vmi4 No.29683 Ignore Report Reply Quick Reply
1379099834511.jpg -(11067 B, 226x223) Thumbnail displayed, click image for full size. 11067
What license do you use when you post your stuff on GitHub, source forge or wherever? Do you use the same one consistently or do you change depending on the program?
4 posts and 1 images omitted. Click Reply to view.
Fuck Mecklebury - Mon, 11 Nov 2013 07:30:41 EST ID:gpyECHx+ No.30246 Ignore Report Quick Reply
things released anonymously is released under unlicense

things released under someone else's identity is released under whatever that person/corporation/sovereign-entity want to release under

it is beyond my pay or time to worry about license
Jack Gondlesatch - Tue, 31 Dec 2013 06:11:16 EST ID:MBTS5mx1 No.30651 Ignore Report Quick Reply
What about the MIT licence?
Augustus Bumblemure - Tue, 31 Dec 2013 19:02:42 EST ID:kv8bxsSs No.30655 Ignore Report Quick Reply
1388534562680.png -(11034 B, 721x399) Thumbnail displayed, click image for full size. 11034
OpenBSD master race
>OpenBSD 5.4-current (GENERIC.MP) #215: Wed Dec 25 17:07:02 MST 2013
>real mem = 8561524736 (8164MB)
>avail mem = 8325431296 (7939MB)
Augustus Bardman - Wed, 01 Jan 2014 01:56:27 EST ID:ICAfVo/C No.30660 Ignore Report Quick Reply
Is there anything I need to do to copyright my stuff? I mean,do I just need to write "Copyright 2013" in my source code or do I need to register it in a big red book or anything like that?
Edward Tootwell - Sun, 05 Jan 2014 06:19:12 EST ID:1qlEkINi No.30686 Ignore Report Quick Reply
I use Affero GPL for maximum freedom.


Why would they do this? by Albert Goodham - Sat, 04 Jan 2014 22:08:54 EST ID:kEigTbsC No.30679 Ignore Report Reply Quick Reply
1388891334850.png -(137218 B, 1366x768) Thumbnail displayed, click image for full size. 137218
Why would anyone want to do this?
Lillian Goodshit - Sun, 05 Jan 2014 00:24:32 EST ID:xtelIQ1k No.30681 Ignore Report Quick Reply
Use Ubuntu? One can only imagine.
Albert Goodham - Sun, 05 Jan 2014 01:01:13 EST ID:kEigTbsC No.30682 Ignore Report Quick Reply

Use Google Chrome - One can only imagine
Martin Nidgespear - Sun, 05 Jan 2014 06:36:31 EST ID:cvbQ8y01 No.30688 Ignore Report Quick Reply
why is this being spammed all over the site nb

website designing by Charles Gidgegold - Sat, 14 Dec 2013 16:30:17 EST ID:+D9s/fDT No.30536 Ignore Report Reply Quick Reply
1387056617489.png -(312900 B, 397x495) Thumbnail displayed, click image for full size. 312900
I'm building a classifieds website using Rails 3. I'm a complete novice, but I'm trying to develop a general template with as much basic functionality as possible, and then pay someone to finish it up to market level.

How much should it cost to hire somebody? My site is fairly basic, I need ActiveMerchant, a pay for posting mechanism, post destruction countdown, track usage statistics, and a cached search/sort field (1 dynamic search and several automatically updating, cached searches based on supplied criteria).

Upon satisfactory completion of the above, I may be offering a site maintenance job, which could become regular steady pay depending on traffic.

I've looked on several advice sites, and honestly the pricing guides/schemes sound like a total ripoff. One site lists a contact form as being the equivalent of four hours of work, when I'm pretty sure I just did that in 5 seconds generating a new scaffold.

Since I will foreseeably be working a low paying job to fund this endeavor, and given the relatively simple design standards I am expecting, in your honest opinions is it worth it to hire someone to complete the job, or should I hack it myself in the hopes of producing an inherently flawed yet market ready site?

How much should something like this cost? If it's too high, I won't be able to make enough money to pay for it, and would have to DIY.
9 posts and 1 images omitted. Click Reply to view.
Oliver Pubberpedge - Thu, 19 Dec 2013 20:53:24 EST ID:lqzhwUC0 No.30577 Ignore Report Quick Reply
>SICP teaches you how to code in anything.
>After you do SICP pick up a Ruby book and lean it's syntax in a weekend and you're good to go.

These statements are very misleading. That might work for Ruby, but it won't work with every language.

Programming languages are more than syntax. They're also standard libraries, idioms, and runtime environments, and being able to program well in that language means learning that stuff in addition to the syntax. Some languages (looking at you, C++) are sufficiently complicated that you need years of practice before you can really write production code in them and be confident that you're not going to fuck it up. Not to mention that some languages require picking up entirely new ways of thinking about a problem.
Eliza Heggleshit - Fri, 20 Dec 2013 00:45:23 EST ID:Gz12GKLH No.30579 Ignore Report Quick Reply

Well, nobody understands C++ completely. There was a panel a few month's back on what is the "fastest" language. Everybody admitted that nobody really understands C++ even Bjarne Stroustrup claims he hasn't found the limits of what C++ can do. The guy who coded Betfair in C++ for a dozen years and then switched to Java VM and coded a completely new architecture to handle the amount of trades admitted he doesn't even fully understand C++ either but doesn't stop him from using it.

That said you can read SICP and then start doing C++ the basics are the same. Will you be a master of C++ no but you'll be prepared to do any language because SICP gives you a masterclass in everything you need to start with. You get a solid overview of what OOP is. I wrote a trading program on a FPGA after doing SICP in C++ and reading Accelerated C++ book to learn syntax/libraries, and taking MIT's 6.004 Computation structures course. SICP is all you need to learn programming period.
Eliza Buzzforth - Sun, 29 Dec 2013 22:55:24 EST ID:TNgpF1K5 No.30644 Ignore Report Quick Reply

What's up with the trading program you wrote? Was it index arbitrage? More importantly, was it profitable?
Lillian Honeyworth - Mon, 30 Dec 2013 14:34:55 EST ID:5kDrgOTz No.30645 Ignore Report Quick Reply
Nell Sucklegold - Thu, 02 Jan 2014 22:21:32 EST ID:1bnPs4kf No.30672 Ignore Report Quick Reply
1388719292551.jpg -(12542 B, 200x219) Thumbnail displayed, click image for full size. 12542
lol its one of those "build me a craigslist clone for $300" guys!!! lmfao. He even used the term webmaster.

dude, thanks for the laughs. The best advice in this thread is to try to do it yourself so you understand why real developers charge so much for these types of projects.

Best Language for Click Bots by Archie Gezzlehood - Tue, 31 Dec 2013 19:45:27 EST ID:ak5YKDGE No.30657 Ignore Report Reply Quick Reply
1388537127855.gif -(847399 B, 190x106) Thumbnail displayed, click image for full size. 847399
I have been working at an office job doing data entry. I have been automating most of my work through Excel VBA. Mainly auto formatting and auditing reports and then making click-bots when given a spreadsheet to enter into some web based interface.

The click-bots are a gigantic pain in the ass because of the limitations of the editor and the language. No Delegates, saving everything to PERSONAL.XLSB etc.

So I am going to get up and ask the IT department to allow me to use another language to make my click-bots. And un-websense me I feel like this is a one shot chance so I want a good reason to choose my language.

Right now I am looking at Ruby or just Visual Basic. I need a language that is easy to learn and simple enough that I can shit out something quickly if I am under the gun but I can later refactor into a more reusable tool. It also needs to be able to access the document model of a web browser, and well. The most recent website was entirely Java built and not a single HTML element had an ID.

I would like it to also be able to read and write to Excel sheets (VB), but I can do without for just click bots. I would also like it to be cross platform (ruby) so I could use the language elsewhere and not just for this one job.
Phineas Demblefield - Tue, 31 Dec 2013 20:25:13 EST ID:xtelIQ1k No.30658 Ignore Report Quick Reply
Just find a good library that makes it easier to write/maintain bots. Who cares about the language?
Betsy Fengerhock - Tue, 31 Dec 2013 20:57:52 EST ID:PJBSN/AA No.30659 Ignore Report Quick Reply
Go with ruby. Ruby has bindings for manipulating all of the microsoft office products, and from what I remember, they're pretty damn good.

There's also the various .net languages, of which c# is probably your best choice, but I'd be dollars to doughnuts that ruby has better web support.
William Bussletere - Wed, 01 Jan 2014 03:59:20 EST ID:5Mbyzmad No.30663 Ignore Report Quick Reply
Any .net language, since your running windows already.

Asynchronous combinatorial circuits by Thomas Sondlelit - Fri, 20 Dec 2013 12:59:37 EST ID:8J5Kxm+3 No.30580 Ignore Report Reply Quick Reply
1387562377556.png -(37148 B, 640x460) Thumbnail displayed, click image for full size. 37148
I've been trying to make a delay insensitive carry lookahead adder but It's getting gigantic. I've been using DIMS (pic related) to directly create the small circuits I need to compose the more complex ones but a single carry look ahead unit uses 2 OR gates and 1 AND gate, costing 12 C-gates of area. Making them directly out of C-gates would cost 16 3-input C-gates.
I've looked for alternatives designs for asynchronous circuits but the only one I can find is Null Convention Logic which uses threshold gates. Does anybody have any learning material on what transformations you can perform on NCL circuits or any other alternatives that are delay insensitive?

Advertise With Us
<<Last Pages Next>>
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
Report Post
Please be descriptive with report notes,
this helps staff resolve issues quicker.