driving_crooner

joined 1 year ago
MODERATOR OF
[–] driving_crooner@lemmy.eco.br 23 points 5 hours ago (1 children)

this is the first time a prime number was not found by an ordinary PC, but rather a “‘cloud supercomputer’

The first time since the 90's, before that all computer assisted Mercel primes found were found by super computers.

[–] driving_crooner@lemmy.eco.br 2 points 7 hours ago

Still waiting for the lost feminity you mentioned about.

[–] driving_crooner@lemmy.eco.br 1 points 15 hours ago (1 children)

Lmao, I completely skipped the "good" word on the question, had to read it a couple times to find it.

[–] driving_crooner@lemmy.eco.br 7 points 15 hours ago (3 children)

Idk, it's sounds like you agreed with this point and I'm curious what your opinion was about it.

[–] driving_crooner@lemmy.eco.br 23 points 1 day ago (12 children)

disappearing of some femininity aspects

Can you describe some of those aspects that have been disappearing?

[–] driving_crooner@lemmy.eco.br 1 points 1 day ago (3 children)

"What question?" Was the first thing I tough after reading that.

[–] driving_crooner@lemmy.eco.br 7 points 2 days ago (1 children)

With feathers and colors.

[–] driving_crooner@lemmy.eco.br 7 points 2 days ago* (last edited 2 days ago) (3 children)

Remind me of this meme

Translation, kinda*: Look what progressives did to the raptor son of I bitch, stop researching about it!

My wife is always showing me years old memes and I have to pretend they are not basically oil at this point

[–] driving_crooner@lemmy.eco.br 5 points 2 days ago (1 children)
[–] driving_crooner@lemmy.eco.br 14 points 2 days ago

Need more fRiends

 
 
 
 

Hi, I want to know what is the best way to keep the databases I use in different projects? I use a lot of CSVs that I need to prepare every time I'm working with them (I just copy paste the code from other projects) but would like to make some module that I can import and it have all the processes of the databases for example for this database I usually do columns = [(configuration of, my columns)], names = [names], dates = [list of columns dates], dtypes ={column: type},

then database_1 = pd.read_fwf(**kwargs), database_2 = pd.read_fwf(**kwargs), database_3 = pd.read_fwf(**kwargs)...

Then database = pd.concat([database_1...])

But I would like to have a module that I could import and have all my databases and configuration of ETL in it so I could just do something like 'database = my_module.dabase' to import the database, without all that process everytime.

Thanks for any help.

 
 
20
submitted 6 months ago* (last edited 6 months ago) by driving_crooner@lemmy.eco.br to c/thelyricsgame@lemmy.ca
 
12
submitted 6 months ago* (last edited 6 months ago) by driving_crooner@lemmy.eco.br to c/thelyricsgame@lemmy.ca
 
 

Hi, I'm currently using this to log my python process

logging.basicConfig(filename='filename.log', level=logging.DEBUG)

logger = logging.getLogger()

sys.stderr.write = logger.error

sys.stdout.write = logger.info

And then using print(f'{datetime.now()} log message') where I want to log.

It's working OK, buy I would like to live it to ic, but can't find any info on how to send the ic output to the logger.

Thanks for any help.

 
view more: next ›