« first day (33 days earlier)      last day (3206 days later) » 

12:11 AM
omg
1
Q: Split Subversion repository into multiple Mercurial repositories?

erjiangWe're migrating from Subversion to Mercurial and have run into a bump in the SVN->Hg conversion process. Right now, our single SVN repo holds code for a couple distinct "projects", and we'd like to split them apart in the migration process. Our SVN repo is organized as: . |-- proj1 | |-- bran...

 
I'm confused. Are they recognized as two projects in the same build environment? I don't get the structure...
 
haha, "build environment"
the man who did that has no idea what is build-deploy cycle
 
I think they are mixing two different concepts under one banner
 
At least they follow the right direction by migrating to mercurial
 
@zerkms ah, but you can't magically use Hg to fix problems you created, you have to give Hg something to work with
what do you think of my comment on the question?
 
12:18 AM
I cannot get it completely. It contains too complex phrazes :-(
Anyway - I bet there is no any simple solution
 
@zerkms my comment?
 
yep, i've read it second time... for now it is a little more clear for me
)
I think that they were just too lazy to create separated repos
and they have not any dependent code in each project
 
well do help me understand the interpretation of my own writing ...
 
*have no
 
> I'm gonna go with "use SVN to sort the mess out and then import into Hg" aka "How do you split SVN repos into two projects and keep the appropriate data with each" ... you're trying to shoehorn two projects under one banner. At least, that's the case from where I'm standing
I'm gonna go with "" aka "" ... you're trying to shoehorn two projects under one banner. At least, that's the case from where I'm standing
does that part get simpler without those two complex clauses?
 
12:22 AM
yep :-)
 
does this one stand on its own or is it too complex?
> use SVN to sort the mess out and then import into Hg
I do want to have clearer communication skills, I'm not trying to make you feel put-on
 
it is not your problem that you're talking complexly, it is mine, because I don't give enough time to learn language
 
ok, thank you for that.
I would like to be clear when I write, you know?
 
@drachenstern: do you use mercurial?
Oh, "scheme" and "schema" are the different words :-S
 
Yes I do use Hg
but we use Kiln (from Joel Spolsky's company FogCreek)
 
12:34 AM
1
Q: Mercurial: performance of access via ssh and http

zerkmsFor myself I've noticed that cloning repo via ssh (from my own servers or bitbucket) is much slower than through http. much in my case eq 10s from http (bitbucket) vs >2minutes ssh (bitbucket) on the same repository. I'm using mercurial on windows (tortoisehg 1.5, mercurial 1.7) Both tests wer...

what do you think of this then?
 
I thought the answer you marked was right, it sounded right
I am on Windows and use my KilnHg over HTTP, so ...
 
It just sounds right, but it does not ;-)
 
but it does not what?
 
it does not right
it just sounds like it should be right
I've got the same results for 3 different hg servers. 1 mine (located in USA), 1 my employers (located at europe) and bitbucket
and on all of them I see that ssh clone works much slower
 
and compression is turned on on the server in all three places on SSH?
 
12:40 AM
compression should be turned on on the client
 
are you getting compressed data? can you show it?
0
Q: Where can I ask a theoretical-hardware question about near future CMOS microprocessors?

osgxHello Where can I ask a teoretical-hardware question about near future CMOS microprocessors? There was an attempt to ask it on StackOverFlow: http://stackoverflow.com/questions/4206907/mflops-per-watt-what-is-the-limit-closed but it was closed. Also, I wonder to know where to ask other VLSI-re...

 
@drachenstern: how can I check if I get the compressed data?
 
it is about "What Stack site should I use for hardware (verilog) design questions"?
 
it is a -C key for the ssh command :-S
 
12:43 AM
for verilog you should ask on SO
HOWEVER
You didn't ask a thing about Verilog in that question
 
@drachenstern yeah, the "performance per watt" predictions a bit more harder
 
for myself I already decided to clone through http and after that just change default path
 
To find performance per watt, you could ask on ServerFault but they will likely tell you you're being silly
 
hello. I have quick question related to Delicious bookmarks. Does anyone use Delicious?
 
@drachenstern It is about very hardware internals, which is related to hardware design (verilog). The good one verilog programmers can say something
 
