Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
klibertp
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
36 ms
·
421.
▲
by
klibertp
3y ago
In Elisp, there's no other way, because you cannot create private symbols, everything is public and global. What's even worse is that in the case of name clash, the named entity (variable, function, macro) gets silently replaced
422.
▲
by
klibertp
3y ago
You can cheat with underscores, though. Said another way, you can trick your brain into tokenizing the looooong input by using, as a convention, some kinds of separators. In Elisp, you'll see names-that::have-_a_field_name+in-it. (Beca
423.
▲
by
klibertp
3y ago
When more than half of the words could be removed without losing much meaning, that's too long. And believe me, people actually write those. It's horrible. It's like those science guys who name every single variable x, but in
424.
▲
by
klibertp
3y ago
I still want to be able to tell a coworker to "go past the routers, turn to the left and go past views until you get to models; the one you're looking for will be the one on top of the pile on the right". It would be "wo
425.
▲
by
klibertp
3y ago
Gradle got WAY better with Kotlin DSL. Groovy is a great scripting language with incredibly powerful runtime meta-programming features. If you used Groovy for a project, you could get an experience close to Ruby or Python. However, Groovy i
426.
▲
by
klibertp
3y ago
For a Lisp not to have threading macros, it would need not to have macros, period. Writing these is so trivially simple you can ask ChatGPT to do it and it would get it right on the first try. On a related note: it would be an interesting
427.
▲
by
klibertp
3y ago
System76 keyboard-configurator - a Rust frontend to the keyboard firmware, for laptops at least - is very nice. It doesn't do that much, but it allows you to remap every single key to any other. Fn, Caps Lock, AltGr, Menu everything![1
428.
▲
by
klibertp
3y ago
More like all but 5 or 10 are incomparably unpopular... But I'm pretty bad at statistics, so maybe your conclusion is truer.
429.
▲
by
klibertp
3y ago
Kotlin is widely popular, official language for one of the two dominant mobile platforms. It accounts for 0.37% of all search results gathered by TIOBE. Meanwhile, languages on the first 4 positions account for more than 50% of hits. Langua
430.
▲
by
klibertp
3y ago
Well, historically and technically, Lisps already became popular half a century ago, then they fell from grace. Also, depends on your definition of popularity: anything outside of Top 10 on TIOBE looks like a rounding error compared to the
431.
▲
by
klibertp
3y ago
In Smalltalk, the code lives inside the image. You can dump it to a file/set of files using "file-out" operation, and import it from files with file-in. But the code is never executed directly from the files - it's parse
432.
▲
by
klibertp
3y ago
Or why it should happen...
433.
▲
by
klibertp
3y ago
> Despite my decades of dynamic typed languages, I hate going back to dynamic languages anymore. YMMV. Mine does vary - while static typing is helpful, it still (even with more advanced type systems) leads to boilerplate code that I disl
434.
▲
by
klibertp
3y ago
Truth. Things that require dexterity outside of very controlled conditions (ie. huge factories) are mostly safe from this wave of AI advancement. Things that require human interaction are also safe until uncanny valley is crossed. Even thin
435.
▲
by
klibertp
3y ago
This, plus: reading one book in a year can absolutely be done in less than 5 minutes of reading a day. I've seen books written exactly for this consumption pattern: very short, 1-3 page long chapters, with half being a recap of relevan
436.
▲
by
klibertp
3y ago
> 'Piracy' is absolutely unnecessary for the market to operate effectively, the evidence for that is all around you: physical goods can generally not be pirated! How does the 'economy' work for your Milk and Cereal pr
437.
▲
by
klibertp
3y ago
Mostly agree: the biggest factor in determining "readability" is simply familiarity of the reader with the particular syntax or style of programming. Learning many different languages allowed me to experience the evolution of code
438.
▲
by
klibertp
3y ago
Which secret society has seen 4 decades of "it it breathes and codes, it's hired" business climate with hundreds of billions of dollars behind? It's not like anyone wanted for the September to last for eternity, it jus
439.
▲
by
klibertp
3y ago
The universities in many to most cases do a hilariously bad job at training developers, with results all over the place and very hard to predict. How, exactly, are companies supposed to offer anything resembling the "right" traini
440.
▲
by
klibertp
3y ago
> Many people do not get it, they are always like "you can learn langs after your first within a month" or so In my experience: half a year minimum, and only after your 10th. The amount of uninteresting trivia that you need to
441.
▲
by
klibertp
3y ago
I understand your viewpoint, but I think it's a bit too pessimistic. While we essentially don't know how to consistently write good code and deliver quality products on time (the whole industry, save for some niches, has this prob
442.
▲
by
klibertp
3y ago
> Chasing this is low value busy work. I disagree. We might understand what I meant by "style"[1] differently. As I think of it, it's comprised of things that have an actual, measurable impact on the effort required to dev
443.
▲
by
klibertp
3y ago
They're trained on billions of lines of code - most of them are not very good. I'm using Copilot, and the docstring/docs it suggests are so bad it hurts. If left alone, Copilot would happily generate those thousands of line
444.
▲
by
klibertp
3y ago
You can have the global function and make it work on "chunked partial inputs" while maintaining the state between calls (that state can be hidden in a closure or made explicit as an argument or a receiver - functions in JS can b
445.
▲
by
klibertp
3y ago
> these Java conventions started when no such thing existed in the language. Is there language support for these in the newer Java versions (I'm not up to date with newer features, since I won't be able to use them on Android a
446.
▲
by
klibertp
3y ago
Does anybody know where I can find a good, substantiated, critique of the common Java coding patterns, including on Android? This niche is such a huge mess that simply documenting all the bad things in a single codebase (along with explanat
447.
▲
by
klibertp
3y ago
I guess that's also the reason why OpenAI is MS's in 49% and not 51%. Seems like a tried and true strategy.
448.
▲
by
klibertp
3y ago
I recently installed FreeBSD on an older HP Pavillon. The WiFi didn't work, but the bigger issue was lack of control over fans and cooling. It was meant to be always on and connected with a cable to a router, but it wasn't meant t
449.
▲
by
klibertp
3y ago
I didn't, but isn't this for educational use only (I'm guessing, I can't access the archive of the list)? Cincom seems to offer separate license for students and teachers, I'm unfortunately unaffiliated with any edu
450.
▲
by
klibertp
3y ago
Look, I spent 5 years trying to work with Pharo. Not a few minutes. Yeah, I don't care about Pharo anymore . At all. That's because of what I've been through with it and its community. So please stop telling me I'm lazy
More ›