It’s been a while but hello again

It’s been ages since I’ve posted anything for you good people that follow me (or the lurkers, you’re welcome too) but I just got something put together on my home site about a night market I was at a few night ago in Koh Samui. It was amazing and I loved the food and the scene. Something I could recommend to anyone that visits this fine island!

 

Koh Samui night market

Procedural Planets

Came out looking pretty cool

Flashy Programming

I recently heard about the upcoming game No Man’s Sky and was intrigued by the concept of procedurally generating planets. So, I threw together a much, much, much simpler version. Every planet is unique and generated entirely in code.

First in 2D

Then in 3D

The 3D one ended up leading me into a small study of bloom filters, which did a pretty good job of simulating an atmospheric glow. I also implemented some simple physics to simulate gravitational motion.

Here’s a clip of it in action.

View original post

Another look at Windows 10 in 75+ pictures

An early look into windows 10 in 75+ images

TCAT Shelbyville - ITIM

If you have Windows 8 or 8.1 you probably think that Windows 10 isn’t going to be a lot different.  You will see from the screenshots below that there isn’t a lot of navigation differences.  What you will see is performance difference.  Not just the look of the icons but the true performance differences when navigating and moving across your network.

The first operating system truly made for touchscreens and pcs.

In the screenshots below, we go from 9879 to 9926 with Cortana.  And where is the Charms bar?  It’s not there.  Look for Settings in the menu (See the last pictures below)

The login primarily stays the same as Windows 8.1.  The login screen contains the date, time, network status and battery information.  After swiping the screen or hitting enter, you’ll see the familiar login where you can select a user, restart, shutdown, reboot, network and accessibility options.

1 login …

View original post 833 more words

ASCII fluid dynamics

I’ve been very busy of late and really want to keep this blog up and would like to do it in a serious manner. As I’m tied up for just a little bit longer I thought I’d make a fun post about an amazing command line program that I came across.

I’m in my final year of college and just a stones throw away from my degree, which is very exciting. I have an FYP just about finished, the idea is a peer to peer QR/NFC sales platform where credit cards/bank accounts are optional. I’m also starting a huge project with a friends I can’t get into right now but will be very excited and happy to announce it once I can. I’m working with ACI worldwide to create a hacking challenge that is going ahead this week. I’d love to share the link for sign ups but it’s closed after filling very fast, but they can be found on facebook for next year. Then finally I’m starting two jobs this week. One is back teaching kids how to build apps and the other is my regular job in Limerick’s University ICT centre and will take up time between my classes. On top of it all, as if I have time or money to spare, my wanderlust girlfriend will not stand for the fact I’ve never left the country and so has made it her mission to take me as many places as she can. Three times now in the last four months I’ve been out of Ireland and another to come at the end of this week.

So time to spare is non existent, but I did want to check in just to keep this blog looking a bit alive, so I’m sharing this amazing command line program I found that will take any text file and apply fluid dynamics. This video will demostrate everything this command has to offer.

The creators say the program is

This program is a fluid simulator using “Smoothed-particle hydrodynamics (SPH)” method.. This program reads a text from standard input, and uses it as an initial configuration of the particles. The character # represents “wall particle” (a particle with fixed position), and any other non-space characters represent free particles.

The compilation options -DG=1 -DP=4 -DV=8 represent, respectively, the factor of gravity, pressure, and viscosity. By changing their values, you can see different fluid behavior.

The code can be found here, just compile and have fun. It’s a great little idea and deserves a bit of credit so well done

The Case for Slow Programming

Great insight. I find that when I have everything planned I just want to smash into the code and often hit a problem and can’t think about what it even is properly. If I didn’t have to do a lot of study tomorrow I’d adopt this paradigm for a day to try it out

Earth...Brains...Technology...Design

My dad used to say, “Slow down, son. You’ll get the job done faster.”

I’ve worked in many high-tech startup companies in the San Francisco Bay area. I am now 52, and I program slowly and thoughtfully. I’m kind of like a designer who writes code; this may become apparent as you read on :)

Programming slowly was a problem for me when I recently worked on a project with some young coders who believe in making really fast, small iterative changes to the code. At the job, we were encouraged to work in the same codebase, as if it were a big cauldron of soup, and if we all just kept stirring it continuously and vigorously, a fully-formed thing of wonder would emerge.

It didn’t.

Many of these coders believed in thefallacy that all engineers are fungible, and that no one should be responsible for any particular…

View original post 888 more words

My favourite places to learn programming

I love how many new people are looking into programming and I get asked all the time about good resources. We all know you can google “how to java” and it will negate the bad grammar and bring you to a junkyard full of resources. All teaching roughly the same thing, the logic of programming. But being such a vast result….. what do you do with it?

See the thing here is you can sit down and learn all the ways to make a string and print it or create an object, but that’s not doing much for you if you’re just following examples and not thinking for yourself. A good programmer has a logical mind and is able to think of all possible avenues of a problem, not follow a tutorial better than anyone else. It’s hard to find that kind of teaching in these results.

The first place I wanted to pass on is a site called project euler and will really make you think about how to use some basic concepts to make some complex structures but also will make you look into things on your own and think of more efficient ways to solve things. At the heart of it all though, it’s main purpose is just to get the right answer to a crazy maths problem that no one would ever ask in the first place, which frankly are the best kinds of math problems, while also taking you from if statements to pointers and will push everything you know with every new problem.

There’s also things everyone should just know on their own. That is to say that we can’t hold your hand across every interest that’s out there and how to get involved. It’s impossible, people and minds change all the time, so you need to know where you can find something that tickles your fancy and you can work on yourself. That’s where coursera comes in. It will give you online courses in what ever you might think you’re interested in. It will start you off small, give you assignments and give you a feel what what caught your curiosity. Maybe you’ll love it, maybe it’ll just never mean anything to you again, but either way you’ll have an answer. There’s so many amazing courses on that site it’s impossible not to mention.

It’s a long journey, learning to code, but it’s got some of the best views along the way. It’s not easy and you have to keep at it, but there’s lots of ways to get there and well worth it. It’s exciting pursuing something that doesn’t have an end and can amaze you every time you think you’ve seen it all