12:45 AM
I would do the calculation by hand and know that a) there's leakage, b) there's some degree of non-measurability at those Hz ranges, at least with most of our current monitors. You have to single step them, and that's not at speed.
@osgx if you want to know the hardware internals, ask the vendor. End of story.
@zerkms that sounds like the best idea, why not use HTTP or HTTPS anyways?
 
it is not about a vendor, it is a global problems for all vendors.
 
because keys a little more secured, I think
 
@osgx are you working for AMD/Intel/some other company designing large scale mass produced x86 or x64 chips?
 
I ask, Is the dissipated power of FPU doing a lot of "MUL" is limited
 
@osgx are you in some way in the CPU design business?
because the people on SO are not
And they won't be able to answer those questions
Those are only vendor definable
 
12:47 AM
for some other, but it is not mass producted and not a x86
 
We can make educated guesses, and very well
But we cannot say with certainity what the exact power draw is.
 
@tina: it is the same people each day here, just FYI
;-)
 
I would advise you to start with the Intel CPU and memory documentation
 
Ok, lets do some googling
 
@osgx happy googling
 
12:52 AM
sjalander.com/research/pdf/techreport-2008-08 Table 10: Delay, power, energy, and area for 32-bit ... multiplier ... 23.4 milliWatt 60 picoJoules
so It is real to get information about multipliers
and their energy
and delay ~= 3 ns (it is 300 MHz)
Also, there is a true minimal lower limit - it is a en.wikipedia.org/wiki/Landauer's_principle
kT ln 2 of heat dissipated for each bit value lost
 
@osgx that's not from Intel tho, so there is some possibility they are wrong.
that information, for instance, is being consumed by the chip, but is not accounted for in the "literature" so there are things that the company is doing that you don't know about
 
thats from hardware designers. They do a power extimations very good.
 
@osgx read my comments very carefully
I have a minor in chip design from University, I have written Verilog for Spartan Xilinx (ok, a mere toy, but it is a useful chip) and I have some knowledge about this
I am not going to mislead you knowingly
I am happy that the hardware designers did a study, but without knowing everything about the chip, they must make some estimates. Those estimates mean that the exact answer is not known.
Therefore, the question you ask, is not answerable. It is guessable. It is estimatable.
 
Intel have some information about their internals published (e.g. patents like google.com/patents?hl=en&lr=&vid=USPAT5623683 or in the articles). No power estimation in this patent, but....
 
I also encouraged you to read the Intel information that they have published.
It will help you estimate the answer you seek.
 
12:59 AM
I don't work with physical design, and the biggest verilog program I wrote was only 50 lines (but syntezable on Xilinix and doing some VGA output)
 
So I've written only about 20k lines of Verilog, which is not much, I know.
But my point is that I'm not totally in the dark on this
 
My question was about ASICs (full-custom or partly standart-cell based designs). It is orders of magnitude more difficult than FPGA programming.
 
@osgx and yet I know what you describe
and still I feel you are stomping your feet and telling me that I do not listen, that I am like a child and that I am the one being petulant
 
I just don't know how I can estimate the limits asked in closed q
 
Ok, what are you trying to figure out? Put it in plain terms for me please
You want to know the lower limit of energy expenditure required to calculate one calculation?
 
1:09 AM
I want figure, what "Mflops per watt" is possible to be in the Green500 list
in near years
And what is a limit of performance-per-watt for CMOS.
 
And to what degree of precision are you comfortable accepting an answer?
The limit of performance-per-watt for CMOS is dependent on the size of the die
 
just estimation.
 
You already know this tho
A CPU is merely a series of gates, a series of transistors
 
yes, and there is a "per watt" estimation to account various chip sizes.
 
well, more specifically it's not transistors, it's ICs but still, there is an energy threshold to cross for each pn junction, yes?
 
1:12 AM
yes.
 
and as the die size shrinks, so does the pn junction, and the threshold which stays the same by mole, is lowered because the moles of material are lowered, yes?
this becomes chemistry married with physics
so while there is a lower limit in general, we are not there yet
until we say "we can no longer reliably shrink the die process"
So instead of calculating the watt performance per pn junction, we estimate based on the total draw of the processor in toto
that is a value that is much easier to measure
so we estimate that approximately so many watts of power are needed per time slice to work this machine
so for instance, this link: ark.intel.com/Product.aspx?id=37147
we say the MAX TDP of this particular CPU is 130W
it may (and generally is) less than this
 
