|
I'd prefer to just do multiple substring matches than ever write a regex
|
# ? Oct 10, 2017 22:41 |
|
|
# ? May 14, 2024 01:55 |
|
LinYutang posted:I'd prefer to just do multiple substring matches than ever write a regex you certainly are a terrible programmer
|
# ? Oct 10, 2017 23:16 |
|
Works on my box
|
# ? Oct 10, 2017 23:27 |
|
instead of regex i use single-char-at-a-time loops, hand-written in C, doing all my own buffering and backtracking
|
# ? Oct 11, 2017 00:03 |
|
JewKiller 3000 posted:instead of regex i use single-char-at-a-time loops, hand-written in C, doing all my own buffering and backtracking lol if u dont use raw assembler, scrub
|
# ? Oct 11, 2017 00:10 |
|
seriouspost a coworker of mine had to do some string mashing recently so he pulled out that famed scripting language, c++ just like, why
|
# ? Oct 11, 2017 00:11 |
|
Arcsech posted:seriouspost a coworker of mine had to do some string mashing recently so he pulled out that famed scripting language, c++ it's easiest to use whatever you're most experienced in or comfortable with
|
# ? Oct 11, 2017 00:34 |
|
Main Paineframe posted:regex is a pain in the rear end because i hardly ever need to use it, so I learn just enough to do whatever I need to do, and then by the next time I need it I've totally forgotten the actual syntax and need to learn it from scratch again regex is a pain in the rear end but i had to use them every day at work for a year and now they are carved into my bones
|
# ? Oct 11, 2017 01:00 |
|
i turned on /x but christ my brain is still wired to never use whitespace in a regex '(?:[^'\\\n]|\\(?:[\"'\\/bfnrt\n]|x[0-9a-fA-F]{2}|u[0-9a-fA-F]{4}|U[0-9a-fA-F]{8}))*'
|
# ? Oct 11, 2017 01:01 |
|
JewKiller 3000 posted:instead of regex i use single-char-at-a-time loops, hand-written in C, doing all my own buffering and backtracking i use a custom preprocessor that pipes special macros to ragel and replaces it inline. the scripts use a hardcoded path of /home/cripeatinbread/.local/bin/ragel, too.
|
# ? Oct 11, 2017 01:12 |
|
terrible programmer status: i spent an hour figuring out why my bullets list didn't work and crashed the GPU before realizing i didn't initialize it and was adding bullets to a null pointer because debugging the jaguar is hell on earth
|
# ? Oct 11, 2017 02:57 |
|
CRIP EATIN BREAD posted:i often times edit something thats broken in a buildscript and never commit it and just leave it for someone else to find my current team is obsessed with "pull requests" so I routinely slip poo poo like this into unrelated PRs to reduce the amount of paperwork I do
|
# ? Oct 11, 2017 04:36 |
|
Notorious b.s.d. posted:my current team is obsessed with "pull requests" so I routinely slip poo poo like this into unrelated PRs to reduce the amount of paperwork I do lol@ putting pr in scare quotes
|
# ? Oct 11, 2017 06:46 |
|
cis autodrag posted:lol@ putting pr in scare quotes Just wait till you hear about "source control"
|
# ? Oct 11, 2017 08:19 |
|
cinci zoo sniper posted:try gitkraken. not necessarily better, but was a breath of fresh air after sourcetree gitkraken unironically seems to be less trash
|
# ? Oct 11, 2017 09:21 |
|
cinci zoo sniper posted:speaking of git integration in dev tools, visual studio is so bad about it it's not even funny i use that and I've had to resort to manual tools only once so far, when I wanted to configure two remote repos to be automatically pushed at the same time what kind of features am I missing that aren't in the visual studio plugin? other than niche commands like bisect
|
# ? Oct 11, 2017 09:44 |
NihilCredo posted:i use that and I've had to resort to manual tools only once so far, when I wanted to configure two remote repos to be automatically pushed at the same time i don't think ive run in to thing it cant do, its just really awkward about everything. like, i even had to google to make sure it even has git integration since as a solo developer team services was the last thing id open
|
|
# ? Oct 11, 2017 10:04 |
i.e. problem with visual studio git is my opinions on ux
|
|
# ? Oct 11, 2017 10:08 |
|
log line posted:Exception occured when processing request: [GET] /butts/123 please groovy. please
|
# ? Oct 11, 2017 10:46 |
|
lol
|
# ? Oct 11, 2017 11:24 |
|
413: Butt too large
|
# ? Oct 11, 2017 12:59 |
|
gonadic io posted:please groovy. please our logging tool frequently truncated the stack and uses it as the log subject then reports the stack of where it was caught as the exception so you get about 40%of the info you need to diagnose a fault
|
# ? Oct 11, 2017 13:25 |
|
403: Forbidden Butt
|
# ? Oct 11, 2017 13:40 |
god i loving hate json
|
|
# ? Oct 11, 2017 13:42 |
|
I working on a project with a young front-end developer who wants to use every single new web technology with funny name He introduced me to something called "pug" which is a template engine to write HTML like an awful unreadable blob of text. Hooray
|
# ? Oct 11, 2017 14:12 |
|
Elias_Maluco posted:I working on a project with a young front-end developer who wants to use every single new web technology with funny name but javascript is so EASY code:
|
# ? Oct 11, 2017 14:14 |
Elias_Maluco posted:I working on a project with a young front-end developer who wants to use every single new web technology with funny name i get it, i get it! teacher please call me! it is called pug because the scripts look like pugs face?
|
|
# ? Oct 11, 2017 14:14 |
|
im sitting server-side while a finished product is being unveiled to a client. it's a java web app with a bunch of javascript in the front-end. we're seeing tons of errors related to IE9. going to be a long day.
|
# ? Oct 11, 2017 14:19 |
|
lol if your company hasn't deprecated IE9 support
|
# ? Oct 11, 2017 14:21 |
|
LinYutang posted:lol if your company hasn't deprecated IE9 support we did.
|
# ? Oct 11, 2017 14:22 |
CRIP EATIN BREAD posted:we did. hahaha
|
|
# ? Oct 11, 2017 14:22 |
|
we deprecated everything except IE11. i don't do the front-end poo poo but I just know i'll be fielding issues about why IE9 sucks and i dont give a poo poo and they need to fix their side of things. i cant imagine working in a career where you can't be actively hostile to your customers
|
# ? Oct 11, 2017 14:23 |
|
NihilCredo posted:regex101.com is all you need
|
# ? Oct 11, 2017 14:26 |
|
CRIP EATIN BREAD posted:we did. Nice
|
# ? Oct 11, 2017 14:27 |
|
we deal with a lot of government stuff so we see things like people with browsers where the digicert and geotrust root CAs have been removed and then people complain that the site is broken.
|
# ? Oct 11, 2017 14:27 |
|
i don't program very much but when i do it's terrible
|
# ? Oct 11, 2017 14:27 |
|
i had our front-end guys change all our error messages on the front-end to "your internet connection is not available" and it cut down like 90% of the bullshit we were dealing with.
|
# ? Oct 11, 2017 14:29 |
|
i learned about difflib and all the magical fun things you can do with it.
|
# ? Oct 11, 2017 14:31 |
ultravoices posted:i learned about difflib and all the magical fun things you can do with it. im learning data.table and while syntax weird, its real loving good otherwise
|
|
# ? Oct 11, 2017 14:34 |
|
|
# ? May 14, 2024 01:55 |
|
Elias_Maluco posted:I working on a project with a young front-end developer who wants to use every single new web technology with funny name pug is fine. as templating engines go it's quite nice. it at least operates on node trees, whereas literally 90% of templating engines don't even do that, they just stringbash poo poo together (but you can use it for non-html output too! aren't we so amazingly flexible? ) the bigger question is why are you using a server-side javascript templating library. this implies that you are using server-side javascript. if you are using from hexo to compile a static site then it is fine, otherwise lol that being said my personal preferences on templating engines are a little wacky. i'm glad we have things like reactjs now which shake up that whole model on a more fundamental level.
|
# ? Oct 11, 2017 14:41 |