Bitcoin Forum
June 21, 2024, 10:36:30 PM *
News: Voting for pizza day contest
 
  Home Help Search Login Register More  
  Show Posts
Pages: « 1 ... 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 [178] 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 »
3541  Economy / Economics / Re: The current Bitcoin economic model doesn't work on: June 04, 2011, 09:00:16 PM
Quote
Credit is entirely possible, as are banks.
Can you explain how? You need to create money "out of nothing" to grant a loan. In fact, debt is the source of money. Otherwise a bank could only give the money it has and only give it once. That would be pointless.

No, you don't need to create new money to make a loan.  You can loan money that you already have.
3542  Bitcoin / Project Development / Re: LinuxCoin A lightweight Debian based OS with everything ready to go. on: June 03, 2011, 08:30:17 PM
kjj: Thanks for the response. How do I check for this/fix this issue? Do you recommend I try changing the resolution for example? I'm running it at 1280x768, with no additional modifications to any settings besides disabling the screen-saver.

Yeah, I'd try changing the resolution.  Maybe look for some logs.  I don't use X much, so I'm not sure where to go from here.
3543  Bitcoin / Development & Technical Discussion / Re: An estimate of fpga performance on: June 03, 2011, 07:34:21 PM
You probably could whip one up over the weekend.  At least the design.  The PCB fab would take a while.  Bad luck on that too, the next 4 layer dorkbotpdx order is going out on Monday.  So, some time in August if you like their service.  I don't know if sparkfun has a shorter cycle time for 4 layer or not.

If I didn't have to pack this weekend, I could probably bust out a quick and dirty breakout design in FreePCB.  They should already have the footprint, and after that it is just a matter of dragging the pins out to the edges and a quick shot at the autorouter.  No promises on clock skew or noise at high speeds, but good enough to play with.

Soldering would be rough.  I think I could manage it on a stove / hot plate with my SMD rework gun, but most people would be putting a $150+ chip in their oven with way either way too much or way too little solder paste.

If you are reading this thread, and you didn't understand any of what I said above, please consider a different approach to mining, or get a demo board, or wait until someone has a tested and working design that they are willing to produce and sell.
3544  Bitcoin / Project Development / Re: LinuxCoin A lightweight Debian based OS with everything ready to go. on: June 03, 2011, 07:17:35 PM
That's not normal.  Mine doesn't do that, for example.  Are you sure X isn't crashing when you hit the boundary?
3545  Bitcoin / Pools / Re: BTC Guild - 0% Fees, Long polling, SSL, JSON API, and more [~500 gH/sec] on: June 03, 2011, 06:57:52 PM
Unless there are only a few (like 3 or 4) IPs doing this, writing a quick log parsing tool would probably be quicker than doing it by hand.
3546  Bitcoin / Development & Technical Discussion / Re: How to generate hashes/getwork from .NET? on: June 03, 2011, 06:43:47 PM
Just ignore the midstate until you understand the internals of SHA256.

calculate: hash = SHA256(SHA256(data))

If that meets the difficulty, you win!

If not, increment the portion of the data that starts 640 bits in (bytes 76 to 79), and try again.

If the incremented portion overflows, get new work.
3547  Bitcoin / Development & Technical Discussion / Re: An estimate of fpga performance on: June 03, 2011, 06:31:29 PM
Yeah, sorry.  I have the bad habit of limiting my searches on Digikey to parts that are actually in stock.
3548  Bitcoin / Project Development / Re: LinuxCoin A lightweight Debian based OS with everything ready to go. on: June 03, 2011, 04:34:58 PM
Try this:

modeline "1280x768" 69.000 1280 1280 1300 1424 768 769 775 812 -hsync -vsync
3549  Bitcoin / Bitcoin Discussion / Re: how long to $100 ? $1000 ? on: June 03, 2011, 03:35:49 PM
However, I don't think 62% growth will be sustained Tongue

No growth model ever is sustained, in the long run.  Reality prefers S curves.
3550  Bitcoin / Bitcoin Discussion / Re: Non-blocking Bitcoin on: June 03, 2011, 03:34:53 PM
Grab the archive, extract, verify the sigs, and run.

