Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
jhrobert
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
16 ms
·
31.
▲
by
jhrobert
14y ago
If you love the expressiveness of S-expressions but hate the super noisy parenthesis, check the sugar version, called "sweet-expressions". http://readable.sourceforge.net/
32.
▲
by
jhrobert
14y ago
I now understand why GitHub took a $100m investment from VC, they intend to turn it into a dating site. More seriously, there is a trend here, where GitHub is not about sharing software only. It has become a blog, a wiki, a social network,
33.
▲
by
jhrobert
14y ago
Sorry, my explanations were confusing. The thing is I don't "replace" asteriks with HTLM tags, I keep the asterisks visible. If star text star displays star text star in bold (ie, not removing the stars, inserting </b> stuff around
34.
▲
by
jhrobert
14y ago
They lost me at the "nil" section. RubyScript is what we need => efficient code, à la coffeescript, with a Ruby syntax. There is some impedance mismatch between ruby & javascript semantics. Trying to hide this fact has a cost in ter
35.
▲
by
jhrobert
14y ago
It becomes a "markup" language (ala markdown, etc) when the "markups" are removed and replaced by htlm codes. As you noted, in HN, when using stars they get removed and replace by some <i>...</i> stuff.
36.
▲
by
jhrobert
14y ago
One can "style" text without a "markup language". For example star text star <- bold. I went further in http://simpliwiki.com/SimpliWiki
37.
▲
by
jhrobert
14y ago
I really liked that "section" -> "sub section" -> "paragraph" handling. Very unobstrusive. I am yet to study "contenteditable" but I'm glad it lets one designs such mechanisms. Kudos.
38.
▲
by
jhrobert
14y ago
Cool. This leverages JIT compilers ability to generate fast code (at the expense of language expressiveness, for it obviously works well with static style code only). I wonder what a "JavaScript JIT optimized C dialect" would be? Ie. what a
39.
▲
by
jhrobert
14y ago
So. What would be the salary at level 12?
40.
▲
by
jhrobert
14y ago
whoa. Looks like I have a new addiction: "insight porn". whoa.
41.
▲
by
jhrobert
14y ago
What about "hints"? def foo( often int n ): This one would generate both the dynamic & the static versions. Once all call sites stop using the dynamic version, one can move on to strict typing (and remove the "often" qualifier),
42.
▲
by
jhrobert
14y ago
Add "SweetExpressions" and I wonder how far from coffeescript it would get. "SweetExpressions" is probably the best method so far to get rid of excessive parentheses in lisp. See http://readable.sourceforge.net/
43.
▲
by
jhrobert
14y ago
F(x) versus I p -- functional versus imperative, idempotent versus side effect... that's an interesting convention. I believe the mess with optional parentheses is mainly due to the left/righ associative rule. i.e. I have difficulties to pr
44.
▲
by
jhrobert
14y ago
OK, so coffeescript is really slow at implementing "local variables". Humm...
45.
▲
by
jhrobert
14y ago
They could not get Assange, hence...
46.
▲
by
jhrobert
14y ago
Unit Test, sure, but at what "unit level"? I usually prefer "automatized system testing" where fewer "high level" tests involve a lot of code, preferably in a test environment that is close the actual production environment. Of course, when
47.
▲
by
jhrobert
14y ago
Humm... I was talking about "true" good coders (kidding).
48.
▲
by
jhrobert
14y ago
Yes. Actually I limit myself to 79 columns! Not sure why, maybe to escape the idea that 80 is a punch card inherited limit... I am thinking to switch to 72, that's the RFCs limit.
49.
▲
by
jhrobert
14y ago
Good coders work for glory, not money nor power.
50.
▲
by
jhrobert
14y ago
I suspect that two spaces make sense when you also limit the length of line to some maximum below 80. I.e. I suspect that those using 4 or tabs also use long lines. And long lines are not considered very readable these days... As a result,
51.
▲
by
jhrobert
14y ago
var one = 1 var two = 2
52.
▲
by
jhrobert
14y ago
If you dim code instead of comments, you will get some of the benefits of "literate programming". Just try it, it's an interesting experience.
53.
▲
by
jhrobert
14y ago
A while ago I started using my camel cased name: JeanHuguesRobert (some sites don't like jean_hugues_robert) Long and weird enough. Well, too long sometimes. In those cases I revert to my "unix login name" ie jhrobert. But, for twitter, whe
54.
▲
by
jhrobert
14y ago
You don't change people, even loved ones.
55.
▲
by
jhrobert
14y ago
This is quite an amazing achievement. There are a few other dimension to explore beside syntax. Like "are arrays 0 or 1 based?" etc Apparently the author is now part of the opalang effort. They used to have a slightly weird syntax for their
56.
▲
by
jhrobert
14y ago
The results are useless. It tells you that xxx slaves work for you, with xxx beeing something between 20 and 100. This great exageration makes no sense. What would have been usefull is the amount of slaves working for me... full time (versu
57.
▲
by
jhrobert
14y ago
There is a case for "optional typing". It's speed. I guess everyone agree on this one. Better than "strict" typing, sometimes "hints" about the type would be enough. ie: "ii often integer" versus "ii" or "ii integer" From then on, those who
58.
▲
by
jhrobert
14y ago
Sure, the virtue of Empathizing come as a surprise to those who are strong at Systemizing. Active Listening is somehow ok with kids, with adults it smells manipulative to me. For women, as always, it's a different story (kidding).
59.
▲
by
jhrobert
14y ago
There exists tons of "toy" language implementation available online. I wonder why no students came up with a forth or lisp like solution that would have been able to handle nested loops, ifs, etc... When I was in my 2nd year as a CS studen
60.
▲
by
jhrobert
14y ago
Half a century later, people are still overly optimistic about software development. According to recent studies, this is true for everything (and society at large is actually in favor of it). Yet it is particulary visible in computing. Why
More ›