-
Posts
3,708 -
Joined
-
Last visited
Content Type
Profiles
Forums
Developer Articles
KSP2 Release Notes
Everything posted by Nuke
-
i think subtractive techniques would work better for foams. cool thing about foams its fairly easy to use that as a base structure for application of carbon fiber composite. i know scaled composites does this to make filler cores for carbon fiber composite aircraft parts. i once used a power drill and some sandpaper to form a bock of foam into a nosecone for a model rocket, after a bit of epoxy and fabric had a fairly decent front end. i know there are a few processes for converting the waste that this would create back into new foam stock for later machining.
-
while we call a certain wavelength of light 'blue' or 'red', i dont think all humans perceive those colors the same way. we might all agree on what yellow is but the way we see it in our minds could be completely different.
-
[Programming] C++ - looking for a "cin >> ..." alternative
Nuke replied to Kartoffelkuchen's topic in The Lounge
you can always use the cstrings library. though i perfer doing all my string manip the c++ way. its great for writing file parsers and the like. actually this falls under the tag [Computer Science] and would be better off in the science labs. might get more programmers eyes on it. -
After Mars, how long until the next planet?
Nuke replied to FishInferno's topic in Science & Spaceflight
low gravity locations are a good place for industrial centers. if you have an industrial center then you have the capability to construct a centrifuge to fix the gravity problems for its inhabitants. low g helps that kind of mega construction project. of course the main advantage is launch cost being really low. you can build your space infrastructure components on the ground and launch it mostly assembled. i cant imagine any place more perfect for this kind of thing than ceres. it would also double as an asteroid mining hub. the heavy mining and processing ships needed could be constructed and surface launched here rather than brought in more expensively from other planets. -
the shop is strong with this one.
-
abandoned industrial sites make excellent paintball arenas. sister's inlaws had an old gravel pit in the middle of nowhere (not quite inactive), with dilapidated excavation equipment all over the place. big rock crusher, piles of gravel, overgrown areas, silt flats everywhere. one of my sister's friends brought a bunch of paintball guns. we managed to get 8 people, enough for a game of ctf. it was kind of awesome.
-
sure you can cross the atlantic in 4 hours, after spending another 4 going through security.
-
this is the way i see things. there are so many good bands out there and to pick a favorite is just a way to say 'im done listening to new music'. before i developed this way of thinking, i had a few bands that i called my favorite at the time. i dont think i listen to any of those anymore, not even for nostalgia. i just discovered that they weren't all that great after all. if my most played counters in winamp are any indication (they are not, since its a fairly fresh install) i like motorhead, darkthrone, triptykon, hank III, marduk, gwar, thorns, eyehategod, and judas priest.
-
i also found out fairly recently that potatoes go good with spam.
-
~ gargantuan gaming computer specs thread (+poll!) ~
Nuke replied to segaprophet's topic in The Lounge
thats pretty much the point of the thread. people listing their computer specs for others not to read. -
~ gargantuan gaming computer specs thread (+poll!) ~
Nuke replied to segaprophet's topic in The Lounge
Computer Name - 1MP3g3dd0n Operating System - Win8.1+classic shell (because derp) CPU - i7 4790k Motherboard - ASRock Z97M-ITX/AC RAM - 8GB DDR3 2400 GPU(s) - GTX 750 Ti Optical Drive(s) - lol, nope HDD(s) - people still use these? SSD(s) - 2x 256gb and 500gb Chassis - COOLER MASTER Elite 110 (mini itx cube) PSU - 450w CPU Cooler - stock Additional Internal Components - none -
potatoes: best served with bacon.
-
im right on the edge of that but chances are its gonna be overcast. last time i saw them i was out in the boonies with zero light pollution. they were pretty impressive.
-
they are signed 16 bit axes. hid is weird, i spent days trying to get unsigned 16 bit axes to work, but the second i set it up as signed it just sort of worked. where it says 0x16, 0x00, 0x80, // LOGICAL_MINIMUM (-32768) 0x26, 0xff, 0x7f, // LOGICAL_MAXIMUM (32767) 0x75, 0x10, // REPORT_SIZE (16) 0x95, 0x08, // REPORT_COUNT (8) is where it sets the axis range. hid likes to pack bits as tightly as possible to save space. for example if you used 4 10-bit axes, it would fill up 5 bytes (not sure how they would be packed though). here ive pretty much told it to waste space so i could get full 16 bit axes. limits seem to be context sensitive. the example i found had used usage(SIMULATION CONTROLS), but i switched to usage(GAME PAD) and that might have something to do with it. i pretty much spent a couple days playing with the descriptors till i found one that didnt throw an error and showed the right range. once that worked it wasnt hard to write the serialization code for the data. now i can use my ads1115 i2c analog digital converter (i found the chip on a breakout board on ebay for cheap), which can do 4 single ended 15-bit channels, or 2 double ended 16-bit channels. so i used 4 15-bit channels, plus 4 of the 10-bit channels from the arduino adcs, and scaled them to fit the full range and had all 8 working in windows.
-
i was able to push 8 axes (16 bit too) on windows, you just need to set your discriptor up thusly: ... //joystick, 32 buttons, 2 8-way hads, and 8 16-bit axes. //32 buttons, 2 8-way hats, and 8 axes. 0x05, 0x01, //USAGE_PAGE (Generic Desktop) 0x09, 0x05, //USAGE (Game Pad) 0xa1, 0x01, //COLLECTION (Application) 0x85, 0x03, // REPORT_ID (3) 0xa1, 0x00, // COLLECTION (Physical) //32 buttons 0x05, 0x09, // USAGE_PAGE (Button) 0x19, 0x01, // USAGE_MINIMUM (Button 1) 0x29, 0x20, // USAGE_MAXIMUM (Button 32) 0x15, 0x00, // LOGICAL_MINIMUM (0) 0x25, 0x01, // LOGICAL_MAXIMUM (1) 0x95, 0x20, // REPORT_COUNT (32) 0x75, 0x01, // REPORT_SIZE (1) 0x81, 0x02, // INPUT (Data,Var,Abs) //2 8-way hat switches 0x05, 0x01, // USAGE_PAGE (Generic Desktop) 0x09, 0x39, // USAGE (Hat switch) 0x15, 0x00, // LOGICAL_MINIMUM (0) 0x25, 0x07, // LOGICAL_MAXIMUM (7) 0x35, 0x00, // PHYSICAL_MINIMUM (0) 0x46, 0x3B, 0x01, // PHYSICAL_MAXIMUM (315) 0x65, 0x14, // UNIT (Eng Rot:Angular Pos) 0x75, 0x04, // REPORT_SIZE (4) 0x95, 0x01, // REPORT_COUNT (1) 0x81, 0x02, // INPUT (Data,Var,Abs) 0x09, 0x39, // USAGE (Hat switch) 0x15, 0x00, // LOGICAL_MINIMUM (0) 0x25, 0x07, // LOGICAL_MAXIMUM (7) 0x35, 0x00, // PHYSICAL_MINIMUM (0) 0x46, 0x3B, 0x01, // PHYSICAL_MAXIMUM (315) 0x65, 0x14, // UNIT (Eng Rot:Angular Pos) 0x75, 0x04, // REPORT_SIZE (4) 0x95, 0x01, // REPORT_COUNT (1) 0x81, 0x02, // INPUT (Data,Var,Abs) //8 16-bit axes 0xA1, 0x00, // COLLECTION (Physical) 0x05, 0x01, // USAGE_PAGE (Generic Desktop) 0x09, 0x30, // USAGE (X) 0x09, 0x31, // USAGE (Y) 0x09, 0x32, // USAGE (Z) 0x09, 0x33, // USAGE (Rx) 0x09, 0x34, // USAGE (Ry) 0x09, 0x35, // USAGE (Rz) 0x09, 0x36, // USAGE (Slider) 0x09, 0x37, // USAGE (Dial) 0x16, 0x00, 0x80, // LOGICAL_MINIMUM (-32768) 0x26, 0xff, 0x7f, // LOGICAL_MAXIMUM (32767) 0x75, 0x10, // REPORT_SIZE (16) 0x95, 0x08, // REPORT_COUNT (8) 0x81, 0x02, // INPUT (Data,Var,Abs) 0xc0, // END_COLLECTION 0xc0, // END_COLLECTION 0xc0, //END_COLLECTION ... and just add it to the end of the _hidReportDescriptor[] array. of course its slightly more complicated than that since there is code for serialization and whatnot. ultimately its 4 bytes for buttons, then both hats share a byte, and then the axes are 2 bytes each * 8. pretty much the order they appear in the descriptor.
-
i got one of those. its not bad. i get decent frame rates in all the games i play. sure there is better out there, but dont buy what you dont need. i considered upgrading it next year, but so far its doing well and i dont really think i need better. instead i might upgrade my monitor. i think the best thing about it is that it is really power effitient, it gets everything it needs from the pcie bus, it doesnt even have a power connector on it. which is great for my mini itx build.
-
i want to say 8 axes in windows, 6 axes on other platforms (sdl limit i think). button limit is pretty high on both, and ive never hit it. of course you can put multiple joysticks on a composite device. the default leo (not sure other arduinos) usb libraries already have the composite device set up for mouse/keyboard/cdc. its just two files (HID.cpp and usbapi.h as of v1.06) you have to modify for joysticks, but once you know how that works its not hard to add another joystick. windows or whatever will just see 2 joysticks when you plug it in. there are examples on the net how to do this but i rolled my own because i wanted 16 bit axes (most of the examples were just 8 bit, and i wanted to use my 16 bit adc module). id have used a raspberry pi with one of these. not only is it a touchscreen and would make a great mfd, it also gives you access to the pi's gpu for some rendering capability. you just need to have strong linux fu to make it all work (and i learned more linux fu fiddling with the pi than i ever did on pc). it also has some additional gpio (the screen pretty much takes over the spi bus, but you still have gpio and i2c to work with). no analog but thats just an i2c adc/dac away. you of course have to run everything at 3.3v but that not a big problem (logic level converters are cheap/easy to build).
-
arm processors lack the flops neccisary for high end physics calculations. i still think they are two orders of magnitude behind in the floating point performance department. you could do it, but at a severe cost to object complexity, number of objects, etc. get rid of the structural aspects, use primitive collision hulls and limit the number of parts, and you might pull it off.
-
you made hackaday. http://hackaday.com/2015/03/12/rocket-controls-fit-for-a-kerbal/ now you know you're 1337.
-
you could try resetting the bios to default settings.
-
i once saw an 8 inch banana slug with spotted black and white coloring, i named him/her bill. bill was not very cuddly and i eventually let him go in some decaying foliage. bill would have probibly faired well in a space terrarium. actually pretty much any caged animal would probibly work out in space. you would simply need to use a cage design that is easy to clean in zero g. a hamster would probibly work out fairly well. you might even design the cage as a centrifuge so the animal enjoys at least some gravity.
-
Fusing two partitions on an HDD, dangerous without backups.
Nuke replied to TonyC's topic in The Lounge
you backup when things are working fine. you most certainly back up before you start fiddling around with your partitions. -
government is so slow that the actions of one president can take several presidential terms to have any effect, and if the thing is bad then usually the guy currently in office gets the blame. now dont get the thread locked.
-
i kinda want to get away from nimh. they have ok energy density but their inability to run slow draw devices and their high self dicharge makes them practically useless for most of the things i use them for. i might switch up to lithium iron, supposedly they have a better energy density and self discharge characteristics. this kind of thing is why ive resorted to making my own packs from ewaste. i used to be able to get lipos shipped at a sane rate, but now they want me to spend $50 for ground shipping (good luck with that i live on an island) for a $15 battery pack. china post really dont really care and will ship them, but no guarantee parts from china will be of any quality (ive received shoddy cells in the past). most battery packs fail with one of the cells, while the remaining cells are still quite healthy, so out of a discarded 6 cell back i get 5 good ones. these get turned into either 2s or 3s, packs, since i only have a 2s/3s balance charger. though they dont have any balancing or safety hardware of any kind. but for the most part the packs become incapable of powering the buck regulator before they reach their discharged voltage, and most projects dont really have much current draw either.
-
Transferring mods to another computer to another computer?
Nuke replied to Cloakedwand72's topic in The Lounge
some games are very resistant to being "backed up", needing to be "installed properly" for example. most of the time you can clone any registry entries the game makes on installation and apply those to the registry on the new location. of course i haven't really bothered to do this in over a decade, opting to just simply reinstall everything. also newer titles might install drm software like license management services and wouldn't run without them. some games, ksp being a good example, dont require anything more than the games files. ive also had good luck with anything based off of idtech engines.