In elixir we have Enum.filter (run a predicate over the enumerable keeping the things that match the predicate) and Enum.reject (run a predicate over the enumerable removing the thing that match the predicate)
I think since we have a pair of them and reject is so obvious it helps me remember which way filter works.
I think Enum.keep and Enum.reject might be a better pair, but I've used them enough to internalize it now
I still remember when we learned logo in elementary school. I had to get my mom to go out and buy a 3.5" disk so I could save my programs.
When I realized that all of logo was actually saved on that disk and I could continue playing with the turtle at home, I was amazed.
Drawing little things, realizing that I was repeating stuff and breaking it into little functions so I could draw them again more easily. I was learning the essentials of programming and didn't even realize it.
I remember learning LOGO in school. There was a single 4K computer for the entire school, so we learned how to program by calling out turtle commands to the teacher who would draw the results with a marker on a sheet of plastic on an overhead projector.
At the end of that exercise, the accumulated commands would be taken to the computer (in another part of the school) and entered into the computer, and eventually we'd get a plotter printout showing the results.
Those early days of computing feel like we were like being on another planet.
We had it (or one of the clones) in middle school, but it was a demo version that had saving disabled. Half of each class was messing with the turtle. The other half was writing down the code with pen and paper so that we can have it graded.
Also as a child, I was amazed by the associative tables it offered; I thought "I can make intelligent programs". I think I was thinking AI but I won't trust my memory on this. But I played a lot more with the turtle.
I liked how in the example here it tells the user "Your flight is delayed 2hrs due to storms in Denver..."
Then says "checking alternate routes" then shows them a card with their original flight details (it does have "Delayed" in red at the top) and asks them if they would like to change their flight.
The user responds with "Yes please! :thumbsup:"
The AI does not provide any information about the new flight, and only displays a card for the original flight, which being the original, is the day and time the User likely wanted to travel.
Between it being the only piece of information on the screen and the status of "checking for alternate routes" it will certainly be a surprise for the User when their Sept. 17th 5:45 departure has been rescheduled for Sept. 19th to avoid a two hour delay. Helpfully replaced with a 2 day delay, thanks Muse!
Most airlines let you change flights, usually for a fee plus the difference in fares. The fee may be zero if your original ticket allows it -- sometimes called "flexible fare."
Then they are in for a very rude awakening, given that the same God says "You must not wrong the widow and the orphan; wronged, they will cry out to me for redress, and their cry will be heard. My anger will blaze out against you, and I will smite you with the sword, making widows of your own wives, orphans of your own children." (Exodus 22:22-24).
That one person is (according to the previous comment) using words to suggest "this is a thing that will happen" though they are planning to make it happen? And that those words are attributed to the God of Abraham, Isaac, and Jacob? And that the selfsame God also has the other words attributed to Him?
Or are you suggesting a particular ontological presumption about the declared speaker of those words, which would then reflect a different shade of meaning onto my declaration?
It's funny, because extreme poverty rates as defined by the UN have been decimated in the last century, and continue to drop, because of growth qua capitalism.
You're reflecting the populist notion that wealth is zero-sum. If that were true we'd still be in caves fighting over sticks. The average quality of life has skyrocketed in the last century alongside growth, and there's no non-capitalist country now or in history that's been an enviable place for average people to live.
It doesn't. Thought terminating clichés are rhetorical devices, I pointed out what real world data reflects. You're free to actually address it unless you want to redefine poverty to suit vibes.
The political outcome is that Peter Thiel wants to have full control of all security apparatus around the world. Fighting Flock is 100% a political fight.
From what I'm seeing online, it looks like Houston started installing Flock cameras in 2022. How were they investigating kidnapping cases before that?
I'd be astonished if decades of methodology and infrastructure for investigating crime have all completely evaporated in the wake of a new and experimental tool -- one that's neither fully demonstrated its reliability as an investigation tool nor that it does not itself create a threat to public safety.
It's a bit polemical to blame their failure to apprehend their suspect on the lack of an tool that shouldn't have been necessary to apprehend the suspect in the first place, don't you think?
Just think of all the crime against children that is made harder to investigate because we aren't all required to have state monitoring devices in our homes and on all our electronic devices!
> It's like cutting the brakes of police cars or deflating their tires
These two things are decidedly not on the same level. Cutting someone's brakes is an attempt to kill the driver. Deflating tires is just plain old property damage.
Well the government was illegitimate. Is that what you're contending happening here? Are you trying to overthrow the police department or municipal government? How do you feel about Jan 6?
> Well the government was illegitimate. Is that what you're contending happening here?
When the jury of your peers decides that you should not be punished for something despite the law stating otherwise, it is a powerful statement. There's a reason why the judicial system is set up to allow this.
> Are you trying to overthrow the police department or municipal government?
The people in the US are not there yet. But you might want to recall JFK's words: "Those who make peaceful revolution impossible will make violent revolution inevitable."
Take a look at what's happening in the US, think about it for a while, and then come back and tell everyone whether you think the people are being properly represented by their government and served by their public servants.
> How do you feel about Jan 6?
I feel that Jan 6 is one of the watershed moments that led us to where we are now. The fact that those responsible weren't punished was a clear signal that the rule of law was being abandoned.
You're behaving like the relationship between the government and the people is symmetrical. It's not. When the government stops obeying its own laws, people take notice.
The comment you're responding to didn't formulate the argument as "I am against [X], therefore I am justified in destroying property used to do [X]", but is rather closer "[X] is itself illegal and therefore I am justified in potentially destroying property in order to stop imminent lawbreaking".
You can argue the point as to whether this particular "[X]" actually does constitute illegal activity that a citizen is justified in responding to with force, but I don't think it's valid to mischaracterize the argument as the response being justified solely by personal opposition.
> If someone thinks abortion is illegal because it's against right to life. So bombing abortion clinics is justified. Is that how this works?
No, that's definitely not how it works, and your example clearly doesn't compare to what we're talking about. First, "right to life" is not a law that's being objectively violated, just a moral principle that certain people feel emotionally compelled to defend. This puts your example squarely on the "act to assert personal feelings" side of the divide, definitely not "act to stop imminent lawbreaking".
Second, while essentially all jurisdictions absolutely do allow citizens to intervene and use force to stop imminent lawbreaking, the rules around that usually require proportionality, and require that one's own actions merely be targeted at stopping the illegal activity, and not use disproportionate force beyond that. So even in a situation where abortion was illegal, bombing an abortion clinic would be a grossly excessive action that goes far beyond merely stopping the illegal activity.
By comparison, disabling or blocking cameras that have been set up to commit illegal espionage is a clearly proportionate response, narrowly targeted at the illegal activity, and not causing damage beyond that.
Of course you can, just you likely won't get any sympathy in the large number of cases where the public or government doesn't agree with you (police, abortion clinics).
In this case looks like the people agree with destroying these things.
Violence is increasingly the only path forward in America.
I think the biggest issue with LLM generated code is that it's happy to just keep plugging away making a bigger and bigger rat's nest.
I spend a lot of time reviewing code and the LLM code works for what the implementer wanted and from the outside things function the way people expected, but inside the code is becoming more and more knotted and incomprehensible.
Now maybe you could point claude at it and say "make the code easy for people to understand too" and no one is bothering to do that. Maybe it's a skill issue and the people around me should be prompting better or revising better.
The only thing I know is that I'm seeing it happen. Code quality is going down, comprehension is not just missing because people didn't author the code, it's getting worse because even when they go to read the code it's become too complex and weird. So now they have to rely on LLMs to tell them what the code they are responsible for is doing and how.
The thing that remains to be seen is if comprehensibility will matter. I can't look at the assembly the compiler outputs and comprehend it and it doesn't bother me. LLM advocates argue the same will become true for code, it won't matter if you understand the code because it only matters that the LLM can comprehend it and keep making it do the things you want.
I'm less inclined to believe that being able to reason about your codebase and make changes to it is something I really want to put into a bunch of hyperscaler company hands. Enshittification tells me that this honey moon of affordable intelligence will reach an end at some point and a lot of companies are going to clamp down on more expensive tokens and a lot of engineers are going to find that they have both let their code comprehension skills atrophy and aren't permitted to take every little question and change to the LLM because it's too costly.
They will crack open the codebase, every changeset with a full comprehensive page of LLM-speak explaining how it addresses the problem, every changeset in isolation reasonable enough, and an end state that is something only an LLM can love.
And there are many examples of them being happy to join in. I think the best one right now is Alex Karp, Palantir CEO, who is actively rooting for and building the tools of fascism because it's so profitable.
> Palantir is here to disrupt and make the institutions we partner with the very best in the world and, when it’s necessary, to scare enemies and on occasion kill them.
> We’re going to partner with the world’s best people and we’re going to dominate. You can be along for the ride or you don’t have to be.
> Silicon Valley owes a moral debt to the country that made its rise possible. The engineering elite of Silicon Valley has an affirmative obligation to participate in the defense of the nation.
> Silicon Valley must play a role in addressing violent crime. Many politicians across the United States have essentially shrugged when it comes to violent crime, abandoning any serious efforts to address the problem or take on any risk with their constituencies or donors in coming up with solutions and experiments in what should be a desperate bid to save lives.
> The pervasive intolerance of religious belief in certain circles must be resisted. The elite’s intolerance of religious belief is perhaps one of the most telling signs that its political project constitutes a less open intellectual movement than many within it would claim.
> We must resist the shallow temptation of a vacant and hollow pluralism. We, in America and more broadly the West, have for the past half century resisted defining national cultures in the name of inclusivity. But inclusion into what?
> The ruthless exposure of the private lives of public figures drives far too much talent away from government service.
This capitalist doesn't have a gun pointed to his, he instead feels a moral obligation to provide the state with a comprehensive surveillance apparatus and ability to kill enemies of the state while also decrying holding public figures accountable.
1. "Please put in bold letters my quote that what people experience in the cars is the result of a large number of extremely talented engineers working very hard. Please give me the least credit."
https://cleantechnica.com/2020/08/15/tesla-autopilot-innovat...
3. "Thanks Ashok! Ashok was the first person to join the Tesla AI/Autopilot team and ultimately rose to lead all AI/Autopilot software. Without him and our awesome team, we would just be another car company looking for an autonomy supplier that doesn’t exist."
https://x.com/elonmusk/status/1799650788848841069
4. "The SpaceX team is solving some of the hardest engineering problems in the history of humanity. I think the team is succeeding because, in a lot of ways, we’ve got the smartest and most dedicated team of humans that has ever existed. I’m incredibly proud to work with such a team. I’d like to thank the team for their incredible hard work..."
https://x.com/XFreeze/status/208475... (widely circulated clip)
1. Ashok Elluswamy (Tesla VP of AI Software): "Elon Musk has been the key driver of AI and autonomy at Tesla. He has always pushed us to achieve great things, even when such ideas were seemingly impossible at the time. ... Elon is critical for Tesla’s success in AI. It is his combination of deep technical understanding, insane perseverance and relentless hard work that have positioned Tesla to be a leader in real-world AI. If not for Elon’s ambition, Tesla might have dwindled to become just another car company."
https://x.com/aelluswamy (original note)
2. Jim Cantrell (early SpaceX): "He is by far the single smartest person that I have ever worked with … period. … He has a real applied mind. He literally sucks the knowledge and experience out of people that he is around."
https://www.forbes.com/sites/quora/2014/07/16/how-did-elon-m...
3. Garrett Reisman (former NASA astronaut / SpaceX): "What’s really remarkable to me is the breadth of his knowledge. I’ve met a lot of super smart people, but they’re usually super smart on one thing. … He’s able to have conversations with our top engineers about the most arcane aspects of software. Then he’ll turn to our manufacturing engineers and have discussions about some really esoteric welding process for some crazy alloy. … He’s the most driven person I’ve ever met."
https://x.com/ElonClipsX/status/1791814792988020850
4. Jensen Huang (NVIDIA CEO): "Elon is just an extraordinary engineer, and I love working with him. We’ve built some amazing computers together. … Elon is singular in this understanding of engineering and construction and large systems, and marshalling resources. It’s unbelievable."
https://www.pcgamer.com/software/ai/as-far-as-i-know-theres-...
5. Ashok Elluswamy again: "He is really smart in the sense that he can predict the future very early. He works really hard. Easily 80-90 hours per week. I feel fortunate to work for him. He is not afraid of taking risks."
https://timesofindia.indiatimes.com/technology/social/tesla-...
Your source for his intelligence is that his employees glaze him? Surely one of the smartest people in the world has written or published something groundbreaking, right? Surely his sole intellectual contribution isn't shitposting on Twitter?
Jensen Huang: "Elon is an extraordinary engineer. He is singular in his understanding of engineering and construction and large systems and marshaling resources."
John Carmack: "Elon is definitely an engineer. He is deeply involved with technical decisions at SpaceX and Tesla. He doesn’t write code or do CAD today, but he is perfectly capable of doing so."
Tom Mueller: "Elon is a super smart guy and he learns from talking to people. He’s so sharp, he just picks it up. He is leading the development of the SpaceX engines, particularly Raptor."
Eric Berger: "Elon is the chief engineer in name and reality."
Andrej Karpathy: "Elon has an incredible ability to reason from first principles. It’s very rare."
Robert Zubrin: "Elon Musk is a brilliant engineer with an extraordinary ability to cut through nonsense. When I met him it was apparent to me that although he had a scientific mind and he understood scientific principles, he did not know anything about rockets. Nothing. That was in 2001, by 2007 he knew everything about rockets – he really knew everything, in detail. You have to put some serious study in to know as much about rockets as he knows now. This doesn't come just from hanging out with people."
Yann LeCun: "He’s a very smart guy and I’m in awe of some of his projects."
Garrett Reisman: "He’s obviously skilled at all different functions, but certainly what really drives him and where his passion really is, is his role as Chief Engineer. That’s the part of the job that really plays to his strengths."
Josh Boehm: "Elon is both the Chief Executive Officer and Chief Technology Officer of SpaceX, so of course he does more than just some very technical work. He is integrally involved in the actual design and engineering of the rocket, and at least touches every other aspect of the business. Elon is an engineer at heart, and that’s where and how he works best."
Kevin Watson: "Elon is brilliant. He’s involved in just about everything. He understands everything. If he asks you a question, you learn very quickly not to go give him a gut reaction. He wants answers that get down to the fundamental laws of physics. One thing he understands really well is the physics of the rockets. He understands that like nobody else. The stuff I have seen him do in his head is crazy. He can get in discussions about flying a satellite and whether we can make the right orbit and deliver Dragon at the same time and solve all these equations in real time. It’s amazing to watch the amount of knowledge he has accumulated over the years."
I think since we have a pair of them and reject is so obvious it helps me remember which way filter works.
I think Enum.keep and Enum.reject might be a better pair, but I've used them enough to internalize it now
reply