recentpopularlog in

kme : theweb   80

I've talked and written recently about why "just pick[ing] up Lua or Python" was... | Hacker News | https://news.ycombinator.com/
JS, in contrast, after stagnation, has emerged with new, often rapidly interoperating, de-facto (getters, setters, array extras, JSON) and now de-jure (ES5) standards, the latter a detailed spec that far surpasses C and Scheme, say, in level of detail (for interop -- C and Scheme favor optimizing compiler writers and underspecify on purpose, e.g. order of evaluation).
javascript  lua  python  tcl  theweb  history 
november 2017 by kme
Where Tcl and Tk Went Wrong (2010) | Hacker News | https://news.ycombinator.com/
I've read that he'd wanted to just use Scheme, but that they needed the language to have "Java" in the name, as well as curly braces. So, we got Javascript.

Also, given that DSSSL was an early contender against CSS (and a great deal more powerful), we could have basically had Scheme there too. https://blog.cloudflare.com/the-languages-which-almost-becam...

Lastly, because S-expressions can represent everything that is representable in SGML/XML/(X)HTML, but more succinctly, we could have basically had Scheme instead of HTML.

Imagine if, instead of JS/HTML/CSS, we had... Scheme. I'm pretty sure that the alter universes where this happened also all have peace, warp drives, and working cold fusion.


From Eich:
Study history or you, too, may be doomed to repeat it:

https://devchat.tv/js-jabber/124-jsj-the-origin-of-javascrip... (transcript at bottom)

https://brendaneich.com/2012/04/the-infernal-semicolon/#comm...

Netscape management gave "make it look like Java" orders. There was no time, on top of this. Last (more below in another reply) no extant command line interpreter was ready to be put in a browser. Way too many non-portable OS dependencies, unsafe FFI, etc. It was JS or bust (aka VBScript).

Thats actually not totally true. Internally, Tcl has two value types, string representation and actual value representation. Everything DOES have a string-representation though- some are made up (like file handles, fileX) and some are just ASCII forms of the values underneath (like integers).

Tcl is cool because you can manipulate the string form of values incredibly easily, but people confused this with "Everything is a string". It should be "Everything can be manipulated like a string".
tcl  programming  scripting  language  thestoryof  alsoran  vs  javascript  theweb 
november 2017 by kme
syntax - In a URL, what is // for? - Super User | https://superuser.com/
Protocol-less URLs are now seen as an "anti-pattern" (https://www.paulirish.com/2010/the-protocol-relative-url/), but anyway, this was interesting.

More recently, it could be argued that the double slash does have a role. Google recommend (to avoid accidentally calling insecure content from a secure page, for example) omitting the protocol from embedded resources (stylesheets, js etc), like this

<script src="//www.google.com/js/gweb/analytics/autotrack.js"></script>

So it is now apparent that such a protocol-less URL is a fully qualified URL and not a relative URL (which would begin with a single slash).
interesting  http  url  protocol  theweb 
november 2017 by kme
The Web Is Dead. Long Live the Internet | WIRED
AN AMUSING DEVELOPMENT in the past year or so — if you regard post-Soviet finance as amusing — is that Russian investor Yuri Milner has, bit by bit, amassed one of the most valuable stakes on the Internet: He’s got 10 percent of Facebook. He’s done this by undercutting traditional American VCs — the Kleiners and the Sequoias who would, in days past, insist on a special status in return for their early investment. Milner not only offers better terms than VC firms, he sees the world differently. The traditional VC has a portfolio of Web sites, expecting a few of them to be successes — a good metaphor for the Web itself, broad not deep, dependent on the connections between sites rather than any one, autonomous property. In an entirely different strategic model, the Russian is concentrating his bet on a unique power bloc. Not only is Facebook more than just another Web site, Milner says, but with 500 million users it’s “the largest Web site there has ever been, so large that it is not a Web site at all.”
theweb  datasilos 
december 2016 by kme
Why I hate your Single Page App — Medium
The single most important feature of the web is that you can link to individual things. Every important concept within your application should be a possible entry point. This enables anyone, anywhere, to use it as the target of a link. The fact that a user can move forwards and backwards through the history of the things they have visited is not a bug, it’s an essential feature.
javascript  webdevel  spa  opinion  theweb 
january 2016 by kme
Insane Coding: OAuth - A great way to cripple your API [http://insanecoding.blogspot.com/]
If you're looking to implement authorization for your API, I recommend to sticking with well understood secure designs, such as HTTP Basic Authentication over SSL/TLS (or HTTP Digest Authentication).

In order to achieve a situation where users can securely authorize third party software, without giving over their personal credentials (passwords), I recommend that these services have a page where they can generate new credentials (keys) which the user can copy and paste. They can then name these keys themselves (avoiding application registration hassle), and set permissions upon them themselves. Since the user is the one initiating the key creation, and copying and pasting it themselves, they cannot fall prey to a man-in-the-middle attack where the third party software initiates the authorization process.
oauth  security  theweb  authentication  webdevel  protocol  advice 
august 2014 by kme
The Web Is a Customer Service Medium (Ftrain.com)
"Brace yourself for the initial angry wave of criticism: How dare you, I hate it, it's ugly, you're stupid. The Internet runs on knee-jerk reactions. People will test your work against their pet theories: It is not free, and thus has no value; it lacks community features; I can't believe you don't use dotcaps, lampsheets, or pixel scrims; it is not written in Rusp or Erskell; my cat is displeased. The ultimate question lurks beneath these curses: why wasn't I consulted?"
That's what I tell my Gutenbourgeois friends, if they'll listen. I say: Create a service experience around what you publish and sell. Whatever “customer service” means when it comes to books and authors, figure it out and do it. Do it in partnership with your readers. Turn your readers into members. Not visitors, not subscribers; you want members. And then don't just consult them, but give them tools to consult amongst themselves. These things are cheap and easy now if you hire one or two smart people instead of a large consultancy. Define what the boundaries are in your community and punish transgressors without fear of losing a sale. Then, if your product is good, you'll sell things.
The days of the web as all-purpose media emulator are numbered. Apps on mobile are gaining traction; the web browser, despite great and ongoing effort, will not become the universal platform for everything ever. Apps provide niche experiences. People apparently like niche experiences enough to pay for them. This is serious.

Sadly, mobile apps, as a class of software, are less free than many would like, in terms of both freedom to tinker and freedom from payment. This upsets people who are commited to the WWIC web, but for other people, like publishers who have been told that they “don't get it” for a decade, the idea of a defensible territory, a walled garden, looks just swell. That the new thing might make, instead of lose, money is a morale booster. So media properties are migrating into these apps, where boundaries between reader and publisher can be defined and enforced. TV is migrating back to TV, but “smarter.” To read a book people will turn to their phones. But the web is where they will go to complain.
wwic  theweb  internet  culture  trolls  redesigns  opinion  groupthink 
august 2013 by kme
Learn to Program HTML in 21 Minutes
"If people can't get a plug-in to work on their Windows machine or can't figure out how to record from a microphone on their PCs then surely you must have a plan for dealing with all the support emails that they'll be sending to your webmaster," we said.
webdevel  html  plugins  theweb  thewaythingswere 
may 2013 by kme

Copy this bookmark:





to read