I can't figure out if this is a good blogpost topic or not, but I've been thinking about how many conversations I see about human behavior in software overindex on like, differences between people* and not within-individual variation**
Overall malleability of our own traits and states over time is fascinating and underexplored in a very essentialist kind of culture***
"all managers are like x"
** "some days I am like x and some days I am like y"
On a somewhat related note I'd also be interested in hearing about any research around shoring up individual weaknesses (that aren't glaring) versus improving on strengths.
It seems to me that pretty much all review processes encourage improvement only in weak areas and totally neglects building on strengths.
The first model in my #tinyllm review series is #qwen 1.5 0.5b. A truly tiny model that can run comfortably on my Lichee Pi4a #riscv64 single board system. Read the article and let me know if you can think of anything else I should test on #qwen and the future models.
With all the valid concern around #llm and #genai power and water usage, I thought I'd start a blog series on tiny LLMs. Let's see what they can do on real tasks on very power efficient hardware.
I feel really lucky that my 11th grade American literature teacher devised a curriculum that relentlessly attacked the American success myth.
We read Christopher Lasch, Ben Franklin's autobiography, The Great Gatsby, "Paul's Case" by Willa Cather, a bunch of other stuff ....
And at the same time, I was volunteering with the local hippies, and my mentor was a guy who'd burned out on working as a philosophy professor, and now did carpentry to support his peace activism.
@brainwane this is such an insightful thread, thanks for sharing. As someone in leadership I feel the same complex emotions about success. I enjoy leadership as a challenge, and I want to make work better for everyone I work with, but it can really be hard and sometimes not worth it.
I have to say I've been actually enjoying working with #webcomponents in #vanillajs lately. I haven't attempted anything too complicated, but I love the idea of reusable components. Next up, I need to figure out how to best do reactive updates.
@cassidy Yes please! Let's drop the technical acronyms in all user facing flows. Another place this shows up is credit card forms: CVV, CSC, CVC, CVD, SPC. I don't have a great replacement name but can we at least pick something?
My constant experience with Python over the last ~16 years is I start writing it and it's like, wow, this is so easy, this is great! And then I run my program, and invariably it fails with an inscrutable error/exception 4 layers deep in someone else's library, code I know nothing about— in this case, a wav file library claiming that the number 960 is "not a valid shape"— and I realize that maybe I actually hate Python
If you were attending a workshop on say...instrumenting traces with #OTel in a containerized #Python app where you to frequently modified code, restarted the app, verified your changes in an o11y UI over and over....
How would you prefer to handle repetitive commands like that?
@flexghost fun fact CNBC doesn't rank Florida as number one for "economy" as he says. It's actually 8th, but that assumes you aren't being targeted by the state to make a political point.
👏🏻💪🏼 In a win for voters, a federal judge struck down #Washington state's legislative districts, ruling they violate Section 2 of the #VotingRights Act by diluting the voting strength of #Latinos in the Yakima Valley region. #legal
Any #Python devs in the house? I’m getting unpickling error A, which I’ve never seen before. I searched StackOverflow already, obv. It’s esp hard to troubleshoot because it’s in a Jupyter notebook environment controlled by my professor, so I can only change certain parts of the code. TA wasn’t much help—told me to install pickle. 🤦🏼♀️
@nicolemark Does that file work for others with that version of Python? It looks like it is corrupted or just created with a different version of pickle that isn't supported with what you're using.
@nicolemark@kimvanwyk yeah I think it's a corrupted file. You can compare the shasums/file sizes on each system to see if something doesn't match up. But the answer probably will be to download again.
took me four hours of calling around to find a #Seattle hotel that had a "roll in shower with handicap bars" AND a pool, but at last I got us all booked for a family trip to Seattle in late August, right before the kids start school again, lol. It's a couple blocks walk from the southern monorail station and has plenty of restauraunts nearby to see, we'll have two elderly disabled people with us (one severely disabled) and two young kids so that will impact our travel ability a lot, but we'll drive our cars there (and pay $52/night/car for four nights, so that'll be a lovely chunk, but again, disabled people makes it a lot harder to rely on public transit...) and just be prepared to always take one or both disabled person back to their hotel room to rest. My dad is freaking out but that's exactly why we need to take him--I won't let his agoraphobia get the best of him, when he always feels much happier once he's finally out of the house.
Hopefully the weather isn't too sweltering...every year is hotter (it's 96 degrees in Portland today) but we'll do the best we can, I guess. I'm pissed how hard it was to find a hotel that was actually ADA compliant, and that I have to pay out the ass for a "suite" just to have a walk-in shower. But this country hates disabled people (and those who experience mental healthcare crises, and people who don't want to get shot, etc etc etc...) so what else is new?
I'm working on a very simple csv reader and I can't get the value from the first column.
I've got a csv file like this:
Last Name,First Name
Smith,Joe
and then a short python script like this:
import csv
with open("test.csv",'r', encoding='utf-8-sig') as f:
reader = csv.DictReader(f)
for row in reader:
print(row['First Name'], row['Last name'])
print(row)
if I remove row['Last Name'] from the print statement I get the first names.
@sudoedit if you don't have any constraints around using external libraries, pandas and Polars both have really great CSV capabilities. A bit overkill though if you don't plan on doing a lot of data manipulation.
Is it throwing an error? Or just returning None? It looks like you may need to capitalize the n in Last Name as well.
I am baffled by how much trouble I’m having at writing #rust at a decent clip. #Golang I felt pretty good at after a few months, same with #Python and #PHP. Meanwhile I’ve been trying to write anything useful in Rust for months and it’s so incredibly slow going.
I’m shocked people are enthusiastic about adopting this for their jobs. If I had a specific part of an app that needed more speed, absolutely. But as a general purpose language? I’m not seeing it yet.
I’ll keep ramming my head against it but have not enjoyed myself thus far. If writing a proof of concept in python takes me 4 hours, rewriting that in rust clocks in easily at 12-16 hours.
@matdevdug Rust really shines in situations where you need both speed and maintainability. If you need to pretty regularly rewrite portions of a code base refactoring is super easy.
Your time estimate feels about right for my experience as well, but where you'll see value is later refactoring.
If you're not likely to refactor or make regular changes, python is definitely going to be more time effective long term. Python really shines with its libraries and speed of writing.