yashsingh1/xdaforums huggingface dataset:
[General Questions and Answers] ForsakenTwilight:
ok i have this question :

Study and execute the following program in CMAP:
main()
{ // Find the Machine Epsilon: the smallest positive number E such that 1+E > 1
E = 1; N = 0;
print(^" N E ");
do
{
E = E/2; N = N+1;
print(^, "%3.0f", N, "%25.16e", E);
} while (1+E/2 != 1);
print(^^," 1+E/2 > 1 : ", 1+E/2 > 1, ^^," 1+E > 1 : ", 1+E > 1);
}
(a) The objective of the program.
(b) Two new versions of the same program: one with the while-loop, and
the other with the for-loop—Make sure they all produce identical output.

now i managed to do the (b) part of the program and had the following results:

for-loop:

main()
{
print(" N E");
N = 0;
for( E = 1; E = E/2; 1+E/2 != 1)
{ N = N+1;
print(^, "%3.0f", N, "%25.16e", E);
if( 1+E/2 == 1 )
{
break();
}
}
print(^^," 1+E/2 > 1 : ", 1+E/2 > 1, ^^," 1+E > 1 : ", 1+E > 1);

}

while-loop:

main()
{

E = 1; N = 0;
print(^" N E ");

while (1+E/2 != 1)
{
E = E/2; N = N+1;
print(^, "%3.0f", N, "%25.16e", E);
}
print(^^," 1+E/2 > 1 : ", 1+E/2 > 1, ^^," 1+E > 1 : ", 1+E > 1);
}

k now what i want to know is, the part (a) of the question, as i didnt really understand what does this program do.. i mean what is its purpose, because after executing the program, this is what it showed me:

N E
1 5.0000000000000000e-001
2 2.5000000000000000e-001
3 1.2500000000000000e-001
4 6.2500000000000000e-002
5 3.1250000000000000e-002
6 1.5625000000000000e-002
7 7.8125000000000000e-003
8 3.9062500000000000e-003
9 1.9531250000000000e-003
10 9.7656250000000000e-004
11 4.8828125000000000e-004
12 2.4414062500000000e-004
13 1.2207031250000000e-004
14 6.1035156250000000e-005
15 3.0517578125000000e-005
16 1.5258789062500000e-005
17 7.6293945312500000e-006
18 3.8146972656250000e-006
19 1.9073486328125000e-006
20 9.5367431640625000e-007
21 4.7683715820312500e-007
22 2.3841857910156250e-007
23 1.1920928955078125e-007
24 5.9604644775390625e-008
25 2.9802322387695313e-008
26 1.4901161193847656e-008
27 7.4505805969238281e-009
28 3.7252902984619141e-009
29 1.8626451492309570e-009
30 9.3132257461547852e-010
31 4.6566128730773926e-010
32 2.3283064365386963e-010
33 1.1641532182693481e-010
34 5.8207660913467407e-011
35 2.9103830456733704e-011
36 1.4551915228366852e-011
37 7.2759576141834259e-012
38 3.6379788070917130e-012
39 1.8189894035458565e-012
40 9.0949470177292824e-013
41 4.5474735088646412e-013
42 2.2737367544323206e-013
43 1.1368683772161603e-013
44 5.6843418860808015e-014
45 2.8421709430404007e-014
46 1.4210854715202004e-014
47 7.1054273576010019e-015
48 3.5527136788005009e-015
49 1.7763568394002505e-015
50 8.8817841970012523e-016
51 4.4408920985006262e-016
52 2.2204460492503131e-016

1+E/2 > 1 : 0

1+E > 1 : 1

so if anyone know its purpose plz do tell, thanks in advance...
[HTC One X] Mr Hofs:
Dude are you serious !!!! A nexus rom....why do they call our phone a htc one x and not a nexus !!!!

Do you know fastboot commands to flash recoverys and boot.img files ?

Flash this recovery

http://db.tt/Krlm4dPs

And then go into the recovery and mount it as an usb mass storage, copy the rom.zip over to the sdcard. Then wipe everything. Also copy the boot.img file from the rom.zip to your fastboot folder and flash that too....

Then enter the recovery and install the rom.zip.

