new icn messageflickr-free-ic3d pan white
View allAll Photos Tagged CSharp

Kids, right?


I hope everyone has a great night/day. Busy at work, I'll try to keep up over the next few hours.

This old tree is situated not far from Lundbreck Falls in Southern Alberta and I think it is a great subject for photography. There is the ability to get all kinds of angles and capture different moods dependent on the time of year and time of day.


This one was taken at sunset and the sun was not only lighting up the sky but the red lichens that grow on the rocks that the tree grew out from under. It has weatherd centuries of harsh winds and weather of southern alberta and has the appearance of being petrified with some great textures.


At some point I will likely do a transformation into B&W as well... since that is what I originally went to this spot to shoot the tree for... but then happened to have some amazing light that I thought would look great in colour.


Csharp_gal... if you read this... this is the tree I was referring to... it is begging to have you do some light painting to it.... for those that haven't checked it out... check out the great photo's in this photostream.... some amazing light painting as well as other photography. csharp_gal

I can't remember exactly how old I was when I was first introduced to a computer - no older than seven though. It was a BBC Micro at an educational project my father was involved with - groups of kids would go there and watch someone code while they explained the meaning of it as they went. It grabbed me straight off, and from that point on the path was set; pretty much all my academic choices from that point were to guide me towards being able to write software for a living. Well, maybe except for the GCSE in Home Ec and A-Level in Economics - you'd better be able to feed yourself and count your money ;o)

I think the main think I love about coding is that you essentially build a virtual machine out of thin air - whatever you need to do, there tends to be a way to do it even if it's a nightmare to design! While you do have to be concerned with space and speed, you're not restricted in the same ways as you are with real-world physical engineering; there's definitely a black magic aspect to it! When lots of separate parts come together to work just as you intended, it's a great feeling.

I'm one of the lucky few who did become what they wanted to be when they grew up - I suppose that's not bad going.


and Mordor.


This is the first visualisation that I've been commissioned to make. Unfortunately, the payment was one twix.


This shows the most frequently mentioned characters in the Lord of the Rings books. The horizontal distance is proportional to the amount of mentions.


Before and after each character you can see the most frequent words that appear before and after that character's name in the books. The vertical distance is proportional to the amount of mentions.

and Breaking Bad.


When I finish watching a TV show I like to find out which episodes are highest and lowest rated, then I watch the "best" and "worst" episode. The best episode is often very different to the standard episodes, whilst the worst episode is usually very dull.


Buffy the Vampire Slayer is a great example of this. The highest rated episodes are "Hush", "Once More, with feeling" and "The Body". The lowest rated episodes are "Where the Wild Things Are" and "Beer Bad".


The screenshot shows Breaking Bad, because this show is unusual in that the trendline goes up.

It's so big!


The coloured line shows the route from the start to the middle. The hexagon rooms get darker as they move further away from the solution.

I keep noticing film and television characters that have colours in their names, especially since I started watching Breaking Bad.


I wanted to know if character names contained colours more frequently than real names. So I scrapped over 10,000 films and television episodes from Rotten Tomatoes and then analysed the names. The chart above is the result.


I excluded red from the chart, because almost all of the names containing "Red" weren't referring to the colour. For example, there were lots of people called Fred, Meredith and Mildred.

I've written a lot of code to generate number sets, but I've never used them together. So I made this.


This sketch allows you to select sets of numbers (prime numbers, happy numbers, etc) and then they will be highlighted on the right.


The squares on the right represent the numbers 1 to 10,000 and they are coloured based on the amount of sets that they belong to. Blue numbers belong to fewer sets and red numbers belong to more sets.


Based on my arbitrary number sets, the most interesting numbers (from 1 to 10,000) are:


1st: 1

2nd: 3

3rd: 2, 5, 7

4th: 6, 12, 210, 378, 1212, 2556

5th: 8, 9, 11, 21, 23, 31, 36, 120, 132, 666, 888, 1122, 1128, 1332, 1818, 2628, 4248, 4428, 5112, 8118, 8880


The lowest of the least interesting numbers is 106.

I wrote this mouse tracker in C#. Red circles represent left-clicks. Green circles represent right-clicks. Black lines represent the path of the cursor.


Original Size.


I made this by extracting the frames at 10 second intervals using C#. Then I wrote a Processing sketch to determine the overall colour of each frame and draw it as lines.


I did this for 26 films that I thought would be interesting. The most interesting 13 made it into this graphic.

