|
c tp s: after spending some time fighting some obnoxious state management issues involving a find-as-you-type thing and the search term in the URL, especially when doing exotic things like using the browser back/forward buttons, I went to look at Jira only to find that the search box on the kanban board has some of the exact same bugs that I had just fixed (like double-fetching when using browser back/forward buttons). you are in a maze of terrible little javascript passages, all alike
|
# ? Apr 2, 2019 17:50 |
|
|
# ? May 6, 2024 16:32 |
|
ctps: wasted an entire day trying to get a java http client to talk to a python http server, without success
|
# ? Apr 2, 2019 18:35 |
|
TheFluff posted:disk fragmentation? what year is it, again? Index fragmentation, expunged mvcc pages (whatever the correct term for that is) that require vacuuming, deleted record table storage that requires a very heavy vacuum to reclaim Ssds don't help with any of that unfortunately
|
# ? Apr 2, 2019 18:44 |
|
hell yes searching a generated text column on a database view for a matching string based on a variable that contain unicode, this surely won't create a dreadful performance problem in future! issue closed: good enough edit: lol this is also for type ahead search
|
# ? Apr 2, 2019 19:09 |
|
Sapozhnik posted:Index fragmentation, expunged mvcc pages (whatever the correct term for that is) that require vacuuming, deleted record table storage that requires a very heavy vacuum to reclaim that's not disk fragmentation you need a lot of writes to really make it noticeable though. recently fixed terrible programming: we have our browser session storage in postgres, and until i fixed it a few weeks ago it used to be updated on every single request, for every single user. also got deleted from all the time because the sessions expired after two weeks.
|
# ? Apr 2, 2019 19:26 |
|
Powerful Two-Hander posted:hell yes searching a generated text column on a database view for a matching string based on a variable that contain unicode, this surely won't create a dreadful performance problem in future!
|
# ? Apr 2, 2019 19:27 |
a senior programmer today told me that the database his project uses as backend has no xml data type. it’s postgresql 11 and i sincerely hope that this is just a cosmic scale misunderstanding and my week didn’t become that longer
|
|
# ? Apr 2, 2019 19:35 |
|
you can build it without xml support but why would you
|
# ? Apr 2, 2019 20:08 |
duz posted:you can build it without xml support but why would you nah, he technically is on the same team that took 15 months to create a working database replica for a system that exposes a postgresql 8 server with internal data. i do not believe they are able to pull off something like that.
|
|
# ? Apr 2, 2019 20:18 |
|
Powerful Two-Hander posted:hell yes searching a generated text column on a database view for a matching string based on a variable that contain unicode, this surely won't create a dreadful performance problem in future! pfft, that sounds like a "next month" problem and not a "today" problem to me
|
# ? Apr 2, 2019 20:56 |
|
Soricidus posted:i figured it out. or at least i figured out where the variable name was coming from. I checked but I couldn't reproduce this behavior seems like there's something weirder going on for you
|
# ? Apr 2, 2019 21:17 |
|
Symbolic Butt posted:I checked but I couldn't reproduce this behavior holy poo poo fix your font
|
# ? Apr 2, 2019 21:31 |
|
good to see linux's font rendering is about as sharp as it was in 2003
|
# ? Apr 2, 2019 21:33 |
|
not my computer
|
# ? Apr 2, 2019 21:52 |
|
Symbolic Butt posted:I checked but I couldn't reproduce this behavior I mean there’s a bunch of other stuff in the class and the actual lambda body is more complicated than what I posted and its entirely possible the underlying problem is something different. I haven’t got round to trying to actually figure out a minimal reproduction yet.
|
# ? Apr 2, 2019 23:54 |
|
Symbolic Butt posted:not my computer Lol if the first thing you do on someone else's computer isn't change all the settings.
|
# ? Apr 2, 2019 23:56 |
|
or at least uninstall Linux
|
# ? Apr 3, 2019 00:03 |
|
Aramoro posted:Lol if the first thing you do on someone else's computer isn't change all the settings. tweaking settings is bad. you should use the defaults even when they are dumb. tweaking leads to caring about the computer, which leads to suffering. also, nobody tests all the wacky special snowflake configuration settings (and weird combinations thereof) nor about maintaining them, so you're creating a lot of probable problems and a lot of janitoring for yourself. the road that begins with changing some color scheme settings and a keybind or two leads to becoming some forums poster on some dead forum fifteen years from now furiously arguing that your piece of poo poo os and/or software is the best version because after it they just made things worse (read: different). there are some acceptable exceptions (like using an adblocker) where the alternative is worse, but as always, code (and configuration) is a maintenance burden and should not be taken on lightly. or, from a different angle: the computer is a detestable soulless machine that you should not attempt to personalize. do not grace it with care and attention, for it neither deserves nor appreciates it. TheFluff fucked around with this message at 00:18 on Apr 3, 2019 |
# ? Apr 3, 2019 00:13 |
|
Counterpoint: sync your setup between machines
|
# ? Apr 3, 2019 00:25 |
|
hmm. nah.
|
# ? Apr 3, 2019 00:30 |
|
first thing I do on all our servers is set the command prompt to green
|
# ? Apr 3, 2019 00:40 |
|
akadajet posted:or at least uninstall Linux believe it or not it's a windows machine. idk the owner tweaked the font aliasing settings I guess
|
# ? Apr 3, 2019 01:32 |
|
Soricidus posted:ctps: wasted an entire day trying to get a java http client to talk to a python http server, without success how
|
# ? Apr 3, 2019 01:51 |
|
Symbolic Butt posted:believe it or not it's a windows machine. idk the owner tweaked the font aliasing settings I guess shlock font syndrome
|
# ? Apr 3, 2019 04:02 |
|
How much effort should I go toward to expand my programming skillset without getting paid for it? I only have three years of experience working with Python/Django, HTML5, CSS3, and JavaScript in personal projects. Every ad has a different additional technology involved like React or Angular or Celery or Redis or "AWS services like S3, CloudWatch, CloudTrail, Redshift, EC2". These other technologies aren't strictly required, so I've been figuring I'd immediately dig into learning them on my own time if I managed to get the job anyway. I have a geoscience degree instead of a computer science degree, and I haven't had a remote programming job yet.
galenanorth fucked around with this message at 06:05 on Apr 3, 2019 |
# ? Apr 3, 2019 04:37 |
|
I'd recommend you just try to do stuff that's interesting to you and then do that really well. In my experience (with admittedly half-decent technical interviewers) it's an assumption in IT that you'll always have to learn new things *anyway*, so this is just part of the job. If you're incapable of taking a job using a technology that you haven't used yet, you're a bad programmer. If, however, you can show that you're eager to learn then that's going to be your way in. Also, counterpoint if this comes up in an interview: anything they can put in their "must have experience with" list is going to be obsolete in 2 years time anyway, so you need to have these learnin' skills regardless. disclaimer: ymmv, 2 cents, etc
|
# ? Apr 3, 2019 08:27 |
|
are modern javascript libraries exclusively developed by insane people? I started using React as I wanted to dabble with actually nice webpages instead of the usual drivel I produce for people and it feels really weird. Usually I pick up syntax stuff pretty fast when learning a new language but it's doing my head in.
|
# ? Apr 3, 2019 09:43 |
|
abigserve posted:are modern javascript libraries exclusively developed by insane people? Developed but also used by, so I’m afraid I have some bad news...
|
# ? Apr 3, 2019 09:46 |
|
abigserve posted:are modern javascript libraries exclusively developed by insane people? yes react is pretty good though (as far as these things go) but it absolutely takes some getting used to.
|
# ? Apr 3, 2019 10:03 |
|
abigserve posted:modern javascript abigserve posted:actually nice webpages I wanted to get more exercise so I bought an electric car
|
# ? Apr 3, 2019 10:45 |
|
Soricidus posted:I wanted to get more exercise so I bought an electric car if there's a better way to make dynamic webpages I'd like to hear it Really it's just all the esoteric shortcuts. you always get those in any language but it's pretty extreme here - feels like reading/writing Perl sometimes. code:
|
# ? Apr 3, 2019 11:05 |
|
that's just the ternary operator
|
# ? Apr 3, 2019 11:24 |
|
abigserve posted:if there's a better way to make dynamic webpages I'd like to hear it That just looks like a normal ternary. Angular has this and it's absolutely baffling until you get into it though, This is from the example documentation for a typeahead lookup code:
|
# ? Apr 3, 2019 11:25 |
|
Powerful Two-Hander posted:first thing I do on all our servers is set the command prompt to green use amber, you sick freak
|
# ? Apr 3, 2019 11:28 |
|
AggressivelyStupid posted:that's just the ternary operator Aramoro posted:That just looks like a normal ternary. actually the more correct terminology is conditional operator
|
# ? Apr 3, 2019 11:48 |
|
abigserve posted:if there's a better way to make dynamic webpages I'd like to hear it the better way is to make your webpages as undynamic as you can possibly get away with modern dynamic webapps are terrible user experiences. take gmail for example, literally reinventing the splash screen in 2019 because it takes so loving long to load what is essentially a short table of links, and even when it's loaded it's still horribly unresponsive. and that's one of the main products by a company that literally makes the world's most popular web browser, if they can't make web apps good then you sure as hell can't
|
# ? Apr 3, 2019 12:28 |
|
Soricidus posted:the better way is to make your webpages as undynamic as you can possibly get away with this is correct. also, using react etc kinda encourages inventing your own custom ui elements. don't do that. yes, it's annoying to style a <table>. yes, <form> and plain old <input>s like select dropdowns and textareas and checkboxes etc are boring and sometimes can't be made to look and/or work like your designer wants them to. you should still use them, because when you roll your own you will have bugs, you will probably break undo/redo and/or keyboard shortcuts, and it's terrible for accessibility. no, attaching an event handler that catches a click event on a button isn't enough, you want an actual form with an actual submit event. use the standard loving ui elements, gently caress! usually the dynamic poo poo breaks browser navigation like back/forward and linking to what you're seeing too. getting that poo poo right is really obnoxious with javascript garbage, and it gets more obnoxious the more dynamic the page is. state management is hard. i still use it in my daily job because i don't make the design decisions but god drat it i will at least make the navigation work properly if it kills me yes this means i spend quite a bit of time making dynamic javascript garbage look and behave kinda like it's an old serverside rendered page, but such is life in computer touching TheFluff fucked around with this message at 12:48 on Apr 3, 2019 |
# ? Apr 3, 2019 12:44 |
|
Aramoro posted:That just looks like a normal ternary. Angular has this and it's absolutely baffling until you get into it though, This is from the example documentation for a typeahead lookup drat Soricidus posted:the better way is to make your webpages as undynamic as you can possibly get away with put two apps next to each other in front of upper management and they will pick the one that looks flashier but is worse in every way
|
# ? Apr 3, 2019 12:59 |
|
Aramoro posted:That just looks like a normal ternary. Angular has this and it's absolutely baffling until you get into it though, This is from the example documentation for a typeahead lookup lol I had to explain observables to a jr backend dev messing with angular for the first time yesterday
|
# ? Apr 3, 2019 14:41 |
|
|
# ? May 6, 2024 16:32 |
|
abigserve posted:if there's a better way to make dynamic webpages I'd like to hear it razor components
|
# ? Apr 3, 2019 14:43 |