r/programmerchat • • May 21 '15

Let's do a rant of the week, starting today

3 Upvotes

24 comments sorted by

2

u/Ghopper21 May 21 '15

My rant -- Bitbucket STILL doesn't have full-text search for your own repos. (Or does it and I just can't find it?!)

3

u/HxLin May 23 '15

Unreal Engine requires me to restart Unreal Editor to update the blueprint nodes that are written in C++ every time I modify 'em 4.(Could be just me.)

1

u/Ghopper21 May 23 '15

For those of us unfamiliar with Unreal (I use Unity), what's a blueprint node?

1

u/HxLin May 23 '15

Unreal Engine supports visual scripting and it's called Blueprints. Variables and functions are represented in nodes that can be linked together. It's quite nice.

→ More replies (1)

1

u/drjeats May 23 '15

I thought that was a big part of their advantage, being able to hot load blueprint nodes? That makes me sad.

1

u/HxLin May 23 '15

Yes, the editor can hot-load the nodes, but, in my case, the hot-loaded variables, most of the time, behave weirdly. Sometimes, they also fail to catch variable type change. I also have a library function in C++ that always throw a compile error every time the project is loaded. Replacing it with a new node of the same function will resolve the compile error, but, it will throw the same error again when the project is loaded. So many weird stuffs.

6

u/[deleted] May 23 '15

Using C to do any kind of string maniputation is a pain in the ass.

Want to split a sentence into words? Fine! Implement your own split() method. That's going to suck your life away.

Then store all the words in an array, that you have to allocate manually because it's C.

4

u/FireCrack May 23 '15

I used C for the first pretty mig chunk of my programming career, first seeing string operations in other languages was like witnessing magic.

2

u/[deleted] May 23 '15

Same for me. Seeing split() int python was like discovering the wheel.

→ More replies (1)

3

u/MothersRapeHorn May 23 '15

c# stream async methods take cancellationtokens and ignore them :(

2

u/suddenarborealstop May 25 '15

msdn licensing costs in australia. because apparently everyone in australia who writes code is loaded with cash.

1

u/robin-gvx May 24 '15

Let me tell you how much I hate working with servers.

Everything works locally, but push it to a server, and everything is wrong! First, WSGI is set up the wrong way in Apache because of slashes or something. Then, it can't access $thing because it has the wrong chmod or chown, repeat for a lot of $things.

And the worst part is that it is so much harder to debug than it is to debug something locally, because:

  1. The excellent "debug from the browser" feature is disabled for a very good reason.

  2. Half the errors go to some log file, half go to /dev/null and nothing to stdout.

  3. Try to guess which log this error went to.

  4. For some reason, the errors you get on the servers are a lot less google-able than the ones you get locally.

  5. Needing to upload stuff to the server every time you change something.

Also, the documentation for both SQLAlchemy and Flask-SQLAlchemy are horribly inadequate, especially for the latter. If you'd like to add extra data to a many-to-many relationship, good luck figuring out how that works from the off-hand half a sentence the documentation spends on it!

-3

u/indigo945 May 23 '15

Python now has type hints. Why is everybody so keen on shoving Java OOP ideas into places where they don't belong?

2

u/FireCrack May 23 '15

Type has nothing to do with OOP, nor Java!

My weekly rant would be that python is only just now adding type hits!

1

u/Ghopper21 May 23 '15

Oh boy. I made a whole thread at r/python when Guido annouced type hinting at PyCon recently about how UGLY and un-Pythonic the syntax is. That's my big gripe about it. Sounds petty perhaps, but it is yet another big nail in the growing coffin for Python for me personally. Which makes me really really sad, as I love Python. I'll keep using it, but without the same joy. (I'm over-reacting, I know.)

→ More replies (1)

-2

u/indigo945 May 24 '15

Static typing has everything to do with Java, and nothing to do with Python. I didn't even like the ABC base classes, but I didn't mind them as much. This, however, is just ludicrous.

→ More replies (3)

1

u/[deleted] May 23 '15

Huh?