000webhost

Web hosting
Showing posts with label downloader. Show all posts
Showing posts with label downloader. Show all posts

Wednesday, September 4, 2019

4coder Website Downloader Script, Random Stuff, and More

- found some code on 4coder website that looked useful. Decided to download it using the following script:
- description is as follows:
# Found some code on 4coder website which I thought was useful. The
# more I looked the more useful code I found so I built this script
# to download all relevant content.
#
# If you're wondering why I didn't use a website downloader or mass
# downloader they aren't as quick/efficient as this and aren't as
# flexible when it comes to parsing pages and automation of downloads.
#
# As this is the very first version of the program it may be VERY buggy. 
# Please test prior to deployment in a production environment.
- you may also be interested in the following custom downloader blog posts as well:

Random Stuff:
- as usual thanks to all of the individuals and groups who purchase and use my goods and services
- latest in science and technology
block video playback extension
The hypebeasts of Russia, popular at what cost?
Google once again changed things.
The most recent change would mean a lot of work to get it back the way it was, so we are shutting down permanently.
Thank you to all our supporters, it has been a fun ride. If anyone wants to take up this project, please contact theoldgnews@gmail.com.
old google news
rss chrome
old google news
theoldgnews alternative
android pentration testing
- latest in finance and politics
What shares do you like for 2019?
Protesters Gather in Caracas for Anti-US "Imperialism" March
US capitalism is fairer than you think
- latest in defense and intelligence
- latest in animal news
- latest in music and entertainment

Random Quotes:
- Harvard University has more money in its endowment than 109 countries have wealth, a recent report said, and it's not the only school with more cash than most nations. For the rich, maintaining the status quo doesn't come cheap.

"America's public schooling system may be in trouble, but its top universities are anything but," said a story by Stacker,  which compared the multibillion endowments of 50 American colleges to the "total wealth" of world nations as estimated by Credit Suisse. The list saw five universities – including Princeton, Stanford, Yale, and the University of Texas System – beat over half of world's 195 economies. Topping the list with its massive $38.3 billion endowment came Harvard.

Perhaps more than even the other Ivy League colleges, Harvard sells more than just a degree. A Harvard education provides entrée into exclusive circles populated by the very wealthy and very influential, and the school puts a lot of effort into nurturing this reputation. The quality of a Harvard education has somewhat dipped over the past decade, now occupying the sixth spot according to The Times Higher Education World University Rankings, but the same firm has invariably ranked the institution's reputation as pristine, scoring a perfect 100 on both research and teaching.
...
Data from the International Social Survey Programme show that as a country's economy becomes less equal, its people perceive it as more of a meritocracy – the kind of place where, if you study hard and show up on time, you, too, can become a Master of the Universe. The kind of place where even a kid who grew up on the streets can go to Harvard. Doling out conspicuous scholarships helps Harvard perpetuate this illusion.

One of the most powerful and enduring founding myths of the US is that of the land of opportunity, where anyone with enough grit and tenacity can 'make it'. This may once have been the case.

But when these schools have war chests larger than most countries, it becomes impossible to ignore the fact that the system does not work for everyone. With homeless populations in many cities reaching record highs, even as colleges in those cities greedily snatch up more real estate, the inequality has never been so stark.
- North Korea has called on "all Koreans at home and abroad" to make a "breakthrough" for unification without foreign assistance.

The rare announcement, which was made via the official Korean Central News Agency (KCNA) on Thursday morning, called on all Koreans to "promote contact, travel and cooperation between North and South Korea."

It added that the North will "smash" all obstacles on the path towards the reunification of the Korean Peninsula, while stressing that military tensions on the peninsula were the "fundamental obstacle" for the better ties with the South.

