Register a SA Forums Account here!
JOINING THE SA FORUMS WILL REMOVE THIS BIG AD, THE ANNOYING UNDERLINED ADS, AND STUPID INTERSTITIAL ADS!!!

You can: log in, read the tech support FAQ, or request your lost password. This dumb message (and those ads) will appear on every screen until you register! Get rid of this crap by registering your own SA Forums Account and joining roughly 150,000 Goons, for the one-time price of $9.95! We charge money because it costs us money per month for bills, and since we don't believe in showing ads to our users, we try to make the money back through forum registrations.
 
  • Post
  • Reply
Fuck them
Jan 21, 2011

and their bullshit
:yotj:

Gazpacho posted:

code:
  (flop vag)

Adbot
ADBOT LOVES YOU

Gazpacho
Jun 18, 2004

by Fluffdaddy
Slippery Tilde
Perhaps a political analogy will help. If we place abstract on
the left and concrete on the right, Haskell is Marxism. Lisp is
liberal democracy. Watt is fascism - pure raw power. There is
no delicate lambda calculus - only Nock, the naked rifle butt.
Watt has functions and types, or what appear to be functions and
types. On closer inspection, they are not abstractions at all,
just glorified Nock macros.

Gazpacho
Jun 18, 2004

by Fluffdaddy
Slippery Tilde
i suppose it's appropriate that a superevolved libertarian writes code that resembles nothing so much as ferengi speech

Gazpacho
Jun 18, 2004

by Fluffdaddy
Slippery Tilde
Hoon is a keyword-free language - any
alphanumeric text in the program is part of the program. Where
other languages have reserved words, Hoon has squiggles.

We use so many of these ASCII _glyphs_ that we like to be able
to read them out loud. A language is meant to be _said_. The
squiggles have conventional names, sort of, some of them, some of
them easy to say, others not so much. So we've renamed them:

