azimir

joined 1 year ago
[–] [email protected] 13 points 9 hours ago (2 children)

I turned down a professorship position at a uni in part because they used windows for the whole curriculum. It would have driven me crazy having to use windows given how annoying it is for dev work. I put value on my sanity and it wasn't worth the modest pay bump to be driven batty every day.

I likely get to teach an IoT class next term. It's going to be so much fun with SBC systems running Linux and Arduino sensor systems! That's worth a ton to me.

[–] [email protected] 33 points 1 day ago

Trump is a coward. He's a schoolyard bully coward. He got punched in the last debate so he's crying foul in the corner.

[–] [email protected] 33 points 2 days ago (1 children)

Exhibit A: George Santos

[–] [email protected] 10 points 3 days ago

Ranked Choice Voting (or ANYTHING with preference polling) would be vastly better than our current system. It would enable 3rd parties to thrive without being nearly the spoilers they are now.

Every voting system as it's flaws and edge cases, but our current First Past the Post system is a trainwreck crushing the Republic by degrading into two majority parties (as it demonstrably always does) and then letting other countries and dark money prop up spoiler candidates to hurt their opponents.

We either fix our voting system or we eventually lose the Republic.

[–] [email protected] 2 points 4 days ago

It wasn't fun, that's for sure.

[–] [email protected] 4 points 5 days ago

... It's nice, though you're still driving a two ton weapon, but now you're used to it.

[–] [email protected] 8 points 6 days ago (3 children)

The Amtrak system in the US shares rail, and is low priority, than freight trains. Basically, passenger rail has always been a side business for the train companies the US. It is subsidized and used as a bribe by the federal government to even try to keep a passenger rail service alive.

That means our trains are often kept as slow speeds to stay behind freight trains, and will be stopped to wait for freight trains if some is off schedule. The routes are also mostly only rated for 60mph speeds, so even at full speed you're barely keeping up with cars on the highway, and then you add in stops at every podunk town that slows it down even more.

Until the US invests in a separate passenger rail network that can support consistent speed and schedules, it will remain on par with similarly under developed nations for rail service.

[–] [email protected] 27 points 6 days ago (5 children)

There's also the very muddled announcement that to make it you'll need to change trains at some small town.

Or, they just decide to not stop at your station, so you get to hop off past your station and ride a train back the way you came.

All that said, it's still a miracle from God compared to the crap we have in the US.

[–] [email protected] 20 points 1 week ago (1 children)

Okay. Regardless of what it really is or not. I've decided I'm not voting for President Biden in the next election. Nor Hunter Biden. They're both off my list as candidates.

[–] [email protected] 1 points 1 week ago

With varying degrees of regret. Some cities named to keep the right of ways, so rebuilding is more reasonable, others gave/sold it off and now they're double plus fucked.

Most of the pre-1950's trams were private, and not city run. The cities that took them over and kept them running are looking really smart at this point.

My city is about as smart as a box of rocks.

[–] [email protected] 25 points 1 week ago

Ah, the replacement mythos, blended with White Fascism and Christian Nationalist chaser. All badness all the way down.

 

Washington State Department of Transportation is starting to realize that we cannot afford to maintain the sheer volume of roads we build. The maintenance debt that we have built up is bankrupting our governments and it's only going to get worse year by year.

Civilization itself cannot afford to have so many car oriented roads long term.

https://www.thecentersquare.com/washington/article_e69a80be-75f1-11ef-8b50-3babe18f06e9.html

[–] [email protected] 14 points 1 week ago

It sounds like Twitter is hosting their services on several cloud platforms or replication services that weren't blocked by Brazil. So, users in Brazil just hit the 3rd party platforms and kept going like usual.

Is that Twitter's fault and/or on purpose? Don't know yet, but services like Akamai need to make sure their hosting Twitter doesn't get them banned in Brazil across the board.

 

The more car trips taken, regardless of how safe you try to make things, or how much you try to educate drivers, or how many 'be careful' street signs you put up, will always increase the chances of a crash.

 

This is kind of an open question for me: does any code coverage tool work in Java with Junit5? I'll admit that I'm no Java configuration specialist, so I find the complexity of XML-based configuration systems to be quite opaque. I've got a few simple Maven-based build projects on hand and I wanted to add code coverage to the test harnesses. Unfortunately, I have never managed to get one stood up and running. I do this all the time with Python pytest/coverage tools, but it's been elusive for Java projects.

