There have been multiple accounts created with the sole purpose of posting advertisement posts or replies containing unsolicited advertising.

Accounts which solely post advertisements, or persistently post them may be terminated.

programmer_humor

This magazine is from a federated server and may be incomplete. Browse more on the original instance.

Dentarthurdent , in I'll just be a quick 3h

Same feel as “how long is this going to take to pull?” Well I don’t know if part of what you’re asking for exists, how clean it is, and if can join the data you’re talking about, so anywhere from 5 minutes to never?

cybersandwich ,

That’s exactly how you should respond. I’ve been on the requester for some of these and if my team gave me that as a response I’d just say “let me know what you find out or when you know more.”

besbin , in Dev rule

CEO: don’t touch that, we are moving with higher velocity thanks to it.

NoneYa , in Dev rule

But we’re still flying for now!!

calabast , in I'll just be a quick 3h

Somebody tell this dude about views.

hddsx ,

So my work is archaic and doesn’t even use SQL. What are views?

Restaldt ,

Predefined queries that you can interact with like another table more or less

calabast , (edited )

A view is a saved query that pretends it’s a table. It doesn’t actually store any data. So if you need to query 10 different tables, joining them together and filtering the results specific ways, a view would just be that saved query, so instead of “SELECT * FROM (a big mess of tables)” you can do “SELECT * FROM HandyView”

doctordevice ,

Basically scripts you can run on the fly to pull calculated data. You can (mostly) treat them like tables themselves if you create them on the server.

So if you have repeat requests, you can save the view with maybe some broader parameters and then just SELECT * FROM [View_Schema].[My_View] WHERE [Year] = 2023 or whatever.

It can really slow things down if your views start calling other views in since they’re not actually tables. If you’ve got a view that you find you want to be calling in a lot of other views, you can try to extract as much of it as you can that isn’t updated live into a calculated table that’s updated by a stored procedure. Then set the stored procedure to run at a frequency that best captures the changes (usually daily). It can make a huge difference in runtime at the cost of storage space.

dan , (edited )
@dan@upvote.au avatar

It can really slow things down if your views start calling other views in since they’re not actually tables

They can be in some cases! There’s a type of view called an “indexed” or “materialized” view where the view data is stored on disk like a regular table. It’s automatically recomputed whenever the source tables change. Doesn’t work well for tables that are very frequently updated, though.

Having said that, if you’re doing a lot of data aggregation (especially if it’s a sproc that runs daily), you’d probably want to set up a separate OLAP database so that large analytical queries don’t slow down transactional queries. With open-source technologies, this is usually using Hive and Presto or Spark combined with Apache Airflow.

Also, if you have data that’s usually aggregated by column, then a column-based database like Clickhouse is usually way faster than a regular row-based database. These store data per-column rather than per-row, so aggregating one column across millions or even billions of rows (eg average page load time for all hits ever recorded) is fast.

Gallardo994 ,

If they existed for tons of random usecases. When was the last time you created views for “just in case someone asks” situations?

Winged_Hussar , in I'll just be a quick 3h
@Winged_Hussar@lemmy.world avatar

And the data they want is the entire FY, is 3,000,000 records and they need every single data attribute making the file like 250 MBs. Then you put it in their SharePoint and they get mad they can’t just view it in the browser despite the giant “This file is too large to view online, download it” message.

db2 ,

“Just email it to me!”

perviouslyiner ,

Newspaper: Hackers are announcing a trove of personal data leaked from [company] after a forwarded spreadsheet inadvertently contained more data than the sender realised.

sirico , in I'll just be a quick 3h
@sirico@feddit.uk avatar

❗❗❗❗❗❗❗❗❗❗❗URGENT❗❗❗❗PLeSE READ ASAP❗MY REQESTS ARE MORE IMPORATNT THAN YOUR TIME❗❗ CC: yourboss,your mum,your uni prof

derfl007 ,

Behind every ❗️❗️❗️🚨🚨🚨URGENT🚨🚨🚨❗️❗️❗️ there is a person who’s about to miss a deadline and, instead of working on themselves to prevent that from happening in the future, makes it the developer’s deadline to miss

pomodoro_longbreak , (edited )
@pomodoro_longbreak@sh.itjust.works avatar

Also that urgency is rooted in job insecurity, not even customer impact. They just don’t want to look bad.

E: which I mean fair enough, me too, but still.

jaybone ,

But if you do your job properly, you don’t end up in this situation.

pomodoro_longbreak ,
@pomodoro_longbreak@sh.itjust.works avatar

