News for hackers. Stuff that matters.

akoeplinger

Re:.NET 10 on Wednesday November 12, 2025 @05:31AM (#45898540)
System.Text.Json ships as part of the shared framework in recent versions of .NET so for most users it won't be restored from nuget.org
Re:I got pwned by my cloud costs on Monday January 24, 2022 @04:09AM (#30055087)
Regional Directors and MVPs aren't employed by Microsoft: https://rd.microsoft.com/en-us/about/
Re:Redesigning GitHub Repository Page on Thursday February 28, 2019 @08:22PM (#19277172)
You can use the #readme anchor to link directly to the readme, e.g. https://github.com/ruby/ruby#readme

Quite useful when you want to point people directly at the description.

Re:Why you should learn F# on Wednesday December 19, 2018 @08:46AM (#18715523)
This was outdated info on the website, I've updated the page. Generics are supported with FullAOT nowadays.
Re:ASP.NET Core 3.0 will only run on .NET Core on Friday November 02, 2018 @03:59PM (#18366225)
Xamarin isn't based on the .NET Framework. It is based on Mono which is in turn already consuming a lot of code from CoreFX (== .NET Core) and that share will only increase over time.

Source: I'm working on the Mono BCL+Tools team at Xamarin/Microsoft.

Re:Open Source .NET three years later on Sunday December 24, 2017 @11:58AM (#16000249)
There's https://github.com/dotnet/wcf which are the _client_ libraries of WCF for .NET Core.

For the server side of WCF you're right those are only available on .NET Framework right now.

Re:Open Source .NET three years later on Sunday December 24, 2017 @08:19AM (#15999399)
Xamarin is built on top of Mono. The same applies to Unity3D.

We're sharing more and more code with .NET Core now so there's convergence happening but there are still pieces that are unique to us.

Disclaimer: I'm working on Mono for Xamarin/Microsoft.

Re:Mono's New .NET Interpreter on Monday November 13, 2017 @01:57PM (#15689046)
The .NET Standard spec has multiple _versions_, each of them adding more APIs: https://github.com/dotnet/standard/blob/master/docs/versions...

It's true that .NET Standard 1.0-1.6 had a lot of gaps but these should be rectified with 2.0 now so you shouldn't run into these problems anymore (otherwise there's usually a good reason why a method/API is missing from the standard).

Disclaimer: I'm working on Mono for Microsoft/Xamarin, primarily class libraries and tools.

Re:Mono's New .NET Interpreter on Monday November 13, 2017 @01:46PM (#15688897)
Great to hear that you're excited by it, we're too :)

This blog post has a few more details and examples of the WebAssembly work: http://www.mono-project.com/news/2017/08/09/hello-webassembl...

Disclaimer: I'm working on Mono for Microsoft/Xamarin (primarily class libraries and tools).

Re:Microsoft to stop producing Windows versions on Sunday May 10, 2015 @11:08PM (#9522483)
No, the upgrade to 8.1 needs to be explicitly kicked off through the Store: http://windows.microsoft.com/en-US/windows-8/update-from-win...
> or bundle up an ASP.NET app with an embedded server

You can do that today: http://docs.asp.net/en/latest/conceptual-overview/dotnetcore...

Re:Visual C++ Cross-Platform Mobile on Friday April 24, 2015 @01:24PM (#9434730)
There's a pretty interesting video of how the Office team uses C++ for their cross-platform efforts from CppCon 2014: https://www.youtube.com/watch?v=3HROqnw-nf4
Re:Apple ResearchKit on GitHub on Tuesday April 14, 2015 @07:24PM (#9377976)
I chuckled at this as well, so I filed an issue: https://github.com/ResearchKit/ResearchKit/issues/9

Should be fixed by now :)

Re:Microsoft Announces Nano Server on Wednesday April 08, 2015 @03:29PM (#9343261)
I'd be interested in how you set it up, can you maybe share it somewhere?

Guides like https://wprogramming.wordpress.com/2011/07/11/remote-pssessi... don't seem "fairly easy" to me (that's why I said it requires a lot more configuration compared to Enter-PSSession when both parties are in the same domain).

Re:Microsoft Announces Nano Server on Wednesday April 08, 2015 @03:15PM (#9343134)
Yes, but only if both PCs are in the same domain. Getting PowerShell remoting to work in other environments requires a lot of configuration.
Re:Microsoft Announces Nano Server on Wednesday April 08, 2015 @03:05PM (#9343060)
PowerShell web access might be a good alternative: http://blogs.technet.com/b/askperf/archive/2012/11/05/window...
Re:Microsoft Announces Nano Server on Wednesday April 08, 2015 @02:59PM (#9342992)
> The 2008 R2 development system we have needs to be rebooted every two week, due to Windows Updates [..]

Windows Updates are published once a month (except for very critical fixes), so I wonder how that is possible in your environment?

Re:In High-Tech Japan, the Fax Machines Roll On (2013) on Monday April 06, 2015 @08:11PM (#9331370)
I'm a bit surprised that you don't seem to have an equivalent of the Handysignatur [0] (eID based on mobile phone) we have in Austria. It's getting more and more popular here, I guess because all you need is a mobile phone (who has a card reader after all?).

I find it incredibly convenient as it gives you immediate access to a growing list of e-government services [1], as well as signing PDFs and even things like a service for cancelling subscriptions online [2].

[0]: https://www.handy-signatur.at/hs2/home.aspx?language=en

[1]: https://www.handy-signatur.at/hs2/?site=infos/applications

[2]: http://www.online-kuendigen.at/

Re:Mono 4.0.0 Release Notes on Saturday April 04, 2015 @12:59PM (#9321353)
Because it is a lot of work and takes time to integrate the pieces MS open sourced :)

There are also a few cases where the code needs to be tweaked so it works correctly on Mono and the platforms it runs on.

Re:Mono 4.0.0 Release Notes on Saturday April 04, 2015 @12:27PM (#9321257)
No, it should run on the 4.5 profile just fine as backwards compatibility in the .NET APIs is very good.

Please note that this is still a draft and the .NET 2.0/3.5 assemblies will likely reappear as reference assemblies (i.e. containing only method signatures in IL, so you can build against those profiles but not run on them).

Re:Mono 4.0.0 Release Notes on Saturday April 04, 2015 @12:25PM (#9321247)
I added a note to the page to make this clear.

HN mods: can we get a "(draft)" note added to the submission title as well?

I just wanted to point out that there's nothing that inherently ties PowerShell to Windows (as expected, it's just a shell after all).

> PowerShell provides direct access to [nearly?] the entire Windows OS

PS has access to the .NET Framework which abstracts the OS APIs, not really to Windows directly.

There's also chatter that MS is already working on porting PowerShell to CoreCLR/.NET Core (the cross-plat, open-source version of .NET).

There's already a PowerShell implementation for *nix: https://github.com/Pash-Project/Pash
Re:MSBuild is now open source on GitHub on Wednesday March 18, 2015 @06:19PM (#9229057)
One of those two is my fork and yes I did it to fix something, but edandersen's point was more geared towards a real fork (i.e. something that takes the project into a different direction) instead of the fork that GitHub requires to send a PR.

I agree with him, we already have a bunch of popular .NET build tools other than MSBuild like FAKE, basing one off of MSBuild doesn't seem to add a lot of value imho.

Re:CoreCLR on Linux on Saturday March 14, 2015 @11:05PM (#9205187)
Yes, there is cross pollination. See this blog post from Miguel de Icaza for more details: http://tirania.org/blog/archive/2014/Nov-12.html
Re:CoreCLR is now open source on Tuesday February 03, 2015 @03:40PM (#8993198)
I ported Mono's WinForms implementation to .NET Core some time ago as a proof of concept: https://twitter.com/akoeplinger/status/546832629010817024

Would be great if MS open-sourced WinForms as well so we could fill in the gaps.

Re:Windows 10 for Raspberry Pi 2 on Monday February 02, 2015 @08:02AM (#8983940)
fsharp on Ubuntu with Mono dependencies:

  sudo apt-get install fsharp
  [...]
  Need to get 22.2 MB of archives.
  After this operation, 66.0 MB of additional disk space will be used.
Personally, I wouldn't call that heavy.

Remember that the 10MB figure for CoreCLR you give is just for the runtime alone, it doesn't include any class libraries. The Mono runtime is in the same ballpark.

Re:New Features in C# 6 (2014) on Monday January 12, 2015 @07:10AM (#8873449)
There are many edge cases you need to consider, so a seemingly simple language feature can become hard to get right quickly.

I highly recommend reading through https://roslyn.codeplex.com/discussions/570551 and the other four revisions of the nameof() spec, they do a very good job at explaining the tradeoffs of each design.

Re:V8 Moving to Git on Sunday November 23, 2014 @06:08PM (#8650303)
If you look below the repository title on GitHub, it says "mirrored from..". This means GitHub handles the synchronization (they set this up on request for some projects).

For me the advantage is being able to use GitHub's nice UI to browse the source code.

Older »