|
the visual studio start page has something about adafruit on it rn. microsoft is cool again
|
# ? Feb 1, 2017 17:52 |
|
|
# ? May 9, 2024 21:49 |
|
BiohazrD posted:so the c# serialport is really bad apparently i'm calling pebkac on this one
|
# ? Feb 1, 2017 17:56 |
|
BiohazrD posted:so the c# serialport is really bad apparently because the device is repeating it back?
|
# ? Feb 1, 2017 18:01 |
|
yea i found the c# serialport great, does the device have loopback
|
# ? Feb 1, 2017 18:01 |
|
Rex-Goliath posted:can't say i agree with this. if you're the type of person who can survive or even flourish in that environment then it is one of the best gigs out there. i say if you're early in your career and get a decent offer you should go for it. if you're mediocre clearance work is great. just work for one of the big ol defense contractors who look to put butts in seats. but you're not going to be allowed to be creative at all with your work, the people you are going to work with are going to be mediocre, your hands will be completely tied by bureaucracy a lot of times. and more likely than not the work environment is going to be poo poo.
|
# ? Feb 1, 2017 18:16 |
|
hobbesmaster posted:because the device is repeating it back? i dont see echos in putty but maybe it's auto discarding
|
# ? Feb 1, 2017 18:43 |
|
FamDav posted:also a bunch of the top ten GitHub repos are the data for package managers. the ones I recall are they had to tell CocoaPods to stop doing naive pulls on the pods repo because it was wrecking things
|
# ? Feb 1, 2017 19:27 |
|
React Install Guide posted:To install React: Yarn Install Guide posted:To install Yarn: Chocolatey Install Guide posted:To install Chocolatey:
|
# ? Feb 1, 2017 19:35 |
|
History Some folks may state that Chocolatey is insecure. That is based on older information and is incorrect to be stated in that way. Feel free to correct the person with "You mean Chocolatey used to be insecure." and then point them to this page (https://chocolatey.org/security). It is correct that there were security concerns. However, all known concerns have been corrected and/or have a plan to be resolved (e.g. package signing). As we learn of new security concerns we put together a plan to resolve those issues with a priority that each CVE (common vulnerabilities and exposures) requires. Chocolatey has had multiple security audits and findings have been corrected. Past Security Concerns These are things that used to be security concerns. They are listed here for historical purposes in case questions come up or someone states misinformation.
|
# ? Feb 1, 2017 19:40 |
|
edit: nm im wrong, the loving output on this thing is hella weird, it puts the \r\n before the output and then puts another \r at the endcode:
30 TO 50 FERAL HOG fucked around with this message at 19:50 on Feb 1, 2017 |
# ? Feb 1, 2017 19:46 |
|
FamDav posted:also a bunch of the top ten GitHub repos are the data for package managers. the ones I recall are Yeah someone was telling me today that package manager poo poo is something obscene like 20% of github traffic, and is a major drain on their systems. I think they should cut that poo poo off at the knees for public repos, but that's probably why I'm not in charge.
|
# ? Feb 1, 2017 19:55 |
|
holy lol i'm the instructions on how to whiteknight for a package manager every new web thing tooks hella loving dumb. i am becoming afraid of falling out of date because i think the new stuff is too stupid to use
|
# ? Feb 1, 2017 19:58 |
|
BiohazrD posted:edit: nm im wrong, the loving output on this thing is hella weird, it puts the \r\n before the output and then puts another \r at the end i had to get shift-jis working on an old label printer here that hooked up by serial port. it turned out that you had to send the hex codes as ascii characters like, for example, if you wanted to print 軌, that maps to 0x8b4f in shift-jis, so you would actually have to send the string '8b4f' in ascii, doubling the data size and at least quadrupling the dev time required to figure out that's what the lovely instructions were telling you to do
|
# ? Feb 1, 2017 20:09 |
|
HoboMan posted:holy lol loving same, my friend
|
# ? Feb 1, 2017 20:31 |
|
BiohazrD posted:i dont see echos in putty but maybe it's auto discarding BiohazrD posted:edit: nm im wrong, the loving output on this thing is hella weird, it puts the \r\n before the output and then puts another \r at the end this is why I use real term and then fire up my saleae if anything looks off
|
# ? Feb 1, 2017 20:38 |
|
GameCube posted:i had to get shift-jis working on an old label printer here that hooked up by serial port. it turned out that you had to send the hex codes as ascii characters there is a special place in hell for the people who write label printer firmware. you get all the downsides of dealing with printers, plus all the downsides of industrial hardware, plus all the downsides of weird proprietary comms protocols
|
# ? Feb 1, 2017 21:08 |
|
does anybody have experience with error tracking tools like sentry or airbrake?
|
# ? Feb 1, 2017 22:30 |
|
well I figured out how to union an array on top of a List<> in c# such that the array functionally has access to the List's backing store but hopefully I never actually use it because it is stupid
|
# ? Feb 1, 2017 23:39 |
|
Aquarium of Lies posted:does anybody have experience with error tracking tools like sentry or airbrake? ya although not extensive. they're pretty simple though.
|
# ? Feb 1, 2017 23:54 |
|
Aquarium of Lies posted:does anybody have experience with error tracking tools like sentry or airbrake? yeah it's kinda nice i guess but honestly it's better just to not cause errors
|
# ? Feb 2, 2017 00:08 |
|
MALE SHOEGAZE posted:ya although not extensive. they're pretty simple though. yeah they all seem straightforward. this was something my predecessor was looking into but he hadn't actually picked a product yet, so I'm going through comparing prices/features. sentry seems like the best fit for us from what I've seen so far
|
# ? Feb 2, 2017 00:09 |
|
rt4 posted:yeah it's kinda nice i guess but honestly it's better just to not cause errors you obviously haven't seen the code I write!!
|
# ? Feb 2, 2017 00:09 |
|
Aquarium of Lies posted:yeah they all seem straightforward. this was something my predecessor was looking into but he hadn't actually picked a product yet, so I'm going through comparing prices/features. sentry seems like the best fit for us from what I've seen so far sentry does what it says on the box, for sure. they're just a special version of a log aggregator though. if you don't already have a log aggregator, get one of those running first. you can build most of the same features into splunk or ELK or whatever.
|
# ? Feb 2, 2017 00:14 |
|
Bloody posted:well I figured out how to (program) but hopefully I never actually use it because it is stupid
|
# ? Feb 2, 2017 00:15 |
|
Bloody posted:well I figured out how to union an array on top of a List<> in c# such that the array functionally has access to the List's backing store but hopefully I never actually use it because it is stupid post it
|
# ? Feb 2, 2017 00:55 |
|
anthonypants posted:History It's in the wiki, so it's as good as fixed.
|
# ? Feb 2, 2017 01:33 |
|
lmao i should probably be better at using the product i spend 40 hours a week developing but nah
|
# ? Feb 2, 2017 05:38 |
|
Aquarium of Lies posted:yeah they all seem straightforward. this was something my predecessor was looking into but he hadn't actually picked a product yet, so I'm going through comparing prices/features. sentry seems like the best fit for us from what I've seen so far you can self host sentry, it's just a django app + redis so it's not too bad. you get the user + request data along with any exceptions which is super helpful. I like it
|
# ? Feb 2, 2017 10:03 |
|
GameCube posted:the visual studio start page has something about adafruit on it rn. microsoft is cool again adafruit is a good & cool company
|
# ? Feb 2, 2017 10:17 |
|
So can somebody explain for a terrible programmer why all of gitlab's backup strats failed? I get why the original problem occurred (lol rm -rf) but after reading a couple different post-mortems I don't have enough pgsql experience to grok what happened there.
|
# ? Feb 2, 2017 15:28 |
|
Sagebrush posted:adafruit is a good & cool company yeah
|
# ? Feb 2, 2017 17:17 |
|
Bloody posted:well I figured out how to union an array on top of a List<> in c# such that the array functionally has access to the List's backing store but hopefully I never actually use it because it is stupid can you drop the code, i'm curious what terrible things you had to do.
|
# ? Feb 2, 2017 18:05 |
|
Strumpy posted:can you drop the code, i'm curious what terrible things you had to do.
|
# ? Feb 2, 2017 18:20 |
|
Strumpy posted:can you drop the code, i'm curious what terrible things you had to do.
|
# ? Feb 2, 2017 18:36 |
|
Finster Dexter posted:So can somebody explain for a terrible programmer why all of gitlab's backup strats failed? I get why the original problem occurred (lol rm -rf) but after reading a couple different post-mortems I don't have enough pgsql experience to grok what happened there. because all software is garbage and all programmers are terrible. Next question?
|
# ? Feb 2, 2017 18:46 |
|
Moreleth posted:because all software is garbage and all programmers are terrible. Next question? still loling about the rm -rf e: i don't now poo poo about postgres but it looks like "YP" is a huge fuckup that did literally everything wrong in the timeline they published. it looks like "YP" had hosed up their staging environment trying to get replication running (which is coincidentally their backup) and then called it a day because they couldn't figure out how to unfuck it without the help of someone who was out that day. later, YP deals with spamming on their DB poorly, causing some data to get corrupted and db2 to poo poo itself. In a effort to get replication to work into db2 again (note that trying to get replication up in staging is what caused YP to gently caress it up in the first place) YP had the brilliant idea of loving with database settings and then running a rm -rf command on prod. i have no idea why they can't use db2 to recover from except that maybe the postgres instance ate itself because of aforementioned corrupted data. they could recover from staging but their "web hook data", whatever that means, is not backed up into staging. Also they apparently have no idea what the postgres settings for prod is supposed to be (and never backed that up either). HoboMan fucked around with this message at 20:26 on Feb 2, 2017 |
# ? Feb 2, 2017 19:34 |
|
so heres a question re: thread safety in c# when my read thread raises the AmplifierStateChanged event, a function in the Amplifier class will be called. what thread will that occur in? the same thread as the read thread? lets say the volume were to change, whats the best way to update that value so that if tries to read the volume at the same time as the event is updating the value? ideally i think i would like the read to just pause until the event completes but idk 30 TO 50 FERAL HOG fucked around with this message at 20:21 on Feb 2, 2017 |
# ? Feb 2, 2017 20:15 |
|
Strumpy posted:can you drop the code, i'm curious what terrible things you had to do. it was surprisingly trivial - all I had to do was alias a class containing an array (???) over the list: code:
it Seems To Work under a few different compilation settings (debug/release, x86/64) but still lol
|
# ? Feb 2, 2017 20:39 |
|
BiohazrD posted:so heres a question re: thread safety in c# yeah if the read thread raises the event that's what'll call the event handler. if only one thread is writing the volume level and multiple threads are reading it, i don't think you need to worry about thread safety, it's only a concern if multiple threads are reading *and* writing
|
# ? Feb 2, 2017 20:43 |
|
|
# ? May 9, 2024 21:49 |
|
BiohazrD posted:so heres a question re: thread safety in c# when you raise an event, listeners are called in the same thread as the one the event is raised in
|
# ? Feb 2, 2017 20:43 |