Bitcoin Forum
June 21, 2024, 06:05:44 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 2 3 4 5 6 [7] 8 9 »  All
  Print  
Author Topic: Amateur hour  (Read 8225 times)
DobZombie
Hero Member
*****
Offline Offline

Activity: 896
Merit: 532


Former curator of The Bitcoin Museum


View Profile
March 13, 2013, 02:39:16 PM
 #121

As a professional software developer...

Wait, I think I've seen this advert before!

[quote Television]
As a busy mum...
[/quote]

That's it!!

Tip Me if believe BTC1 will hit $1 Million by 2030
1DobZomBiE2gngvy6zDFKY5b76yvDbqRra
Blinken (OP)
Sr. Member
****
Offline Offline

Activity: 338
Merit: 253



View Profile
March 13, 2013, 02:41:07 PM
 #122

Right now, I not planning on re-arranging my life to take an unpaid position as a bitcoin developer.
You don't need to be unpaid. If your abilities are as good as you claim you should be able to find plenty of people willing to donate.

For example, just look at how quickly the OSX packaging for Armory bounty was raised.

That's a nice thought, but I checked out the donations to the Armory address and it came to about 200 bitcoins. That would last me about 2 weeks.
You require $216,000/year to subside?   Roll Eyes

When you know the difference between a Hamiltonian cycle and a Mercier cycle you get paid the big bucks.

WTF is a Mercier cycle?  I know Hamiltonian cycles, but I've never heard of a Mercier cycle, and google (regular and scholar) doesn't have a clue either.

Hamiltonian cycle:



Mercier cycle:


Bitcoin ♦♦♦ Trust in Mathematics, Not Bankers ♦♦♦
finway
Hero Member
*****
Offline Offline

Activity: 714
Merit: 500


View Profile
March 13, 2013, 02:42:52 PM
 #123

CoinHunter ?

TalkingAntColony
Member
**
Offline Offline

Activity: 62
Merit: 10


View Profile
March 13, 2013, 02:46:10 PM
 #124

Can we rename this thread to "Guy tries to prove his superiority on the internet and casually propose pet theories while trolls troll and others waste time responding"
Anduck
Legendary
*
Offline Offline

Activity: 1511
Merit: 1072


quack


View Profile
March 13, 2013, 03:04:16 PM
 #125

If you have the abilities and interest in btc, Bitcoin indeed would need everything rewritten and very well documented. Or something.

wtfvanity
Hero Member
*****
Offline Offline

Activity: 504
Merit: 500


WTF???


View Profile
March 13, 2013, 04:11:24 PM
 #126

Can we rename this thread to "Guy tries to prove his superiority on the internet and casually propose pet theories while trolls troll and others waste time responding"

Sure

          WTF!     Don't Click Here              
          .      .            .            .        .            .            .          .        .     .               .            .             .            .            .           .            .     .               .         .              .           .            .            .            .     .      .     .    .     .          .            .          .            .            .           .              .     .            .            .           .            .               .         .            .     .            .            .             .            .              .            .            .      .            .            .            .            .            .            .             .          .
Blowfeld
Newbie
*
Offline Offline

Activity: 53
Merit: 0



View Profile
March 13, 2013, 06:07:02 PM
 #127

That is very good. I did not think of using Euclid's algorithm. I should send you a bitcoin for that one.
Thank you.  The address is in my signature.
WishIStartedSooner
Sr. Member
****
Offline Offline

Activity: 252
Merit: 250


View Profile
March 13, 2013, 06:29:13 PM
 #128

That's a nice thought, but I checked out the donations to the Armory address and it came to about 200 bitcoins. That would last me about 2 weeks.

You can blow 8 grand in two weeks?

that's sickening. (yea, i know there's plenty of people who are even more spoiled. this is still sickening)

Maybe you do "contribute more to society" for what you earn, but the fact that you take THAT amount of money for granted kinda makes me wanna punch you.

8 grand in two weeks is way, way more than plenty enough to live happily on.
AsymmetricInformation
Member
**
Offline Offline

Activity: 115
Merit: 10


View Profile WWW
March 13, 2013, 06:44:35 PM
 #129

That's a nice thought, but I checked out the donations to the Armory address and it came to about 200 bitcoins. That would last me about 2 weeks.

You can blow 8 grand in two weeks?

http://25.media.tumblr.com/tumblr_m5kmdp6l1k1r5rawlo1_500.gif

