Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - jaked122

Pages: 1 ... 18 19 [20] 21 22 ... 73
286
General Discussion / Re: Bay12's Desktops
« on: October 05, 2015, 10:21:50 pm »

I'm happy with it.

287
DF Dwarf Mode Discussion / Re: Ravens are murder. [SPOILERS]
« on: October 05, 2015, 10:18:49 pm »
This is the best thing I've read in a long time. Sorry Alistair Reynolds, Heinlein, Asimov but you just can't compete with beautiful serendipity.

288
Spoiler (click to show/hide)

289
General Discussion / Re: if self.isCoder(): post() #Programming Thread
« on: October 05, 2015, 06:06:54 pm »
Finally, someone who mistook java for C# rather than the other way around. Cool.

Used to always be the other way around.

290
General Discussion / Re: if self.isCoder(): post() #Programming Thread
« on: October 05, 2015, 03:51:29 pm »
Heh. I started programming when I was 12/13 or so - barely understanding anything. When I took a computer science class in highschool everyone thought I was Steve Wozniak reincarnated because I already knew how to print ("Hello, World!"). I played along with it and (somehow) managed to bullshit my way through as being hypercompetent when in reality I was only half a lesson ahead.
Which is basically just a really longwinded way of saying that when a sixteen-year-old says they're competent in three languages they're probably exaggerating.

Isn't that a lovely thing? I remember those days. Mostly because everyone else's view of programming was really stupid.

I like to say that I'm literate in many programming languages now, because even if I'm not proficient with their features, I can read the source code and figure out what's going on without consulting documentation.


Anyway, you're never too old to learn anything. I enjoyed meeting a forty year old who had taught himself programming over the last year, though I didn't tell him, he was a lot better at it than I was after about ten years of screwing around with programming.

291
General Discussion / Re: if self.isCoder(): post() #Programming Thread
« on: October 04, 2015, 02:48:05 pm »
If you've never used it for like anything before it might be a bit tricky for building something from scratch though.