Just thought I'd take the time to learn Ruby and possibly Ruby on Rails. I've been doing ColdFusion for years at work and pretty much hate it at this point. I've also done some work in ASP.NET (C# and VB.NET), PHP, WebDNA, and some Python (Django).


Ruby isn't bad so far. I'm hoping to be able to start on Rails in a few days. The only thing I'm not looking forward to with Rails is Prototype. I'm a much bigger fan of jQuery, however it looks like there may be a plugin for Rails that will replace the automated stuff it does currently with Prototype.

I have a box of wires that looks like this.


The top row represents the amount of words that begin with that letter. For example, most words begin with S.


Then up to 26 lines travel down, based on the frequency of the second letter. For example, words beginning with C have O as the most common second letter.


The words are taken from a dictionary of 117,977 English words.

My manager has the ability to consistently select the most unhygienic places to order our takeaways from. A fact that is made more worrying by menu choices that are simply described as "meat". One time he enquired as to the type of meat and was told "It's just meat". He ordered it anyway.


The Food Standards Agency kindly provides food hygiene ratings for thousands of places around England, Wales and Northern Ireland. The ratings are from 1 (major improvement necessary) to 5 (very good).


I wanted to find out where the best and worst places were. So I scraped all of the files from here:


I determined the average for each location and plotted it on the map above. I made the London circles a bit smaller, because it was rather crowded. The map is courtesy of Wikipedia and is located here:


The five worst places on average are:


3.06 - London > Sutton

3.09 - London > Bexley

3.13 - London > Hackney

3.30 - London > Ealing

3.30 - London > Lewisham


The five best places on average are:


4.67 - South West > Mid Devon

4.70 - South East > Tunbridge Wells

4.72 - South West > South Gloucestershire

4.75 - North West > Eden

4.79 - South West > North Devon

and rooms and regular hexagon.


The coloured line shows the route from the start to the middle. The hexagon rooms get darker as they move further away from the solution.

I wrote a keylogger in C# and then recorded the keys that I pressed for two days.


I then used Processing to make this treemap showing the relative frequency.


For reference, I pressed the space bar 7,737 times.

Identifier: historyofhancock00greg

Title: History of Hancock County, Illinois, together with an outline history of the State, and a digest of State laws

Year: 1880 (1880s)

Authors: Gregg, Thomas, b. 1808. cn

Subjects: Hancock County (Ill.) -- History Hancock County (Ill.) -- Biography

Publisher: Chicago : C. C. Chapman

Contributing Library: Allen County Public Library Genealogy Center

Digitizing Sponsor: Internet Archive


View Book Page: Book Viewer

About This Book: Catalog Entry

View All Images: All Images From Book


Click here to view book online to see this illustration in context in a browseable online version of this book.


Text Appearing Before Image:

rvice. Perhaps amajority are young men, who have yet, in a great degree, theirreputations and fortunes to make. HISTORY OF HANCOCK COUNTY. 419 Residents at the couuty-seat are: Bryant T. Scofield, Thomas CSharp, Wesley H. Manier, Bryant F. Peterson, John M. Ferris,John B. Risse, Wm. E. Mason, Win. Baird, Georsje J. Rogers, T.J. Scofield, Apollos W. OHara, T. C. Griffitts, George Edmunds,David Maok, Henry W. Draper, Wra. C. Hooker, Hiram G. Ferris,O. F. Berry, John D. Miller, M. P. Berry, Charles J. Scofield, J.J. Williams, Samuel H. Benson, W. B. Mclntyre, Mr. Shinn. At Warsaw: John W. Marsh, John H. Finley, Edward E. Lane,George P. Walker, Wm. N. Grover, Benj. F. Marsh, P. W. Plantz,Cortez Maxwell, R. L. McDougal. At Augusta: W. H. Mead, Nelson Comfort, B. P. Hewitt, JoabGreen. At La Harpe: Cornelius C. Preston, S. W. King, J. H. Hungate. At Nauvoo: Milton M. Morrill, Adam Swartz, William D. Hib-bard. At Plymouth: L. G. Reid. At Dallas City: B. F. Newton. At Hamilton: Thomas Ruggles.


Text Appearing After Image:

