Berkeley CSUA MOTD:Entry 46212
Berkeley CSUA MOTD
 
WIKI | FAQ | Tech FAQ
http://csua.com/feed/
2025/05/25 [General] UID:1000 Activity:popular
5/25    

2007/4/5-7 [Computer/SW/Languages/C_Cplusplus] UID:46212 Activity:nil
4/5     Pyramids might have been built using an internal spiral ramp:
        http://urltea.com/3uy (independent.co.uk)
        http://urltea.com/3uz (khufu.3ds.com - pictures ~ p 28)
        \_ Or by aliens who to this day still visit area 51.
           \_ The Asgard didn't build the pryamids; the Goa'uld did. -stmg
2025/05/25 [General] UID:1000 Activity:popular
5/25    

You may also be interested in these entries...
2014/1/14-2/5 [Computer/SW/Languages/C_Cplusplus] UID:54763 Activity:nil
1/14    Why is NULL defined to be "0" in C++ instead of "((void *) 0)" like in
        C?  I have some overloaded functtions where one takes an integer
        parameter and the other a pointer parameter.  When I call it with
        "NULL", the compiler matches it with the integer version instead of
        the pointer version which is a problem.  Other funny effect is that
        sizeof(NULL) is different from sizeof(myPtr).  Thanks.
	...
2013/4/9-5/18 [Computer/SW/Languages/C_Cplusplus, Computer/SW/Apps, Computer/SW/Languages/Perl] UID:54650 Activity:nil
4/04    Is there a good way to diff 2 files that consist of columns of
        floating point numbers, such that it only tells me if there's a
        difference if the numbers on a given line differ by at least a given
        ratio?  Say, 1%?
        \_ Use Excel.
           1. Open foo.txt in Excel.  It should convert all numbers to cells in
	...
2013/4/29-5/18 [Computer/SW/Languages/C_Cplusplus, Computer/SW/Compilers] UID:54665 Activity:nil
4/29    Why were C and Java designed to require "break;" statements for a
        "case" section to terminate rather than falling-through to the next
        section?  99% of the time poeple want a "case" section to terminate.
        In fact some compilers issue warning if there is no "break;" statement
        in a "case" section.  Why not just design the languages to have
        termination as the default behavior, and provide a "fallthru;"
	...
2012/7/19-11/7 [Computer/SW/Languages/C_Cplusplus] UID:54439 Activity:nil
7/19    In C or C++, how do I write the code of a function with variable
        number of parameters in order to pass the variable parameters to
        another function that also has variable number of parameters?  Thanks.
        \_ The usual way (works on gcc 3.0+, Visual Studio 2005+):
               #define foo(fmt, ...) printf(fmt, ##__VA_ARGS__)
           The cool new way (works on gcc 4.3+):
	...
