|
Sagacity posted:Well, I assume it's not literally the text "client" and "secret"? When I wrote that it's a base64 representation of literally "client:secret", I meant that yes, it is literally the text "client" and "secret": I believe this API does have other controls for access, so you can't use this API "key" as you'd like and the account you're using also needs the API role enabled on their end, but still, this is the key I was given.
|
# ? Sep 21, 2021 20:19 |
|
|
# ? May 26, 2024 16:33 |
|
Haha okay. Serves me right for overestimating the competence of third parties. Lesson learned!
|
# ? Sep 21, 2021 20:59 |
|
Tei posted:Writing bad code is like spitting straight up. It may feel good for a second, but then the spit lands on your face again. Can't you find a thread in gbs or pyf to post your kinks in?
|
# ? Sep 21, 2021 21:32 |
|
QuarkJets posted:Can't you find a thread in gbs or pyf to post your kinks in? You mean me? or for your pleasure? I was trying to say that in other job, like... making food, if the food is horrible, too bad, you don't have to eat it, but when you are writing a program, you will have to read and work for it for a long time, and if is a hellscape, is going to lower your quality of life for a long time.
|
# ? Sep 21, 2021 21:42 |
|
Hammerite posted:Everyone has a certain number of lines of bad code in them that they have to write before they can write good code Believing that you can "get the bad code out of your system" is how you get into this thread.
|
# ? Sep 22, 2021 14:22 |
|
Xarn posted:Believing that you can "get the bad code out of your system" is how you get into this thread. The goal is to get bad code out of my system and in to their systems.
|
# ? Sep 22, 2021 14:45 |
|
I need to contribute to this thread. I'll have to see if I can dig some code up from early on. Like writing a bot for a chat site and hardcoding my credentials into it, which I then uploaded to GitHub, rather than, say, a JSON stored locally only.
|
# ? Sep 22, 2021 14:56 |
|
Xarn posted:Believing that you can "get the bad code out of your system" is how you get into FOSS maintenance.
|
# ? Sep 23, 2021 03:04 |
|
Xarn posted:Believing that you can "get the bad code out of your system" is how you get into this thread. Not believing it is how you become unemployable at 40.
|
# ? Sep 23, 2021 03:29 |
|
My code probably sucks. The best I can do is make sure it does what it's supposed to do now, that it makes sense to me, and that I structure+document it well enough that it will make sense to whoever has to deal with it later, including future me.
|
# ? Sep 23, 2021 13:41 |
|
Our project is like working on the bus in Speed. I've submitted some of my worst code to it, but hey if that wheel didn't get replaced we wouldn't have been able to take that turn.
|
# ? Sep 24, 2021 08:53 |
|
quote:Sorry, but we’re having trouble with signing you in. loving hell. never mind
|
# ? Sep 24, 2021 12:53 |
|
a thing that is ungoogleable: how to file a bug in the bug-tracker for a piece of software that itself features bug-tracking functionality
|
# ? Sep 24, 2021 12:58 |
|
Gödel’s incompleteness theorem, but for bug trackers
|
# ? Sep 24, 2021 13:10 |
|
Hammerite posted:
I have never like how Microsoft does things. It appears the systems are a bunch of disjointed products every one build by different people, nobody really care about the user. The global experience is bad because the systems separate enough you can fall in the cracks, to be never seen again. Tei fucked around with this message at 13:22 on Sep 24, 2021 |
# ? Sep 24, 2021 13:10 |
|
Tei posted:I have never like how Microsoft does things. It appears the systems are a bunch of disjointed products every one build by different people, nobody really care about the user. The global experience is bad because the systems separate enough you can fall in the cracks, to be never seen again. I have bad news for you about every software company
|
# ? Sep 24, 2021 16:28 |
|
Volmarias posted:I have bad news for you about every
|
# ? Sep 24, 2021 16:41 |
|
Hammerite posted:identified a minor issue with a part of Azure DevOps's web interface and decided to request an improvement Don't bother, Microsoft's investment on Azure DevOps is basically zero at this point other than keeping the lights on. The bulk of their development team has shifted to GitHub.
|
# ? Sep 24, 2021 16:55 |
|
One of my friends who is a designer just messaged me, thought I'd share.
|
# ? Sep 24, 2021 17:10 |
|
DaTroof posted:Not believing it is how you become unemployable at 40. ??
|
# ? Sep 24, 2021 17:40 |
|
|
# ? Sep 24, 2021 20:39 |
|
Xarn posted:?? I was being overly reactionary to a statement that I felt was overly defeatist. The way I interpret "getting the bad code out of your system" is that there are certain rookie mistakes that most programmers will make at the beginning of their careers, and the only reliable way to get past that hump is with practical experience. I don't take it to mean that anyone will reach a point where their code is 100% unimpeachable.
|
# ? Sep 25, 2021 03:38 |
|
You never get the bad code out of your system. You just get better at making your bad code standards-compliant.
|
# ? Sep 25, 2021 06:42 |
|
Presto posted:You never get the bad code out of your system. You just get better at making your bad code standards-compliant. I write the organization's standards such that my bad code is compliant by default.
|
# ? Sep 25, 2021 11:16 |
|
Tei posted:I have never like how Microsoft does things. It appears the systems are a bunch of disjointed products every one build by different people, nobody really care about the user. The global experience is bad because the systems separate enough you can fall in the cracks, to be never seen again.
|
# ? Sep 25, 2021 12:12 |
|
Tei posted:I have never like how Microsoft does things. It appears the systems are a bunch of disjointed products every one build by different people, nobody really care about the user. The global experience is bad because the systems separate enough you can fall in the cracks, to be never seen again. Conway's Law, ftw. If you read old the Joel Spolsky blog you learn that the Excel team was so independent they maintained their own C compiler.
|
# ? Sep 26, 2021 23:05 |
|
Mega Comrade posted:One of my friends who is a designer just messaged me, thought I'd share. This reminds me when at my old place devs put in a system that would strip out javascript comments using regexp - everything beginning with // to end of line and everything between /* and */. Unfortunately this meant that hardcoded urls like http://foo.bar would be stripped out and http: would be left to be loaded. The solution? Replace hardcoded url with http:\/\/foo.bar.
|
# ? Sep 27, 2021 01:02 |
|
TFW you write an email to a person named Jason and you nearly address them as "JSON"
|
# ? Sep 27, 2021 13:20 |
|
canis minor posted:This reminds me when at my old place devs put in a system that would strip out javascript comments using regexp - everything beginning with // to end of line and everything between /* and */. Unfortunately this meant that hardcoded urls like http://foo.bar would be stripped out and http: would be left to be loaded. The solution? Replace hardcoded url with http:\/\/foo.bar. That reminds me of an old version of the Oracle Managed Data Access (.NET) client that stripped out comments (for unknown reasons) by removing everything after a "--" in a given line with absolutely zero SQL syntax parsing and also stripping out all /* */ comment blocks. The first had the hilarious consequence of obviously breaking queries such as this: SQL code:
SQL code:
SQL code:
I think they later "fixed" this by only removing comments when they were placed at the start of the line (so it might still partially happen if you format queries including optimizer hints in a certain way). Why they do this to begin with I have no idea. Maybe some people include kilobytes worth of comments in ad-hoc queries that they attempted to strip out to save network bandwidth?? In either case, just futzing around in a query like that with zero regards for syntax is truly amateur hour level poo poo. Maybe they made the interns code their .NET client, who knows. Another thing I remember is that some regex they execute on the query had (maybe still has?) terrible performance if you happened to include a bunch of consecutive whitespace anywhere in it. I found that out because some query processing code of a third party framework that we use for supporting our old legacy application (that was machine-ported from a now long dead application language to .NET) happened to strip certain custom pseudo-SQL syntax by overriding it with spaces instead of removing it from the string - probably to not chance loving up any converted code that relied on precomputed string indices, so technically a wise choice. The result of that was that a query including e.g. 500-1000? spaces anywhere inside it took like 4 seconds of 100% CPU time on one core doing nothing but processing that regex. Granted, that's something I fault Oracle less for as that's a really weird scenario to begin with. But then again why do they insist on doing so much "client-side" processing at all? Just let the friggin Oracle server deal with that poo poo, so you don't unnecessarily eat CPU on every query you execute. Oh yeah and the hilarious default behavior to not bind DB parameters by name but by index instead. You heard right, by default the order you add the parameters to the command must match the order they appear in the query in. That sure was a headscratcher why random queries suddenly broke after converting from the native to the managed client. Thankfully that was easily fixed with a single setting. The reason they do that btw is that they don't know what hash lookups are and if your query contains a larger amount of DB parameters (e.g. the generated insert statement for a wide record) then their internally executed linear array lookups to find the parameter by name will start taking up a significant amount of time when you do repeated inserts. So to avoid that let's just default to index instead, problem solved. If you use names it's your own drat fault. Oh but of course instantiating a dictionary for fast lookup when needed would be such a huge overhead... better save that so we have more time executing multiple regexes per query to do who-knows-what. TL;DR Oracle is poo poo.
|
# ? Sep 28, 2021 22:17 |
|
Tei posted:I have never like how Microsoft does things. It appears the systems are a bunch of disjointed products every one build by different people, nobody really care about the user. The global experience is bad because the systems separate enough you can fall in the cracks, to be never seen again. The thing that gets me about Microsoft is how often it seems like the different products aren't just made by totally disconnected groups, but by groups that are actively hostile to one another. The wild swings in the direction of Windows feels like the result of some crazy pre-unification Japan style civil strife.
|
# ? Sep 30, 2021 21:56 |
|
Blue Footed Booby posted:The thing that gets me about Microsoft is how often it seems like the different products aren't just made by totally disconnected groups, but by groups that are actively hostile to one another. The wild swings in the direction of Windows feels like the result of some crazy pre-unification Japan style civil strife. From everything I hear about the internal politics of Microsoft, this is literally exactly what's happening, and it's on purpose. Teams are encouraged to compete with each other, because your individual success depends on your team doing "better" than other teams. This is even true for different feature teams on the same product. I don't know how they've ever shipped anything.
|
# ? Sep 30, 2021 22:02 |
|
I think that officially that's less true than it used to be, but a lot of long-time employees still have that mentality.
|
# ? Sep 30, 2021 22:04 |
|
ultrafilter posted:I think that officially that's less true than it used to be, but a lot of long-time employees still have that mentality. Perhaps they're like European nations, different cultures being friendly across borders hammered out with blood.
|
# ? Sep 30, 2021 22:57 |
|
Ola posted:Perhaps they're like European nations, different cultures being friendly across borders hammered out with blood. Looking forward to Excit
|
# ? Oct 1, 2021 09:27 |
|
SirViver posted:That reminds me of an old version of the Oracle Managed Data Access (.NET) client that stripped out comments (for unknown reasons) by removing everything after a "--" in a given line with absolutely zero SQL syntax parsing and also stripping out all /* */ comment blocks. I literally wrote my thesis on solving the problem of properly stripping comments out of SQL Queries.
|
# ? Oct 5, 2021 06:22 |
|
Nth Doctor posted:I literally wrote my thesis on solving the problem of properly stripping comments out of SQL Queries. Wow, right here in our little thread this whole time was a real-life world renowned expert in getting shoved into lockers
|
# ? Oct 5, 2021 06:59 |
|
Uh, that shouldn't surprise you
|
# ? Oct 5, 2021 14:54 |
|
https://twitter.com/mycoliza/status/1446238022949695521
|
# ? Oct 8, 2021 03:48 |
|
Oh, that Travis again.
|
# ? Oct 8, 2021 03:54 |
|
|
# ? May 26, 2024 16:33 |
|
it's a real travisty
|
# ? Oct 8, 2021 03:59 |