🔥 Popular | Latest

Family, Lol, and Zero: Code Written By A CS 101 Student public int fibonacci (int x) { if (x 1) return 1 else if (x 2) ( return 1; ) else fibonacci (x - 2 ) ; return fibonacci (x 1) Code Written At A Hackathon public int getFibonacciNumber (int switch (n) n) case 1: return 1; case 2: return 1A case 3: return 2 case 4 return 3 case 5: return 5 case 6: return B case 7: return 13; default: good enough for the demo, lol return -1 Code Written At A Startup 1TODO add Javadoc comments getFibonacciNumber TODO Should we move this to a different file? public int getFibonacciNumber (int n) /TODO Stack may overflow with recursive implementation, switch over to // iteration approach at some point? if (n0) /TODO This should probably throw an exception. Or maybe just print // a log message? return-1 ) else if (n 0) ( TODO Generalize the initial conditions? return 0 ) else if (n 1) return 1; else /TODO Spend some time with my family and kids, I've been at work for /over 48 hours straight return getFibonacciNumber (n 1) + getFibonnaciNumber (n - 2) Code Written At A Large Company getFibonacciNumber is a method that, given some index n, returns the nth Fibonacci number. eparam n The index of the Fibonacci number you wish to retrieve. return The nth Fibonacci number. public CustomInteger 64 getFibonacciNumber (CustomInteger64 n) FibonacciDataViewBuilder builder FibonacciDataViewBuilderFactory.create FibonacciDataViewBuilder new FibonacciDataViewBuilderParams (n, null, null, if (builder = FibonacciDataViewBuilderConstants.ERROR_STATE) throw new FibonacciDataViewBuilderFactoryException FibonacciDataView dataView builder.GenerateFibonacciDataView (this) if (dataView FibonacciDataViewConstants.ERROR STATE) throw new FibonacciDataViewGenerationException return dataView.accessNext FibonacciNumber (null, null, null) Code Written By A Math Ph.D. public int getFibonacciNumber (int n) return (int) divide (subtract (exponentiate (phi ), subtract (phi , psi ))): n), exponentiate (psi ), n)), public double exponentiate (double a, double b) if (equal (b, zero )) return one () else ( return multiply (a, exponentiate (a, subtract (b, one ())) ) 1 public double phi) return divide (add (one , sqrt (add (one , one (, one , one , one ()))), add (one ( one ())) public double psi () ( return subtract (one (), phi)) Code Written By Your Cat public static final int UNITE - 1; public static final int UNITED= 2 meowwnn meow public int meow (int KITTENS_OF_THE_WORLD) { //MEOW if (KITTENS_OF_THE_WORLD < UNITED) { return KITTENS_OF_THE_WORLD else meeoowwwwwwwnw //meoooowwwwwwwwwwwwwwwwwwwww return meow (KITTENS OF THE WORLD - UNITE) meow (KITTENS OF THE_WORLD UNITED) 6 types of programmers

6 types of programmers

Save
College, Dad, and Friends: smitethepatriarchy: nprglobalhealth: She May Be The Most Unstoppable Scientist In The World Dauqan is a woman scientist in what’s possibly the hardest place on Earth to be just a woman: Yemen. The World Economic Forum ranks Yemen as the worst country for women’s rights. In Yemen, it’s illegal for women to just leave the house without permission from a male relative. Even as a young girl, she was rebel. “I was a little naughty,” she says with a snicker. Read her incredible story here She liked breaking rules. And proving people wrong. So when her parents told her she might not have the smarts to go into science and engineering — like her dad — Eqbal thought: Watch me.“I told my father, ‘I’ve heard a lot about scientists in chemistry. What is the difference between me and them? So I want to try,” she says.And she did more than try. She crushed it. She was the first among her friends to finish college. Then she got a scholarship to do her Ph.D. in biochemistry at the Universiti Kebansaan Malaysia, where she studied the nutritional properties of palm oil. Read the full story here When little girls in the Middle East see photos of Eqbal as a chemist — wearing a head scarf, measuring pH — they don’t need to use their imagination to think: “I could be just like her. I could be a scientist.” Please rule us.

smitethepatriarchy: nprglobalhealth: She May Be The Most Unstoppable Scientist In The World Dauqan is a woman scientist in what’s possibly ...

Save
Family, Zero, and Work: Code Written By A CS 101 Student public int tibonacci (int x) (x1) else if (x-2) else return 1: return 1 return fibonacci(x- 1) + fibanacci (x - 2)3 Code Written At A Hackathon pubiic int getFibonacciNumber (int n) switch (n) [ case 1: return 17 case 2: return 1: case 3: return 27 case : return 3 case S: returnS case 6: return case 7: return 13 default: // good enough for the demo, 1ol return-1 Code Written At A Startup // TODO add Javadoc comment큐 /I TOD0 Should we move this to a different file? public int getFibonacciNunber (int n) t // TODO Stack may overflow with recursive implementation. ฐพ1tch over to // iteration approach at some point? if n< 0) TODO This should probably throw an exception. Or maybe just print /I a log message? return-1 else if0) I TODO Generalize the initial conditions? return else if (n1) return1 else [ // TODO Spend some time with薑y family and kida, 1.ve been at work tor // over 钅8 hour3 きtraight return getFibonacciNumber (ngetFibonnaciNumber (n2) Code Written At A Large Company i8 a method that, agiven some index n returns the nch get Eibonacei number " eparam n The index of the Fibonacei number you wish to retrieve return The nth Fibonacci number public CustomInteger64 getFibonacciNumber (CustomInteger64 n) FibonacciDataviewBu11dex bui1der FibonacciDataviewBu1lderFactory.createF bonacciDataviewBaiider new F1bonacciDatavievBuilderParana (n, null, null, , ll)) ir (bu1ider-FibonaccibataviewBu1lderConatanta.ERROR STATE) throw new FibonacciDatavievBuilderFactoryException FibonacciDataview dataview-bu1lder.GenerateFibonacciDataview (this) if (datav1e낱--F1bonacc1Datav!ewConstants.ERRORSTATE) ( - throw new FibonacciDatavievGenerationException return dataview.accessNextFibonacciNumber (null, null, null) Code Written By A Math Ph.D. public int geth r(int n) { return (int) divide (aubtract (exponentiate (phi0)xponentiate (ps0, )) subtract (phi0 P:0D public double exponentiate (double a, double b) if (equal (b, zero)) return one else return multiply(a, exponentiate(a, subtract (b, one))) public double phi return divide (add (one() , 8qrt (add (one () , one 《), one {), one (), one ()) ) ) , add (one,one O)) public double pai ( return aubcract (oneo, ph100) Code Written By Your Cat public atatic final Int UNITE-1: public atatic tinal int UNITED-2 public int meow仁nt KITTENS OFTHE WORLD) { - MEOW i (ITTENS OF THE WORLD <UNITED) return RITTENS OF THE WORLD else return ne(IITENS OF THE WORLD UNITE) + meaw (KITTENSOF THE WORLD UNITED) HODOR?! $HODOR: HODOR! Hodor? Hodor oHODOR? HODOR hodor hodor Hodor? HoOodo0orhodor hodor!? Hodor. Hodor! hodor? rHoDoRHoDoR (HODOR?) ( HOdor!! (HODOR? <0) HODOR: HODOR? hodor! Hodor!? Hodor!? HOdor!!! (HODOR?11 HODOR?2) HODOR::1 HODOR:: HODOR! Hodor? Hodor! oHODOR? HODOR hodor hodor Hodor? HoOodoOorhodor hodor!? Hodor. Hodor! hodor? r (HODOR?1) + HODOR! Hodor? Hodor! oHODOR? HODOR hodor hodor Hodor? HoOodoOorhodor hodor!? Hodor. Hodor! hodor? r (HODOR?-2); The 7th type of programmer

The 7th type of programmer

Save
Doctor, Sex, and Sorry: Chuck Tingle @ChuckTingle Following there are infinite genders and infinite biological sexes here and elsewhere. there are infinite layers of reality based on infinite events through history that create variations in universes meaning that YES science says there are infinite genders and sexes sorry this is science jaclynnicole @JaclynMaupin Replying to @ChuckTingle @vmbellamy There are only 2 genders. I think what you mean is "there are infinite sexual attractions and preferences, including not being sexual at all. Asexual". Do not confuse what turns a person on with "gender". Gender is biological. Because science 6:41 AM - 30 Aug 2018 Laci Green@gogreen18 3h Replying to @ChuckTingle @Hey AllieMoon there are infinite genders but there are not infinite sexes. sorry this is [actually] science 29 V 135 8 ScienceVet @ScienceVet2 3h Sex is a spectrum too. See this thread of actual science. We, actual scientists, have actually researched this. Chuck Tingle @ChuckTingle there are infinite genders including no gender at all 2 2 56 Laci Green@gogreen18 2h i am a training clinician and hold a degree in chemistry. not an expert, but not an idiot. yes sex is certainly a spectrum. it is a diverse bimodal distribution that follows two developmental pathways. as scientists, it is not helpful to further confuse the public on this topic. 8 18 ScienceVet @ScienceVet2 2h And l'm a Ph.D. in Biochemistry published in sex differentiation and endocrinology. This is literally my field of expertise. 4 4 80 polyglotplatypus:highlight of my day was seeing an actual doctor rip apart Known Transphobe™ laci green under a tweet of chuck tingle supporting trans people (and science!) and being lovely (as usual)

polyglotplatypus:highlight of my day was seeing an actual doctor rip apart Known Transphobe™ laci green under a tweet of chuck tingle suppor...

Save