That took longer than I was expecting, mostly because (1) I didn't understand how seriously Rust takes variable lifetimes and (2) its chaining surprised me.
It's actually kind of interesting. I get the feeling it's a little like moving from Python 2 to 3 w.r.t unicode -- at first the fact that everything you do crashes is frustrating, but when you finally grok the rules you're playing under it makes sense.
> There are two prominent ABIs in use on Windows: the native (MSVC) ABI used by Visual Studio, and the GNU ABI used by the GCC toolchain. Which version of Rust you need depends largely on what C/C++ libraries you want to interoperate with: for interop with software produced by Visual Studio use the MSVC build of Rust; for interop with GNU software built using the MinGW/MSYS2 toolchain use the GNU build.
Meh, decisions…
How would I know what libraries I want to interop with? How about none? I want to program stuff in Rust, not in C :(
So I've been thinking about writing a canonical post for "how do I put text anywhere on the console?" but I'd need a Linux box to fully test the curses part of the answer. I wonder how long it would take to make my laptop dual-boot.
Fizzy's all JS.. I'm taking up Julia again and thinking of getting into Scala.. Rust seems to be growing in popularity.. soon none of us will be programming in Python!
"If you want to test this alpha [https] support code, just reconfigure with --enable-ssl, recompile and reinstall." Yes, that's what I wanted to do today. Compile web browsers.
@NikolayFominyh I'm installing a Linux virtual machine so I can play with the features of the python module curses, which doesn't exist on Windows.
From a Big-O point of view, calling set twice is no worse than calling it once.
I thought I might try using apt-get to get Python, because I've seen people use apt-get before when installing things so I assume it's the thing you use to install things. But I'm getting apt-get: command not found so I guess it's not installed. There's a hole in my bucket, dear Liza.
I guess today's just one of those days when we all forget we set the fridge to defrost and our kitchens wind up full of water, eh? No? Just me? ... okay..
@thefourtheye But you don’t have to use those, right? I’ve used es6-collections before for Set and Map, and that worked just fine for me (I was using TypeScript then)
@thefourtheye Well, first I had virtual box open, and then I pressed the big green "start" button, and then it asked me to pick a screen resolution and I did, and then some text went by, and then the desktop appeared, and then I clicked on the "Start" button in the lower left.
@Kevin you must know or do something I don't to be the starlord that you are. Subconsciously, we've all realized we need to copy what you do to get those sweet, sweet stars.
TypeScript can target various environments. If you targets ES5, then it runs everywhere where ES5 runs. You may need es5-shim for IE8 support but that’s about it.
And in this one project I needed Sets, so I added that es6-collection shim, and was good to go.
Unfortunately, I'm stuck in the past, government projects can't connect to outside services.
Why is it a feature? What possible use is there for moving old posts to a different table? Just query for old posts on the normal table when you need them. Or create a view. — davidism1 min ago
I know ops get annoyed when you ask why they're doing something, but I think I'm entirely justified here.
@davidism “What possible use is there for moving old posts to a different table?” – Archive tables that are on different partitions, servers, or clusters
@thefourtheye The biggest issue with npm is not just the amount of modules you end up having, but that every module includes so much random and useless things.
Like tests, documentation, build-related files/tools that already ran, or continuous integration server settings.
Probably they would have introduced it very recently. One guy in Node.js team, called Chalker, once raised bugs on repos which were uploading crap to npm. He found that few packages were uploading 900MB
There are few modules in npm which take modularity to a very different level. The main reason people use them is to support different versions/environments.
They're pulling the old "[technology] sucks because I can't do [thing]" trick. Then [technology] fanboys get all mad and solve your problem for you to prove how dumb you are.
"What's wrong with my code?" -> crickets. "Python is broken, look this code doesn't run" -> 5 replies in a minute
hm...surprised to see that Teamcity is a tag after seeing this .... not only that there seems to be answers about configuring the UI. Didn't think SO delved in to that type of answering.
basically I have: (abs(float_input- m.round(float_input)), float_input+ sign(float_input - m.round(float_input))) Which should give both the distance as well as the actual closest integer to a given float.
Forcing any response beyond "reject" (the equivalent of downvote), has been continually rejected by the SO community. Forcing chosing to reject at all has not been, but that's not the same as forcing a reason, which is in the title of your post. — davidism1 min ago
this guy is seriously dense, I don't know how many more ways I can repeat the same thing at him
@davidism and all the most annoying cases that I've encountered have been regressions; that is, someone complained about them already, then they were implemented in 2012/2013, and are now back again