what is the difference between OLE DB and ODBC data sources?

According to ADO: ActiveX Data Objects, a book by Jason T. Roff, published by O’Reilly Media in 2001 (excellent diagram here), he says precisely what MOZILLA said. (directly from page 7 of that book) ODBC provides access only to relational databases OLE DB provides the following features Access to data regardless of its format or location Full … Read more

Python setup.py develop vs install

python setup.py install is used to install (typically third party) packages that you’re not going to develop/modify/debug yourself. For your own stuff, you want to first install your package and then be able to frequently edit the code without having to re-install the package every time — and that is exactly what python setup.py develop does: it installs the package … Read more

Implement touch using Python?

Looks like this is new as of Python 3.4 – pathlib. This will create a file.txt at the path. — Path.touch(mode=0o777, exist_ok=True) Create a file at this given path. If mode is given, it is combined with the process’ umask value to determine the file mode and access flags. If the file already exists, the function succeeds if … Read more

Is there direct API for Google Meet?

It is now possible to create a new meet by going to this url: http://meet.google.com/new That being said, it’s not immediately obvious how you could get the link for the generated meet.

How to resolve ‘preflight is invalid (redirect)’ or ‘redirect is not allowed for a preflight request’

Short answer: Make the request URL in your code isn’t missing a trailing slash. A missing-trailing-slash problem is the most-common cause of the error cited in the question. But that’s not the only cause — just the most common. Read on for more details. When you see this error, it means your code is triggering your browser … Read more

Sqoop Incremental Import

Consider a table with 3 records which you already imported to hdfs using sqoop Now you have additional records in the table but no updates on existing records Here you should use an –incremental append with –check-column which specifies the column to be examined when determining which rows to import. The above code will insert all the new rows … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)