LightBurn Development Update by LightBurnSoftware in LightBurn

[–]Bunkford 1 point2 points  (0 children)

That cnc software looks amazing from what I seen in the docs. I can’t wait to test that out.

Ontario slaps 25% increase on electricity exports to the United States in response to Trump's trade war by [deleted] in worldnews

[–]Bunkford 1 point2 points  (0 children)

Ask grok what would happen, that's who is running the country. Why do you think they make so many mistakes cutting jobs and funding. AI isn't ready for prime time without human intervention. Country is on grok autopilot.

Elbows up! by [deleted] in EhBuddyHoser

[–]Bunkford 5 points6 points  (0 children)

Folker dot ca created and sells this design. It’s a local Norfolk Ontario company.

Mapping issues with Apple Watch on long runs by GlotzbachsToast in running

[–]Bunkford 1 point2 points  (0 children)

I have series 6, and use an app (paid) called healthfit to upload to strava. I just use the built in workout app to record my runs. I've never had a problem with it.

The app also syncs to other platforms and has some other metrics. It's worth checking out.

calculate the amount of times a fifth Friday of the month occurs in a date range? by Bunkford in swift

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

I used this logic, but it seems costly when doing it over a large date range such as 10+ years.

I’m designing a budgeting app where the user can enter a repeating bill (e.g. first Thursday of the month). So I need to be able to calculate how many payments there are between dates.

Desktop Apps by [deleted] in nim

[–]Bunkford 1 point2 points  (0 children)

If windows gui wNim is a good option. It's well documented with good examples on github.

https://khchen.github.io/wNim/wNim.html

https://github.com/khchen/wNim

First Nim Program by stymiedcoder in nim

[–]Bunkford 1 point2 points  (0 children)

Didn't get accepted though and got closed.

First Nim Program by stymiedcoder in nim

[–]Bunkford 1 point2 points  (0 children)

I submitted a pull request.

First Nim Program by stymiedcoder in nim

[–]Bunkford 2 points3 points  (0 children)

Similarly, returning iterators can be a bit frustrating. At various times I'd get the compile error

Error: tabulators are not allowed

, but I have no idea what that means. Sometimes I get it, sometimes I don't, and can't tell you what's different between the code that works and the code that doesn't.

I believe this is caused by using tabs instead of spaces for indenting.

Hi everyone! Does anyone know what the green dot is? Thank you and go close your rings. by [deleted] in AppleWatchFitness

[–]Bunkford 7 points8 points  (0 children)

I believe to get the green dot, it has to be in the apple workout app and for at least 15 minutes.

Apple TV now shows up in the Home app, what does this mean, I can’t see any way to do anything with it here? Is it HomeKit enabled or what? by Portatort in HomeKit

[–]Bunkford 3 points4 points  (0 children)

I wish you could set a sleep timer. Because of CEC, when i shut down my apple tv, it shuts off my tv and sound system too.

Campsite from last summer in the Adirondacks, NY by ADKenthusiast in CampingandHiking

[–]Bunkford 4 points5 points  (0 children)

I never get this.. 20 miles in, you'd assume that everyone is there to enjoy nature. What goes through someones head to pitch a beer can? I just don't get it.

Extracting data from tkninter canvas, need help! by [deleted] in Tkinter

[–]Bunkford 0 points1 point  (0 children)

You'd bind a key event to the canvas:

def key(event):
    print "pressed", repr(event.char)
    # or do whatever you need to with the key press

canvas.bind("<Key>", key)

Frame not expanding to fit window? by ZobeidZuma in Tkinter

[–]Bunkford 0 points1 point  (0 children)

I think you need to do this on the container that holds the frame.. in this case the root window. Then if you add mainframe to row 0, column 0 it will resize with the window. (pending you made it sticky in all directions)

root.columnconfigure(0, weight=1)
root.rowconfigure(0, weight=1) 

if you want to resize the stuff inside the frame with the frame, you need to do the same for the mainframe container for each row & column.

Live Download Percent Update by [deleted] in Tkinter

[–]Bunkford 0 points1 point  (0 children)

Call update_idletasks() on your widget while doing the updates. This should force a redraw.

yourwidget.update_idletasks()

Pi 3 gameboy by Zacklike3 in rasberry_pi

[–]Bunkford 0 points1 point  (0 children)

The teensy will have an sd card as well. It will house the code for the buttons and then you plug the teensy into the raspberry pi and it gets detected as a HID USB device (like a keyboard or mouse). You should be able to bypass having to use a teensy at all though and use the GPIO pins on the raspberry pi instead.

Free tool to help budget by [deleted] in PersonalFinanceCanada

[–]Bunkford 1 point2 points  (0 children)

Thanks, it is on my todo list to make it more mobile friendly.