What is the nymber of your hboot andnwhich rom do you want to flash ? And only HTC ONE X ROMS !!!!!!
[HTC One X] vigneshsherlekar:
help me :( i'm a noob

i dont know fastboot commands or to flash recoverys and boot.img files And i cant mount it as an usb mass storage , the computer doesnt read it ..
[HTC One X] Mr Hofs:
Where are you going....here or th other thread, make up your mind or else i will quit. Dont go in 2 threads the same time......i say lets do it here

You need to download the htc drivers and install them

http://db.tt/gXVxa3Dp

Then you put these files in a folder on the pc

http://db.tt/ldx3qOOU

Then you put the phone in the bootloader and check if you see fastboot usb in red text !

Then you open a command prompt inside the folder with the fastboot files i gave you, you type there

Fastboot getvar version-main

It shoukd give out a number like 2.17.401.11 or somethimg else....but thats how it looks

Post it here please. And leave the other thread
[HTC One X] DeeZZ_NuuZZ:
really if you wan to flash a rom...then PLEASE read before trying...why the hell MANY people aren't reading like they should...and then they wonder why their phone is bricked...here are SOOO MANY threads and tutorials ...so easy to read all...it#s for your good not for our......in the android development forum there are threads especially for noobs that you can flash all right and save..just look it's one of the first...thread
[HTC One X] nishu_nisarg:
Really sorry for giving complicated steps he had written "I TRIED EVERYTHING" so i thought he must follw this steps .......its my missunderstanding i accept my fault.

Hit thanks button always.Give credit and respect to develooers
[HTC One X] vigneshsherlekar:
@Mr Hofs

Fastboot getvar version-main gave me this number 3.14.720.24
[HTC One X] Mr Hofs:
What you can do is go here and download your matching nandroid backup

http://xdaforums.com/showthread.php?t=1975140

Then you have your phone back to stock software. Instructions are explained in the OP
[HTC One X] jotha:
Thread closed

OP has already one thread with that exact seam problems. Please use exactly that one to solve your problems. Multiple posting of the same topic is prohibited. I have closed/deleted 3 threads of the same user with the same problems now.

Use this one: http://xdaforums.com/showthread.php?t=2149332 to discuss that in the future.

regards
[G2 and Desire Z Q&A, Help & Troubleshooting] Kéno40:
Hi everyone,

I'm asking help for someone in an other forum.

Impossible for him to flash anny RUU ou PC10IMG.zip, even one with the same number 2.42.405.4

Problem with drivers after trying many times with sdk and htcsync!

Just possible to try to send command via fastboot, but not working.

No access to recovery or command via adb.

Staock Rom, S-On.

What could be done? Goldcard and root?

Is it the same that this one : http://xdaforums.com/showthread.php?t=1759575?

Phone info :

(bootloader) version: 0.5

(bootloader) version-bootloader: 0.85.0013

(bootloader) version-baseband: 26.10.04.03_M

(bootloader) version-cpld: None

(bootloader) version-microp: 0425

(bootloader) version-main: 2.42.405.4

(bootloader) serialno: SH1XXXXX

(bootloader) imei: 2XXXXXXX

(bootloader) product: vision

(bootloader) platform: HBOOT-7230

(bootloader) modelid: PC1011000

(bootloader) cidnum: HTC__203

(bootloader) battery-status: good

(bootloader) battery-voltage: 3717mV

(bootloader) partition-layout: Generic

(bootloader) security: on

(bootloader) build-mode: SHIP

(bootloader) boot-mode: FASTBOOT

(bootloader) commitno-bootloader: 81c588a7

(bootloader) hbootpreupdate: 11

(bootloader) gencheckpt: 0

all: Done!

Thanks for taking time helping!
[G2 and Desire Z Q&A, Help & Troubleshooting] Kéno40:
Problem flashing recovery via fastboot :

D:\adt-bundle-windows-x86\sdk\platform-tools>fastboot flash recovery recovery.img

sending 'recovery' (3726 KB)...

OKAY [ 0.624s]

writing 'recovery'...

(bootloader) signature checking...

FAILED (remote: signature verify fail)

finished. total time: 1.108s
[G2 and Desire Z Q&A, Help & Troubleshooting] Kéno40:
Sorry, I find answer here : http://xdaforums.com/showthread.php?t=2050038
[Galaxy S III Mini Q&A, Help & Troubleshooting] rOck4n:
Has anybody else tried LagFix (fstrim) for this phone? I did but it gave me a FC after clicking the "Run!" button, then, the options "data" and "cache" went unmarked. I've already searched in the DEV thread but nobody seems to tried this in the S3 Mini, so I'm asking here if there is a positive feedback about this "app". :confused:
[Galaxy S III Mini Q&A, Help & Troubleshooting] ppero196:
Why you would need lag fix app?

There's no lagg :)
[Galaxy S III Mini Q&A, Help & Troubleshooting] rOck4n:
There's lag while scrolling in some apps like WhatsApp or the phone.apk and contacts.apk. I got control of the apps runing in background and i really dont use any widget. Just wondering if there's a chance to improve the speed of the dialer at launching. Sometimes there is a delay of 1-3 seconds.
[Sony Xperia S, Acro S, Ion] ivann817:
Hello, I have a problem, do all the steps but when I click on Restore in mobile, not the message that should be in the Windows console, either restarts or anything ...

Also when I click on Restore (the backup is loaded BootMe) takes not even half a second in "restored"

PS: I have debug mode and third applications on.

Guide I used: http://xdaforums.com/showthread.php?t=1886460

Other: That the 2nd time I root my Xperia S. The first time worked, but now no.

It is the second time I root with this method. And I have restored default settings and nothing

Someone help me?
[Sony Xperia S, Acro S, Ion] Spectre51:
What firmware version are you on?

Sent from my Sony Xperia™ TL
[Sony Xperia S, Acro S, Ion] ivann817:
Android 4.0.4 6.1.A.2.55
[Sony Xperia S, Acro S, Ion] auni:
Android 4.0.4 6.1.A.2.55 can not be rooted with the method u mentioned in your first post.

Only version 0.50 and 0.45 can be rooted with that method.

to root version 0.55 you have to unlock the bootloader and then u can try flashing a custom kernel for root.

Or if u don't want unlock bootloader then try flash the 0.50 firmware using Flash tools and then try to root again.
[Sony Xperia S, Acro S, Ion] ivann817:
Kernel:

3.0.8+1.0.21100-30145-01957-gc34b591

BuildUser@BuildHost #1

SMP PREEMPT Fri Oct 5 01:14:38 2012
[Sony Xperia S, Acro S, Ion] ivann817:
Ok I will try
[Sony Xperia S, Acro S, Ion] auni:
You check this thread. Everything explained well.

http://xdaforums.com/showthread.php?t=2072025
[Sony Xperia S, Acro S, Ion] ivann817:
Solved :) Back to .45 with Flashtool.

