Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
klibertp
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
52 ms
·
571.
▲
by
klibertp
4y ago
> I prefer doing validation in JS most of the time As you should! :) Preferably by using a parser-generator library. Validation is basically just an error mode of parsing, and parsing things with regexes is not only unreadable, but also
572.
▲
by
klibertp
4y ago
That's a standard practice in languages that don't have namespaces. C and Emacs Lisp have both proven to be "working out" for decades despite using prefixes instead of namespace support.
573.
▲
by
klibertp
4y ago
I might be accused of ageism, but honestly, I think the ratio of young and very young programmers to mature ones is what makes for all the tribalism and drama within the community. Of course, there are old folks who still behave like they&#
574.
▲
by
klibertp
4y ago
Same here - I used it when I was writing DHTML on top of PHP 5, then years later when writing my blog, then from time to time when I had to touch the frontend. It's a nice resource for refreshing your memory of the basics, because the
575.
▲
by
klibertp
4y ago
Well, thanks for not telling me anything until the very end. I asked honest, technical questions, didn't expect not to get a single concrete answer over this many posts. Have you been a Lisp or Haskell programmer before switching to Sc
576.
▲
by
klibertp
4y ago
> why developing and maintaining tooling takes resources. Developing and maintaining anything takes resources, tooling is not special at all. Yet, you still didn't say what exactly does Kotlin do that's so resource-intensive
577.
▲
by
klibertp
4y ago
> I think you're vastly underestimating the amount of work required to support a platform like Android. That might be so, but you're not giving me a chance to change my view. I don't know, and don't care honestly, how
578.
▲
by
klibertp
4y ago
> In what world would Typesafe/Lightbend have found the money and resources to pull off even a fraction of what Jetbrains did with Kotlin? Let alone convince Google. What did Jetbrains do with Kotlin that required money and resource
579.
▲
by
klibertp
4y ago
...it seems I also jumped to conclusions, I shouldn't have assumed the negative meaning of that phrase. My mistake, sorry about that.
580.
▲
by
klibertp
4y ago
> I was explaining in a metaphor how I interpreted OP's reason for not liking React/JavaScript. Yes, but you failed to note it's just your interpretation, not what the GP said himself. And you continued by assuming your in
581.
▲
by
klibertp
4y ago
You're being uncharitable for no good reason. If you're not sure if your interpretation of what GP said is true, ask for clarification and stop at that. Your first paragraph is ok, the second was uncalled for.
582.
▲
by
klibertp
4y ago
In most part, but not only. There are biological constraints on how the eye can move, and there are cognitive barriers you cannot overcome (how many "things" you can hold in your working memory at once). The code can be extremely
583.
▲
by
klibertp
4y ago
Raku is a really nice language. I especially like the features that improve safety of the code: gradual typing, subsets, PRE and POST conditions, and defined/undefined checks. Junctions and multimethods are also nice. I have an article
584.
▲
by
klibertp
4y ago
I said it a few times before, but the advent of self-driving bikes is the earliest I'm going to ever ride a self-driving car. If the tech is good enough to balance all the forces that are at work when riding a bike in real time, and wi
585.
▲
by
klibertp
4y ago
Yes, but in the context of Freenet specifically, there's a lot of encryption and hashing involved in every transaction, which are computationally expensive, and there's no CGI equivalent at all (the whole network is basically stat
586.
▲
by
klibertp
4y ago
> If you don't have an education in functional programming, a closure definition is quite a lot to dump on folk. That's true, I agree. It's not good when you have to explain a piece of code to every single developer (or ev
587.
▲
by
klibertp
4y ago
This indeed looks like a good direction. A decade ago Freenet (not sure if it still exists?) had a problem with spam on its equivalent of USENET. It was pretty bad, until they changed the protocol so that it's the sending node that kee
588.
▲
by
klibertp
4y ago
Hidden state is not bad. That's the entire premise of Object Oriented programming: we hide the state with encapsulation and only expose methods that act on that hidden state. Closures are exactly equivalent to objects. (Makes sense, gi
589.
▲
by
klibertp
4y ago
> Try new things. I broadly agree with you here, but I have a minor side-note to make here: while trying new "new" things, don't forget about old "new" things. A technique from the '60s can, and often will
590.
▲
by
klibertp
4y ago
> They were harrasing people to the point of suicide a random person on the Internet said. Meanwhile, another random person on the Internet[1] said KF has a ToS that bans anything illegal from the site. I was unable to independently veri
591.
▲
by
klibertp
4y ago
> If someone stabs me in a park, sure it is a sad state of affairs if no one will call the ambulance, but surely the fellow I should be more upset with should be the stabber, no, and not aloof by-standers? More like, if you go to the par
592.
▲
by
klibertp
4y ago
What's wrong with Discord? Most of the projects I want to follow have Discord server, often connected with an IRC channel. I miss a few features from Slack, but in general I'm happy with Discord. It's still free from what I c
593.
▲
by
klibertp
4y ago
Somewhat related, as history seems to be kept in the same sqlite db as the bookmarks, at least for Firefox. If you want to update the entries there (as opposed to just reading and filtering them) you will want this: https://githu
594.
▲
by
klibertp
4y ago
You're right about the accessibility and other features breaking. You're wrong in saying that (almost) nobody would do this. What (almost) nobody will do is creating an HTML-based rendering engine for windowing (GTK, Qt, wx, etc.)
595.
▲
by
klibertp
4y ago
Industrialization under no-competition doesn't lead to professionalization (if you associate more than just "being paid" with it). When there are no clear metrics of what's good or bad, you can live with that as an amate
596.
▲
by
klibertp
4y ago
You can't scrape HTML out of a rendered bitmap. It's not the only mode WASM can be used, but often all the rendering happens in the compiled code and the page only receives a series of images to display on a canvas. It's Flas
597.
▲
by
klibertp
4y ago
At least for now we still have the yelling matches where people of different faiths can yell at each other without fear of burning at a stake. Getting "cancelled" as a result of yelling the unpopular thing is still less painful th
598.
▲
by
klibertp
4y ago
These two things taken together: > People's expectations are relative to their environment. [...] Similarly, the vast majority of HN users are extremely high-percentile for global wealth and income > Having high standards is a _g
599.
▲
by
klibertp
4y ago
> I would wipe my ass with my own hand That's probably not the best of ideas, however the toilet paper frenzy is indeed extremely strange. If it was that crucial, humanity would collectively explode from all the stuff they could not
600.
▲
by
klibertp
4y ago
> that's pretty unfair. Hilarious. I wonder what a plumber or carpenter would say if you were to complain to them on how unfair your job is, because 10% of your output doesn't show in the finished product, yet you are still pa
More ›