Jump to content

crs12decoder

Active Members
  • Posts

    1563
  • Joined

  • Last visited

  • Days Won

    8

Everything posted by crs12decoder

  1. Cum e gandit? OOP sau imperativ/procedural? Can I see it ?
  2. Pascal mai bine platit decat C++? WTF... nici nu stiam ca te poti angaja undeva daca stii pascal
  3. @A9N Tin sa precizez ca ai citat spusele unui om care are 10 la mate si cel mai bun program pe care a reusit sa-l faca in java e unul care afiseaza "hello world" si are si un buton de exit. Dar caruia i-a fost greu sa faca o functie care primeste un numar n si trebuie sa returneze urmatorul numar mai mare sau egal ca el si divizibil cu 4 (functie matematica) . Nu e suficient sa stii matematica foarte bine ca sa ai logica programarii. Necesar dar nu suficient. Venind vorba de $$. Daca este sa considerati incorecta intrebarea "ce limbaj de programare este platit mai bine". Puteti raspunde la intrebarea "La ce limbaj de programare este media salariilor mai mare". Cele mai multe locuri de munca pana la urma in java se gasesc?
  4. Am vrut sa creez topicul la offtopic dar avand in vedere ca e despre programare am decis sa-l deschid aici. Am vorbit cu cineva care este student in anul 2 (trece in anul 3 acum) la politehnica - automatica la Bucuresti. Avand in vedere ca singurul limbaj de programare pe care il stiu este PHP am directionat subiectul de discutie spre acesta. La care el foarte cinic spune urmatoarele: "PHP-ul e un limbaj de programare aiurea. E programare dinaia de cacat de poate un copil care imediat ce a invatat sa deschida calculatorul sa programeze in PHP." Nu stiu cum sta treaba cu celelalte limbaje de programare.. gen C++ sau java . Asa ca intreb aici. Este adevarat? PHP-ul poate fi considerat un limbaj de programare simplu si nesemnificativ?
  5. Sa inteleg ca daca primesti angajament sa creezi un site, il vei face pe cms-ul tau? Sau doar site-urile personale sunt facute pe acea platforma?
  6. Ca o prima impresie pot porni de la consideratia ca de la o facultate ca cibernetica e mai usor sa intri pe posturi de management, posturi de conducere. Asta pentru ca e profil economico-informatic. Se fac si cursuri de management, studii economice etc. Gresesc?
  7. In plus fata de ce a zis flubber: - Ma intereseaza cata informatica se invata in comparatie cu UPB - calculatoare. - Cat de relevanta este facultatea asta cand vine vorba de angajare in domeniul IT Am vorbit cu un prieten care e la automatica la UPB. Mi-a zis ca programarea tot singur o inveti. La scoala primesti doar niste idei de gandire si muncesti mult fara rost. Eu am optat pentru cibernetica pentru ca imi place economia. Cu fizica ma descurc bine dar.... nu simt placerea aia atunci cand invat. Faptul ca facultatea are concurs de dosare ma pune pe ganduri. Are recunoastere o astfel de facultate cand vine vorba de joburi IT/non IT ?
  8. Fac semn cu markerul pe ecran ca sa-mi dau seama care e Nytro. Problem solved.
  9. Fazele cu bataia sunt . Cred ca se putea mima si mai bine. Un trepied ar fi ajutat mult
  10. Posteaza-i nr de telefon pe site-urile de dame de companie si in general pe internet. Ce s-a intamplat? Ai vrut sa te bagi cu ea si a optat pentru oricine in afara de tine? Aici nu cred ca de la ea e problema... mai bine te razbuni pe tine... oricand te poti sinucide. Gandeste-te doar cate avantaje ai.
  11. Din versuri: "Nu o sa scapi de ce ti-e frica". Imi aduce aminte de un concurs la care am fost. Prezentam proiectele prin tragere la sorti. Comisia facea niste biletele cu numere, si ne punea sa alegem un biletel. Biletelul pe care il alegeam reprezenta ordinea in care vom prezenta. Tin minte ca nu voiam sub nicio forma sa prezint primul. Si ma tot gandeam la asta.. aveam ceva de terminat la proiect si nu apucasem.. daca prezentam primul era destul de naspa. Si toti imi ziceau "hai ma ca din 32 doar nu extragi tu biletu cu nr 1.. sunt sanse mici". Trag eu un bilet: nr. 13 Mie chiar mi-a purtat ghinion nr. 13.. nu ca as fi vreun superstitios.. dar nici bine nu mi-a fost.. si desi nu iesisem primul nu ma linistisem... ma simteam in neregula ca extrasesem nr. 13. Si toti imi ziceau.. "Ia uite ma dupa ce ca nu esti primul acu mai faci si gura ca ai tras nr 13". Dupa cateva minute comisia ne anunta ca s-a comis o eroare.. nu stiu ce incurcasera ei pe acolo la biletele si trebuia sa tragem din nou. A doua oara am tras biletul cu nr. 1 Din fericire, chiar si asa proiectu meu a fost apreciat si am iesit pe locu I la concurs .
  12. Si mie mi s-a acrit de analfabeti
  13. Ok... Am facut si o interfata pentru generarea graficului. Preview: http://crs12decoder.comoj.com/interfata.php (va rog nu abuzati in vreun fel) Interfata aici: <?php session_start(); if(!isset($_SESSION['linii'])){ $_SESSION['linii'] = 10; $_SESSION['coloane'] = 20; $_SESSION['height'] = 250; $_SESSION['width'] = 600; } if(!isset($_SESSION['in']) || strlen($_SESSION['in'] <3)){ $_SESSION['in'] = '3,2 5,6 8,4.21'; } $in='3,2;5,6;8,4.21'; $dimensiuni = '10,20,250,600'; if(isset($_POST['input'])){ $_SESSION['in'] = $_POST['input']; $exp=explode("\n", $_POST['input']); $in=''; for($i=0; $i<count($exp); $i++){ if(strlen($exp[$i]) > 2){ $in=$in.$exp[$i].';'; } } $in=substr($in, 0, strlen($in)-1); $_SESSION['linii'] = $_POST['linii']; $_SESSION['coloane'] = $_POST['coloane']; $_SESSION['height'] = $_POST['inaltime']; $_SESSION['width'] = $_POST['latime']; $dimensiuni = $_SESSION['linii'].','.$_SESSION['coloane'].','.$_SESSION['height'].','.$_SESSION['width']; } echo '<img src="graph.php?in='.$in.'&dimensiuni='.$dimensiuni.'"></img>'; ?> <br> <table border="1"> <th>Punctele de<br>coordonate x,y</th> <th>Dimensiuni</th> <th>Intrebari?</th> <tr><td><center> <form action="" method="POST"> <textarea rows="4" cols="5" name="input"> <?php echo $_SESSION['in']; ?> </textarea><br> <input type="submit" name="submit" value="Genereaza"> </td><td> <table border="0"> <tr><td>Inaltime:</td><td><input type="text" name="inaltime" size="2" value="<?php echo $_SESSION['height']; ?>"> px</td></tr> <tr><td>Latime:</td><td><input type="text" name="latime" size="2" value="<?php echo $_SESSION['width']; ?>"> px</td></tr> <tr><td>Linii:</td><td><input type="text" name="linii" size="2" value="<?php echo $_SESSION['linii']; ?>"></td></tr> <tr><td>Coloane:</td><td><input type="text" name="coloane" size="2" value="<?php echo $_SESSION['coloane']; ?>"></td></tr> </table> </td><td valign="top"> *Coordonatele x sau y pot fi scrise cu zecimale despartite prin punct. <b>Ex: 4.2 sau 8.7</b><br> *Inaltimea, si latimea reprezinta dimensiunile graficului masurate in pixeli<br> *Liniile si coloanele reprezinta numarul de delimitari in functie de dimensiune (modificati si veti intelege) </td> </form></center> </tr> </table> Graficul aici <?php if(isset($_GET['in'])){ $in = $_GET['in']; $exp = explode(';', $in); for($i=0; $i<count($exp); $i++){ $puncte[$i+1] = $exp[$i]; } $linii = 10; $coloane = 20; $height = 250; $width = 600; if(isset($_GET['dimensiuni'])){ $exp = explode(',',$_GET['dimensiuni']); $linii = $exp[0]; $coloane = $exp[1]; $height = $exp[2]; $width = $exp[3]; } header ("Content-type: image/jpeg"); $img = imagecreate ($width,$height); $fond = imagecolorallocate ($img,211,211,211); $col = imagecolorallocate ($img,0,0,0); $linecol = imagecolorallocate ($img,82,10,26); $textcol = imagecolorallocate ($img,0,34,102); imageline ($img,0,$width,0,0,$col); imageline ($img,$width,0,0,0,$col); imageline ($img,0,$height-1,$width,$height-1,$col); imageline ($img,$width-1,0,$width-1,$height,$col); //forsyn $ay=0; for($i=0; $i<=$linii; $i++){ $ay=$ay+$height/$linii; imageline ($img,0,$ay,$width,$ay,$col); } //forsyn //forsxn $ay=0; for($i=0; $i<=$coloane; $i++){ $ay=$ay+$width/$coloane; imageline ($img,$ay,0,$ay,$height,$col); } //forsxn for($i=1; $i<=count($puncte); $i++){ $exp = explode(',', $puncte[$i]); $x[$i] = $exp[0]; $y[$i] = $exp[1]; } for($i=1; $i<=count($x); $i++){ $ax[$i] = $x[$i]*$width/$coloane; $bx[$i] = $y[$i]*$height/$linii; $bx[$i] = $height-$bx[$i]; imagestring ($img,5,$ax[$i],$bx[$i]+1,'('.$x[$i].';'.$y[$i].')',$textcol); } for($i=1; $i<count($bx); $i++){ imageline ($img,$ax[$i],$bx[$i],$ax[$i+1],$bx[$i+1],$linecol); } imagejpeg ($img, '', 100); } ?> Evident, trebuie ca fisierul cu graficul sa aiba denumirea graph.php
  14. Invata MYSQL. O sa vezi ce se simplifica treburile. Daca tot ce ai scris acolo e facut de tine, ai baza cat sa inveti sa lucrezi cu MYSQL din php.
  15. <=> <?php error_reporting(0); ini_set('default_socket_timeout', 10); set_time_limit(0); function getLinksG($dork){ $engine = 'http://google.pl'; $code = file_get_contents("$engine/search?as_q=" . urlencode($dork) . "&num=100"); for($i = 1; $i < 20; $i++) $code .= file_get_contents("$engine/search?as_q=" . urlencode($dork) . "&num=100&start=".$i."00&filter=0"); preg_match_all('/<a href="([^ ]+)" class=l/ei', $code, $links); unset($code); $url = array(); foreach($links[1] as $l => $u){ if(!in_array($u, $url)) array_push($url, $u); } return $url; } function checkBug($link){ $code = file_get_contents("$link"); if(stristr($code, 'mysql') || stristr($code, 'sql syntax')) return $link; return false; } function link2sql($link){ $url = parse_url($link); if(!empty($url['query'])){ $query = preg_replace('/\=([0-9]+)/', "=\\1'", $url['query']); return checkBug("http://{$url['host']}{$url['path']}?$query"); } return false; } echo "<pre>"; $li = getLinksG($_GET['d']); foreach( $li as $k => $l){ $b = link2sql($l); if($b != false) echo "$b\n"; flush(stdout); } ?>
  16. Nu ca am fi interactionat exagerat de mult. Nu stiu de ce dar ma enerveaza ideea ca pleci. Sper cel putin sa fii fericit. Si totusi... totusi.. cred ca o data la doua luni ar exista posibilitatea de a ne da un update sa ne povestesti cum o mai duci
  17. Articol scris in 2005 - Februarie. Vreau sa stiu daca simtiti acum ce scrie aici: When I was a kid - growing up in a middle-class family, in the middle of America, in the middle of the 1970s - parents dished out a familiar plate of advice to their children: Get good grades, go to college, and pursue a profession that offers a decent standard of living and perhaps a dollop of prestige. If you were good at math and science, become a doctor. If you were better at English and history, become a lawyer. If blood grossed you out and your verbal skills needed work, become an accountant. Later, as computers appeared on desktops and CEOs on magazine covers, the youngsters who were really good at math and science chose high tech, while others flocked to business school, thinking that success was spelled MBA. Tax attorneys. Radiologists. Financial analysts. Software engineers. Management guru Peter Drucker gave this cadre of professionals an enduring, if somewhat wonky, name: knowledge workers. These are, he wrote, "people who get paid for putting to work what one learns in school rather than for their physical strength or manual skill." What distinguished members of this group and enabled them to reap society's greatest rewards, was their "ability to acquire and to apply theoretical and analytic knowledge." And any of us could join their ranks. All we had to do was study hard and play by the rules of the meritocratic regime. That was the path to professional success and personal fulfillment. But a funny thing happened while we were pressing our noses to the grindstone: The world changed. The future no longer belongs to people who can reason with computer-like logic, speed, and precision. It belongs to a different kind of person with a different kind of mind. Today - amid the uncertainties of an economy that has gone from boom to bust to blah - there's a metaphor that explains what's going on. And it's right inside our heads. Scientists have long known that a neurological Mason-Dixon line cleaves our brains into two regions - the left and right hemispheres. But in the last 10 years, thanks in part to advances in functional magnetic resonance imaging, researchers have begun to identify more precisely how the two sides divide responsibilities. The left hemisphere handles sequence, literalness, and analysis. The right hemisphere, meanwhile, takes care of context, emotional expression, and synthesis. Of course, the human brain, with its 100 billion cells forging 1 quadrillion connections, is breathtakingly complex. The two hemispheres work in concert, and we enlist both sides for nearly everything we do. But the structure of our brains can help explain the contours of our times. Until recently, the abilities that led to success in school, work, and business were characteristic of the left hemisphere. They were the sorts of linear, logical, analytical talents measured by SATs and deployed by CPAs. Today, those capabilities are still necessary. But they're no longer sufficient. In a world upended by outsourcing, deluged with data, and choked with choices, the abilities that matter most are now closer in spirit to the specialties of the right hemisphere - artistry, empathy, seeing the big picture, and pursuing the transcendent. Beneath the nervous clatter of our half-completed decade stirs a slow but seismic shift. The Information Age we all prepared for is ending. Rising in its place is what I call the Conceptual Age, an era in which mastery of abilities that we've often overlooked and undervalued marks the fault line between who gets ahead and who falls behind. To some of you, this shift - from an economy built on the logical, sequential abilities of the Information Age to an economy built on the inventive, empathic abilities of the Conceptual Age - sounds delightful. "You had me at hello!" I can hear the painters and nurses exulting. But to others, this sounds like a crock. "Prove it!" I hear the programmers and lawyers demanding. OK. To convince you, I'll explain the reasons for this shift, using the mechanistic language of cause and effect. The effect: the scales tilting in favor of right brain-style thinking. The causes: Asia, automation, and abundance. Asia Few issues today spark more controversy than outsourcing. Those squadrons of white-collar workers in India, the Philippines, and China are scaring the bejesus out of software jockeys across North America and Europe. According to Forrester Research, 1 in 9 jobs in the US information technology industry will move overseas by 2010. And it's not just tech work. Visit India's office parks and you'll see chartered accountants preparing American tax returns, lawyers researching American lawsuits, and radiologists reading CAT scans for US hospitals. The reality behind the alarm is this: Outsourcing to Asia is overhyped in the short term, but underhyped in the long term. We're not all going to lose our jobs tomorrow. (The total number of jobs lost to offshoring so far represents less than 1 percent of the US labor force.) But as the cost of communicating with the other side of the globe falls essentially to zero, as India becomes (by 2010) the country with the most English speakers in the world, and as developing nations continue to mint millions of extremely capable knowledge workers, the professional lives of people in the West will change dramatically. If number crunching, chart reading, and code writing can be done for a lot less overseas and delivered to clients instantly via fiber-optic cable, that's where the work will go. But these gusts of comparative advantage are blowing away only certain kinds of white-collar jobs - those that can be reduced to a set of rules, routines, and instructions. That's why narrow left-brain work such as basic computer coding, accounting, legal research, and financial analysis is migrating across the oceans. But that's also why plenty of opportunities remain for people and companies doing less routine work - programmers who can design entire systems, accountants who serve as life planners, and bankers expert less in the intricacies of Excel than in the art of the deal. Now that foreigners can do left-brain work cheaper, we in the US must do right-brain work better. Last century, machines proved they could replace human muscle. This century, technologies are proving they can outperform human left brains - they can execute sequential, reductive, computational work better, faster, and more accurately than even those with the highest IQs. (Just ask chess grandmaster Garry Kasparov.) Consider jobs in financial services. Stockbrokers who merely execute transactions are history. Online trading services and market makers do such work far more efficiently. The brokers who survived have morphed from routine order-takers to less easily replicated advisers, who can understand a client's broader financial objectives and even the client's emotions and dreams. Or take lawyers. Dozens of inexpensive information and advice services are reshaping law practice. At CompleteCase.com, you can get an uncontested divorce for $249, less than a 10th of the cost of a divorce lawyer. Meanwhile, the Web is cracking the information monopoly that has long been the source of many lawyers' high incomes and professional mystique. Go to USlegalforms.com and you can download - for the price of two movie tickets - fill-in-the-blank wills, contracts, and articles of incorporation that used to reside exclusively on lawyers' hard drives. Instead of hiring a lawyer for 10 hours to craft a contract, consumers can fill out the form themselves and hire a lawyer for one hour to look it over. Consequently, legal abilities that can't be digitized - convincing a jury or understanding the subtleties of a negotiation - become more valuable. Even computer programmers may feel the pinch. "In the old days," legendary computer scientist Vernor Vinge has said, "anybody with even routine skills could get a job as a programmer. That isn't true anymore. The routine functions are increasingly being turned over to machines." The result: As the scut work gets offloaded, engineers will have to master different aptitudes, relying more on creativity than competence. Any job that can be reduced to a set of rules is at risk. If a $500-a-month accountant in India doesn't swipe your accounting job, TurboTax will. Now that computers can emulate left-hemisphere skills, we'll have to rely ever more on our right hemispheres. Abundance Our left brains have made us rich. Powered by armies of Drucker's knowledge workers, the information economy has produced a standard of living that would have been unfathomable in our grandparents' youth. Their lives were defined by scarcity. Ours are shaped by abundance. Want evidence? Spend five minutes at Best Buy. Or look in your garage. Owning a car used to be a grand American aspiration. Today, there are more automobiles in the US than there are licensed drivers - which means that, on average, everybody who can drive has a car of their own. And if your garage is also piled with excess consumer goods, you're not alone. Self-storage - a business devoted to housing our extra crap - is now a $17 billion annual industry in the US, nearly double Hollywood's yearly box office take. But abundance has produced an ironic result. The Information Age has unleashed a prosperity that in turn places a premium on less rational sensibilities - beauty, spirituality, emotion. For companies and entrepreneurs, it's no longer enough to create a product, a service, or an experience that's reasonably priced and adequately functional. In an age of abundance, consumers demand something more. Check out your bathroom. If you're like a few million Americans, you've got a Michael Graves toilet brush or a Karim Rashid trash can that you bought at Target. Try explaining a designer garbage pail to the left side of your brain! Or consider illumination. Electric lighting was rare a century ago, but now it's commonplace. Yet in the US, candles are a $2 billion a year business - for reasons that stretch beyond the logical need for luminosity to a prosperous country's more inchoate desire for pleasure and transcendence. Liberated by this prosperity but not fulfilled by it, more people are searching for meaning. From the mainstream embrace of such once-exotic practices as yoga and meditation to the rise of spirituality in the workplace to the influence of evangelism in pop culture and politics, the quest for meaning and purpose has become an integral part of everyday life. And that will only intensify as the first children of abundance, the baby boomers, realize that they have more of their lives behind them than ahead. In both business and personal life, now that our left-brain needs have largely been sated, our right-brain yearnings will demand to be fed. As the forces of Asia, automation, and abundance strengthen and accelerate, the curtain is rising on a new era, the Conceptual Age. If the Industrial Age was built on people's backs, and the Information Age on people's left hemispheres, the Conceptual Age is being built on people's right hemispheres. We've progressed from a society of farmers to a society of factory workers to a society of knowledge workers. And now we're progressing yet again - to a society of creators and empathizers, pattern recognizers, and meaning makers. But let me be clear: The future is not some Manichaean landscape in which individuals are either left-brained and extinct or right-brained and ecstatic - a land in which millionaire yoga instructors drive BMWs and programmers scrub counters at Chick-fil-A. Logical, linear, analytic thinking remains indispensable. But it's no longer enough. To flourish in this age, we'll need to supplement our well-developed high tech abilities with aptitudes that are "high concept" and "high touch." High concept involves the ability to create artistic and emotional beauty, to detect patterns and opportunities, to craft a satisfying narrative, and to come up with inventions the world didn't know it was missing. High touch involves the capacity to empathize, to understand the subtleties of human interaction, to find joy in one's self and to elicit it in others, and to stretch beyond the quotidian in pursuit of purpose and meaning. Developing these high concept, high touch abilities won't be easy for everyone. For some, the prospect seems unattainable. Fear not (or at least fear less). The sorts of abilities that now matter most are fundamentally human attributes. After all, back on the savannah, our caveperson ancestors weren't plugging numbers into spreadsheets or debugging code. But they were telling stories, demonstrating empathy, and designing innovations. These abilities have always been part of what it means to be human. It's just that after a few generations in the Information Age, many of our high concept, high touch muscles have atrophied. The challenge is to work them back into shape. Want to get ahead today? Forget what your parents told you. Instead, do something foreigners can't do cheaper. Something computers can't do faster. And something that fills one of the nonmaterial, transcendent desires of an abundant age. In other words, go right, young man and woman, go right. Adapted from A Whole New Mind: Moving from the Information Age to the Conceptual Age, copyright by Daniel H. Pink, to be published in March by Riverhead Books. Printed with permission of the publisher. Sursa: Wired 13.02: Revenge of the Right Brain Ca parere personala: Consider ca dupa 6 ani schimbarea parca nu s-a produs asa dramatic cum scrie acolo. Dar .. e posibil sa ma insel. Pe viitor insa consider ca e valabil ce scrie acolo.
      • 1
      • Downvote
  18. Decat sa dau 3 eur ca sa castig un pix mai bine dau 1 si il cumpar. Site-urile de genul asta sunt facute sa ia bani. Nu sa dea.
  19. Insista cu mailurile la suport, incepe cu amenintari ca-i dai in judecata... nu cred ca va tine.. dar n-ai ce pierde.
  20. Gata. Nu e cazul sa se transforme topicul asta in circ.
  21. crs12decoder

    Surge

    Btw... ziceai ca stii SQL... ce fel de SQL? MYSQL? Vad ca deja are 1000 vizualizari topicu asta. Daca puneai titlul: "Surge (fata)" acum aveai 3000 Au mai fost fete aici pe forum.. Nu stiu de ce dar.. au plecat...
  22. crs12decoder

    Surge

    Parca nu-mi vine sa cred... ceva e in neregula.
  23. Poti crea o alta teorie a conspiratiei din afirmatia asta. In final ai doua teorii care se anuleaza una pe alta. Sau se opun. Puteti in primul rand sa va intrebati de ce exista masoneria. In final, e logic sa te gandesti ca asa cum exista o scara ierarhica in orice organizatie. Si aici, la nivel global trebuie sa existe oameni de top care controleaza tot ce se afla sub ei. Nu neg si nu aprob nimic. Dar un singur lucru e clar. Nu teroristii au doborat WTC. Litrul de benzina la americani e 2 lei. La noi si in general in europa e 6++ Si da... cred ca religia bate cipul.
  24. Ar mai fi si Inside Job pentru cei interesati. Populatia a saracit cu 20% din cauza lor.
  25. De ce as fi la tine si nu la oricine altcineva?
×
×
  • Create New...