kSPvhmTOlwvMd7Y7E

joined 1 year ago
[–] kSPvhmTOlwvMd7Y7E 50 points 2 weeks ago (1 children)

You re not stupid, python's packaging & versionning is PITA. as long as you write it for yourself, you re good. As soon as you want to share it, you have a problem

[–] kSPvhmTOlwvMd7Y7E 1 points 3 weeks ago (1 children)

I would say Redox is miles ahead of Minix, am I wrong?

[–] kSPvhmTOlwvMd7Y7E 1 points 3 weeks ago (1 children)

Don't write "if" in your tests! It makes very, very little sense: how is that, you test your application and you are unsure what is the resulting outcome of a call? Is it depending on arguments? Then fix the argument, and expect 1 specific result. Is it depending on environment? Fix/mock the environment.

No "ifs" in the tests!

[–] kSPvhmTOlwvMd7Y7E 4 points 4 weeks ago

Okey that definitely explains it

[–] kSPvhmTOlwvMd7Y7E 15 points 4 weeks ago (3 children)

Banned for being linked to Russian state, or for being Russian? Lol those are very very different

[–] kSPvhmTOlwvMd7Y7E 1 points 4 weeks ago

kids with large bodies do less good in large buildings with teachers, end up earning less valuable currency later in smaller cubicles without teachers

More valuable information soon , stay tuned

[–] kSPvhmTOlwvMd7Y7E -2 points 4 weeks ago

I am mostly complaining about his writing style. Obviously the subject itself is interesting (to some people)

[–] kSPvhmTOlwvMd7Y7E -1 points 4 weeks ago (2 children)

I wouldn't bet my eye on it, but who knows!.. Maybe he was a better teacher before!

[–] kSPvhmTOlwvMd7Y7E 5 points 4 weeks ago (5 children)

Again, Knuth himself said in a preface that Volumes 2 through 5 are independent.

[–] kSPvhmTOlwvMd7Y7E 9 points 4 weeks ago (1 children)

That sounds interesting, will take a look. I am not against theoretical computer science, i just think Knuth doesn't reads like a good teacher..

 

The title. I have read many technical books (mostly compilation, programming languages & automata) , blogs and whatnot, and recently borrowed the above mentioned book Volume4 (combinatorial problems) from a local library. Just to give a try since Knuth is such a respected person in computer science.

It is by far the most frustrating and maddening book i ever laid my eyes upon. The author doesn't make the slightest effort to explain why something is useful, changes examples before explaining why previous example is interesting or how it shows why X is useful. On page 8, he says that "Graeco Latin squares allowed to François Cretté de Palluel to do with 16 sheeps, what otherwise would require 64 sheeps". How & why ?? No fucking clue. I know i am not the smartest person on earth, but i would love a little hand holding here, you know to explain a concept he introduced 2 pages previously, and gave 3 random anecdotes about.

The writing style is a complete opposite of what I (and I believe, what are most people ) am expecting. If you know something, it won't be useful, and you don't know something : don't count on the book for explanation. I had the physical urge to slap Knuth. It's absolutely maddening.

He then goes on his little hobby to gather 5 letter-English-words, and gives some fancy looking graphs with fancy names (3 cubes, Petterson graph, Chvatal graph). For all what i know, it could be graphs called 42 and graph Blabla. Again no clue how it's useful, nor why it's interesting. He introduces some definitions and theorems.

I am on page 26 (thr book is thicker than a bible) i think i am done. This book will not make you a better programmer, i have no idea who and for what reason could possibly find it useful?

If you think i am overreacting and should continue reading, please tell me so, but i don't expect it to get better

[–] kSPvhmTOlwvMd7Y7E 5 points 2 months ago (1 children)

I don't understand why this is called a "subset", while clearly containing new syntax

A subset would be understood by older compilers, this is a superset

 

Omg it's sooo daammmn slooow it takes around 30 seconds to bulk - insert 15000 rows

Disabling indices doesn't help. Database log is at SIMPLE. My table is 50 columns wide, and from what i understand the main reason is the stupid limit of 2100 parameters in query in ODBC driver. I am using the . NET SqlBulkCopy. I only open the connection + transaction once per ~15000 inserts

I have 50 millions rows to insert, it takes literally days, please send help, i can fucking write with a pen and paper faster than damned Microsoft driver inserts rows

 

Are you doing data science? Statistics? No?

Then for god's sake don't use pandas, you just look dumb af when you pull several MB of a package just to load csv. If you find yourself doing that, just stop programming and look for another job

Thanks for attention

view more: next ›