If you don't know how to verify the sigs, might be a good idea to wait until they get merged into the main tree.
3551  Bitcoin / Project Development / Re: LinuxCoin A lightweight Debian based OS with everything ready to go. on: June 03, 2011, 03:30:34 PM
Do you have a spare monitor you could use just long enough to get the network working?  Oh, get persistence set up first, and then see if you can borrow a monitor to set up networking.
3552  Bitcoin / Bitcoin Discussion / Re: I just thought of something: DEFLATION! on: June 03, 2011, 03:28:40 PM

Erm... what bank does that? The dollar is not "backed by gold" and niether is the Pound or the Euro. I don't think any currency is backed by gold anymore, world economy outgrew the stuff.


They did not "outgrow" the stuff, they "defaulted" on contractual obligations because they committed fraud by printing receipts for gold that did not exist and giving them to people in exchange for a promise to repay with real "gold" plus interest.

With bitcoins you cannot have an IOU 1 BTC masquerading as a real BTC.  In order to borrow BTC the lender must actually have BTC. 

If I rent a house for 1 year, it would be fraud for me to 'sublease' it for 2 years.  A checking/savings account is like the bank renting a hotel room for one night, knowing that the hotel owner (customers depositing money at the bank) could sell the room to someone else the next day (withdraw on demand).  The Bank commits fraud when it turn sublets the rooms (deposits) for longer than 1 day.

So people are right to be outraged at the current financial system because it is entirely based upon legalized fraud.

Meh.  I don't subscribe to this view.  Once upon a time it was true, but the world has moved on.  (Except for naked shorts of securities, but you are talking about money.)  I mean, I agree that the world didn't outgrow gold, rather the gold was stolen in a massive fraud.  But that was long ago, and it isn't the problem today.

There is nothing backing the dollar, and there hasn't been anything for 40 years now.  Duration mismatch is a bit of a problem, but not necessarily a big one.  And money really does come out of thin air when a bank lends.  No big deal, that's the system we have, not the end of the world.

But, inflation, as currently practiced, is a tax on everyone that holds dollars (or is paid in dollars, owns obligations denominated in dollars, etc).  If the inflation was evenly distributed, like if every bank account grew by 10% each year, it wouldn't be a problem either.  One amount of dollars is as good as any other amount, just like one amount of bitcoins or gold is as good as any other amount.  But the effect of inflation is not evenly distributed.  It goes to certain players first, and those players get the advantage of free money before the market notices that there are more dollars around and adjusts prices up.
3553  Bitcoin / Mining software (miners) / Re: Flexible mining proxy on: June 03, 2011, 03:18:12 PM
This join makes me sad.

Code: ("sad join")
SELECT
                w.name AS worker,
                w.id AS worker_id,

                worked.pool_name AS active_pool,
                worked.latest - INTERVAL 5 HOUR AS active_time,

                submitted.pool_name AS last_accepted_pool,
                submitted.latest - INTERVAL 5 HOUR AS last_accepted_time,

                w.last_reboot AS last_reboot

            FROM worker w

            LEFT OUTER JOIN (
                SELECT
                    wd.worker_id AS worker_id,
                    wd.time_requested AS latest,
                    p.name AS pool_name

                FROM work_data wd

                INNER JOIN (
                    SELECT
                        worker_id,
                        MAX(time_requested) AS latest

                    FROM work_data

                    GROUP BY worker_id
                ) wd2
                    ON wd.worker_id = wd2.worker_id
                   AND wd.time_requested = wd2.latest

                INNER JOIN pool p
                    ON p.id = wd.pool_id

                GROUP BY wd.worker_id
            ) worked

            ON worked.worker_id = w.id

            LEFT OUTER JOIN (
                SELECT
                    sw.worker_id AS worker_id,
                    sw.time AS latest,
                    p.name AS pool_name

                FROM submitted_work sw

                INNER JOIN (
                    SELECT
                        worker_id,
                        MAX(time) AS latest

                    FROM submitted_work

                    WHERE result = 1

                    GROUP BY worker_id
                ) sw2
                    ON sw.worker_id = sw2.worker_id
                   AND sw.result = 1
                   AND sw.time = sw2.latest

                INNER JOIN pool p
                    ON p.id = sw.pool_id

                GROUP BY sw.worker_id
            ) submitted

            ON submitted.worker_id = w.id

            ORDER BY w.name

