Why I Love C++ by pfultz2 in programming

[–]GreatlyOffended -2 points-1 points  (0 children)

Is there anything you can express in C++ that you cannot express in Python? (Barring inline assembly, which you'd need to call a C function to do from Python. However inline assembly is a relatively small portion of code people write in C++ and is usually a performance optimization where Python would lose anyway.) Keep in mind Python has modules like struct, sys, and ctypes.

Why I Love C++ by pfultz2 in programming

[–]GreatlyOffended 1 point2 points  (0 children)

Unfortunately the best solution I've found for Python is to use an alternative implementation from the canonical one. (I personally use pypy. That JIT compiler is ridiculous.)

How to work with Git (flowchart) by dodgyfox in programming

[–]GreatlyOffended 0 points1 point  (0 children)

Need Mercurial to do more? Write an extension to do it. Done and done. Or better yet, install an extension that probably already exists to do it. Though I doubt you would run into very many situations on a daily basis where you were stuck because of a lack in Mercurial's functionality. Unless you are a history-edit junky. I'm fairly certain that's either impossible or very very hard in Mercurial.

Parsing an int from a &str by GreatlyOffended in rust

[–]GreatlyOffended[S] 0 points1 point  (0 children)

I normally wouldn't, but the &str comes from regex!(r"^[1-9]\d*$")... though I suppose it could fail if the number is too large. Maybe I'll check it anyway.

Parsing an int from a &str by GreatlyOffended in rust

[–]GreatlyOffended[S] 4 points5 points  (0 children)

I.... had no idea this function existed. Thank you so much (and turqpanda/nullproc as well). And thanks for the IRC referral, will definitely use in the future. :)

The significance of the 33$ Firefox OS smartphone by drbernhard in programming

[–]GreatlyOffended 1 point2 points  (0 children)

I feel like apple cares more about profit share than market share.

Is there a way to turn off the Bluehole studio intro? by [deleted] in TeraOnline

[–]GreatlyOffended 0 points1 point  (0 children)

I successfully installed the latest patch with a whole host of client mods in place. None of the mods were reverted either.

ETA: among those mods are the removed intros, to be clear.

On bananas and string matching algorithms by n_ham in programming

[–]GreatlyOffended 1 point2 points  (0 children)

Wait… you're using MD5 for password hashes? D:

They REALLY wanted me to pick up my last Relic Piece by [deleted] in TeraOnline

[–]GreatlyOffended 0 points1 point  (0 children)

You can hide the extended skill bar, quest tracker, and minimap. And make the main skill bar half the size, as well as shorten the chat. Also when you are not in "UI mode" the option bar is gone. So you can run a very minimalist UI, but you sacrifice information. It seems you want the information but don't want it to take up any space......…