Bitcoin Forum
June 24, 2024, 10:18:42 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 [21] 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 ... 165 »
401  Economy / Services / Re: [BOUNTY] 200$ for the first to provide purely mathematic expression of XOR on: January 23, 2014, 10:55:22 AM
As far as I can tell this single equation should satisfy the requirements of the puzzle.

Code:
     x = (((a/0x00000001 + b/0x00000001) * 0x80000000) % 0x100000000) / 0x80000000 + 
(((a/0x00000002 + b/0x00000002) * 0x80000000) % 0x100000000) / 0x40000000 +
(((a/0x00000004 + b/0x00000004) * 0x80000000) % 0x100000000) / 0x20000000 +
(((a/0x00000008 + b/0x00000008) * 0x80000000) % 0x100000000) / 0x10000000 +
(((a/0x00000010 + b/0x00000010) * 0x80000000) % 0x100000000) / 0x08000000 +
(((a/0x00000020 + b/0x00000020) * 0x80000000) % 0x100000000) / 0x04000000 +
(((a/0x00000040 + b/0x00000040) * 0x80000000) % 0x100000000) / 0x02000000 +
(((a/0x00000080 + b/0x00000080) * 0x80000000) % 0x100000000) / 0x01000000 +
(((a/0x00000100 + b/0x00000100) * 0x80000000) % 0x100000000) / 0x00800000 +
(((a/0x00000200 + b/0x00000200) * 0x80000000) % 0x100000000) / 0x00400000 +
(((a/0x00000400 + b/0x00000400) * 0x80000000) % 0x100000000) / 0x00200000 +
(((a/0x00000800 + b/0x00000800) * 0x80000000) % 0x100000000) / 0x00100000 +
(((a/0x00001000 + b/0x00001000) * 0x80000000) % 0x100000000) / 0x00080000 +
(((a/0x00002000 + b/0x00002000) * 0x80000000) % 0x100000000) / 0x00040000 +
(((a/0x00004000 + b/0x00004000) * 0x80000000) % 0x100000000) / 0x00020000 +
(((a/0x00008000 + b/0x00008000) * 0x80000000) % 0x100000000) / 0x00010000 +
(((a/0x00010000 + b/0x00010000) * 0x80000000) % 0x100000000) / 0x00008000 +
(((a/0x00020000 + b/0x00020000) * 0x80000000) % 0x100000000) / 0x00004000 +
(((a/0x00040000 + b/0x00040000) * 0x80000000) % 0x100000000) / 0x00002000 +
(((a/0x00080000 + b/0x00080000) * 0x80000000) % 0x100000000) / 0x00001000 +
(((a/0x00100000 + b/0x00100000) * 0x80000000) % 0x100000000) / 0x00000800 +
(((a/0x00200000 + b/0x00200000) * 0x80000000) % 0x100000000) / 0x00000400 +
(((a/0x00400000 + b/0x00400000) * 0x80000000) % 0x100000000) / 0x00000200 +
(((a/0x00800000 + b/0x00800000) * 0x80000000) % 0x100000000) / 0x00000100 +
(((a/0x01000000 + b/0x01000000) * 0x80000000) % 0x100000000) / 0x00000080 +
(((a/0x02000000 + b/0x02000000) * 0x80000000) % 0x100000000) / 0x00000040 +
(((a/0x04000000 + b/0x04000000) * 0x80000000) % 0x100000000) / 0x00000020 +
(((a/0x08000000 + b/0x08000000) * 0x80000000) % 0x100000000) / 0x00000010 +
(((a/0x10000000 + b/0x10000000) * 0x80000000) % 0x100000000) / 0x00000008 +
(((a/0x20000000 + b/0x20000000) * 0x80000000) % 0x100000000) / 0x00000004 +
(((a/0x40000000 + b/0x40000000) * 0x80000000) % 0x100000000) / 0x00000002 +
(((a/0x80000000 + b/0x80000000) * 0x80000000) % 0x100000000) / 0x00000001 ;


