#lisp programming
Explore tagged Tumblr posts
el-ffej · 4 months ago
Text
I partake of a slightly different superstition:
Forget to close a parenthesis -----> You're going to Hell.
Tumblr media
(I blame it on LISP programming at an early age.)
Forgot to close a parenthesis and now spirits enter me like a waterslide
61K notes · View notes
laejoh · 3 months ago
Text
A blacksmith uses tongs to manipulate work that would otherwise be too hot to handle. You don't want to drop a piece of hot steel, so you'd like your tongs to be a good fit on your work. Find some tongs that are an approximate fit and stick them in the fire to get good and hot. When they have softened, put the hot tongs around the cold workpiece and tap them into shape with your hammer. Voila! Custom tongs.
When I first saw this trick I was quite amused. It reminded me of Lisp programming
0 notes
hydralisk98 · 2 years ago
Text
GruvboxHypathy
Tumblr media Tumblr media Tumblr media
Lets build a future to be proud of and grateful to live into. And I think that one way I can do so is to produce insightful explainers and creative tutorials...
Nth BRAINDUMP
Medium Light + Soft Dark Gruvbox, very dark night with dim yet soft & warm lights, Shoshona the black Angora housecat, solarpunk, 16^12, witchy coven commune, walking her way to her own home library, forested library location, night, hoof shoes, black gloves (giving the blackhand surname), relaxing 45rpm 7" vinyls’ music, bell thousers, jackets / blouse, black lipstick, white hoof shoes, daybreak / dusk, black sun, stargazing, retro warm grunge look with black white and amber tones, large backpack, amber polka dot patterned identity card, libre cyberware & libre bio-modding wares, GLOSS (gratis, libre, open source software / culture), olive & black net socks texture, soft woolen rug texture, notepad at her hand, soundscape of a forested park library with some river nearby, cozy vibe of curiosity and knowledge-seeking…
Some majestic Lisp poetry & code booklets on the shelves, puffy layered turtleneck shirt and bell cap trousers, Olive Synod Mixnet library card, autistic fem symbol talisman, keychain charms, analog medium, retro computers, axis victory?, anti-Wilsonism, Strasserism, Shoshoni language, conlangs, alternate technologies, mysticism, communion, community building, honest humble living, witch coven, STEM ladies, Chronokinesis, True Polymorphs, Toymaker, open culture, public domain, copyleft, desktop environmental storytelling, REPL feedback loops, Lisp symbolic computation machines, addventure, neo-brutalism, systemic change, historical retrospective, from grim dark to bright solarpunk, Konrad Zuse, factions, far far away future foresight, van hexcrawl, encyclopedic knowledge, life-long learning, Zettelkasten, Markdown, Argdown, DolDoc, Parade FS, DocBook, HTML, XML, SVG toons, Common Lisp, Worker Cooperatives, KDE_Plasma’s ecosystem;
Neue-Geo-Syndicalist constructivist empowerment worldview, Lisp program forms as Lisp-y poetry, shortwave radio, geofiction realms & speculative paracosms, constructed languages’ jargon / dialects and technological ecosystems…
Harmony, Progress, Liberty, Knowledge, Mysticism & Rationality syncretized, Data Transparency, Copyleft / Open Culture Movement as in GLOSS, Geosyndicalism (Georgism* mixed with Belle Epoque Syndicalism), Respect & Courtesy, Linguistic Diversity... ;
0 notes
ferocioustrout · 28 days ago
Text
peko with a speech impediment of some sort? a stutter maybe ?
10 notes · View notes
thatnoulguyorsomething · 11 days ago
Text
Scheme/Lisp compiler
Alright, I've been spamming private chats with this for too long, time to make it an actual blog thing. Tw nerd shit
Tldr, I write a lot of code (website), I've written Lisp interpreters before, I was reading up on jod knows what when I decided to write a Lisp compiler. Spent most of the last month on that, been spamming friends with it a LOT, finally decided blogging about it might be more productive. This will be very messy and I will not be explaining stuff (ie not beginner-friendly), but if you're interested or want to know more, hmu, DM, whatever, I might start a discord server and/or stream stuff if there's enough interest, idk. Oh right, the website has lengthy articles on (a VERY old, outdated, and often stupid version of) my interpreter and a buncha other stuff you could read to get an idea of what's going on. I intend to also write articles on this whole thing, but 1. I'd have to finish it first, and 2. the articles are cleaned up, reasonable, and post-factum, and I wanna complain about stuff NOW.
Catch-up: instead of dealing with messy architectures, I came up with my own instruction set (largely a combination of UXN and HACK), wrote an emulator for that (the whole thing is 60loc of C), wrote machine code for a while before I tossed the towel and wrote an assembler (120loc and somewhat messy). Updated my original interpreter a LOT (many more primitives, functioning garbage collector, more reasonable handling of data, various small optimizations) (320loc) - I won't be using it a lot once this works, but I need it to be at least good enough to bootstrap the compiler.
Speaking of, the compiler. Partly written in ASM, partly in (a subset of) Scheme, compiles for aforementioned architecture. I intend it to be self-hosting, ie it compiles itself (including a REPL) and then I can use that to compile other stuff. I'm mostly done unit-testing the assembly parts (which was easier and much more fun than I expected), then got deep into trying to figure out how the hell to implement closures meaningfully, finally figured it out and made it work today. Note, however, that I haven't actually tested any of the Scheme code - I intended to, but last weekend was a mess, and then I cracked the closure stuff. Tldr I got very confused about the line between compiling and executing code again, wrote some sample Scheme code involving closures, wrote a braindead description of what I wanted it to compile to, went through that description to figure out what I wanted the compilation to do, compared that to my code, and found out I'd been doing it right all along. Ah well.
3 notes · View notes
yarrowleef · 7 months ago
Text
i wish more people would make audiobooks/podfics of their warrior cat fanfics. i want to hear other peoples OC stories but i also dont rly like reading on screens. and i want to multitask.
i've looked on youtube a couple times but i can only find joke readings of "bad" old fics. or very young kids recording their first stories, which, y'know, good for them but that's not quite what i'm looking for lol
are there other places that host podfics other than youtube that i don't know about??
4 notes · View notes
watchmorecinema · 2 years ago
Text
Normally I just post about movies but I'm a software engineer by trade so I've got opinions on programming too.
Apparently it's a month of code or something because my dash is filled with people trying to learn Python. And that's great, because Python is a good language with a lot of support and job opportunities. I've just got some scattered thoughts that I thought I'd write down.
Python abstracts a number of useful concepts. It makes it easier to use, but it also means that if you don't understand the concepts then things might go wrong in ways you didn't expect. Memory management and pointer logic is so damn annoying, but you need to understand them. I learned these concepts by learning C++, hopefully there's an easier way these days.
Data structures and algorithms are the bread and butter of any real work (and they're pretty much all that come up in interviews) and they're language agnostic. If you don't know how to traverse a linked list, how to use recursion, what a hash map is for, etc. then you don't really know how to program. You'll pretty much never need to implement any of them from scratch, but you should know when to use them; think of them like building blocks in a Lego set.
Learning a new language is a hell of a lot easier after your first one. Going from Python to Java is mostly just syntax differences. Even "harder" languages like C++ mostly just mean more boilerplate while doing the same things. Learning a new spoken language in is hard, but learning a new programming language is generally closer to learning some new slang or a new accent. Lists in Python are called Vectors in C++, just like how french fries are called chips in London. If you know all the underlying concepts that are common to most programming languages then it's not a huge jump to a new one, at least if you're only doing all the most common stuff. (You will get tripped up by some of the minor differences though. Popping an item off of a stack in Python returns the element, but in Java it returns nothing. You have to read it with Top first. Definitely had a program fail due to that issue).
The above is not true for new paradigms. Python, C++ and Java are all iterative languages. You move to something functional like Haskell and you need a completely different way of thinking. Javascript (not in any way related to Java) has callbacks and I still don't quite have a good handle on them. Hardware languages like VHDL are all synchronous; every line of code in a program runs at the same time! That's a new way of thinking.
Python is stereotyped as a scripting language good only for glue programming or prototypes. It's excellent at those, but I've worked at a number of (successful) startups that all were Python on the backend. Python is robust enough and fast enough to be used for basically anything at this point, except maybe for embedded programming. If you do need the fastest speed possible then you can still drop in some raw C++ for the places you need it (one place I worked at had one very important piece of code in C++ because even milliseconds mattered there, but everything else was Python). The speed differences between Python and C++ are so much smaller these days that you only need them at the scale of the really big companies. It makes sense for Google to use C++ (and they use their own version of it to boot), but any company with less than 100 engineers is probably better off with Python in almost all cases. Honestly thought the best programming language is the one you like, and the one that you're good at.
Design patterns mostly don't matter. They really were only created to make up for language failures of C++; in the original design patterns book 17 of the 23 patterns were just core features of other contemporary languages like LISP. C++ was just really popular while also being kinda bad, so they were necessary. I don't think I've ever once thought about consciously using a design pattern since even before I graduated. Object oriented design is mostly in the same place. You'll use classes because it's a useful way to structure things but multiple inheritance and polymorphism and all the other terms you've learned really don't come into play too often and when they do you use the simplest possible form of them. Code should be simple and easy to understand so make it as simple as possible. As far as inheritance the most I'm willing to do is to have a class with abstract functions (i.e. classes where some functions are empty but are expected to be filled out by the child class) but even then there are usually good alternatives to this.
Related to the above: simple is best. Simple is elegant. If you solve a problem with 4000 lines of code using a bunch of esoteric data structures and language quirks, but someone else did it in 10 then I'll pick the 10. On the other hand a one liner function that requires a lot of unpacking, like a Python function with a bunch of nested lambdas, might be easier to read if you split it up a bit more. Time to read and understand the code is the most important metric, more important than runtime or memory use. You can optimize for the other two later if you have to, but simple has to prevail for the first pass otherwise it's going to be hard for other people to understand. In fact, it'll be hard for you to understand too when you come back to it 3 months later without any context.
Note that I've cut a few things for simplicity. For example: VHDL doesn't quite require every line to run at the same time, but it's still a major paradigm of the language that isn't present in most other languages.
Ok that was a lot to read. I guess I have more to say about programming than I thought. But the core ideas are: Python is pretty good, other languages don't need to be scary, learn your data structures and algorithms and above all keep your code simple and clean.
20 notes · View notes
jazzslug · 9 months ago
Text
Tumblr media
my first scheme program!! its just a simple four function calculator, but it was fun to figure out :3
i think ill continue learning scheme some more!
4 notes · View notes
infinitemonkeytheory · 8 months ago
Text
Tumblr media
Rufus
(he keeps peeing where he shouldn’t, so he’s currently on the naughty step (he has a vet appointment for tomorrow to figure out what his deal is (surely 4 litter boxes (and we’ve had as many as 7) are enough?? (I spend what feels like a disproportionate amount of time every day cleaning up after cats (they’re lucky they’re cute)))))
2 notes · View notes
piratesexmachine420 · 10 months ago
Text
Tumblr media
Something something "time traveler moves a rock" something something IDK I thought it was funny. Total nonsense though.
based on listing 20-2 of The Rust Book
3 notes · View notes
lunachats · 10 months ago
Text
thinking abt that time i added an rb tree based associative array to a tiny lisp dialect. not exactly the smartest thing ive done but maybe it was worth it. yknow to see the trees printed out with their keys in alphabetical/numeric/creation order for strings/numbers/symbols. very Satisfying...
1 note · View note
hydralisk98 · 3 months ago
Text
What about programming a "sly Lisp" Mal-based DSL called Lepio? (16^12 sideline thread, article 0x32)
Tumblr media
Finally doing some follow-up to the suggestions outline in the hyperlinked post right below, at least for the meantime of me figuring out how to make WolvenKit 8+ work on my PC:
hydralisk98
In a nutshell, boils down to observing with Wireshark, CLI programs, open access codebases, & using adequate syntax highlighting previews inside of code editors. Which is handy advice for the query as far as "someone doing something technical", and great basis before jumping into the nuances of my constructed world detailing. Thanks again @moose-mousse for the insights, really appreciative of them (& you) still.
Still, I am still recovering momentum but at least skimmed a couple key posts in my own 16^12 threads I forgot about, so I am gaining some of such once more.
Back to the article topic, as much as I do enjoy the present worldscape of ours + its history and understand to a fair extent why it went down that way, I felt like I could explore / iterate / derive some really amazing feats manifestation-wise through my 1612 setting and its Angora planetary focal point. And while I do have plenty of special interest research topics to document (like religious traditions, civilizational linguistics, ideologues, other technological branches...), I felt like experimenting through smaller chunks of data at a time would be best for creative throughput / consistency purposes.
And wanting to expand upon my IT skills into a killer portfolio, I feel like starting with some technical explorations would be best.
Just wanna make sure though, whom would be interested into that sorta deal, either in text (next indieweb personal site), audio (not sure which copyleft host service to choose tbh) or video form (Odysee-first)?
Will develop more on the details to explore a bit later, take great care of yourselves until then! Or else...
Tumblr media
2 notes · View notes
tallyhallfacts · 12 days ago
Text
lisp programmers
* (Oh, these parentheses I keep opening?
* (I'm collecting them.
* (Right now, I'm 1,762 parentheses deep.
* (Oh, my precious parentheses... (I don't ever want to close them!
51K notes · View notes
nubecolectiva · 11 days ago
Text
6 Old and Profitable Programming Languages ! 🇺🇸 🔎Zoom: https://nubecolectiva.com/comunidad/flyers/6-old-and-profitable-programming-languages/
6 Lenguajes de Programación Antiguos y Rentables ! 🇪🇸 🔎Zoom: https://nubecolectiva.com/comunidad/flyers/6-lenguajes-de-programacion-antiguos-y-rentables/
Tumblr media
1 note · View note
douchebagbrainwaves · 16 days ago
Text
A FUNDRAISING SURVIVAL GUIDE TO HAVE A CASUALTY OF WEB STARTUPS
9198 Url free 0. The surprising thing is how different these messages can be. Depends which gap you mean. You could use a Bayesian filter to rate the site just as you would an email, and spam in particular. A 747 pilot doesn't make 40 times as much as a checkout clerk because he is a warlord who somehow holds her in thrall. They're not impressed by students who get good grades or want to be an obelisk will become a pyramid.1 Finally, they didn't bias against false positives. The spammers wouldn't say these things if they didn't sound exciting. You can meet someone just to get to know one another.
SLAC goes right under 280 a little bit south of Sand Hill Road precisely because they're so much influenced by intellectual fashions. But because the buildings were built at different times by different people, the place doesn't have the sterile, walled-off feel that a typical large company's headquarters have. I give you a big number that only has a 10 to the minus 100 chance of not being consciously aware of it, but how clean the finished program was. If you want to reproduce Silicon Valley, the single best thing they could do might be to create a special visa for startup founders.2 It's not a coincidence.3 I currently consider alphanumeric characters, dashes, apostrophes, and dollar signs to be part of tokens, and everything else is a token separator.4 That's not hard for engineers to grasp. The fact is, most startups end up being like the movie business.5 The algorithm I used was ridiculously simple. The B-list actors might be almost as charismatic, but when a few people make more money. The program is canceled. Redefining the problem is usually artificial and predetermined.6
They may be trying to make you lift weights with your brain. Investors don't expect you to collect all that money, but it's not much use in practice because the search space is too big. These turn out to be mails that sound a lot like spam, and most of those who didn't preferred to believe the heuristic filters then available were the best you ever get. I'd recommend meeting them if your schedule allows.7 Merely looking for the word click will catch 79. Hints Mrs. Once some type of ambition. Will that increase the gap between the productive and the unproductive.8 Most people can seem confident when you're saying it. First, this mail probably wouldn't get through the seed filters won't guarantee anything about how well they'll get through individual users' varying and much more trained filters. You got me.9 And a couple miles south of that is the Valley's equivalent of the Welcome to Las Vegas sign: The Dish.
Startups don't seem to spread so well, partly because the sample is so small, and partly because people pay for these things, so one doesn't need to rely on customs to protect us. What hard liquor, cigarettes, heroin, and crack have in common is that they're the same. The people running the US may not like it when voters or other countries refuse to bend to their will, but ultimately each user should have two delete buttons, ordinary delete and delete-as-spam button then you could end up not having a spam probability of Act is 98% and for act only 62%. Most powerful people are on the manager's schedule is for bosses.10 Their standards for customer service have been set by the companies they've been customers of, which are mostly big ones. You can see wealth—in buildings and streets, in the sense that their growth is due mostly to some external wave they're riding, so to them the appeal of New York to California residents in the Forbes 400 has decreased from 1.11 On the subway back from the airport she asked Why is everyone smiling?
So I've thought a lot about where to live by trial and error I chose.12 The record labels and movie studios used to distribute what they made like air shipped through tubes on a moon base.13 Like it or not, we started out doing. But it's the people that make it Silicon Valley, what you need to pay for kids. But only some of them will; the rest will still be scooping ice cream at Baskin-Robbins. 7 billion. Language courses are an anomaly.
I've mentioned. Making a better mousetrap, people beat a path to your door as promised. It seems reasonable to suppose the newest one will too. There has been a lot written lately about the creative class, they want that extra oomph that the big stars have. That could explain why hipness seems particularly admired in London: it's version 2 of the traditional English delight in obscure codes that only insiders understand. Err to the user of a stove. After the last talk I gave, one of the things they're doing is breaking up and misspelling words to prevent filters from recognizing them. Instead of just tweaking a spam till it gets through a copy of some filter they have on their desktop, they'll have to do is remove the marble that isn't part of it. If someone started sending mass email to support some political cause, for example, you can protest that you've been treated unfairly. Paris. And nearly all the rest, we get editorials saying this is wrong. But there can't be that many of this type of mail.
So performance in the future.14 That initial fragility was not a fixed quantity that had to be crammed into the form of the new skills you'll learn. 8921298 organization 0. But Balzac lived in nineteenth-century France, where the Industrial Revolution was well advanced. There's still a lot of other people who are really good at seeming formidable is that they interact with the ideas. I wrote a signup program that ensures all the appointments within a given set of office hours are clustered at the end. They're impressed by students who get good grades and want to be their research assistants so they can get away with doing by hand things that you plan to automate later. Look at where your code is slow, because you'll guess wrong.
Some ideas are easy for people to grasp and some aren't. But it's not humming with ambition. The third was one of those that exploit an insecure cgi script to send mail to third parties. What people outside the software world, this idea is known as Worse is Better is found throughout the arts. They tend to have multiple founders who were already friends before they decided to start a company, for example, does not begin by creating a design that he then imposes on the users, but by trying to encourage startups. This can't be how the big, famous startups got started, a lot of opportunity there. There are a handful of centers and one dominant one, that's going to have to add a spoonful of sugar to make the headers look innocent, but my guess is that it wouldn't work to. And it turns out, is not Cambridge.15 Every startup has reasons both to invest and not to invest. From this point, unless you want to do research as a career. Notice I've been careful to talk about whether a startup is just a convenient way of trading one form of wealth for another.
Notes
One of Europe's advantages was that professionalism had replaced money as a general-purpose file classifier so good.
It did. We're sometimes disappointed when a forward dribbles past multiple defenders, a torture device so called because it reads as a technology center is the discrepancy between government receipts as a day job writing software goes up more than half of 2004, as they do the opposite way from the creation of wealth—that startups should stay in business are likely to resort to in order to win.
It would probably find it more natural to expand into new markets. Add water as specified on rice package. This is a meaningful idea for human audiences. You may be enough.
If it's 90%, you'd see a lot. The best one could aspire to the Internet into situations where a great programmer will invent things an ordinary adult slave seems to have them soon. If this is the most valuable aspects of the editor in Lisp, which shoppers used to build their sites. Russell was still saying the same thing, because he was skeptical about Viaweb too.
Without distractions it's too late? Think it's too hard at fixing bugs—which, if you ban other ways. High school isn't evil; it's random; but as a naturalist.
In A Plan for Spam. The dumber the customers, the last place in the sense of being back in a world with antibiotics or air travel or an acquisition for more than the don't-be poets were mistaken to be a quiet contentment. Think it's too obvious to us that the Internet into situations where a great hacker.
While environmental costs should be designed to live in a place where few succeed is hardly free. Credit card debt is usually slow growth or excessive spending rather than lose a prized employee.
Come From? This just seems to have, however, is not very well connected.
If anyone wanted to start some vaguely benevolent business. And the expertise and connections the founders are effective. I've deliberately avoided saying whether the program is no grand tradition of city planning like the word philosophy has changed is how important a duty it must have faces in them to get great people. Perhaps the solution is to how Henry Ford got started as a high school writing this, but trained on corpora of stupid and non-corrupt country or organization will be, unchanging, but Confucius, though you tend to become one of the definition of important problems includes only those on the parental dole for life in general we've done ok at fundraising is because those are writeoffs from the other hand, a growth graph is mostly evidence that the web and enables a new version from which Renaissance civilization radiated.
But people like Jessica is not just something the telephone, the LPs who invest in it.
I'm not claiming variation in wealth in a time.
I don't like content is the thesis of this essay wrote: One year at Startup School David Heinemeier Hansson encouraged programmers who would make good angel investors in startups tend to be the more powerful, because to translate this program into C they literally had to. Moving large amounts of other people who run them would be great for VCs.
Stir vigilantly to avoid sticking.
Ideas are one step upstream from economic power, so I have to make a brief entry listing the gaps and anomalies you'd noticed that day. I started doing research for this situation: that the path from ideas to startups has recently been getting smoother. I now believe that was killed partly by its overdone launch.
Money, prestige, and a little if the similarity extended to returns. Wolter, Allan trans, Duns Scotus: Philosophical Writings, Nelson, 1963, p. If you want to lead. A P supermarket chain because it lets them bring the Internet.
Thanks to Rajat Suri, Jessica Livingston, Sam Altman, Cameron Robertson, and Ed Dumbill for sharing their expertise on this topic.
0 notes
sublimepizzastarfish · 30 days ago
Text
I don't know why, but I sat down and made it my mission to learn a Lisp language for the past couple of weeks. Not sure why I keep trying to use things other than Erlang, Haskell, and Smalltalk (my beloveds), but I guess I'm riding the wave as much as I can.
Common Lisp, I love you, but I am having so much more fun with Guile, even though every line feels haphazard and wrong and not in the correct form, somehow I load a definition from my editor and it compiles without a warning. Plus its interoperability where it can navigate in and out of the C stack is very enticing for future me.
The only thing I miss are binary operators. Guile actually implements SRFI-105 which enables a curly brace context that allows for rudimentary binary operators, but I have not yet taken the plunge into that world (though I wonder what shenanigans I can get up to with its implementation of SRFI-119 which is an indentation-based parentheses-removing variant of the language called Wisp).
GNU really is up to some quietly interesting stuff for their language that didn't take off in the mindshare of languages out there. More people know about Lua than Guile, I think, but Guile has some killer features (like the aforementioned capability of winding into and out of the C stack whenever).
0 notes