What are you working on, Sup Forums?

What are you working on, Sup Forums?

Previous thread:

Other urls found in this thread:

people.eng.unimelb.edu.au/lee/src/nuprolog/
github.com/thecomet93/ik
github.com/urho3d/Urho3D/pull/1871
discourse.urho3d.io/t/inverse-kinematics/1819/28
twitter.com/NSFWRedditVideo

First for webm related

What's a good total language for doing all of my computation at compile time?

nth for youre about 30 years late to the flappy train, m8

>people.eng.unimelb.edu.au/lee/src/nuprolog/
>nu-

souplesse

We should ask 'Whom quoteth thou?' instead of 'Who are you quoting?' because it's grammatically correct (see ) and more economical.

Smaller data types can implicitly convert to larger data types, because there is no risk of destruction of data.

The concept of 3.222 cannot be stored in an integer, but the concept of 3 can be stored in a double.

>3d graphics programming in asm
is it feasible?
should I try it?
will it drive me insane?

Name a better language than C or Scheme

OOP is shit.

Discuss.

Quote properly next time, please.

c++17

2 + 2 = 4

Discuss.

I was quoting myself from yesterday's thread

install gentoo

Stupid frogposter

Invalid assignment statement

your mom is shit

discuss

Link?

>=
>assignment statement
What sort of shitlang are you using?

>needing a discussion on a true statement

Please do not misuse the quoting function.

Literally nothing wrong with using double since by using int he's making an useless conversion and int is a subset of double

shit I actually searched for it

Except for the fact that it gives the user the option for a nonsense choice like "2.7 coin flips."

4 = 2 + 2

"3d graphics programming in asm"
You didn't say that though.

I knew you would troll me

My post is completely legitimate, even though your post is related you still didn't say the thing you were quoting.

Making it an int will give the user the option of -5 coin flips

C, and don't you dare call it a shitlang

I already did.

How do you think RollerCoaster Tycoon came about?

An inverse kinematics library written in C. It implements an insanely fast algorithm (FABRIK).
github.com/thecomet93/ik

I wrote wrappers for the Urho3D engine, which was merged into master a few weeks ago.
github.com/urho3d/Urho3D/pull/1871

You can follow progress here:
discourse.urho3d.io/t/inverse-kinematics/1819/28

>Being ironically autistic
>Not understanding implied quoting

Really, who were you quoting?

Learn your place in the world you overgrown toddler

...

>Peeeeenus weeeeenus ;D
What is that , though ?

Good point.

I'd try to parse to int, and then check that constraint.

You could even do something like pic related.

int.TryParse(ReadLine(), out var muhInput);

switch (muhInput)
{
case int i when i > 0:
WriteLine("Input is valid!");
break;
case int i when i < 0:
WriteLine("Please enter a positive number!");
break;
default:
WriteLine("Please enter a whole number!");
break;
}

>vim is so bloated it has tetris and now this
Who would have thought.

>i < 0
i

She took a real beating...

Or just add that as a case:
switch (muhInput)
{
case int i when i > 0:
WriteLine("Input is valid.");
// do logic here
break;
case int i when i == 0:
WriteLine("You didn't flip any coins!");
break;
case int i when i < 0:
WriteLine("Please enter a positive number!");
break;
default:
WriteLine("Please enter a whole number!");
break;
}

> It's OK to be jealous. A brony just wrote a piece of software that outdoes anything you'll ever write.

avl tree to pass classes without attending

horrible

Apologies for not being a programming question per se. How do you sudo a command in Windows? runas /profile /user:admin command works, but if I add any options for that command it kicks me back into runas help.

Mmmhm delicious

The power function. i didn't know it could take int arguments in c# the google doc said double, so i just used double to be save

What?
What did I do wrong?

You didn't put /dpt/ in the subject, dipshit.

I'm willing to bet a new thread or two is going to crop up because of this.

Whom art thou quoting?

Being logged in as an admin?