Joint military drills with "outside forces" were also hindering the progression of ties between the two Koreas, it added.
- Last week, PAX, a Netherlands-based NGO, released a report on the extent to which major tech companies from around the world are engaged in the creation of artificial intelligence systems which could be used for deadly military applications, surveying fifty companies. PAX found that 21 companies were engaged in projects deemed of ‘high concern’, with 22 more listed as ‘medium’ concern. 13 of the ‘high concern’ companies were said to be based in the US, and include Amazon, Intel, Microsoft, Palantir and Oracle. The UK’s Blue Bear Systems, Canada’s AerialX, France’s EarthCube, China’s Yitu and Israel’s Roboteam also made the list.
- Hemke emphasizes, however, that the tendency the dollar is witnessing should not come as a surprise, as its days as the world’s reserve currency have been numbered from the start.

“The privilege the US had since the end of WW2 is a transitory thing – before the US the British pound was the reserve currency […] The world has switched that mantel every hundred years or so for centuries and soon it is going to be the US’ turn to switch,” Hemke claims.

He notes that speculation as to what will replace the dollar as the global reserve currency has been going on for some time, with many, like the bank of England head Mark Carney, betting on crypto currencies to take the baton. However, Hemke states that crypto coins need to evolve significantly in order to do it, as “in terms of market cap bitcoin is just a fraction of what even gold is [and] its price would have to be considerably higher than what it is now.”
- As adversarial as Washington would want its relationship with Beijing to be, there is too much evidence that the relationship between China and the rest of the world is too intertwined to expect anything but a disaster from the current road ahead. A newly released report by the think tank China Matters just concluded that if China’s economic growth only shrunk by a few percent, Australia would potentially lose $140 billion in income and more than half a million jobs.

And it could be that if Beijing opens up this conflict on too many fronts, the Indo-Pacific region will only the tip of the iceberg. As part of its Silk Road Project, Beijing has begun snagging up states in the Balkans which will only further irk Washington, and might lead the US to do something painfully catastrophic in response.

All empires come to an end. That is an indisputable aspect of our history. Whether or not all empires will continue to fall in future of course remains to be seen, but generally speaking we base all future predictions on the back of previous experiences. How far an empire wants to bring the house down in order to avoid being overtaken by a rising power is also something which we would need to account for. 

The US has nukes – a lot of them – and is slowly but surely propagating the notion that they might use them. And not just in situations when a nuclear strike is necessary to defend against another nuclear strike – just because, hey, if we are going down, we will take down the rest of the planet with us.
- Most of these spacecraft are tiny cubesats called Doves, which are about the size of a loaf of bread and can capture photos with a resolution of 10 feet to 16.5 feet (3 to 5 meters). But the imagery of today's failed launch was taken by one of Planet's minifridge-size SkySat satellites, which can resolve features as small as 3 feet (0.9 m), a company representative told Space.com. 
https://www.space.com/iran-rocket-launch-failure-satellite-photo.html
In 2013, a study of Chinese medicinal herbs revealed pesticide residues classified by the WHO as dangerous or extremely dangerous in in 17 out of 36 samples. Twenty-six of them showed residues above the maximum levels permitted in the EU.

Despite the many irreconcilable positions, though, both camps have realized that both methods can complement each other meaningfully.

Acupuncture, for example, is now established in Western medicine.

And in today's China, Western medicine and TCM are mostly used in conjunction with one other.
- SEOUL: An international trade fair in North Korea this week may be the largest such event on record, analysts said on Tuesday, with hundreds of Chinese and other foreign vendors taking part despite sanctions pressure.
The 22nd Pyongyang Spring International Trade Fair opened on Monday with a ceremony hosted by top economic officials, North Korean state news agency KCNA reported.
More than 450 companies from North Korea, China, Russia, Pakistan, Poland and “other countries and regions” showcased a range of products at the fair, KCNA said.
That number would make it the largest trade fair hosted by North Korea, according to an analysis of state media announcements from 2007 to 2019 conducted by NK News, a website that tracks North Korean issues.
Last year, 260 companies reportedly participated in the spring fair, for example.
Among those taking part this year were at least 216 Chinese companies, NK News said in an analysis.
“The numbers tie into a lot of what we’ve seen recently demonstrating real Chinese interest in pushing ahead with business opportunities in North Korea, even though technically not much can go ahead under the current sanctions regime,” said Oliver Hotham, managing editor of NK News.
North Korean officials opened the event by saying it was a chance to expedite trade, economic cooperation, and science and technology exchanges with the participating countries, state media reported.
Companies exploring doing business in North Korea walk a fine line.
Sanctions imposed over North Korea’s nuclear weapons and missile programs would prohibit all joint ventures and most business with North Korea, analysts said, while some foreign business operations have previously said they were only preparing the ground for when sanctions are lifted.

