[ all ][ prog / lounge / softeng ][ Options ][ Home ]

kill unix

1 Name: Anonymous 2018-02-16 23:24
Why do we still put up with the absolute fucking garbage that it UNIX 1.0. It's time for UNIX 2.0. Let me explain: Processes on linux take as input env variables and an array of c strings, print text (the "universal interchange format") to stdout and stderr then they return a single byte.

Processes are the fundamental building blocks of our operating system. All the build systems, init scripts and package managers we have are made out of this. So it's important for it to be solid i.e. it should be done with well typed structured data - not piles of spagetti strings. There's heen so many problems because of it like invocations failing when inputs start with '-' becaues it get misinterpreted as a flag or programs breaking when the file path contains a space.

We should revise the concept of a process to declaratively explain its input in a well typed form, make a new kind of "terminal" to invoke them that isn't based on simulating a 1970s teletype machine (so shit like resizing and scrolling will actually work), have a scripting language that doesn't misintepret fucking everything you write and work entirely based on pasting strings together and then implement a new set of coreutils where things "ls" simply produce a *list* (an actual data type) of files in the directory instead of just some text that it's recommended you shouldn't ever parse.
2 Name: Anonymous 2018-02-16 23:56
it should be done with well typed structured data - not piles of spagetti strings.
There were operating systems like that in the 1970s but the UNIX philosophers wiped them all out. Keywords to look for are orthogonal persistence, typed object store, persistent objects.
We have persistent objects, they're called files. - Ken Thompson
3 Name: Anonymous 2018-02-17 05:09
What do you think about Plan 9 OS?
4 Name: Anonymous 2018-02-17 14:28
5 Name: Anonymous 2018-02-17 14:29
I think it's total shit and the people who bring it up are brainlets.
6 Name: Anonymous 2018-02-18 12:35
Fantastic. Opinion discarded.
Leave this field blank:


1 Name: Anonymous 2018-02-16 06:20
2 Name: Anonymous 2018-02-18 02:14
Leave this field blank:

Emoji thread aka. fuck unicode

1 Name: Anonymous 2017-03-06 18:03
The 5 newest replies are shown below.
Read this thread from the beginning.
97 Name: Anonymous 2018-02-15 18:29

The message in question has to contain a single character from the Indian Telugu language (not included here for obvious reasons). When the message is opened on an iPhone running iOS 11.2.5, the iPhone's native Messages app and certain third-party app including WhatsApp and Facebook Messenger will crash. In some cases, the iPhone will simply revert to its login screen and require you to enter your PIN again.

And last year a bug was discovered that crashes an iPhone with a message containing a combination of emoji.

98 Name: Anonymous 2018-02-15 18:31
99 Name: Anonymous 2018-02-15 18:34
100 Name: Anonymous 2018-02-15 18:36
The message-of-death consists three visible characters: a white flag, a zero and a rainbow emoji, as well as an invisible character, called variation sector 16 or VS16. When the message is received, the VS16 signals the iPhone's Messages app to combine the two emoji into one, which cannot be done and can cause the app to crash and the phone to freeze.

101 Name: Anonymous 2018-02-15 18:36
Leave this field blank:

the chad virgin PHP Python

1 Name: Anonymous 2018-02-14 15:17
the chad PHP inventor
* not even a programmer
* accidentally makes the most popular programming language in the world
* just did it because he wanted to make a cool homepage
* completely forget about it doesnt even program in the last 50 years
the virgin Python inventor
* calls himself dictator for life, pretends its ironic
* names his language after monty python (some weird comedy thing for queers)
* breaks compatabliity splitting his own language into 2, causing massive amounts of work for millions of people
2 Name: Anonymous 2018-02-15 09:02
names his language after monty python
That a fact, huh.....?
Leave this field blank:

Woman Can't Program

1 Name: Woman Can't Program 2017-03-30 23:10
Woman Can't Program
The 5 newest replies are shown below.
Read this thread from the beginning.
44 Name: Anonymous 2018-01-08 04:29
You know how many times I heard that shit?
45 Name: Anonymous 2018-01-08 10:27
Twice. You've heard it twice. And you enjoyed both times you heard it because you deeply associate with it.
46 Name: Anonymous 2018-02-06 19:05
the only code women contribute is code of conduct
47 Name: Anonymous 2018-02-08 07:23
I contribute my genetic code to women using my CoC
48 Name: Anonymous 2018-02-10 06:12
little gitls
Leave this field blank:


1 Name: Anonymous 2018-02-06 18:26
who was that russian guy who made his own language and shilled it on /prog/
i forgot and wanted to read the code
2 Name: Anonymous 2018-02-06 19:06
nikita sadkov. it was actually very impresive.
3 Name: Anonymous 2018-02-07 05:03
yeah i remember it being pretty cool, thanks
4 Name: Anonymous 2018-02-07 21:08
Here have picture of Nikita titties: https://i.imgur.com/T0SktnU.jpg
Leave this field blank:


1 Name: Anonymous 2018-01-31 21:56
One word the forced indentation of c...


Give it up losers. You have literally no argument now. You have no reason not to like python anymore now that bython exists.
2 Name: Anonymous 2018-01-31 22:12
3 Name: Anonymous 2018-02-01 18:03
4 Name: Anonymous 2018-02-05 04:24
I like whitespace but if this is what floats your boat, go for it.
5 Name: Anonymous 2018-02-06 18:27
there's other reasons why i dont really like python (i do like it, but i wish i didn't like it)
Leave this field blank:

stop using if blocks

1 Name: Anonymous 2018-01-30 15:26
Leave this field blank:

goatfinger API for both reading and posting

1 Name: Anonymous 2018-01-23 04:23
Does it have it?
The 5 newest replies are shown below.
Read this thread from the beginning.
4 Name: Anonymous 2018-01-23 19:00
It's just a meme, dude....smh......
5 Name: Anonymous 2018-01-24 01:38
why are you wasting my time?
6 Name: Steve 2018-01-26 09:16
7 Name: Anonymous 2018-01-28 18:34
I have nothing better to do.
8 Name: Anonymous 2018-01-29 03:03
Perhaps you should use your free time to improve yourself instead of hindering others.
Leave this field blank:

if you dont use haskell you're an anti-vaxxer

1 Name: Anonymous 2018-01-13 18:18

another good post by dan luu
2 Name: Anonymous 2018-01-13 21:20
dan luu
dan dan luu
ran ran ruu
3 Name: Anonymous 2018-01-14 15:11
(2014) From L3 to seL4 what have we learnt in 20 years of L4 microkernels?
Further reading:
4 Name: Anonymous 2018-01-17 00:51
5 Name: Anonymous 2018-01-28 22:16
Under certain benchmarks, GHC is slower than C by 2x to 3x, and this GHC slowdown grows non-linearly with problem size

Leave this field blank: