|
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
|
# ? Aug 1, 2018 18:09 |
|
|
# ? Oct 11, 2024 06:10 |
|
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
|
# ? Aug 1, 2018 18:18 |
|
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.
|
# ? Aug 1, 2018 18:26 |
|
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:
|
# ? Aug 1, 2018 18:34 |
|
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
|
# ? Aug 1, 2018 18:51 |
|
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.
|
# ? Aug 1, 2018 22:20 |
|
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
|
# ? Aug 1, 2018 22:49 |
|
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 22:56 on Aug 1, 2018 |
# ? Aug 1, 2018 22:53 |
|
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.
|
# ? Aug 2, 2018 00:54 |
|
terrible programming: at this point I resigned myself to bloodshed.
|
# ? Aug 2, 2018 01:08 |
|
MALE SHOEGAZE posted:learn rust AND a functional lang!~ probably an exceptionally bad choice for anything
|
# ? Aug 2, 2018 01:15 |
|
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 03:23 on Aug 2, 2018 |
# ? Aug 2, 2018 03:21 |
|
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
|
# ? Aug 2, 2018 03:50 |
|
Are we referring to the PL thread as the other programming thread in this convo?
|
# ? Aug 2, 2018 04:09 |
|
Need help figuring out references in the terrible programmer thread.
|
# ? Aug 2, 2018 04:37 |
|
floatman posted:Need help figuring out references in the terrible programmer thread. maybe we could offer some pointers
|
# ? Aug 2, 2018 04:42 |
|
akadajet posted:maybe we could offer some pointers
|
# ? Aug 2, 2018 04:55 |
|
akadajet posted:maybe we could offer some pointers lmao
|
# ? Aug 2, 2018 05:22 |
|
today i got to resolve a git merge conflict in an enormous incomprehensible xml file which encodes an excel spreadsheet
|
# ? Aug 2, 2018 05:24 |
jit bull transpile posted:Are we referring to the PL thread as the other programming thread in this convo? they are
|
|
# ? Aug 2, 2018 05:43 |
|
MALE SHOEGAZE posted:well, it's true. what is it
|
# ? Aug 2, 2018 05:44 |
|
bob dobbs is dead posted:what is it Uber but for robot hookers
|
# ? Aug 2, 2018 05:49 |
|
jit bull transpile posted:Uber but for robot hookers to clarify, is this taxis driven by robot hookers, or...?
|
# ? Aug 2, 2018 05:52 |
|
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.
|
# ? Aug 2, 2018 06:00 |
|
Fiedler posted:to clarify, is this taxis driven by robot hookers, or...? Hookers driven by robot jitneys
|
# ? Aug 2, 2018 06:13 |
|
Threads are for posting in
|
# ? Aug 2, 2018 07:04 |
|
Peeny Cheez posted:IT'S IT
|
# ? Aug 2, 2018 07:05 |
|
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
|
# ? Aug 2, 2018 07:08 |
|
they look like Americanized macarons
|
# ? Aug 2, 2018 07:25 |
|
no I was referring to the song about Mike Patton trying to blow himself unsuccessfully thank you drive thru
|
# ? Aug 2, 2018 07:37 |
|
akadajet posted:maybe we could offer some pointers oof
|
# ? Aug 2, 2018 08:23 |
|
Peeny Cheez posted:no I was referring to the song about Mike Patton trying to blow himself unsuccessfully thank you drive thru who?
|
# ? Aug 2, 2018 08:30 |
cjs: we still are unable to programmatically send file over sftp from php, i wish i was kidding
|
|
# ? Aug 2, 2018 09:21 |
|
holy poo poo that is terrible
|
# ? Aug 2, 2018 09:54 |
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
|
|
# ? Aug 2, 2018 09:58 |
|
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.
|
# ? Aug 2, 2018 10:04 |
|
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
|
# ? Aug 2, 2018 10:22 |
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
|
|
# ? Aug 2, 2018 10:42 |
|
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
|
# ? Aug 2, 2018 11:25 |
|
|
# ? Oct 11, 2024 06:10 |
|
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
|
# ? Aug 2, 2018 12:01 |