Monday, August 5, 2019

Mass Downloader Script, Random Stuff, and More

- as I said in another post I'm working on a medical search engine part time. It hasn't been easy especially seeing as a lot of stuff is in the cloud now and offline databases are becoming more rare. The following is the code for a very simple mass downloader:
- description is as follows: 
# I need to build a mass downloader for a medical search engine
# prototype that I want to work on. This is a very simple prototype
# that I think may work as the basis for further development. If
# you're wondering this is simpler then a lot of crawlers/downloaders 
# out there which means it may miss out on some files but is generally
# much quicker.
#
# If you're wondering yes there are other options then this but most
# have their own set of problems. I can't use something like Selenium,
# Sikuli, wget, etc... because they're inefficient, require use of GUI,
# download everything before actually accepting/rejecting files, etc... 
# This will work for a basic prototype. If I need something more I can
# always built out and upwards
#
# As this is the very first version of the program it may be VERY buggy. 
# Please test prior to deployment in a production environment.
- this post obviously has relevance to the following:
https://dtbnguyen.blogspot.com/2019/07/data-miningbig-dataautomated-analysis.html
Random Stuff:
- as usual thanks to all of the individuals and groups who purchase and use my goods and services
- latest in science and technology
code free blockchain development
microinvestment
- latest in finance and politics
- latest in defense and intelligence
Is it the end of US and Russian arms control? | Inside Story
- latest in animal news
- latest in music and entertainment

Random Quotes:
- ROME: Italy's anti-establishment Five Star Movement (M5S) has drafted a law aimed at preventing and treating the rising phenomenon of addiction to mobile phones and computers, particularly among the young.
The bill seeks to treat so-called "no-mobile-phone phobia" (also known as "nomophobia") or the fear of not being able to get regular access to social networks or messaging apps.

It proposes education programmes for parents to detect excessive mobile phone use in children.

The bill also lays out plans for "education towards for a conscientious use of the internet and social networks" in schools and universities.

Nomophobia particularly affects young people, often preventing them getting a good night's sleep.

Half of Italians aged 15-20 consult their mobile phones at least 75 times a day, Italian media on Monday quoted research by the National Association of Technological Dependance as saying.

Around 61 percent of Italians use their tablet or mobile phone in bed, according to another report published in June, with the figure rising to 81 percent among 18-34 year olds.

The ruling M5S said in its draft that mobile phone addiction is comparable to gambling addiction, causing "interference with dopamine production".
- Alas, demonisation just assists the true economic function of keeping people out of work – a percentage of joblessness, explains the Reserve Bank website, is maintained because when “conditions in the labour market are tight, there will be upward pressure on wage growth and inflation”. If you require a plain English translation, it is this: you can terrify workers out of demanding wage rises and keep their labour cheap if jobs are scarce, and the alternative, unemployment, is an experience both stigmatised and deplorable. How remarkably convenient for employers.
- But the Air Force had always known that stealth aircraft are not invisible or invincible. In fact, during Operation Desert Storm, contrary to popular belief, U.S. Army AH-64 Apache gunships made the first air raids on Iraq rather than the F-117. Those attack helicopters had one mission—that was to eliminate Iraqi low frequency early warning radars operating in the VHF and UHF-bands. Those radars can detect and track stealth aircraft like the F-117, which are designed to operated against radars operating in the C, X and Ku-bands. The Apaches cleared a path for the stealth fighters to proceed to their targets deep inside Iraq undetected.

Subsequent stealth aircraft like the F-22 and F-35 are also designed to operate against high-frequency fire control radars. The concept behind fifth-generation fighters—which in some ways are the direct successors to the F-117 tactical stealth attack aircraft—is that they operate with the enemy potentially knowing that something is present in their air space. The enemy just can’t do anything about their presence however—putting it basically—or so the theory goes. But, despite its public stance, the Air Force has never operated its stealth aircraft without the presence of Navy electronic warfare aircraft like Prowler or jammers.

