BitSound

joined 2 years ago
[–] BitSound@lemmy.world 8 points 7 months ago (1 children)

From what I understand, Ada does not have an equivalent to Rust's borrow checker. There's efforts to replicate that for Ada, but it's not there yet.

[–] BitSound@lemmy.world 43 points 7 months ago (2 children)

That tracks

 

Fairly simple post, just a few statistics/charts from a single survey. Anyone have an opinion on this?

 

That was a laughable election. I would've preferred if Harris had won, because I'm not an accelerationist, but that time is past. Where do we go from here? Can the DNC be dragged back towards the left, or is it done for?

[–] BitSound@lemmy.world 11 points 8 months ago (2 children)
[–] BitSound@lemmy.world 8 points 8 months ago (1 children)

Not sure if this is what you're referencing, but there's a famous quantum computer researcher named Scott Aaronson who has this at the top of his blog:

If you take nothing else from this blog: quantum computers won't solve hard problems instantly by just trying all solutions in parallel.

His blog is good, talks about a lot of quantum computing stuff at an accessible level

[–] BitSound@lemmy.world 24 points 8 months ago

Cross-posted to !bestoflemmy@lemmy.world, which is probably the closest active community we've got

[–] BitSound@lemmy.world 13 points 8 months ago* (last edited 8 months ago)

Ha, that reminds me of Donald Knuth offering 0x$1.00 to anyone that finds a mistake in TAOCP, like this guy:

https://nickdrozd.github.io/2019/05/17/knuth-check.html

[–] BitSound@lemmy.world 8 points 8 months ago (3 children)

Does anyone here actually use awk for more than trivial operations? If I ever have to have to consider writing anything substantial with bash/awk/sed/etc, I just start writing a Python script. No hate to the classic tools, but Python is just really nice.

245
submitted 8 months ago* (last edited 8 months ago) by BitSound@lemmy.world to c/asklemmy@lemmy.world
 

If you haven't read about it before, the term comes from the band Van Halen, who demanded that there were no brown M&M's backstage. People thought it was just a crazy rock star thing, but David Lee Roth later explained that it had a purpose:

Van Halen was the first band to take huge productions into tertiary, third-level markets. We’d pull up with nine 18-wheeler trucks, full of gear, where the standard was three trucks, max. And there were many, many technical errors—whether it was the girders couldn’t support the weight, or the flooring would sink in, or the doors weren’t big enough to move the gear through.

… So just as a little test, in the technical aspect of the rider, it would say, “Article 148: There will be 15 amperage voltage sockets at 20-foot spaces, evenly, providing 19 amperes … ” This kind of thing. And article number 126, in the middle of nowhere, was, “There will be no brown M&M’s in the backstage area, upon pain of forfeiture of the show, with full compensation.”

So, when I would walk backstage, if I saw a brown M&M in that bowl … well, line-check the entire production. Guaranteed you’re going to arrive at a technical error. They didn’t read the contract. Guaranteed you’d run into a problem. Sometimes it would threaten to just destroy the whole show. Something like, literally, life-threatening.

My Brown M&M atm is AI-generated comments like this (first comment is referencing something like df = ... that they removed from the code, but left the comment, second comment is super useless):

# Assuming df is your DataFrame

# Show the plot
plt.show()

That probably means whoever I got the code from just copy/pasted whatever the LLM spit out, and didn't actually think about the code at all.

What is a small detail that you pay attention to because it means there's bigger issues to watch out for?

[–] BitSound@lemmy.world 4 points 8 months ago* (last edited 8 months ago)

Sorry, mixed up the videos. It's actually this one, from 2014:

https://www.destroyallsoftware.com/talks/the-birth-and-death-of-javascript

Edited link above

[–] BitSound@lemmy.world 5 points 8 months ago* (last edited 8 months ago) (2 children)
[–] BitSound@lemmy.world 4 points 8 months ago

Definitely not. There's a whole genre of music that's created for riding the coattails of popular songs. They wait for a song title by artists like Taylor Swift to be announced and then release their own songs with the same title. Sometimes they're actually good, like this dude:

https://genius.com/artists/Only-fire

[–] BitSound@lemmy.world 15 points 8 months ago (1 children)

I've been wondering how much of that is back to school. I have the sense that Lemmy has a lot of younger users. I can't judge though as I've been inactive for long stretches due to life. I've been trying to contribute more now

 

https://programming.dev/post/20491311/12787623

Might be an LLM-generated response? Kind of bizarre. If it's not OK to link to other posts on Lemmy, will take this down.

 

Mindustry dev has had enough

 

I've encountered some conflicting usages of Tag:landuse=residential. Some areas are very specific, and broken down into individual blocks, while some areas cover multiple blocks. Here's an example of both styles adjacent to each other:

https://www.openstreetmap.org/way/653823458

https://www.openstreetmap.org/way/652122607

The wiki doesn't really say much on the topic. Does anyone have opinions/rules of thumb on how to tag them exactly? It seems like all adjacent areas not separated by major highways should be joined together?

I've encountered some residential areas that are broken down into mapping each block, and literally follow the curb, rounded corners and all. That seems too specific?

 

I'm looking at Tag:crossing=marked, and it's a little vague. It says:

Set a node on the highway where the transition is and add highway=crossing + crossing=marked.

If the crossing is also mapped as a way, tag it as highway=footway footway=crossing crossing=marked or highway=cycleway cycleway=crossing crossing=marked as appropriate.

Doesn't that violate the principle of One feature, one OSM element? For example, here's a crossing from where overpass-turbo defaults to showing:

https://www.openstreetmap.org/node/7780814396

https://www.openstreetmap.org/way/833493479

You've got a way with these tags:

crossing=marked
crossing:markings=yes
footway=crossing
highway=footway
surface=asphalt

And the intersection node with the street it's crossing has these tags:

crossing=marked
crossing:markings=yes
highway=crossing
tactile_paving=no

Shouldn't that be one or the other? It makes sense to me to represent the crossing as a way with all the tags, and leave the intersection untagged. I noticed though that StreetComplete doesn't really like that, and will give you quests to add tags to the intersection node even if the way is properly tagged.

 

Original comment:

I don’t know much about voting systems, but I know someone who does. Unfortunately he’s currently banned. Maybe we can wait until his 3-month ban expires and ask him for advice?

Previous discussion

 

I've got a patio for a restaurant tagged as leisure=outdoor_seating. That page says you can add operator=* as a string, but I'm wondering if I can add a Relation between the patio and the restaurant. This is really for semantic reasons, because if the restaurant changes its name or gets a new owner, it would be nice if the patio didn't then have out-of-date information.

I don't see a Relation type that's relevant. I don't want to just start doing my own thing, so does anyone know of a way to use a Relation here, and if not, is that something that can be proposed?

Thanks for all of the responses on my other questions, btw. This community has been very helpful.

 

I'm taking a look at traffic circles like this:

https://www.openstreetmap.org/edit#map=19%2F33.790043%2F-118.142392

The main traffic circle has been split up into 8 different segments, so that individual segments can have Relations added to them, such as the "Long Beach Transit 174" bus route. I'm new to mapping, so I don't really know what to expect, but it seems odd to split it up like that. It ends up adding noise to StreetComplete, in that I can't just say "yep, this traffic circle is asphalt", I have to go to a bunch of tiny segments and mark each one of them as asphalt.

I've also seen this for items generated from Lyft data, where a single road gets split into tiny segments so that one part can be marked as "no u-turn" or "no left turn". StreetComplete wants me to mark each tiny segment individually.

view more: next ›