|
FamDav posted:you should see what you have to fill out for security clearance how could i possibly know whether or not one of my friends got really high one time and was all "duuuude i totally know how to take over washington dc"
|
# ? Feb 28, 2016 03:11 |
|
|
# ? May 11, 2024 07:09 |
|
MALE SHOEGAZE posted:wtf do you do that you write both assembly and rest services? http://coap.technology/ there is a http for udp for small devices it is not that weird
|
# ? Feb 28, 2016 03:12 |
|
JawnV6 posted:is there a different response code that i want to use? or can I just add bytes after the OK so it'd be content-length 4 and say OKGO when there's something fresh at the other endpoint? 200 is better because 300 is "you have to do something else to get this/go somewhere else" Shaggar posted:alternatively send the 200 w/ the directive in the message body there is a link: header, you could add a Link: <http://othersourc/>; rel="alternate"; title="thingy" https://tools.ietf.org/html/rfc5988#section-5.5 you can also use a url as a relation type if you have more specific desires. there's a bunch built i n though: http://www.iana.org/assignments/link-relations/link-relations.xml the thing about sticking it in the header is that you can hack poo poo together easier if you don't have to decode the body for this information. the downside is most clients hide this header information, so you might as well stick it in the body too.
|
# ? Feb 28, 2016 03:20 |
|
passwordissame posted:std::string should have zero allocations because memory is expensive. Instead, it should use other solutions such as mongodb. That way, Chrome can easily handle massive amount of data and big data ready for 2015. Added bonus is that std::string is now async, which means massive IO, which is impossible with memory allocations because even mmap is bound by virtual space. C++17 is indeed actually working on embedding mongodb and node.js into STL because those should be industry standard and solve 100% of business problems that C++ is aimed at solving at. Already github pull request is made. All you need is 2 thumb ups and will get merged in. Just imagine, std::string is everywhere: network stack, user applications, kernel drivers... And now they all use mongodb. And they will be Actor model massively concurrent paradigm. This is new science Wolfram is talking about. Just accept the PR already.
|
# ? Mar 1, 2016 06:35 |
|
what
|
# ? Mar 1, 2016 06:59 |
|
fart simpson posted:what quote:type safe dsl for query generation is way better than raw SQL. Yes, you can do everything in assembly, but if computer helps you RAD in C why not get some help from computer? i'm assuming your DSL has been grown over decades and generates very good hard to beat queries, just like gcc.
|
# ? Mar 1, 2016 07:04 |
|
thats a markov text generator right?
|
# ? Mar 1, 2016 07:06 |
|
either that or someone having a breakdown
|
# ? Mar 1, 2016 07:08 |
|
the markov turk
|
# ? Mar 1, 2016 07:09 |
|
fart simpson posted:thats a markov text generator right? some guy has been trolling /r/programming for awhile about mongodb, webscale, and node.js.
|
# ? Mar 1, 2016 07:15 |
|
is c++ web scale?
|
# ? Mar 1, 2016 07:16 |
|
is fortran?
|
# ? Mar 1, 2016 07:25 |
|
looks like a psychotic break but not enough random Capitalisations.
|
# ? Mar 1, 2016 12:17 |
|
whaterver happened to mr superawesome anyway?
|
# ? Mar 1, 2016 12:19 |
|
focal ischemia posted:whaterver happened to mr superawesome anyway? He's now a medic in Syria not really, I'm guessing that he decided we were all natural spies and started telling his ideas to his cats instead
|
# ? Mar 1, 2016 12:37 |
|
for the first time ever, i got to review a couple of demo programs by job applicants they had both clearly just followed some guestbook tutorial. one of them threw an exception when you tried to access the actual guestbook tab and the tab that i think was supposed to show all entered (or rather, hardcoded) comments was empty. it had some kind of user account system and logging in worked at least. the other had a dependency for a database, but i was able to get it working. you could do basic crud operations on comments. both had lovely ui's and a useless readme at best they demonstrated that the applicant is able to mostly follow a tutorial they found by googling. in other words i think we got applications from the top 1% of potential applicants, right?
|
# ? Mar 1, 2016 12:58 |
|
Wheany posted:in other words i think we got applications from the top 1% of potential applicants, right?
|
# ? Mar 1, 2016 13:02 |
|
that sounds like quite an involved bit of work for a job application. What level of experience are you requiring? How long is this exercise meant to take?
|
# ? Mar 1, 2016 13:54 |
|
pointsofdata posted:that sounds like quite an involved bit of work for a job application. What level of experience are you requiring? How long is this exercise meant to take? exactly, it's kinda much to ask for much effort from people who are already programming 9-5+
|
# ? Mar 1, 2016 13:56 |
|
pointsofdata posted:that sounds like quite an involved bit of work for a job application. What level of experience are you requiring? How long is this exercise meant to take? i have no loving clue about the details of the application process, my manager just mailed me the github urls and told me to rate them. sure, i'll do it, anything for an excuse to be unproductive for half a day.
|
# ? Mar 1, 2016 14:00 |
|
i have some tools that run under sudo i want to script them & their outputs and inputs is 'sudo python main.py' horrible for some reason? it'll be really obnoxious no matter how i slice it, but my alternative seems to be bash scripting
|
# ? Mar 1, 2016 21:22 |
|
If the tools are compiled programs you can use setuid to make them execute with root permissions without using sudo. Your python scripts can't use setuid to execute as root themselves (security hole: any user with permissions could change the contents of the script to do whatever they want and execute it as if they were root) but I'm pretty confident that if you're using system() or w/e python calls it on an executable owned by root with the setuid attribute, it'll run as root. If the tools are scripts, then you'll have to run them with sudo, yes. As mentioned above, setuid is disabled for anything interpreted. https://en.wikipedia.org/wiki/Setuid Edit: Said something wrong Hunter2 Thompson fucked around with this message at 21:36 on Mar 1, 2016 |
# ? Mar 1, 2016 21:33 |
|
you have come to a world called boner extends penis
|
# ? Mar 1, 2016 21:41 |
|
right now it's a VM existing only on my machine and security isn't much of a concern, but that looks like a much cleaner way to do this anyway they're compiled tools, i'll tip my hand a bit and admit they're hcitool/gatttool and you can probably figure out the rest thanks!
|
# ? Mar 1, 2016 21:48 |
|
Captain Foo posted:you have come to a world called boner extends penis
|
# ? Mar 1, 2016 22:46 |
|
Captain Foo posted:you have come to a world called boner extends penis get back to me when you have something a little more solid to offer
|
# ? Mar 1, 2016 23:09 |
|
MALE SHOEGAZE posted:get back to me when you have something a little more solid to offer lol
|
# ? Mar 2, 2016 07:17 |
|
Captain Foo posted:you have come to a world called boner extends penis With all the times that penises act as boners without the user wanting them to, I'm pretty sure that in real biology penis extends boner.
|
# ? Mar 2, 2016 09:44 |
|
MALE SHOEGAZE posted:get back to me when you have something a little more SOLID to offer
|
# ? Mar 2, 2016 12:44 |
|
my quadcopter flew straight into a wall and broke the protective styrofoam hows that for terrible programming?
|
# ? Mar 2, 2016 13:07 |
|
sounds like user error imo
|
# ? Mar 2, 2016 13:49 |
|
i programmed it to do that
|
# ? Mar 2, 2016 14:07 |
|
THAT"S THE JOKE YOUR JOKES ARE NOT VERY DRY
|
# ? Mar 2, 2016 19:43 |
|
new hire at work "so do you guys use the mvc pattern or-" nigga i'm p sure we got a few files with sql query strings in the ui event handlers
|
# ? Mar 2, 2016 23:27 |
|
yo I flaked out about the jobs I mentioned before, mainly because when I asked for more details about the positions i was getting slightly...cagey replies
|
# ? Mar 2, 2016 23:34 |
|
also i am being shunted on to another project that has just had all its developers leave, so i will be working on current project a little, but mostly the new one as the sole developer. two completely different codebases, different languages, and a lot of knowledge on it has just been lost
|
# ? Mar 2, 2016 23:35 |
|
since i'm the only dev left on my team i get to do hiring and i'm scared but i'm sure it will also be funny and depressing
|
# ? Mar 2, 2016 23:40 |
|
Valeyard posted:yo I flaked out about the jobs I mentioned before, mainly because when I asked for more details about the positions i was getting slightly...cagey replies I like to think you literally went to the people in charge and said like "some posters from the terrible programmers thread in your operating system is a piece of poo poo are interested in working here, shall I give them your number"
|
# ? Mar 2, 2016 23:45 |
|
Soricidus posted:I like to think you literally went to the people in charge and said like "some posters from the terrible programmers thread in your operating system is a piece of poo poo are interested in working here, shall I give them your number" they found the chome video
|
# ? Mar 3, 2016 00:13 |
|
|
# ? May 11, 2024 07:09 |
|
you would be surprised
|
# ? Mar 3, 2016 00:19 |