CHAPTEE XIII ANECDOTAL. In this chapter we collect together numerous incidents, anec-dotes and occurrences, without reference to the order of their dates.Some of them were overlooked in the regular course, and some havecome to light as we have progressed with our work. When Sheriff Deming was in Warsaw looking for the defendantsin the Smith murder cases, he was treated very shabbily. He putup for the night, and when he started to leave in the morning, hefound that some ruffian had shaved his horses mane and tail. Hemounted him, however, and started to leave. Coming to wheresome citizens were standing, he halted, and remarked: My horsegot into bad company last night. Most generally is, I reckon,retorted one of the by-standers. The General rode on, thinking itunnecessary to parley with such a crowd. Here is a story told of a certain Rushville attorney. We dontgive his name because we really have forgotten it, but no matter.He practiced at the Hancock Bar, or at any rate attended Courtsh


Note About Images

Please note that these images are extracted from scanned page images that may have been digitally enhanced for readability - coloration and appearance of these illustrations may not perfectly resemble the original work.

This is the most frequently appearing words before and after the five main characters from all of the Famous Five books.


Horizontal distance represents the number of times that character is mentioned in the books. Vertical distance represents the frequency of that word.


Common words (and, asked, etc) are excluded. Words only count as before/after if they appear in the same sentence. This takes into account variations of names (tim, timmy, timothy, etc).


This was created in three steps:


1. Obtain and clean up all 21 books. This involved a ton of regular expressions.

2. Write a C# application to determine all of the frequencies.

3. Write a Processing sketch to display the results.

C# an object-oriented programming language provided by Microsoft that runs on .Net Framework. Using C# we can develop different types of robust and secure applications.

Find out more about its features.

“.....هر کجا هستم، باشم، آسمان مال من است پنجره، فکر، هوا، عشق، زمين، مال من است”

> While I was taking the Golden Gate Bridge image - next image - I didn't know fellow flickr Night Photographer, Sherry Glassman, was photographing me as I took it. I have just learned that /csharp gal from Canada was talking to me while Sherry was doing the photograph. That explains the strange double image!


You can also see that wall of Sodium Vapor light I am photographing into!


The beautiful blue light under that pier behind me and the white glow is caused by huge Mercury Vapor lights shining from Alcatraz Island - hidden by the pier. Some of the blue lights at the end of the pier are a CROWD of cellphone photographers snapping away!


> Copyright Sherry Glassman, 2007


Decided to "improve" my generator for these types of images, by completely rewriting it in C#, tweaking the algorithm and applying a texture afterwards.


I've set it up to run daily at midnight, where it generates a new image and sets it as my desktop background.

Watch it here:


I've always found the Amazon warehouse robots to be a thoroughly interesting system, so I thought it would be fun to make my own basic version.


The idea here is that letters arrive on the left, get moved into the warehouse in the middle, then get output on the right.

This was actually a bright room.

But I've found that when one thing is very bright, the camera's meter registers the brightness of that object, making everything else dark. Having it in a lower f-stop intensifies that effect.

Probably old news to you all, but thought that I might better explain myself, none-the-less.


None of my photos may be reproduced and/or used in any form of publication, print or the internet without my written permission. Please contact me if you would like to use one of my images.

I wrote a random generator that makes pictures in the style of Sir Terry Frost's painting Orchard Tambourine.


Sir Terry Frost was a British abstract artist who was born in Leamington Spa.

Identifier: americanencyclop01colauoft

Title: The American encyclopædia of commerce, manufactures, commercial law, and finance

Year: 1886 (1880s)

Authors: Colange, Leo de, b. 1819

Subjects: Commerce -- Dictionaries Finance -- Dictionaries

Publisher: Boston : Estes & Lauriat

Contributing Library: Robarts - University of Toronto

Digitizing Sponsor: MSN


View Book Page: Book Viewer

About This Book: Catalog Entry

View All Images: All Images From Book


Click here to view book online to see this illustration in context in a browseable online version of this book.


Text Appearing Before Image:

ent was completed in1810, and called Erards Double-Action Harp, cmaccount of its two mechanisms working togetlier.It is tuned in the key of C flat. By fixing thepedals in the first groove the instrument is at oncetransposed into Cnatural; and by fix-ing them in the sec-ond groove, it istransposed anothersemitone higher, in-to the key of Csharp; the compassof the harp beingthus from the doubleE below the bass toEinaltissimo. Sincethis time there hasbeen no more im-provement in theharp than there hasbeen in the violinsince Stradivarius.Erard of Paris andLondon.and Browneof New York (Geo.II. Buckwell suc-cessor), are the twobest liarp-makers inthe world; and ac-Fig. 261.-Brownes American Harp.cording to Bochsa. Aptommas, and other great masters of the harpin Europe, no European harp can give more com-plete satisfaction than Brownes splendid grandGothic six octave and a half double-action, withthe vibrating basses (Fig. ail). The harp haslong been neglected for its noisy rival, the piano.


