Skip Navigation

InitialsDiceBearhttps://github.com/dicebear/dicebearhttps://creativecommons.org/publicdomain/zero/1.0/„Initials” (https://github.com/dicebear/dicebear) by „DiceBear”, licensed under „CC0 1.0” (https://creativecommons.org/publicdomain/zero/1.0/)TE
Posts
0
Comments
687
Joined
2 yr. ago

    1. If you’re a man and that O.P. is a woman, her facts are feelings and your feelings are facts, and those forty-seven increasingly lengthy responses you fired off were clearly a rational reaction. If she reacted negatively to them, do not forget to rebuke her for being emotional.

    I take issue with this point. It builds on the basis that there are women on the internet, which we know is factually not true. There are only men and, in some communities, squeaky teenagers. (/s)

    I'm bookmarking this article. It'll definitely be useful at several points in the future when I need to rebuke someone's rebuke.

  • Might just be my inexperience with the library, but every time I end up with a pandas dataframe, I spend the next 4 hours trying to figure out the right sequence of index statements and function calls to get the data in the order I want. It always ends up feeling like I'm doing something wrong, and the only way to really tell is to run the code as far as I can tell. I don't use dataframes very often though, and I'm sure it gets easier with experience.

  • I don't know what it is about Teslas, but everytime my wife and I get in one, we start feeling carsick after a while. It's only with Teslas too.

    Still, as much as I'd never buy a Tesla, it is a functional car for the most part, and worst case you turn on the hazards and pull over (if the car doesn't actively try to kill you). A brain implant sounds like an absurdly horrible idea. What's the best outcome of one of these anyway? Ads playing in your thoughts?

  • Looks like they're using fat margins instead of max-width and nobody thought to use media queries to reduce them on mobile...

    Edit: I should add the page renders fine on my phone, FF android. I'm not sure what's going on in the screenshot, maybe desktop view?

  • I think the biggest issue here is the corporations purchasing these homes in bulk. Had these been owned as, say, someone's second home, they would naturally care more for the property as the property would be a lot more personal to the owner. Individual owners with only one or two properties for rent also have significantly less power in controlling the market as they would be forced to compete with each other. Corporations owning sizable percentages of the homes in an area can essentially set their own prices, especially since they can afford to buy properties well above market rate from individual owners looking to sell.

    As someone who knows people who are small landlords in the area, it has become a very toxic place for both renters and individual landlords. At least one of the people I know is at the point of packing up and leaving the state because of how bad it is to own and rent there. While giving renters these additional rights is a step in the right direction against corporate landlords, I think it would honestly be better to find a way to disincentivize people/companies from owning so many properties in the first place so that more individual ownership can happen. Imagine if people in the city actually owned their homes.

  • GPT, at least from my limited understanding, is a tool designed to continue the input. You feed it a sequence of tokens, it returns a tokens which it "believes" come next. While your impression is valid, it's still a "completion engine". ChatGPT and other products use GPT but have built a product around it. They are not simply frontends for GPT - they do a lot more processing than that.

    Also, not trying to understate your impression. It's pretty impressive how good it is, despite the compute needed for it. I would caution against overestimating its responses though. It does not "reason", "think", etc. Its purpose is to continue a sequence of tokens following a (super complex) pattern it has been trained on (super basically). When it claims to reason something, it's because the people it trained off of did reason it.

  • For shared, immutable lists, you can also use Arc/Rc in place of Box! I guess what's surprising is that [T] (and str/Path/OsStr/etc) are traditionally associated with shared borrows (like &[T]), but they're really just unsized types that can be used anywhere there's a ?Sized bound.

    Also, overuse of lists (as opposed to other data structures) seems to be a common problem in all programming languages among less experienced devs since they're simple enough to use in most places. Not saying that's what happened to the author though - these types are way less obvious than something like a hash set or queue.

  • Removing filter variants of inserters sounds super nice. It always felt odd to me that filters were a part of a completely different type of inserter, and needing to carry both non-filter and filter variants of inserters took up a lot of inventory space it felt like.

  • You can move it to the top in the settings though..? They moved it to the bottom by default because most people have their thumbs close to the bottom of the screen, so they don't need to reach all the way to the top to get to the URL bar or change tabs.

  • Someone else already mentioned Rust, but to add to it, rustup installs rustfmt (opinionated formatter) and clippy (linter) by default, but you can choose not to run them or even install them. rustfmt has a few configuration options, but is for the most part strict in how it formats code.

    PEP8 is nice since it sets some common rules across Python projects, but I'm not a fan of some of the decisions they made. The biggest one for me was discouraging defining variables/attributes/etc that use the same name as built-ins. That means no variable named input, no attr on your data model named id, etc. Still, since the language doesn't strictly enforce this, you can easily adjust these rules to meet your project's needs.

    I believe go requires you to run the bundled formatter to even compile the code, but I could be misremembering.

  • Also worth reading is how state machines can be encoded in the type system in some languages, for example the typestate pattern in Rust. By using the type system to encode state like this, you can prevent invalid operations on a state machine from even compiling.

  • It's much easier to write an abstraction over one platform, an embedded chromium browser, than it is to write abstractions over several drastically different platforms. For most applications, the developers are satisfied with the performance and footprint anyway and see no value in maintaining a different application for the different platforms when it can all be written once with something like Electron.

    Still, there are people out there trying to write cross-platform, native UI frameworks. For example, I believe that's what Slint is trying to do, although I've never tried it myself.

  • I use nushell, same thing with the suggestions. With nushell, you can also press up/down to traverse through the command history for commands starting with what you typed. For example, you could type ls and press up a bunch to go through ls | where size > 2kb, ls | where type == 'directory', etc (if you've executed those before).

  • half of the members of the state Senate who are midway through their four-year terms.

    Correct me if I'm wrong but isn't that just one person? Wording it as half of the state's senators seems a bit dramatic. (This wording was also in the article from what I could see)

  • Look, I applaud them for trying to be unique, but man that has to be the ugliest vehicle I've ever seen. As for concerns about it's safety, I'd be concerned too considering how little space there appears to be between the driver and the front of the vehicle. Also, the last thing you want on a 30mph road is an acceleration pedal that immediately tries to show off how fast it can hit 60mph.