[IMG]http://i.imgur.com/1wqFxtC.png?1[/IMG]
I'm working on an app for the centurion drinking game. I'm not brilliant at graphic design so keeping it simple is my only option at the moment.
[QUOTE=Darwin226;47489718]Why are you using C# 3.5?[/QUOTE]
This not for my personal projects, this is for work. Our codebase is currently using C# 3.5. I was looking for books to understand the plan/prototyping phase of software design. We also have BCB/Delphi legacy code in our codebase; we are not ready to up the .NET version since we still have users on XP.
[QUOTE=Clivens;47490388]This not for my personal projects, this is for work. Our codebase is currently using C# 3.5. I was looking for books to understand the plan/prototyping phase of software design. We also have BCB/Delphi legacy code in our codebase; we are not ready to up the .NET version since we still have users on XP.[/QUOTE]
Even with that it's still more a matter of experience than anything else.
What might be useful though would be books on business planning instead of something software-specific.
[editline]9th April 2015[/editline]
[QUOTE=Quincy.;47490271][IMG]http://i.imgur.com/1wqFxtC.png?1[/IMG]
I'm working on an app for the centurion drinking game. I'm not brilliant at graphic design so keeping it simple is my only option at the moment.[/QUOTE]
You [I]probably[/I] should integrate some kind of liability waiver / anti-irresponsibility messages if you ever release that :v:
Got distracted with some OpenGL work, back to parsing!
[cpp]int main()
{
struct pow_expr : public operation<exact<'^'>,
sabsorb<val_expr>
> {};
struct mul_expr : public operation<exact<'*'>,
pow_expr,
sabsorb<val_expr>
> {};
struct add_expr : public operation<exact<'+'>,
pow_expr,
mul_expr,
sabsorb<val_expr>
> {};
struct equ_expr : public operation<exact<'=','='>,
add_expr,
pow_expr,
mul_expr,
sabsorb<val_expr>
> {};
struct stat_expr : public any_of<
equ_expr,
add_expr,
mul_expr,
pow_expr
> {};
auto result = stat_expr{}.match("12+34==46");
return 0;
}
[/cpp]
[IMG]http://i.imgur.com/jXzy0F1.png[/IMG]
And so much faster than the lambda version, since all the function indirection is resolved at compile-time.
[QUOTE=Dr Magnusson;47490769]Got distracted with some OpenGL work, back to parsing!
[cpp]int main()
{
struct pow_expr : public operation<exact<'^'>,
sabsorb<val_expr>
> {};
struct mul_expr : public operation<exact<'*'>,
pow_expr,
sabsorb<val_expr>
> {};
struct add_expr : public operation<exact<'+'>,
pow_expr,
mul_expr,
sabsorb<val_expr>
> {};
struct equ_expr : public operation<exact<'=','='>,
add_expr,
pow_expr,
mul_expr,
sabsorb<val_expr>
> {};
struct stat_expr : public any_of<
equ_expr,
add_expr,
mul_expr,
pow_expr
> {};
auto result = stat_expr{}.match("12+34==46");
return 0;
}
[/cpp]
[IMG]http://i.imgur.com/jXzy0F1.png[/IMG]
And so much faster than the lambda version, since all the function indirection is resolved at compile-time.[/QUOTE]
When I see stuff like yours, or for example when Tamschi or Berkin work on their internals I feel really sad that I don't know enough about their system to really fully appreciate what they are doing.
I mean, you could write a huge post about the intricacies of your work but I just wouldn't have the time to immerse myself into it.
A lot of people here that aren't working on flashy, concrete stuff have entire frameworks built up that would require hours of studying to actually understand. I know I personally wrote a ton of them.
While I'm sure that what you're doing is great and useful and innovative I feel like, ultimately, it's a very lonely process.
I don't know if anyone else feels this way, but if you do, at least you know you're not alone.
[QUOTE=Darwin226;47491185]When I see stuff like yours, or for example when Tamschi or Berkin work on their internals I feel really sad that I don't know enough about their system to really fully appreciate what they are doing.
I mean, you could write a huge post about the intricacies of your work but I just wouldn't have the time to immerse myself into it.
A lot of people here that aren't working on flashy, concrete stuff have entire frameworks built up that would require hours of studying to actually understand. I know I personally wrote a ton of them.
While I'm sure that what you're doing is great and useful and innovative I feel like, ultimately, it's a very lonely process.
I don't know if anyone else feels this way, but if you do, at least you know you're not alone.[/QUOTE]
I'm with you 100%. That's why I try to make an effort to look at people's post when they just post code samples, because I know that it is more than the sum of its lines of code.
I realized that most likely nobody would have the slightest idea wtf was going on with my code, but I knew that at least you or Tamschi would have a hunch about what I was trying to do, even if the machinery behind it was completely foreign to you. In the end, I feel like posting here is more about presentation than feedback, so if someone thinks that what I do looks cool, then I guess that's enough. Ultimately, WAYWO is just a way to keep us all motivated, I think. That's how I use it anyway, knowing that if I can make my code do THIS or THAT, I can post it to WAYWO :v:
The truth is that I haven't felt this motivated to program in years, because of a personal issue, so now that I'm programming again I'll share whatever tiny things I make with anyone who will listen, cause in the end it's more symbolic of my current progress in other areas of my life than anything else.
Oh yeah and here's a dwarf:
[img]http://i.imgur.com/Zr8NcrJ.png[/img]
Today I saw that mathematical functions can have minimum and maximum at same point.
[editline]9th April 2015[/editline]
[IMG]http://upload.wikimedia.org/wikipedia/commons/2/23/Modell_einer_Peanoschen_Fl%C3%A4che_-Schilling_XLIX%2C_1-.jpg[/IMG]
[QUOTE=Fourier;47491382]Today I saw that mathematical functions can have minimum and maximum at same point.
[editline]9th April 2015[/editline]
[IMG]http://upload.wikimedia.org/wikipedia/commons/2/23/Modell_einer_Peanoschen_Fl%C3%A4che_-Schilling_XLIX%2C_1-.jpg[/IMG][/QUOTE]
Some of them have a minimum and a maximum at every point where they are defined.
[QUOTE=Rocket;47491500]You mean something like f(x) = 0?[/QUOTE]
And a continuum more of them :D
I realized today that I had never written a recursive fibonacci function in my entire life.
Huh.
[QUOTE=Fourier;47489789]I am 21 but still feel like 16 years old :v:.[/QUOTE]
I am 19, I sometimes feel like an old nag.
Setting up a Java EE 6 Jboss web app makes me feel 30 years older.
Seriously, do java devs have some weird kink for abbreviatures?
Look:
"This project is setup to allow you to create a compliant Java EE 6 application using JSF 2.0, CDI 1.0, EJB 3.1, JPA 2.0 and Bean Validation 1.0. It includes a persistence unit and some sample persistence and transaction code to introduce you to database access in enterprise Java."
Just reading this gibberish makes your inner voice whisper:"You could make a couple startups in django with the time you will spend understanding all that shit"
[QUOTE=MuffinZerg;47491903]I am 19, I sometimes feel like an old nag.
Setting up a Java EE 6 Jboss web app makes me feel 30 years older.
Seriously, do java devs have some weird kink for abbreviatures?
Look:
"This project is setup to allow you to create a compliant Java EE 6 application using JSF 2.0, CDI 1.0, EJB 3.1, JPA 2.0 and Bean Validation 1.0. It includes a persistence unit and some sample persistence and transaction code to introduce you to database access in enterprise Java."
Just reading this gibberish makes your inner voice whisper:"You could make a couple startups in django with the time you will spend understanding all that shit"[/QUOTE]
Java EE jobs are secretly disguised as work for masochists, because it's painful to get even the most basic project up and running.
[t]https://dl.dropboxusercontent.com/u/9580892/Screenshot%202015-04-09%2017.51.17.png[/t]
Added a skybox and currently attempting heightmaps. Not entirely sure what's up with the textures but at least I finally got it to load :v:
[editline]9th April 2015[/editline]
jk, got it:
[t]https://dl.dropboxusercontent.com/u/9580892/sc.png[/t]
[QUOTE=Contron;47491933]Java EE jobs are secretly disguised as work for masochists, because it's painful to get even the most basic project up and running.[/QUOTE] [t]https://dl.dropboxusercontent.com/u/15606445/Java-Evil-Edition.png[/t] ?
Too much on screen?
[video=youtube;AaPaf_zB2RU]http://www.youtube.com/watch?v=AaPaf_zB2RU&feature=youtu.be[/video]
[QUOTE=geel9;47491815]I realized today that I had never written a recursive fibonacci function in my entire life.
Huh.[/QUOTE]
I don't think I would know [i]how[/i]
[editline]9th April 2015[/editline]
oh shit, page king, quick, have some content:
[t]http://i.imgur.com/Xk5QOgc.png[/t]
I have no idea what I'm doing.
[QUOTE=Rocket;47493389][code]
function fib(first, second)
{
console.log(first + second);
fib(second, first + second);
}
fib(0, 1);
[/code][/QUOTE]
You, uh... forgot the end condition.
[QUOTE=Rocket;47493389][code]
function fib(first, second)
{
console.log(first + second);
fib(second, first + second);
}
fib(0, 1);
[/code][/QUOTE]
simpler:
[code]
function fib(n)
{
if(n == 0 || n == 1) return n;
return fib(n - 1) + fib(n - 2);
}
fib(10); //Gives 10th fib number
[/code]
[QUOTE=Darwin226;47491185]When I see stuff like yours, or for example when Tamschi or Berkin work on their internals I feel really sad that I don't know enough about their system to really fully appreciate what they are doing.
I mean, you could write a huge post about the intricacies of your work but I just wouldn't have the time to immerse myself into it.
A lot of people here that aren't working on flashy, concrete stuff have entire frameworks built up that would require hours of studying to actually understand. I know I personally wrote a ton of them.
While I'm sure that what you're doing is great and useful and innovative I feel like, ultimately, it's a very lonely process.
I don't know if anyone else feels this way, but if you do, at least you know you're not alone.[/QUOTE]
In my opinion the most important parts are the interface and behaviour of a software (which I probably don't do the best job of explaining when posting here).
It shouldn't be necessary to fully understand what's happening behind the scenes to use a program, so the user experience is what I prefer my software to be judged by.
That isn't to say internals and program structure (in terms of maintainability) aren't interesting and important, but I don't consider that too necessary to learn about if you don't want to replicate it
(which I usually do which is why I pick up all this stuff over time in the first place. I'm fairly idealistic and often aim a bit higher than what I can efficiently achieve, probably because I'd quickly get bored otherwise).
I probably also have a bit more time on my hands though.
[I]Technically speaking[/I] it should be possible to explain most of my libraries in their entirety in less than five minutes.
The reason for that is that when I'm not following a huge ugly specification most of the programs I write are finished in a few nights due to random bouts of inspiration (mostly when being ticked off about subpar interfaces) and a slight dislike for the act of programming.
I was planning to make a small website to try to release something in a professional manner anyway, so I may try to add a section that goes slightly behind the scenes.
It shouldn't be too difficult since the library in question is fairly shallow anyway (though the control flow is pretty convoluted :v:).
[QUOTE=geel9;47493472]simpler:
[code]
function fib(n)
{
if(n == 0 || n == 1) return n;
return fib(n - 1) + fib(n - 2);
}
fib(10); //Gives 10th fib number
[/code][/QUOTE]
what if you pass in a negative number?
[QUOTE=WillKirkby;47493516]what if you pass in a negative number?[/QUOTE]
then you're a fuckin' moron m8
i don't got TIME to review it it's a [b]FEATURE[/B]
[QUOTE=Fourier;47491382]Today I saw that mathematical functions can have minimum and maximum at same point.
[editline]9th April 2015[/editline]
[IMG]http://upload.wikimedia.org/wikipedia/commons/2/23/Modell_einer_Peanoschen_Fl%C3%A4che_-Schilling_XLIX%2C_1-.jpg[/IMG][/QUOTE]
I think the correct term in English is saddle point (which would be the direct translation of the term used in German).
[URL="https://commons.wikimedia.org/wiki/File:Lagrange_points2.svg"]The three colinear Lagrange points are this[/URL] and unstable, while the other two are maxima of the potential but stable due to the rotating coordinate system that has apparent forces added to moving objects.
[QUOTE=Darwin226;47491185]When I see stuff like yours, or for example when Tamschi or Berkin work on their internals I feel really sad that I don't know enough about their system to really fully appreciate what they are doing.
I mean, you could write a huge post about the intricacies of your work but I just wouldn't have the time to immerse myself into it.
A lot of people here that aren't working on flashy, concrete stuff have entire frameworks built up that would require hours of studying to actually understand. I know I personally wrote a ton of them.
While I'm sure that what you're doing is great and useful and innovative I feel like, ultimately, it's a very lonely process.
I don't know if anyone else feels this way, but if you do, at least you know you're not alone.[/QUOTE]
Since you mentioned me (saw it on the ticker), I feel like I should add my two cents to your sentiment.
You're right in that doing work like mine is a lonely process. But that's where I thrive.
I have never been great at presentation. I am not the type of developer who knows how to put together an impressive, eye-popping demonstration of the technology I develop. I write libraries, and then I hope that other people can do impressive things with them. Actually showing off the features of my work is something I struggle with; you have probably seen me post console output a lot, and that's because it's all I can bring myself to do.
I love coming up with algorithms and weird tools for performing tasks. However, I hate actually applying them to things. As soon as I do, I find that my focus strays away from making my code work for a variety of purposes, and more towards adapting it to whatever I use it in. So I write libraries and release them. I find it more fun to look at what others do with my work than to actually use it myself. It's like an author reading their own books... it's not quite as enjoyable as it would be from another perspective. I wrote it, so there's no sense of wonder, no desire to experiment.
I wish I could make my posts more interesting for people who are not as familiar with my projects or backend development in general. It's hard to explain the things I do without, as you said, writing a huge post about the intricacies. But as long as someone understands and appreciates the effort that goes into what I do, I'll post about it. It makes the lonely work worth it.
[QUOTE=RickDork;47492999]Too much on screen?
[video=youtube;AaPaf_zB2RU]http://www.youtube.com/watch?v=AaPaf_zB2RU&feature=youtu.be[/video][/QUOTE]
Consider depth-ordering by importance.
I think the order in Touhou games is
- fully transparent or screen-space effects
- bombs
- enemy projectiles
- your projectiles
- you
- enemies
- background effects without gameplay relevance
- background
The amount of detail in your game is also very high.
Consider lowering it for unimportant entities and colour/shape-coding them to some extent.
[t]https://dl.dropboxusercontent.com/u/9580892/gam.png[/t]
more progress! got multi-texturing and a blendmap type thing
thank you MallocNull!
[IMG]http://i.imgur.com/HqMiMKH.png[/IMG]
Some little task manager. Nothing special, but my second project properly using MVVM.
[editline]10th April 2015[/editline]
Since it's not immediately clear, the last two buttons change the state (competed or not) and the priority (low, medium or high) of a task.
[QUOTE=Rocket;47493389][code]
function fib(first, second)
{
console.log(first + second);
fib(second, first + second);
}
fib(0, 1);
[/code][/QUOTE]
When they say "recursive Fibonacci function" I don't think anyone means what you just wrote.
I don't understand your recursive function. Maybe it's because I'm not familiar with the language. I can't see any condition for a recursive case or basecase. It looks like there's no basecase.
Erlang:
[code]
fib(0) ->
0;
fib(1) ->
1;
fib(N) when N > 1 ->
fib(N-1) + fib(N-2).
[/code]
[QUOTE=ECrownofFire;47494470]Erlang:
[code]
fib(0) ->
0;
fib(1) ->
1;
fib(N) when N > 1 ->
fib(N-1) + fib(N-2).
[/code][/QUOTE]
Is this elfian
Sorry, you need to Log In to post a reply to this thread.