You haven't done anything wrong, necessarily, but prematurely doing every optimization possible is a bad habit.

Focus on making your code work correctly, then tune performance to acceptable levels starting with most to least impact.

See
for some options for you to use in your code.

that's not 3d though.

>Apologies for not being a programming question per se.
Stopped reading right there.

"cmd.exe -muhOption" runas ...

Right-click on cmd/cygwin then Run As Administrator?

It's 2D sprites via a 3D capable library (DirectX).

There's not a whole lot of difference between rendering something in the world with a ortho cam vs rendering it with a perspective cam and a z coordinate

If i have a character 'B' for example, how would i assign a variable say Test1 equal to the characters decimal value

sum = reduce(add, list(filter(lambda x: x%3==0 or x%5==0, range(1000))))

why is python and functional programming so cute bros

uwotm8

the character B has a number value of 66

How rude

iirc, RCT uses directdraw (2d only). and its engine is based on TT which was plain vga.
anyway I was talking about programming the gpu hardware registers directly, without using an API.

I dont know what youre asking though.

how about
int test = 'B';

Nah I figured it out. I wanted to take a string and convert each character to the numeric value of said character

i used the uint8 function

>characters decimal value
I could maybe try giving you an answer, maybe if you had said what language you're "working" with, but then it's like giving a condom to a woman: they don't have the background to use it, so grow yourself a dick, and understand that codepoints are not at all decimal but numbers, plain numbers regardless of any numeral system.

uint8 is a function now?

It ain't a function and you don't get what you are doing.

Also WHAT FUCKING LANGUAGE?

in MATLAB yes

I have a couple of functions which may or may not return a tuple of nonetypes, (None, None) in Python.

What does (None, None) equate to though? It isn't True or False. The same applies to any tuple with Booleans. Even using isinstance((None, None), tuple()) equates to False.

Now what's the numeric value of 'ñ' ?

No idea

...

Thank you

>isinstance((None, None), tuple())
>>> isinstance((None, None), tuple)
True
Ftfy
Btw
>>>tuple()
()
>>>list()
[]
>>>int()
0

Oh yes, I don't know why I was using tuple(). So that's just it, it's a tuple but Python can't tell whether it's True or False?

You can just equate it to None?
a = (None, None)
if not (a[0] == None and a[1] == None):

>sim cards are their own computers
>you can program on them
>Oracle has a stripped down version of Java on them
What? It seems like there's no garbage collection, so how do you delete objects? I'm just curious how that pseudo-Java of theirs works.

Could you use Scheme instead of Lua as an embedded scripting language in a C++ game?

Sure why not

you can do whatever the fuck you want

not an option
invalid parameter

I'll chalk this up to Windows being inferior and ask my boss.

Reworkng old code so that it works for what i want it to do, also spending the time to add in documentation this time around.

>no /dpt/ in OP
retarded animeposter

Why can't you use doubles to index arrays?

e.g.
array[122.3]

>ah yes, id like to see the 122.3 person in line please

>goto is for lazy programmers
This meme has to die. Dijkstra himself has admitted he's not even that dogmatic about it but was rather concerned with its use.

Goto is fine.

>vitamins[0.3]
Hmmm let me just open one of the containers for my vitamins all the way to actually get them and then partially unseal the other just for the fuck of it

you'd ask for index 0.5 and get a half-value

You can

Uncaught ReferenceError: Invalid left-hand side in assignment

I'd expect you have a special function for handling fractional access. So you could have it return the average.

In java, you can have numbers represented by underscores. e.g 1_2_3_4
how would you convert a string to int in this special case?
int a = Integer.parseInt("1234")
System.out.println(a); // prints 1234


but
int a = Integer.parseInt("1_2_3_4")
System.out.println(a);
// trows error:
// java.lang.NumberFormatException: For input string: "1_2_3_4"


what do?

You can with associative arrays.

What the only thing worse than installing gentoo?

Replace underscores with blanks.