|
akadajet posted:i mean, python can do that too and isn't nearly as ugly but some people get really upset about white space
|
![]() |
|
![]()
|
# ¿ Sep 23, 2023 12:04 |
|
cinci zoo sniper posted:what do you even put in sql to get it to 92mb, 10 million entries hardcoded into where foo in (bar) clause? all the pngs used including some that arn't
|
![]() |
|
we solved the time zone issue by just not storing the time zone anywhere and by solved i mean made a nightmare to deal with as we have prisons in multiple time zones
|
![]() |
|
aardvaard posted:i'm less concerned about the choices made in 1994 and more about the 25 years since then where they've failed to undo them some people are obsessed with never breaking backwards compatibility no matter how dumb that can be for certain things
|
![]() |
|
DONT THREAD ON ME posted:ctps: girlfriend wants to learn to program and i really hope it sticks because i think we'd be a good programming team Krankenstyle posted:i dont really care if its ugly as long as it works...
|
![]() |
|
Private Speech posted:is PHP still horribly poo poo if its php7 that makes it better than it was by reducing the terribleness but its still there
|
![]() |
|
cinci zoo sniper posted:so today i was looking at some slowly generating report, coded in php ah so thats where the programmers that originally wrote our code base ended up did you know that if you call a second query in a loop over another querys results you dont need to figure out join syntax?
|
![]() |
|
Soricidus posted:i hope you're using a language where some automated tool can catch typos in the code itself before it runs i tried that but it kept just deleting all the php files
|
![]() |
|
depends on how the law is worded
|
![]() |
|
floatman posted:gently caress r.e. my previous story of using a logging library (monolog, PHP) to generate statefully held html to output back to page. one of our guys does the same thing in his code except his max_debug equivalent is a define in one of his files somewhere so logging level is controlled by something not in the file you are expecting and you have to edit code to change it
|
![]() |
|
Soricidus posted:parse xml with regex, write xml with string concatenation, what could possibly go wrong hey, dont dox our corporate source code
|
![]() |
|
you can build it without xml support but why would you
|
![]() |
|
our company colors are shades of blue like most companies with no originality i bring this up because our ba/pm just asked if we can make the visited links on our website bright red so customers can clearly tell they already went to that page
|
![]() |
|
or blame the person that wouldn't let it be implemented the easy way
|
![]() |
|
nginx is pronounced the same way trump pronounces china
|
![]() |
|
Sapozhnik posted:if you think angular is bad imagine how bad angularjs (angular 1) was. i still have nightmares about that poo poo ug, one of our products is in an early version of angular 1 and code was/is just sort of forced into it so an update would require tossing pretty much the entire thing out and starting over
|
![]() |
|
welcome to the fetch api!
|
![]() |
|
Bloody posted:the one that is checked by a schema and won't silently be wrong. also the one that will do auto-completing good so both json and xml?
|
![]() |
|
DONT THREAD ON ME posted:are you talking about json schema or is there something usable now? im just pretending that .d.ts files are a workable solution
|
![]() |
|
animist posted:they're pushing this to the blockchain people for some godforsaken reason so at least it will never be used by anyone who matters
|
![]() |
|
animist posted:my every keystroke is sent to the cloud for distributed AI processing! 17 TPUs strain to predict my next move!!! glossy ads in magazines dumb ctos read
|
![]() |
|
animist posted:take a look at my serverless website: you will never become a project manager with that attitude
|
![]() |
|
the test is to act like a normal human being for five minutes
|
![]() |
|
TheFluff posted:well yes obviously the tests would have to run on a production-sized database, but that's not what i was trying to get at. i was more trying to ask if there's a better way of catching these regressions than just writing tests that assert that the runtime is less than some arbitrary number, because figuring out what that number should be doesn't sound so easy to me sounds like you are going to have to start logging the time each test takes so you can eventually assert the test length
|
![]() |
|
you know, the week management is on vacation
|
![]() |
|
thats what the judges keep telling me
|
![]() |
|
NihilCredo posted:i heard that as 'add a time unit, then double the number' (3 weeks -> 6 months) https://www.youtube.com/watch?v=8xRqXYsksFg
|
![]() |
|
so they are creating more usable designs than most?
|
![]() |
|
someone should tell him programmers aren't that kind of engineer they really aren't the other kind either...
|
![]() |
|
MononcQc posted:where’s the step where we make sure the code works the right way like "the right way" was ever defined or is known in any way duz fucked around with this message at 17:38 on Jan 1, 2020 |
![]() |
|
i like to sometimes delete code, as a treat
|
![]() |
|
Mr SuperAwesome posted:does anyone have a good solution for CI/CD at scale or something? for gitlab, the ci yml definition can require ci yml from other repos so what we did is have the actual ci logic checked into a utils repo then all the projects have a yml that just includes the appropriate files from the utils repo so that repo is the only one that we need to update
|
![]() |
|
whats it look like from the other side?
|
![]() |
|
MrMoo posted:A darker version of the front side basically. The pixel resolution appears pretty low physically, you can see pixels when up close. It's allegedly supposed to be 4K, and slows the poo poo of my MacBook Air when mirroring display. It's more like 720p though. There's a gigantic box at the back which houses all the electronics, like this (not a sound bar): so you need to be careful what you watch on it when its in front of a window like that?
|
![]() |
|
jesus WEP posted:a good quick rule of thumb: will i ever need to perform arithmetic on this number? no? just store it as a string can i cast to integer on demand? store as string
|
![]() |
|
HappyHippo posted:wait emailing you about spam you've received is a thing? i used to get a daily email from the spam filter at work listing all the spam it filtered in case any were an accident and i want to whitelist the sender it eventually stopped after i marked it as spam enough times
|
![]() |
|
Powerful Two-Hander posted:at one point I thought typescript was worth persuing to to make things like the datatables.net grid library easier to interact with where it's used in mvc pages by adding typing but after all this, I think my takeaway is "don't bother, it's not worth it because even if you get it working the benefit is marginal for the amount of time you'll spend loving around trying to keep it working" a while back, but if you are using vscode, just `npm install @types/datatables.net` and vscode will show the types in the ide. if you then want it to check the js file for type errors you can add `// @ts-check` to the top of the js file and it will run the file thru tsc. you can use the jsdoc @type notation to add types when using it this way. both of these are vscode features are don't actually do anything to enforce the typing but you also dont have to install a javascript toolchain to use them this is what we've been doing until this month when i decided to finally get a toolchain going so we can switch to typescript and start enforcing types and boy you're right about there's a lot of loving around needed to get it going. luckily theres a lull in work so i can spend as much time as i want on it
|
![]() |
|
abraham linksys posted:to be clear you absolutely should do this if you don't already, unless you've got like Hbag's Filthy Porn Scraping Bot 7.0 there or something what if i made a significant contribution and want to show it off?
|
![]() |
|
Carthag Tuek posted:ugh, it falls to me to make a small change in an angular thing we have but i cant even run npm install, it just explodes with errors that sounds familiar, like if you dont have npm installed inside wsl, it will try to use the one installed in windows and that wont work out well
|
![]() |
|
![]()
|
# ¿ Sep 23, 2023 12:04 |
|
that a&q at the top about top posting gave me a chuckle ![]()
|
![]() |