Could someone here please point me to a working example of any Java project using Maven / Junit5 / [any code coverage system]?

My latest attempt to get a working example came from this howto: https://howtodoinjava.com/junit5/jacoco-test-coverage/

But, it once again gave me the: [INFO]


jacoco-maven-plugin:0.8.7:report (default-report) @ JUnit5Examples


[INFO] Skipping JaCoCo execution due to missing execution data file.

As near as I can tell, JaCoCo just never runs. Ever. It's been very frustrating. I've read tutorials, followed suggestions on configuring surefire in various ways. I've pulled misc repo that claim to have it working. I've tried different computers with different OSes, versions of java, different maven installs, etc. There's something somewhere that I'm missing and after months of off and on attempts to get this working I'm at my wit's end.

Please help.

 

The measure to make vehicles weighing 1.6 tons and over pay 3x the parking rates for the first two hours has passed in Paris.

Now, let's get that in place for London and many other other places to help slow, and even reverse, this trend towards massive personal vehicles.

 

This video outlines some of the relationships between US commuting culture and the perspectives that it's engendered about the role of the city. The, when compared and contrasted to other nations' approach to city design and perspectives shows that it's possible to have a city core that's more than just a workplace.

My city is currently clinging to a small area of interesting downtown core. Everything else has either been bulldozed for parking lots, turned into office buildings with no store fronts, or plowed into wider roads. Every time I show the maps of the city with how car-focused we've made downtown to a city council member they recoil at the desolation, but it's so hard to get change happening.

We need fewer roads, cars, and non-human spaces in our city core areas. Making wider walking paths, biking roads, mass transit (not just busses!), and planting trees to make spaces more attractive will all continue to invite people to come downtown, not just someone desperate enough to drive there, park, hit one store and drive away.

195
submitted 10 months ago* (last edited 10 months ago) by [email protected] to c/[email protected]
 

The mayor of Hoboken, NJ came in with a vision of reducing traffic deaths to pedestrians and cyclists. He instituted several strategies of traffic calming, increasing pedestrian visibility, reducing city wide street speeds to 20 mph with schools and parks down to 15 mph. Within a few years of road improvements and redesigns their pedestrian traffic deaths to zero for several years.

The article does note that half of the streets have bike lanes, they've put buffers between pedestrians and cars, and continue to redesign intersections with a focus on safety instead of just focusing on car speed/throughput.

 

What I'm looking for is some kind of desktop tool that uses the OpenAI GPT web endpoint. I'd like something where I'm able to upload one or more documents (text files) and then include them as part of the conversation/query.

I have access to the GPT-4 API and I've been writing Python3 code against it for some various applications. I can see how I'd write a tool that takes in one or more documents to include in the total prompt history, but I'm hoping to not have to write it myself, mostly due to time constraints.

Is there some kind of application that has a similar feature set to this that I should look at? Or, is there a wiki/site that lists off the current tools available that I could look over?

 

I'm enjoying the wefwef feel, but I have a question about copy/paste with comment text: is it even possible?

When I click on a given comment it collapses. When I click and drag it swipes. Is it possible in the web browser (desktop) to highlight a comment's text at all? It's not rare that I want to copy/paste some text, especially Lemmy links lately, to search/work with them. I'll also want to copy/paste quotes or other material on occasion.

So: what's the trick or instructions, if they exist, to be able to copy/paste text in wefwef?

 

I received an email from a textbook salesman. This isn't a rarity, but today this line lept out at me:

"Ideal for students learning concepts and reasonably priced at $144.95,"

No. Just no. $144.95 is not reasonably priced. This is the first of what is likely a lot of emails that I get to respond with the line in the sand that I've drawn:

"Reasonably priced" at $144.95?

No thank you. I won't subject my students to materials, including books, equipment, and any online tool licensing, that cost more than $60 per course. Until your offerings are in this range, please do not contact me again.

Even my $60 per course number is high as far as I'm concerned.

 

Given that it's June, my suggested book to read is "Monstrous Regiment" by Terry Pratchett. Yet another wonderful work by one of the best authors in the history of humanity.

view more: next ›