kSPvhmTOlwvMd7Y7E

joined 1 year ago
[–] [email protected] 45 points 1 day 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

[–] [email protected] 0 points 1 week 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!

[–] [email protected] 4 points 2 weeks ago

Okey that definitely explains it

[–] [email protected] 16 points 2 weeks ago (3 children)

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

[–] [email protected] -2 points 2 weeks ago

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

[–] [email protected] -1 points 2 weeks ago (2 children)

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

[–] [email protected] 5 points 2 weeks ago (5 children)

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

[–] [email protected] 8 points 2 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

[–] [email protected] 4 points 1 month ago

Absolutely not a replacement to VBA. Not even close. As usual, Microsoft hypes something everyone wants, and then implements something nobody asked

[–] [email protected] 6 points 1 month ago

I feel offended by you somehow equalizing perl and lisp

[–] [email protected] 21 points 1 month ago

This a much better done meme

The other one before makes zero sense

 

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

view more: next ›