News for hackers. Stuff that matters.
Re:What Is Null? (2010) by enriquto on Saturday August 03, 2019 @05:35PM (#20602816)
What ever happened to c2.com ?

It used to be one of the best sites on the internet. Now I cannot even read it with and ad blocker.

Re:What Is Null? (2010) by starsinspace on Saturday August 03, 2019 @05:48PM (#20602881)
It was reworked to use so-called "modern web technologies".
Re:What Is Null? (2010) by donio on Saturday August 03, 2019 @05:53PM (#20602906)
SecondSystemEffect
Re:What Is Null? (2010) by wffurr on Saturday August 03, 2019 @05:41PM (#20602839)
Works fine for me. You have to enable JS now tho.
Re:What Is Null? (2010) by louiz on Saturday August 03, 2019 @11:27PM (#20604253)
Enable JS to, LITTERALLY, just display black text on white background. No image that loads when you scroll or whatever, no fancy sidebar that scrolls weirdly and annoys you, nothing. Just plain text. And you need javascript.

That’s absurd.

Re:What Is Null? (2010) by enriquto on Saturday August 03, 2019 @05:42PM (#20602846)
Not really. I am using umatrix, and after "enabling everything", all that it shows is the spiral loading thingy.
Re:What Is Null? (2010) by jraph on Saturday August 03, 2019 @05:54PM (#20602910)
Alternative way to access the content:

1) curl -s http://c2.com/wiki/remodel/pages/WhatIsNull | jq -r .text

or:

2) Go to http://c2.com/wiki/remodel/pages/WhatIsNull

In the web console :

    document.body.textContent = JSON.parse(document.body.textContent).text
    document.body.style.whiteSpace = "pre-wrap"
---

I hope one day we will have some kind of standardized markup language that allows presenting text in a browser in a plug and play way… text/plain for the most basic stuff would do, and we could add some kind of tags to have stuff like italic / bold parts and titles, and links, too.

Re:What Is Null? (2010) by enriquto on Saturday August 03, 2019 @06:08PM (#20603003)
> I hope one day we will have some kind of standardized markup language that allows presenting text in a browser in a plug and play way… text/plain for the most basic stuff would do, and we could add some kind of tags to have stuff like italic / bold parts and titles, and links, too.

You should mark this as sarcasm or some young "data architects" will not understand your point here.

Re:What Is Null? (2010) by jraph on Saturday August 03, 2019 @06:21PM (#20603086)
This reminds me of a comment from StavrosK 4 months ago:

"I will never stoop so low as to telegraph my own joke."

https://news.ycombinator.com/item?id=19508172 (funny discussion by the way - that was when Cisco "fixed" a vulnerability by blocking curl's user agent).

Re:What Is Null? (2010) by dreamcompiler on Saturday August 03, 2019 @08:04PM (#20603552)
This "markup language" idea sounds intriguing. Perhaps we should form a committee to design it, and then a consortium to standardize it. It could even be promulgated World Wide!
Re:What Is Null? (2010) by dreamcompiler on Sunday August 04, 2019 @07:32AM (#20605833)
I think we're going to need styles too, so that individual roles (like headings and paragraphs) don't have to constantly restate their font info.

But it's absolutely essential that the styling language not be turing equivalent! That would be a nightmare. So it must have a minimalist design.

Re:What Is Null? (2010) by wruza on Sunday August 04, 2019 @12:08AM (#20604373)
Please add simple scripting for form validation.
Re:What Is Null? (2010) by dreamcompiler on Sunday August 04, 2019 @07:18AM (#20605774)
Good idea. Scheme would be a good choice.
Re:What Is Null? (2010) by jraph on Sunday August 04, 2019 @02:44AM (#20604796)
You mean you want to run arbitrary code on a user's computer behind their back? Sounds terrible.

Forming the committee does not need script validation.

Re:What Is Null? (2010) by dreamcompiler on Sunday August 04, 2019 @07:27AM (#20605811)
We could run the code in a chroot environment that simulates the whole machine. It would be a safe place to play. We could call it something cute like "sandbox." Naturally it would be resource limited so code couldn't consume all your memory or CPU cycles. That would be completely under user control. People might want code to show ads, but the user could limit them to 100 ms of load time, 5 seconds of wall clock time, and no more than 10% of the screen.
Re:What Is Null? (2010) by jraph on Sunday August 04, 2019 @08:03AM (#20605974)
What browser would go to great lengths to implement such a sandbox to run a code which the user does not care about and for which they have no use anyway?

People put "no ads" signs on their mail boxes. Do you really think they'd see such a thing as a feature? Crazy stuff, no browser on their right mind would shoot themselves such a bullet in the foot. People would immediately turn to the competition, should such a thing happen.

What next? Document viewers weighting several megabytes? Containing a full-fledged garbage collector?

I'd say let's keep things simple. People like simplicity, and stuff that works and that does not freeze or crash every other hour.