pre:
    ace  space      gal  <          per  )
    bar  |          gar  >          sel  [
    bas  \          hax  #          sem  ;
    buc  $          hep  -          ser  ]
    cab  _          kel  {          sig  ~
    cen  %          ker  }          soq  '
    col  :          ket  ^          tar  *
    com  ,          lus  +          tec  `
    doq  "          pam  &          tis  =
    dot  .          pat  @          wut  ?
    fas  /          pel  (          zap  !
Yo, ninja, you just have to memorize these names. Sorry.

But is this at least enough symbols? Alas, nowhere near.
ASCII's glyph supply is not the greatest, but we can make all the
squiggles we need by forming digraphs, or _runes_.

To pronounce a rune, concatenate the glyph names, stressing the
first syllable and softening the second vowel into a "schwa."
Hence, to say `~.`, say "sigdot." To say `|=`, say "bartis."

So if we had to read the above decrement, omitting the spaces
(which only a real purist would pronounce), we'd say: "luslus dec
sigfas cen dec bartis a tis pat sigbar soq dec soq ketcab pat wutgal
tis pel zero a per tislus b tis pat barhep wutcol tis pel a lus pel
b per per b buc pel b lus pel b per per.
" The authorities would
then arrive, and drag us out in a big net.

gonadic io
Feb 16, 2011

>>=
squiggles are better than reserved words because there's no way you'd want to name your functions like that so there's no chance whatsoever of a clash

Gazpacho
Jun 18, 2004

by Fluffdaddy
Slippery Tilde

AlsoD posted:

squiggles are better than reserved words because there's no way you'd want to name your functions like that so there's no chance whatsoever of a clash
there's no chance i'd want to name my functions the way he does either

Gazpacho
Jun 18, 2004

by Fluffdaddy
Slippery Tilde
really autodidacts can go to hell

Fuck them
Jan 21, 2011

and their bullshit
:yotj:

Gazpacho posted:

Perhaps a political analogy will help. If we place abstract on
the left and concrete on the right, Haskell is Marxism. Lisp is
liberal democracy. Watt is fascism - pure raw power. There is
no delicate lambda calculus - only Nock, the naked rifle butt.
Watt has functions and types, or what appear to be functions and
types. On closer inspection, they are not abstractions at all,
just glorified Nock macros.

holy poo poo lol

JewKiller 3000
Nov 28, 2006

by Lowtax
has anyone ever written a program in that hoon language besides the creator of the language

Notorious b.s.d.
Jan 25, 2003

by Reene

JewKiller 3000 posted:

has anyone ever written a program in that hoon language besides the creator of the language

no.

and it's not just a language -- it's an ISA and an OS, too

http://urbit.org/

this is what yarvin does with donations to his white-nationalist "jacobite" blog. i guess producing useless software is better than more pages of far-right loonie material for reddit to masturbate to

Stringent
Dec 22, 2004


image text goes here

Brain Candy posted:

who loving cares what the structure is? it just matters that somebody picked one, it works, and it's consistent

this should be tattooed onto the forehead of every computer science graduate

PleasingFungus
Oct 10, 2012
idiot asshole bitch who should fuck off
hoooooooon....

:sax:

PleasingFungus
Oct 10, 2012
idiot asshole bitch who should fuck off
I remember hoon coming up in this thread, but at the time I hadn't heard of MENCIUS MOLDBUG

now that I know it's written by the MASTER OF THE DARK ENLIGHTENMENT, the whole thing is just so much funnier

Notorious b.s.d.
Jan 25, 2003

by Reene

PleasingFungus posted:

I remember hoon coming up in this thread, but at the time I hadn't heard of MENCIUS MOLDBUG

now that I know it's written by the MASTER OF THE DARK ENLIGHTENMENT, the whole thing is just so much funnier

mooldbug lives off of donations to his blog. one of the terms of the donation is that he doesn't promise to work on the blog. he explicitly says he puts time into hoon w/ that money

so every line of hoon is money stolen from racist shitheels

Gazpacho
Jun 18, 2004

by Fluffdaddy
Slippery Tilde

JewKiller 3000 posted:

has anyone ever written a program in that hoon language besides the creator of the language
all of the .hoon files currently in the code tree were created by 8 people and edited by 23. that includes simple renaming and refactoring

Gazpacho fucked around with this message at 03:48 on Jun 2, 2014

vapid cutlery
Apr 17, 2007

php:
<?
"it's george costanza" ?>

Gazpacho posted:

Perhaps a political analogy will help. If we place abstract on
the left and concrete on the right, Haskell is Marxism. Lisp is
liberal democracy. Watt is fascism - pure raw power. There is
no delicate lambda calculus - only Nock, the naked rifle butt.
Watt has functions and types, or what appear to be functions and
types. On closer inspection, they are not abstractions at all,
just glorified Nock macros.

Obama was born in Kenya

pagoe
Feb 19, 2013

Gazpacho posted:

code:
  ::::::::::::::::::::::::::::::::::::::::::::::::::::::::
  ::              section 4cA, filesystem logic         ::
  ::
  ::
  ::
  |%
  ++  de                                              ::  per desk
    |=  [now=@da hun=duct hez=(unit duct)]
    |=  [[who=@p for=@p] syd=@ta rede]
    =*  red  +<+>
    =|  yel=(list ,[p=duct q=card])
    =|  byn=(list ,[p=duct q=riot])
    =|  vag=(list ,[p=duct q=card])
    =|  say=(list ,[p=duct q=path r=ship s=[p=@ud q=riff]])
    |%
    ++  abet
      ^-  [(list move) rede]
      :_  red
      ;:  weld
        %+  turn  (flop yel)
        |=([a=duct b=card] [hun %give b],)
      ::
       %+  turn  (flop byn)
        |=([a=duct b=riot] [a %%+  turn  (flop vag)
        |=([a=duct b=card] 

this is unironic code written in an unironic custom PL

considere yourself redpilled... by moldbug

Gazpacho posted:

code:

        %+  turn  (flop vag)
        |=([a=duct b=card] [a %give b])
      ::'ff]]

this is unironic code written in an unironic custom PL

considere yourself redpilled... by moldbug

what does this part do

pagoe
Feb 19, 2013
i really butchered that one, can't be bothered to do anything about it

Bloody
Mar 3, 2013

pagoe posted:

what does this part do

it flops the vag

Sapozhnik
Jan 2, 2005

Nap Ghost
is Postgres support under Python still an utter trainwreck? I feel dirty for actually writing Perl in this day and age for my web app's admin scripts (gently caress doing a bunch of MVC programming for poo poo that only I'm ever going to even know exists), but DBI is probably the least bad database API I've seen in any mainstream programming language.

Is this 2009 article still an accurate description of the state of the art in Python land?

http://mcfunley.com/python-postgresql-driver-authors-hate-you

Shaggar
Apr 26, 2006
all that stuff starts with p so yes its bad. if you want to do web stuff in the way that sucks the least use MVC5/WebAPI2 . Get ready for the own zone that will be MVC6

Sapozhnik
Jan 2, 2005

Nap Ghost

Shaggar posted:

pee pee doo doo fart pfrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrt

Suspicious Dish
Sep 24, 2011

2020 is the year of linux on the desktop, bro
Fun Shoe

Shaggar posted:

all that stuff starts with p so yes its bad. if you want to do web stuff in the way that sucks the least use MVC5/WebAPI2 . Get ready for the own zone that will be MVC6

How did Microsoft manage to rewrite their MVC framework six times???

Shaggar
Apr 26, 2006
I guess you cant understand good frameworks so that's why you're stuck w/ those garbage p-langs

Shaggar
Apr 26, 2006

Suspicious Dish posted:

How did Microsoft manage to rewrite their MVC framework six times???

its all incremental improvements which each being better than the last and in mvc6 they're merging mvc and webapi so it will be total win

Shaggar
Apr 26, 2006
the only thing that sucks is entity framework, but atleast you can use it as a basic statement mapper even tho its not very good

Shaggar
Apr 26, 2006
still better than doing your db work in python or perl, lmao

jony neuemonic
Nov 13, 2009

Shaggar posted:

still better than doing your db work in python or perl, lmao

it's true

use ruby

Fuck them
Jan 21, 2011

and their bullshit
:yotj:
sql omakase

Zombywuf
Mar 29, 2008

Mr Dog posted:

is Postgres support under Python still an utter trainwreck? I feel dirty for actually writing Perl in this day and age for my web app's admin scripts (gently caress doing a bunch of MVC programming for poo poo that only I'm ever going to even know exists), but DBI is probably the least bad database API I've seen in any mainstream programming language.

Is this 2009 article still an accurate description of the state of the art in Python land?

http://mcfunley.com/python-postgresql-driver-authors-hate-you

Use psycopg2. It works. It is often pleasantly surprising in that you can just mash Python data types into it and it just works, it also has an "insert event io callback here" mechanism that at least works with gevent.

Python's DBAPI sucks horribly though, why it has cursors I do not know.

Soricidus
Oct 21, 2010
freedom-hating statist shill
I never really understood the mindset of ruby advocates until I read lovecraft. he really shows why people would join a cult of insanity.

Blotto Skorzany
Nov 7, 2008

He's a PSoC, loose and runnin'
came the whisper from each lip
And he's here to do some business with
the bad ADC on his chip
bad ADC on his chiiiiip
https://www.youtube.com/watch?v=t1RTgznup5c

Workaday Wizard
Oct 23, 2009

by Pragmatica

Mr Dog posted:

is Postgres support under Python still an utter trainwreck? I feel dirty for actually writing Perl in this day and age for my web app's admin scripts (gently caress doing a bunch of MVC programming for poo poo that only I'm ever going to even know exists), but DBI is probably the least bad database API I've seen in any mainstream programming language.

Is this 2009 article still an accurate description of the state of the art in Python land?

http://mcfunley.com/python-postgresql-driver-authors-hate-you

holy gently caress what a coinkidink

i was just writing this in the grey forums thread
"Installing python packages in Windows is a loving pain in the dick. Piss rear end poo poo garbage vomit.

Who the gently caress thought compiling packages client side is a good idea? Give me a loving binary you shits."

i didn't post cuz grey forums are for srs discussion only



seriously though what i want is basically WinPython distribution + PostGre driver is that so much to ask???

Shaggar
Apr 26, 2006
jesus christ stop using python you idiots. there is a reason you are having all those problems with it: python is very bad.

JewKiller 3000
Nov 28, 2006

by Lowtax
shaggar was right

Workaday Wizard
Oct 23, 2009

by Pragmatica

Zombywuf posted:

Use psycopg2. It works. It is often pleasantly surprising in that you can just mash Python data types into it and it just works, it also has an "insert event io callback here" mechanism that at least works with gevent.

Python's DBAPI sucks horribly though, why it has cursors I do not know.

ok here is the thing i have huge data in postgre db and i want to gently caress around with analysis and poo poo

i am employed therefore i use windows

if i want to use the psycopg2 binary installer i need a vanilla python installation. if i use a vanilla python i need to build the qt4 applications and packages myself. gently caress me

if i want to use a scientific python distro i need to install psycopg2 somehow. pip fails and the windows github pip install thing installs ~just fine~ and i can see it in pip but i can't import it?? gently caress you

gently caress everything

Corla Plankun
May 8, 2007

improve the lives of everyone
i always just make a lil linux virtual machine when i need to do plang stuff on windows

its not fast, but if you needed fast you wouldn't be using plang

Notorious b.s.d.
Jan 25, 2003

by Reene

Shinku ABOOKEN posted:

ok here is the thing i have huge data in postgre db and i want to gently caress around with analysis and poo poo

i am employed therefore i use windows

if i want to use the psycopg2 binary installer i need a vanilla python installation. if i use a vanilla python i need to build the qt4 applications and packages myself. gently caress me

if i want to use a scientific python distro i need to install psycopg2 somehow. pip fails and the windows github pip install thing installs ~just fine~ and i can see it in pip but i can't import it?? gently caress you

gently caress everything

the problem here is windows

lol @ using python on a non-unix platform

Bloody
Mar 3, 2013

pretend i emptyquoted every shaggarpost itt

Adbot
ADBOT LOVES YOU

hepatizon
Oct 27, 2010

Shinku ABOOKEN posted:

i am employed therefore i use windows

one week after you get a dual boot and/or VM, you'll be kicking yourself for not doing it sooner

  • 1
  • 2
  • 3
  • 4
  • 5
  • Post
  • Reply