and this CPU have 50-100 GFLOPS
 
we can subtly reduce the consumed power by lowering the temperature, but that is a cruel hack and not reliable
what do you mean this CPU has 50-100 GFLOPS?
 
modern CPU from Intel with 130 TDP have up to 50-100 GFLOPS performance
 
up to, but based on what metric? Also, this CPU is 2 years old
 
this one is 42.56 gflops
 
also, the current intel CPUs have a (peak, theoretical) performance in GFLOPS = (number of cores) * (Freq in GHz) * 4
 
I don't know where you get 50-100
They already list on that link the theoretical peak performance in gflops
4 cores * 2.66GHz * 4 = roughly 42.56
So anyways, let us assume we get our peak performance minus 20%
that is roughly 34.048 gflops
 
yes. 100 was a overestimation. The real cores have about 50.
 
let us then divide that 34.048 by our 130W TDP to get GLOPS/W
About 262MFLOPS/W
For a desktop CPU that is not optimized for scaling, that seems to be a very high throughput
 
1:23 AM
for xeon: green500.org/lists/2010/06/top/list.php 0.414 GFLOPS/W for Xeon X56xx 6C 2.8 GHz realy measured on big machine
 
57.6GFLOPS and 90W TDP
That is 640MFLOPS/W
That's also maximum. I would subtract about 100MFLOPS for "I don't think it will sustain that rate"
Anyways, so what is the question again?
The answer to "where do I find these values" is in a math book
 
Laptop reset itself. Nothing in the logs.
Time for a new one!
 
@mootinator yay, that sux
 
will the "mflops/watt" grow up to 1000, or up to 10000 in future? is it limited for CMOS?
 
@osgx my crystal ball says it will grow to 1000, but that 10000 is unlikely
however, my math says I am not a chip designer and make no pretense to be one
I do not know what the lower limit on die sizes is, I do not know what the lower limit on TDP for a modern CPU is, I do not know if there is a more efficient general problem solving architecture
 
1:34 AM
if we've gone from 3G to 4G phones.. then presumably 5G is next but that's the same freq as microwaves use. Is there going to be an issue with cooking our brains?
 
@Quinn1000 not only did that question make no sense, but you've got no idea what 3G and 4G mean do you?
 
3 gigahertz
 
nope
 
Oh it wasn't just me
 
== 3G
 
1:35 AM
third generation
 
900/1800mhz
 
also 800/1900 mhz
 
ooohhh... well np then.
 
and microvawe oven's is about 2.4ghz
 
@drachenstern Yup.
 
1:36 AM
@osgx and @zerkms those are specific radio frequencies used by handset carriers
those have nothing to do with 3G or 4G
those have to do with paying each gov't on the planet a chunk of $$$ every year
 
i was thinking that was the actual freq.. which is what confused me
 
that's it
 
My cordless phone runs at 2.4Ghz! I require my tinfoil hat!
 
anyway, even though the frequency is the same - the phones' power is much fewer
 
@Quinn1000 let me introduce you to wikipedia.com and google.com
@zerkms "lower"
 
1:37 AM
ok, thanks
 
but cooking need not only a frequency, but also a POWER
 
Heh.
 
ty.. i know a lot about computers but not a lot about phones
 
the power of cellphones is ~100mWt (milli) and microwave owen's ~2-3kWt (kilo)
100 * 10^-4 <<<<< 2000
 
1:39 AM
@zerkms here we sell microwaves with only 900W if you believe me
 
@drachenstern: i bet they warm meals very long
 
turns off his internet for fear of being cooked
 
here is one 700W
@zerkms yes, very long
 
1:39 AM
we have some at the work, it took 4 minutes to warm my dinner
 
eeeep
 
and 1minute at home (2.7kW)
 
@mootinator quit yer lauging at me :p
 
ok.. now on a slightly different subject.. how do these newer smartphones throw off the heat from their CPU's? I was looking at the new ones in the store and they are incredibly slim but are running pretty fast processors
 
@Quinn1000 have you got a new phone?
the trick is they consume very little juice
 
1:40 AM
no, was thinking about it though
 
for instance, my iPhone 3GS usually only gets warm when I play graphically intensive games
the rest of the time it stays cool because I'm not using the CPU
 
yah that would make sense
 
do you want to get the best advice to broke your site?
0
Q: edit htaccess via php

