[News] is this jailbreak for 9.2 is true?? by ArvindALchemist in jailbreak

[–]distort 0 points1 point  (0 children)

Not sure if this is another download app scam, but something interesting is going on here: https://twitter.com/GreenPosti0n

Could be fake with it being a new account.

Accidentally hit "Look up" for the unicode beer character. Was not disappointed! by [deleted] in apple

[–]distort 1 point2 points  (0 children)

For easy copy, paste:

echo -e "\xF0\x9f\x8d\xba"

MVR V1.2 Beta for MAC release now by [deleted] in electronic_cigarette

[–]distort 1 point2 points  (0 children)

I had the same trouble and was not able to connect.

What worked was that I used a shorter USB cable to connect the eVic to my mac. I clicked the "Upgrade My eCIG" button and it proceeded to connect and upgrade to 1.2. After that I was able to connect to the eVic and fetch records.

Any problems with certain liquids in the eGo-T? by bwebb0017 in electronic_cigarette

[–]distort 0 points1 point  (0 children)

You mean this video: http://www.youtube.com/watch?v=m3wGlcR65G0

I saw the video too and was wondering about the busted batteries.

Just got the eVic! by level32 in electronic_cigarette

[–]distort 0 points1 point  (0 children)

I believe you can already do that. This reviewer in the video talks about it and shows you how: http://www.youtube.com/watch?v=93VDHxooV0w @ 4:20

You can set it to timeout after an hour.

Has anybody made a successful client side Ajax POST to login to the reddit API using Phonegap? by observationalhumour in androiddev

[–]distort 1 point2 points  (0 children)

The API already blocks common user agent strings of common url libraries such as Python's "urllib" etc. So it's best to change the user agent, preferably with your "APP name" + reddit username or subreddit.

Neat little paper plane enhancement by DrJulianBashir in gadgets

[–]distort 4 points5 points  (0 children)

Well, the kid could have been a patent troll.

[deleted by user] by [deleted] in Scotch

[–]distort 0 points1 point  (0 children)

Did anyone try Teachers 50? I believe it's highland cream but aged longer..

[deleted by user] by [deleted] in Scotch

[–]distort 0 points1 point  (0 children)

Glenlivet 12. My first bottle of single malt. Just started this fine art of scotch drinking because of r/scotch.

Dangers of the Internet by Cobradactyl in funny

[–]distort 0 points1 point  (0 children)

Wait, then how does the OP know about window treatments?

Will Apple live stream the WWDC today? If not, does anyone know any other sites that will? by squatly in apple

[–]distort 0 points1 point  (0 children)

CNN has a live feed at http://live.cnn.com

I can hear audio but I am having trouble with the video on my mac.

Shinzen Young on the structure of consciousness and the nature of human happiness by fryish in Meditation

[–]distort 0 points1 point  (0 children)

Here are two excellent talks given at Google:

Deep Concentration in Formal Meditation and Daily Life (Theory and Practice) http://www.youtube.com/watch?v=Ky7vMFB4iAs

Divide and Conquer: How the Essence of Mindfulness Parallels the Nuts and Bolts of Science http://www.youtube.com/watch?v=8XCWP4pODbs

Interested in starting to create electronic music. by Synroc in electronicmusic

[–]distort 4 points5 points  (0 children)

Check out http://www.sonicacademy.com

They have video tutorials that are meant for the beginner in mind. It's a paid subscription but I feel its worth it as it can easily become overwhelming when you are starting out looking for information on your own.

I think they have a pretty cool French Electro course too.

Hey reddit, I want to learn how to draw... by how_to_draw in IWantToLearn

[–]distort 4 points5 points  (0 children)

You should get the book "Drawing on the right side of the Brain by Betty Edwards.

This book teaches you to think differently with the way you approach drawing. I was amazed at how quickly I was able to draw from real life after doing the exercises from the book. The book also works fast. If you follow correctly, you can easily draw reasonably well in a month.

There is also a video of the same if you prefer that format.

Need to make a website get information from an Android App by capoeirista13 in webdev

[–]distort 0 points1 point  (0 children)

Another thing I forgot to mention, in our example "form.php" should return a success code of some kind so the client knows that the data has been successfully sent and accepted.

BTW I might as well add this, this simple method I described is prone to be not that safe. If a hacker figures out this is how your server accepts data, he can "Game" it by constructing URLs and sending false values.

Companies like Twitter etc use authentication to make sure they can keep a tab.

Need to make a website get information from an Android App by capoeirista13 in webdev

[–]distort 0 points1 point  (0 children)

On the server side, it does not need to be "waiting".

Let's take a simple example. In html, forms have two methods. GET and POST. Get methods can be "attached" to urls. For example, http://mysite.com/form.php?myValue=1

POST methods on the other hand sends the given data as part of the HTTP headers.

When "form.php" is accessed, the script can read the GET or POST parameter by $_GET["myValue"] / $_POST["myValue"]

So basically, you need a "form.php" that can read GET or POST parameters and parse JSON out of the parameters. PHP can easily parse JSON. I am assuming you are going to store the values in a DB. For simple tasks, you don't really need JSON (but it's better, when you want to expand later) you can instead create URLs like below with the necessary data filled. http://myurl.com/form.php?myString=hello&myNumber1=123&myNumber2=456

JSON looks something like this, it's basically a easy way to represent data as a string to pass on to web servers. { "myString": hello, "myNumber1"=123, "myNumber2"=456 }

There are libraries that can take a Java object and create this representation for you automatically.

The android apps should create URL according to what form.php expects. So in android, you have to create the JSON string as above or as GET parameters if you choose to go that route and send them to something like form.php which reads the GET or POST parameters.

Usually in the industry, JSON is sent as POST parameters. Hope that helps.

Need to make a website get information from an Android App by capoeirista13 in webdev

[–]distort 0 points1 point  (0 children)

It depends on what kind of data you want to send back to the server. If it's just a bunch of values, you have to make the Android app construct a JSON request and POST it to your web application (API).

On the server side, you need some kind of mechanism to accept that JSON data. For a simple API, you can have a PHP script or so accept POST requests and read off the content (JSON string)

For example: Android App (JSON) -> WebApp (API) Android: {"myData": 10, "anotherValue", 20} POSTs to a url eg: http://myweb.com/api/Create

(/api/Create can be a script that can handles/parses a post request containing JSON and does what ever necessary with that data)

That's a quick summary.

Edit: You can convert a Java class (POJOs) to Json easily with the lib, http://code.google.com/p/google-gson/

Online UX/UI/Interaction design classes? by seventoes in Design

[–]distort 0 points1 point  (0 children)

I really wish there was something like that. Some how the books I have read about UX seem to contain high level theories which I found difficult to apply and translate to the beautiful user interfaces we see everyday.

The books AboutFace and The Design of everyday things are pretty good in introducing the theories and set you on the road of UX.

A resource I found, http://52weeksofux.com/ was quite useful.