Categories
Mastering Development System & Network

iRedmail cannot send Email to outside networks “Connection timed out”

After a successful installation of the mail server with iRedmail installer, I cannot send Emails to the outside networks. I can successfully receive mails, but I cannot create a new mail (to the outside networks) or reply from a received one. Whenever I send an Email, this is what comes out on my mails log; […]

Categories
Artificial Intelligence (AI) Mastering Development

How to utomatize News with AI, reading records from database

I have some databases with information about exports and imports of a country, what are they importing, the times that an importation was made, the country from and target, everything related to Customs. My goal is to create and A.I which creates news based on the data, for example : "First time that country X […]

Categories
Database Development

Unable to import shapefile into PostGisDatabase – problem of connection

I have been trying to import/load a shapefile into a PostGis database without any success despite many trials and searching an answer in the documentation. Configuration I’m running Windows 64 bits Home (in japanese ) pgAdmin 4 PostgreSQL 12.1 postgis 3 I used 2 differents methods without any results METHOD 1 – using the shp2pgsql-gui.exe/postGis […]

Categories
Mastering Development

Splitting columns into rows from a text file using unix shell script – Dynamically changing source file structure

I’ve a tab seperated source file with this structure: Only the first 9 columns from ID to Line Item/Property is fixed, rest are all dynamic varying in count and structure. ID Date/Time (UTC) User Description Security Change Previous Value New Value Module/List Line Item/Property Scenarios Region EM2 Plan Item PB6 Market EM4 Plants – Master […]

Categories
Development User Help

Linux record live to cd

Is it possible to record an audio input source in Linux directly to a CD? I am a DJ and currently I use my laptop AUX in with Audacity to record my sets. After the set, I need to split the audio into multiple parts (80min), export, then burn to CDs to listen to in […]

Categories
Development

How can I format my text file to make it not repeat the same line over and over? [closed]

I am trying to write a text file using C++ ,but it keeps repeating the line. Is there a certain way to format to make it only have the line once and not 10 times? This is my code and when I try to make it write the definition for the keyword it writes the […]

Categories
Development

TypeError: sequence item 4: expected str instance, _io.TextIOWrapper found in PYTHON 3.8.1

IM SPANISH SO SOME PARTS OF THE CODE (specially names and other things) python gives me this error i wanna help cuz im new in python and fixing errors its not my special hability (sorry for my english im spanish) Traceback (most recent call last): File “C:\Users\Ticua\Desktop\#test with ip.py”, line 38, in <module> BODY = […]

Categories
Development

Error while using open function in python 3.8.0 **FIXED**

im spanish so some parts of the code are in spanish im making a app that sends me to me mail the public ip and wifi password of the person who executed the code (its a educational porpouse proyect) it gives me this error : File “crack part 1.py”, line 23, in f = str(open(“C:”+”/red […]

Categories
Development

pyspark truncate table without overwrite

I need to truncate a table before inserting new data. I have the following code to insert: df.write.jdbc(dbUrl, self._loadDb, “append”, self._props[‘dbProps’]) Which works great, except.. i want an empty database. I know about setting the mode to overwrite and adding .option(‘truncate’, True) but .. this is not what i want. In another way; how can […]