I don't know any Lisps very well but I may have to change that :)
282 karma · joined January 21, 2020
I don't know any Lisps very well but I may have to change that :)
I just wanted to see some context as to why the rate was increasing.
Edit: it was pointed out below that it's probably more influenced by an increase in environmentally damaging activities such as logging.
Edit 2: Yes, I think that murdering peaceful, innocent protestors is a disgusting act. I'm just questioning the article's use of statistics
For example:
.thing { topgap: 10 }
.other { topgap: 10 }
Would have to compile to different things if .thing was in a flexbox and .other was in a grid or a box. Since a lot of HTML is dynamically generated, we don't actually "know" this, and specifying which to use yourself ahead of time defeats the purpose, since you may as well just use the normal CSS properties. This could however work with completely static HTML. Maybe some JavaScript solution could hack on dynamic CSS but I would be sceptical of accessibility and performance in that case.
In the precompiled case, unless all the CSS was outputted using a very limited subset of CSS along with a large "base" CSS file, I don't quite know how it would work.
I hope somebody proves me wrong!
Something to do with touch events not being handled properly maybe?
Iterators change over space, Futures change over time.
In iterator, every time you call 'next' you get a value until the end when you get nothing. In Future, every time you call 'poll' you get nothing until the end when you get a value.
You can use metaprogramming to edit the AST of a Julia program, like Lisp. See https://docs.julialang.org/en/v1/manual/metaprogramming/
This video shows it at 6:33 https://m.youtube.com/watch?v=dKx1wnXClcI&t=6m33s
As a Vim user, I use search all the time, largely because it's so easy (just / and start typing).
I don't have much experience with large code bases, but this looks interesting, and I'll give it a try. If it plays well with Vim emulation it could be great.
They're really useful for rapid prototyping, and also for helping you develop, as you can ask the compiler questions about the hole (like what its type is).
The syntax is just `?name` creating a hole called 'name'.
So you don't have to write the whole program, and you don't need to lie temporarily either! :)
E.g. LibreBoot https://libreboot.org/
> Non-free BIOS/UEFI firmware often contains backdoors, can be slow and have severe bugs. Development and support can be abandoned at any time.
[0] https://www.theguardian.com/business/2016/apr/13/climate-cha...
[1] original source of Guardian article: https://www.smokeandfumes.org/documents/document16
edit: add original source
So it can emit extremely efficient instructions based on this assumption, while CPython struggles along with infinite precision numbers.
Function calls will have a much lower overhead also since it will just be a single `call` instruction.
Here's a couple I remember from somewhere:
SEO expert walks into a bar...
...tavern, pub, taproom, alcohol, beer, wine, vodka...
Also, tangentially related:
A farmer wants to section off part of his field with a fixed length of fence. He is unsure what the best strategy is so he unwisely calls the local university, who send an engineer, a physicist and a mathematician.
The engineer makes a circle with the fence, declaring it to have the greatest area for any given perimeter length.
The physicist makes a straight line as far as the eye can see in either direction, and says that, to all intents and purposes, it goes all the way around the world and he has fenced in half the world.
The mathematician fences off a tiny one metre area around himself, and says "I declare myself to be on the outside".
Programmer's partner: While you're out, could you buy some milk?
And the programmer never returned.
There are other dedicated bagpipe apps but none of them are as frictionless as I'd like.
I started this a year and a half ago and I keep throwing it away and restarting, but I'm hopeful for this iteration.
I haven't got around to making a README yet unfortunately.
account = queryDatabase(email)
updatedUser = update(account)
ping(account)
queryDatabase returns a dictionary. Later on, someone decides that a single username can have multiple accounts, so someone changes queryDatabase to return a list of dictionaries instead of a single dictionary. Now the above code is broken, since update expects a single dictionary. Of course, you could grep through the whole codebase to try and find all the problems, but it would be easier and less prone to human error to rely on the type system to fail, especially if the change was something less contrived, and if changes like this were happening all the time.
The effect of this could be limited by other means (e.g. naming the function better) but type systems are just another way of adding robustness to a program.
You may be interested in a free online MIT course about 'computational thinking' that's being run right now using Julia. [3]
In not affiliated with Julia or anything, just think it's a really good language.
[2] https://benchmarksgame-team.pages.debian.net/benchmarksgame/... (graph at bottom of page)