Matthew Carterhello there I have a script that on certain events blocks someones ip via a htaccess deny from. This is the code: file_put_contents('.htaccess', 'deny from ' . $_SERVER['REMOTE_ADDR'] . "\n", FILE_APPEND); Yet what i want is instead od deny from this user can i have it redirect the user to an...

 
@drachenstern no...
 
hey goto meta
 
1:42 AM
so basically, all the stuff that they advertise being able to do with new smartphones are the tasks that will actually work the CPU and eat up your battery life
 
@Quinn1000 well yeah, of course
 
ok
that's what i figured from looking at them, FWIK of other computers
 
ok all, I'm headed home. ttyl
 
nn drach
 
oh, I should be back, just in time
wifey will be upset tho ;)
 
1:47 AM
ah
 
@zerkms I actually have a correct answer for that question somewhere.
 
@mootinator: the only correct answer is "you shouldn't do that"
you can create map-file and modify it, indeed, but not .htaccess itself
 
@zerkms Right.
 
That is the answer what you have? ;-)
 
Turn off the webserver.
 
1:55 AM
oh :-S
 
@zerkms Actually I just skimmed over the question and thought they were asking something else :/
 
2:16 AM
0
A: aggregations in case statement

performanceSome things were lost on the way in the name of getting the necessary stability and basically locking things down. It’s kind of a sad thing when that happens but it’s a necessary thing – they’ll just have to wait for the service release. Nearly ready to go things that just needed a little more ...

ahaha, loooooool
 
wth
 
i'm guessing drugs
probably caffeine
 
My guess... Going for a badge.
 
going for a badge because of drugs(caffeine)
 
2:40 AM
StackOverflow is so depressing. Every time I want to ask a question with a good holywar, to get famous and stuff, I only discover that the question was already asked and answered. I probably should stop using search.
 
@kolobos: then you'll have a good chance to have question closed because of duplicate ;-)
 
@kolobos There are so many things wrong with what you just said.
 
Anyone here wanna help with a FireSheep problem?
 
@rchern Probably not enough for you to realize that it's a joke.
 
@rchern - you know javascript?
 
2:57 AM
@kolobos It's the only thing I've seen you say. How am I supposed to know it is a joke?
 
@rchern: you expect each joke has a billboard near with big flashes letters "it's a joke"? ;-)
 
j/k
then again.. how do you know that rchern didn't know you were joking and she is, in turn, joking with you?
 
omg, that is too complex
if so - her joke is not even funny
 
i was lol but not ol
 
@Quinn1000: or your phrase about she turned a joke was a joke too? :-S
 
3:01 AM
perhaps
sry.. i'm working on a recursion project.. i think it's getting to me
 
ya think? lol
 
our prof had us benchchecking Ackermann's function on paper
the damage may be permanent
i think it would have been OK but he gave us (2,1)
 
3:23 AM
4
A: HTML checkbox elements are only submitted if they're checked?

Fred NurkNo, you cannot force unchecked checkboxes to be submitted, but you can give them unique values (instead of "on" for all) to determine which ones are checked without changing the names.

why do people upvotes such a terrible answer?!?!
 
3:37 AM
that whole exchange looks somewhat suspicious
 
@Quinn1000 at least it wasn't Ackermann's Function on Graham's Number
 
lol
 
Do you know that one?
 
just looked it up
 
3:46 AM
classic.. there should be something in there about BNF notation as well
and the red light one should involve CVS parking lots
 
4:17 AM
who here is bored and wants something to do?
 
I want to sleep
Btw, i've read that article long ago - atwood rocks
 
@zerkms yeah but there's always a programmer who is bored with nothing to do :p
was gonna challenge someone to see how fast they could do it from scratch ;)
 
