Most active commenters
  • ebbv(6)
  • typon(3)
  • dogma1138(3)
  • kuma4(3)
  • tavert(3)
  • ljani(3)

←back to thread

535 points raddad | 53 comments | | HN request time: 1.855s | source | bottom
1. typon ◴[] No.11389194[source]
This might be the most exciting news I've heard in a long time. Being able to use Visual Studio and .NET for web development while using zsh and all the other Linux tools? Dreamland.
replies(3): >>11389261 #>>11389399 #>>11389628 #
2. ebbv ◴[] No.11389261[source]
Different strokes.. that sounds like an absolute nightmare to me. .NET is not a good web development framework, and Visual Studio is totally overkill for web development.
replies(3): >>11389278 #>>11389431 #>>11389600 #
3. alimbada ◴[] No.11389278[source]
I'd like to know what kind of web applications you've built and what tech stack you've used for them for you to make such an uninformed statement like that.
replies(2): >>11389334 #>>11391390 #
4. ebbv ◴[] No.11389334{3}[source]
I'm not really interested in posting my CV to HN. Suffice to say I've been the lead web developer at several companies and have been doing that for ~13 years now. I've used all the popular web development languages, and written everything from small applications to web sites with hundreds of thousands of users.

I personally think .NET is much worse than any of the more common web languages (even PHP or Perl) for the web. If I were writing a Windows application then I'd probably write it in .NET using Visual Studio, but not a web application.

As I said in my original comment "Different strokes.", you may like .NET. That's fine. It might be the right choice for you and the wrong one for me. I was more commenting that it was amazing to me that someone would think it was awesome because it sounds like the complete opposite to me.

I guess I should have asked what you find compelling about writing web applications in .NET.

replies(4): >>11389357 #>>11389382 #>>11389589 #>>11390875 #
5. 0xFFC ◴[] No.11389357{4}[source]
I think technical reason is much better than bringing up your CV.
replies(1): >>11389387 #
6. hudo ◴[] No.11389382{4}[source]
I would like hear arguments, what you don't like particularly? I'm not saying .net is the best web dev platform, not at all, but i wouldn't say it's worse than most. It has it's own set of pros/cons, like every other, but generally, to me it looks quite decent, despite heavyweight VS/IIS, which is another story. Looking at mvc, rest, looks pretty much like any other modern dev stack:/
replies(1): >>11389414 #
7. ebbv ◴[] No.11389387{5}[source]
Hey read the comment I was responding to. He asked for my CV, that's why I responded like that.

.NET is overkill for web application development, IMHO. But I tend to eschew large frameworks in general. YMMV.

8. Karunamon ◴[] No.11389399[source]
Serious, non-snarky question:

What does this give you that you would not already have with cygwin? The latter installs .exe versions of the usual command line utils, and I'm almost certain ZSH and the others you speak of are included.

I do not understand the practical implications of this move by Canonical/MS other than PR - what's actually changing from a user/dev standpoint?

replies(4): >>11389536 #>>11389555 #>>11389929 #>>11391019 #
9. ebbv ◴[] No.11389414{5}[source]
It has a reasonable MVC model, it mostly boils down to it's just way overkill. Using t for web development to me is like using a 27 foot truck to get groceries. The beauty, to me, of even "large" web applications is that they can still be light weight.
replies(2): >>11389445 #>>11389787 #
10. skrowl ◴[] No.11389431[source]
ASP.NET is a great. I've used it since it's existed (coming from what is now called "Classic ASP").

I think the HN intolerance towards Microsoft / zealousness for Apple is showing here. Certainly .NET isn't for everyone, but I don't think "is not a good web development framework" is justified. Check out http://nancyfx.org/ if you're looking for something more lightweight than the full ASP.NET / IIS stack.

replies(1): >>11403652 #
11. Someone1234 ◴[] No.11389445{6}[source]
What is "overkill?" The framework? The language? The UI? The CLR?

I have issues with Microsoft's MVC (mostly that there is no official way of splitting it across several solutions and keeping working routing) but I've never found it overkill for enterprise-style webapp development.

