Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
klibertp
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
86 ms
·
931.
▲
by
klibertp
6y ago
> I haven't seen many websites that match the depth and completeness of books yet. Give it time. We're not even one generation into web as a viable knowledge distribution platform. Authors who wrote books for their entire lives
932.
▲
by
klibertp
6y ago
No. Books were the most cost-effective medium for transfering knowledge for a long time, but that's in the past. They were never the most efficient - a few hours of one on one chat with domain expert, possibly with a whiteboard (or, fa
933.
▲
by
klibertp
6y ago
I may be wrong, as it's been some time since I worked with them, but I think XPath is both its own standard, and a part of XSL at the same time. A lot of XSLT deals with selecting nodes from the source and it happens with XPath express
934.
▲
by
klibertp
6y ago
I don't completely understand this sentiment. I mean, when confronted with "rookie devs", surely our focus should be on transforming them into not-rookie devs, not on transforming our tooling into a dumbed-down version... Plu
935.
▲
by
klibertp
6y ago
> it often seems like pandering to the lowest common denominator with generic learnings/advice. I have a huge problem with this and I'm not sure how to fix it. When I start researching something, I don't write about it, b
936.
▲
by
klibertp
6y ago
> would almost certainly be better spent on something else. I'd would suggest to spend that time on learning how to effectively learn new languages. There's more than one way, and I guarantee that afterwards you'll conquer
937.
▲
by
klibertp
6y ago
> Writing, like any other skill, takes time and practice to master. If you can't dedicate yourself full time you will not reach your highest potential. The second sentence here doesn't really follow from the first. I mean, assu
938.
▲
by
klibertp
6y ago
Neither the_af nor I are saying that all the writing should be done without the authors being paid for it. We asserted, twice!, that professional authors and publishing industry are OK. What we say is that the published authors who earn a l
939.
▲
by
klibertp
6y ago
https://en.wikipedia.org/wiki/Cyprian_Norwid > Norwid led a tragic and often poverty-stricken life (once he had to live in a cemetery crypt). He experienced increasing health problems, unrequited love, harsh critica
940.
▲
by
klibertp
6y ago
> take the hope of actually being able to support yourself by writing and no... even the most obsessive of obsessive writers will likely give up, from starvation if nothing else. Millions of fanfiction writers would like to have a word w
941.
▲
by
klibertp
6y ago
I recently read somewhere (maybe on the Wiki?) that there was a study that didn't find any advantage of classical touch typing over self-learned touch typing, in terms of speed of input at least. In other words, nothing is stopping you
942.
▲
by
klibertp
6y ago
So late to the party... Still, I feel like I have a chance to contribute due to my hobby being programming languages (see my blog.) So, a few suggestions: - Smalltalk: I played with Pharo Smalltalk for a bit and enjoyed the experience very
943.
▲
by
klibertp
6y ago
> with minimal effort on your part. Want to get good medical advice? Find two highly regarded medical specialists and ask them independently for a diagnosis and treatment plan. Not two doctors next door. Not two doctors who published ran
944.
▲
by
klibertp
6y ago
> You literally change the language in your program. That's a very different expectation for other kinds of languages. I wonder about that. A few weeks back I read about a coroutines implementation in C, using plain C and lots of in
945.
▲
by
klibertp
6y ago
Well then, what is the difference between a DSL made using a macro system, and one made with dynamic language features, reflection, operator overloading, and similar? Both approaches embed a sub-language into its parent language: both are D
946.
▲
by
klibertp
6y ago
Probably because this is a debug build, but yeah, 25Mb for the executable is quite a lot, considering gforth is 225Kb and J ~2Mb. Well, Xs looks very early in the development, so I think the large list of dependencies is due to an initial e
947.
▲
by
klibertp
6y ago
Numpy is a mini-language, effectively a DSL. It's just that Python offers some features which allow for embedding the DSL into the language, making it an internal DSL. In languages with less flexible/overridable syntax - for exa
948.
▲
by
klibertp
6y ago
I don't think this comment should get downvoted this much - it may sound a bit provocative, but the question is an interesting one, and worth getting answered. > what is this obsession with terse languages It's not an obsession
949.
▲
by
klibertp
6y ago
Looks really interesting! I will definitely play with it tomorrow. I used Forth for a bit in the past, and played with Factor a bit; my impression is that Xs looks a bit like the latter, with some parts from J on top (I don't know K, s
950.
▲
by
klibertp
6y ago
Seems unrelated. Does Java have a compile-time feature that is Turing complete and can be (ab)used to write FizzBuzz? For example, C++ has such a feature: https://gist.github.com/bgaff/2496338 (there's more exampl
951.
▲
by
klibertp
6y ago
...wait, what? That post is about Io, not Racket. I honestly don't understand what is it you're trying to say?
952.
▲
by
klibertp
6y ago
Interesting[1]: > This library defines disposables, composable first-class producers of values with associated external resources that must be allocated and deallocated such as database connections. Several safe abstractions are provided
953.
▲
by
klibertp
6y ago
So, what is it that you don't like about Racket macros? The quote doesn't explain it. Is it the fact that there are some concepts to learn before you can use them effectively? > that precludes hygienic macros. The fact that you
954.
▲
by
klibertp
6y ago
Racket provides a defmacro in its stdlib IIRC, and even if it didn't, you can trivially implement it using syntax-case or syntax-parse with syntax->datum (and the other way around). You either don't really know what you're
955.
▲
by
klibertp
6y ago
Just keep at it. If you really learn quickly, then in a year or two you'll know enough for that to make any difference to a potential employer. Just continue what you're doing, write code, build projects, look out for opportunitie
956.
▲
by
klibertp
6y ago
> but also about how much knowledge you'd need to keep in your head just to read something Yeah, but the effect of this is greatly overstated most of the time. As I said, given enough effort, you can learn - and learn to keep in you
957.
▲
by
klibertp
6y ago
Yeah, I figured it might not be currently possible. I was thinking about something like Scala HList[1], which provides a map/flatMap (which enables for-loop) method for tuples (among other functionality). [1] https://github.
958.
▲
by
klibertp
6y ago
Well, readability is like this. It's not a property of the code alone, it's an emergent property based on both the code and your knowledge as a reader. It's very, very subjective, which our little disagreement here proves. Ba
959.
▲
by
klibertp
6y ago
You're exaggerating. There's nothing complicated in the code - it looks straightforward to me, and I've never written an "atlas packer". The only slightly confusing line is the one before the last: I believe you sho
960.
▲
by
klibertp
6y ago
> I really like that they are adding things like check, assert, validate into the language itself. I'm not sure. Contracts are supported in some other languages as a library feature; recent examples I encountered were Elixir, Scala
More ›