To be precise.. empty slices and maps sometimes behave like nil (len, range etc) and sometimes not (inserting into a nil map). The former is a neat convenience, and I think extending that to JSON marshaling makes sense.
I had a back and forth with someone who really didn't want to change that behavior and their reasoning was that since you can create and provide an empty map or slice.. having the marshaler do that for you, and then also needing a way to disable that behavior, was unnecessary complexity.
Same here. It's frustrating that it doesn't seem to have contextual awareness of who we are and the things we work on so things like names of our products, names of big clients, that we use repeatedly in meetings, are often butchered.
I got excited about poetry a few years back because it seemed that the community might be finally able to rally around _one_ packaging solution. My favorite thing about Go is that there isn't a shiny new packaging tool every year.. just go.mod. uv definitely looks cool and the performance is very impressive.. but should I switch all my projects over? Are you going to be around in 5 years time?
It takes 5 minutes to switch most projects. And less to go back to pip. Seems silly to waste a bunch of wall time when using pip when there is a super easy alternative that doesn't have high switching costs.
Ok but that's really not the cost for a company that's been using tool X for years, accumulated some expertise in that, built their own tooling on top of it etc.
Of course. Faux-news outlets peddling disinformation will always be happy to let you read their work for free. Serious journalists rely on your subscription for their paycheck, not Iranian state media, like the author of the OP link [1].
This was my experience until recently.. now I'm currently quite enjoying assigning small PRs to copilot and working through them via the GitHub PR interface. It's basically like managing a junior programmer but cheaper and faster. Yes that's not as much fun as writing code but there isn't time for me to write all the code myself.
I use Cursor / ChatGPT extensively and am ready to dip into more of an issue / PR flow but not sure what people are doing here exactly. Specifically for side projects, I tend to think through high level features, then break it down into sub-items much like a PM. But I can easily take it a step further and give each sub issue technical direction, e.g. "Allow font customization: Refactor tailwind font configuration to use CSS variables. Expose those CSS variables via settings module, and add a section to the Preferences UI to let the user pick fonts for Y categories via dropdown; default to X Y Z font for A B C types of text".
Usually I spend a few minutes discussing w/ ChatGPT first, e.g. "What are some typical idioms for font configuration in a typical web / desktop application". Once I get that idea solidified I'd normally start coding, but could just as easily hand this part off for simple-ish stuff and start ironing out he next feature. In the time I'd usually have planned the next 1-2 months of side project work (which happens, say, in 90 minute increments 2x a week), the Agent could knock out maybe half of them. For a project i'm familiar with, I expect I can comfortably review and comment on a PR with much less mental energy than it would take to re-open my code editor for my side project, after an entire day of coding for work + caring for my kids. Personally I'm pretty excited about this.
I have not had great experiences interacting directly with LLMs except when asking for a snippet of code that is generic and commonly done. Now with GitHub Copilot (you need a Pro Plus I think) I'm creating an issues, assigning to Copilot, and then having a back and forth on the PR with Copilot until it's right. Exactly as I would with a junior dev and honestly it's the first time I've felt like AI could make a noticeable difference to my productivity.
I'm not your parent, but Claude at least has the ability to integrate with GitHub such that you can say "@claude please try to fix this bug" on an issue and it'll just go do it.
One does wonder how much bad insecure code is out there now being fed into LLMs to generate.. more bad code. The more you lean on something else to write your code, the less you understand what you're shipping.
Every time something like this happens it seems clear the problem is changing the vision for a project - once you've gotten a community invested in a different vision. There are lots of great projects doing something in between fully community driven Open Source and closed source. Nobody is obliged to license their work in any particular way... but please figure that out at the start so everyone knows what they're working with.
I've had problems with obstructive sleep apnea for a couple of years. Tried CPAP/BPAP for a month and hated it so much I'm now trying to see what I can fix with surgery even though surgeries like maxilofacial sound horrific. I currently have a MARPE device installed to slowly splitting my palate bone down the middle to expand that. A pill sounds wonderful..
I've been taking a B1 (thiamine) suplement before bed and it significantly reduces reports of snoring and apnea from my sleeping partner. I think my apnea is more central than obstructive though.
My observations are that I'm more likely to breathe through my nose when sleeping after taking B1, and that my nasal passages seem clearer, but I don't notice anything else (other than vitamin shop smell in urine).
A neighbor suggested B1, and while I couldn't find any quality research, it falls into my bucket of 'if it's not obviously harmful... If it's stupid and it works, it's not stupid' and a bottle of b1 supplements is inexpensive. You'll know after a couple nights if it's helpful for you.
I had a palette expander when I was young for orthodonic reasons. Fun times.
You might want to consider an oral appliance. There's no guarantee you will tolerate them or get the desired effect, but the same goes for surgery. Oral surgeries often have dentists who are certified in sleep medicine who can create a custom, medical-grade appliance for you.
I tried everything I could find on Amazon but obviously that crap doesn't work. I can believe something custom made could help but my orthodontist persuaded me the only really solution was surgery or CPAP.
There are specialized dentists that make appliances. My understanding is custom works much better cause fits perfectly instead of having to mold it. If you can, go to dentist that has experience. They are expensive, mine was $3k.
I like having copilot suggest things < ~500 chars. I've discovered new patterns of doing things in go and Python and I've saved on a bit of typing. It really is just a better auto-complete for me. But anything longer than that and the cost of me spotting and fixing the problems in what it's suggesting starts to outweigh the benefit (unless I'm trying to write something super boilerplate).
reply