Stealthy strategic bombers like the B-2 however, are designed to operate more like submarines—that is they operate without their presence being noticed. The massive bombers are optimized for “broad band all-aspect” stealth, which means they are able to remain unnoticed even in the presence of low frequency radars by hiding in the background noise and clutter. But even then, the Pentagon didn’t fully anticipate how quickly the Russians and Chinese would develop low frequency radars with performance to threaten even the B-2. “We've had the ability to map our threats in real time in the B-2 for a while with our Defense Management System (DMS),” said an Air Force official. “But the growth in the EW [electronic warfare] spectrum wasn't reasonably anticipated and thus precipitated an upgrade into a new DMS.” But even the B-2 is not going to be able keep pace with the evolving threat, that’s why the new Air Force LRS-B will be optimized to defeat those low frequency systems.
- What at all does the US want on this world?  Why do they hate Russia with passion?  If you buy Russia's this, we will sanction you.  If you buy Russia's that, we will sanction you. If you buy Russia's here, we will sanction you. If you buy Russia's there, we will sanction you. What at all therefore is wrong with the US? Turkey, India, Saudi Arabia, Qatar and U.A.E will all face sanctions if they buy S-400.  Also, countries and firms involved in the Nord Stream 2 pipelines will face sanctions if they refuse to abandon the project.  Why?

The real problem for the US is a loss of weapon market to Russia not "compromise the security of the F-35", just more of the lie, cheat and steal motto.
- Worse, there’s a chance that Chinese spies have already hacked the project. Reports back in 2009 quoted unnamed sources who said ‘intruders’ were able to copy several terabytes of design data. A British media story in 2012 similarly claimed BAE had been subject to 18 months of cyber attacks. Lockheed said it didn’t believe anyone managed to steal anything, but a report by 2013 the Defence Science Board lent credence to the idea.
- Among the reported deficiencies: Some pilots have been forced to limit flight speed to avoid damaging the F-35's airframe or stealth coating, spikes in cockpit pressure can cause "excruciating" ear and sinus pain among pilots, and difficulties in landing the F-35C on aircraft carriers because of problems with the helmet-mounted display and night vision camera.
- "President Trump is expected to formally nominate Patrick M. Shanahan to be his permanent defense secretary as soon as next week, two administration officials tell Fox News. This, after an internal Pentagon investigation concluded that the acting defense secretary did not show any bias in favor of his former employer, aerospace giant Boeing. Shanahan worked at Boeing for over 30 years before coming to the Pentagon as then-Defense Secretary Jim Mattis’s deputy at the start of the Trump administration. 

Shanahan’s nomination had been held up by the White House since the Pentagon inspector general opened an investigation into Shanahan’s conduct following a report in Politico days after taking over for Mattis alleging Shanahan called Boeing-rival Lockheed Martin’s advanced F-35 program “f—ed up” and said the company didn’t know how to run a defense program following years of cost overruns and delays to the fifth-generation fighter jet.

Shanahan has been serving as acting defense chief since the president forced Jim Mattis to leave the job early following his resignation in December. Shanahan faces a potentially contentious confirmation hearing in the Republican-controlled Senate in order to assume the role as defense secretary...."
- Through multiple Freedom of Information requests, Military Times obtained data for every Class A through Class C aviation mishap that has occurred since fiscal year 2011. More than 8,600 records were obtained. An analysis of the data shows manned warplane accidents have spiked nearly 40 percent since 2013, the year the mandated budget cuts known as sequestration took effect. The records can be searched by aircraft type, base, fiscal year and location.
- Plenty of putts are missed before the putterhead ever moves. Why? Because of misreads. It's difficult to quantify the importance of green-reading -- since a putt's break depends in part on how hard it's hit -- but new research I've done with Columbia business school Ph.D. student Dongwook Shin indicates that about 40 percent of the strokes Tour pros lose on the greens is due to green-reading errors. (Directional mis-hits account for 40 percent and distance errors for 20 percent.)

