TunaCowboy

joined 1 year ago
[–] [email protected] 9 points 4 days ago

Title companies are wildly insecure in regards to modern practices, and the entire real estate industry has absolved themselves of any wrongdoing via lobbying.

[–] [email protected] 9 points 5 days ago (2 children)

echo 'main;' | gcc -w -x c - && ./a.out

[–] [email protected] 15 points 2 months ago

it's now or never, I ain't gonna live forever.

💀

[–] [email protected] -1 points 2 months ago

I wouldn't say I'm on OAI's side here, but I'm down to eliminate copyright. New economic models will emerge, especially if more creatives unionize.

[–] [email protected] -3 points 3 months ago (13 children)

I've got old apps that won't work any more.

People give Windows a load of shit... but it's a million times more usable than Android

Where do you run your old Windows Phone apps nowadays? What about new Windows Phone apps?

[–] [email protected] 7 points 3 months ago (2 children)

The downvotes are hilarious. Being able to drop down to C is one of python's selling points, and the title of the post includes the name of the python ref implementation __C__Python.

[–] [email protected] 16 points 3 months ago (2 children)

Generally speaking the OS is your universe and you interact via syscalls. Linking libc is also an option.

In some instances you may need to roll your own, but it's likely to be small and specialized.

[–] [email protected] 8 points 3 months ago* (last edited 3 months ago)

Syscalls are sitting right there, and you can always just link libc...

[–] [email protected] 197 points 3 months ago* (last edited 3 months ago) (12 children)

What if I prefer this?

#define CURLYOPENRIGHTCLOSEDLEFTBRACKET {
#define CURLYOPENLEFTCLOSEDRIGHTBRACKET }
#define CURVYOPENRIGHTCLOSEDLEFTBRACKET (
#define CURVYOPENLEFTCLOSEDRIGHTBRACKET )
#define PERIODWITHPERIODONTOP :
#define COMMAWITHPERIODONTOP ;

int main CURVYOPENRIGHTCLOSEDLEFTBRACKET CURVYOPENLEFTCLOSEDRIGHTBRACKET CURLYOPENRIGHTCLOSEDLEFTBRACKET
  if CURVYOPENRIGHTCLOSEDLEFTBRACKET 1 CURVYOPENLEFTCLOSEDRIGHTBRACKET CURLYOPENRIGHTCLOSEDLEFTBRACKET
    asm volatile CURVYOPENRIGHTCLOSEDLEFTBRACKET
      "mov $1, %%rax\n"
      "mov $1, %%rdi\n"
      "lea message(%%rip), %%rsi\n"
      "mov $4, %%edx\n"
      "syscall\n"
      PERIODWITHPERIODONTOP
      PERIODWITHPERIODONTOP
      PERIODWITHPERIODONTOP "%rax", "%rdi", "%rsi", "%rdx"
    CURVYOPENLEFTCLOSEDRIGHTBRACKET COMMAWITHPERIODONTOP
  CURLYOPENLEFTCLOSEDRIGHTBRACKET
  return 0 COMMAWITHPERIODONTOP
CURLYOPENLEFTCLOSEDRIGHTBRACKET

asm CURVYOPENRIGHTCLOSEDLEFTBRACKET ".section .data\n"
  "message: .ascii \"wut\\n\"\n"
  ".section .text\n" CURVYOPENLEFTCLOSEDRIGHTBRACKET COMMAWITHPERIODONTOP
view more: next ›