• 1 Post
  • 34 Comments
Joined 1 year ago
cake
Cake day: June 15th, 2023

help-circle
  • I get what you’re saying, but I think the issue with optional memory safety features is that it’s hard to be sure you’re using it in all the places and hard to maintain that when someone can add a new allocation in the future, etc. It’s certainly doable, and maybe some static analysis tools out there can prove it’s all okay.

    Whereas with Rust, it’s built from the ground up to prove exactly that, plus other things like no memory being shared between threads by accident etc. Rust makes it difficult and obvious to do the wrong thing, rather than that being the default.


  • It’s also worth saying that with cars vs transit the incentives flip. With cars I don’t want to make things too far away, but like in my previous comment I have to space things out some, and cars are good at going distances, so it’s not too bad for business to sprawl. Also, because I need parking for everyone, density of my building (like a multi-story building) requires an even greater density of parking. But parking garages are expensive, so it’s easier for me to build a bunch of single story buildings with big surface parking lots.

    On the other hand, with transit and pedestrians distances are much more significant. The goal now is to try and get as many things as possible to where the people already are. In this mode, building up is much more sensible because the more housing or offices or businesses you can put on this plot, the less people will have to walk to get there and the closer they are to prominent transit stops, etc. And if I don’t need parking, then I’m incentivized to put another building right next to this one to try and hit those same people without them taking more than 20 steps.


  • There’s a sense in which cars by their nature produce sprawl. Cars are larger than people, so if I want a building to contain N number of people, I need an empty space nearby that contains 3N of just emptiness waiting for a car, so our buildings can’t be too close together. There needs to be that buffer space between them for their cars.

    Then people have to get to the parking lots, so we need roads. But if I want N people to be able to get here, I need more than that space between our parking lots for enough cars to be able to reach me. Not to mention left turning lanes and big intersections, and of course long stretches to get past the long parking lots.

    So if we don’t have space for that in a city, we either have to knock down a bunch of buildings to make room for these things, it we have to expand outwards into the larger empty space outside the city. Which naturally leads to sprawl.

    It’s amazing to actually do a satellite view of an area, take a screenshot, and then colour in the parts that are actually a building or shop or home, and then colour all the other parts that are road, driveway, parking lot, intersection. It’s this foam which sprawls.






  • I’m not sure I understand. I have an ergodox moonlander and while it’s true there is no dedicated button for Function keys, that’s what the layers are for. It’s kind of the point of a configurable customizable keyboard.

    So for me I have all my special symbols under my left hand while my right hand holds a special key. Takes some getting used to, but once I had practiced the special keys are actually closer than before because they’re all the normal keys. Similarly I have arrow keys under the keys labeled ‘hjkl’ when another key is held. My Function Keys are all accessible with special key and the number keys.

    It takes some tweaking and tuning to figure out the layouts you want, but the whole point of a keyboard like this is that you can tune it to be whatever you need it to be. Now, if you don’t like to tinker and just want something out of the box, I get that, but even the default config has function keys, I think. Maybe you just didn’t read about how it works?


  • I totally agree in principle, but to give this particular article the benefit of the doubt, I feel they’re specifically trying to directly counter right wing talking points. So rather than saying “being a man is meaningless” to a bunch of people who feel strongly about male identity, they’re instead saying “there’s more than one way to man. Here’s a good male role model now!” to try and reach some middle dudes who are conflicted and getting preyed upon.

    I agree that in the fullness of time we shouldn’t focus on this stuff, but I’m a bit worried about perfect being the enemy of good, and continuing to preach to our choir while 40% of dudes fall into a belief that women are the enemy and need to be controlled and shit.


  • Can’t tell if trolling, quipping, or honestly asking…

    I feel like some people who don’t want friends are often people with low self esteem who have decided their hypothetical future friends will abandon them, or not like them, or whatever, and so they convince themselves that they “don’t want that anyway” as a way of protecting themselves from future pain or embarrassment. In those cases, dating aside, the person should work on their self esteem.

    If it’s not that, one could try casual hookup apps. These rely on a certain amount of work, and there’s no guarantee, especially if one lives in a less populated area, but it’s possible.

    And the third option for someone who doesn’t want anything social and just wants sex, is sex work. This is exactly what it can be for! The only trouble is that in most places it’s illegal, which pushes it underground, making it both difficult to find and potentially dangerous… but this is the niche it’s meant to occupy.

    But honestly… at least consider that it may be the first case, and see if you can search your feelings to figure out “why”.


  • I’m not 100% sure it’s being used correctly here, but entrapment in general is when a police officer convinces or coerces a person into committing a crime, and then arresting them for that crime. So, if a police office is standing somewhere and you walk up to them and ask to buy drugs, they can arrest you for that. But if they are like “hey man, want to buy some drugs? Come on, it’s only $10. You know what, for you, first time is free. Just take them”, and then you take them, that is entrapment.

    The reason entrapment is problematic is because it’s hard to tell if you would have committed a crime, had the officer not pushed you into it. Maybe you were just feeling pressured and wanted the uncomfortable situation to go away, etc.

    As for not exposing entrapped people, there is this moral dilemma in general that often gets dramaticized in cop shows and movies, which is that the person we know is guilty gets away on a technicality or procedural issue. And at first blush that looks like a flaw. But actually it’s more like the lesser evil of a bad situation. Because what we don’t want is police using powers that erode the freedoms of the innocent people, like breaking into people’s homes and going through their stuff, or wire tapping, or torture, or whatever. Things we don’t want police to do to innocent people.

    If doing these things were “frowned upon”, but we still used the information we gained from it anyway, then it would be a viable police strategy. It’s a cost of doing business, but it gets the job done. Even if a single officer got fired for it, they could choose to matryr themselves to do the bad thing and get the guy. But we don’t want cops doing these things, because anything they do against a person they think might be guilty is something they could be doing to a person that’s actually innocent. So we kinda have to make the rule be that any information, no matter how good, that was gotten in a bad way becomes bad information that we all agree never to use. Because that’s the only way to make sure the police don’t want to do the bad things.

    It may let some guilty people go free, when the police screw up, but in theory it protects all of us against an escalating police state.



  • Some tips:

    • Unless the code is very small, or your feature is very big, try to put blinders on, and focus only on the code you absolutely need to to get your feature built. Use search tools to comb through the code to find the relevant methods while reading as little surrounding code as possible, tweak those methods to be different, and call that a first draft. If the maintainer wants the code refactored or differently arranged, they can help with that as part of the review process
    • Being unable to build sucks, it really does. But if the software is released for your platform, it means someone out there is able to build it. And these days that someone is often an automated build tool that runs per release. See if you can figure out how this tool works. What build steps it uses, what environment it runs in, etc. If you can’t figure that out, try contacting the person who releases the builds
    • If the software is in apt (if you’re on a Debian-based system), you can use apt build-dep, apt source, and debuild to try and recreate the native apt build process. These tools will give you the source that built the system package, and its dependencies, and allow you to build a deb yourself out of it. Test the build to make sure it’s working as-is. If it is, and if the software’s dependencies haven’t changed too much, you can even use apt to fetch the old version that’s in the repos, update the code to reflect the upstream release, and then test the build there to see if it still builds. If so, now you have something you can start working off.
    • If you aren’t on an apt system, but do have a package manager, I assume there’s an equivalent to the workflow mentioned above
    • If your change is subtle enough that you think it’s pretty low-risk, you could just edit the code even though you can’t build it. This might be sufficient for bug-fixes where you just need to check something is greater than zero, or features where you pass a true instead of a false in certain conditions or something. You should probably mention this in your PR / MR / Patch so the reviewer knows to test building it before merging.
    • This one is a bit wild, but let’s say you’re on a Mac or Windows machine, and the build instructions only work for Linux. You can just run a virtual machine that’s got Ubuntu or something running on it, and use it as your build environment. These days you can probably be in a simpler situation with Docker or something more lightweight, but as a worst-case scenario, a full virtual machine is there for you if you need it
    • And finally, if the tool isn’t a crazy popular or busy tool, it’s possible the maintainer or other people in the community are more approachable than you think. If they are looking for contributions, then getting a willing contributor’s build environment setup is a benefit to the project. Improving their build docs helps not just you, but potential future contributors as well. A project will usually be more helpful towards someone who says “I’m trying to build this feature, but I’m running into trouble” compared to someone saying “why doesn’t your tool do X”. You may need to be a bit patient, they’re probably doing this on volunteer hours, but they might be happy to help you get your stuff sorted out

    Good luck out there, and try not to be discouraged!



  • Nah, I mean, I was around when George Bush was the guy. I didn’t like him, I didn’t feel he was a good leader, or fit for the office. I would try to convince people not to support him or the war(s) in the middle east. But he was not a threat to democracy. Except maybe through The Patriot Act…

    There was a lot of things I didn’t agree with that Mitt Romney believes. I think voting him in would have been regressive and bad for gay people, etc, who I care about. I think he is wrong about things. But he’s not a threat to democracy. I belive that he believes the things he claims to believe, and that he believes in his heart that he’s doing the right thing. I just disagree with him.

    John McCain seemed like an honorable man. Again, I felt that his priorities and mine didn’t line up, but he was nowhere near a threat to democracy.

    The reason this dude is a threat to democracy is because he has openly and repeatedly disregarded voting and the function of government, which is kinda democracy’s whole thing. If the votes don’t count, and the results don’t follow the will of the voters, then it’s not a democratic system. If you systematically choose to make it so some segment of your citizens cannot vote, or their voices are not heard, then it’s not a democratic system.


  • I agree with OP. If there’s a puzzle in a game that’s clearly some kind of water puzzle, but I can make a boat to solve it in 15 seconds and bypass the obvious intent of the puzzle, maybe I feel a bit clever. But if I can solve every puzzle with effectively the same boat… what’s the point of doing the puzzles? I guess because I wanted puzzles? But on the other hand, if I know I can solve every puzzle with a 15 second boat, it feels kinda weird to pretend I don’t have an answer and struggle through anyway. Like, the victory is hollow when I know I could have solved it faster the dumb way.

    The number of times in that game I thought “oh, maybe I have to jump up through the floor here to get through this door” and then I peeked through the floor and was like “oh, nope. It’s the damn final boss room again. Not supposed to be here yet, better go back through the floor and try another way to open this door” felt like I was babysitting the game so as to not entirely ruin the experience… and it kinda ruined the experience…


  • Well… That’s actually probably fair as stated.

    BestBuy etc don’t sell Apple’s products on commission, they bought them from Apple for a wholesale price, they’ve got them in a warehouse and on shelves right now on their dime, and the only way they make that money back is by selling them.

    And the only way Apple makes money from a product being sold at Best Buy is that Best Buy will likely buy more stock to replace the stuff they sold, and they’ll buy that from Apple.

    So if it was banned everywhere it would be unfair to the retailers that already paid Apple for a product they now can’t recoup, and it wouldn’t impact Apple at all because they already made their money from Best Buy.

    This way the retailers can get their money back, but can’t get any more, which means only Apple is impacted.

    The only other way that’s semi-fair (but would be extreme) would be for Apple to be forced to do a recall or something and reimburse all the retailers the money they had already spent. Doable, and definitely more of a punishment for Apple, but a lot of extra work for everyone if the outcome of this is that Apple settles and then everyone can just go back to ordering more again.