We used MVC/Entity Framework. It works well as a RAD for the backend with full HTML/CSS/JS for the front end that we can get creative with. Reminds me a lot of Java development.

replies(1): >>11389505 #
12. ebbv ◴[] No.11389505{7}[source]
Visual Studio is overkill for web development IMHO (and again, different strokes. I know some people like to write PHP in Eclipse.)

The MVC model itself is not overkill, sorry that sentence was not clear. I should know better than make contentious comments on HN that are going to spawn a bunch of aggressive responses when I'm trying to start my day.

replies(4): >>11389734 #>>11389735 #>>11389770 #>>11391889 #
13. 0xCMP ◴[] No.11389536[source]
I would assume much better stability and integration. If this works as I expect, I will be able to do things like apt-get install which is a huge improvement over cygwin. Another benefit is that since it's Ubuntu tools and projects will support it vs cygwin which is usually "we don't use it, so figure it out and then we'll post it here for all the other poor saps using cygwin"
14. metafex ◴[] No.11389555[source]
Cygwin is and always will be only an emulation-layer, never the real deal. For most day-to-day things it works perfectly, but when you run into some corner-case, most of the time you are out of luck.

My only real problem with Cygwin is, that it misses a command-line package manager. If they could adopt pacman for package management like MSYS2 does, I'd be a happy camper.

