|
It's a message like "Item saved successfully" you can't 'not show that again'.
|
|
|
|
|
Then make a status bar and put it there. I can't stand pop-ups for stupid stuff like that.
|
|
|
|
|
|
Access their webcam and don't dismiss the popup until their eyes have returned to the main screen.
|
|
|
|
|
|
Yesterday, I was tasked with creating a service plugin that retrieved JSON data from a web site, extracting a handful of data items from the returned data, and storing those items in an XML file. I had just three hours to complete the task.
The size of the returned data was a little over 30k. If you've ever dealt with JSON before, you're probably acquainted with the pain involved in determining exactly what path to follow to get what you're after. Granted, there are assemblies that are quite helpful in this regard (NewtonSoft), but with this much data, it was difficult to visualize the hierarchy. I was quite sure I wouldn't be able to pull off the required task in the time allotted.
And then, I found the Json Class Generator on codeplex. It takes your json data, and creates classes that you can include in your app and use them to serialize/deserialize the data. Combined with the NewtonSoft JSON parser, it required exactly two lines of code to organize the incoming data. I ended up finishing the task well ahead of the allotted time.
Go here JSON Class Generator on Codeplex[^]
In the interest of completeness, there is also at least one online class generator (json2csharp[^]), but I haven't tried it out yet.
".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
|
|
|
|
|
json2csharp is one of the amazing free tool to use.. Zero installation
Thanks,
Ranjan.D
|
|
|
|
|
Might be worth posting this over at Free Tools[^] as well - it doesn't scroll off the page and disappear so fast there!
This message is manufactured from fully recyclable noughts and ones. To recycle this message, please separate into two tidy piles, and take them to your nearest local recycling centre.
Please note that in some areas noughts are always replaced with zeros by law, and many facilities cannot recycle zeroes - in this case, please bury them in your back garden and water frequently.
|
|
|
|
|
OriginalGriff wrote: Might be worth posting this over at Free Tools
I agree.
"I've seen more information on a frickin' sticky note!" - Dave Kreskowiak
|
|
|
|
|
Excellent tool, thanks for the heads.
|
|
|
|
|
Very nice! I've done some JSon work lately and these look to be very helpful!
"I've seen more information on a frickin' sticky note!" - Dave Kreskowiak
|
|
|
|
|
That's a very interesting tool, John, thanks.
I am going to try it out with Mehdi Gholam's brilliant JSON tools here on CP.
By the way, I'd like to ask you a question: I'm fascinated by your use of the phrase "I was tasked with," in your post.
I associate that phrase with other cultures than American. It has been near twelve years since I'v set foot in my the US, however, and I wonder if that usage has become common in the US ?
You'll see that phrase often on Q&A, often used by people from India, along with "I am assigned to."
And, if I may ask: why three hours; did they offer you a bonus ?
yours, Bill
Google CEO, Erich Schmidt: "I keep asking for a product called Serendipity. This product would have access to everything ever written or recorded, know everything the user ever worked on and saved to his or her personal hard drive, and know a whole lot about the user's tastes, friends and predilections." 2004, USA Today interview
|
|
|
|
|
BillWoodruff wrote: By the way, I'd like to ask you a question: I'm fascinated by your use of the phrase "I was tasked with," in your post.
I associate that phrase with other cultures than American. It has been near twelve years since I'v set foot in my the US, however, and I wonder if that usage has become common in the US ?
You'll see that phrase often on Q&A, often used by people from India, along with "I am assigned to."
And, if I may ask: why three hours; did they offer you a bonus ?
Our work items (including service requests, change requests, bugs, and new development) are "tasks" in our environment. No, there was no bonus. The nature of this particular task required a turn-around of three hours. I had two of those on Friday, but the other one was dealing with XML as opposed to JSON. Curiously, they both showed generally the same info, but came from different sources, and involved electronic billboards showing live score updates for the NFL. The two tasks had to be completed Friday so that the sales group could create the scenes that utilized the data on Saturday.
".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
|
|
|
|
|
I hate PayPal and can't quantify why or how, I just hate them. The same way I hate Telstra, but I can quantify and justify hating them. I have walked away from purchasing things that require PayPal in the past and would like to do the same now.
I have something I need (OK, want not need, but shut up and stop interrupting my rant) that will save me 38.5% per year if I go with PayPal. I know I'll eventually sign up for PayPal later tonight when good and drunk but just want some CPian's to feed me bullshit as to why I should embrace PayPal to make me feel better.
I have created a new email address just to sign up for PayPal it contain p4yp4larekunts just to make me feel a little bit better about being rogered by using them.
Michael Martin
Australia
"I controlled my laughter and simple said "No,I am very busy,so I can't write any code for you". The moment they heard this all the smiling face turned into a sad looking face and one of them farted. So I had to leave the place as soon as possible."
- Mr.Prakash One Fine Saturday. 24/04/2004
|
|
|
|
|
I don't mind them - if you are using them to pay for stuff, and there is no currency conversion going on, there are a lot worse companies to deal with. They don't send me much cr@p in the email department, and they are very, very good if you have a problem with a purchase. They don't pass your card or account details on to the seller, so there is a goodly amount less "trust" needed that the seller isn't going to sell your card details to the russian mafia.
If you're selling they are a PITA, because they charge you for it, at "not-cheap" rates, and they always seem to side with the purchaser, and you can get burnt too easily if you don't take all the precautions you can against a fraudster.
But for payments, I'd rather use them than a direct card online - I'm pretty sure it was an Amazon card purchase that got my bank card copied and used copiously in Hong Kong a couple of years ago.
This message is manufactured from fully recyclable noughts and ones. To recycle this message, please separate into two tidy piles, and take them to your nearest local recycling centre.
Please note that in some areas noughts are always replaced with zeros by law, and many facilities cannot recycle zeroes - in this case, please bury them in your back garden and water frequently.
|
|
|
|
|
OriginalGriff wrote: I don't mind them - if you are using them to pay for stuff, and there is no currency conversion going on, there are a lot worse companies to deal with. They don't send me much cr@p in the email department, and they are very, very good if you have a problem with a purchase. They don't pass your card or account details on to the seller, so there is a goodly amount less "trust" needed that the seller isn't going to sell your card details to the russian mafia.
Stop telling me good things. Maybe Telstra doesn't ring the old memory bells for you. So I'll mention the other abomination with customer service synonymous with Telstra you must remember, QANTAS.
Michael Martin
Australia
"I controlled my laughter and simple said "No,I am very busy,so I can't write any code for you". The moment they heard this all the smiling face turned into a sad looking face and one of them farted. So I had to leave the place as soon as possible."
- Mr.Prakash One Fine Saturday. 24/04/2004
|
|
|
|
|
Michael Martin wrote: Stop telling me good things
Michael Martin wrote: just want some CPian's to feed me bullsh*t as to why I should embrace PayPal to make me feel better.
Make your elephantin' mind up, Sport!
This message is manufactured from fully recyclable noughts and ones. To recycle this message, please separate into two tidy piles, and take them to your nearest local recycling centre.
Please note that in some areas noughts are always replaced with zeros by law, and many facilities cannot recycle zeroes - in this case, please bury them in your back garden and water frequently.
|
|
|
|
|
OriginalGriff wrote: Make your elephantin' mind up, Sport!
But not so much bullshit that I thought you worked in the Marketing department of PayPal.
Michael Martin
Australia
"I controlled my laughter and simple said "No,I am very busy,so I can't write any code for you". The moment they heard this all the smiling face turned into a sad looking face and one of them farted. So I had to leave the place as soon as possible."
- Mr.Prakash One Fine Saturday. 24/04/2004
|
|
|
|
|
I use PayPal all the time. One nice thing is when buying from a site where you can pay with PayPal, they automatically get your shipping address transferred.
The only thing that makes me SoMad, is the way they rob you on the exchange rate when you buy something in another currency.
I also created a new, dedicated mail address when I signed up. I guess I was a bit paranoid, but that's just because everyone is out to get me.
Soren Madsen
"When you don't know what you're doing it's best to do it quickly" - Jase #DuckDynasty
|
|
|
|
|
SoMad wrote: The only thing that makes me SoMad, is the way they rob you on the exchange rate when you buy something in another currency.
That sucks arse then, pretty much everything I buy online is in a foreign currency. I only remember buying one thing from Australia online and that was cause I didn't fancy the 4,000km+ drive to pick up.
Michael Martin
Australia
"I controlled my laughter and simple said "No,I am very busy,so I can't write any code for you". The moment they heard this all the smiling face turned into a sad looking face and one of them farted. So I had to leave the place as soon as possible."
- Mr.Prakash One Fine Saturday. 24/04/2004
|
|
|
|
|
Bummer dude!
"When you don't know what you're doing it's best to do it quickly" - Jase #DuckDynasty
|
|
|
|
|
SoMad wrote: everyone is out to get me
CP only has ten million members; that's a lot less than "everyone".
I wanna be a eunuchs developer! Pass me a bread knife!
|
|
|
|
|
[Placing tinfoil hat firmly on head ]
"When you don't know what you're doing it's best to do it quickly" - Jase #DuckDynasty
|
|
|
|
|
Mrs. Wife uses them a lot but only because those arsewipes that run ebay insist you do. So far she's not been ripped off by them but some of the wankers she buys from try it on with P&P costs. She bought two similar sized items and both were up t'north in Yorkshire. One charged no more than £3 postage and the other wanted something like £12. I told her to complain to the ebay arsewipes and they must have dumped on the arsewipe seller who later emailed to say the P&P was an "administrative error" and then dropped the P&P to something close to £4.50.
Now, be a good boy and bury your head in a crate of beer.
If there is one thing more dangerous than getting between a bear and her cubs it's getting between my wife and her chocolate.
|
|
|
|
|
Technically, I think all of that is eBay, not PayPal...
Soren Madsen
"When you don't know what you're doing it's best to do it quickly" - Jase #DuckDynasty
|
|
|
|
|