-
Posts
7943 -
Joined
-
Last visited
-
Days Won
26
Content Type
Profiles
Forums
Events
Everything posted by Sensei
-
Depending on area. In ecology going for zero-emission is good direction.. The problem is the rest of world must do the same. Hard to tell who is from "right" and who is from "left" as they blended long time ago... Strawberry shake is not blended so well as left and right in politics! You must be more clear what you meant. John Cuthber, in one of his replies to me, years ago, said his definition of words "conservative" and "liberal". i.e. that conservatives want to decrease government's expenditures (and decrease taxes), and liberals want to increase government's expenditures (and increase taxes). I thought: WOW! I always thought that by "conservative", people on this forum meant somebody who is: religious, who is against LGBT rights, who is against immigrants, etc. etc. and "liberal" meant, somebody accepting LGBT rights, allowing and accepting multi-culture, especially helping refuges from countries which need help. So, the same word, said by two different persons from two different (culture) countries might mean something else to them.. (not big surprise!) I only know what joins politicians from any party: they want to sustain their seat in the next election. Regardless whether they have good program for people, or some crap made up by PR team..
-
One of the most important things in burning process is availability of Oxygen. Somebody using e.g. Liquid Oxygen would burn something within seconds or minutes. In the normal circumstances, how fast something burns is limited by Oxygen from the air. But it could be easily accelerated by using powerful fans which will pump much larger amount of air (thus Oxygen). That's why human invented bellows. https://en.wikipedia.org/wiki/Bellows "Several processes, such as metallurgical iron smelting and welding, require so much heat that they could only be developed after the invention, in antiquity, of the bellows. The bellows are used to deliver additional air to the fuel, raising the rate of combustion and therefore the heat output. "
-
Help me with filling out a questionnaire about voice-based assistants
Sensei replied to petrast98's topic in Computer Help
I am wondering why nobody music artist did not make song with "Hey Siri" or equivalent wake up words... The all worldwide iPhones, while listening to a radio station, or song on YouTube, etc., would wake up and listen this song (and/or commands).. -
In what language? Let's suppose so it's Java: class Person { // this is public attribute/member of object/class public String firstName; // this is protected attribute/member of object/class (accessible from this class and subclasses of this class) protected String secretOfPerson; // this is private attribute/member of object/class (accessible only from this class code: actually never in this example) private String topSecretOfPerson; // public method can be executed from anywhere (with special careful attention from separate thread, than the main thread!) public void setFirstName( @NonNull String firstName ) { this.firstName = firstName; } // yet another public method public @NonNull String getFirstName() { return( firstName ); } // protected methods can be called only from subclass of this class or from class itself protected void operation1() { } // private methods can be called only from this class private void operation2() { } } class "Attributes" are often with prefix "m" or "m_" which is shortcut from "member". In the above example I used the same name for member of object and method argument ("firstName"). Which obviously is conflict. Compiler don't know which is which. They can be distinguished by using "this." for member of object. You can learn the basics of Java language from w3schools https://www.w3schools.com/java/java_classes.asp
-
Translation is done the first because of convenience, to limit number of math operations, i.e. it's done anyway to calculate angle(s) using arcsin or arccos functions. If somebody bothers about math operations (and speed of execution), should not use matrix multiplications, as often you end up multiplying by 0 if some matrix fields are 0. (If you are compiling on CPU without built-in matrix multiplications) Computer programmers use them "all the time" during 3D transformations.. 4th vertex vector field is assumed to be 1.0 Vector4d vector = Vector4d( x, y, z, 1.0 ); Matrix4x4 matrix = Matrix4x4( [...16 fields...] ); vector *= matrix; // overloaded operator https://stackoverflow.com/questions/29079685/how-does-4x4-matrix-work-in-3d-graphic
-
...by single operation do you meant "multiplication of vertex by matrix", right... ? ...OP (might) wants to use 4x4 matrix.. i.e. it contains everything, i.e. translation offset is in the last column/row.. If OP would use 3x3 obviously it can contains just rotation(s) and eventual scaling (not used by OP).
-
Slightly off-topic to your main question, but I would like to point out that polygon with >= 4 vertices might be non-planar i.e. not laying on a single plane at all... If 4+ vertices were made by user of 3D application, if he or she worked in perspective view, chance to get non-planar polygon is > 99.9999%.. That's correct. But that's at the end. Because otherwise cross-product won't give you normal vector.. The first? You need to move them all, at the same time.. Moving the first only, would disturb shape of polygon. ...so if you will look at vector from the top (or side) (i.e. ignore one axis) you will see it's making Pythagorean triangle, from it you can calculate angle, which will be useful in further calculations.
-
Android app that can detect wave properties please
Sensei replied to Dan9191's topic in Classical Physics
You can convert RGB value of pixel to wavelength and/or frequency. Find HSB (aka "HSV") color space conversion routine. Hue is almost exactly matching 700 nm ... 400 nm. https://en.wikipedia.org/wiki/HSL_and_HSV (math formulas are in the middle of the article) -
...did you confuse me with somebody else? Your comment has no sense.. I didn't participate in your "antigravity" thread at all.. ...no, they are not ready.. they can't even remember periodic table... and don't even know entire quantum physics... "billion of human" are more interested in stareing at smartphone screens with running Facebook, Instagram, Instastories, Tik Tok, YouTube etc. etc. than (troublesome and dangerous) "travel to the stars"...
-
Gender is attached to (some, actually minority, of) living organisms... Immortal entities don't (have to) have gender, so "his" is inappropriate form, as it suggest living organism's gender "male".. Immortal entities don't (should not) have offspring the way living organisms i.e. by sexual reproduction.. (this would cause many logical problems, if God can have children, and children are gods also, i.e. immortal, then have offspring as well (with who? incest?), repeat enough of times, there will be billions and trillions and "infinity" of such child, grandchild, grand grand child etc. of God which are also immortal?) "children of God" is metaphorical i.e. not by sexual reproduction.
-
@Silvestru Did you hear about the case? "University professor beaten up on Warsaw tram for speaking German" http://archiwum.thenews.pl/1/9/Artykul/270263 “An incident yesterday on the no. 22 tram – which I commute on every day – saw... Professor Jerzy Kochanowski being beaten up because he, along with his professor friend from the University of Jena, spoke German,” the student wrote. “One of the other passengers didn’t like this. In response to [the professor’s] question ‘Why should I not speak German?’, the other passenger stood up and hit him,” the post on social media read. Professor Kochanowski confirmed these events, telling Newsweek Polska that the attacker was a “drunk proletarian”. “He hears German, hits [people] in the head and the matter ends with stitches to the head,” Kochanowski added. Just a couple days ago somebody was mistakenly taken as gay and beaten (by "drunk proletarian").. Fixed it for you..
-
How to stop ruling party corrupting election machinery?
Sensei replied to StringJunky's topic in Politics
...hilariously, it is now needed more than ever before.. to detect mass remotely controlled Internet trolls trying to influence people's weak minds... Which is trivial easy in US (black & white, with centuries of history of violence, migration, with alleged "taking American's job" subtext, which is not true, as majority of emigrants don't know English, don't have required competences and certificates, so can take the least paid jobs, no American wants to take by himself or herself).. -
How to stop ruling party corrupting election machinery?
Sensei replied to StringJunky's topic in Politics
Get rid of indirect democracy and replace it by direct democracy 2) i.e. voting by Internet, using mobile phones, computers, etc. in the all needed law changes 1)... ? 1) "sometimes"/"all the time", I am getting impression that politicians change law, just to pretend they do something, to pretend they are not completely useless. i.e. change to have any change, regardless whether it is good or bad, to have info for voters what they did in the past years. Change not to fix the real problems, not to advance. i.e. when law is almost perfect, covering almost everything, there is needed very little change, so quantity of voting per year should be quite low (thus not disrupting everybody's life) 2) there is needed very smart and intelligent society to have direct democracy. e.g. in not so bright society, somebody could came with an idea "let's give everybody 1m". Who don't want to have 1m? obviously everybody would vote "yea!". The next day after release of 1m to everybody, prices in the all shops would jump accordingly to larger amount of money on the market.. -
He made that (nonsense) value from 4K... 3840 * 2160 / ( 20 * 20 ) = 20,736... @MaximT 20 x 20 bits = 400 bits. There is 2^400 combinations of possible 0 and 1 in it... (2.58*10^120) More than quantity of atoms in the entire Universe..
-
Achieving Mars-Earth comunication High-Bandwidth
Sensei replied to MaximT's topic in Astronomy and Cosmology
The first of all 4K image, like on normal 4K TV, has 3840 x 2160 pixels with at least 24 bits per pixel RGB (3 bytes per pixel). So it's 3840 * 2160 * 3 bytes = 24,883,200 bytes = 23.73 MB of raw data. With 30 FPS it's 711.9 MB of raw data for video. Number of possible combinations of single frame is 2^ ( 3840 * 2160 * 3 * 8 ) = 2^ 199,065,600... Because of the real (but lossy) compression, not the nonsense that you're writing in other thread, it can be squeezed to fraction of this value. Especially if new frame of video is very similar to previous frame which has been already sent, you can reduce amount of data sending just difference between frames, instead of full frame each time. NASA should be more interested in receiving HDRI pictures, not RGB/RGBA. HDRI often uses 16 bits per channel or 32 bits per channel. -
Will Virtual reality replace reality?
Sensei replied to Obsessed With Gaming's topic in Computer Science
That's not VR.. ..when you see people stareing at their smartphone screens, you 90%+ of time see people talking (writing messages) through Messenger or FB with other people ("friends").. They are in the middle of conversation.. Like we are right NOW, simply using different app to do the same (discussion, exchange of views).. Another subject is about what they are really discussing with their friends. Whether it's something important, or silly, meaningless.. -
C/C++, C#, Java, etc. languages have just a few built-in statements and built-in instructions. And many of them are exactly the same in a couple different popular languages. So if you will learn in one language, you will know them all. However, to efficiently write programs, you need to learn standard linkable libraries e.g. stdlib in C/C++, standard dynamic libraries in C/C++, and .NET Framework in C#. They contain true functionalities, provides a way to connect to operating system, I/O, hardware etc. Amount of instructions in such system as .NET Framework is tremendous (counted maybe even in hundred thousands). You should get accustomed to with at least basic I/O, threading, memory, later UI, gfx, music. So, you need to write program, every day, new program, to check what external libraries and frameworks have to offer.
-
Yes. ..I am still using VS Express 2008, as it's simply faster.. For x64 compilation there can be used VS 2010, or specially modified VS 2008. AFAICS, you can still download VS 2008 ISO from Microsoft website at this link: https://go.microsoft.com/fwlink/?LinkId=104679
-
The easiest is to use inline assembler https://en.wikipedia.org/wiki/Inline_assembler inside of C/C++ code you use statement __asm__ ( "code here" ); or asm( "code here" ); ..you don't have to.. There are widely used mnemonics these days for several decades. x86 instruction set you can see here: https://en.wikipedia.org/wiki/X86_instruction_listings Mnemonic is usually shortcut of full English sentence what does instruction e.g. RCR = Rotate right (with carry) Quick and easy way to learn assembler is to use Disassembly together with Debugging inside of Visual Studio (or Express). You can see C/C++ lines mixed with generated assembler code (equivalent of C/C++).
-
If I would be making such classification, I would split to "being able to recognize physical object", and "being able to abstract thinking".
-
Are animals aware of so many definitions of intelligences at all.. ? Please..... do not provoke me..
-
Are Westworld presented entities... A.I. ... ? What is needed to have consens BTW?
-
.....I am in the hell of incompetence right now.. of people who what to destroy their planet by their own hands and with their own little brains... abusing environment...