|
exant posted:Listening to a coworker fresh out of college try to push IntelliJ on an apathetic developer community of 500+ eclipse users makes me realize how insufferable I must have been just out of college too Tbh Eclipse is wet trash compared to IntelliJ if you're doing Java dev. or flash dev. or Scala dev. or python dev. or ruby dev. I guess Eclipse is probably a better c++ ide until jetbrains launches their c++ product
|
# ? Apr 12, 2014 04:51 |
|
|
# ? May 11, 2024 13:29 |
|
I tried using intellij but didn't like the ui at all.
|
# ? Apr 12, 2014 04:52 |
|
VS is the best c++ ide
|
# ? Apr 12, 2014 04:52 |
|
intellij ui is better than eclipse but it's no vs
|
# ? Apr 12, 2014 04:53 |
|
Zombywuf posted:Why? Is JSON particularly easy to parse? i spent the last couple of days writing a lovely json parser and can confirm this also does anyone actually think this is the best way to communicate a grammar?
|
# ? Apr 12, 2014 04:53 |
|
Shaggar posted:I tried using intellij but didn't like the ui at all. once you get settled in the code completion, refactoring and the plugin ecosystem are all basically amazing. it's a rough cut over but it's so worth it, quadruply so if you're doing Java because that's their flagship focus and the support is spectacular and people have built integration with everything
|
# ? Apr 12, 2014 04:54 |
|
Share Bear posted:mongodb is useful if you want to make a lovely project you never show more than a couple of close friends and then delete cause your dreamhost account came due and you spent your money on titanfall instead i work at a company that uses mongodb to store users' payment histories it's just as awesome as it sounds thank god i just write front-end bullshit
|
# ? Apr 12, 2014 04:55 |
|
uncurable mlady posted:VS is the best c++ ide vs is not as good as eclipse. it has too many fuckin windows and they all suck and are lovely sizes. like the test results window is so useless unless its fullscreen but a fullscreen test window is stupid as hell. it also has like 300 different output windows for no reason. the worst thing is no live code edits for mvc like u can w/ live java servlets and also intellisense is garbage compared to eclipse autocomplete.
|
# ? Apr 12, 2014 04:56 |
|
suffix posted:c++ is so terrible for abi compatibilty os x padded out their vtables with extra functions to be used later
|
# ? Apr 12, 2014 05:11 |
|
AlsoD posted:what do you mean by "alternative to IO"? For concurrency? Parallelism? File access? Terminal interfacing? i meant like alternatives to the normal means of io that mitigate some of the oddities of io like i just watched this video on pipes and how you can feel good using them. and lenses is mad trill duder.
|
# ? Apr 12, 2014 05:31 |
|
abraham linksys posted:also does anyone actually think this is the best way to communicate a grammar? you know of anything better than railroad diagrams for small chunks of grammar? (that one is badly laid out though) coffeetable fucked around with this message at 09:16 on Apr 12, 2014 |
# ? Apr 12, 2014 09:13 |
coffeetable posted:you know of anything better than railroad diagrams? yes the literal grammar
|
|
# ? Apr 12, 2014 09:16 |
|
OBAMA BIN LIFTIN posted:yes what, in bnf? you find bnf easier to read than railroad diagrams? different strokes i guess
|
# ? Apr 12, 2014 09:23 |
|
|
# ? Apr 12, 2014 09:34 |
|
|
# ? Apr 12, 2014 09:54 |
|
who wants to help my find a soltuion to this problem which by all means is not a new one ok SO lets give an example lets say you want to do something opk how about i just use the real life example i am wondering so i am going to make an ARUIDNO SKETCH in C and its going to take maeasurements from a joystick thing and use it to move some servos around with a laser basically like a laser gun thing anyway i cant decide whether to make the control of it absolute or relative regarding the movition and position of the joystick the code woudldnt be significantly diferent anyway so how can i make my code have this option.... efficiently? i know how to do it inefficiently. inthe main look just have an if statement that is like "if relativre=no then blah blah" and an esle or whatever but that would mean every time the main loop ran itd have to do an if statement OR i could have two main loops but that would be a maintenance nightmare surely there exists a common and sandarda and well accepted and machine code efficient solution to this kind of problem
|
# ? Apr 12, 2014 09:59 |
|
also i srated reading a book on how to think like a processor or basically like a simplified idea of how processors do things so if you were coding in asembler well youd need to know to use it iefficientl and i can say i feel like ui understand a lot more now. maybe a total genius>? idk im no good at telling things about myself. anyway i can recommend doing it. i am a terrible and unknowledgable coder but it has helped me when i draem abot coding
|
# ? Apr 12, 2014 10:02 |
|
echinopsis posted:surely there exists a common and sandarda and well accepted and machine code efficient solution to this kind of problem in high-level oo languages you'd create an interface and two classes beneath it, one for relative positioning and one for absolute in C you use function pointers to do the same: create one a function that takes the joystick's position information and returns an absolute position for the gun, and another one that returns the relative position. then store a pointer to the function you want to use in a variable, and have everyone else access the positioning scheme through that variable e: or inject the pointer where it's needed, depends how happy you are to throw static state around coffeetable fucked around with this message at 10:16 on Apr 12, 2014 |
# ? Apr 12, 2014 10:12 |
|
dats fuckin genius and i understanding perfectly what you mean by that. i mean as in, i know what a pointer is. never used them of course but i understand. and its totally obvious how that is a great idea! ahahahah cool man
|
# ? Apr 12, 2014 10:24 |
|
abraham linksys posted:i spent the last couple of days writing a lovely json parser and can confirm this well, no as i'm fairly sure these are not valid numbers: 2.1Ǝ9, 4ǝ+20
|
# ? Apr 12, 2014 10:53 |
|
wait, how is 'LATIN SMALL LETTER TURNED E' the lowercase version of 'LATIN CAPITAL LETTER REVERSED E' this poo poo don't make any sense
|
# ? Apr 12, 2014 11:00 |
|
trip report: Java 8's lambda and stream stuff is actually not terrible
|
# ? Apr 12, 2014 12:17 |
|
echinopsis posted:dats fuckin genius and i understanding perfectly what you mean by that. i mean as in, i know what a pointer is. never used them of course but i understand. and its totally obvious how that is a great idea! ahahahah cool man i think the only real answer to this is smoke more weed
|
# ? Apr 12, 2014 12:53 |
|
abraham linksys posted:i spent the last couple of days writing a lovely json parser and can confirm this that diagram is pretty clear, if a little cramped horizontally but railroad diagrams can be abused horribly e.g. good luck turning these into grammars:
|
# ? Apr 12, 2014 13:40 |
|
how are any of these diagrams clearer than the literal grammar
|
# ? Apr 12, 2014 13:51 |
|
MeramJert posted:how are any of these diagrams clearer than the literal grammar try to be less autistic and it might make sense
|
# ? Apr 12, 2014 15:21 |
|
coffeetable posted:in high-level oo languages you'd create an interface and two classes beneath it, one for relative positioning and one for absolute i fuckin love function pointers
|
# ? Apr 12, 2014 15:21 |
|
MeramJert posted:how are any of these diagrams clearer than the literal grammar they aren't like i said, they're bad examples of people abusing the railroad diagram concept here's the full collection of javascript syntax railroad diagrams, most of them (other than the ones i selected above) are pretty clear and very easy to turn into a grammar/parser
|
# ? Apr 12, 2014 15:46 |
|
Bloody posted:try to be less autistic and it might make sense for something called a "railroad" diagram i don't think you'd want to be less autistic
|
# ? Apr 12, 2014 15:48 |
|
Bloody posted:i fuckin love function pointers start making structs of function pointers and you can get in on some bespoke vtable action my dizzy
|
# ? Apr 12, 2014 15:49 |
|
FamDav posted:start making structs of function pointers and you can get in on some bespoke vtable action my dizzy C++ The Harder Way
|
# ? Apr 12, 2014 15:53 |
|
|
# ? Apr 12, 2014 16:36 |
|
one time i actually wrote a parser generator where instead of inputting any kind of grammar you put a description of the railroad diagram itself, like which tokens were linked to which other tokens and where the start and end were and the parser would just follow the diagram to see whether, at the end of the input string, it had reached the end or not in php
|
# ? Apr 12, 2014 18:42 |
|
if a token couldn't be consumed, it would throw a DerailException
|
# ? Apr 12, 2014 18:44 |
|
qntm posted:if a token couldn't be consumed, it would throw a DerailException AmtrakException
|
# ? Apr 12, 2014 18:55 |
|
FamDav posted:start making structs of function pointers and you can get in on some bespoke vtable action my dizzy i fucken love doing this. c is a nightmare for a real project but it's loads of fun to gently caress around with
|
# ? Apr 12, 2014 19:13 |
|
why do so many of you have difficulty with state transition diagrams
|
# ? Apr 12, 2014 20:17 |
|
Bloody posted:try to be
|
# ? Apr 12, 2014 21:01 |
|
HORATIO HORNBLOWER posted:i fucken love doing this. c is a nightmare for a real project but it's loads of fun to gently caress around with void * is fun
|
# ? Apr 12, 2014 21:07 |
|
|
# ? May 11, 2024 13:29 |
|
abraham linksys posted:i spent the last couple of days writing a lovely json parser and can confirm this https://github.com/johnezang/JSONKit this is a fun read me
|
# ? Apr 12, 2014 21:19 |