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
683
Joined
2 yr. ago

  • 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.

  • I couldn't care less about another browser without clear benefits over Firefox, but I think this is the main takeaway - Swift is usable for production development on Windows these days apparently, which is awesome.

  • Looks like the original post (short article?) was in 2010. Thinking of how C++ has evolved since then, I have a hard time believing anyone but the most involved and dedicated C++ developers can really understand all of how C++ works. Heck, even the compilers don't seem to have a full grasp of C++ these days (at least with regards to modules).

  • To be clear, I'm not against piracy as a whole, but at its core if a potential buyer pirates something, then that is an opportunistic loss, and thus there exists a value to what was pirated (or rather the sale of it).

    digital content pricing is skeuomorphic (sp?) at best and absolute bullshit at worst.

    There are a number of ways to price digital content. You could price it based on cost of production split among an estimated number of sales plus a premium, or based on what others in the industry price it at. Regardless, to the creator of that digital content, each sale of that content has value, and while the copy itself might not, the transaction does.

    Each instance of piracy does not mean one lost sale.

    I "demoed" Minecraft before buying it, and you can bet I recommended it to others as well. There are plenty of instances where piracy can be a good thing, however I was never trying to state otherwise. In my original response, I had called out that piracy by people who would not otherwise purchase a product was less clear. There are also people who "pirate" content they've already purchased, and those who pirate like I did to demo a product before buying it later. In your case, you also have a justification for it when it comes to music. However, the point was that piracy can be harmful (as is shown by my extreme example of everyone pirating something), and therefore the sale of the content being pirated has value. They aren't charging just because they feel like it, they're charging because they're selling a product, and the product had a cost to produce, even if it was mostly just an initial cost.

    The debate around digital product ownership is an important one, and if you're voting with your wallet by pirating the content, then by all means I won't stop you. However, the idea that you aren't "stealing" because you pirated digital content rather than purchasing a license to it is a distraction from the real problems of digital ownership that the article covers extremely well, most of which stem from lack of control over your copy of the product. Using piracy to try to effect change makes sense, but only because that piracy can harm the creators/distributors. If it didn't harm them, then they wouldn't care about the piracy and wouldn't be interested in changing.

    Anyway, if you got this far, I appreciate your time.

    Ditto.