Wednesday, August 1, 2018

Google Site Reliability Engineering (SRE) Book Downloader Script, Random Stuff, and More

- I recently came across a deal for a free online book regarding Site Reliability Engineering (SRE). Decided to build a script to download it for reference purposes. Download the script here:
- details are as follows:
#    $Id: get_sre_book.sh,v 1.00 2018\08\01 12:14:31 root Exp root $
#
#    get_sre_book.sh
#
#    Copyright (C) 2018,  Binh Nguyen, dtbnguyen(at)gmail(dot)com
#
#    Recently, I came across a deal for a free SRE book (it's licensed
#    fairly liberally so this is allowed).
#    Free eBook "The Site Reliability Workbook" @ Google
#
#    Since I prefer to have offline versions of books I came across I decided
#    to modify my zorro-manual-compiler.sh script to do just this. This is the
#    result.
#
#    Obviously, you can modify this and use something like Selenium 
#    to extract text only (see my seek_bot_selenium project)
#    but you may have to deal with formatting issues.
#
#    For those who are wondering this will work in principle with
#    document upload websites such as:
#    You just need to add some code to turn the page from time to time
#    (such as xvkbd) and sleep between page turns so that everything
#    renders correctly and completely.
#
#    Please see my blog and website for details on copying multimedia
#    (such as music and video) online.
#
#    As this is the very first version of the program (and I didn't have
#    access to the original server while I was cleaning this up it may 
#    be VERY buggy). Please test prior to deployment in a production 
#    environment.
#
#    1.00 - First version. Very basic script. Hence, sparse documentation.
#
#    This program is free software; you can redistribute it and\or modify
#    it under the terms of the GNU General Public License as published by
#    the Free Software Foundation; either version 2 of the License, or
#    (at your option) any later version.
#
#    This program is distributed in the hope that it will be useful,
#    but WITHOUT ANY WARRANTY; without even the implied warranty of
#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
#    GNU General Public License for more details.
#
#    You should have received a copy of the GNU General Public License
#    along with this program; if not, write to the Free Software
#    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
- if you're wondering about the contents of both books they're both relatively light on technical content. That said, they're are some important lessons to be learned. Might I suggest combining them with some of my previous books such as 'Building a Cloud Computing Service', 'Convergence Effect', 'Cloud and Internet Security', etc?
https://play.google.com/store/books/author?id=Binh+Nguyen
http://www.amazon.com/mn/search/?_encoding=UTF8&camp=1789&creative=390957&field-author=Binh%20Nguyen&linkCode=ur2&search-alias=digital-text&sort=relevancerank&tag=bnsb-20&linkId=3BWQJUK2RCDNUGFY
- if you're interested in the above you'll probably be interested in the following posts as well:
http://dtbnguyen.blogspot.com/2017/08/the-big-5-us-it-firms-arent-unbeatable.html
http://dtbnguyen.blogspot.com/2018/06/opera-browser-cache-extractor-random.html
http://dtbnguyen.blogspot.com/2018/02/bypassing-ejay-downloader-manager.html
Random Stuff:
- as usual thanks to all of the individuals and groups who purchase and use my goods and services
- latest in science and technology
Free Student Developer Pack (Web Hosting, Training, Analytics, Reporting + More) @ Github
bulk listing ebay
- latest in finance and politics
- latest in defense and intelligence
- latest in animal news
- latest in music and entertainment

Random Quotes:
- With 751 million Internet users — nearly 55% of the population — and 663 million smartphone users, China dwarfs every other country when it comes to digital metrics. Of those Internet users, 72.1% are between 10 and 39 years old.

A report on digital trends in China by well-known businesswoman Edith Yeung contains many such little known statistics which give a correct digital picture of a country which many have heard of but of which little is known.

Of the 751 million Internet users, 95% access the net from their phones, the report says. Of the population of 1.379 billion, 71% own a smartphone.