Yeah but we’re all learning, so a certain amount of grace is called for.

Anyway, not to counter my own point. There’s a line, is what I’m saying, and it’s blurry.

dependencyinjection ,

So much this.

I’m in my first professional role and the first project was completed and aside from my boss I was the only other dev. So I was naturally excited for their (clients) feedback on it.

Well fast forward a couple of months where they really didn’t interact with the application much and then came the queries and then not understanding how to use it. Find boss sets aside 10 days for me to write some documentation with screenshots of all the journeys (free of charge).

Again, tumbleweeds. Then all of a sudden it’s boom emails a plenty.

Can you fix this, this is a major bug kinda emails. Like it isn’t a bug, you don’t know how to use it.

Now we are dumbing down the software to make it more align with what the business is used to, which is fine but even my boss has said (as I over think and want to reply to things instantly) that just because they have come to life doesn’t mean we drop everything else to tend to them now.

Gumbyyy ,

Sorry to break this to you…but this won’t be the last time that happens. In fact, it’ll probably happen on more projects than not.

bregosh ,

that just normal software development with contacts and waterfall. usually with agile it’s meditated to some extend, because with agile the customer is on board and cannot say afterwards i didn’t want it.

dependencyinjection ,

We don’t do agile, my boss usually keeps it all in his head and I have to pry it out of him what he wants done.

Also, I think you dropped this “a” from one of your words. Hehe

TeenieBopper ,

Welcome to the professional world where everything is iterative and and 95% of your clients (internal or external) are data illiterate and don’t want to learn whatever self service tools you build.

dependencyinjection ,

Yeah it’s going to wild I can already tell. I know your right to as it’s only a small company I work for, less than 10 of us and they all complain about stupid things the clients do.

I have a colleague who is the contact for a dude that takes a picture of a site with his phone, so he photographs the monitor. Which I know isn’t that unusual, but wait.

He then emails this to himself, perhaps to have it on his desktop. Proceeds to print off the image, but not just the image, but the image as it appears in the email. THE ACTUAL EMAIL.

Then he will annotate the printout and I shit you not, will take another photo, but this time of the printout. Inception level shit.

He then sends that in by carrier pigeon email.

Hazzia ,

Jesus christ

dauerstaender , in I'll just be a quick 3h

Only 3h? What kind sql magician are you?!

fosforus , in I'll just be a quick 3h

Dump all your data in a data lake, throw a thousand GPUs in there too, and you’ll have your answer in 2 hours max.

CowsLookLikeMaps OP ,

Thanks, I’ll tell the client it’ll be ready in 2h.

cypherix93 ,

Mr. Manager calling from a group

Hi everyone, I know we’re all busy, but I just wanted to align on this 2 hr estimate. Can we put our heads together and do this faster somehow?

fosforus ,

Two thousand GPUs

Anticorp ,

No, but since we wasted an hour talking about it, the estimate is now 3 hours. Do you want to have more meetings about it?

mariusafa , in every damn time ...

What is that?

Boxman753 ,

Something that appears in Visual Studio Code, and i assume that in Visual Studio as well.

xx3rawr , in Programposting

No children, no maiden

MargotRobbie , in every damn time ...

In general, drunk me is the last person I would ever trust with literally anything.

It’s like waking up in the morning and reading your own drunk text messages.

psud ,

Hits Balmer point, accidentally makes malware. A modern Jekyll and Hyde

TheFriendlyArtificer ,

My wife got prescribed Ambien a few weeks ago. She took one, completely forgot about it, and 45 minutes later had a glass of wine with me while watching Taskmaster.

She then became convinced that she was actually on the show and went around the house asking me to time her doing random stuff. Th next morning she had zero memory and was floored when I showed her the video.

Buttons , in every damn time ...
@Buttons@programming.dev avatar

To avoid running code that might steal your data for profit, only run official code that will still your data for profit.

marcos , in every damn time ...

Trust the author? Are you crazy? Do you have any idea how many dumb mistakes I’ve caught the author doing?

flambonkscious ,

They’re getting worse, too

(Assuming my experience is anything to go by)

Doug , in every damn time ...

No, but I’m gonna run his code anyway

xmunk , in every damn time ...

Random question… RPI, in my jargon, stands for role-play intensive, and it’s a category of MUD engines… are you working on such a project? Because I’m probably in the commit history, and that’d tickle me.

Pirasp ,

It most likely stands for raspberry Pi, sorry to disappoint you…

xmunk ,

Sadness, one can dream… one can dream.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • [email protected]
  • random
  • lifeLocal
  • goranko
  • All magazines