|
Microsoft is working with Blockstack Labs and ConsenSys on a blockchain-based identity system. Hi. I'm 690c19e6-e302-42d5-8006-bdfee98a3884. Pleased to meet you.
|
|
|
|
|
|
Laptops from Dell, HP, Asus, Acer and Lenovo all had at least one vulnerability that could result in complete compromise of system, Duo Security report says. Your completely unsurprising news item of the day
|
|
|
|
|
That's why always backup (just in case), format, re-install and backup another time
M.D.V.
If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
Help me to understand what I'm saying, and I'll explain it better to you
Rating helpful answers is nice, but saying thanks can be even nicer.
|
|
|
|
|
I'm waiting for a long compile to finish and fell 'deep' into pondering why I've only ever written PowerShell scripts, but not C++/C# console apps, for exclusive use in my many Visual Studio pre/post build events. Writing/debugging C++/C# console apps is considerably much easier than for PowerShell scripts and, aside from having established a seemingly 'bad' habit , I am now 'baffled' by my choice of doing things the 'harder' (i.e. PowerShell) way. I'm curious to know, given a choice, how many here use write C++/C# apps (instead of PowerShell scripts) for use in their pre/post build events?
modified 31-May-16 18:11pm.
|
|
|
|
|
Yes.
Here's one example:
"
Using the Utility from Visual Studio
I designed this utility with the idea that it would be used in a pre-build event for a Visual Studio project. Open the project's property page, select the Build Events tab, there is a box for pre-build command lines. One of the shortcomings of that is that (by default) pre-build events run with the project's release\bin or debug\bin subdirectory as the working directory; you'll need to take that into account. The following command is an example of how a GenOmatic file in the project's directory may be referenced in a pre-build event:
GenOmatic ..\..\MyEnum.xml
" -- GenOmatic[^]
I have several others that I use as well.
|
|
|
|
|
I had a rather large winforms application (70+ projects, 2+ million loc) that needed to have some XML transformations run, tests run, needed to be obfuscated, signed, packaged using InstallShield, and finally uploaded to a web server. I automated it all with a simple c# console application. I could have done everything in Powershell instead, but was just more familiar with c# at the time.
Senior Software Engineer / Automotive Hacker
"the fabric is down again...."
|
|
|
|
|
What is this doing in news forum ?
Patrice
“Everything should be made as simple as possible, but no simpler.” Albert Einstein
|
|
|
|
|
By your count, how many discussions here meet the criteria of "The Insider News is for breaking IT and Software development news"?
|
|
|
|
|
Well, this topic doesn't increase that by any. It would have been better posted in the Lounge.
This space for rent
|
|
|
|
|
My apologies and I will do so in the future. To be honest, I routinely scan the comments in the news section and, given the abundance of off-topics, assumed my comment was just as appropriate in the news sections as the lounge section. Thanks for the correction and I'll keep this in mind for the next time. Cheers!
|
|
|
|
|
I used VB6 to do some post install scripting because it was there, and quick. I could have used c but didn't. Prolly cause it was there but not as quick to bugger something up in a hurry.
|
|
|
|
|
You might not have thought of – much less visited – Myspace in years. (Yes, it’s still around. Time, Inc. acquired it and other properties when it bought Viant earlier this year.) But user data never really dies, unfortunately. People still use MySpace?
|
|
|
|
|
Microsoft’s artist in residence has created a technology solution which lets gardeners talk to their plans in a meaningful way, and also have the plans respond in turn. Mine just keep asking for more water
And I'm sure there's a crash and burn joke in there somewhere.
|
|
|
|
|
There are quite a few common wisdoms when it comes to C++ and games. As it always the case when facing a bunch of common wisdoms, some of them have their merits, some are obsolete-beyond-belief, and some are just taken from a very different context and are not really applicable. Just in case you want C++ lessons from a bunny
|
|
|
|
|
One of the central features we’re trying to add to both VB and C# in the near future is tuples. Who needs individual variables anyway?
But I am having nightmares about the return of "Recordset" programming
|
|
|
|
|
I have been waiting for this feature! Having used Lua and Python quite a bit, I love the multiple return value system. It is quite useful.
What do you get when you cross a joke with a rhetorical question?
The metaphorical solid rear-end expulsions have impacted the metaphorical motorized bladed rotating air movement mechanism.
Do questions with multiple question marks annoy you???
|
|
|
|
|
Do the 'Tuple facilities provided in .NET, now, not count as "real" Tuples ?
«There is a spectrum, from "clearly desirable behaviour," to "possibly dodgy behavior that still makes some sense," to "clearly undesirable behavior." We try to make the latter into warnings or, better, errors. But stuff that is in the middle category you don’t want to restrict unless there is a clear way to work around it.» Eric Lippert, May 14, 2008
|
|
|
|
|
No. Read the article carefully - it worth it...
But for short...Today Tuple class is a... class, while the new solution to be is about using inline initialization (no heap)...
Skipper: We'll fix it.
Alex: Fix it? How you gonna fix this?
Skipper: Grit, spit and a whole lotta duct tape.
|
|
|
|
|
Thanks, Kornfeld, for the heads-up; I did read the article and, once again, was thankful I gave up VB for C# many years ago. For me, using a 'struct is the best way to wrap-up a bunch of Types if I want a "leaner, meaner" way to package data. But, I have made little use of the existing 'Tuple class, partially because of its Item1 ... Item#m syntax.
cheers, Bill
«There is a spectrum, from "clearly desirable behaviour," to "possibly dodgy behavior that still makes some sense," to "clearly undesirable behavior." We try to make the latter into warnings or, better, errors. But stuff that is in the middle category you don’t want to restrict unless there is a clear way to work around it.» Eric Lippert, May 14, 2008
|
|
|
|
|
I need qutple, puples, suples, ouples and nuples,
How about just creating a damn structure?
|
|
|
|
|
I was about to post basically the same
A new wonderous syntax innovation to do something that you could do with VB6!! Don't let the occasion pass unnoticed, grab the newestest version of VS, come people, come!
GCS d--- s-/++ a- C++++ U+++ P- L- E-- W++ N++ o+ K- w+++ O? M-- V? PS+ PE- Y+ PGP t++ 5? X R++ tv-- b+ DI+++ D++ G e++>+++ h--- ++>+++ y+++* Weapons extension: ma- k++ F+2 X
If you think 'goto' is evil, try writing an Assembly program without JMP. -- TNCaver
When I was six, there were no ones and zeroes - only zeroes. And not all of them worked. -- Ravi Bhavnani
|
|
|
|
|
I don't have to worry about that one then I still use VS 2008.
|
|
|
|
|
A new report out by the BBC is showing that tech and online giants Microsoft, YouTube, Twitter, and Facebook have pledged to remove hate speech within 24 hours. "All you need is love"
|
|
|
|
|
You know what's gonna happen now...
0) People become angry and look for alternatives
1) Startups appear, claiming no censorship in order to draw in users
2) Startup becomes big enough to be noticed by "tech giants"
3) Startup owner sells out to highest "tech giant" bidder
4) Go to Item #0 (wash, rinse, repeat).
".45 ACP - because shooting twice is just silly" - JSOP, 2010
- You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
- When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013
|
|
|
|