Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
tolmasky
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
66 ms
·
511.
▲
by
tolmasky
10y ago
Couldn't the assert message just say something like ", warning: this is only checked in development". I don't know, requirement of knowing how something works are always kind of tough since a lot of people's first i
512.
▲
by
tolmasky
10y ago
At least when it comes to parsers, it makes sense for Babel to want to be "in control" of their destiny here. Its really hard to draw a line between transpiling and parsing, especially when many of the features you are implementin
513.
▲
by
tolmasky
10y ago
What iPad stand is in the image on the site?
514.
▲
by
tolmasky
10y ago
This is one of the benefits of using a container-based system like the one we designed for https://tonicdev.com . On Tonic, you get the same conveniences displayed here (actually better since all the packages already exist, so n
515.
▲
by
tolmasky
10y ago
We're building tonicdev.com (similar to iPython/Swift Playgrounds). A lot of these ideas are very difficult in the general case. For just one example, we spent a long time reasoning about time traveling (and came up with what we t
516.
▲
by
tolmasky
10y ago
https://tonicdev.com - A Better REPL for Node.js | SF | Full-Time | ONSITE (preferred, REMOTE ok) "Full Stack" has kind of a different meaning to us: We do everything from JavaScript of course (node.js as well as front
517.
▲
by
tolmasky
10y ago
Lots of stuff in the pipeline, any specific feature requests in particular? With regard to performance, are you by chance using Firefox? We have some known issues there.
518.
▲
by
tolmasky
10y ago
We share a similar vision at Tonic that code snippets should be completely runnable. With Tonic embeds ( https://tonicdev.com/embed ) your code is automatically connected to every version of every one of the 300,000 library
519.
▲
by
tolmasky
10y ago
> ore importantly, subscriptions are immoral because the end result is robbing users of any sense of ownership. And as a software developer, you no longer feel compelled to innovate, to improve, in order to convince users to upgrade. I f
520.
▲
The Browser Isn't Feature Complete (The Internet as an Incremental Skill)
(youtube.com)
4 points
by
tolmasky
11y ago
|
0 comments
521.
▲
by
tolmasky
11y ago
Yeah, it was outside the scope of this blog post, but if you look at how its implemented here: https://github.com/tolmasky/generic-jsx/blob/master/generic-... you'll see it deals with both cases.
522.
▲
by
tolmasky
11y ago
In case anyone is curious, I have since posted some additional thoughts: 1. Unifying default parameters with curried named parameters: https://tonicdev.com/tolmasky/default-parameters-with-generi... 2. Using generic JS
523.
▲
by
tolmasky
11y ago
JSX provided a convenient syntax to have named parameters in JavaScript. Additionally, it results in nice data structure literals, and finally, you get the same benefits "for free" in a React app by doing this. The main thing here
524.
▲
by
tolmasky
11y ago
Yeah the use of eval is purely to get it working today . The ideal would be to just change the JSX parser to place whatever is in the JSX tag directly. That would also give you arbitrary expressions: <memoize(f) key = "value&
525.
▲
by
tolmasky
11y ago
Yeah definitely an inspiration (and mentioned twice in the blog post). The main differences (unless I'm mistaken), are the parameter name mapping (which make it easy for differing APIs to interact well) and the idea of separating funct
526.
▲
by
tolmasky
11y ago
Yup, couldn't agree more and that's exactly one of the concerns I'm trying to address in the blog post ("All in all, the resulting effect in my exprience is that currying makes writing code far more pleasurable, but ofte
527.
▲
Generalizing JSX: Delivering on the Dream of Curried Named Parameters
(tolmasky.com)
104 points
by
tolmasky
11y ago
|
28 comments
528.
▲
by
tolmasky
11y ago
A bunch of npm modules now provide tonicExample or tonicExampleFilename, which is used by npm/tonic try it now: https://tonicdev.uservoice.com/knowledgebase/articles/765846...
529.
▲
by
tolmasky
11y ago
Actually it is, at least the npm website. Every page on npm has a "try it now" link that takes you to a page on tonicdev where you can try the package. For example: http://tonicdev.com/npm/canvas - no need to
530.
▲
by
tolmasky
11y ago
If you want to use JavaScript, Tonic ( http://tonicdev.com ) is exactly this workflow. It has every single package on npm already pre-installed (so absolutely no set up - straight to code), and gives you a complete node environmen
531.
▲
Building “Interesting” Previews on Demand with Tonic Endpoint
(blog.tonicdev.com)
3 points
by
tolmasky
11y ago
|
0 comments
532.
▲
by
tolmasky
11y ago
No exactly the same thing but Tonic has similar capabilities using CRIU (checkpoint and restore in user space) for Javascript time traveling: http://blog.tonicdev.com/2015/09/10/time-traveling-in-node.j... It
533.
▲
Tonic now supports classes
(blog.tonicdev.com)
1 points
by
tolmasky
11y ago
|
0 comments
534.
▲
JavaScript Office Hours Thursday
(blog.tonicdev.com)
1 points
by
tolmasky
11y ago
|
0 comments
535.
▲
by
tolmasky
11y ago
This is a great move and hopefully inspires people to take a different look at what versioning is. Right now it serves two masters: marketing and engineering. If everyone just used semver as almost build numbers with meaning, and completely
536.
▲
by
tolmasky
11y ago
Its on line 26 (have to scroll down to see it).
537.
▲
by
tolmasky
11y ago
Here it is in JavaScript (feel free to play around with it): https://tonicdev.com/tolmasky/widest-roman-prime Took me only a couple of minutes since it was mainly just searching for the right npm packages to piece toge
538.
▲
by
tolmasky
11y ago
this is me replying.
539.
▲
by
tolmasky
11y ago
I think you've touched on something key: people's acceptance of bugs is often outweighed by the new features they get. In other words, if the "new functionality" is perceived to outweigh the costs of the lack of reliabil
540.
▲
Tonic, a JS Bin with Npm Attached at the Hip
(johnkpaul.com)
2 points
by
tolmasky
11y ago
|
0 comments
More ›