Solution?

Code: ("delta.sql")
ALTER TABLE work_data DROP PRIMARY KEY;
ALTER TABLE work_data ADD id INT NOT NULL PRIMARY KEY AUTO_INCREMENT FIRST;
ALTER TABLE work_data ADD KEY (`worker_id`, `data`);

CREATE TABLE `work_data_history` (
  `id` int(11) NOT NULL PRIMARY KEY AUTO_INCREMENT,
  `worker_id` int(11) NOT NULL,
  `pool_id` int(11) NOT NULL,
  `data` char(152) character set ascii collate ascii_bin NOT NULL,
  `time_requested` datetime NOT NULL,
  KEY  (`worker_id`,`data`),
  KEY `worker_time` (`worker_id`,`time_requested`)
);

CREATE TABLE `submitted_work_history` (
  `id` int(11) NOT NULL auto_increment,
  `worker_id` int(11) NOT NULL,
  `pool_id` int(11) NOT NULL,
  `result` tinyint(1) NOT NULL,
  `time` datetime NOT NULL,
  PRIMARY KEY  (`id`),
  KEY `dashboard_status_index` (`worker_id`,`result`,`time`)
);

Code: ("new cron job, hourly")
<?php

$con
=mysql_connect("__DB_HOST__","__DB_USERNAME__","__DB_PASSWORD__");
mysql_select_db("__DB_DATABASE__",$con);

$q="SELECT MAX(id) AS mid FROM work_data_history";
$r=mysql_query($q);
if(
mysql_errno()!=0)echo mysql_error()."\n";
$row=mysql_fetch_assoc($r);
$mid=$row['mid'];

$q="INSERT INTO work_data_history SELECT * FROM work_data WHERE id>".$mid;
mysql_query($q);
if(
mysql_errno()!=0)echo mysql_error()."\n";

$q="DELETE FROM work_data WHERE time_requested < (NOW() - INTERVAL 12 HOUR)";
mysql_query($q);
if(
mysql_errno()!=0)echo mysql_error()."\n";

$q="SELECT MAX(id) AS mid FROM submitted_work_history";
$r=mysql_query($q);
if(
mysql_errno()!=0)echo mysql_error()."\n";
$row=mysql_fetch_assoc($r);
$mid=$row['mid'];

$q="INSERT INTO submitted_work_history SELECT * FROM submitted_work WHERE id>".$mid;
mysql_query($q);
if(
mysql_errno()!=0)echo mysql_error()."\n";

$q="DELETE FROM submitted_work WHERE time < (NOW() - INTERVAL 12 HOUR)";
mysql_query($q);
if(
mysql_errno()!=0)echo mysql_error()."\n";
?>

3554  Bitcoin / Project Development / Re: [Beta] Mining Pool #2 | Front End to pushpool on: June 03, 2011, 02:46:09 PM
Another question...

When I query bitcoind getinfo, the hashespersec value is at 0.  Shouldn't this be showing up the total hash value of the pool?

Cheers

That is the hashing rate of your local node.  Zero is a good number here.  Anything higher is a waste.
3555  Bitcoin / Project Development / Re: LinuxCoin A lightweight Debian based OS with everything ready to go. on: June 03, 2011, 02:44:01 PM
Can't you just run the miner from the text console (while X is running, but not visible)?
3556  Bitcoin / Project Development / Re: LinuxCoin A lightweight Debian based OS with everything ready to go. on: June 03, 2011, 01:47:21 PM
Leafpad won't do you much good.  use nano instead.  CTRL-O to save the changes, CTRL-X to exit.

