-
Posts
7956 -
Joined
-
Last visited
-
Days Won
26
Content Type
Profiles
Forums
Events
Everything posted by Sensei
-
..they were "frozen" because they physically did not belong to them.. i.e. "oligarchs" are just sockpuppets of V.P, like Donald T., not the real owners of the assets.. In the original thread I posted Navalny's documentary which literally nobody commented (so I assume nobody watched the video also!).. ...In which the mechanisms by which they steal money from the Russians are shown, and which are ESSENTIAL to both this thread and the parent thread... WTF is going on with you guys... You talk about "Russian oligarchs"...but you didn't even bother to check how they are connected to each other.... watch the video.... It's a bit like watching biology and evolution without mentioning genes....
-
...you skipped one essential step: asking them what they think of Russia's attack on Ukraine, i.e., whether they personally support mass murder, or they reject the "official propaganda"... Some countries, stores, businessmen have already started to do this on their own, i.e. Russians who want to make deals with them have to sign documents condemning the aggression of the V.P. and the Russian army against Ukraine.. It should be extended to all Russians who want to visit the EU, US or any other Western country..
-
I would connect an ammeter between one of the battery electrodes and the cable to see if current is flowing there. If so, it means something is draining the battery overnight. Energy = Current (from multimeter configured as ammeter i.e. serial, which requires disconnection of battery, and plugging multimeter like above) x Voltage x Time (in Joules). Divide by 3600000 to get it in kWh.
-
Why do we use CMYK color for printing?
Sensei replied to shivajikobardan's topic in Computer Science
Professionally this should be called: dithering. https://en.wikipedia.org/wiki/Dither Dithering is also used in ordinary TrueColor, 24 bits, 16 mln (16777216), color computer graphics. From black 0,0,0 to white 255,255,255 there is just 256 shades of gray. If gradient covers large area of the screen, e.g. 1920 width, bands of similar shade are clearly visible (1920/256 = 7.5 pixel). To simulate more colors dithering is used, to exceed 16 mln colors range. -
Looks pretty straight forward to me. Each object has a x,y or x,y,z location. Each object has a velocity vector vx,vy or vx,vy,vz. Each object has an acceleration vector ax,ay or ax,ay,az. And there is general g acceleration downward (y). d=1/2*a*t^2 is general equation of how far object will fly with given acceleration, after t seconds. So, you add it to character position, and just animate acceleration vector. e.g. user presses left or right arrow to move character, you change ax accordingly, user presses jump, you change ay vector, and the main routine (executed to update every frame of the game), based on it, modifies vx,vy[,vz] and they modify x,y[,z]. Then you do collision detection, to see if character or object can be moved in such direction or not. https://en.wikipedia.org/wiki/Collision_detection#Video_games Show code of your game.
-
Use: SHOW VARIABLES LIKE 'validate_password%'; to learn what is validate_password_policy value. Then set it by: mysql> SET GLOBAL validate_password_policy=LOW; OR mysql> SET GLOBAL validate_password_policy=0; Then you should be able to set low quality passwords for new users (not recommended for a real server).
-
@zak100 https://www.google.com/search?q=ERROR+1819+(HY000)%3A+Your+password+does+not+satisfy+the+current+policy+requirements
-
...people always say that.. that things were better in the past days.. (mostly because they have no idea)
-
..there is very special badge for somebody who will get in bunker where is hiding enemy of the world (aka "V.P.")..
-
..I already know what they will be joking about at the next 10+ Oscars.. Don't slap the presenter.. ..or the next presenter will be Arnold S. (he wouldn't dare make such a joke in the first place), or Jean Claude van Damme.. ..or they will "hire" Jean Claude van Damme as bodyguard (enough funny!), to "protect the presenter against slappers".. (then the presenter will start mocking of Jean Claude van Damme.. and the answer will be: "I'm a professional at work, I can't kick his ass on air, but the broadcast won't last forever".... )
-
A list of URL shorteners can be found here (incomplete list): https://www.google.com/search?q=URL+shorteners+list Basically, the idea is to have as few characters as possible in the domain name (e.g., instead of google.com it's goo.gl) and as few characters as possible in the path (i.e., immediately following the hostname are letters and numbers that make no sense to humans). Full URLs are detailed because of the way search engines work. Therefor webmaster SEO (Search-Engine Optimizations) tend to put important search-engine keywords into URLs. Like the full title of the article with all the details of the thread being discussed. e.g. website selling electronics, 3d printers with brand XYZ, with model ABC, want to generate URL with format like: https://www.example.com/products/3dprinters/XYZ/ABC/ (which is usually handled by rewrite-engine https://en.wikipedia.org/wiki/Rewrite_engine at HTTP web server level, and converted to internal query-string)
-
Depends. If you have a link such as: https://www.example.com/article?id=1234&uid=19182737774902&[.......] The id is the article identifier, which is an essential argument to the script, so it cannot be removed. So after deletion, the new link will look like: https://www.example.com/article?id=1234 If you have a link such as: https://www.example.com/article/1234?uid=19182737774902&[.......] The id of the article is integrated with path part (which might be just an illusion given by rewrite-engine) So after deletion, the new link will look like: https://www.example.com/article/1234 Should be okay. After clearing the URI/query-string portion before sharing, try the new URI string in a private browser session to see if the link still works.
-
Part after "?" is called query-string. https://en.wikipedia.org/wiki/Query_string ...if you received an "interesting link that you want to share with someone".... you should ALWAYS remove tracking data from the query-string, whether you send it to a family member by mail, text message, or provide it on a forum in raw form or shortened by URL shorteners.
-
?? You're thinking about query-string arguments? Domain A (e.g. the JS script hosted on it) creates cookie/supercookie if it is not present ("session id"). Website X uses the code from domain A (cookie/supercookie is set to initial value). X has link to Y. The user goes from X to Y (a reference URL is sent with it, so Y knows who referred it). Website Y does not use the code from domain A. The user goes from Y to Z (a reference URL is sent with it). Website Z uses the code from domain A (cookie/supercookie is already sent). "A" knows that you visited X, Z directly from analyze of the logs.. because the same cookie/supercookie is found..
-
Worth a try: https://stackoverflow.com/questions/1720244/create-new-user-in-mysql-and-give-it-full-access-to-one-database i.e. create a new user and give privileges (if you haven't already done so).
-
Copy it into a text editor that allows horizontal scrolling, and you'll see it's not garbage. I am working on Windows and using XAMPP. The differences between what I have here and what you have are small. I have a "Password" column that is blank in all rows, which is not in your log... I have multiple "root" user accounts, each for IPv4 and IPv6, either by name or directly by IP number. Have you tried the phpmyadmin from a web browser? Different MySQL versions can behave slightly differently. So if I were you, I would try inserting a password column in mysqladmin/phpmyadmin, and then duplicate the row to have IPv6 support as well, just in case. Just like in my screenshot above.
-
What you get when you use: select * from mysql.user; ? Has this ever worked with Python, or is this your first time using MySQL with your own Python code? BTW, careful with "localhost". "localhost" on machines with enabled IPv6 can mean ::1, otherwise 127.0.0.1 e.g. if I in command-line use ping localhost, I see it resolves to ::1 Windows firewall checked/disabled?
-
..but it is very easy to solve.. simply all people on the entire planet must stop using money (in any form).. Apart from physical limits, availability of money prevents scientists, engineers, workers, anybody from doing something.. NASA engineers after shutdown of Apollo program did not "forget" how to build rockets. The US government cut them from money, and dismissed high-level knowledgeable and sent them home, have to go to work in the private sector, below their abilities. If you have "economy" without money, you can build solar panels at any quantity, limited just by speed of getting rare chemical elements from mines required to build them. In a "classic", i.e. today's economy, if people won't buy e.g. solar panels by themselves, they won't have them (there is need one of on each building or so).. Some Western countries governments are trying to speed this up by giving refunds (fixed amount, 25%, 50%, 100%) for buying devices producing renewable energy, but it's a huge bureaucracy, and method of stealing money before it gets to the average Joe Doe, and the refund is given after the device is already on the building, so people still have to have that money up front)... So basically, if someone isn't rich, someone isn't eco-friendly, they'll just skip the crap offer from the government.. Governments should "own" the solar panel manufacturers, installation companies, etc., otherwise when demand for the product increases, the private sector will simply raise the price for the product and installation costs (basically sucking up all the tax money).
-
https://en.wikipedia.org/wiki/Millerovo_air_base_attack @zapatos
-
Due to the war, these countries may experience food problems in just a few months: https://www.voanews.com/a/ukraine-war-to-compound-hunger-poverty-in-africa-experts-say/6492430.html "Experts warn the war in Ukraine could increase hunger and food insecurity for some people in Africa. Most African countries import wheat and vegetable oil from Ukraine and Russia, a region now engulfed in conflict since Russia invaded its neighbor." "The United Nations says Russia and Ukraine produce 53% of the world’s sunflowers and seeds, and 27% of the world’s wheat." "The study shows at least 25 African countries import a third of their wheat from Russia and Ukraine, and 15 of them import more than half from those two countries." https://www.gonewsindia.com/latest-news/international/african-arab-countries-food-dependence-on-russia-ukraine-28571
-
If it is not for numerology, but to check integrity (e.g. if somebody altered content) why not to use hash? On Windows there is built-in certutil command which can calculate MD5, SHA1, SHA256 hash-functions. https://www.google.com/search?q=certutil+hashfile https://en.wikipedia.org/wiki/SHA-2 If you calculate hash-function of some word, sentence, file or entire disk, you can be pretty sure to 99.99% when you see the same hash, it's the same object. echo "string" | sha256sum on Linux will give you hash of string, instead of a file. Hackers/programmers/people use it to check if someone has broken into their computers by running it in Linux on all storage: https://www.google.com/search?q=md5sum+linux https://www.google.com/search?q=md5sum+linux+entire+directory If you want to know if someone has changed the MBR of your Linux system you are using e.g. dd if=/dev/sda iflag=direct bs=512 count=1 2>/dev/null | sha256sum To verify the entire first partition of the first disk: dd if=/dev/sda0 iflag=direct bs=16M 2>/dev/null | sha256sum If it is so simple algorithm as you wrote, you will get the same sum after letters are replaced.. "abc" will give the same as "cab"..
-
..the war between the Nazi Germany and USSR was started just to get oil and gas from the oil fields and other resources.. the things Nazi Germany badly needed.. https://en.wikipedia.org/wiki/Nazi–Soviet_economic_relations_(1934–1941)#Late_1930s_German_raw_materials_crunch "Germany lacked oil and could only supply 25% of its own needs.[1] Since its main supplier, the United States, would be potentially cut off during a war, Germany had to look to Soviet Union and Romania.[1] Germany suffered from the same supply problems for metal ores such as chrome, tungsten, nickel, molybdenum, and manganese, all of which were needed for hardened steel used in tanks, ships and other war equipment.[1] For example, Germany was almost 100% reliant on imports for chrome, and the loss of South African and Turkish imports alone were a blockade to arise would eliminate 80% of imports.[69] Even for manganese, of which Germany supplied 40% of its needs, the expected British blockade would cut its link to its main outside supplier, South Africa.[1] Germany was 35% self-sufficient for iron ore, but would lose 36% of its previous imported supply on the outbreak of war.[69] Furthermore, Stalin's permission was needed to transit tungsten and molybdenum from China, which required Soviet-controlled rail lines.[1] Meanwhile, the Soviet Union was the world's largest source of manganese, the second largest for chrome and platinum and the third largest supplier of crude oil, iron ore and nickel.[69]" To remove dependency, and after they saw how weak the USSR army was, after the disastrous winter war with Finland ( https://en.wikipedia.org/wiki/Winter_War ) Nazi attacked USSR. A.H.'s inexperience was revealed at Stalingrad (disallowed retreat), and the USSR army took more than 200,000 soldiers in an encirclement ( https://en.wikipedia.org/wiki/Battle_of_Stalingrad#Casualties ). It was a watershed moment in World War II. European dependency map per country: ..and this is how it all started: https://en.wikipedia.org/wiki/Ignacy_Łukasiewicz Ignacy Łukasiewicz: "His achievements included the discovery of how to distill kerosene from seep oil, the invention of the modern kerosene lamp (1853), the introduction of the first modern street lamp in Europe (1853), and the construction of the world's first modern oil well (1854)."
-
Astronauts, airplane pilots, counter-terrorists, Formula One drivers, army officers, etc. - all have to learn.... the modern way (after 1990) is to play computer games with simulated battles, simulated hostage rescue in Counter-Strike, simulated airplane flight, and so on.. The longer people train, the better experience they have in a subject they train. If they make a mistake, the simulated plane crashes instead of the real one. If an army officer loses a war in a simulated game, he gains knowledge, experience, can learn from what was done incorrectly.. Hours, hundreds hours, thousands hours, of experience that people from the old ages were not able to get in their lifetime.. If you make a mistake, you learn from what you did wrong and start over so you have a chance to not repeat it again... You gain experience, which is impossible to gain in the real world.. because you're dead.. Turn-based strategy is completely different than RTS.. A typical RTS has a fairly advanced economy, i.e. you have forest, quarry, iron/silver/gold mines, you need wood to build houses (at the beginning of the play), you need stone to build houses (a more advanced one or walls), you need iron to build a bridge, tank or airplane, etc. etc. People need to eat, so there are farmers, cows, pigs, etc. Multiply that by a thousand to get a true picture of the complexity of any modern RTS.. and yes, simulated RTS units also have morale, for at least 25 years.. (In one of my favorite RTSs from 20 years ago, hops were needed to make beer, which when distributed to people raised the morale of the population ) Do you really not see the similarity of generals surrounding a dictator, planning their next moves, on a map with little figures representing them and enemy units? (apart from humanitarian aspects, complexity and unexpected influences e.g. help from 3rd party side) ..if reconnaissance of enemy forces is working (in the time of satellites, it should be top-notch), they know in advance when they are sending soldiers to their deaths in a suicidal mission and a pointless move that cannot succeed.. Their units are just little figures on a map (or arrows).. In an RTS, you have immediate feedback from the opponent or from the A.I., which behaves accordingly to the force set in the options. The officers of the Russian army behave as if they had no basic experience. Officers received their ranks not on the basis of their experience on the battlefields, but because of their subordination to the V.P..
-
Attack on the civilians is plain stupid. From militarian, economical and humanitian point of view. Bombing tank's factory prevents them from appearing on the battle field. Bombing city creates more enemies who demand retaliation. That's how US lost the all wars in the last 50 years or so.. Every day created more opponents ("terrorists"/"rebeliants") than decrease their quantity..