2011/3/7-4/20 [Computer/SW/Languages/C_Cplusplus] UID:54056 Activity:nil
3/7     I have a C question.  I have the following source code in two identical
        files t.c and t.cpp:
                #include <stdlib.h>
                int main(int argc, char *argv[]) {
                  const char * const * p1;
                  const char * * p2;
	...
2011/2/5-19 [Computer/SW/Languages/C_Cplusplus] UID:54027 Activity:nil
2/4     random C programming/linker fu question.  If I have
        int main() { printf("%s is at this adddr %p\n", "strlen", strlen); }
        and soda's /proc/sys/kernel/randomize_va_space is 2 (eg; on)
        why is strlen (or any other libc fn) at the same address every time?
        \_ I don't pretend to actually know the right answer to this, but
           could it have something to do with shared libraries?
	...
2010/2/12-3/9 [Computer/SW/Languages/C_Cplusplus] UID:53708 Activity:nil
2/12    I need a way to make a really big C++ executable (~200MBs) that does
        nothing.  No static initialization either.  Any ideas?
        \_ static link in lots of libraries?
        \_ #define a   i=0; i=0; i=0; i=0; i=0; i=0; i=0; i=0; i=0; i=0;
           #define b   a a a a a a a a a a
           #define c   b b b b b b b b b b
	...
2009/9/28-10/8 [Computer/SW/Languages/C_Cplusplus] UID:53409 Activity:nil
9/28    http://www.tiobe.com/index.php/content/paperinfo/tpci/index.html
        Java is #1!!! Followed by C, PHP, C++, Visual Basic, Perl,
        C#, Python, Javascript, then finally Ruby. The good news is
        Pascal is going waaaay back up!
        \_ C is still more popular than C++?  I feel much better about myself
           now.
	...
2009/8/7-14 [Computer/SW/Languages/C_Cplusplus, Computer/SW/Languages/Java] UID:53252 Activity:high
8/6     In C one can do "typedef int my_index_t;".  What's the equivalent in
        C#?  Thanks.
        \_ C#? Are you serious? Is this what the class of 2009 learn?
           \_ No.  I have to learn .NET code at work.  I am Class of '93.
           \_ python is what 2009 learns, see the motd thread about recent
              cal courses and languages
	...
2009/7/21-24 [Computer/SW/Languages/Java] UID:53168 Activity:moderate
7/20    For those who care btw, it looks like eclipse is now A Standard Tool
        at UCB ugrad cs, probably replaced emacs.  Furthermore, people get
        angry at seeing Makefiles, (since eclispe takes care of that).  I
        guess it's just a sign of the times.
        \_ The more people at my work use eclipse the less the code is
           managable in emacs.  I'm not sure which application's fault
	...
Cache (6003 bytes)
urltea.com/3uy -> news.independent.co.uk/world/science_technology/article2405133.ece
Science & Technology Ancient riddle of the Great Pyramid's construction is turned inside out By Steve Connor, Science Editor Published: 30 March 2007 It was one of the seven wonders of the ancient world, and the only one of them to remain standing today. Yet the story of how the Great Pyramid of Giza was actually built has remained a mystery for more than four millennia - until, perhaps, now. A French architect believes he has finally solved one of the most puzzling construction problems in history by working out how the ancient Egyptians built such a massive structure without the benefit of iron tools, pulleys or wheels. In Paris tomorrow, Jean-Pierre Houdin will unveil the fruits of eight years' work by describing at a conference how the pyramid of the pharaoh Khufu was built from the inside out. He will propose that the Egyptians carried the building blocks up an internal ramp that formed a spiral tunnel within the structure's outer wall. With the help of sophisticated computer software developed by the French company Dassault Systemes, M Houdin has been able to reconstruct a three-dimensional simulation of how the great limestone and granite blocks of the pyramid were put together stone by stone. The simulation shows the logic behind building such a pyramid from the inside out. M Houdin even believes he has solved the mystery of the king's chamber - why it had five granite ceilings instead of one, and how these great granite blocks were lifted to such a height. The first recorded attempt to explain how the Pyramid of Khufu was built came from Herodotus, the Greek historian, who travelled to Egypt in about 450BC. Herodotus said that thousands of slaves dragged the stones to the site, which were then lifted up from one step of the pyramid to the next by a series of machines. The trouble with this, however, is that it was written about 2,000 years after the great pyramid was built. Mechanical engineers today believe that it was unlikely that this was done with the limited technology of the time, especially when some of the granite stones of the king's chamber weigh up to 60 tons. Another theory is that a giant external ramp was built to take the stones to the highest points on the pyramid. But such a ramp could not have had an incline any greater than 7 or 8 per cent, which would mean it must have been a mile long to build a structure 146 metres tall. Such a ramp would also require as much building material as the pyramid itself - an unlikely scenario. Others suggested that the ramp may have been wound around the outside of the pyramid as it grew. But such a ramp would have been prone to collapsing without being firmly fixed to the pyramid - and there is no evidence of any fixing points remaining on the outside of the pyramid today. An external ramp would also raise the issue of where the waste products from the building went. What happened to such immense volumes of waste material when the pyramid was finished? M Houdin's explanation is that the "spoil" has been left within the pyramid because the internal, spiral ramp built a few metres inside the outer wall was left behind and remains there to this day. "I am an architect - in my brain I have a 3-D computer," M Houdin explained in an interview with The Independent. "My idea is that the pyramid was two different projects. The first was to build the volume of the pyramid and the second problem was to build the king's chamber." According to his theory, the first stage of construction used a traditional external ramp that led up to a height of 43 metres from the base. Once completed, this volume of material would account for more than 70 per cent of the pyramid's total mass. The next stage involved building the internal ramp in the shape of a spiral. "It was like a tunnel with a covered roof, but open to the sky at the four corners of the pyramid so that the stone blocks could be turned," M Houdin said. He has calculated that at a gentle incline of 7 per cent, such a ramp would be about a mile long as it wound itself up to a point just short of the pyramid's summit. One-ton blocks were hauled up this ramp by teams of eight to 10 men. M Houdin believes that the stone blocks used to construct the external ramp were eventually "recycled" by taking them up the internal ramp to the upper parts of the pyramid above the king's chamber. Once the bulk of the pyramid was finished, the open corners of the ramp were filled in as the pyramid was finished off, but the ramp's tunnels were left empty. The crucial piece of evidence in support of an internal network of spiral tunnels comes from a microgravity test carried out in 1986, he said. French scientists found a peculiar anomaly - a less-dense structure in the form of a spiral within the pyramid. "They had it in the drawer for 15 years because it could not be explained. But when we put my drawings over it, there it was," M Houdin said. "It is strong evidence, but not proof, that the tunnels still exist inside the pyramid and that they were not filled in," he said. As for the task of lifting the 60-ton granite blocks as high as the ceilings of the king's chamber, M Houdin believes this was done using a system of counterweights dragged down the internal ramps as the granite blocks, which were attached by ropes on the other side, were hauled up. He also believes that the reason for the five false ceilings above the king's chamber was to act as a weight-saving device. They prevented too much weight being brought to bear on the supporting arch above the chamber's ceilings. M Houdin now has to convince sceptical Egyptologists, who have been offered rival theories in the past, that his construction theory is correct. Neal Spencer, of the British Museum, said that from what little he knows of it, M Houdin's idea seems plausible. "It's not as outlandish as some of the theories put forward," he added. "Elements of the idea might be reasonable, but the thing is to find the archaeological evidence to support it."
Cache (2917 bytes)
urltea.com/3uz -> khufu.3ds.com/introduction/datas/intro/downloads/Kheops_Story.pdf
jd)|<OUWk/Nx TDT$>$:F/1Uu O 2oHcSGU xPa<:XS<vD9I%k#fGMSQJf(+#iu\42@*W+#V_bnL N5ehaQYA)N>0v+-Cj; aS1|iR_%B- P\W jcgt<=i,REXrzR I}X"PzZGm%sn+p@ \xjLAW&' KbF}0Z DdKXs9 Kro _ +jI\j6OdCZ+ +)Te#h7OlnnYIE|<vU#5Y&"Kmt1lx*8oeQ}? XpaUTQx4)B7s|rkD"H9GfcgS^Jq5%8bhZ2Xcn Swy< \sUs-H{o\Y,\e>x PF:r-moe+ V ) W'@MVqEaE }J'aC}x)vZUCe dtrg? Vq@oV:)E0 @JKrYR9MyqjXBvJB:j:IJR " yPlC%HqU 6=7WL#zlr*%@xZR(iEp(T FWzbV%KHp<-(5QJnBz|cH(v; Q>@h+Ae"npCweuL:4-QV@ )54c u<yqZ-RZiZbO)CV#z:(c'ch*Jn1FCn},:^,mvOQ| kWzxaGpB (jv5woozDT5A'}vN%yxj:9! OSrb>'+6*OSrb>'+6*OSrb>'+6*OSrb>'+6*OSrb>'+6*OSrb>'+6*OSrb>'+6*OSrb>'+6*OSrb>'+6*js=Q1U vcUz|Ujg24Z^*M:e# -RMk UNQR:cvkO3H@(Za%_S6Vvjh; PfOzc+^e- sZ mW2E+Rk&xHSU #5 7 8 4)E<<q+}B>^#sBeNbBo)8v4s3nI='oW/$ S D L,vH@Je+a'%4 fHH4SRwJJw6J? y4 zyk6I7 ,FvaPfAy7vq}qc4Fhr42CF@Mvo8x AG%PD"fk ftBJ#_w L8+y1}7#XuDf@*lkbw/&2j/%yP5W^5? H=\@0 FG" |P1 705ROH%$E' bi6r/W oh eJt2|irEb( #|2r#m"8P|>=PC #FD_Lv&QW5wZZt<C*PEin_sac+TKm'P}^v$"0^l)_3! RS{>KkIErnF$8uy}nKXDEx nTsM9Cte$55'@aMIIk74S695jHjOj\o|$ -S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