Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
lispm
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
85 ms
·
811.
▲
by
lispm
3y ago
> ticket is like a cookie which identifies you as a user and thus allows you to be tracked local trains, underground trains, busses and ferries here in Hamburg has no regular ticket checks whatsoever. No checks -> they can't trac
812.
▲
by
lispm
3y ago
> So some people have voiced concerns about that being used to profile the movement of Germany's citizens. How would you do that? For example my local traffic system here in Hamburg for roughly 4 million people has almost no ticket
813.
▲
by
lispm
3y ago
There is some SBCL compiler optimizer at work.
814.
▲
by
lispm
3y ago
Some background on what it is: https://stacks.stanford.edu/file/druid:sv429hd6966/sv429hd69... "Knowledge Engineering Environment KEE KEE from Intellicorp is the most widely used of the high-end expert system
815.
▲
by
lispm
3y ago
Interactive interfaces (command line interfaces, etc.) are long available: BASIC, Smalltalk, Prolog, APL, UNIX shells, etc. Some of them also used source level interpreters. One simple difference is that the READ EVAL PRINT LOOP of Lisp wor
816.
▲
by
lispm
3y ago
> Reddit could have switched to a paid Common Lisp variant without any trouble if they'd actually had issues. I thought they had issues. Didn't they? Paid Common Lisp variants tend to get expensive and even for those, the main
817.
▲
by
lispm
3y ago
Clojure uses a high-level data-structure for list like data. Lisp usually uses a very primitive data-structure (two-slot linked list cells). The main point is that Lisp actually has decades old established set of data structures, their oper
818.
▲
by
lispm
3y ago
If such an expression gets indented at all, it would be more like this: (% (- (+ (* x 2) 1) 3) x)
819.
▲
by
lispm
3y ago
> Naughty Dog only switched because they were bought out by Sony who then demanded that they change languages. To reuse a larger code-base, instead of working on their own new platforms for the next systems. > In any case, Common Lisp
820.
▲
by
lispm
3y ago
The first multi-user combat training system (SIMNET) had a Lisp system creating the virtual training worlds. https://news.ycombinator.com/item?id=12040601 https://en.wikipedia.org/wiki/SIMNET
821.
▲
by
lispm
3y ago
It's slightly different: Naughty Dog had proven that they can deliver commercial successful applications (novel platform games on the Playstation with excellent content) using Lisp. They had their own IDE on top of Common Lisp and as a
822.
▲
by
lispm
3y ago
The numeric tower in Common Lisp may surprise us with simple things as addition: (+ #c(10 -1) #c(20 1)) the result of adding these two complex numbers is the integer 30.
823.
▲
by
lispm
3y ago
Usually these limits are based on the capabilities of the underlying platform (like the JVM) or the implementation choice. One of the goals is to have fast function calls and less so to have long arguments lists. Less than 2^16 isn't t
824.
▲
by
lispm
3y ago
> So reduce can be obviated by just letting the function take variable args too. In Common Lisp the max number of arguments can be small. $ abcl Armed Bear Common Lisp 1.8.0 Java 11.0.19 Ubuntu OpenJDK 64-Bit Server VM Low-le
825.
▲
by
lispm
3y ago
so foldl is basically (defun foldl (function value sequence) (reduce function sequence :initial-value value))
826.
▲
by
lispm
3y ago
> Not exactly. That is exactly the point. Lisp syntax works differently. s-expressions are a data language and the Lisp syntax is not defined over characters, but over s-expressions. > i.e. something that looks like lisp. No, it would
827.
▲
by
lispm
3y ago
Most people assume that args are restricted to Lisp syntax and that args are evaluated, like in function calls. But inside a macro form this is not the case: the macro can implement a whole new syntax and semantic -> then to say the encl
828.
▲
by
lispm
3y ago
Sometimes a break-loop is all you have. But usually there is something around it. Typically a Lisp system can run several REPLs at the same time, one might be a break loop. You can define a function in another REPL and use it in the break-l
829.
▲
by
lispm
3y ago
He invented the conditional expression. (print (cond ((> a 10) "a is larger than 10") ((> a 20) "a is larger than 20") (t "a is smaller than or equal to 10"))) COND ta
830.
▲
by
lispm
3y ago
> functions and macros with the SAME general form: (function arg1 arg2 arg3 ...) Macros don't have this general form in Lisp. macros just have a symbol in the prefix form, but the rest enclosed objects are not a simple list of args.
831.
▲
by
lispm
3y ago
TwH
832.
▲
by
lispm
3y ago
April 2022: 12.2 kWh electricity from coal April 2023: 9,4 kWh electricity from coal decreasing coal usage, despite the sanctions due to the Russian invasion...
833.
▲
by
lispm
3y ago
Shutting down all reactors and then a decade later restarting a few is really not a sound strategy to solve climate change problems. Remember, the example of Japan was yours.
834.
▲
by
lispm
3y ago
> Japan and Korea are ramping up their nuclear power Almost. Before the 2011 Tōhoku earthquake Japan had 54 nuclear reactors with 30% of Japan’s electricity output. Of that only 33 reactors are currently possibly operable and of those on
835.
▲
by
lispm
3y ago
I would think that the region where I live (north Germany) could be driven two-three times with renewable energy. Added storage is a matter of time and money. Given that nuclear energy will be slow and extremely expensive to build, we'
836.
▲
by
lispm
3y ago
It's a long game: world wide In 2021, electricity production from renewable grew by 9% Nuclear production grew by 2%. The capacity declined. World wide. It's much better to invest into renewable.
837.
▲
by
lispm
3y ago
> I don't understand why languages don't have a 'version' id as the very first thing, and then you can run appropriate interpreter/compiler given the version. Common Lisp may have that. My Symbolics Lisp Machine
838.
▲
by
lispm
3y ago
Monday was a holiday. I was outside with the bicycle in the afternoon here in North Germany. Strong winds and lots of sunshine. Some wind turbines were not operating -> there was more electricity from renewable energy than Germany could
839.
▲
by
lispm
3y ago
Lisp is old. Thus software from several decades back can run.
840.
▲
by
lispm
3y ago
so it actually is like this: Scheme kept car and cdr. Common Lisp added FIRST, REST, SECOND, THIRD, ..., TENTH and some others to the language standard in the early 80s.
More ›