I actually put nano then thought leafpad would suit the average joe due to being the same as any other txt editor. Both will do the same job but one is console based the other is a GUI.

nano is far more useful if the problem you are working on is that you can't get X to run.  Smiley
3557  Bitcoin / Project Development / Re: LinuxCoin A lightweight Debian based OS with everything ready to go. on: June 03, 2011, 01:40:01 PM
Leafpad won't do you much good.  use nano instead.  CTRL-O to save the changes, CTRL-X to exit.
3558  Alternate cryptocurrencies / Altcoin Discussion / Re: cryptocurrency pegged to gold on: June 03, 2011, 01:34:45 PM
What do you expect government wants to do with all that stolen purchasing power anyway? It's government, it's not going to buy itself piles and piles of caviar with it... the only people with any percentage in stealing anothers purchasing power are private interests, not government. I happen to be against a lot of what government does, the military-industrial-congressional complex for instance. But even there, who gets the money the government spends on missiles? People that work down at the weapons factory, and the electronics components factory, and the mines and refineries that make the stuff that make said components, and the share-holders that own the Lockheed Martin stocks, and the missile designers and programmers that go home at the end of a long hard day to read Atlas Shrugged again.

Even when government is spending on Evilness it's still just a matter of cycling the same old income around. Shopkeeper pays taxes, taxes buy bread for food-stamps, food-stamp user goes to shop, hands over food-stamp to shopkeeper. The income never really escapes into significant amounts of hookers and blow in boring old government. And even when it does, hooker invests in property, blow-dealer buys stock-options, round and round it still all goes.


Private interests can gain from stolen purchasing power or stolen political rights or economic rites, causing fire-sales of human life and cleaning up. It's why I think 'private interests' should be restrained in certain matters. Here I mention the usual names I like to mention for this sort of point... Goldman Sachs, JP Morgan, Lockeed Martin, Shell, Haliburton, XE and so on.

Anyway, I try here not to derail yet another thread.

Private interests don't have the power to do it, but government does.  The current model assumes that the people can and will prevent private interests from obtaining government power and using it to enrich themselves.  That doesn't seem to be working very well right now, and it will be coming to a head within my lifetime.   It is a recurring theme throughout history.  The question is, will we start the next cycle by saying "And don't do it again!", or by taking the inflationary power away entirely?  Or at least until those with a personal memory of this era are dead...

And if you really think that all spending is the same, why don't you pay your neighbor to dig some holes and then fill them in?  After all, it will just cycle the same income around.  Smiley
3559  Alternate cryptocurrencies / Altcoin Discussion / Re: cryptocurrency pegged to gold on: June 03, 2011, 01:02:27 PM
You demostrate your misunderstanding of what gold-bugs want. Or at least the 'gold-bugs' I'm talking about are the ones that hate Nixon because he took America off the gold-standard. That bastard did a lot of crap, but the gold-standard, that's their problem with him. Jeesh. Roll Eyes

In todays world you can pay your taxes in fiat and feel free to buy whatever is out there for sale, gold, pie, silk, copper... price goes up, price goes down, knock yerself out. Why all the hate for fiat? Makes no sense really, strikes me as a waste of time. Don't like dollars? Spend em on land then, or copper, or gold. Problem with dollars at the moment isn't some cretchety Rand-enjoyer in a bunker somewhere convinced the evil communo-fascist gurn'mint is out to steal his bodily fluids, to me the major issue is the sky-rocketing commodity prices drowning out the ability to eat of people living in the 3rd world. So the yanks can't afford that extra 4x4, who gives a fuck.

Actually I take that back, the amount of homeless food-stamp dependant people in the US is sky-rocketing too, along with the struggle of all those average Egyptians or Mexicans or Indians and so on trying to feed their families on inflating rice or corn or what have you.

Just my two toshi anyway.

Not bodily fluids, purchasing power.
3560  Economy / Economics / Re: Bitcoins will die – an economics standpoint and possible solutions on: June 03, 2011, 11:41:04 AM
Blaming deflation for economic woes is like blaming your hangover for drinking last night.
Pages: « 1 ... 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 [178] 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!