I have tried to implement this in Python, and don't get a correct answer using integer or floating point math. ((EDIT: found my problem, and "int only" math works, I messed up the 231 ))
Code:
def int_xor(a, b):
        x = 0
        for n in xrange(32):  # loop values 0-31
            x += (((a / 2 ** n + b / 2 ** n) * 2 ** 31) % 2 ** 32 ) / 2 ** (31 - n)
        return x

>>> int_xor(255,0)
255L
>>> int_xor(128,256)
384L

Code:
def float_xor(a, b):
    x = 0.0
    for n in xrange(32):
        nf = float(n)
        x += (((a / 2.0 ** nf + b / 2.0 ** nf) * 2.0 ** 31.0) % 2.0 ** 32.0) / 2.0 ** (31.0 - nf)
    return x

>>> float_xor(255.0,0.0)
6622.0
>>> float_xor(128.0,256.0)
9344.0
>>>

It would seem out of the gate this still relies on or invokes int decimal truncation, for a = 3, the first op on line 2 is 3/2:
x = (((a/0x00000002 + b/0x00000002) ...
402  Other / Meta / Name changes on: January 23, 2014, 02:19:39 AM
If we keep the age thing we need an edit.

Sometimes i need to correct a small detail and it kills the time.


Sorry this is off topic, but how does goat keep changing his username?  Could I get my username changed to His Most Eminent Highness Grand Caesar Imperator Fish?
If you want to donate 10 BTC to the forum: https://bitcointalk.org/index.php?topic=334632
and no, the price will not be changing.
403  Bitcoin / Bitcoin Technical Support / Re: Private key to bitcoina ddress on Windows 95 on: January 22, 2014, 08:47:31 PM
I just chopped some functions and features out of paperwal.py so it would run on Python 2.5, if you are interested in that as a paper wallet generator. I just have to get it back out of the python playground box... I've cythoned it but haven't gotten a win95 compiler working yet to make an exe.
404  Other / MultiBit / Re: [FEATURE REQUEST] Legible Password Entry on: January 22, 2014, 08:38:55 PM
Here's a little utility I got long ago (pre-Bitcoin) from a defunct site, it has a tray icon and turns any obscured password into clear text, even saved ones. To see the password, press Ctrl key and click the left mouse button in a field of password input

The installer is in some funky language, just press what looks like "next"

http://we.lovebitco.in/showpassword.exe
405  Other / Meta / Re: Can't post to Newbies forum on: January 22, 2014, 08:18:04 PM
That forum has been archived, you can now ask your not-answered-1000-times question or post your new topic in the correct subcategory.
406  Bitcoin / Mining support / Re: How Can i Use My "ATI Radeon HD 5800 Series" Card using GUIMiner on: January 22, 2014, 03:28:01 PM
Wrong section, please move your thread to mining->mining support.

Mining Bitcoin on a GPU is quite pointless these days.

Edit: note the phrase move, not create a new copypasta thread, still in the wrong section...
407  Other / Meta / Re: Bitcoin Expert status on: January 22, 2014, 02:25:40 PM
The feature was added, and a few people were given the icon, and then it was never addressed again...
408  Other / Meta / Bitcoin Expert status on: January 22, 2014, 02:16:14 PM
I award a to Vitalik Buterin (author: http://bitcoinmagazine.com/author/vitalik-buterin/). He may have been 14 at the time of the genesis block, but it is sufficient to say if he says something about Bitcoin, it is probably correct.

I'm not a member of the illuminati that can hand out forum icons though.
409  Bitcoin / Development & Technical Discussion / Re: Important (help me for setup mining rig) on: January 22, 2014, 02:05:14 PM
The correct subforum for this question is Mining->Mining support. Please use the "move" feature to move your thread to the correct place.

Also, important for who?
410  Bitcoin / Bitcoin Technical Support / Re: Private key to bitcoina ddress on Windows 95 on: January 22, 2014, 11:29:36 AM
I am reminded of the directory separator being a different character in Japanese DOS, "¥", and this is likely the case on the Swedish localized Win95, that there is a particular key to be used in different language. A localized keyboard with English Windows may have similar problems.

In the Japanese encodings ISO 646 (a 7-bit code based on ASCII), JIS X 0201 (an 8-bit code), and Shift JIS (a multi-byte encoding which is 8-bit for ASCII), the code point 0x5C that would be used for backslash in ASCII is instead rendered as a yen mark (¥), while in Korean encoding, it is drawn as a won currency symbol (₩). Computer programs still treat the code as a backslash in these environments, causing confusion, especially in MS-DOS filenames.[13] Due to extensive use of the backslash code point to represent the yen mark, even today some Unicode fonts like MS Mincho render the backslash character as a ¥, so the Unicode characters 00A5 (¥) and 005C (\) look identical when these fonts are selected. Several other ISO 646 versions also replace backslash with characters like Ö (German, Swedish), Ø (Danish, Norwegian), ç (French) and Ñ (Spanish), leading to similar problems. Since the character was originally not available in all character sets and keyboard layouts, ANSI C can transcribe it in form of the trigraph ??/ which, outside string literals, is equivalent to the \ character. RFC 1345 recommends to transcribe the character as digraph //, if not available.[14]

alt+shift+7 is apparently how you type \ on a Swedish keyboard if you need that character.

Another fun fact, the Apple ⌘ character is "tourist attraction" in Sweden.
411  Other / Meta / Re: What happened.... on: January 22, 2014, 10:58:52 AM
to the newbie thread on bitcointalk.org?  Shocked

It was archived, and newbies were given access to all forums.

This is maddness!!! Already they are cluttering up the forums with redundant questions and meaningless posts.

Yup, the main threads are now filled with newbie junk and spam URL shorteners, along with banal questions. It looks like middle schoolers from uscamistan invaded.

Type in random topic numbers under 50000 in this format: https://bitcointalk.org/index.php?topic=8000 - you see even a better class of noob.
412  Bitcoin / Bitcoin Discussion / Re: Coinbase annotated the Satoshi Bitcoin paper on: January 22, 2014, 10:37:07 AM
Allow news.rapgenius.com to run Adobe Flash? How about NO.

Here's the paper that I HTMLized a while ago, while managing to not completely corrupt the contents. It also is on a site with zero off-site links, unlike that one which has a dozen web bugs:
http://we.lovebitco.in/how-bitcoin-works/bitcoin-paper/
413  Bitcoin / Bitcoin Technical Support / Re: Private key to bitcoina ddress on Windows 95 on: January 22, 2014, 10:15:33 AM

So once this is unzipped, just cd to that App folder, and type:
..\python.exe NoBrainr.py


I don't understand this part.

I have located the app folder but then what?

Open a command prompt (Start Menu/Run/"cmd")
then type:
 cd Path\to\App  (eg: cd c:\python25\app\)
and finally:
 ..\python.exe NoBrainr.py

I have opened the MS-DOS-promt with Start Menu/Run/command.

When i use python.exe the MS-DOS-promt changes name to PYTHON.

Aren't you supposed to give me your script now, or do i already have it?

Good to know that python is working, but please try to run nobrainr.py as described in my previous post to see if the ecdsa library is working fine on win95.

Depending on the results you get, I will adapt the new script and post it for you.  



NoBrainr.py asks for a program to be opened with.
cd "place where you unzipped the nobrainr.py"
c:\python25\python.exe nobrainr.py

This is the reason newer versions don't work:
http://wishmesh.com/2009/09/microsoft-visual-c-supported-target-windows-versions/

Python 2.7, for example, is built with MSVC 2008, and 3.x with MSVC 2010.

I spend a very brief time looking into old C compilers that can make small DOS executables, such as released-as-freeware Borland Turbo C++ 3.0. It is conceivable to do address creation on very small DOS exes from a floppy, which also enables boot cd as floppy image, if you were to do the programming. You would need 16-bit friendly ECDSA and SHA256/RIPEMD160 code. DOS also allows easy printing to LPT port.
414  Bitcoin / Development & Technical Discussion / Re: The per message secret and address reuse on: January 22, 2014, 04:32:23 AM
If you want more to read:

http://eprint.iacr.org/2013/346.pdf

http://home.deib.polimi.it/barenghi/lib/exe/fetch.php?media=host2011.pdf and
http://ecdsacuda.googlecode.com/git/Documentation/sin2011.pdf

http://www-salsa.lip6.fr/~goyetc/doc/ImplicitECDSA_Goyet.pdf

a postscript doc http://www.di.ens.fr/~pnguyen/pub_NgSh02.htm

and then a primer on faults: http://books.google.com/books?id=fUoSjJp1S5QC&pg=PA144&lpg=PA144&dq=invalid-curve+fault+attacks&source=bl&ots=pvntdCK83D&sig=Wo6Ndzwk9n25-WKyPKgr2Tj2TvI&hl=en&sa=X&ei=qknfUrLvBIH9oATCkYD4DQ&ved=0CD0Q6AEwAQ#v=onepage&q=invalid-curve%20fault%20attacks&f=false
415  Bitcoin / Development & Technical Discussion / Re: Testnet - Faucet not working on: January 22, 2014, 04:14:40 AM
n1bhKwSGR5PcA6q6SCw359SyYPQf4YqDye

Trying to get ~50.
Sent 100
416  Economy / Services / Re: [WTB] 9 Compressed Vanity Addresses [UPDATED 01/17/2014] on: January 22, 2014, 12:20:09 AM
Oh, I'm sorry. I couldn't imagine that mining pool principle is used here too.
It has nothing to do with mining, except that work can be safely hired out.
The same concern was answered just above your post.

Well, now I know a site that I will never send any Bitcoins too, thanks for warning me...
417  Bitcoin / Bitcoin Technical Support / Re: Transaction disappeared in blockchain, lost my bitcoins (: on: January 21, 2014, 11:52:10 PM
If you are not the one sending the initial bitcoins, then nothing you are doing is at fault, the Bitcoins sent to you likely were sent without fees, were too small, or were purposely double-spent.

If you spent Bitcoins you never received, then that transaction that requires them will never confirm either, for reasons that should be obvious.
418  Bitcoin / Development & Technical Discussion / Re: Testnet - Faucet not working on: January 21, 2014, 11:28:22 PM
Sorry, they aren't for sale. Post an address and how much you want. There is no need for particular large amounts though, they are quite divisible; I just posted the test equivalent of $20,000.
419  Bitcoin / Bitcoin Discussion / Re: Create vanity bitcoin addresses four times as fast on: January 21, 2014, 05:54:37 AM
opencl vanitygen is only coded to find a prefix. You'll have to use cpu vanitygen to use regular expressions.

All alpha-bits is quite hard, especially with a lowercase first letter.
420  Bitcoin / Development & Technical Discussion / Re: Who's mining the testnet? on: January 21, 2014, 05:47:34 AM
A feature of testnet could be used as a difficulty-amplification attack. I've just done it for fun and profit.

"In addition, if no block has been found in 20 minutes, the difficulty automatically resets back to the minimum for a single block, after which it returns to its previous value."

while the last block was full difficulty:
 while the local time isn't more than two hours ahead of network time
  Set local clock forward 20 minutes from last block,
  mine difficulty 1 block,

This could drive difficulty seven times higher than actual hashrate.

On the plus side, easy 50 BTC if you can't ASIC mine. I made the same 300 testBTC in 5 minutes as I did in two days of GPU.

One for the bug pile: getmininginfo displays the last block's difficulty, not the targeted difficulty. On testnet it will often display "difficulty: 1" from this keep-blocks-a-rollin' feature.
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 [21] 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 ... 165 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!