I did a project with PHP once upon a time and it was really not a fun language to work with. It's obviously usable but god damn I would take any scripting language alternative.
At my uni we have also the degree only "computer science" and applied mathematics. - However in the computer science degree you have multiple "tracks", "theoretical software science" "software engineering", "embedded systems" etc.
I think the problem with PHP is mostly that 80% of the things you find about PHP online is still examples of using PHP inline with HTML. That’s what makes it dangerous. And it exists in so many other languages (JSP, ASP) and is equally wicked there. – But it sticks to PHP more than to the others.
The only nice thing I have to say about PHP is that going from "knowing nothing and having nothing installed" to "serving a non-static page" is pretty painless.
I'm pretty sure I already have msvcrt.dll on my computer somewhere... But searching for it requires more give-a-damn points than I was willing to spend
Hmmm, is there a way with wheel install to ignore debug build errors? From the github of wheel it says that those errors get thrown incorrectly, but that was 2 months ago.
C:\Users\mpthrapp\PyACH\lib\site-packages\wheel\pep425tags.py:77: RuntimeWarning: Config variable 'Py_DEBUG' is unset, Python ABI tag may be incorrect
warn=(impl == 'cp')):
C:\Users\mpthrapp\PyACH\lib\site-packages\wheel\pep425tags.py:81: RuntimeWarning: Config variable 'WITH_PYMALLOC' is unset, Python ABI tag may be incorrect
warn=(impl == 'cp')):
C:\Users\mpthrapp\PyACH\Scripts>pip install "C:\Users\mpthrapp\Downloads\pymssql-2.1.2-cp35-cp35m-win_amd64.whl"
You are using pip version 7.1.0, however version 8.1.1 is available.
You should consider upgrading via the 'python -m pip install --upgrade pip' command.
pymssql-2.1.2-cp35-cp35m-win_amd64.whl is not a supported wheel on this platform.
I will end you, pymssql.
I only have to do this because they decided to yam their windows users by no longer shipping the DLL that you need.
It's hard to find a good canonical post for it because the question takes many forms, with the only common element being the OP's map-territory confusion.
And it's usually a PEBCAK issue so there's no code to give as a quick fix
Wow, random person, unaccepting my answer two days later and accepting the other answer instead that was posted 6 minutes after mine, has the same solution but no explanation other than “this is my solution”
This just started happening on non-meta sites:
Meta Stack Exchange's logo in the "Featured on Meta" section seems to have been replaced with some site's logo. Mousing over the icon does produce "Meta Stack Exchange" as normal, and the link works.
It even happens in the reputation and inbox dr...
@Programmer: so far, really busy. I have three important tasks to complete by tomorrow (the last rush), and have spent the morning teaching our agent model to a c++ guy who's going to be working on some of the core.
So today's going to be a long day, but the last long day.
I guess the sudoku solver is using non-astronomical amounts of memory due to a clever implementation of the example, rather than magic inherent to Quantum itself
Hmm, I started a software update fifteen minutes ago and the progress bar is at about 5%. I wonder what catastrophe will occur when my wifi cuts out while I'm driving home.
You'll wind up in a non-functional state which will be sufficiently unique that you won't be able to find good information on the Web about how to recover from.
I think I'll close the process in task manager and open it again when i get home. If that doesn't work, I'll uninstall the program and reinstall. If that doesn't work, I'll buy a new computer. If that doesn't work, I'll forswear technology and become a park ranger.
Actually, park rangers use radios so I guess I can't forswear all technology. Just anything from after the 1960s, then.
Or do park rangers use smart phones now? How is the reception in national parks?
First google result says "Glacier National Park is a remote place filled with pristine forests and rugged mountains. Visitors to Glacier will find that cell phone connectivity and reception is very limited." Based on no evidence I assume Glacier National Park is typical in terms of reception.
Since I was equally likely to find the information about reception of any given national park, it is likely that the one I stumble upon first is near the center of the bell curve.
For some reason, fully half of the first page of google results for "national park cell reception" are pages specifically about Glacier National Park. They must have a really good SEO budget.
I thought it was just bad Indian food that made me ache. When it didn't set overnight I went to the Uni Hospital... I am so lazy that I'd not have gone had the guy in same office not had it on this new year
@Kevin yeah the first thing to find about a park is whether you can come to sopython when you're hiking there
@AnttiHaapala why would you be expected to know the name of the inside of the elbow in any language? I didn't even consider that there was a name for it.
Style question: for default arguments to a function, which of these styles should I use? I like the first one, but the second one looks like it might be a little more readable.
def foo(x=None):
y = x or default_value
# or
if x is None:
y = default_value
I'm not sure why you're being down voted to be honest. Sometimes people confuse the purpose of down voting and do so when they perceive a question to be too "simple" which is obviously not the right reason to down vote. — roryap6 mins ago
@roryap Maybe because we should expect people to search for their problem first before posting a question? — poke4 mins ago
@poke -- The OP obviously didn't know what to even search for. Put yourself in his/her shoes, and come up with a search phrase. — roryap3 mins ago
@roryap To find the duplicate question target, I literally searched for “two arrays both changed c#”. — poke32 secs ago
Where draw_circle raises an exception if you pass it an unexpected angle keyword argument
Anyway, if you really want to do y = x or default_value I don't think anyone will mind. Maybe leave a comment for the sake of readers that don't remember how short circuiting works.
Aternatively, leave no comment, so you can farm some sweet rep later when your successor reads your code and asks "how does this work?" on the main site.
Correct me if I'm wrong, but since quantum does a waitpid, there is no concurrency. So it's just like a particularly expensive implementation of StupidSort