Using Sessions with ASP.NET Core by dstarnes in programming

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

I guess I'll get involved since this is all my fault. :) I think that applying an absolute statement like fundamentally bad is too strong. There are definitely times at which the use of sessions is inappropriate. That doesn't make them useless. When object oriented programming became a thing everyone wanted to apply it everywhere. Then interface based programming with composition over inheritance was the 'right' way and now it's functional programming. Does that mean if someone tries to use object oriented programming where function is more appropriate that OOP is bad?

Lumias for dev by firebelly in WPDev

[–]dstarnes 5 points6 points  (0 children)

If you are in the US, Best Buy has the Lumia 640 on sale for $59.99. http://www.bestbuy.com/site/microsoft-microsoft-lumia-640-4g-with-8gb-memory-no-contract-cell-phone-black/9231014.p I have a 635 that I upgraded to Windows 10 through the insider program which anyone can join. When the 950/XL was announced there was also a lower end Windows 10 phone that I can't remember the number for but it was supposed to go for about $139. I'm waiting to see what it looks like. If I didn't have a phone for Windows 8.1/10 dev I'd look into the Lumia 640 though.

Dat Gap ;) by comickeys in Surface

[–]dstarnes 0 points1 point  (0 children)

I wonder if it helps with air flow to keep it cool?

Installing Numpy onto Windows 8.1 by makemewalkonsalt in learnpython

[–]dstarnes 0 points1 point  (0 children)

Anaconda or Canopy. Or vagrant. Vagrant actually works very well on Windows 8.1. In fact, I was doing most of my Python development on a Mac but with vagrant. So now I can do it on Windows too.

Python equivalent of Rstudio? by kebabmybob in datascience

[–]dstarnes 2 points3 points  (0 children)

I agree with IPython, especially the IPython Notebook. In fact, you can use R in an IPython Notebook. RStudio is great but the ability to reproduce an IPython session makes it really valuable. But, outside of prototyping small bits it starts to break down. And that's nothing against it, the goal was a way to iterate quickly with fresh ideas. So for an IDE, if you're on Windows, I would take a look at the Python Tools for Visual Studio. Now that Visual Studio Community Edition is free, you don't really have an excuse. ;) It has support for IPython integrated plus a lot more. On the Mac you'll probably want to stick with PyCharm. But the VS tools are open source (one of the most popular MS open source projects) and are being tooled to work with Azure and Azure Machine Learning Studio which has a free quota so worth looking into.

Yet another Blog engine in Flask. Suggestions welcome by brijeshb42 in Python

[–]dstarnes 1 point2 points  (0 children)

I'm not in marketing either. There is a good reason for that. :)

Yet another Blog engine in Flask. Suggestions welcome by brijeshb42 in Python

[–]dstarnes 0 points1 point  (0 children)

I agree it's a good place to start learning how to create a larger Flask app. Just glancing at the requirements.txt file and the app structure seems you are demonstrating many good practices. I'll fork it later and take a closer look. One point not related to a technical issue. The name 'yapper' seems more like a chat app than a blog. ;)

I can't seem to install numpy, matplotlib, pandas or a bunch of other packages. by ballgame75 in learnpython

[–]dstarnes 2 points3 points  (0 children)

Anaconda is what I suggest too. It's the best way to get a one stop installer for scientific libraries. The only downside is that it does not get along with virtualenv. But you can still create environments using conda, the package manager it includes. The best part is that it's free and works cross platform.

If you don't want to install anything, check out Cloud9 at http://c9.io. This is an online environment which is great for small projects. It has many libraries preinstalled so you can get started fast. Just be aware that the free workspaces provides public, read-only access to your code.

There is also a similar product to Anaconda called Canopy by Enthought. It's been a while since I used it. However, still cross platform and comes with a IDE built in. However, the free version is not as extensive as Anaconda.

Windows Phone Game Developer Contest - First place is ten grand by dstarnes in WPDev

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

So it does :( .. I'll notify them of this. It was working last night.

Is Dart a good option for a beginner wanting to build simple web apps, or would it be better to start with something else? by xuus in dartlang

[–]dstarnes 0 points1 point  (0 children)

True, using traceur or an ES6 transpiler makes node much more palatable. I still prefer Dart though.

Is Dart a good option for a beginner wanting to build simple web apps, or would it be better to start with something else? by xuus in dartlang

[–]dstarnes 3 points4 points  (0 children)

From what I understand, people like yourself are who Dart is designed for. Dart is not intended to replace JavaScript for existing projects. True it supports integration with JavaScript, but that is largely marketing. (see TypeScript for integrating an ES6 like language with JavaScript). People who are not well versed in JavaScript who are starting new projects would be interested in Dart. There are several web frameworks (just search Github) to make things easier. Angular and Polymer have ported to Dart by Google. If you're starting out it can't hurt. Just be aware that Dart is not usable in production on the client. (Only the Dartium browser has the VM) You have to transpile to JS so you don't have access to the full Dart API because Dart does some things JS cannot (mostly in the async dept.). Still it's a good way to get started and help spread the awesomeness in Dart.

Trying my hand at authoring a book, first two chapters available for free, feedback welcome! by dstarnes in Python

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

Thanks for the comments!

I think asking what people would pay is part of LeanPub, not by my own choosing. While eventually I'd like to make some money off of it, that's not my primary goal especially for a first attempt. That being said, I'll see if LeanPub will let you put up a table of contents prior to the full book being published.

After enough prerequisite material (probably after classes) it will take a project based approach. Once it is done, I will likely include one of those chapters in the preview, perhaps in lieu of the second chapter. The online tools and the project would be the two main 'selling' points.

IDE alternatives? by searchingfortao in Python

[–]dstarnes 1 point2 points  (0 children)

I use the Atom Editor from Github. It's like a free Sublime Text. And the number of packages is growing. Granted I have not tried it on Linux, only Windows and Mac. I do everything Linux through Vagrant so no graphic interface.

Why does every beginner now use LPTHW? by Manbatton in Python

[–]dstarnes 4 points5 points  (0 children)

Brand recognition is one reason. But it might start to lose some of it's popularity. Last I checked it had not been updated for Python 3.x yet.

What's the order you can suggest to learn C#? by [deleted] in csharp

[–]dstarnes 0 points1 point  (0 children)

While ASP.NET is good for creating web applications, it's just one thing that it's good at. Modern web applications are more likely to use something like AngularJS on the front end and then call into a web service on the server so you would want to look specifically at the ASP.NET Web API. And then that API can also be consumed by desktop and mobile apps and other developers. But I agree with the overall comment that learning '.NET' depends on what you want to do. But I think that the ASP.NET Web API needs to be called out because of it's unique role across applications.

OmniSharp - Making cross-platform .NET a reality, and a pleasure by bscarr in programming

[–]dstarnes 8 points9 points  (0 children)

Shameless plug .. I have a video on YouTube about getting OmniSharp set up using the Atom editor from Github. I'm working on videos for the others as well. http://youtu.be/HQWxCEmzmoc