Jump to content


Member Since 04 Oct 2013
Offline Last Active Yesterday, 02:13 PM

Posts I've Made

In Topic: New Keyboard layout

Yesterday, 11:24 AM

michel123456, do you know that 3D FPP game players won't touch it? We use WSAD! :-)

There is also couple other issues for game players.. left ctrl must be the most left-bottom key to be easily accessible (by the smallest finger)..

It's "crouch" functionality. While crouching player has to be able to press WSAD keys at the same time.

(on your "conventional keyboard" it's also in wrong place for gamers. It must be some laptop keyboard?)


Left-alt and right-alt keys are widely used to enter regional characters not existing in English charset.

They must be in such places so using just one hand can hold alt and be able to pick up other key at the same time.

E key + alt key in your layout is very hard to get (especially for women and children).

Also N key + alt might be problematic.

In Topic: Conservation of Angular Momentum

Yesterday, 06:34 AM

The only thing that makes motion is Force: F.


Newtons explanation for the quantity of motion was F = ma


Acceleration is velocity over time: so, F = mv/t






Acceleration is change of velocity in period of time.

Constant velocity = no acceleration, as both v1 and v0 are equal, and reduce to 0 in the above equation.

You can multiply either velocity by mass:






and force is equal to change of momentum in period of time.

In Topic: What are some of the problems with engineering a neural interface for complex...

20 January 2017 - 01:43 PM

Human would need first to figure out how brain is storing information, to be able to send data and read data directly from the brain.


ATM, humans are able to control devices using brain.

Electrodes are attached to skin on head, and software analyze brain activity to learn operations, during calibration.


Lack/small activity of brain is operation 1.

Larger activity of brain is operation 2.


Search Google for "wearable neuroheadset".


In Topic: C Https Socket programming

20 January 2017 - 12:37 PM

It should be:

"Date: Thu, 13 Jul 2000 05:46:53 GMT\r\n"


No space between Date and colon,

and time in format hh:mm:ss (without spaces and colon).

ps. You should/need to read www.w3.org links that I gave in post #6 (and even better entire HTTP protocol specification).

f.e. Date header is described here https://www.w3.org/P...3.html#sec3.3.1

Not without a reason there is so many times repeated word "MUST".. Rules are very strict.

In Topic: C Https Socket programming

20 January 2017 - 10:37 AM

shutdown(socket,1) does the same thing.

Do you want to learn programming correctly, or not?
Any IT employer would tell you the same:
Don't use hard-coded integers, when they are defined as macros/enums.
And when they are not (your own code), make them, with meaningful names.

So I just need to add CRLF?? I dunno maybe there is a function on MSDN to generate it. The received header data doesn't have CRLF.

CRLF = Carrier Return, Line Feed,
They are two characters to add to strings returned to client by server.
Basically you do it by
printf( "Text....\r\n" );
\r is CR
\n is LF
\r\n is CRLF

Example HTTP response from HTTP server such as Apache:

Attached File  HTTP_ResponseMessageExample.png   25.05KB   0 downloads


After each line there is CRLF f.e. code in C/C++:

send(s,"HTTP/1.1 200 OK\r\n" );

send(s,"Content-Type: text/html\r\n" );

send(s,"\r\n" ); // empty CRLF

send(s,html_body_string );


No I didn't I read them and https://msdn.microso...3(v=vs.85).aspx trying to figure stuff out and it isn't exactly the same as what I want anyway since it's C++

In MSDN examples, C and C++ are pretty much the same, as they are not using C++ classes nor any C++ specific features.
They could simply call it "Example in C/C++" or "Ëxample in C".