21,278 karma · joined Nov 23, 2012 (14y ago) · 6,746 submissions
blog: https://rtpg.co
email: raphael at above domain
comment 3y ago · link · parent
If a third-party webapp wanted to access Reddit, an auth flow that gets API tokens from it and then stories those for usage gets this working (in the universe in which Reddit wants this to happen of course). You still get CORS protection from the general drive-by issues, and you'll need an explicit auth step on a third party site (but that's why OAuth sends you to the data provider's website to then be redirected)
comment 3y ago · link · parent
I've been pretty happy with paper notes on this front because you can quickly give up on structure and write things as fragments. You'll "know" it's there, and end up finding it eventually.
I think if you're using something like Notion or Roam, trying to keep stuff pretty flat (Search function exists!) is very helpful, as it lowers the cost of writing things down and means you don't get as burnt out.
"Old notes are worthless" is like... pretty glib though. I actually look back at notes relatively often! But it's often not a structured activity, so it's hard to say the notes are part of some generalized process. But there is a liberation in deleting some older notes, just like there is in deleting older projects.
comment 3y ago · link · parent
If you fix a bug, this can break existing code. This is a fact of life. Changing performance characteristics can generate downstream problems! You have to consider this stuff seriously.
Here the change introduced nullability. In another universe the function would already be nullable but the conditions in which a value becomes None changes. A spec can be changed, for the better, and still be bug generating if people just upgrade. That is not captured by most type systems, and there aren’t that many great production web apps running on Idris.
But ultimately the reality is that people have a lot of flexibility with Python projects in general. It’s great, and libraries that are aware of this, well… they write it in release notes. They also have open repositories to enable actual code diffs. It’s non-zero amounts of work but it’s there.
There is a theoretical universe in which a static language with well-designed libs provide good aesthetics to make developing certain software easy. Meanwhile even as a big functional programming lover I still reach for Python because I can get work done because the libraries are in fact well designed, and the code is easy to work with, and I can fix issues quickly. As a user it’s great, as a library maintainer I gotta apply some more care. Could be better but it's alright
comment 3y ago · link · parent
And like "the public API is the public API, the private API everything goes" is easy to say, but it's so easy to just break other projects with these kinds of changes. This makes it very hard to move forward with certain kinds of "bug fixes" in projects.
That being said, it's not that that PR is "hard", but it's hard to say "merging this is A-OK" instantly. Hours? I dunno, but I would definitely add some tests and try to figure out how to write code that breaks with those changes.
If I were managing that project at the time, and had motivation, I'd definitely do a lot of cherrypicking, get all the "obviously won't break anything" changes merged in, to leave the problematic bits in for a focused review. Again, this all might be under an hour, but sometimes you look at a thing and are like "I don't really want to deal with this, I have my own life to deal with."
At a higher level, the biggest problem with these kinds of libraries is having the single person who can merge things in, who can hit the "release" button. There's a lot of projects that interact with Django that have heavy usage, and survive mainly thanks to random people making forks and adding patches that properly implement support for newer Django. At $OLD_JOB we used a fork of django-money (including a lot of patches to fix stuff like "USD could be ordered with JPY", pure bug generators). It was very easy to add patches because, well, we had our usage and our test suite and no external users. It's great, but it's also important to try and get patches upstreamed when possible (and we did for a lot of projects).
comment 3y ago · link · parent
There was somebody who circumvented the intended governance structures to make this happen, and this is probably where the frustration and this blog post come from.
comment 3y ago · link · parent
I do think it's important to think about the fact that school libraries are where kids tend to access a lot of books (there are of course city libraries, but those places are also being targeted). At least my experience was around that. And many libraries will have a request system, so if a kid is like "I want to read this", then libraries are able to often put in a purchase order, and then make that available for other students.
At least based on my own school experiences, I do think that teachers of a certain ... authoritarian bent would be more than happy to make up a stink of books brought in that would be "banned" from the library if a copy circulating were brought to their attention. Power structures in schools are like that. But that's just conjecture.
I think the general point of the "book ban" terminology is that librarians and schools generally had leeway to bring in more or less anything to the library, and that autonomy is being stripped away for very dark reasons. This is the age of the internet, but from my own childhood, if my school and city library suddenly decided to not provide certain kinds of book, I would just not have access to that at all.
All that to say that you're right on the word in some sense, but it feels fitting to me.
comment 3y ago · link · parent
Never having a book, having it but having it be removed for non-content-related reasons, having it removed for content-related reasons, having the content removal decision come from librarians, or parents, or politicians, the public record of comments about why something is removed, all of these things are obviously important. Flattening it to "yeah lots of books aren't in libraries" is a _bit_ reductive!
Good things are good, bad things are bad. Sometimes it's hard to write laws that work around this, but at the very least moral judgements can be made, with space for nuance.
comment 3y ago · link · parent
Though “downgrading keynote to talk” is obviously not the same as an outright disinvite, the fact that the original invitee asked explicitly about this content being pre-RFC (giving rust leadership the out to resolve this amicably!), just makes it hard for me to say “oh this makes sense”.
Perhaps this is inevitable in some sense if the critique is not brought up earlier. But it’s something that feels really avoidable if people were more honest about their own feelings on other peoples work.
comment 3y ago · link · parent
There are obviously considerations to optimise for but how do you need 5 years for planning, _then another 5 years for design_?
comment 3y ago · link · parent
It doesn't matter that you are not giving the company money anymore, until enough people independently make that decision and then it starts mattering. This is a thing that happens in every economic sphere.
comment 3y ago · link · parent
For sake of argument, let's say that these design systems serve as proving grounds for new platforms. In that case I think there's some interesting discussion to be had!
The upteen complaints about things like Gnome 3 or Android's material design. Hell, lots of complaints about iOS 7 at that transition. If there are strong alternative design systems out there, those can be pushed forward
comment 3y ago · link · parent
I am still hoping that someone could come out with a design system that could get us a bit more information density. Screens are big but the line spacing on these designs alone means that on larger screens you end up paying a lot for whitespace in between
Things look aesthetically nicer than Win98/XP days, but I would love for some more options for information dense UIs other than just "copy what Thunderbird does"
comment 3y ago · link · parent
- The convenience stores closest to areas that tend to have a lot of tourists, along with not allowing access to toilets, tend to not have their trash cans out either.
- You have to know to go into a convenience store
- The trash bins near vending machines are for cups, so when you have the rice ball wrapper on you, it's a whole thing.
I do think it's very manageable when you know but It did not really "get" the trash strategy until someone pointed it out to me. Every day somebody is born that doesn't know to walk to the back of the Family Mart to find the trashcan
comment 3y ago · link · parent
But in context: a coworker needs a piece of information. You are there. You have the information. Asking you saves them 30 minutes. Should they interrupt you?
What if it's 5 minutes? What if it's 15? What is the level of urgency on their end? Is there pedagogical value in them figuring this out without you?
Ultimately interruptions have varying degrees of necessity, and we should be evaluating a team's interruptions as a whole. "Turn off all notifications" might indeed be the proper baseline, but at the end of the day the real thing is team interaction. Is the problem interruptions? Or is it role distribution? Is it knowledge sharing?
It's very easy in a context free situation to apply blanket statements but there's so much nuance to these interactions that I have a hard time establishing any sort of blanket rule. But at the end of the day, people's norms are different, so something needs to be said. "Don't talk to your coworkers" just rubs me the wrong way. It is definitely what is said to many teams who interact with programmers, though.
comment 3y ago · link · parent
Collecting up mp3s of stuff I like, sticking them on my NAS and walkman, and having it is a fun exercise, even if it's not my everyday listening collection. I do often open up a music player and listen to my MP3s pretty often, just to listen to an album I owned.
I do like listening to internet radio a bit, tho honestly a lot of that is "greatest hits" stuff, so discoverability isn't what it used to be.
Youtube used to be really good for discovering new music! But their algo is now "your recommendation feed is the same on every video" leading to getting Ben Eater recommendation vids after watching some video about biking down a mountain or something absurd like that. I miss real recommendation systems...
comment 3y ago · link · parent
FPGAs are obviously cool and powerful, but there's a pretty big cost differential.
On top of that, an FPGA is not a replacement for a CPU in itself. Soft cores are costly in gates. Of course "FPGA + CPU" is a thing, but in that case... if you can get away with a CPU by itself your tooling gets a lot simpler.
comment 3y ago · link · parent
comment 3y ago · link · parent
Would be nice to just get the videos pulled instead of outright arresting people. Maybe someone is wanting to make a point.
comment 3y ago · link · parent
I think “Tokyo has better air than other metropolises” is a kinda verifiable thing, and if you grant that it’s kinda normal to consider that! There’s a reason lots of people end up here from other countries, and it’s not the pay!