edit: To deploy Cygwin based applications you need to get a commercial license from RedHat (if it's not FOSS). Which could be a deal-breaker.

replies(4): >>11389592 #>>11389811 #>>11390496 #>>11390620 #
15. nbevans ◴[] No.11389589{4}[source]
Being stuck in "lead web developer" roles for 13 years probably rules you out of being an influencer though.
replies(1): >>11396736 #
16. typon ◴[] No.11389592{3}[source]
This is a good answer. I always feel limited in Cygwin, it doesn't feel quite right. And it takes quite a bit of tweaking to get working correctly. Case in point: Try getting gvim to work properly from Cygwin.
17. typon ◴[] No.11389600[source]
I like using F# for web development. Check out Websharper. It's like Elm or Purescript but comes with all the amazing tools MS has developed for non-web-dev F# for free.
replies(1): >>11390048 #
18. sfilipov ◴[] No.11389628[source]
The only reason I can't really use Windows as development OS are the inferior terminal emulators. As good as ConEmu is, it is still worse than Terminator etc. Unless I can run a native Linux terminal emulator, it doesn't make much of a difference to me. Also, the filesystem differences don't help.

I was also running into Haskell compilation problems that were fixed by running Ubuntu in a Vagrant environment but speed was slow. There isn't good NFS support on Windows either (there is some).

replies(2): >>11389712 #>>11390512 #
19. dogma1138 ◴[] No.11389712[source]
I would call powershell anything but inferior.
replies(2): >>11390030 #>>11390120 #
20. Delmania ◴[] No.11389734{8}[source]
Making contentious comments is fine, the problem is you have to back them up with anything solid. The basis of your argument is that Visual Studio is overkill for writing web applications. That has nothing to do with ASP.NET and more to do with the desire for simpler developer environment. This can be solved by using VSCode, or setting up Omnisharp for the various text editors out there.

You have not given any solid technical reason as to why ASP.NET is a bad framework. In my experiences, it's more or less as capable as Ruby on Rails, Clojure, Java, etc. You've stated it's overkill, meaning what exactly? Are you even aware of the changes being made to ASP.NET vNext? The dotnet cli tool? The only complaint you seem to have is that the tight coupling of ASP.NET to various Windows platforms is a little much for people who are used to Go or RoR.

21. kuma4 ◴[] No.11389735{8}[source]
ASP.NET MVC Frawmework is the most popular web framework in dotnet. I think you don't know well about dotnet.
22. marvy ◴[] No.11389770{8}[source]
Ok, so it sounds like you're objecting to Visual Studio, not to .net itself. Or not quite?
23. hudo ◴[] No.11389787{6}[source]
That's true, MVC and Webapi can do everything, like Rails, all functionalities you need and don't need are inside. Most .net devs are expecting that, compared to node devs where they would have everything splited into small packages. One fx was designed in 2000, when that made sense, other one in 2010 ...

But, you don't have to use mvc; there's Nancy or low-level Owin. So why do people complain about MVC when there are other choices? Certainly not like in other platforms, but at least few good ones exists! Why judge whole platform because of one fx?

Similar like EF or Nhibernate. They are big and heavy and very slow if not used properly, but also there's Dapper, massive or simpleData.

24. tavert ◴[] No.11389811{3}[source]
You realize cygwin's setup.exe package manager has a CLI, right? The issue with pacman in msys2 is that it's posix dependent, which fails badly at updating the core posix layer itself. Cygwin's setup.exe is a native Windows executable and doesn't have this self hosting problem.
replies(1): >>11390000 #
25. kuma4 ◴[] No.11389929[source]
I think so. Cygwin is good enough to use UNIX tools in Windows. But maybe they will support better packages than Cygwin.
26. koenigdavidmj ◴[] No.11390000{4}[source]
That doesn't solve the problem that if it is trying to update the Cygwin DLL, you need to shut down everything. And if there's an update to something like bash or coreutils, same thing (since Windows does not allow writing to executables that are running).
replies(1): >>11390337 #
27. ljani ◴[] No.11390030{3}[source]
I'm always put off by the ~five second startup time when I open PS to start learning it. Any tips for speeding it up?
replies(4): >>11390112 #>>11390258 #>>11390819 #>>11392608 #
28. eggy ◴[] No.11390048{3}[source]
Yes, I agree, F# and Websharper are a whole different breed than the ASP.NET, C# apps I used to create. F# is a lot of fun too for more than just Web dev.
29. ygra ◴[] No.11390112{4}[source]
Speed was an issue on Windows 7 (PSv2), but they sped it up considerably in Windows 8 (PSv4, I think). Maybe installing the current PowerShell version helps; I doubt it's inherent in the OS.
replies(2): >>11390899 #>>11391736 #
30. ygra ◴[] No.11390120{3}[source]
PowerShell isn't a console or terminal emulator. It's a shell that uses conhost just like any other console application on Windows.
replies(1): >>11392470 #
31. kuma4 ◴[] No.11390258{4}[source]
PowerShell is great. But I agree it starts slowly.
replies(1): >>11391128 #
32. tavert ◴[] No.11390337{5}[source]
Sure. But self-hosting pacman makes it literally impossible to do correctly. Updating cygwin itself should be done by an outside-of-cygwin solution to invoke setup.exe, just write a little powershell provisioning script or something.
replies(1): >>11390977 #
33. shadowfox ◴[] No.11390496{3}[source]
> My only real problem with Cygwin is, that it misses a command-line package manager. If they could adopt pacman for package management like MSYS2 does

There is babun (https://babun.github.io/). It is essentially a wrapper around cygwin and comes with a package manager.

34. djsumdog ◴[] No.11390512[source]
I love tiling window managers...and real package management... and free software.

Windows still has a ways to go. I think this might make some Windows stuff easier to deal with, but I still prefer jobs where I can run Linux natively on my workstation.

replies(1): >>11391952 #
35. emodendroket ◴[] No.11390620{3}[source]
I've always used apt-cyg to install things, which works OK.
36. adiabatty ◴[] No.11390819{4}[source]
On my i5-2400 with 8 GB of RAM and a 7200 RPM hard drive, it takes six seconds to start the first time and four seconds to start subsequent times.

On my i5-3550 with 16 GB of RAM and an SSD it takes a couple seconds to start the first time and less than a second for subsequent times.

Both machines are running Windows 10.

Right now, the machine with the spinning rust is loading a bunch of files with an I/O priority of "background" because it just got booted into Windows; that might slow it down a bit because of the seek times and I don't know if Windows is willing to starve background I/O for seconds at a time to speed up interactive requests (I doubt it).

Update: once all the background preloading is done, PowerShell restarts in three seconds on the spinning-rust machine.

Long story short, I think getting an SSD will be the thing that makes PowerShell start acceptably fast.

replies(3): >>11391382 #>>11391749 #>>11391796 #
37. swalsh ◴[] No.11390875{4}[source]
I'm guessing its been a few years since you've touched web development in .NET? A lot has changed...
38. vetinari ◴[] No.11390899{5}[source]
Can confirm, it starts immediately in 2012r2.
39. Macha ◴[] No.11390977{6}[source]
?

Arch is certainly capable of updating pacman via pacman,and it's been a while but I'm pretty sure you can update apt/dpkg via the usual apt-get upgrade on Ubuntu

replies(1): >>11391493 #
40. Scuds ◴[] No.11391019[source]
apt-get install whatever from any ubuntu repository

Not sure about X11 apps, but whatever. Largely this makes running a special win32 build of redis for whatever dev you're doing unnecessary.

I'm currently running windows on this laptop, but I have a virtualbox instance running Lubuntu for doing any UNIX specific dev. Ports and files are shared across windows and linux transparently, which means there's far less need for need for running+maintaining a separate developer's VM.

41. orbitingpluto ◴[] No.11391128{5}[source]
Just upgraded to WMF 5.0 on Windows 7. Start time is much better now. 4 seconds vs 8 seconds on a 2nd gen i5.
42. keithpeter ◴[] No.11391382{5}[source]
Ancient Thinkpad dual-core with 512Mb RAM and 5400 legacy spinning rust disc running OpenBSD 5.9.

Left click in fwvm, select xterm, window appears in less than my blink response time.

Seriously: I think I might pop Win10 on an old Dell i5 that came with Win7 and play with this.

43. zxcvcxz ◴[] No.11391390{3}[source]
If you can't develop with it on all platforms it sucks. Not to mention the job market for .NET devs is pretty shit and I don't know a single person who actually enjoys it.
44. tavert ◴[] No.11391493{7}[source]
Those aren't operating under the restrictions imposed by Windows.
45. ljani ◴[] No.11391736{5}[source]
I'm on Windows 10 and I agree it has improved a lot since Win7, but it's still not pleasant. I'm rocking a 7200rpm spinning disk, so as suggested by adiabatty, getting an SSD might help.
46. ljani ◴[] No.11391749{5}[source]
Many thanks for the comparison! I'm indeed with a 7200 RPM disk. I guess I should invest into some new hardware soonish :)
47. JeffreySnover ◴[] No.11391796{5}[source]
We did a lot of work on PowerShell startup in this next release - I think you'll be happy.

Jeffrey Snover [MSFT]

48. deadcast ◴[] No.11391889{8}[source]
You still have not provided any specific reasons for "why" you believe Visual Studio/.NET is overkill for web development. I would like to actually know because I am curious.
49. hxegon ◴[] No.11391952{3}[source]
I was always grumpy about switching to OS X because I missed xmonad, but then I found amethyst and rebound the keys to be the same :)
50. dogma1138 ◴[] No.11392470{4}[source]
Powershell ISE is quite a good terminal emulator (even tho it wasn't intended as one), it's also extensible via addons and there are quite a few nifty ones like git integration and the likes.

This is the ISE in a default configuration https://imgur.com/xz9Kfpt On the left just an open terminal, in the middle a script which can be edited and executed at any time with F5, and on the right all the powershell commands which could be either immediately executed or inserted into your script with ease.

Unless you need tab browsing that much, which you can get via addons, the ISE is one of the best "terminals" out there imho.

51. dogma1138 ◴[] No.11392608{4}[source]
Depending what you open, powershell.exe should open as fast as cmd.exe pretty much, the ISE can take a few seconds to load based on the addons you have and how many PS cmdlets you have registered on your system.

As people have mentioned the biggest factor here is probably your hard drive since you are loading maybe couple of 100's of small files when you load the ISE.

52. ebbv ◴[] No.11396736{5}[source]
I'm not interested in being a manager, executive or a founder. I've had opportunities and pass. I like being a developer. It's not stuck.

As far as being an "influencer"; do you see any links on my profile? Again, that's something other people find appealing, not me.

53. bananaboy ◴[] No.11403652{3}[source]
NancyFX is pretty great! Nice and lightweight.