|
MrMoo posted:Ask for a schema to validate against, then ask for an XSLT transform to plain CSV. MALE SHOEGAZE posted:lol that's an amusing troll and I wish it was a troll
|
# ? Jun 16, 2017 19:34 |
|
|
# ? Jun 5, 2024 08:06 |
|
qhat posted:i use arch linux
|
# ? Jun 16, 2017 20:51 |
|
that guy owns
|
# ? Jun 16, 2017 21:50 |
|
John Big Booty posted:BLINK TWICE IF THEY ARE HOLDING YOU AGAINST YOUR WILL I wish I remembered the name of the little green blinky cursor smiley
|
# ? Jun 16, 2017 21:55 |
|
tef posted:then again we teach architecture on 30 line classes and wonder why every 8 line function becomes 4 subclasses and a builder pattern. every book on code architecture inevitably reads like the 'lifetime of a programmer' joke where hello world gets more and more involved i am unironically thinking about writing a book on code architecture. i'll try not to gently caress this up. my motivation is wanting a code arch book that isn't so OO, so mayyybe this'll be an easy problem to avoid.
|
# ? Jun 16, 2017 22:33 |
|
i'd read that seems like oop generates its own need for books about patterns because there is simply no correct way to use a tool that was invented for no reason at all and has no theoretical backing
|
# ? Jun 16, 2017 22:37 |
|
I don't know what pattern I'm using for this 3D engine but I'm sure it's bad
|
# ? Jun 16, 2017 22:52 |
|
MononcQc posted:There's a good essay on that tendency in the context of functional programming: https://drive.google.com/file/d/0B59Tysg-nEQZOGhsU0U5QXo0Sjg/view?pref=2&pli=1 -- but I think python plays right into it: The core ideas here are good, but the author jumps off the rails once he introduces the second example. I'd recommend skipping straight to the conclusions instead, those 8 pages are not worth reading.
|
# ? Jun 16, 2017 22:55 |
|
Luigi Thirty posted:I don't know what pattern I'm using for this 3D engine but I'm sure it's bad i still dont understand what problem dependency injection or inversion of control or whatever the gently caress spring does is supposed to accomplish this is not for a lack of trying
|
# ? Jun 16, 2017 23:10 |
|
Luigi Thirty posted:I don't know what pattern I'm using for this 3D engine but I'm sure it's bad i can recommend tartan. nice and classic. or paisley if you're after something a bit more daring
|
# ? Jun 16, 2017 23:14 |
|
crazypenguin posted:i am unironically thinking about writing a book on code architecture. i'll try not to gently caress this up. there should be a tef_ebooks imprint for stuff like this
|
# ? Jun 16, 2017 23:16 |
|
crazypenguin posted:i am unironically thinking about writing a book on code architecture. i'll try not to gently caress this up. not being OO would be good except OO has about as much meaning as agile or devops or post modern eschaton posted:there should be a tef_ebooks imprint for stuff like this eh writing is hard and architecture as your system grows is more about not loving up a lof of it is knowing what sort of code your api will end up requiring, not exactly foresight, but experience rt4 posted:i'd read that eh, it's also that we love to sell silver bullets honestly i am really not sold on a book about the expression problem from one side of the issue
|
# ? Jun 16, 2017 23:40 |
|
fritz posted:this month ive been writing serious python for the first time in a few years b/c of a package we're evaluating at work and oh geez idk how i did that for a decade, how am i supposed to work without types everything in python has a type though even None is the NoneType type (lol)
|
# ? Jun 17, 2017 01:13 |
|
QuarkJets posted:everything in python has a type though every runtime value != everything
|
# ? Jun 17, 2017 01:26 |
|
has anybody here actually seen a corrupt packet over TCP?
|
# ? Jun 17, 2017 01:52 |
|
yes
|
# ? Jun 17, 2017 01:54 |
|
Arch linux is great. I'm using it right now, in fact.
|
# ? Jun 17, 2017 04:05 |
|
I am currently using my favorite Linux, macOS 10.13 "High Sierra".
|
# ? Jun 17, 2017 05:57 |
|
I convinced my boss to force an embedded project (simulated CAN messages) a long gone employee wrote in Python to be rewritten in C and now it runs 30% faster lol
|
# ? Jun 17, 2017 05:59 |
|
Luigi Thirty posted:I am currently using my favorite Linux, macOS 10.13 "High Sierra".
|
# ? Jun 17, 2017 06:09 |
|
"corrupt packet over tcp" being "corrupted data passed by tcp as not corrupt" or what
|
# ? Jun 17, 2017 06:24 |
|
FAT32 SHAMER posted:I convinced my boss to force an embedded project (simulated CAN messages) a long gone employee wrote in Python to be rewritten in C and now it runs 30% faster lol how on earth was embedded python within an order of magnitude of c
|
# ? Jun 17, 2017 06:25 |
|
Bloody posted:how on earth was embedded python within an order of magnitude of c maybe it was written in Cython
|
# ? Jun 17, 2017 06:31 |
|
Bloody posted:how on earth was embedded python within an order of magnitude of c imo that sounds like an utter waste of time
|
# ? Jun 17, 2017 06:38 |
|
perhaps the core elements of the python program were just python bindings to binaries compiled from C
|
# ? Jun 17, 2017 06:45 |
|
qhat posted:perhaps the core elements of the python program were just python bindings to binaries compiled from C i think it was a python shell thingo that was connected to CAPL libs or something. either way i didnt have anything to do with it and only suggested it in a scrum so now i am deemed a smart guy lol i dont do python so i have no idea what it was other than a failed abortion
|
# ? Jun 17, 2017 06:57 |
|
once again we have a thing in the database that has start_date and an end_date which is now causing problems with overlapping date ranges. and once again it looks like end_date is useless, because there can never be holes in the date ranges
|
# ? Jun 17, 2017 07:01 |
|
I once completely reworked my company's C++ JSON parser and made it five times faster. the old parser was super hairy and also dumb.
|
# ? Jun 17, 2017 07:06 |
|
Bloody posted:how on earth was embedded python within an order of magnitude of c really really lovely c
|
# ? Jun 17, 2017 08:54 |
|
Share Bear posted:i still dont understand what problem dependency injection or inversion of control or whatever the gently caress spring does is supposed to accomplish have you really never passed a callback to anything
|
# ? Jun 17, 2017 09:10 |
|
raminasi posted:have you really never passed a callback to anything or attempted to test something that interacts with the outside world heavily
|
# ? Jun 17, 2017 13:55 |
|
Bloody posted:"corrupt packet over tcp" being "corrupted data passed by tcp as not corrupt" or what Yeah, a receiver application reading different bytes than the sender sent.
|
# ? Jun 17, 2017 16:22 |
|
dammit, the hard drive in my imac died again i was able to salvage my 3d program's source code at least. time to install another one, again
|
# ? Jun 17, 2017 21:59 |
|
Luigi Thirty posted:dammit, the hard drive in my imac died again it sounds like the computer gods are trying to spare u from something
|
# ? Jun 18, 2017 00:22 |
|
Share Bear posted:i still dont understand what problem dependency injection or inversion of control or whatever the gently caress spring does is supposed to accomplish Well, if you don't like inversion of control, and you're in Haskell, you can always invert it again.
|
# ? Jun 18, 2017 03:45 |
|
can someone post a tldr of why Python is bad so I can show my boss and never use it again
|
# ? Jun 18, 2017 04:58 |
|
python bad
|
# ? Jun 18, 2017 05:24 |
|
i think its easy to call other langs from python if you'd rather do that its really good for throwing poo poo together so you can move on to other projects though
|
# ? Jun 18, 2017 05:28 |
|
FAT32 SHAMER posted:can someone post a tldr of why Python is bad so I can show my boss and never use it again python is fine because it's already installed
|
# ? Jun 18, 2017 14:34 |
|
|
# ? Jun 5, 2024 08:06 |
|
FAT32 SHAMER posted:can someone post a tldr of why Python is bad so I can show my boss and never use it again Python's principle problem is that it's popular, so you're more likely to encounter awful Python code and awful people who code in Python. I know this won't convince your boss to not use Python but that's fine because Python is fine to use in a lot of cases otherwise it's kind of slow and can't effectively do multithreading (you have to use multiprocessing instead, which isn't always ideal), but it's still great as a glue language and as a scripting language for poo poo that doesn't need to run fast or that isn't bottlenecked by the interpreter
|
# ? Jun 19, 2017 02:43 |