|
JawnV6 posted:you're controlling a motor and can yield to the scheduler? does anything bad happen if someone else takes a long time and you miss pulling the pin back low until, say, 5ms? 20ms? No, other than the motor not moving JawnV6 posted:you're on some kind of m4f, right? ~100mhz? you can approximate how many instructions before you'd have to preempt a task if you just want to get close Cortex m0/samd21g18a/arduino mkrzero so 48mhz I think. Maybe with a 1ms delay I might as well just block
|
|
|
|
|
| # ? Jan 21, 2026 00:11 |
|
gonadic io posted:No, other than the motor not moving if it's just stepping on an edge trigger that's nifty gonadic io posted:Cortex m0/samd21g18a/arduino mkrzero so 48mhz I think. Maybe with a 1ms delay I might as well just block ![]() i dunno, imagine your task switching takes 4k (unlikely) you've still got 40k instructions to mess around with
|
|
|
|
JawnV6 posted:ahh, alright. i'm more familiar with h-bridges and other control schemes where leaving current dumping into the thing would be Bad Yeah it's one of these: https://www.sparkfun.com/products/12779 which is rising edge triggered.
|
|
|
|
zooming out to the 'product' level if you've got the stepper assembly together, you could artificially introduce jitter and see if it's perceptible like set up a list of 1,5,1,1,1,1,15,1,20, etc. and delay by that much. i think you'd perceive some judder pretty easily, but maybe the steps are so small and 20ms is 'fast enough' an alternative to blocking calls would be writing a timer ISR to handle it, something like code:
|
|
|
|
Finster Dexter posted:That has almost nothing to do with why this is horrible. at least you could generate the code to form the XML then instead of hand writing it
|
|
|
|
Found out today that my Dev team is being relocated (and thus my job will no longer exist) in December. Welp, hope they like paying me to browse these here forums.
|
|
|
|
Surprise T Rex posted:Found out today that my Dev team is being relocated (and thus my job will no longer exist) in December. learn a functional lang
|
|
|
|
gonadic io posted:learn a functional lang learn rust AND a functional lang!~ https://github.com/daviswahl/rats (this would be an exceptionally bad choice for learning FP) DONT THREAD ON ME fucked around with this message at 21:56 on Aug 1, 2018 |
|
|
|
CRIP EATIN BREAD posted:at least you could generate the code to form the XML then instead of hand writing it Here's the thing: I did write a tool to generate database XML fixtures instead of writing it by hand. So the idea was to go to staging, say we want table A, rows X, then the tool would dump that, and then you would repeat for dependency table B, dependency table C, D etc. All my tests to generate XML files for tests ended up being almost full dumps of the entire database structure. It was at this point I learnt that the database was a piece of highly dependent hell. The reason why developers started hand writing XML files was so that they could cheat and leave out references to reduce the XML file requirements, even though this basically resulted in a test where the database would be set up into an invalid state. Bad design is one of the things that you can't go back and fix with tools. At this point I resigned myself to bloodshed.
|
|
|
|
terrible programming: at this point I resigned myself to bloodshed.
|
|
|
|
MALE SHOEGAZE posted:learn rust AND a functional lang!~ probably an exceptionally bad choice for anything
|
|
|
|
akadajet posted:probably an exceptionally bad choice for anything well, it's true. i had a phone screen tonight for an MIT-based startup being run by basically children. they had no idea what they were doing but their product is completely insane and i love it. it's "task based" and way underpays but it requires literally no investment on my part so imna go for it because i have no responsibilities or concerns and it sounds fun and i might get paid and i'll get to put rust on my resume. if i feel exploited i'll just stop. narrator: he was, he didn't. DONT THREAD ON ME fucked around with this message at 02:23 on Aug 2, 2018 |
|
|
|
MALE SHOEGAZE posted:yeah i'd like to see this thread rebooted with some mention of the rules. i'm also not really sure what the rules are anymore. personally, I want to see: this thread is the programming thread the other thread is also the programming thread this one tends to have more beginner questions and shitposting and day to day the other one tends to have a bit more effort posts but also a bit more telling people to go gently caress themselves i guess this is the thread people post in because they don't think they're smart enough to post in the other thread
|
|
|
|
Are we referring to the PL thread as the other programming thread in this convo?
|
|
|
|
Need help figuring out references in the terrible programmer thread.
|
|
|
|
floatman posted:Need help figuring out references in the terrible programmer thread. maybe we could offer some pointers
|
|
|
|
akadajet posted:maybe we could offer some pointers
|
|
|
|
akadajet posted:maybe we could offer some pointers lmao
|
|
|
|
today i got to resolve a git merge conflict in an enormous incomprehensible xml file which encodes an excel spreadsheet
|
|
|
jit bull transpile posted:Are we referring to the PL thread as the other programming thread in this convo? they are
|
|
|
|
|
MALE SHOEGAZE posted:well, it's true. what is it
|
|
|
|
bob dobbs is dead posted:what is it Uber but for robot hookers
|
|
|
|
jit bull transpile posted:Uber but for robot hookers to clarify, is this taxis driven by robot hookers, or...?
|
|
|
|
bob dobbs is dead posted:what is it bob dobbs is dead posted:what is it You want it all, but you can't have it. It's in your face, but you can't grab it.
|
|
|
|
Fiedler posted:to clarify, is this taxis driven by robot hookers, or...? Hookers driven by robot jitneys
|
|
|
|
Threads are for posting in
|
|
|
|
Peeny Cheez posted:IT'S IT
|
|
|
|
you can get it's its delivered anywhere in the lower 48 $22 for a 24-case. $60 shipping https://www.itsiticecream.com/products/ice-cream
|
|
|
|
they look like Americanized macarons
|
|
|
|
no I was referring to the song about Mike Patton trying to blow himself unsuccessfully thank you drive thru
|
|
|
|
akadajet posted:maybe we could offer some pointers oof
|
|
|
|
Peeny Cheez posted:no I was referring to the song about Mike Patton trying to blow himself unsuccessfully thank you drive thru who?
|
|
|
|
cjs: we still are unable to programmatically send file over sftp from php, i wish i was kidding
|
|
|
|
|
holy poo poo that is terrible
|
|
|
Boiled Water posted:holy poo poo that is terrible we are third week into situation where the responsible team of developers has it working on their Ubuntu test environment but not their Centos production environment, so they adamantly claim the ftp server is broken. they even had the audacity to send the vendor “fix your poo poo” email over this
|
|
|
|
|
cinci zoo sniper posted:cjs: we still are unable to programmatically send file over sftp from php, i wish i was kidding just execute sftp directly from your script and get owned later. it’s the php way.
|
|
|
|
cinci zoo sniper posted:they even had the audacity to send the vendor “fix your poo poo” email over this smart play. deflect blame to other party, use respite from attention to keep working on issue
|
|
|
redleader posted:smart play. deflect blame to other party, use respite from attention to keep working on issue it worked the other way around and now everyone’s attention is squarely on them, since they themselves admitted the bullshit trivial to verify
|
|
|
|
|
redleader posted:smart play. deflect blame to other party, use respite from attention to keep working on issue i've posted this before but we once had a vendor say "it's not our problem take it up with Microsoft" when I pointed out that their "message corruption" issue was caused by taking utf8 xml, downcasting to some basic iso cahracterset then casting back to utf8 again in sequential stages
|
|
|
|
|
| # ? Jan 21, 2026 00:11 |
|
Powerful Two-Hander posted:i've posted this before but we once had a vendor say "it's not our problem take it up with Microsoft" when I pointed out that their "message corruption" issue was caused by taking utf8 xml, downcasting to some basic iso cahracterset then casting back to utf8 again in sequential stages Take it up with Ken Thompson
|
|
|
