Text Appearing After Image:

IIARPF-R 522 IIARKOW but it is rcninik!il)k tlint for the last ton yearsthere is so markeii revival of this beautiful in-strument, that it is now seen in every music-store, and heard in all the fashionable houses.As an orchestral instrument it can no longer bedispensed witli, for, heginninj; with Spontini in hisfamous opera, The IVs^ii/, and Hossiiii in WillinmTell, it fills in the music of all groat moilerM com-posers a place which nothing else can supi>kment.It does for a hundred other pieces what twilightdoes for scenery. While it blends hannoniouslywith all other instruments an<l voices, as thearoma of a flower-garden pervades the all-sur-rnunding air, it never loses its own individu-ality. With the least noise, it sends forth themost melody. The highest and purest sphere ofthe harp, however, is in the drawing-room, wherethe beauty and association of its classic form, theliving sympathy with which its tender and passion-ate vibrations blend with the female voice in itsillimi


Note About Images

Please note that these images are extracted from scanned page images that may have been digitally enhanced for readability - coloration and appearance of these illustrations may not perfectly resemble the original work.

This visualisation of the Collatz conjecture is completely based on this Reddit post by bertnor:


The image shows the paths of the first 10,000 numbers.


An explanation of the Collatz conjecture can be found here:

Progressive .NET 2017. Wednesday, 13th - Friday, 15th September at CodeNode, London. Images Copyright

Progressive .NET 2017. Wednesday, 13th - Friday, 15th September at CodeNode, London. Images Copyright

Progressive .NET 2017. Wednesday, 13th - Friday, 15th September at CodeNode, London. Images Copyright

Progressive .NET 2017. Wednesday, 13th - Friday, 15th September at CodeNode, London. Images Copyright

Progressive .NET 2017. Wednesday, 13th - Friday, 15th September at CodeNode, London. Images Copyright

Progressive .NET 2017. Wednesday, 13th - Friday, 15th September at CodeNode, London. Images Copyright

A visualisation of the Kolakoski sequence. The sequence is

explained on Wikipedia.


The visualisation is based on the one found in this Numberphile video:


The left-side is with grey lines to denote the individual segments, whilst the right-side is without the grey lines, because I thought it looked nice.

A visualisation of the first 33 steps in the Recamán sequence, which is heavily inspired by this Numberphile video:


The video also contains a full explanation of the sequence.

Italian film ad. Orchestra Rehearsal / Prova d'orchestra, Federico Fellini, 1979.

and Data. Everyone loves data.


I wrote this toy to view occurrences of words in TV shows, by analysing the subtitles files.


The screenshot shows words from Dexter. I've purposefully chosen generic words to avoid spoilers.

Edge put all of their magazine covers online, so I made this collage.


The covers were downloaded via a simple web scraper in C#, then the collage was generated in Processing.

The complex error function has been on of the hardest functions I've tried to implement for my math library. There exist efficient algorithms for computing the real valued error function, so I naively thought this would be simple to extend to the complex plain. First, I tried using the tailor series, but this only proved accurate for points near the origin. So I tried using a different approximation for points far away, but regardless of where I chose the cutoff, I could still see tearing in the final image. Finally I tried interpolating between the two functions using a logistic curve, and that produced this. You can still see some tearing at the top and bottom, but the image is much smoother. Still, this is only a rough approximation of the true error function. I will probably replace it with something better if I ever get the determination to work on it again.

Looks like someone's been vomiting rainbows again, and I'm the one who has to clean it up! Actually this is another failed test of the Muller algorithm. The Muller algorithm is a root finding algorithm that can be though of as an extension of the secant method. The black areas are where the method failed to find a solution. At least the parts that do converge on a solution seem to be correct.

This image is where my research into the Collatz Conjecture has led me. It is actually an enhanced still frame from an animation I posted. It can also be considered a zoomed in version of the inverse Collatz Conjecture, expanded to include all real numbers. The crazy part about it, is it looks just like the static you would expect to see when scrubbing through an old VHS tape, and yet this image was produced by simple mathematical function even a grade-school student could understand.

1 3 4 5 6 7 ••• 26 27