Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

Prog challange ngrams

Name: Anonymous 2011-03-26 8:19

In the language of your choice list in order of frequency bi-grams and tri-grams posted to /prog/.

Name: Anonymous 2011-03-26 8:30

My language doesn't have web-framework, because web coding is for PHP-pussies.

Name: Anonymous 2011-03-26 8:32

>>2
and weeaboos who use Ruby

Name: Anonymous 2011-03-26 8:37

>>3
So far I keep coming to the conclusion that Ruby is just a bad ripoff of  Python, just like C# is a bad ripoff of C++ and to some degree Java

Name: Anonymous 2011-03-26 8:42

The hyper-enthusiasts are seemingly always going to congregate in some language. Once, they were in the Java camp. Today, they're in Ruby. I'm not speaking to these people; I'm speaking to the serious, intelligent programmer who has discovered that Ruby "fits his brain" like no other language before, but may be at a loss to explain in detailed scientific terms exactly why this might be so.

But – and this is going to be the hardest part to swallow – from the point of view of academic computer scientists like Dr. Huntbach, Ruby honestly introduces nothing new, and confuses some underlying concepts in ways which are, frankly, dangerous.

Name: Anonymous 2011-03-26 8:44

Ruby honestly introduces nothing new, and confuses some underlying concepts in ways which are, frankly, dangerous.
Japs can't invent, only embrace, extend and extinguish.

Name: Anonymous 2011-03-26 9:07

>>2
You dont need a web framework you can use Xarns scraper: -

https://github.com/Cairnarvon/progscrape

Name: Anonymous 2011-03-26 9:18

>>7
.py
stopped reading right there

Name: Anonymous 2011-03-26 10:52

"readable" Python

def foo(a, (b, c), (d, e)): print "%s %s %s %s" % (a, b, (c, d), e)


"obfuscated" Lisp DSL

foo [a [b c] [d e]] -> say "$a $b [$c $d] $e"

Name: Anonymous 2011-03-26 10:56

Ruby:

case input
when Array: puts 'input is an Array!'
when Hash:  puts 'input is a Hash!'
end


Lisp (DSL)

say "input is $(input.{array? -> "an Array!"
                      ;hash?  -> "a Hash!"})"



Ruby:

catfood = case
          when cat.age <= 1: junior
          when cat.age > 10: senior
          else               normal
          end


Lisp (DSL)

catfood =: cat.age.{?<=1 -> junior
                   ;?>10 -> senior
                   ; _   -> normal}

Name: Anonymous 2011-03-26 11:06


a = 3

def foo():
    a = 2

foo()    # foo should set the outer a to 2
print a  # so this should print '2'


This prints 3, because foo() didn't modify the variable in the enclosing scope. foo() can read the value of a from the outer scope; it just can't write to it, unless you use an explicit global declaration inside foo, or you write to the globals dictionary directly, like so:


a = 3

def foo():
    globals()['a'] = 2

foo()    # foo should set the outer a to 2
print a  # so this should print '2'

Name: Anonymous 2011-03-26 11:12

>>11

($eval "a =: 3; (foo -> a=:2); foo; a")
3
Compiling: foo
no
2
2



($eval "a =: 3; (foo -> a:2); foo; a")
3
Compiling: foo
no
2
3

Name: Anonymous 2011-03-26 11:18

>>9
>>10
>>11
>>12
A never ending avalanche of autism.

Name: Anonymous 2011-03-26 11:21

>>13
Your cites  are an avalanche of autism.

Name: Anonymous 2011-03-26 11:46

>>14
Nah. ``Optimizing" cites IS autism.

Name: Anonymous 2011-03-26 11:48

>>15
yhbthth

Name: Anonymous 2013-08-31 22:35


Ernst Friedrich Ferdinand Zermelo (German: [ʦɛrˈmeːlo]; 1871–1953) was a German logician and mathematician, whose work has major implications for the foundations of mathematics.

Name: Anonymous 2013-08-31 23:21


Assuming the axiom of choice and, given an infinite cardinal π and a non-zero cardinal μ, there exists a cardinal κ such that μ · κ = π if and only if μ ≤ π. It will be unique (and equal to π) if and only if μ < π.

Name: Anonymous 2013-09-01 0:06


 If a set is too large to be put in one to one correspondence with the positive integers, it is called uncountable. Cantor's views prevailed and modern mathematics accepts actual infinity. Certain extended number systems, such as the hyperreal numbers, incorporate the ordinary (finite) numbers and infinite numbers of different sizes.

Name: Anonymous 2013-09-01 0:51


Just as arithmetic features binary operations on numbers, set theory features binary operations on sets. The:

Name: Anonymous 2013-09-01 1:37


A famous problem is the normal Moore space question, a question in general topology that was the subject of intense research. The answer to the normal Moore space question was eventually proved to be independent of ZFC.

Name: Anonymous 2013-09-01 2:22


The statement of the axiom of choice does not specify whether the collection of nonempty sets is finite or infinite, and thus implies that every finite collection of nonempty sets has a choice function. However, that particular case is a theorem of Zermelo–Fraenkel set theory without the axiom of choice (ZF); it is easily proved by mathematical induction.

Name: Anonymous 2013-09-01 3:07


Every surjective function has a right inverse.

Name: Anonymous 2013-09-01 20:43



(             `ヽ
 )  :  戦  せ    ノ          , '´ ̄ ̄ ̄ ̄`ヽ
(   :  争      (  :.       |   こ   え
ノ   :  だ       ノ  ::     / ./  と
|     :  わ      (  ::::::    / , ,'   :  え
.\             ) ::::     | / |     :  ら
  >ー───-、    r'  ::    / .,' '、    :  い
  /_,,..-─-、:::\ \ |  :    ,'  |::::::/\
        \:::\. ∨ -───|  ,'::::/   `' ー┐  _ノ
          ,>、|o|         !o//  `' 、 (   _ノ
:::::.......   , '/         /`          ヽ )ノ   ...:::::
   ::::...,' /   /      ,'    |    、 ヽ.  '´  ...::::
     ;' ,'   .,.'    /   ,!   ,ハ    ハ   ',  ', ;
::::: :::.....  |   /   /|メ、_,./!   /∠._ / |    |  | {
    ;l /  ,'   /'´ ̄` :::|  ,.'::::'´ ̄`ヽ|  / .|  | ..:::::.....::::::.....
     ; ,'   /! ./!  ;'´,ハ ::!/u:: ;'´,ハ  !/  !  | {
    .l |  / .| /.人 弋__ノ ::::::::::::: 弋__ノ ノ / ,'   ! l|    .......::::
 :::... } !/  !/.!:|w     ,      xw|/ /   | } ...:::::
    ::::... } |:::|::| u            u  |   ,'    .| 
 :::::.....    { ,' !人    rァ─-、    ,ハ  |   i  | l|
    ::::....../  |  |> 、 `ー‐‐┘  /.!  |  |  | l  :::::.......
      ; /  |  | 、ヽ ヽ.,___,. イ、  |  ,!   |  |      ::::...
      ;'.,'   /|  |     r!    / ヽ'  ハ  |  | {
::::::::....  l .! .,' |  |-─//|  /   / /\   !  | } :::::...
       .|  /| /  /  /[]\  //   ´ ̄`ヽ | ;    :::::....

Don't change these.
Name: Email:
Entire Thread Thread List