|
FamDav posted:if you want a saner restart loop replace your '--rm' with 'restart --always' this is perfect thanks. and yeah i already set that, as well as protection from accidental termination. too bad i skipped logging other than the odd println so now i'm going to go back and add a proper framework to figure out what is asking for infinite memory and causing the crash gonadic io fucked around with this message at 15:51 on Jan 9, 2018 |
# ? Jan 9, 2018 15:48 |
|
|
# ? Jun 8, 2024 02:42 |
|
gonadic io posted:this is perfect thanks. and yeah i already set that, as well as protection from accidental termination. what'd you do for the discord part of it? the last time i tried to look into it (not rust specifically, just discord's api in general) their documentation was impenetrable.
|
# ? Jan 9, 2018 15:50 |
|
carry on then posted:what'd you do for the discord part of it? the last time i tried to look into it (not rust specifically, just discord's api in general) their documentation was impenetrable. i used the rust library https://github.com/zeyla/serenity and read approximately zero discord docs. the odd blog post (linked in my bot's README) to talk about how to set up a bot once you have the code, and the one talking about discord embedded messages (although I found that one fairly useless). i plan to put some aws stuff in the readme too, so somebody can just clone the repo, follow the instructions and get their own working bot. in the entire four at most dominions 5 discord servers that are out there...
|
# ? Jan 9, 2018 15:55 |
|
gonadic io have you looked at flame? there is a compiler plugin to make using it even easier called flamer. i don’t think it will help you but its cool anyways Workaday Wizard fucked around with this message at 16:02 on Jan 9, 2018 |
# ? Jan 9, 2018 15:59 |
|
Shinku ABOOKEN posted:gonadic io have you looked at flame? there is a compiler plugin to make using it even easier called flamer. that looks cool, but seems more for performance optimisation which is the least of my concerns rn. i'll keep it in mind though for future
|
# ? Jan 9, 2018 16:13 |
|
carry on then posted:eclipse is hands down the most feature complete piece of software i've ever used that's just completely artless that's a really good way to describe it eclipse was my primary ide for years and today i'm much happier doing 90% of my dev work in vs and vscode
|
# ? Jan 9, 2018 17:53 |
|
so i want to check in a placeholder config file, but then have git ignore future changes to it. is there a way to do this? can't find anything on goog
|
# ? Jan 9, 2018 18:25 |
HoboMan posted:so i want to check in a placeholder config file, but then have git ignore future changes to it. is there a way to do this? can't find anything on goog in local repository git update-index --assume-unchanged too.bar
|
|
# ? Jan 9, 2018 18:34 |
|
hmm, it looks like GCC 4 might be the best I can do unless I want to see how bad Solaris 10 runs on an Ultra10 with half a gig of ram - GCC dropped support for 9 and the tgcware version is buggy - Sun CC 11 doesn’t support C++11 so I can’t use it to compile LLVM alas I did find a copy of Sun Studio if I want to make desktop applications for CDE though I know clang does work on sparc v9 though. could I cross-compile clang for a sparc target in Linux somehow?
|
# ? Jan 9, 2018 19:24 |
|
Luigi Thirty posted:I know clang does work on sparc v9 though. could I cross-compile clang for a sparc target in Linux somehow? yeah, cross-compiling should be entirely possible, you can do it in stages: 1. build an LLVM/clang cross-compiler to run on your Linux box and target Solaris 9 on SPARCv9 2. copy your Sun’s /usr/include and /usr/lib to your Linux box to use as -isysroot in the next stage 3. on your Linux box, build an LLVM/clang native compiler to install in /opt/LLVM or someplace like that and run on your Sun then you should be able to install the built binaries on your Sun and just use them with C++17 etc. (assuming you built the C++ stdlib too) you could always skip step 3 and just do all your compilation on Linux but what fun is that?
|
# ? Jan 9, 2018 22:44 |
|
c tp s: when mvn package works fine but eclipse is really sure that dependency doesn't exist
|
# ? Jan 9, 2018 23:47 |
|
make sure your maven settings and cache are the same for eclipse and w/e instance you're running from the command line. if you have internal repos eclipse may not be able to find them.
|
# ? Jan 9, 2018 23:53 |
|
yeah all that stuff is good, it's just sometimes eclipse says it's rebuilding or cleaning the workspace but then it doesn't actually do that is you have to do a special dance to cajole it. v annoying.
|
# ? Jan 9, 2018 23:58 |
|
yeah i always have some kind of issue with the m2e connector thing
|
# ? Jan 9, 2018 23:59 |
|
eschaton posted:yeah, cross-compiling should be entirely possible, you can do it in stages: that doesn’t seem too hard 48 hours later: why is clang telling me my printer is on fire
|
# ? Jan 10, 2018 00:02 |
|
cis autodrag posted:yeah all that stuff is good, it's just sometimes eclipse says it's rebuilding or cleaning the workspace but then it doesn't actually do that is you have to do a special dance to cajole it. v annoying. does it work if you do the same build via the maven build runner in eclipse? m2e fucks up all the time and you just have to deal w/ it a lot of the time, but you should always be able to run a maven build via the build runner because all its doing is running the equivalent of mvn <your build options here> with an internal instance of maven.
|
# ? Jan 10, 2018 00:08 |
|
lmfao @ having to execute code in order to find out that a method does not exist
|
# ? Jan 10, 2018 01:20 |
|
MALE SHOEGAZE posted:lmfao @ having to execute code in order to find out that a method does not exist yeah but this way you can override it at runtime!
|
# ? Jan 10, 2018 01:29 |
|
it's equal parts amusing and frustrating that i've been working on learning roslyn stuff so i could do a C# REPL for like a week--messing with syntax trees, emitting assemblies, reflecting on them, walking aforesaid trees, etc--when i realized yesterday there's a NuGet package that does it in like a dozen linesC# code:
|
# ? Jan 10, 2018 01:29 |
|
here's what happens when i try to build llvm/clang on the sun fyiquote:luigi:~/llvm-obj$ make those all exist in my tgcware gcc c++ includes folder Luigi Thirty fucked around with this message at 01:44 on Jan 10, 2018 |
# ? Jan 10, 2018 01:38 |
|
gonadic io posted:yeah but this way you can override it at runtime! hurrayy!!!
|
# ? Jan 10, 2018 01:44 |
|
e: kinda mean spirited
DONT THREAD ON ME fucked around with this message at 03:52 on Jan 10, 2018 |
# ? Jan 10, 2018 02:04 |
|
Ciaphas posted:it's equal parts amusing and frustrating that i've been working on learning roslyn stuff so i could do a C# REPL for like a week--messing with syntax trees, emitting assemblies, reflecting on them, walking aforesaid trees, etc--when i realized yesterday there's a NuGet package that does it in like a dozen lines yeah, but what was more fun?
|
# ? Jan 10, 2018 02:26 |
|
i mean I guess I did at least learn and finally absorb the Visitor pattern so that's pretty nice
|
# ? Jan 10, 2018 02:38 |
|
dumbass question but you know there's a REPL in VS as well, right?
|
# ? Jan 10, 2018 03:36 |
|
MALE SHOEGAZE posted:a bunch of people who don't know how to program have been writing our cucumber tests for a year i can appreciate the awfulness described in the rest of your post, but this line stood out to me, because like... isn't that The Entire Point of cucumber tests
|
# ? Jan 10, 2018 03:41 |
|
DELETE CASCADE posted:i can appreciate the awfulness described in the rest of your post, but this line stood out to me, because like... isn't that The Entire Point of cucumber tests that's the point of the feature specs, but the backing code still needs to be written by programmers.
|
# ? Jan 10, 2018 03:44 |
|
theodop posted:dumbass question but you know there's a REPL in VS as well, right? Oh yeah, the REPL itself wasn't the point, just laying groundwork
|
# ? Jan 10, 2018 04:30 |
|
Luigi Thirty posted:hmm, it looks like GCC 4 might be the best I can do unless I want to see how bad Solaris 10 runs on an Ultra10 with half a gig of ram solaris 10 is fine on an ultra 10, at least insofar as Solaris 9 is fine on an ultra 10 the ultra 5 and 10 have the world’s worst ide controller, bar none, which makes them unbearably slow in their default configs, because the cpu is constantly interrupted for bullshit with a scsi card, the u5/u10 feels 10x faster p.s. sun studio is SUNWspro. the docs spend a lot of time talking about the ide but the compiler suite is the important thing. roughly equal proportions of open source software assume Solaris = SUNWspro, or have a hard requirement for Gucci, you really need both installed Notorious b.s.d. fucked around with this message at 06:07 on Jan 10, 2018 |
# ? Jan 10, 2018 06:04 |
|
Huh. okay, maybe I’ll try upgrading to some version of 10 since that would make everything infinitely easier. The Sun does have a SCSI card but it doesn’t seem to have an internal header? odd. I think I have an old adaptec scsi board somewhere. 9 runs fine on my system - it’s the 440MHz version.
|
# ? Jan 10, 2018 06:35 |
|
hmm, the Solaris 10 update 8 DVD I have (the last version I could find that runs on 256MB) freezes up here: I’m going to assume it’s out of memory despite Update 8 requiring 256MB and try again tomorrow when my other 256MB arrives
|
# ? Jan 10, 2018 07:44 |
mysql's ExtractValue() for xml has hardcoded a single space as the only delimiter the idiot who thought this is a good idea should be sent to a labour camp
|
|
# ? Jan 10, 2018 09:21 |
|
cinci zoo sniper posted:mysql [...] the idiot who thought this is a good idea should be sent to a labour camp you had me after the first word
|
# ? Jan 10, 2018 11:39 |
|
DELETE CASCADE posted:i can appreciate the awfulness described in the rest of your post, but this line stood out to me, because like... isn't that The Entire Point of cucumber tests
|
# ? Jan 10, 2018 21:54 |
|
cucumber is the devops version of business rule engines lol
|
# ? Jan 10, 2018 22:16 |
|
when i had to compare ruby test frameworks i just immediately assumed there was no way cucumber worked like it said on the box like any attempt to use it in practice would just result in 1) a pile of user stories using gherkin format instead of "as a...i want...so" 2) no actual tests
|
# ? Jan 10, 2018 22:29 |
|
"programming is a specialist activity. maybe if we refuse to call what we're doing programming it will magically become a generalist activity
|
# ? Jan 10, 2018 22:32 |
|
DaTroof posted:when i had to compare ruby test frameworks i just immediately assumed there was no way cucumber worked like it said on the box i mean the idea is that the business folks write the ghkerin formatted "features" and QA (or developers) write the "step definitions." AFAIK cucumber never claims that you don't have to write actual code. but I've worked at 3 places that use cucumber and in all of those places, the business folks write gherkin features for one or two sprints and then just give up and have QA convert user stories into features. in theory a BA could read the feature specs but that never happens so all the ceremony just seems like extra work. it would be easier, faster, and less error prone to just write the tests normally.
|
# ? Jan 11, 2018 13:05 |
|
one of our exes is throwing an unhandled NullReferenceException, but i got all of main wrapped in a try catch?
|
# ? Jan 11, 2018 15:56 |
|
|
# ? Jun 8, 2024 02:42 |
|
probably coming from the runtime
|
# ? Jan 11, 2018 15:59 |