Thanks all for the help :)
[HTC Desire S] wormyy:
Hi all.

I have tried Jellytime, Pacman and Andromadus but every time I get stuck on HTC bootscreen. I have been searching trough this forum for two days and I have tried everything I could, but with no succes. I have always wiped/formated data and flashed kernel from the corresponding ROM using fastboot. Officially supported CM7 works ok, but I would like to try something new.

HTC Dev Unlocked S-ON

HBOOT - 2.02.0002

Radio- 3831.19.00.110

4EXT recovery

HTC Desire S (of course)

And I am running Ubuntu on computer (I can boot to windows though)

I do these steps:

1. Format all partitions/wipe cache (4ext)

2. flash ROM from zip (4ext)

3. flash gapps for 4.2.1 (Am I using the right version?)

4. Reboot to bootloader, connect to PC via USB, I copy the boot.img from the zip file, put it into the fastboot directory

5. I open the Terminal, navigate to fastboot directory and:

sudo fastboot flash boot boot.img

It says everything went ok

6. Reboot and BAM the htc screen hangs there forever

7. I find the nearest wall and strike my head against it

Could anybody help me please? It's driving me crazy for days. Thanks a lot in advance.
[HTC Desire S] SimonTS:
Did you check the thread about non-Sony screens?
[HTC Desire S] wormyy:
Thank you very much, I finally made it. It did not work at first, but then I managed to downgrade hboot and I got S-OFFed and from then it was just a cake. I think this should be somewhere more visible, because I was searching all relevant terms and this never showed up.

