profile
viewpoint
Alex Burka durka Exyn Technologies Philadelphia http://alexburka.com Embedded engineer, teaching robots to fly themselves underground.

durka/closet 6

Rust crate: CLOSure-Enhancing Toolbox (CLOSET) provides some questionably-useful macro utilities for closures, including clone_army!, which reduces boilerplate for clone-capturing closures, and vindaloo!, which does automatic currying.

durka/brainmunch 4

Brainfuck interpreter using the Rust macro system

astromme/KS0108-for-MSP430 3

KS0108 Display Driver for MSP430

durka/clj 2

My clojure projects.

durka/cellsplit 1

Utility for splitting a Matlab cell mode script into files

Apps-Without-Warning/ubadmubin 0

Share a Zoom account without sharing the password.

durka/alacritty 0

A cross-platform, GPU enhanced terminal emulator

durka/alexburka.com 0

My website, hosted at SCCS and accessible at alexburka.com

durka/Android-Password-Store 0

Android application compatible with ZX2C4's Pass command line application

push eventlojban/ilmentufa

Lynn

commit sha 5ad0cef3e5f34efcbd01391a84e1e799bf0f5c87

Fix GIhA sumti-counting

view details

Alex Burka

commit sha be10c8151a819d66258926005f12c77139341d18

Merge pull request #13 from lynn/patch-1 Fix GIhA sumti-counting

view details

push time in 5 days

PR merged lojban/ilmentufa

Fix GIhA sumti-counting

Now mi mi broda ti ti gi'e brode ta ta correctly has the sumti places numbered as: 1, 2, 3, 4, 3, 4.

Before, ta ta were numbered 5, 6.

+11 -4

0 comment

1 changed file

lynn

pr closed time in 5 days

issue commentmicrocovid/microcovid

Spreadsheet risk calculation seems backwards

Yes... and I think I see why. I created a third row in that Location tab.

Check out the formula in I3-I4... image

...vs the one in I5 and below... image

So, SF and Oakland appear to ignore negative percentages, while newly added cities will ignore positive percentages! Both of those seem weird to me, since cases can be either increasing or decreasing?

durka

comment created time in 7 days

issue commentmicrocovid/microcovid

Spreadsheet risk calculation seems backwards

Interestingly, if I put in a negative percentage for the change in cases from last week to this week, the activity risks go down. But any nonnegative percentage (from 0 to 1000000) produces the same results.

durka

comment created time in 8 days

issue commenticy/google-group-crawler

Failed to fully download large group

I am also having this issue with a large group. The crawler seemed to stop in the middle for no reason.

dado3212

comment created time in 9 days

issue commentmicrocovid/microcovid

Spreadsheet risk calculation seems backwards

Great thank you! Now, when I pretend there's more cases this week, the risk goes up! It's still not super easy to fill in the location info... I guessed 0% for case increase because the website says "cases are stable or decreasing". Though, adjusting that percentage doesn't seem to do much. Is there a better place to find that number?

durka

comment created time in 9 days

push eventApps-Without-Warning/ubadmubin

Alex Burka

commit sha 30953d7151a98abd811af1f879e329d7de00453c

remove reference to specific organization

view details

Alex Burka

commit sha 7023c20d63d7c3940c18fa390b638a59a9b54c56

add mailto link with all registrants

view details

push time in 9 days

issue openedmicrocovid/microcovid

Spreadsheet risk calculation seems backwards

So I've added a column for myself to the PERSON_RISK_FACTS spreadsheet: image (side note: it would be real nice if the main site displayed cases in the week before last, as that's where I'm copying the numbers from)

Also in case it's relevant, I changed some of the person type labels to make it easier for me to use the dropdown: image

Then I've entered some activities: image

I don't trust these results for a simple reason: if I increase the number of local cases on the PERSON_RISK_FACTS sheet, the risk for each activity goes down. How is that possible?

created time in 10 days

push eventApps-Without-Warning/ubadmubin

Alex Burka

commit sha 2412daf3da1e9df50d6657a2bb75c90bf8279282

warn before editing a meeting with existing registrants

view details

push time in 16 days

push eventApps-Without-Warning/ubadmubin

Alex Burka

commit sha 0a8af077205ab4d2c45eb1de899f14b5d14ad48b

don't show editing warning for save-as-new

view details

push time in 16 days

