Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
James_K
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
43 ms
·
721.
▲
by
James_K
3y ago
> APL just has a small handful of symbols with really simple definitions > Scheme actually has a ginormous dictionary by comparison Oh, and also, I should point out that Scheme has no symbols to learn. Quite small compared to the 50 o
722.
▲
by
James_K
3y ago
> isn't making a dsl out of lisp macros rather traditional The idea of a DSL is that it coexists with the regular code. Eg: (some-function (sql-query :select * :from ...)) The language mixes freely with other lisp forms and e
723.
▲
by
James_K
3y ago
First of all, no one is suggesting you get rid of good old +-/* and friends. So more accurate would be: (+ (- (/ b (* 2 a))) (* (/ 1 (* 2 a)) (sqrt (- (^ b 2) (* 4 a c))))) ;; or just (/ (+ (- b) (sqrt (- (^ b 2)
724.
▲
by
James_K
3y ago
The fundamental issue here is discoverability. There is no benefit to having these symbols, since you could easily have some kind of button the UI to switch between symbols and words. It would be far better if you tab completed the actual n
725.
▲
by
James_K
3y ago
> It should be possible in principal with the right implementation Most implementations that do this also support TCO, and I think the process itself goes a little beyond AST manipulation. It's basically just manually combining the
726.
▲
by
James_K
3y ago
> TCO is really just AST manipulation While it is true that tail call relationships can always be represented using goto, it requires that all related code is known to make this conversion. For instance: (defun f (x) (a x) (g x)) (
727.
▲
by
James_K
3y ago
> 0.3.x.y where a bump of x signifies a breaking change, while the bump of y signifies a non-breaking change If only regular version numbers had some way to encode this relationship.
728.
▲
by
James_K
3y ago
I'm confused why people can't also send anything they want over RSS. Unless you are directly scraping their website for updates, I thought they could publish anything to a feed.
729.
▲
by
James_K
3y ago
I can't help but wonder how much of this is intentional sabotage on the part of Google vs how much of it is just RSS itself dying because people don't really like it. The opinions on HN likely don't mirror those of the averag
730.
▲
by
James_K
3y ago
This definitely seems like the sort of change that would break things in unexpected ways. I think the main reason is probably that a lot of websites used tables to do grid layouts before CSS grid was a thing, so having sticky headings would
731.
▲
by
James_K
3y ago
Once again, you are very angry on behalf of people who probably disagree with you about this. I also have to question if you have actually if you've actually seen the change in question. It is the same design with one extra circle adde
732.
▲
by
James_K
3y ago
It's about as tone deaf as spending money preserving a bunch of old stuff that isn't directly useful to anyone nowadays. These critiques apply equally to the monarchy as they do to museums. The fact of the matter remains that chan
733.
▲
by
James_K
3y ago
Branding changes all the time. This is hardly a phenomenon unique to royalty. As for the cost of this, I don't think you'll save very much from your really rather high tax contributions by asking a few people not to change the log
734.
▲
by
James_K
3y ago
> your King was also having protesters jailed for holding blank signs He was not personally doing this. The decision to arrest protesters comes down to the police present at the time, and I believe there was no arrest in the case to whic
735.
▲
by
James_K
3y ago
Then turn off your computer. No features, no bugs, and you'll be much happier too.
736.
▲
by
James_K
3y ago
> No export function. If you really need one, just use a shell script with xdotool and your favorite screenshot application. > Slides with exuberant amount of lines or characters produce rendering glitches intentionally to prevent y
737.
▲
by
James_K
3y ago
> This certainly suggests a different conclusion than "don't buy ccTLDs unless you live there". From the article's conclusion: > Are ccTLDs Ever Useful? > I certainly don’t think it’s a good idea to register a d
738.
▲
by
James_K
3y ago
You could always just donate some money to Tuvalu and use a better TLD.
739.
▲
by
James_K
3y ago
> doesn't seem to understand that country TLDs are actually, at least initially, intended for the people of that country. This is a very odd interpretation of an article which is essentially saying "don't buy ccTLDs unless
740.
▲
by
James_K
3y ago
The issue you face here is one of program inputs. Any time you are passing functions as values, you can't guarantee how exactly the body of a function will execute. In a simple example: (lambda (a) (a (lambda () (b)) (lambda () (c)
741.
▲
by
James_K
3y ago
I don't really understand the whole DID thing. It seems as if the same thing could be accomplished with a public/private key pair (users are identified by the public key and content is signed). What is the actual benefit of having
742.
▲
by
James_K
3y ago
Surprising really, considering I just a window fullscreen on a standard 720p laptop display. I suppose I never bother checking my own websites for this kind of thing, but I imagined other people would (especially if they have actual designe
743.
▲
by
James_K
3y ago
When I say one pixel of left margin, I don't mean there is an extra pixel before the start of text, I meat that there is only one pixel of margin between the left edge of my monitor and the beginning of the page content [1]. If I resiz
744.
▲
by
James_K
3y ago
This page renders with 1px of left margin for me and it's very distracting.
745.
▲
by
James_K
3y ago
> "within" vs "not within" seems like a distraction. It is a quite significant difference. A name bound at global scope exists with only one value. A name bound at function scope can be instantiated with different val
746.
▲
by
James_K
3y ago
> the if comes last and it is a significant ergonomic problem Such is the issue with Forth in general. > You add complexity to the system in order to compensate for its deficiencies It is often true that to make the language simpler y
747.
▲
by
James_K
3y ago
> I don't think I did such a thing. Yes, you were more subtle about it, calling him inexperienced rather than stupid. I see little difference between the two forms of ad hominem and that is what I wanted to point out. > which is
748.
▲
by
James_K
3y ago
By "variable" I mean a name with a value attached. It doesn't necessarily have to mutate. Forth doesn't let you define these within procedures. Values are communicated implicitly on the stack in Forth, where other langua
749.
▲
by
James_K
3y ago
Conceptually, I would say other languages are variable-based. The key feature of a stack is that you can only access the top element, whereas other languages allow you to name multiple things and access them simultaneously (effectively reac
750.
▲
by
James_K
3y ago
I wouldn't call people stupid just because they made a design decision you disagree with. In my view, it is a bad choice to add additional complexity to the language like compiled "if" when you can do something more simple an
More ›