Honestly my advice is to find a good open source project that uses it that you like (*looks pointedly at his signature*) and help them out. Or at least choose something a tad bit simpler if you intend to build from scratch; it can quickly become a lot of work. (Though I guess if you were doing something like minesweeper it wouldn't be a big deal :P ).
Oh I recognize you from the forum then. Hi.


In any case, the code for Cataclysmdda is very clean, in comparison to a lot of projects that I've had to dig around in. For someone who's familiar with the syntax of c++ but not perhaps the practices, it's not a bad place to start.
So I don't know how many people know (or care about) this, but I've been in an IT (and therefore programming is one of the more important classes) high school for 2 years now, and right now my curriculum covers C++ (no OOP sadly), JavaScript and later on probably also PHP.

And well, sometimes my brain gets completely overwhelmed by the vastness of the IT field as a whole (even though i'm only focused on the fraction of it), yet the stuff I'm doing is relatively simple still.
(I much prefer JavaScript to C++ right now but that's beside the point)

I guess this is a glorified PTW. Depending on how anxious I might feel I'll probably post here sometimes because man oh man am I bad at programming...or more specifically, math, which from what I gather is a pretty significant part of it.


(Though I'm not the one doing the programming specifically I'm part of a free open source game project I'll probably make a thread about at some point.)



First ask yourself, "Why do I want to use OOP"?


Is the answer along the lines of "Keeping data confined to structures and members relative to them is nice", then don't. If the reason is that your project is complex and would require a lot of duplicated code without it, then that's a good reason to do it.



Of course, I've seen people argue that what c++ calls OOP is not what the concept is meant to provide. Those people aren't helpful either and will likely do one of three things; tell you to learn something with a "better" oop design like smalltalk, objective-c, or any number of pointless unused languages; tell you that java's better, because it has a root object and the point of oop originally had nothing to do with message passing; or tell you to teach yourself a scheme and implement your own object orientation. That last one is the worst, but it is actually easy to do until you want some performance.


OOP isn't something tied to language, it's a method for reducing complexity. You could do it in assembly if you really wanted to(but you probably don't), you can do it in C, and you can do it in any decent language worth learning, and quite a few that aren't.


Object orientation is nonsense if you can find a better way.


 Try functional programming, that's been newly unfucked improved in c++11 so you should be able to use it well.


Functional programming is just another way of reducing the amount of object orientation in a complex project.


Also don't worry, math isn't important in programming. It's important in a lot of things regarding it, but the reason I started to learn programming was because math was too tedious for me to care about, so I wanted machines to do it for me. Besides, if you find it difficult to learn math through equations and rules, then algorithms are an alternative starting point to learn it.

292
Thanks. The svg is as bad as I believe it is possible to make it.

293
so let's see
Code: [Select]
plant exterpate all

294
ITT better to build a soletta. A nice giant shade that we can tune to let in a certain amount of light. All we'd need to do is build an orbital industrial complex and shove a large piece of metal into the L-5 point. In principle it can actually open and close variably to allow for it to be adjusted for optimum temperature.


Again, ocean acidification isn't really something we can solve without decent biological tech. Self-replicators that don't eat your face, etc.

295
That's a neat idea actually, could make some really interesting designs, would three dimensional stuff be possible like that?
Not as of now, csv files are 2d, but I could try to make it do things with layers, however this will result in a great number of files that you might not want.




Also, I was hoping to make fractals that would serve purposes like optimal bedroom layouts etc.


It does have documentation on the first link.

296
I like that this is what a political thread has turned into. A discussion about how a sufficiently large gun could destroy the earth.

Nicely done.

297
General Discussion / Re: if self.isCoder(): post() #Programming Thread
« on: October 03, 2015, 06:35:31 pm »
I just don't see the difference after this long.
Spoiler: wow minitutorial (click to show/hide)
There are many more. But fortunately, there are man pages for these, and synopsis online, and tutorial videos, and textual tutorial. All that matters is that you understand that if you want your repo to be publicized, at the moment it is simpler to do it with git.

298
Utilities and 3rd Party Applications / Inane Utilities for an Inane World
« on: October 03, 2015, 06:17:54 pm »
It's been a bit since I was active in the modding community. And While this is not a mod(not in this forum). I made an interesting utility to produce fractal fortresses in .csv format.
You know, because that's the format preferred by the community, also dfhack/quickfort.


This is where it is

So, LSystems. LSystems are cool. They are like fractals, but context-free-grammars, sort of. They are easier to specify with predictable results(sometimes) than the sort of equation that fractals like mandelbrots tend to produce. They are very quick, and they use turtle graphics to control the evolution of the curve.


They also have the advantage of working more easily on the sort of discrete plain that df works on. Always a plus.

So let me give you an example




There are more ways to customize it. And as of now(due to everything I wanted it to output not working) it can vectorize the designs into svg.

Really really awful svg.

But anyway, there are a whole suite of other utilities in that repository that I couldn't think of a better place for, as well as one or two that are meant to handle raw manipulation. Not well as of now, but that will improve as I work on it more.


What do you think? Should I work on anything in particular for this? Any features? Thoughts? Criticism? Invective? Praise?

299
The only magic in nuclear physics are the nuclei. Cool, also Flerovium is a neat name for an element, which also seems to be gasseous. I look forwards to seeing a mole produced. That'll be good. A good superheavy gas.

Low functioning autism does make me feel bad. First because people with it tend to be frustrating to interact with, and that it takes  a huge amount of work(on their part) to reach a normal position in life.

But hey, superheavy gasses made of metallic atoms. That sounds fun to me.

300
General Discussion / Re: European Union thread
« on: October 03, 2015, 03:52:47 pm »
So apparently sweden may be trying something interesting? Starting to shift over and run experiments and whatnot on rolling with six hour workdays. Anyone closer to the place hear anything about this?
I often wonder if I should be jealous of Sweden, having a government that seems to care about being sensible.

Pages: 1 ... 18 19 [20] 21 22 ... 73