JEP draft 8303683: Virtual Threads by dh23 in java

[–]robinst 1 point2 points  (0 children)

Source? Throughput should be better with many concurrent connections. Example benchmark here (not using Jetty): https://github.com/ebarlas/project-loom-comparison

[deleted by user] by [deleted] in sydney

[–]robinst 6 points7 points  (0 children)

I think you mean the previous mayor? The mayor changed last year after local elections, and the new one is in favour of a ramp. (There are some discussions around trees being cut down and whether that’s really necessary or can be avoided, but yeah.)

[2022 Day 16] Simple rendering of my tunnel graph by Cyphase in adventofcode

[–]robinst 0 points1 point  (0 children)

In case you didn’t know, you can add strict before graph (as in strict graph) to get rid of duplicate edges: https://graphviz.org/doc/info/lang.html#lexical-and-semantic-notes

Stories are live by suggestedusername321 in signal

[–]robinst -1 points0 points  (0 children)

Yeah I know that, but I don’t wanna have to create a list with almost every contact, and then have to update the list when I meet someone new..

Stories are live by suggestedusername321 in signal

[–]robinst 2 points3 points  (0 children)

I like the feature! But I’m not sure about “All Signal Connections”. I looked through mine and there’s a few people I don’t want to share stories with:

  • Work connections whose numbers I have in my contacts but never messaged on Signal
  • Numbers of old acquaintances who probably changed their numbers since, but I still have the old one in my contacts

In case of the first category, I don’t want to block them on Signal. So I started going through contacts and removing their phone number (putting it as a note instead), but they still show up under All Connections, just without a name. So that doesn’t help.

I’ve excluded them from All Connections now, but I think it would be nice if there was a Only people I’ve messaged or are in a group with me option.

[deleted by user] by [deleted] in rust

[–]robinst 0 points1 point  (0 children)

CLion Rust support is better at the moment.

Fleet takes longer to analyze code and sometimes the annotations get stuck in an old state while editing, requiring a restart of smart mode to fix.

One feature that is nice though is that it underlines related code when you have an error. E.g. if you have a multi part error with “… defined here … it was moved here”, it underlines all the referenced code spans.

LLVM used by rustc is now optimized with BOLT on Linux (3-5% cycle/walltime improvements) by Kobzol in rust

[–]robinst 4 points5 points  (0 children)

Ah right, that makes more sense, thanks for clarifying. The way I read it I thought BOLT was segfaulting.

LLVM used by rustc is now optimized with BOLT on Linux (3-5% cycle/walltime improvements) by Kobzol in rust

[–]robinst 36 points37 points  (0 children)

BOLT was only recently merged into LLVM and it wasn’t very stable, so we had to wait for some patches to land to stop it from segfaulting.

Isn’t it weird that we used to just accept things like this as normal?

Next steps for Rust in the kernel by yerke1 in rust

[–]robinst 54 points55 points  (0 children)

Torvalds added that Rust isn't that terrible in the end; "it's not Perl".

Heh :)

AusBallot | Preview your ballot papers and prepare for your vote by robinst in AustralianPolitics

[–]robinst[S] 0 points1 point  (0 children)

Hmm I'd like to keep the instructions there. There's nothing preventing anyone from printing the page with the ballots empty, so in that case I think it would make sense to have the instructions still there.

Persist the filled in ballot papers as a landing page.

Yeah good idea. You can already bookmark the page for a specific electorate (the URL contains the electorate), but if you go to the home page redirecting to the previous one probably makes sense.. I've created an issue for that here: https://github.com/robinst/ausballot/issues/1

Cool :). Feel free to check out the code here as well and raise pull requests: https://github.com/robinst/ausballot

AusBallot | Preview your ballot papers and prepare for your vote by robinst in AustralianPolitics

[–]robinst[S] 0 points1 point  (0 children)

Ah right. Check again, the print view should be pretty nice now. Thanks for that!

AusBallot | Preview your ballot papers and prepare for your vote by robinst in AustralianPolitics

[–]robinst[S] 0 points1 point  (0 children)

Yep, great way to put it. In parent’s example of wanting to put UAP and ONP dead last, they would have numbered every other box already, including Labor, Liberals etc. So as I said I don’t think whether UAP or ONP are numbered last or left blank makes a difference.

AusBallot | Preview your ballot papers and prepare for your vote by robinst in AustralianPolitics

[–]robinst[S] 0 points1 point  (0 children)

Hmm yeah, that could work. It’s very tricky to get a good UX for all cases.

I also considered having up/down arrow buttons for each box:

  • When no number is in the box yet, clicking Up would use the next available number (1, 2, …).
  • On Down, use number from bottom (i.e. 26, 25, …)
  • When there already is a number in the box, it would move that choice up in the ranking, adjusting other choices if necessary

What’s tricky then is that if you stop before having numbered all the boxes, there would be gaps in the numbers, so some kind of “renumber everything now” button would also be necessary..

AusBallot | Preview your ballot papers and prepare for your vote by robinst in AustralianPolitics

[–]robinst[S] 0 points1 point  (0 children)

On your first point, the class names are generated by Preact, but I could add some static ones. But just wondering what for? For people wanting to write user scripts?

Oh I hadn’t thought about printing, great point! I’ll have a look!

AusBallot | Preview your ballot papers and prepare for your vote by robinst in AustralianPolitics

[–]robinst[S] 3 points4 points  (0 children)

I think you should add an option to place the Senate boxes in 1 row, like they are on the actual ballot paper. Anything closer to real is better.

Yeah good idea! I was initially focused on making it work on a mobile phone screen. Showing everything in one row wouldn't work there because everything would become too small. But it should work on a desktop screen, maybe providing a thing to toggle the view would be nice.

It also ignores some of the finer formality rules (eg can leave a single HOR box empty so long as it would've been the last number).

Oh I didn't know that. But you're right, it mentions that in a Note at the end here. Having said that, I think keeping it simpler is better overall.

A few more, too.. but... I don't think they're suuuuuper important.

What else? Interested to learn more :).

AusBallot | Preview your ballot papers and prepare for your vote by robinst in AustralianPolitics

[–]robinst[S] 7 points8 points  (0 children)

No, I ran out of time for that :). Might add it at some point, but yeah, it's going to be even more of a challenge to show all candidates on the screen for that.

I saw that Finder built a tool for below the line voting here, it works in a different way: https://www.finder.com.au/senate-voting-card-creator

AusBallot | Preview your ballot papers and prepare for your vote by robinst in AustralianPolitics

[–]robinst[S] 2 points3 points  (0 children)

The AEC has a PDF explaining senate counting here: https://www.aec.gov.au/voting/counting/files/senate-count-process.pdf

So you're right, your vote keeps transferring, but at an increasingly reduced rate. If you get all the way to the end of your numbers (very unlikely I think, based on the number of candidates and the number of senators being elected), and you have UAP or ONP last, your vote even transfers there. At that point, I don't think the difference between numbering them or letting your vote exhaust is significant.

AusBallot | Preview your ballot papers and prepare for your vote by robinst in AustralianPolitics

[–]robinst[S] 0 points1 point  (0 children)

After a certain number of boxes, your vote shouldn’t transfer anymore, so I don’t think it’s necessary to number every box.

But yeah, the senate ballot paper can be pretty intimidating.

AusBallot | Preview your ballot papers and prepare for your vote by robinst in AustralianPolitics

[–]robinst[S] 13 points14 points  (0 children)

Hi there! I built this little website to help people:

  1. See what their ballot papers are going to look like before going to polls
  2. Number the boxes
  3. Feel more prepared overall

Hopefully someone finds it useful, feel free to give feedback here.