Thank you again, you guys here rock!
[Sony Xperia S, Acro S, Ion] pierre80:
I wanna ask somehin about battery life on lt26ii. I just bought lt26ii few days ago. Im feel the battery drains like hell, about 6 hour for moderate use, and about 12-15 hour for light use. Is it normal? Is there any tips to increase battery life? Thank you

Sorry for my bad english
[Sony Xperia S, Acro S, Ion] auni:
Check this thread.

http://xdaforums.com/showthread.php?t=1536332

Battery life usually increase a bit after at least 10-15 days of use. I get around 12 hours easily on heavy use. Light use, take me through out a day. Lot's of tweaks and tips are available on this battery drain issue. check the General section for that.
[Verizon Samsung Galaxy Note II] tb417:
Just like everyone else here I am absolutely loving my note. Hands down the best phone I've had yet. But I was wondering if anyone is curious about the Xperia Z. Watched a few videos, visited the site and just went through the specs. It might not be all around as great as the note 2, but its going to be a close competitor. With the 13 mp camera I am positive I'll be using my upgrade in October to get one, assuming Verizon offers it.

Sent from another loved and rooted SCH-I605 using XDA app.
[Verizon Samsung Galaxy Note II] geoff5093:
I've been looking at it to, it's a sweet looking device! The only thing (as usual) is the less than steller battery compared to the Note 2.
[Verizon Samsung Galaxy Note II] hopesrequiem:
I won't be looking for a while. I am extremely happy with the note 2. Last device I will be getting for maybe even two years
[Verizon Samsung Galaxy Note II] 1ManWolfePack:
Same.
[Verizon Samsung Galaxy Note II] tb417:
Well I will probably still mostly use my note 2, but I have an upgrade in August. Why not at least use it, try the phone, and if I don't like it i will sell and profit.

Sent from another loved and rooted SCH-I605 using XDA app.
[Verizon Samsung Galaxy Note II] nicko42004200:
The only phone I would even consider changing from my note 2 . I absolutely love mine. Would be the note 3.

sent from my over clocked, under volted , wireless charging moded, sch-i605 Verizon note II
[Verizon Samsung Galaxy Note II] INCREMENTAL:
No not really, its a sweet lookin phone but the Note 2 is a beast. Also I thought it wasn't coming to Verizon? And I'm hoping the Moto X kills every phone when it finally hits, rumored to be sold on the play store with a low non contract price, killer specs and to be the first real Moto/Google phone since Google bought them and unlockable. I believe this will be my next phone.
[Android Apps and Games] LynXT:
Features:

create folders

delete files

Upload and download files

Register easily

Very easy to use

Cancel download and upload files on the notification bar

Screens

Link

http://www.mediafire.com/?4319k5vr05svuwz

