Sign in

jamierlawson.bsky.social

@jamierlawson.bsky.social
128 followers 44 following 705 posts
PostsRepliesMedia
jamierlawson.bsky.social @jamierlawson.bsky.social · 17/02/2025
Musk simply doesn't understand or appreciate the roll of government in establishing a successful civilization.
040
jamierlawson.bsky.social @jamierlawson.bsky.social · 09/02/2025
Republicans are nasty people. Dealing with them politely just makes them feel powerful. They need to be treated as hardened criminals.
070
jamierlawson.bsky.social @jamierlawson.bsky.social · 09/02/2025
More like Tabasco sauce.
120
jamierlawson.bsky.social @jamierlawson.bsky.social · 09/02/2025
"The Floor recognizes the pussy from Oklahoma, and the pussy from Indiana, and the pussy from Alabama. The Floor recognizes a bunch of red states pussies.
1110
jamierlawson.bsky.social @jamierlawson.bsky.social · 09/02/2025
Don't puke. Retaliate.
000
jamierlawson.bsky.social @jamierlawson.bsky.social · 09/02/2025
Unless we eat the rich
000
jamierlawson.bsky.social @jamierlawson.bsky.social · 09/02/2025
Anyone but White People: "A crime has been committed against my child." JD Vance: "Oh grow up and deal with it!" White People: "My kid does poorly in school." JD Vance: "A crime has been committed against your child!"
000
jamierlawson.bsky.social @jamierlawson.bsky.social · 02/02/2025
Apparently not Mexico or Canada.
000
jamierlawson.bsky.social @jamierlawson.bsky.social · 01/02/2025
Countries like Romania.
000
jamierlawson.bsky.social @jamierlawson.bsky.social · 30/01/2025
Found it. Reposted it.
010
jamierlawson.bsky.social @jamierlawson.bsky.social · 30/01/2025
Page deleted by White House after crash.
010
jamierlawson.bsky.social @jamierlawson.bsky.social · 30/01/2025
Post that page and it will be shared endlessly.
110
jamierlawson.bsky.social @jamierlawson.bsky.social · 30/01/2025
I think your opinion shows a lack of awareness of the American polity.
110
jamierlawson.bsky.social @jamierlawson.bsky.social · 29/01/2025
True. And Harris proved she was fit. It's the People who dropped the ball. I think it was Thomas Jefferson who said "if you think a good public education is expensive, try ignorance."
1241
jamierlawson.bsky.social @jamierlawson.bsky.social · 28/01/2025
I voted for one in 1984. But he was running against another Republican and I was pretty sure my guy was going to be indicted and convicted, and so if he won, we were going to get new elections in a year with better candidates. The guy was convicted, we got new elections, and the felon did talk radio
010
jamierlawson.bsky.social @jamierlawson.bsky.social · 27/01/2025
I know my father was ashamed of it. He was thrilled when Biden took office. If he'd lived to see Trump rise again, that would have killed him.
050
jamierlawson.bsky.social @jamierlawson.bsky.social · 27/01/2025
Very well could replace"Auschwitz" with "San Antonio" in fairly short order.
000
jamierlawson.bsky.social @jamierlawson.bsky.social · 27/01/2025
I recall something James Madison said about the stuff that stained the soils of Europe with blood for centuries.
010
jamierlawson.bsky.social @jamierlawson.bsky.social · 27/01/2025
Immigrants make America POSSIBLE
000
jamierlawson.bsky.social @jamierlawson.bsky.social · 27/01/2025
Mean Mister Marmalade
030
jamierlawson.bsky.social @jamierlawson.bsky.social · 27/01/2025
Kakistocracy
000
jamierlawson.bsky.social @jamierlawson.bsky.social · 27/01/2025
Hegseth served in the Murdoch theater and spent a great deal of time in a Fox hole.
010
jamierlawson.bsky.social @jamierlawson.bsky.social · 27/01/2025
I'm pretty sure a lot of green badgers are going to retire or move to a safe country.
010
jamierlawson.bsky.social @jamierlawson.bsky.social · 27/01/2025
Don't know about the TV show, but the Tulsi is Putin's Girl Friday and she's going to be running national intelligence.
030
jamierlawson.bsky.social @jamierlawson.bsky.social · 27/01/2025
Americans have learned to treat politics like a sport with no real consequences.
130
jamierlawson.bsky.social @jamierlawson.bsky.social · 27/01/2025
My experience with black officers, including generals, is that they interpret the job as more listening and less bossing compared to their white colleagues, who had a tendency to come into the room with their decisions already made. That could come from a culture of racism.
180
jamierlawson.bsky.social @jamierlawson.bsky.social · 27/01/2025
The argument that "fascists of the past were effective but made a strategic error by institutionally executing innocent minorities" is fatally flawed. Fascist policies inevitably lead to the institutional execution of innocent minorities. It's a natural consequence of the ideology.
000
jamierlawson.bsky.social @jamierlawson.bsky.social · 27/01/2025
More like a useful idiot.
040
jamierlawson.bsky.social @jamierlawson.bsky.social · 26/01/2025
I agree with just about everything you've said. I'd add that depending on the rest of the world to save us since we've been unable to save ourselves has its downsides. Our neighbors care more about neutralizing Crazy Guy than they do about saving us, and we could be collateral damage.
110
jamierlawson.bsky.social @jamierlawson.bsky.social · 26/01/2025
In short, the brain uses massive parallelism to "heat up" certain areas (a colleague uses fMRI to measure this), and those "hot" areas determine cognition. If-then logic is inherently sequential; needed for some tasks (inherent complexity) but is not the brain's preferred mode. /END
000
jamierlawson.bsky.social @jamierlawson.bsky.social · 26/01/2025
That's closer to how the brain works (low clock speed but highly parallel). Meanwhile, the if-then has to progress sequentially through branches (not how the brain works). Of course, that's also why functional programs don't use variables. Variables imply sequential operation. /11
100
jamierlawson.bsky.social @jamierlawson.bsky.social · 26/01/2025
This is how neuroscience and functional programming connect to one another, and why artificial intelligence languages tend to be functional languages. Functional programs minimize sequential operations. In a functional program, each statement could execute on a different processor in parallel. /10
100
jamierlawson.bsky.social @jamierlawson.bsky.social · 26/01/2025
By comparison to a classical computer (high clock speed, low parallelism) the brain has a slow clock speed but exceedingly high parallelism. Your if-then logic is inherently sequential (not parallel). In the brain, lots of neurons fire at the same time producing cumulative actions. /9
110
jamierlawson.bsky.social @jamierlawson.bsky.social · 26/01/2025
As for the claim that neurology says the brain works on if-then logic, I'd say that's not the case. I'm not a neurologist, but I had to study quite a bit of neurology (published about 20 peer-reviewed papers on artificial intelligence). The brain works on parallelism. /8
100
jamierlawson.bsky.social @jamierlawson.bsky.social · 26/01/2025
This is how parsimonious polymorphism pervades the system. A few polymorphic types eliminate the vast majority of branches in the code (i.e. reduce incidental complexity). There is still the inherent complexity, and occasionally that requires a branch. /7
100
jamierlawson.bsky.social @jamierlawson.bsky.social · 26/01/2025
I was called in to deal with a similar issue in a mapping system. If lambert_conformal_conic blah else if universal_transverse_mercator blah else if gnomic blah else... Again, polymorphism dramatically reduced cyclomatic complexity, and code size and made everything more maintainable. /6
200
jamierlawson.bsky.social @jamierlawson.bsky.social · 26/01/2025
This kind of complexity is divided into two types: inherent complexity (that has to be there) and incidental complexity (that is purely due to implementation choices). The inherent complexity of the target tracking code was about 12. The rest was bad just implementation choices. /5
100
jamierlawson.bsky.social @jamierlawson.bsky.social · 26/01/2025
Returning to "real world software", the worst experiences I've had reliably deal with high cyclomatic complexity. I was called in to deal with one massive chunk of code for a target tracking system that had a cyclomatic complexity near 1000. Anything above 10 is considered risky. What a mess. /4
100
jamierlawson.bsky.social @jamierlawson.bsky.social · 26/01/2025
The 20% where polymorphism is preferred is often to eliminate branching (if statements). Given a drawing system, do you want a branch for each shape (if circle then blah, else if rectangle then blah else...) or do you want polymorphic types? Easy! Polymorphic types. They eliminate branching. /3
100
jamierlawson.bsky.social @jamierlawson.bsky.social · 26/01/2025
As for polymorphism being rare in O-O, That's not really true. Given the choice between composition and polymorphism, composition is usually a better choice (roughly 80% of the time). But 1) that has nothing to do with if-then logic and 2) where polymorphism is used, it permeates the system. /2
100
jamierlawson.bsky.social @jamierlawson.bsky.social · 26/01/2025
Wrote real world software for about 40 years. In some cases your national security depends on it. Millions of lines of code. Served on Sun's industry experts group that oversaw the Java language. Represented several organizations at the Object Management Group (OMG). /1
100
jamierlawson.bsky.social @jamierlawson.bsky.social · 26/01/2025
I honestly expect the bigger fight to be socioeconomic. The brain drain on Germany during Hitler's time set back German science for generations. History will repeat itself. Without science, society wanders into superstition and poverty...and other countries will sanction us and not trade with us.
120
jamierlawson.bsky.social @jamierlawson.bsky.social · 26/01/2025
P.S. #2: In the example given, the if-thens were removed by using pattern matching, common in functional programming for exactly that purpose. Object-oriented languages use polymorphism (less elegantly) to replace if-thens. Most paradigms do _something_ to make if-thens less necessary.
200
jamierlawson.bsky.social @jamierlawson.bsky.social · 26/01/2025
P.S. I used the same recursion in both to do apples-to-apples. If I stuck with a pure if-then style with f, cyclomatic complexity would grow. It would be better to compare that to a functional accumulator (with a tail call) which still has cyclomatic complexity 1.
100
jamierlawson.bsky.social @jamierlawson.bsky.social · 26/01/2025
Most people find proving g far easier. Same for automatic theorem provers. And these are extremely simple functions. f has a cyclomatic complexity of about 3. For g it is 1. For more complex functions the the difference grows. If-then is just harder for humans to grasp than concrete definitions./END
100
jamierlawson.bsky.social @jamierlawson.bsky.social · 26/01/2025
As a simple example, here are two functions f and g, where f uses an if-then style and g uses a functional style: f[n_] := If[IntegerQ[n], If[n > 0, n*f[n - 1], 1]]; g[0] = 1; g[n_Integer; n >= 0] := n*g[n - 1]; Prove that f computes factorial. Now do the same for g... /2
100
jamierlawson.bsky.social @jamierlawson.bsky.social · 26/01/2025
As a theoretical computer scientist who studies the subject, I say humans are BAD at understanding if-then logic. Cyclomatic complexity standards in software engineering confirm that. One advantage of functional programming is the elimination of _most_ if-then statements, for clarity purposes. /1
200
jamierlawson.bsky.social @jamierlawson.bsky.social · 25/01/2025
As a computer scientist, I find if-then, to be a last resort. As a software engineer, you should too, as every if-then adds to the cyclomatic complexity. Natural language needs a better type system.
100
jamierlawson.bsky.social @jamierlawson.bsky.social · 25/01/2025
RFK Jr. has stated clearly that he would shutdown infectious disease research for a decade. He has called for the retraction of approval for the polio vaccine "until it can be proven safe". It has been proven safe in 70 years of use over many billions of recipients.
010
jamierlawson.bsky.social @jamierlawson.bsky.social · 25/01/2025
If RFK Jr. is confirmed as HHS Secretary, then many many people will die from preventable diseases because RFK Jr. has promised to turn off funding for infectious disease research for the next decade, and many infectious disease researchers and doctors will move to countries where they are valued.
190