lordpil's blog
that would break in c++ too
but yeah, also correct
burny is either hired or i am possibly not hired
tho fuck a mfkr doing an interview at 7:15am
burny: thats weird, which ones?
what is visual basic?
yeah looks like VB is just =
how do you assign shit??
Note
The = Operator is also used as an assignment operator.
fuuuuuu
you need to do functions?
oooh
i havent used it since scripting QA hardware
and i rewrote everything very modular
so like, most of the program was like, string of commands, not so much conditional
Posted by renesis at 23:21 | permalink | 0 comments
nope
j always finished the for loop completely unless i is out of range, thats what the break is for
no the inner loop already restarted
inner loop handles the 1-15 sequence, outer loop handles the 1-100 sequence
once it breaks out of the inner loop, the while() associated with the do() should catch the out of range condition and end
inner loop will be at 3 so it should
ah
yeah inner loop numeric checks should be j
you are right
i should probably coffee before coding
Posted by renesis at 23:16 | permalink | 0 comments
int i=1; do(){ for(j = 1; j <= 15; j++) { if(i < 100) break; if (i=15) print("FizzBuzz"); else if (i=3 || i=6 || i=9 || i=12) print("Fizz"); else if (i=5 || i=10) print("Buzz"); else print(i); } } while(i <=100);
damn
if(i < 100) should be if (i > 100)
fuck modulus
naw
its supposed to print 100
no i did one version of mine form last night
i would prob never do one with modulus
unless i had time to test both
yeah looks like it
i guess that could just be another for loop
Posted by renesis at 23:10 | permalink | 0 comments
rab: i didnt do it that way because i figure c++ has all sorts of fancy print formatting
like if i do print(urmommys_addy) it prob come out all post office style in caps with the 9 digi zip
Posted by renesis at 23:01 | permalink | 0 comments
full stack might include web server setup, but i doubt it
shrug, sure
i dont like kids
Posted by renesis at 16:06 | permalink | 0 comments
blackmoon: full stack is webcode
it mostly just means you can do content generation and css and db management code
like, its pretty much 100% webcode
but like, lots of serverside stuff
yeah seriously
tho, you could learn pretty quick
https://www.lynda.com/
free month, they have a full stack course, and then all corts of courses for individual languages and CMS and db]
if you wanted to learn to web dev im pretty sure you could figure it out
make a new site for brutal nature
like, you would maybe have a big advantage over normal web coders, because you actually know how to program
Posted by renesis at 16:00 | permalink | 0 comments
so the following car eats up its tires and brakes trying to pass
https://images.thecarconnection.com/lrg/lotus-f1-mad-max-fury-road-themed-formula-1-car_100510127_l.jpg
anyway, if you put fairings over the wheels, they dont fuck up the air as much
and its not as heavy as having a whole body
also the split rear wing helps keep the air cleaner for the following car
and the diffuser for generating rear downforce is much less sensitive to dirty air
actually, probably yeah
https://farm5.staticflickr.com/4103/4833876466_2b75ca7732_z.jpg
this has been tried, twice
https://2.bp.blogspot.com/_qow6Uz4n9W0/S9GSQqmoKtI/AAAAAAAAANg/c7x8085a6-s/s1600/1-43-scale-143-scale-williams-ford-fw08-6w--6-wheeler-ltd-ed-.jpg
Posted by renesis at 15:19 | permalink | 0 comments
https://car-images.bauersecure.com/pagefiles/79905/c-ds-formulae-52.jpg
omg look at the size of that diffuser
its looks dumb but its actually a big deal
biggest issue in F1 right now is that the standard open wheel aero makes following and thus passing impossible
like, the tires are the biggest aero problem, to the point where endurance prototype cars are starting to go as fast as f1
like, right now they go crazy shit with the front wings to create vortices which kind of fence off air getting fucked up by the tire
and then tuck air back over the floor
but it doesnt work right if you go through distrupted air
Posted by renesis at 15:14 | permalink | 0 comments
its funny but since ive started to do silly things by leaving out breaks, i dont do that fuckup as much
oh
is this his first ever language?
why does he want to learn c++?
yeah, i do that
i dont even know why c# would be useful
tell him to learn pythin
python
oh c# is like c-java
Posted by renesis at 15:05 | permalink | 0 comments
id have two solutions, one for embedded and one for big fat os code
naw itd totally be 20 lines, one page
while loop, for loop, case switch, default case is output count
cant not work
you gave me an hour, i have two solutions in 5 minutes
do i get the job or what
i like them because its basically assembly
C doesnt even really try and hide it
and you can leave the case break out and have some pretty cool fall through functionality
so if i was interviewing a C coder, i would ask them what unions are good for
oh, i see
haha
Posted by renesis at 14:59 | permalink | 0 comments
does fizzbuzz have to be fast?
cuz im like, just for loop and mod the motherfucker with some conditionals
?
no
i rewrote it already
=(
do for loop, 15 loops, just check for 3 6 5 9 10 12 15
have a running counter for the upcount
its faster!
Posted by renesis at 14:54 | permalink | 0 comments
what is fizzbuzz test
he wants to learn c++?
Posted by renesis at 14:49 | permalink | 0 comments
rab: https://imgur.com/za2us54
driver and codriver are fine
to learn stuff like that is why tesla should race (those are production car derived rally cars)
Posted by renesis at 14:37 | permalink | 0 comments
he should have put a pair of lights across each arm so the effect on the prop stream would be symmetrical
this thing prob gonna want to yaw slightly forever
yeah
i think its a good solution i just think it could have been integrated better
Posted by renesis at 14:25 | permalink | 0 comments
hi
Posted by renesis at 04:33 | permalink | 0 comments
nice, $2
Posted by renesis at 04:12 | permalink | 0 comments
also just to clarify definitions, i dont think RS274 CNC machines are industrial automation
does it have seperate voltage rail for the outputs?
nice, 12b, 1.5 khz
nice, 10mA
i should use this
Posted by renesis at 04:07 | permalink | 0 comments
14:02:41 <@Rab> renesis, industrial automation has its intriguing aspects, despite being its own little world of hideous, archaic abstraction layers.
din rail boxes and optos
semicorps and diy have surpassed industrial automation in abstraction through text and visual code wrappers
i cant fucking stand labview and ladder logic
but STM32 HAL, good implementation of scratch and other block shit that ships with pi, and RS274 with free and affordable machine controller software, that shit works yo
industrial automation is like, 70s mainframe terminal programming styles for 90s hardware
Posted by renesis at 04:02 | permalink | 0 comments
omg polypro box caps so cheap
Posted by renesis at 02:46 | permalink | 0 comments
fuck using automation shit, i want to make it
using automation shit is technician level
Posted by renesis at 01:18 | permalink | 0 comments
no thats the same as here
theres basically industrial automation people, and embedded systems people
as an embedded systems people, i think a lot of the industrial automation stuff is silly
and their level of documentation control is pretty shit compared to semiconductor industry
Posted by renesis at 01:10 | permalink | 0 comments
its like protools for audio, like sure its good software, but its maybe not what people want, and yeah theres like 10 options now and some free
and when youre not paying a studio $1000/hr, a software crash isnt always the end of all life
its usable
i hate it
like you have to hire a guy full time, or just allocate some dude to labview
i can do it and i still dont want to put it on my resume
i dont want to put PLC programming on my resume either
but
i dont understand he wants more math?
Posted by renesis at 00:55 | permalink | 0 comments
ikr
BUT IF YOU CODE CORRECT YOUR SUB SHOULD NEVER BE BIGGER THAN ONE SCREEN
ya get fucked
asshole
IF YOU WANT TO ZOOM USE WINDOWS MAGNIFIER
^official from NI
the people who programmed the UI left 20 years ago
thats my theory
yeah but anything can do that now
literally everything has some sort of comm port
like, almost all lab equipment can be automated
with like, normal computers, pis, microcontrollers, PLC, anything
yeah
less interconnects, better interconnects
everything closer
like, this turnkey automation shit is straight out of the 90s
Posted by renesis at 00:50 | permalink | 0 comments
and the strain gages are uses attached to the aluminum with cyanoacrylate
this would
its kind of a dual beam
anyway strain isnt linear with force, but im pretty sure the output ends up being linear vs force
thats what our load cell did
and i know national instruments sells a special labview box to convert strain guage to actual strain
which you have to log math back to a force
so like, they waste your money and your processing time
besides forcing you to dick with their hopeless UI
Posted by renesis at 00:45 | permalink | 0 comments
jero32: noooooooo
the middle part is some IP rated coating to protect the strain gages
you mount one side rigid and the load mounts to the other side
yes
the cutouts concentrate the strain where they glue the gages
if its a full bridge setup, like, 4 wires out, maybe a resistor in series with the bridge, you just put power and ground and feed to instrumentation amp and youre done
the load cell has strain gauges under the splash resist coating on top
its like a hard gel, its made to be flexible
Posted by renesis at 00:40 | permalink | 0 comments
fellow kid did an FEA on it for safety factor, long term cyclic loading analysis w/ 20 kg
safety factor at the little point of the load cell was 2.3
was pretty cool
was from a vishay acquired company
tedea-huntleigh
jero32: you can use lots and mix them, shrug
not even
you can get those waaaaay cheaper, thats ones almost nice
yeah thats like some shit for grandmas nice sewing machine
i dont trust the $15 one
that shit looks like a 60 year old design that has gotten thinner and thinner
Posted by renesis at 00:32 | permalink | 0 comments
rab: jesus bounty hunter sold his jezus bounty k9 unit jeep
and deleted his youtube
now he has a bounty monister shirt, and tries to small talk the lacross house girls across from the old NA building he is doing mysterious work in
*bounty minister
they say he lingers, but we agree getting rid of the truck and youtube is a good step
10 kg
one i am using for project is much beefier, and its only 20 kg
Posted by renesis at 00:27 | permalink | 0 comments
Top | Add to Technorati Favorites
© 2007 lordpil.
XHTML 1.0! CSS! Site design by
GNAA
Blog Engine by
pbx |
MULTI2 |
ian hanschen |
lolwat