startedVeykril/tlborm

started time in a month

push eventApps-Without-Warning/ubadmubin

Alex Burka

commit sha 56b8af2c8586a98b5ee6e32d8819cdf82ea45997

add comments

view details

Alex Burka

commit sha 40a8eb6a31e58f9fe35453cc1124a810cb0629d1

fix comment syntax

view details

Alex Burka

commit sha 2d02453395dbdabfe4feba098b3b40260c7a78d4

pluralize

view details

Alex Burka

commit sha 4cc0ae3670eb8a2b871680b3284e36d90b188148

record events on create/update

view details

push time in a month

push eventApps-Without-Warning/ubadmubin

Alex Burka

commit sha a6d33455dffe1d97f37876fd48d5dcf74b67cac1

fix css class of reset button so it doesn't cover other buttons (fixes #2)

view details

Alex Burka

commit sha 07db3cbef1155a3ace424c6d3367e3c81c7b0784

remove redundant bootstrap JS (fixes #3)

view details

push time in a month

issue closedApps-Without-Warning/ubadmubin

Don't include jQuery twice

We seem to be downloading jQuery twice (different versions) in base.html. They shouldn't both be required.

closed time in a month

durka

issue closedApps-Without-Warning/ubadmubin

Top left nav buttons disappear when editing

When starting editing, we hide all the siblings of the Edit button, which used to be correct, but some divs got merged and now that includes the "Logout" and "Back" buttons, which probably shouldn't disappear.

closed time in a month

durka

push eventApps-Without-Warning/ubadmubin

Alex Burka

commit sha 96fa05774ab2a1f110f9bf41ea2b04f18eb0a0bb

log clicks on start button (towards #1)

view details

Alex Burka

commit sha df36d093ee5b79b69b369439214133134afbf91f

attempt to show host of past meetings (closes #1)

view details

push time in a month

issue closedApps-Without-Warning/ubadmubin

Guess meeting host using logged in users

Tracking the attendees of past meetings can be messy because there's no foolproof way to match up registrants with participants. Using the lowercased email as a primary key almost always works. However, a big exception is that whoever launched the meeting by clicking "Start meeting" (even if multiple people did this) will be attributed to the email address of the Zoom account owner, and the name also comes from the Zoom account so that doesn't help. The only way to guess how to attribute the time would be to track clicks on the start button, and associate that to logged-in users.

closed time in a month

durka

push eventApps-Without-Warning/ubadmubin

Alex Burka

commit sha c973eb007892ed52b2098bf8583e05178f4d657c

handle errors from zoom.get_meeting (fixes #6)

view details

Alex Burka

commit sha 557ea177ff648b1bcb1ebd9baa780847f1774267

log clicks on start button (towards #1)

view details

push time in a month

issue closedApps-Without-Warning/ubadmubin

Handle "meeting does not exist" without 500

The update-meeting view can handle this error, but the get-meeting view cannot, and just goes to 500 which emails me and doesn't tell the user what happened. That's the desired behavior when the app crashes, but the unknown Zoom meeting error is fairly plausible and should be handled.

closed time in a month

durka

issue openedApps-Without-Warning/ubadmubin

Handle "meeting does not exist" without 500

The update-meeting view can handle this error, but the get-meeting view cannot, and just goes to 500 which emails me and doesn't tell the user what happened. That's the desired behavior when the app crashes, but the unknown Zoom meeting error is fairly plausible and should be handled.

created time in a month

startedblazer82/gb.teensy

started time in a month

issue openeddurka/ubadmubin

Write readme and setup instructions

created time in a month

issue openeddurka/ubadmubin

Add dependencies

Most of requirements.txt needs to be specified here.

created time in a month

issue openeddurka/ubadmubin

Don't include jQuery twice

We seem to be downloading jQuery twice (different versions) in base.html. They shouldn't both be required.

created time in a month

issue openeddurka/ubadmubin

Top left nav buttons disappear when editing

When starting editing, we hide all the siblings of the Edit button, which used to be correct, but some divs got merged and now that includes the "Logout" and "Back" buttons, which probably shouldn't disappear.

created time in a month

issue openeddurka/ubadmubin

Guess meeting host using logged in users

Tracking the attendees of past meetings can be messy because there's no foolproof way to match up registrants with participants. Using the lowercased email as a primary key almost always works. However, a big exception is that whoever launched the meeting by clicking "Start meeting" (even if multiple people did this) will be attributed to the email address of the Zoom account owner, and the name also comes from the Zoom account so that doesn't help. The only way to guess how to attribute the time would be to track clicks on the start button, and associate that to logged-in users.

created time in a month

push eventdurka/ubadmubin

Alex Burka

commit sha 34bdd202b4d0a4158db936056882198970d8c03d

add everything

view details

push time in a month

create barnchdurka/ubadmubin

branch : master

created branch time in a month

created repositorydurka/ubadmubin

Share a Zoom account without sharing the password.

created time in a month

issue commentrust-lang/rust

Can't use #[derive] and macro on a generic type at the same time

Huh? That's exactly the same error.

tuxzz

comment created time in a month

startedhediet/vscode-debug-visualizer

started time in 2 months

startedalandefreitas/matplotplusplus

started time in 2 months

startedprofclems/glab

started time in 2 months

push eventdurka/homebrew-cask

Alex Burka

commit sha 0cb0acca8733c017b3930a4a8fbb2191d32c7305

vb-cable: fix style

view details

push time in 2 months

push eventdurka/homebrew-cask

Alex Burka

commit sha 0ab41d4c8ebe9183df258079eda1f7ae72b09406

vb-cable: fix uninstall stanza

view details

push time in 2 months

Pull request review commentHomebrew/homebrew-cask

Add VB-Cable

+cask "vb-cable" do+  version "107"+  sha256 "ba0bc4674882f828eeb001540460fee04641fdd4c43da7c08a2360644d3536da"++  url "https://download.vb-audio.com/Download_MAC/VBCable_MACDriver_Pack#{version}.dmg"+  name "VB-CABLE Virtual Audio Device"+  desc "Virtual audio cable for routing audio from one application to another"+  homepage "https://www.vb-audio.com/Cable/index.htm"++  pkg "vb-cable-installer.pkg"++  uninstall pkgutil: "com.vbaudio.vbcable"

It's the global /Library/Preferences, but the file is not listed by pkgutil --files nor is it deleted in the uninstall. But it's listed in the manual uninstallation instructions so maybe I ought to add an explicit delete:.

durka

comment created time in 2 months

PullRequestReviewEvent

Pull request review commentHomebrew/homebrew-cask

Add VB-Cable

+cask "vb-cable" do+  version "107"+  sha256 "ba0bc4674882f828eeb001540460fee04641fdd4c43da7c08a2360644d3536da"++  url "https://download.vb-audio.com/Download_MAC/VBCable_MACDriver_Pack#{version}.dmg"+  name "VB-CABLE Virtual Audio Device"+  desc "Virtual audio cable for routing audio from one application to another"+  homepage "https://www.vb-audio.com/Cable/index.htm"++  pkg "vb-cable-installer.pkg"++  uninstall pkgutil: "com.vbaudio.vbcable"

Great thanks. What do you think about the /Library/Preferences plist?

durka

comment created time in 2 months

PullRequestReviewEvent

PR opened Homebrew/homebrew-cask

Add VB-Cable

Hi, VB-Cable is a virtual audio device which can be used as a "cable" to connect one app to another.

** I need help writing the uninstall stanza. I tried uninstall pkgutil: com.vbaudio.vbcable, as you can see, and brew cask uninstall vb-cable claims to run successfully, but it does not delete the files listed by pkgutil --files com.vbaudio.vbcable. Manual uninstallation steps can be found here. I can add that to the formula using :delete but why is :pkgutil not working?

Important: Do not tick a checkbox if you haven’t performed its action. Honesty is indispensable for a smooth review process.

After making all changes to a cask, verify:

Additionally, if adding a new cask:

  • [x] Named the cask according to the token reference.
  • [x] brew cask audit --new-cask {{cask_file}} worked successfully.
  • [x] brew cask install {{cask_file}} worked successfully.
  • [ ] brew cask uninstall {{cask_file}} worked successfully. see above
  • [x] Checked the cask was not already refused.
  • [x] Checked the cask is submitted to the correct repo.
+13 -0

0 comment

1 changed file

pr created time in 2 months

push eventdurka/homebrew-cask

Alex Burka

commit sha 2a37e3476169910fcb550a4cae3cee9a6f530bf4

Add VB-Cable

view details

push time in 2 months

issue openedserde-rs/serde

Provide example input for each example on the website

Most of the examples at serde.rs have example input in JSON or YAML, but a few do not. IMO, they all should, so there's no mystery as to what each example is for. To be honest, I've read the "Deserialize for custom map type" over and over and I have absolutely no idea what it does.

  • [x] Structs and enums in JSON
  • [x] Enum representations
  • [x] Default value for a field
  • [x] Struct flattening
  • [x] Handwritten generic type bounds
  • [ ] Deserialize for custom map type
  • [x] Array of values without buffering
  • [x] Serialize enum as number
  • [x] Serialize fields as camelCase
  • [x] Skip serializing field
  • [ ] Derive for remote crate
  • [ ] Manually deserialize struct
  • [ ] Discarding data
  • [x] Transcode into another format
  • [x] Either string or struct
  • [x] Convert error types
  • [x] Custom date format

created time in 2 months

startedprobe-rs/probe-rs

started time in 2 months

pull request commentrust-lang/rfcs

Introduce '$self' macro metavar for hygienic macro items

Putting in my vote for $mod. $self is really confusing and sounds like macro-methods or something (and, IMO, should be saved in case we eventually do something along those lines).

SergioBenitez

comment created time in 2 months

issue openedred-rocket-computing/backtrace

multiple definitions compilation errors

The functions __aeabi_unwind_cpp_pr0 etc in backtrace.c have a comment saying they prevent the linking of the same functions in libgcc, but I just get errors about that:

/usr/bin/../lib/gcc/arm-none-eabi/7.3.1/thumb/v7e-m/fpv4-sp/hard/libgcc.a(unwind-arm.o): In function `__aeabi_unwind_cpp_pr0':
unwind-arm.c:(.text+0x760): multiple definition of `__aeabi_unwind_cpp_pr0'
build/backtrace_backtrace.c.o:backtrace.c:(.text.__aeabi_unwind_cpp_pr0+0x0): first defined here
collect2: error: ld returned 1 exit status

created time in 2 months

startedpinax/django-user-accounts

started time in 2 months

pull request commentrust-lang/rfcs

Edition 2021 and beyond

I would advocate for the "skipping editions" or more preferably "feature-based editions" model. I think having a cadence for editions will make breaking changes more common[1]. If something is going to be an edition-level change, then you can always use the refrain "OK, let's just wait for the next edition and we can do it anyway".

"But if we accept this, that'll be the only reason to have an edition, and it doesn't seem worth it."

I think this is exactly the consideration that should be made for large RFCs.

[1]: I know the argument is that they aren't really breaking changes because of the opt-in Cargo.toml attribute and automated migration tooling. These are indeed great features of the Rust ecosystem. But it still means that Rust code looks different and means something different to humans, which is a form of breakage.

nikomatsakis

comment created time in 3 months

startedcontinental/ecal

started time in 3 months

pull request commentmadcowswe/ODrive

Fix protocol bugs

I think this addresses my concerns from #438. Added one other semi-related question above.

samuelsadok

comment created time in 3 months

Pull request review commentmadcowswe/ODrive

Fix protocol bugs

 static Introspectable root_obj = ODriveTypeInfo<ODrive>::make_introspectable(odr // @brief Sends a line on the specified output. template<typename ... TArgs> void respond(StreamSink& output, bool include_checksum, const char * fmt, TArgs&& ... args) {-    char response[64];+    char response[64]; // Hardcoded max buffer size. We silently truncate the output if it's too long for the buffer.     size_t len = snprintf(response, sizeof(response), fmt, std::forward<TArgs>(args)...);+    len = std::min(len, sizeof(response));     output.process_bytes((uint8_t*)response, len, nullptr); // TODO: use process_all instead     if (include_checksum) {         uint8_t checksum = 0;         for (size_t i = 0; i < len; ++i)             checksum ^= response[i];         len = snprintf(response, sizeof(response), "*%u", checksum);+        len = std::min(len, sizeof(response));         output.process_bytes((uint8_t*)response, len, nullptr);

I'm not entirely clear on the USB middleware so this is kind of theoretical. But does sending stuff in three separate process_bytes calls slow things down? I was analyzing some data dumps and found many cases where checksums and line breaks showed up in separate USB reads.

samuelsadok

comment created time in 3 months

more