|
Shaggar posted:visual studio sucks. Tell me what's better??
|
# ? Aug 26, 2012 17:24 |
|
|
# ? May 8, 2024 20:16 |
|
p
|
# ? Aug 26, 2012 17:30 |
|
lachose1 posted:Tell me what's better?? IntelliJ IDEA™
|
# ? Aug 26, 2012 18:01 |
|
Condiv posted:IntelliJ IDEA™
|
# ? Aug 26, 2012 18:06 |
|
lachose1 posted:Tell me what's better?? your favorite text editor. I recommend Sublime Text 2 or vim.
|
# ? Aug 26, 2012 18:08 |
|
actually IDEs do have their place its just most of them also have a lot of problems and aren't as good at just editing code as a nice ... editor.
|
# ? Aug 26, 2012 18:08 |
|
yesssss text editor chat
|
# ? Aug 26, 2012 18:09 |
|
if speed of text entry is the limiting factor of your coding then you're already doing so many things wrong I dont even know where to start
|
# ? Aug 26, 2012 18:12 |
|
Ronald Raiden posted:actually IDEs do have their place
|
# ? Aug 26, 2012 18:31 |
|
shitlord web developers think debuggers are arcane, what a surprise
|
# ? Aug 26, 2012 18:44 |
|
lachose1 posted:Tell me what's better?? eclipse
|
# ? Aug 26, 2012 19:11 |
|
vapid cutlery posted:shitlord web developers think debuggers are arcane, what a surprise well debuggers are great, thats one of the benefits you get out of putting up with an IDE. Or if you are doing like, c, you can just use gdb.
|
# ? Aug 26, 2012 19:15 |
|
Ronald Raiden posted:well debuggers are great, thats one of the benefits you get out of putting up with an IDE. Or if you are doing like, c, you can just use gdb. lol
|
# ? Aug 26, 2012 19:16 |
|
i use gdb or the llvm debugger too. in xcode
|
# ? Aug 26, 2012 19:17 |
|
you can tell I'm a hardcore coder by the lovely, archaic tools I use.
|
# ? Aug 26, 2012 19:22 |
|
i use advanced debugging tools such as print and echo
|
# ? Aug 26, 2012 19:24 |
|
being paid to write objc is basically the best thing in the world
|
# ? Aug 26, 2012 19:24 |
|
rotor posted:you can tell I'm a hardcore coder by the lovely, archaic tools I use. this is me in real life
|
# ? Aug 26, 2012 22:18 |
|
i do all my work in vim and gdb welp, see ya!
|
# ? Aug 26, 2012 22:19 |
|
Shaggar posted:eclipse
|
# ? Aug 27, 2012 01:20 |
|
Walked over to the new hire's desk and watched him try and code C in notepad.exe Wanted to cry
|
# ? Aug 27, 2012 06:40 |
|
CRIP EATIN BREAD posted:i do all my work in emacs and gdb
|
# ? Aug 27, 2012 06:57 |
|
Meiwaku posted:Walked over to the new hire's desk and watched him try and code C in notepad.exe
|
# ? Aug 27, 2012 07:24 |
|
Meiwaku posted:Walked over to the new hire's desk and watched him try and code C in notepad.exe used to code c in nano/pico due to that's how my intro to c course was taught. gently caress you intro to c course. also c.
|
# ? Aug 27, 2012 09:59 |
|
Shaggar posted:c# is ok. visual studio sucks. theirs no .net version of maven. sometimes u gotta be aware that the library ur using is actually wrappers around unmanaged code and u gotta be careful to dispose it properly. duck typing is dumb and breeds bad habits. all exceptions being unchecked is stupid. shaggar was right Also I've said this before, but if you are developing unmanaged code for Win32 in Visual Studio instead of using the DDK then you are doing it wrong. Doing an embedded project at the moment and I'm being forced to use a toy programming language (nesC) to do it. Surprise surprise, toy languages suck. I mean it's not actively a hindrance as such, it just doesn't give me anything and its pre-emption static analysis model is really naive and stupid.
|
# ? Aug 27, 2012 12:17 |
|
so i taught myself more sql with perl this weekend. im scraping the local police dispatch logs, storing them in mysql and then geolocating them all. then i have a client script that calcs distance and alerts me if poo poo goes down within 1 mile radius of my house. the sql bit was a little tricky b/c timestamps, incident descriptions and addresses can all be duplicated, but all 3 will never be duplicated at once, so I ended up taking an md5 of $timestamp.$desc.$addr and using that as a unique index field. Then since i'm scraping the whole page each minute and will see entries multiple times, i md5 each item and if that index exists, skip. i guess sql can do this but i didnt want to build up a bunch of huge gross queries at 2am saturday night for the geo i'm doing a v. simple query via geocoder.us, which rate limits to one query every 15 seconds for free accounts, so i set up a background script to build a LIFO queue of items with no location and geolocate them out.
|
# ? Aug 27, 2012 16:25 |
|
ios owns
|
# ? Aug 27, 2012 16:25 |
|
Jonny 290 posted:the sql bit was a little tricky b/c timestamps, incident descriptions and addresses can all be duplicated, but all 3 will never be duplicated at once, so I ended up taking an md5 of $timestamp.$desc.$addr and using that as a unique index field. Then since i'm scraping the whole page each minute and will see entries multiple times, i md5 each item and if that index exists, skip. i guess sql can do this but i didnt want to build up a bunch of huge gross queries at 2am saturday night tbh that sounds like a shitton more work than making a unique index on (timestamp, description, address)
|
# ? Aug 27, 2012 16:30 |
|
Tiny Bug Child posted:tbh that sounds like a shitton more work than making a unique index on (timestamp, description, address) lmao
|
# ? Aug 27, 2012 16:31 |
|
Jonny 290 posted:so i taught myself more sql with perl this weekend. im scraping the local police dispatch logs, storing them in mysql and then geolocating them all. then i have a client script that calcs distance and alerts me if poo poo goes down within 1 mile radius of my house. why not just use a synthetic key instead of a hodgepodge md5 thingy
|
# ? Aug 27, 2012 16:31 |
|
Shaggar posted:c# is ok. visual studio sucks. theirs no .net version of maven. sometimes u gotta be aware that the library ur using is actually wrappers around unmanaged code and u gotta be careful to dispose it properly. duck typing is dumb and breeds bad habits. all exceptions being unchecked is stupid. checked exceptions are dumb in java
|
# ? Aug 27, 2012 16:32 |
|
wrong
|
# ? Aug 27, 2012 16:34 |
|
Shaggar posted:wrong this is not a shaggar was right moment, sorry
|
# ? Aug 27, 2012 16:35 |
|
i dont think i can just use a serial number because entries don't always show up on the page in the order of their timestamps. a quick noise complaint call at 01:00:00 might go up right away but then you'll reload and see there was a big old hostage rescue thing or whatever at 00:58:27 and it took them longer to put it up on the page, but it'll still show up before the 01:00:00 in the list. so i'd then have to renumber and insert. i think. back when i scraped the intake logs, i had a unique index in the inmate log, but no such luck here.
|
# ? Aug 27, 2012 16:36 |
|
time for another day of doing my part to usher in the glorious web 2.0 future but before i do i'm going to take a minute to reflect on how lucky i am not to be using java
|
# ? Aug 27, 2012 16:37 |
|
checked exceptions are good because they force the programmer to handle problems that are likely to occur and can be handled by your code or presented to the user. IOExceptions, for example. java decided to make these exceptions checked because otherwise its up to the developer to realize they need to handle them. The only people who dont like checked exceptions are lazy p-languagers who arent writing code that matters.
|
# ? Aug 27, 2012 16:42 |
|
Jonny 290 posted:i dont think i can just use a serial number because entries don't always show up on the page in the order of their timestamps. a quick noise complaint call at 01:00:00 might go up right away but then you'll reload and see there was a big old hostage rescue thing or whatever at 00:58:27 and it took them longer to put it up on the page, but it'll still show up before the 01:00:00 in the list. so i'd then have to renumber and insert. i think. well that's why you have a `created` column, and never consider the synthetic index unless you're doing crud operations on the row
|
# ? Aug 27, 2012 16:42 |
|
Jonny 290 posted:i dont think i can just use a serial number because entries don't always show up on the page in the order of their timestamps. a quick noise complaint call at 01:00:00 might go up right away but then you'll reload and see there was a big old hostage rescue thing or whatever at 00:58:27 and it took them longer to put it up on the page, but it'll still show up before the 01:00:00 in the list. so i'd then have to renumber and insert. i think. Where do you get these logs?
|
# ? Aug 27, 2012 16:45 |
|
Shaggar posted:checked exceptions are good because they force the programmer to handle problems that are likely to occur and can be handled by your code or presented to the user. IOExceptions, for example. java decided to make these exceptions checked because otherwise its up to the developer to realize they need to handle them. oh no we shouldn't let the developer decide what to do
|
# ? Aug 27, 2012 16:47 |
|
|
# ? May 8, 2024 20:16 |
|
developers are objectively terrible people with worse business sense they should shut up and write code and do the least amount of that possible
|
# ? Aug 27, 2012 16:48 |