Support Decentralized Bitcoin Prediction Markets: 1M5tVTtynuqiS7Goq8hbh5UBcxLaa5XQb8
https://github.com/psztorc/Truthcoin
WishIStartedSooner
Sr. Member
****
Offline Offline

Activity: 252
Merit: 250


View Profile
March 13, 2013, 07:27:42 PM
 #130

That's a nice thought, but I checked out the donations to the Armory address and it came to about 200 bitcoins. That would last me about 2 weeks.

You can blow 8 grand in two weeks?

http://25.media.tumblr.com/tumblr_m5kmdp6l1k1r5rawlo1_500.gif

valid point.

I probably just got trolled.

But a fine job it was as I totally got all emotional about it.

Intense anger is a good feeling to have once in a while though. It kind of felt a little bit like an adrenaline rush.

As I read deeper into the thread I am pleased to see others point out this ridiculousness.
Blinken (OP)
Sr. Member
****
Offline Offline

Activity: 338
Merit: 253



View Profile
March 13, 2013, 07:36:32 PM
 #131

That's a nice thought, but I checked out the donations to the Armory address and it came to about 200 bitcoins. That would last me about 2 weeks.

You can blow 8 grand in two weeks?

http://25.media.tumblr.com/tumblr_m5kmdp6l1k1r5rawlo1_500.gif

valid point.

I probably just got trolled.

But a fine job it was as I totally got all emotional about it.

Intense anger is a good feeling to have once in a while though. It kind of felt a little bit like an adrenaline rush.

As I read deeper into the thread I am pleased to see others point out this ridiculousness.

I am all emotional, too. You make me weepy, Asymmetric.

Bitcoin ♦♦♦ Trust in Mathematics, Not Bankers ♦♦♦
Blowfeld
Newbie
*
Offline Offline

Activity: 53
Merit: 0



View Profile
March 13, 2013, 08:06:01 PM
 #132

That's a nice thought, but I checked out the donations to the Armory address and it came to about 200 bitcoins. That would last me about 2 weeks.

You can blow 8 grand in two weeks?

that's sickening. (yea, i know there's plenty of people who are even more spoiled. this is still sickening)

Maybe you do "contribute more to society" for what you earn, but the fact that you take THAT amount of money for granted kinda makes me wanna punch you.

8 grand in two weeks is way, way more than plenty enough to live happily on.
Relax.  I doubt you're being trolled.  Look at this article:  http://www.sfgate.com/bayarea/matier-ross/article/S-F-police-chief-highest-paid-U-S-cop-3815665.php  The article asserts that "401 San Francisco city workers made more than $200,000 in the past fiscal year".  Don't you think a first-rate programmer, with an IQ of 140 should earn something equivalent to a civil-servant in a fairly average American City?

$4000 per week for a good contract programmer is not at all unusual, assuming they are paying their own taxes, health insurance, liability insurance, IRA/401K contributions, etc., etc., etc.  Sometimes the contracting organization stiffs you.  Sometimes you underbid and have to work 3x as long to get the job done.  Sometimes you have to work crazy long hours.  Rarely are you under contract 52 weeks a year.  And never do you have any job security.

OTOH, you can probably hire a code monkey for about $1k per week.  You get what you pay for.
Killdozer
Full Member
***
Offline Offline

Activity: 203
Merit: 100



View Profile
March 13, 2013, 10:06:20 PM
 #133

Hey man the code looks nice, but you claim to make that much money and be that good and still you think your time is worth spent on this forum trying to prove yourself?

WishIStartedSooner
Sr. Member
****
Offline Offline

Activity: 252
Merit: 250


View Profile
March 13, 2013, 10:22:56 PM
 #134

just something about the way he said that pissed me off.

like he was implying that to take a pay cut down to 16000 a month would descend him into ABJECT POVERTY, and hes too good for that...

some people live off that in a YEAR.

other people live off like 32,000 a year and WORK THEIR ASS OFF EVERYDAY at important work that needs to get done as well (not to imply that anyone in this thread doesnt).

blinken, if you want to contribute to bitcoin, come up with a better excuse than the pay cut for not doing so.

also, regarding the SF policemen, thats also kind of sickening. but i hear the cost of living in newyork and calif isvery very high, so that amount per year might seem like alot more from where im sitting than it might be. i acknowledge that.

but its all good, im pretty close to achieving a halfway decent lifestyle myself after years of hard work (not near the excesses described here but im happy with the progress), so im not upset anymore.

but i just wanted to remind you that you are very fortunate indeed. be thankful.
markm
Legendary
*
Offline Offline

