Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
useerup
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
35 ms
·
151.
▲
by
useerup
11y ago
WCF does allow for code based configuration. There are actually 3 way to configure everything in WCF: Imperative code, Declarative attributes and (xml-based) config files. Conventions are supported as well, but is woefully underused. That s
152.
▲
by
useerup
11y ago
http://www.microsoftvirtualacademy.com/training-courses/gett...
153.
▲
by
useerup
11y ago
Two very popular apps in Denmark are "Mobilepay" and "Swipp". You download an app and connect it to your bank account (typically by means of a plastic card). It is extremely easy to make person-person or person-business
154.
▲
by
useerup
11y ago
> I gave CBB (a telco) my CPR number on the signup form and poof they had all my data. That is correct. Unless your address is "protected" a large number of companies with access to CPR can look up your address. No privacy to
155.
▲
PowerShell DSC for Linux is now available
(blogs.msdn.com)
10 points
by
useerup
11y ago
|
3 comments
156.
▲
by
useerup
11y ago
You look at the developer documentation for developing PowerShell cmdlets using C#, and go "look! it says you create cmdlets using C#!". Well, here is another way to create cmdlets: https://msdn.microsoft.com/e
157.
▲
by
useerup
11y ago
> No, the one with history going back more than an hour When did you last try PowerShell? In version 1.0 the history size was 64 by default - but could be changed. In PowerShell v3 that's increased to 4096 by default. If you can ove
158.
▲
by
useerup
11y ago
There's the WinSxS and the GAC (Global Assembly Cache). In SxS actually means side-by-side. Both WinSxS and the GAC supports multiple versions of the same libraries, and the program manifests set up policies for which library versions
159.
▲
by
useerup
11y ago
> Shouldn't a real OS and filesystem be capable of removing something in use? It's a choice. Windows specifically uses DLLs as non-dirty swap, i.e. if the memory manager want's to free up pages it may free memory pages use
160.
▲
by
useerup
11y ago
> PowerShell is disabled by default for security reasons. Small correction: PowerShell script files are disabled by default for security reasons. PowerShell is available with all Windows versions since Vista SP1. On the latest Windows
161.
▲
by
useerup
11y ago
> PowerShell and its object pipeline are focused on cmdlets which are not arbitrary programs, they are .NET classes, and PowerShell objects are .NET objects. Both correct and horribly wrong. PowerShell is indeed focused on cmdlets (and f
162.
▲
by
useerup
11y ago
You raise some interesting points. As I said, jq is impressive. It is a JSON processor that implements it's own functional language, complete with variables, function definitions, arithmetic, recursion. There is no question that it i
163.
▲
by
useerup
11y ago
> My understanding is that PowerShell is passing around specialized objects that have a few required methods, and some source specific ones. I don't believe that PS objects need to have any specific methods. Maybe only ToString() -
164.
▲
by
useerup
11y ago
type help about_objects (or go to the online version at https://technet.microsoft.com/en-us/library/hh847810.aspx ) Follow the pointers to the other topics from there.
165.
▲
by
useerup
11y ago
PowerShell cmdlets can be written in PowerShell. PowerShell modules (the unit of distribution) can be written in entirely in PowerShell. You can also write them in a .NET language, like C#, F# or VB.NET. I disagree that it is painful to wri
166.
▲
by
useerup
11y ago
let's see: jq does JSON parsing. And does it really well. Check. jq does filtering jq does projection (. operator, .[] operator, select etc) jq builds objects (the {} operator) jq does arithmetic (addition, subtraction, division, mul
167.
▲
by
useerup
11y ago
The http protocol is just text when you look at it. But I cannot just send "text" to a web browser or server. I have to follow a protocol . When I do so, I can anticipate how the receiver will understand the "text" - an
168.
▲
by
useerup
11y ago
jq is awesome, a real achievement. At the same time it demonstrates everything that is wrong with traditional shells and what PowerShell gets so right. jq is not a "Unixy" tool in the sense that it should do one thing and do it
169.
▲
by
useerup
11y ago
https://technet.microsoft.com/en-us/library/cc281945(v=sql.1... If you are more of a developer you may want to start at MSDN instead: https://msdn.microsoft.com/en-us/library/dd835506(v=v
170.
▲
by
useerup
11y ago
Replying to self because I learned something new about PowerShell today :) On the challenge github page dfinke used irm (Invoke-RestMethod) instead of iwr (Invoke-WebRequest). It turns out that irm actually looks at the content type of the
171.
▲
by
useerup
11y ago
yeah. And unlike many of the Unixy solutions it will actually produce correct results even if the input data contained quotes ("), apostrophes ('), commas (,), backslashes (\) and other characters that could throw parsing and text
172.
▲
by
useerup
11y ago
PowerShell, the right tool for the job: (iwr https://gist.githubusercontent.com/jorin-vogel/7f19ce95a9a842956358/raw/e319340c2f6691f9cc8d8cc57ed532b5093e3619/data.json | ConvertFrom-Json) | ? creditc
173.
▲
by
useerup
11y ago
To be fair, generics are only needed for as long as you insist on static typing. Languages with dynamic typing where types are checked at runtime do not need generics. And generics is complicated topic. I am all for static typing, especia
174.
▲
by
useerup
11y ago
Can anyone read Angelica Langers FAQ with all the strange limitations and corner cases, and still call it good design ? I can understand it as a compromise for migration compatibility . I disagree with the goals of JSR14 - and history has
175.
▲
by
useerup
11y ago
> Type erasure is the very reason that Scala could adopt a more advanced type system. No. Having a byte-code interpreter which is essentially an assembly language allows you to create any type system you want. It is wwhen you require in
176.
▲
by
useerup
11y ago
> The JIT can optimize this out in many cases. It can optimize some of the cases. Problem persists and is now even less predictable. > No it doesn't. You can still specialize as appropriate when you know the types at compile ti
177.
▲
by
useerup
11y ago
It was never about "backwards compatibility". It was always entirely possible to introduce generics and still have both the compiler and the runtime perfectly backwards compatible. C# did this going from version 1 to 2 of the CLR.
178.
▲
by
useerup
11y ago
What? No, I need reification because: 1) I do not want the compiler to create extraneous call-site code, bridge methods and other cruft to ensure that a value is really of the declared type (or derived from it). For instance, when you itera
179.
▲
by
useerup
12y ago
You are ignoring Windows Remote Management, Microsofts implementation of the WBEM standard protocol for remote management of devices. https://msdn.microsoft.com/en-us/library/aa384426(v=vs.85).a... "Windows
180.
▲
by
useerup
12y ago
The list of root certs is distributed as an update through Windows update . It is not just an on-demand root cert. An organization that vets updates before applying them to production systems will also need to vet such an update. The upd
More ›