you mean write the for(int i=0;i<101;i++){if(i%3 ==0 System.out.println"Fizz" else System.out.println(""+i);}
 
"I'm no fan of certification"
haha, i've seen few months ago a certified MS developer, who did not know how to searh in msdn
 
@Quinn1000 no outside sources besides the actual blog entry itself (meaning no comments) and you have ten minutes from now
PS: you don't need a compiler open to write the code
 
4:21 AM
etc for 5
(else if i%5 ==0 SOP "Buzz") i mean
that is the java version.. the assembly version would take longer haha
 
Oh you can do compilable code, come on
here's compilable C# code:
using System;
public class Default {
  public static void Main(string[] args) {
    bool flag = false;
    for (int i = 1; i <= 100; i++) {
      flag = true;
      if (i % 3 == 0) { Console.Write("Fizz"); flag = false; }
      if (i % 5 == 0) { Console.Write("Buzz"); flag = false; }
      if (flag) Console.Write(i.ToString());
      Console.WriteLine();
    }
  }
}
 
why the flag?
is that better than elseing it?
 
because nested if's don't work
consider the logic
15 => FizzBuzz
 
ah... nice
 
I believe it was @mootinator that did it with obfuscated code, but it was likely someone else. ... I forget now who did it obfuscated
 
4:27 AM
btw drach i didn't look at any comments on that.. but also i hit return in chat and posted before i meant to so i had to quickly something type something reasonable
i started typing and then hit CR to format it.. haha
 
so that's a no to the remaining four minutes then?
also, hit shift-enter and look to the right, a new button appears
it lets you do formatted code
 
yeah yeah.. i got excited
but given ten minutes and a piece of paper and a pencil.. that really would not have been difficult.. who are these people that get a degree and cannot figure that out?
that really surprises me
 
tell me about it
 
huh
well.. on the positive side I think i won't have to take my assembly language final. our prof said if we got enough test/project/ec points we could skip the final.. and then he couldn't get his structure demo proggie to work and he offered 25 ec pts/ for it if we could figure it out.. so id did and sent it off to him earlier
hello tina
really?
every case returns its ...Exec, passing along the original calling ResBuff....
oh wait..
if the device has 3d hardware support then you would get case G3DCAST?
 
4:47 AM
@Quinn1000 for the record little ms comes in the room every night and asks for help with this, and doesn't share code, and gives a convoluted story. But if you can figure it out, excellent. She has a hard time figuring out that we're the same group, generally speaking, day in and day out...
 
@drachenstern re: stackoverflow.com/questions/4211735/asp-net-security-problem I've crested the balmer peak and it's tempting to not make additional comments on the question
 
@zeroef I know, it seems like there are less and less who try before asking, eh? I think the site is just finally more visible to the non-SO community finally.
 
yeah i figured that.. still.. it's interesting to see some completely unfamiliar code like that
i'm guessing it is for a mobile device?
np take your time tina
 
Uhm, how many reps is taken for downvote?
 
@drachenstern Sadly yes. I can admit that I've asked some stupid questions on SO but they were very well worded and provided code examples. Does is matter that the issue with my code was that my SMTP port = 2 and not 25? Nah... LOL
 
4:56 AM
@zeroef you'll notice I've let the comment disappear ;)
@zerkms for you 1, for them 2
1
Q: Trying to convert some Java code to C#

Pure.KromeHi folks, I've got the following java code which i'm trying to convert to c# :- sb = new StringBuffer(); p = Pattern.compile("some reg ex pattern in here"); m = p.matcher(pewpew); while (m.find()) { token = m.group(); // snip snip snip snip preservedTokens.add(token); String p...

you would think a user with 6k rep would know to google first, then ask
 
hm, why did i think it takes -2 from both then?
 
hey.. im SAC so i am easily entertained
 
what is SAC?
 
Staring at Code... (waiting for the next part to process through my head)
so i can write the next part
 
ahhh
 
4:58 AM
Ackermann Function >with< lookup table
 
I'm out, ya'll have a good one, see you manana, I guess
 
nn drach
 
5:27 AM
no i don't know the context of it sry
ha.. well first you would have to let me know what api it is
 
 
2 hours later…
7:43 AM
i'm here tina
how are you new to this field and asking questions about a case switch like that?
i don't like uml either. your question was about some kind of mobile device programming?
 
uhm, what is the reason to draw so detailed uml?
 
oh. it looked like it was a device that might or might not have 3D support, is why i assumed that
 
the "alt" block is the sample of conditional statements in UML
 
right, your codeblock started like int GEmbExpr::GISFuncExec(char* ResBuff)
{
 
and what was your question about then?
:-S
 
7:50 AM
i am doing other things than chatting so i had hoped, Tina, that you could elaborate on your code, at least to tell to be more specific
(at least to tell us more or be more specific) sry
yes, also you have two scope resolution operators
which refer up to things i can't see
 

« first day (33 days earlier)      last day (3206 days later) »