Happy Login :o
[Android Apps and Games] chronicfathead:
I keep getting `invalid or expired user session (ESID)'.

I already have an account.

Edit:

I can use the same credentials to log into the website.
[Android Apps and Games] LynXT:
sure you have entered your data correctly
[Android Apps and Games] chronicfathead:
Fairly sure. I can access the website with the same credentials. I've saved a Logcat file and will upload it as soon as I get to a PC.

http://pastebin.com/nBVw2C2B

Edit:

It seems to work fine on my Atrix running 2.3.7. The device its not working on is my Kindle Fire running a 4.2.1 ROM.

---------- Post added at 08:49 PM ---------- Previous post was at 08:18 PM ----------

I managed to sort of get it working.

Force stopped and cleared cache of app.

Tried logging in, error.

Tried registering a new account with another gmail account.

Saw email notification arrive.

Tried logging in using my original account, and it logged in.

I have uploaded a file, but if I try to share it the app crashes.
[Android Apps and Games] chevro1et:
Thanks, installed no problems so far,sub'd for updates.
[Android Apps and Games] mattspfld:
Installed fine works OK. Thanks.
[Android Apps and Games] bajen:
Thanks working perfect.
[Android Apps and Games] LynXT:
Need a screens for google play plz

Enviado desde mi Galaxy Nexus usando Tapatalk 2
[Android Apps and Games] GEKTHEBOSS:
R: [APP][BETA] MEGA for Android v1.0.1

Sure!

Here some
[Android Apps and Games] LynXT:
Thanks Man! :)

EDIT: I need people to translate the application into different languages
[Android Apps and Games] LynXT:
Coming soon

Mega 1.1

folder navigation

new icons

rename files

fixed fc
[Android Apps and Games] zakiancel:
Thanks for Share cool!!!

:good:cool!!!
[Android Apps and Games] GEKTHEBOSS:
R: [APP][BETA] MEGA for Android v1.0.1

Only 2 things ...

Why not upload the apk to mega:cool:

And i can translate to italian,gave me the strings and values:D

Please use GPlay if you can... Bye
[Android Apps and Games] LynXT:
strings: https://mega.co.nz/#!jEp1EQyb!FJ2jGkMhBW3BQoMooedj2BNDZIRwCCmumJPlAbT8sA0

This afternoon I'll upload to google play
[Android Apps and Games] GEKTHEBOSS:
R: [APP][BETA] MEGA for Android v1.0.1

Downloaded strings with your app...

Translated to Italian with DroidEdit and RootExplorer...

Uploaded and copied to clip with your App...

:);):D:phttps://mega.co.nz/#!iVMQ2RqJ!E9lXwuiP3T7zMOMExqM-8IkrsliASSVFidOrn1mnXcg
[Android Apps and Games] GEKTHEBOSS:
R: [APP][BETA] MEGA for Android v1.0.1

Any update?
[Android Apps and Games] LynXT:
Upload to google play in 2 hours
[Android Apps and Games] GEKTHEBOSS:
R: [APP][BETA] MEGA for Android v1.0.1

Yeah god!!

Included italian?
[Android Apps and Games] LynXT:
YES :D
[Android Apps and Games] GEKTHEBOSS:
R: [APP][BETA] MEGA for Android v1.0.1

Ok waiting an hour
[Sony Ericsson Xperia Neo, Pro] veepe:
I'm using CM10 rom+kernel nightly and I want to have a fast loading time of the dialer.

I've looked in the forums but no solution was helpful. I tried pimp my rom and also supercharger script that someone said you can "bulletproof" apps in memory but I didn't find that in the scripts menu.

So, if anyone knows how I can lock the dialer in memory so it will load faster please let me know :fingers-crossed:
[Sony Ericsson Xperia Neo, Pro] brunomars:
You can. Lock it with build.prop
[Sony Ericsson Xperia Neo, Pro] veepe:
Thanks. I'm not able to file a semcphone process running in the system, to my understanding from reading XDA that's the process I need to lock into ram. Could it be that it doesn't exist in CM10? From adb shell I ran "top", opened the dialer, and didn't see SEMCPHONE.
[Galaxy S II Q&A, Help & Troubleshooting] jdmmer:
Hello all, hopefully you can help me fixing this problem.

I've replaced my cracked screen with a new screen and digitizer, everything went perfectly and the phone is properly put back together. However the new screen seems to show everything in 16 bit. I see banding at grey gradients and the colors look pale. I've been searching around on the internet and couldn't find much about this problem.

Especially on my photo's the quality decrease is very clear to notice.

For some it helped to reinstall their OS, after reinstalling their colors looked sublime, but how to do this?
[Galaxy S II Q&A, Help & Troubleshooting] jdmmer:
This is a photo I shot to see how bad the banding is.

zimg.eu/i/1953164183
[Galaxy S II Q&A, Help & Troubleshooting] theunderling:
If you try GB/ICS/JB and still have problems then maybe duff screen.

"noob ok...lazy noob not ok"
[Galaxy S II Q&A, Help & Troubleshooting] TheATHEiST:
I had a similar issue on my HD2 and a kernel changed solved it.

Flash a custom kernel and see if you have same issue.
[Galaxy S II Q&A, Help & Troubleshooting] jdmmer:
I'm quite un-experienced with custom kernels. Would Siyah be a good kernel to go with?
[Galaxy S II Q&A, Help & Troubleshooting] TheATHEiST:
Yes Siyah is a good choice however it depends on what version your OS is as to what version of Siyah you should install. If its 4.0.3or 4.0.4 I recommend using v4 of Siyah.
[Galaxy S II Q&A, Help & Troubleshooting] gabibbo97:
I suggest you to flash Dorimanx which you can find @dorimanx.shine.sk but if it doesn't work someone installed a China import screen to your s2.

My secondary S2 got a cheaper alternative to stock display and now it has an always pink-ish color
[Galaxy S II Q&A, Help & Troubleshooting] interaktiv:
is it an orignial screen? sometimes cheep ones are sold as original. first check if its AMOLED. when the image is black there should be no ilumination. if there is its an LCD and a fake - happend to me
[Galaxy S II Q&A, Help & Troubleshooting] yash.pranjale86:
Go back to service center.

DONT FORGET HITTING THANKS......
[Galaxy S II Q&A, Help & Troubleshooting] jdmmer:
I've done the reparation myself and got the screen from Ebay from China. Followed a clear step-by-step tutorial and I'm sure no ribbons or connections were damaged.

I just checked if the black doesn't have illumination and it hasn't, you can't notice the difference between the black from a webpage and the border of the phone. I don't have any tint on it.

It seems to me like the phone doesn't recognize the screen 'driver', just like as you would replace a GPU in your PC, you'll need to download a driver.

I've been looking into flashing a new kernel, but it's harder than I thought and don't know where to start. Maybe it's better if I wait for Jelly Bean, which should be released soon in the country I live, The Netherlands. This update will refresh the kernel too, right?
[Galaxy S II Q&A, Help & Troubleshooting] theunderling:
Screen driver.......lol

Chinese rip off.

"noob ok...lazy noob not ok"
[Galaxy S II Q&A, Help & Troubleshooting] Marcovecchio:
jdmmer, I have the same issue, and I also want to know more about the software portion that deals with the screen controller, or DRIVER, for short. I still hope it may be a driver issue, the problem looks exactly like things I saw in the past with other phones, when display manufacturer changed.

I also bought my screen at eBay, installation was accident free, but heavy banding appears horizontally, with the phone in "portrait" position.

I noticed the banding is minimal when phone is turned on, and gets worse and worse, and some minutes later, screen starts to heavily flicker until it gets completely white.

Screen is amoled, it has great contrast and brightness, the only problem is the progressive banding. The only strange detail about it is the missing Samsung logo near the speaker.

About a custom kernel: I have installed most recent Dorimanx Kernel, but nothing changed. I'll keep trying, if I find a solution, I'm posting it here.
[Galaxy S II Q&A, Help & Troubleshooting] Marcovecchio:
I posted pictures of my screen banding here:

http://xdaforums.com/showthread.php?p=42720059#post42720059
[Galaxy S II Q&A, Help & Troubleshooting] Hellon:
Galaxy s 2 screen replacement

Sorry to tell that you got a low quality lcd screen replacement. To get a high quality Samsung s2 screen replacement[/URL] you can learn about HCQS-Wonderful Mobile phone lcd and parts supplier. For more info please visit: www dot hcqs dot com dot cn (please change "dot" into ".")
[Nexus 7 Q&A, Help & Troubleshooting] sambaselect:
... A space where app should be on front screen and when clicking on play button from other Google apps, its asking if I'd like to open chrome etc.

Can someone plrease point me in the right direction to reinstall? Searched on here and Google but no luck.

Thank you.
[Nexus 7 Q&A, Help & Troubleshooting] dinjin:
Try installing the apk again, here's a link.
[Nexus 7 Q&A, Help & Troubleshooting] sambaselect:
Dinjin, managed to install that but no reappearance of the icon nor automatic launching of Play from in-app buttons in Google apps.

The only change is that I can adjust , within settings, a new app called Google Play Services. Is this what Play normally show as in the settings?
[Nexus 7 Q&A, Help & Troubleshooting] BillGoss:
Install gapps from goo http://goo-inside.me/gapps#table

Sent from my Nexus 7