Activity: 2940
Merit: 1090



View Profile WWW
March 13, 2013, 11:38:25 PM
 #135

Aha, I figured it out! He's sick of that line of work and looking for a job as a PR person, like Josh and MPOE-PR! WinkCheesy

-MarkM-

Browser-launched Crossfire client now online (select CrossCiv server for Galactic  Milieu)
Free website hosting with PHP, MySQL etc: http://hosting.knotwork.com/
DataPlumber
Full Member
***
Offline Offline

Activity: 126
Merit: 100



View Profile WWW
March 14, 2013, 03:49:59 AM
 #136

Hey man the code looks nice, but you claim to make that much money and be that good and still you think your time is worth spent on this forum trying to prove yourself?
+1

Blinken (OP)
Sr. Member
****
Offline Offline

Activity: 338
Merit: 253



View Profile
March 14, 2013, 02:08:58 PM
 #137

That is very good. I did not think of using Euclid's algorithm. I should send you a bitcoin for that one.
Thank you.  The address is in my signature.
I sent you a bitcoin.

Bitcoin ♦♦♦ Trust in Mathematics, Not Bankers ♦♦♦
allthingsluxury
Legendary
*
Offline Offline

Activity: 1540
Merit: 1029



View Profile WWW
March 14, 2013, 04:52:07 PM
 #138

Not again :O

herzmeister
Legendary
*
Offline Offline

Activity: 1764
Merit: 1007



View Profile WWW
March 14, 2013, 05:12:22 PM
 #139

yup, I guess the Bitcoin source clearly isn't enterprisey enough. Here's a good shining example of a critical real world application showing how to do it right:

* http://code.google.com/p/fizzbuzz/
* http://code.google.com/p/fizzbuzz/source/browse/#svn%2Ftrunk%2Ftrunk

https://localbitcoins.com/?ch=80k | BTC: 1LJvmd1iLi199eY7EVKtNQRW3LqZi8ZmmB
freequant
Hero Member
*****
Offline Offline

Activity: 770
Merit: 500


View Profile
March 14, 2013, 07:14:50 PM
 #140


The Fed doesn't pay me enough to put up with this, but ok... here is byte code for x86 that translates either a decimal or hexadecimal string to a binary value (yes, I actually wrote the byte code, and yes, I can read and write x86 machine encodings in hex):

31C053515657555231F68A0280F8307C1080F8397F0B2C3083C6015083C201EBE9C7C50A000000C 7C10100000031DB89F783FE00741058F7E101C383EE0189C8F7E589C1EBEB89D85A01FA5D5F5E59 5BC331C053515657555231F68A0280F8307C0980F8397F042C30EB0C80F8417C1080F8467F0B2C4 B83C6015083C201EBDBC7C510000000EB9F

The decimal reader is at offset 0 and expects a non-digit terminated string at an address in the EDX register. The hex reader is at offset 136 and expects the same input. Both routines return the answer in EAX register. Total bytes: 136.


Congrats, this is a really inefficient piece of code:
- you are loading the data from memory byte by byte... Ever heard of 64-bit registers and corresponding mem access instructions, and subsequent sequences of mask and shifts without loop?
- you do the operations byte by byte. I mean, of course because you load the data byte by byte... But see, if you had loaded 8 bytes at once in a 64-bit register, you could have substracted '0x30 30 30 30 30 30 30 30' all at once, in one single instruction. Then you wouldn't need to test anymore the lower boundary, because the operation will project the valid range [0x30:0x39] to [0x00:0x09] that you can use directly, and lower invalid range [0x00:0x2F] to [0xD0:0xFF] which is greater than 0x09 and will therefore fail the upper boundary test. You'll get a carry on previous digit when that happens so you may need to backtrack a little bit, in particular if previous digits were 0, but that will happen only once for the last dword of the chain because we are at the exit condition anyway. And that is if you aren't using SIMD instructions...
- and even assuming you want to do it sequentially, you are testing each digit against its boundaries with 2x CMP (against 0x30 and 0x39), and then after you found the digit is valid, you do sub 0x30... Wasteful. If you had done the sub rightaway at the beginning, you could test the sign flag, and you didn't need to do a CMP 0x30.
- you increment the source index ESI at each loop... but you don't use it to address your mem access, instead of which you also increment EDX that you dereference directly.
- you.. well... enough..

