azimir

joined 1 year ago
[–] [email protected] 9 points 5 hours ago

Gotta protect those gas stoves, oversized pickups, generally fucking everything up out of anger, and fighting culture wars instead of the class war keeping us all in the gutter.

[–] [email protected] 17 points 8 hours ago

It's all about biblatex. I only write using Word/docx if they force me to for publication, otherwise I use LaTeX for typesetting. It's vastly superior for serious publications, especially technical ones.

I use JabRef for managing my citation databases.

[–] [email protected] 7 points 8 hours ago

I did some work In a field with a total of 6 papers over 30 years. It was niche as all get out. Did my second paper cite the first? You betcha. I literally cited every research paper ever done on the topic, including mine.

Now there's 7 papers on the topic.

[–] [email protected] 5 points 8 hours ago (2 children)

They are file handles. All three are opened by default for all new processes.

STDIN is number 0 STDOUT is number 1 STDERR is number 2

By default STDIN is connected to a buffer which keyboard chars are put in by the OS.

STDOUT is a buffer read by your terminal emulator to be drawn on the screen if it's a GUI. A raw terminal does the same, but without the windows manager layer in the middle. Essentially, the virtual terminal is reading the STDIO buffer and rendering the characters to it's GUI windows for you.

STDERR is the same as STDIO, but is usually only used for error messages, but they're displayed via a different file handles so they can be captured and redirected separately from STDIO.

[–] [email protected] 23 points 14 hours ago

The statements about how much people just have to have their cars parked everywhere because there's not enough space for their cars so they need to take over everything for the cars is scary. Didn't the city exist before cars were invented? Maybe there's ways to live without the car at all times?

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

Given the latest wave of required GOP features, he must have finally admitted to killing a family pet with a shovel.

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

I've now been to Berlin at least 5 times in 28 years. I say at least because I now have to start rebuilding what happened when to have a truly accurate accounting. Once it gets above 10 I'm going to have to keep a note card reminder to have the number around.

Someone with Governor Walz's travel history would be just a blur unless you get official records or work really hard to remember exact trip counts.

Ask Felon Trump how many times he's been to Russia and see what guess he makes. This is a nothingburger of a story.

[–] [email protected] 19 points 4 days 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 5 days 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 1 week ago (1 children)

Exhibit A: George Santos

[–] [email protected] 10 points 1 week 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 1 week ago

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

 

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

 

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 ›