Dima

26K posts

Dima

Dima

@akater

Emacs, Gentoo, GNU, King Crimson, libertarianism, Lisp, mathematics, RedLetterMedia https://t.co/lLWDwY8t8y

Katılım Şubat 2009
96 Takip Edilen537 Takipçiler
Dima
Dima@akater·
@transitracer Why “advising” rather than “redefining”?
English
1
0
0
16
Dima
Dima@akater·
Я в целом не особо совместим с капитализмом. Чтобы быть совместимым, надо делать то, чего люди хотят (хотят достаточно сильно); я же немало лет приоритизирую то, что сам считаю важным.
Русский
0
0
4
29
Keruis
Keruis@yutongwu111140·
I got expelled from the C++ community for using two-space indentation, putting if on the same line, and using macros
Keruis tweet media
English
57
16
352
46.2K
Dima
Dima@akater·
@leomeoweth @tiensonqin @logseq Yes. Not everyone's sessions are that long but still, there's little reason to terminate a session. That's a different modus operandi. Note that such an “app” can be loaded into Emacs at any time, without restarting. And modified, too.
English
0
0
1
109
Dima
Dima@akater·
@leomeoweth @tiensonqin @logseq Normally, my Emacs session lasts several months or weeks (as long as my living conditions allow, basically). This is not terribly unusual for Emacs users. I think that might explain quickly why some people prefer Emacs over Neovim.
English
1
0
0
118
leomeow.eth
leomeow.eth@leomeoweth·
@akater @tiensonqin @logseq it depends on task, why? i’m using nix rn, so i guess most of the time i only use it to change only a few things in my conf and that’s it. but nvim is actually extremely fast to do those types of stuff
English
1
0
0
88
Dima
Dima@akater·
@ZolotoyEveryday Эта картинка говорит, что πr² < 4r². Поэтому она даёт оценку π < 4. Но она не даёт оценку π > 3. Во всяком случае, я её не вижу. А вы видите?
Русский
1
0
5
741
zolotoyeveryday
zolotoyeveryday@ZolotoyEveryday·
мне было сегодня лет, когда я визуально представила формулу площади круга. даже в моей физмат школе некоторые формулы нам просто давали, не объясняя, а мы запоминали, не думая
zolotoyeveryday tweet media
Русский
23
8
538
33.1K
Dima
Dima@akater·
@msimoni ? There is no difference. For a hashtable, the equality predicate for keys must be provided. You can't provide such for arbitrary objects.
English
1
0
0
76
Manuel Simoni
Manuel Simoni@msimoni·
One of the biggest differences between the Lisp and Unix traditions is that in Lisp a name may contain any characters whatsoever without restrictions (you can even have a name that's the empty string), whereas in Unix you always have massive restrictions on the characters you can put into a name, and those restrictions explode combinatorially if you need to bridge multiple namespaces. Sad! Even Lisp could be improved though by allowing arbitrary objects as names, and not just strings. Why shouldn't you be able to use a picture or a structured datum as a name?
English
9
1
32
3.9K
leomeow.eth
leomeow.eth@leomeoweth·
@tiensonqin @logseq still have no clue why someone prefers emacs over (neo)vim… not trying to offend, just curious about emacs benefits over vim
English
3
0
0
325
Dima
Dima@akater·
@almighty_lisp Is Emacs, people define configuration varibles in their init. (There's a `custom` feature for most vars, but no matter.) They expect those to NOT be reinitialized when an Elisp library is loaded.
English
1
0
1
79
Dima
Dima@akater·
@almighty_lisp Sure, I never meant “by accident”. A user might want to define variables in advance. That's not going to happen by accident. Again, just look at Emacs Lisp (which has no packages but that is not terribly important here).
English
1
0
2
54
Almighty Lisp
Almighty Lisp@almighty_lisp·
COMMON LISP BROS WHAT IS THE VALUE OF DEFVAR OVER DEFPARAMETER?
English
5
0
18
1.4K
Dima
Dima@akater·
@almighty_lisp “One package per file” is a terrible restriction uncharacteristic for Lisp; still, even if someone goes with that for some reason, a user can nevertheless define a package early, in a compatible way, and initialize the variable to whatever value the user wants.
English
1
0
2
68
Almighty Lisp
Almighty Lisp@almighty_lisp·
@akater IN A ONE-PACKAGE-PER-FILE SYSTEM IT IS UNLIKELY THAT YOU NEED TO WORRY ABOUT RUNNING INTO AN ALREADY-DEFINED VARIABLE BUT I CAN UNDERSTAND THAT CONCERN IN A MOTHER-OF-ALL PACKAGE SYSTEM THAT COULD EXPLAIN MY CONFUSION
English
1
0
0
47
Dima
Dima@akater·
@almighty_lisp When I define a valiable I can't be sure it won't be defined already at the time this particular code runs. This is why I always start with defvar, and use defparameter in special cases only; and they better get non-special with time.
English
1
0
1
44
Almighty Lisp
Almighty Lisp@almighty_lisp·
@akater WHY DO YOU OFTEN WANT THE BEHAVIOR OF DEFVAR RATHER THAN DEFPARAMETER?
English
1
0
1
81
Dima
Dima@akater·
@msimoni …not just “complicated”; that's a relavtively minor issue. It becomes straightforwardly ill-defined. Equality for each “structured object” has to be defined individually. There is no universal definition thereof.
English
1
0
0
67
Dima
Dima@akater·
@msimoni > Why shouldn't you be able to use a picture or a structured datum as a name? 1. Why can't you dump those in a Common Lisp compiled file? (The techincal term is “externalizable object”.) 2. Name equality becomes complicated for no good reason.
English
1
0
0
53
wegfawefgawefg
wegfawefgawefg@wegfawefgawefg·
@_saagarjha id like to interject. this doesnt make any sense. js is c family syntax on a vm. that doesnt make it a lisp. python and js are both c family languages on a vm, extremely similar. same as java and lua. haskell is not a lisp. this doesnt even make sense
English
4
0
2
1K
Saagar Jha
Saagar Jha@_saagarjha·
I will not be taking questions at this time.
Saagar Jha tweet media
English
44
156
3K
108.7K
Dima
Dima@akater·
@ibuildthecloud You're not the only one with this opinion. To me, the aversion to sexp syntax is the most baffling aspect of programming culture. It's a mystery I do not expect to be resolved in foreseeable future.
English
0
0
3
112
Darren Shepherd
Darren Shepherd@ibuildthecloud·
The readability of lisp syntax just seems low. Is it just me?
English
16
0
20
4.3K
Dima
Dima@akater·
@SandyofCthulhu I was 12 when I saw The Phantom Menace (in the theater). Watched OT on VHS soon. Some years later, I saw Attack of the Clones in the theater. I was shocked to see Yoda lightsaber fight, and didn't bother watching Revenge of the Sith in theater later.
English
0
0
0
28
Sandy Petersen 🪔
Sandy Petersen 🪔@SandyofCthulhu·
Compare to The Mummy released the same year. We discussed that for weeks over lunch. But we, nerds, geeks, and fans, agreed quietly to pretend the Phantom Menace never existed. That’s how bad we took it. When Attack of the Clones was coming out, we did not show the trailer on our tv screens. What was your experience? 3/3
Sandy Petersen 🪔 tweet media
English
138
12
771
38.9K
Dima
Dima@akater·
@Neko_Tet There are several package managers (three, at least). Packaging software in any of them requires certain expertise. It should be done by package maintainers. I think their efforts are currently underappreciated.
English
0
0
1
508