The users of WeChat, the chat app that is an overwhelming favourite, number 889 million. This app offers what Facebook, WhatsApp, Tinder, Paypal and Slack together do. There are 500 million who use mobile payments.
- On the heels of a decision by US President Donald Trump to withdraw the United States from Iran’s nuclear deal, France’s Economy Minister Bruno Le Maire has urged Europe to stop acting like “US vassals” and continue trading with Tehran in defiance of what “the economic gendarme of the planet” has in store.

Experts argue that the French minister's remarks are a sign that Trump's withdrawal from the Iran nuclear deal has caused a split between the White House and its European allies while rifts within the US administration are also widening.

Speaking on Europe 1 Radio, the French minister recently said European countries do realize that “we cannot keep going in the direction we are headed today whereby we submit to American decisions.”

“Do we accept that the United States is the economic gendarme of the planet? The answer is no,” Le Maire said, adding, “Do we accept the vassalization of Europe in commercial matters? The answer is no;” “do we accept extraterritorial sanctions? The answer is no.”

In the meantime, Le Maire urged other European countries to step up their economic sovereignty. In the coming weeks and months, France will reach out to other countries and look at “how to endow Europe with financial tools to become independent from the United States.”
- In the current diplomatic crisis, Russia see what it had forecasting long ago: the emergence of a multipolar world, the dissolution of Western solidarity and return of great power politics. Russians believe that America has “normalized” and returned to its unilateral instincts. This believe implies that the United States is an unreliable negotiator, but Russians knew that long before. Moscow’s list of grievances with Washington is longer than that of Europe, even when Europeans are irate with the United States for leaving the Iran deal, the Trans Pacific Partnership (TPP) and the Paris Climate Agreement. Instead, Russia focuses on America’s “irresponsible moves” regarding arms control regimes (including in cyber and space) and regional conflicts (primarily in Syria and Ukraine).

If this a new normal for the United States, what is next for U.S. alliance politics? Since the 1953 Basic National Security Policy (NSC 162/2), America’s key foreign policy interest has been to maintain solidarity and share the burden of deterring the Soviet Union with Europe and Japan. The logic of the time was to unite the efforts of the four power centers—Germany, Great Britain, Japan and the United States—against the Soviets. In the last decade, America’s constant unilateral moves have shaken the foundation of this strategy. It is good news for Russia, since no single threat that requires full mobilization of America’s allies.

Moscow was striving for multipolarity—and here it is. Every nation is on its own. This does not mean that the world has become a safer place. It is a step toward more equilibrium in global politics, with classical power relations back in vogue. Moscow excels in this game and prefers it over unipolarity.
- "Eventually, the evolution of global finance will be very much related to the evolution of the global balance of power," the economist told RT. "This will not happen overnight. It will take time and many more crises and balance shifts. None really knows what the new system will look like."

The experts agreed that expelling the greenback from its dominant position in the international monetary system will take much more effort than just replacing it with the euro or other domestic currencies.

"Dollar dominance does not depend simply on its use to denominate trade, but on the dollar's role as the pivot of the international financial system – the fact that about 88 percent of the average daily turnover of foreign exchange instruments is against the dollar, in contrast to the share of the euro which is only about 31 percent," said Vasudevan.

The researcher highlighted that the recent impulse for dislodging the US currency is a symptom of a wider discontent with the rules of the dollar system, but is not a cure for the dollar problem.
- As cancer and other non-infectious diseases continue to rise all over the world it’s become harder for scientists to find safe, effective treatments. In addition, bacteria are becoming more and more resistant to drugs and synthetic medicines have become harsher.

These challenges have led to searches for new solutions, including natural substances, like medicinal plants. Plant based medicines are known to have more benefits because they are less poisonous than synthetic versions. They also have compounds that compliment each other that help in disease prevention.

People have been using plants to make medicines for thousands of years. The World Health Organisation estimates that between 75% and 80% of the world’s population uses at least some plant based medicines. 

Ender 3v2 and Ender 3vSE 3D Printer Maintenance, Klipper Firmware Upgrade, and More

Ender 3v2 and Ender 3vSE 3D Printer Maintenance: - after using a 3D printer for a few months now it's started to play up. The limit ...