This is probably one of the most inefficient implementation of atoi I have seen ever.
The fact you bothered writing it in machine code directly is both self-explanatory for poor performance, and baffling because:
1) it totally underperforms what the most crapy compiler on earth would have achieved
2) you would have got exactly the same results by writing it in ASM directly and assembling it (which I suspect you did anyway)
3) you wasted a stupendous amount of time doing it
4) this is totally vain to say the least

Not sure what you are trying to prove, and to whom you are trying to prove it.
But if it's a question of ego, I definitely recommand that you undertake the creation of a new alt-coin that will demonstrate your ideas.
That way you can prove to yourself and to everyone here that having a high IQ yields a bit more than a nice mensa certificate to put on your wall and added bragging power in troll threads.

Code:
┌─[x]─────────────────────────── /tmp/blop ────────────────────────────────5───┐
│00000000 31c0                           xor         eax, eax                  │
│00000002 53                             push        ebx                       │
│00000003 51                             push        ecx                       │
│00000004 56                             push        esi                       │
│00000005 57                             push        edi                       │
│00000006 55                             push        ebp                       │
│00000007 52                             push        edx                       │
│00000008 31f6                           xor         esi, esi                  │
│0000000a 8a02                           mov         al, [edx]                 │
│0000000c 80f830                         cmp         al, 0x30                  │
│0000000f 7c10                           jl          0x21                      │
│00000011 80f839                         cmp         al, 0x39                  │
│00000014 7f0b                           jg          0x21                      │
│00000016 2c30                           sub         al, 0x30                  │
│00000018 83c601                         add         esi, 0x1                  │
│0000001b 50                             push        eax                       │
│0000001c 83c201                         add         edx, 0x1                  │
│0000001f ebe9                           jmp         0xa                       │
│00000021 c7c50a000000                   mov         ebp, 0xa                  │
│00000027 c7c101000000                   mov         ecx, 0x1                  │
│0000002d 31db                           xor         ebx, ebx                  │
│0000002f 89f7                           mov         edi, esi                  │
│00000031 83fe00                         cmp         esi, 0x0                  │
│00000034 7410                           jz          0x46                      │
│00000036 58                             pop         eax                       │
│00000037 f7e1                           mul         eax, ecx                  │
│00000039 01c3                           add         ebx, eax                  │
│0000003b 83ee01                         sub         esi, 0x1                  │
│0000003e 89c8                           mov         eax, ecx                  │
│00000040 f7e5                           mul         eax, ebp                  │
│00000042 89c1                           mov         ecx, eax                  │
│00000044 ebeb                           jmp         0x31                      │
│00000046 89d8                           mov         eax, ebx                  │
│00000048 5a                             pop         edx                       │
│00000049 01fa                           add         edx, edi                  │
│0000004b 5d                             pop         ebp                       │
│0000004c 5f                             pop         edi                       │
│0000004d 5e                             pop         esi                       │
│0000004e 59                             pop         ecx                       
│0000004f 5b                             pop         ebx                       
│00000050 c3                             ret                                   
│00000051 31c0                           xor         eax, eax                   
│00000053 53                             push        ebx                       
│00000054 51                             push        ecx                       
│00000055 56                             push        esi                       
│00000056 57                             push        edi                       
│00000057 55                             push        ebp                       
│00000058 52                             push        edx                       
│00000059 31f6                           xor         esi, esi                  ▒
│0000005b 8a02                           mov         al, [edx]                 ▒
│0000005d 80f830                         cmp         al, 0x30                  ▒
│00000060 7c09                           jl          0x6b                      ▒
│00000062 80f839                         cmp         al, 0x39                  ▒
│00000065 7f04                           jg          0x6b                      ▒
│00000067 2c30                           sub         al, 0x30                  ▒
│00000069 eb0c                           jmp         0x77                      ▒
│0000006b 80f841                         cmp         al, 0x41                  ▒
│0000006e 7c10                           jl          0x80                      ▒
│00000070 80f846                         cmp         al, 0x46                  ▒
│00000073 7f0b                           jg          0x80                      ▒
│00000075 2c4b                           sub         al, 0x4b                  ▒
│00000077 83c601                         add         esi, 0x1                  ▒
│0000007a 50                             push        eax                       ▒
│0000007b 83c201                         add         edx, 0x1                  ▒
│0000007e ebdb                           jmp         0x5b                      ▒
│00000080 c7c510000000                   mov         ebp, 0x10                 ▒
│00000086 eb9f                           jmp         0x27                      v
└─── view 0x00000086/134 ──────────────────────────────────────────────────────┘
Pages: « 1 2 3 4 5 6 [7] 8 9 »  All
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!