|
Max Facetime posted:quick, who of those discussing the slowness of exceptions has benchmarked exceptions recently? a mere 10% slowdown for the privilege of using some dodgy flow control as part of the normal execution path lol java programmers also quote:method 3, option type wrapper took 910 ms, result was 3
|
# ? Aug 30, 2013 22:17 |
|
|
# ? Jun 11, 2024 08:28 |
|
Zlodo posted:a mere 10% slowdown for the privilege of using some dodgy flow control as part of the normal execution path memory allocation/deallocation is free and instantaneous
|
# ? Aug 30, 2013 22:24 |
|
b0lt posted:memory allocation/deallocation is free and instantaneous allocating memory on the stack (which is how value types too large to fit into registers are returned in c++) pretty much is: it is literally nothing more than an addition
|
# ? Aug 30, 2013 22:39 |
|
Notorious b.s.d. posted:i'm going to start calling osx a windows
|
# ? Aug 30, 2013 22:45 |
|
Zlodo posted:there should be no reason for an option type to be significantly slower than returning a value + a bool indicating if its valid. java is awful it makes sense though, option types you have to first allocate a new one, then check what it contains, when exceptions give you the second part for free
|
# ? Aug 30, 2013 23:00 |
|
gucci void main posted:trailing white space is the worst white space sincere question: why does anyone care about trailing whitespace? e.g., pylint is configured by default to warn about trailing whitespace, but: who cares? e: the answer is 'autists', isn't it Shaggar posted:Linux is so bad that some distros even have paid text editors. incredible also, for the record, I hate everyone arguing about exceptions I hate all of you every one
|
# ? Aug 30, 2013 23:01 |
|
except this guyMononcQc posted:...
|
# ? Aug 30, 2013 23:02 |
|
Notorious b.s.d. posted:lol closed source hobby project yes, ides, actually usable open source text editors like notepad++, and guis are going to stop being a thing any day now and then everyone will go back to using a text editor made in the 70s.
|
# ? Aug 30, 2013 23:27 |
|
Wheany posted:yes, ides, actually usable open source text editors like notepad++, and guis are going to stop being a thing any day now and then everyone will go back to using a text editor made in the 70s. people are gonna be pretty stoked by my sweet easy-to-use vim functions
|
# ? Aug 30, 2013 23:41 |
|
here is what you need to know about vi: press 'i' to make it a normal text editor, then you can use your cursor keys to move around and type the commit message when you're done, press esc and then type ':wq' to save and quit
|
# ? Aug 30, 2013 23:53 |
|
oh, if you gently caress up and don't actually want to save, press esc and then type ":q!" to quit without saving.
|
# ? Aug 30, 2013 23:55 |
|
i got literally laughed at by a dude for using emacs a few months ago
|
# ? Aug 30, 2013 23:56 |
|
i literally used ex within the last 10 minutes, suck it visuailures
|
# ? Aug 31, 2013 00:15 |
|
you know what i wish i had right now? a decwriter, that's what
|
# ? Aug 31, 2013 00:21 |
the more i use git the more i hate it. it's some autistic bullshit.
|
|
# ? Aug 31, 2013 00:27 |
|
gucci void main posted:some autistic bullshit. dsyp
|
# ? Aug 31, 2013 00:33 |
|
gucci void main posted:the more i use git the more i hate it. it's some autistic bullshit. another wrong opinion from sulk
|
# ? Aug 31, 2013 00:34 |
|
gucci void main posted:the more i use git the more i hate it. it's some autistic bullshit. then why do you hate it?
|
# ? Aug 31, 2013 00:35 |
|
gucci void main posted:the more i use git the more i hate it. it's some autistic bullshit. tell us, what version control system do you prefer
|
# ? Aug 31, 2013 00:45 |
|
DANGER DANGER
|
# ? Aug 31, 2013 00:47 |
|
if you throw an exception you are garbage if you catch it you are a garbage man
|
# ? Aug 31, 2013 00:47 |
|
Wheany posted:here is what you need to know about vi: *note: you can't use the arrow keys to move after the last character in the line
|
# ? Aug 31, 2013 01:06 |
|
gucci void main posted:the more i use git the more i hate it. it's some autistic bullshit. are you sure youre in the right profession
|
# ? Aug 31, 2013 01:43 |
|
guys, I think we urgently need to move this thread to brazil.
|
# ? Aug 31, 2013 01:46 |
|
Nomnom Cookie posted:another wrong opinion from sulk Cocoa Crispies posted:*note: you can't use the arrow keys to move after the last character in the line yes you can ??????????? e: when you're in insert mode, which wheany told you to enter a moment beforehand, so
|
# ? Aug 31, 2013 01:50 |
|
fritz posted:i got literally laughed at by a dude for using emacs a few months ago lol PleasingFungus posted:yes you can ??????????? I think he means like pressing the right arrow key in the end of the line to jump to the start of the next line.
|
# ? Aug 31, 2013 02:14 |
|
Symbolic Butt posted:
i tried just now and my arrow keys just typed letters wtf
|
# ? Aug 31, 2013 02:31 |
|
fritz posted:i got literally laughed at by a dude for using emacs a few months ago - Power up my cheap company-provided Thinkpad with its pointing stick and impossibly small display - Jump onto the company VPN and connect to my Linux box at the office - Query the on-site databases in SQLPlus, grep through tool logs, and review tool source code to find out what the hell might be breaking - Draw on a library of scripts that I had created over time to speed up the process. - Keep the entire session alive as I moved between home and the office. Relying on an IDE under these constraints was just hopeless so I used screen + emacs. When I went interviewing for the next job and told people that I had been using emacs for development, none of them gave a poo poo whether I had used anything else in earlier jobs or there might be a practical reason behind it. It could only mean that I was a "hard-core hacker."
|
# ? Aug 31, 2013 02:35 |
|
how to actually use vim: hit ctrl-z and type in killall -9 vim; export EDITOR=nano
|
# ? Aug 31, 2013 02:36 |
|
lol text editors i edit all my text with echo, cat adn sed
|
# ? Aug 31, 2013 02:45 |
Extortionist posted:lol text editors i hand write bespoke artisanal letters on the finest parchment, send it with my personally trained carrier pigeon flock to a man overseas who types everything in for me
|
|
# ? Aug 31, 2013 02:48 |
|
i use emacs
|
# ? Aug 31, 2013 02:49 |
|
vim is for computers that arent yours, and sublime text is for computers that are
|
# ? Aug 31, 2013 02:53 |
|
gucci void main posted:i hand write bespoke artisanal letters on the finest parchment, send it with my personally trained carrier pigeon flock to a man overseas who types everything in for me maybe this is why youre getting nowhere in life
|
# ? Aug 31, 2013 02:54 |
|
i use intellij and also vim. sublime text is an underdocumented piece of poo poo. using it is literally poop from a butt
|
# ? Aug 31, 2013 02:56 |
|
post the yospossest .vimrc and .emacs file u got
|
# ? Aug 31, 2013 02:58 |
|
Nomnom Cookie posted:i use intellij and also vim. sublime text is an underdocumented piece of poo poo. using it is literally poop from a butt a correct post
|
# ? Aug 31, 2013 03:02 |
|
silent! source ~/.vimrc.local put your dotfiles in a git repo, store it in bitbucket. when you get a new machine clone the repo and symlink stuff to ~ i have .bash_profile.local and .gvimrc.local files too
|
# ? Aug 31, 2013 03:04 |
|
Max Facetime posted:does this ever turn into wildly cascading failures waves as each part tries to figure out which other parts they can trust to be working correctly while the whole system shifts and settles to a new consensus view of the world? The gist of it is that if you know how to deal with a given other part failing, you do it and it won't cascade. Otherwise you may fail yourself. This can lead to cascading failures, but that's only a consequence of your program not knowing how to work with missing components. Do note that this cascading failure, in the worst case, stops all program execution the way a regular exception in a single-process program kills the entire flow of the system and shuts things down or forces a restart of part of the flow. This leads to trying to develop more modular and loosely coupled components, each in their own process, because the bits you can live without, you design to be entirely separate -- their failure shouldn't affect your own process. How this succeeds or fails in practice is scientifically unproven, I guess. I personally like it.
|
# ? Aug 31, 2013 04:11 |
|
|
# ? Jun 11, 2024 08:28 |
|
it sounds pointlessly complex.
|
# ? Aug 31, 2013 04:16 |