|
Damned mobiles have a lot to answer for! As developers for years we had the luxury of coding for ever larger, ever better screens, more memory, more powerful CPU’s and faster data transfer… then mobiles came along and suddenly we were back to square minus one.
And people called it progress….
|
|
|
|
|
In the immortal words of Angelo 'Snaps' Provolone, quit squawking.
Seriously, though, the bloat in XML syntax always bothered me. I'm just surprised no one has pushed the JSON concept to replacing HTML's bloated tagging syntax.
If you think 'goto' is evil, try writing an Assembly program without JMP.
|
|
|
|
|
Well, in most sensible countries (so excluding the USA in this regard) data transfer isn't really an issue any more, either in terms of GB or speed. I never have to give it a second thought (here in the UK).
|
|
|
|
|
Json is one of those xkcd 927[^] "yet another way to do it" standards. When you've seen a dozen such formats, you have seen them all. (And Json is numbered higher.)
The (official) reasons for making yet-another-format is usually either that some tiny little functional detail is missing or done in a way that someone dislikes, or that it is "much simpler". (I guess the "simpler" argument is the primary one for Json.) If we could spend our energy learning to master a somewhat more complex, but a lot more functionl language, rather than having to learn eight different "simplified in my way", I think it would have been much better.
Json certainly isn't worse than any of the other "simplified my way" alternatives. It is just yet another "yet another language".
(Another less official reason for making new languages, of all sorts, is obviously the power struggle: If you can sneak in your new standard/language so people start using it, then you gain power, because you control the standard: You have the right to define concepts and "correct" thought patterns when the stanard is used; you define future extensions and thereby which ideas shall have the strongst support etc. etc. You'll never hear the standard owner agree to that, but ask those who oppose to the standard!)
|
|
|
|
|
Not necessarily why you're using JSON, but I found it particularly useful with AJAX.
AJAX returns a single string via php's ECHO. Fine - but I need to return information along with the text, or perhaps multiple bits of text for multiple locations on a page.
JSON to the Rescue! I send back the data as a JSON string, parse it the other end (Client) and have all the parts neatly available for whatever I wish.
There are a lot of complicated protocols that can be (some day) replaced with this.
Ravings en masse^ |
---|
"The difference between genius and stupidity is that genius has its limits." - Albert Einstein | "If you are searching for perfection in others, then you seek disappointment. If you are seek perfection in yourself, then you will find failure." - Balboos HaGadol Mar 2010 |
|
|
|
|
|
It is the same usage here, but with a communication between php and python. THe python daemon polls an interface, and "jason"s the data back to the UI.
|
|
|
|
|
Hello Friends,
I want to learn java Script, Please advice me which website is easy to learn java script.
|
|
|
|
|
My first recommendation would be MDN - Learning Javascript[^]. This is the de facto standard and has everything you need to know. On another level, assuming you're getting started on a new JS (JavaScript) project, I'd recommend TypeScript[^]. It's basically Javascript plus the addition of types and many other functions that are useful to development. You can also slowly adopt TS (TypeScript) while working with JS, as TS is just a superset of JS.
If you have any specific questions, I'd be willing to answer them in an appropriate forum.
|
|
|
|
|
|
I would say to read before visiting any site Crockford's JavaScript: The Good Parts ...
It is very important to understand, how easily things can go wrong with JavaScript.
I would also advise against any 'Language-to-JavaScript' as a learning platform, but first master JavaScript as-is...
If you not wish to take up a course, but work on your own, I would advise to set a goal, to define a project, you want to create at the end. That will give you the motivation and the framework, instead of circling around...
Skipper: We'll fix it.
Alex: Fix it? How you gonna fix this?
Skipper: Grit, spit and a whole lotta duct tape.
|
|
|
|
|
|
|
I learned HTML, CSS, PHP and JavaScript at W3Schools Online Web Tutorials[^]
Very easy bootstrap - includes ability to try examples, modify, and see the effects.
Ravings en masse^ |
---|
"The difference between genius and stupidity is that genius has its limits." - Albert Einstein | "If you are searching for perfection in others, then you seek disappointment. If you are seek perfection in yourself, then you will find failure." - Balboos HaGadol Mar 2010 |
|
|
|
|
|
I'm going to be deploying a UDP transmit feature on one of my older projects, and I anticipate significant gnashing of teeth once the customer gets it.
On my home office network - I run all of my devices through my ATT gateway. I see all UDP packets.
If I route all of my connections to an external switch (NetGear FS105), I see all UDP packets.
If I replace the switch with a pure hub, all is well.
Go into my work lab where I am at the mercy of the corporate network - I connect all devices through another switch (little trendnet thing). Nothing.
I know the network switches are far higher end than anything I would use on the bench in testing, but I don't even know where to begin to start to understand how to make it better.
People throw phrases at me like, "is it a class C network?" or "the switch is filtering..." which I appreciate, I just don't know what to do with the information.
I guess first, where might I post this type of question on CP? More than happy to relocate this post. Second, any references, sights or suggestions where I can reduce my ignorance?
Charlie Gilley
<italic>Stuck in a dysfunctional matrix from which I must escape...
"Where liberty dwells, there is my country." B. Franklin, 1783
“They who can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.” BF, 1759
|
|
|
|
|
I have always struggled with networks too, at first I could avoid it, but in the position where I'm now it has become unavoidable. Can not say I ever found a good practical book about it, most books are way too theoretical. Maybe this oline tutorial will be of some help: DCN User Datagram Protocol[^]
|
|
|
|
|
I'll take a look. Thank you
Charlie Gilley
<italic>Stuck in a dysfunctional matrix from which I must escape...
"Where liberty dwells, there is my country." B. Franklin, 1783
“They who can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.” BF, 1759
|
|
|
|
|
If you are packet sniffing, lower end switches will not let you sniffing across ports, they are usually isolated. Hubs will but won't duplex. More expensive switches support port mirroring. A book on Ethereal might help.
User: Technical term used by developers. See Idiot.
|
|
|
|
|
Yeah, I've got old hubs, new hubs, standard small office switches - they sort of all behave the same way. Run the app on the corporate network? Totally unpredictable. One suggestion - use point to point, which requires that I know the target IP.
I guess it's an option.
Charlie Gilley
<italic>Stuck in a dysfunctional matrix from which I must escape...
"Where liberty dwells, there is my country." B. Franklin, 1783
“They who can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.” BF, 1759
|
|
|
|
|
|
|
No help, but appropriate!
"Go forth into the source" - Neal Morse
|
|
|
|
|
Do you keep your mobile phone between an external keyboard/mouse and your laptop?
I ask this because the radio emissions(bluetooth, wireless, and network) from a mobile device will interfere with your laptop's communication with an external wireless mouse or keyboard.
“That which can be asserted without evidence, can be dismissed without evidence.”
― Christopher Hitchens
|
|
|
|
|
Good thinking, but not the case here. I've just watched it bring up and close the menu on it's own twice in the last 5 minutes and the phone is in another room.
I'm now disabling background processes to see if I can find the culprit...it seems to me like a software issue.
(16 hours later...interrupted by supper/movie/sleep)
The laptop stayed on all night, and the issue persists...it never went into screensaver/sleep/standby. As a matter of fact, my home office is across the hall from the bedroom, so I could watch the ambient light from the screen change every time the menu would pop itself up, then disappear seconds, or sometimes minutes later. This morning, the cooling fans were running at full speed, so I reboot it...hasn't messed up in the hour since then.
But, now to another issue that I've been noticing. I have a new system that when coming out of standby, displays the login screen, but the password box is filled. (30 chars to be exact and not my password) Maybe I'm being hacked!
"Go forth into the source" - Neal Morse
|
|
|
|
|
Isnt there a tracker pad download for the laptop? My Dell was a royal PITA till I dl'ed theirs, and disabled some stuff, like mouse gestures and so on.
|
|
|
|
|
It's Pazuzu, get an exorcist !
|
|
|
|
|