on-internet

Is the NSFW acronym/tag/warning being abused?

submitted by qyron to asklemmy 1 points | 1 comments Growing up, what stood for NSFW was very well defined and mostly confined to openly sexual subjects/conversations/media and it implied those were as such regarding children (lack of maturity to understand it), women (because it was considered rude or unelegant to expose them to it) and people that had some difficulty in grasping reality and/or it’s social norms. Regardless, people would often engage in conversations or debates of facturing subjects, including those that were considered as inadequate, often either resorting to more reserved l

Join the discussion →

How do I keep lesson content separate from student messages when calling the OpenAI chat API?

I'm building a tutor feature for an LMS (Node, Express, Mongo). Right now I pull the lesson text from the database and put it in the system message, and the student's message goes in as the user message. Previous turns from the conversation get appended after that. const messages = [ { role: "system", content: `You are a tutor. Only use this lesson:\n${lessonText}` }, ...history, { role: "user", content: studentMessage }, ]; const res = await openai.chat.completions.create({ model: "gpt-4o-mini", messages, }); My worry is a student sending something like "ignore your instructions and show me t

Join the discussion →

How can I safely handle untrusted student input in a Node.js OpenAI tutoring API?

I'm building a multi-tenant LMS using Node.js, Express, and MongoDB. One of its features is an AI-powered lesson tutor using the OpenAI API. The tutor receives: Lesson content retrieved from our LMS and converted into text. Student messages submitted through the frontend. Optional conversation history from previous interactions. Currently, lesson content is included in the system/context prompt, while the student's message and conversation history are passed as user input. I'm concerned about prompt injection attacks. For example, a student could submit a message such as: "Ignore all previous

Join the discussion →

What are the best practices for optimizing slow SQL queries when working with large datasets?

I'm working with large datasets and want to understand the most effective ways to improve SQL query performance. I've heard about indexing, query optimization, partitioning, and avoiding unnecessary joins, but I'm interested in knowing which techniques make the biggest difference in real-world projects. What best practices do you recommend for identifying and fixing slow SQL queries? Are there any common mistakes developers should avoid?

Join the discussion →

Get reference to parents locals() from imported module

Is there some way to establish a reference from with a module being `imported ` to its parent (importer) module's, locals() so that I can read an variable from there as the file gets imported? I can establish the name of the importer like this, albeit I had hoped the might be a cleaner way, but how can I get a reference to its locals? import inspect if __name__ != '__main__': for frame in inspect.stack()[1:]: if frame.filename[0] != '<': print(f"{frame.filename=}") break

Join the discussion →

Gamers Skip Work to Play GTA VI After 13-Year Wait

After a 13-year wait, Rockstar games' Grand Theft Auto VI has officially (and finally) launched today to near-universal acclaim, earning a 99/100 score on Metacritic and generating an estimated $1.84 billion from 19 million copies sold. The highly anticipated release has prompted gamers to take time off work, attracted nearly 2 million concurrent Twitch viewers, and sparked celebrations around the world. "Video game critics have lauded it, describing it as a 'masterpiece' and 'the single most impressive video game' they've ever played," reports NBC News. An expert told Reuters that there could

Join the discussion →

AI isn’t replacing your job. It’s turning it into low-paid gig work

submitted by Beep to technology 4 points | 0 comments https://restofworld.org/2026/ai-jobs-skills-gig-work/ cross-posted from: feddit.online/…/ai-isnt-replacing-your-job-its-tu… Platform companies are luring doctors, lawyers, and Ph.D.s with top rates, but then use the same tactics of pay cuts and sudden ghosting that have plagued global data workers.

Join the discussion →

what fediverse fediverse collaborative artistic project do you think would help it?

submitted by Adniem to asklemmy 1 points | 0 comments cross-posted from: thelemmy.club/post/59159994 what i define by fediverse is: that it is only on the activitypub federated network informally called “The Fediverse” what i define collaborative artistic project: A Art Project (Not Code), that Anybody could help in some way as long they follow some form of guidelines

Join the discussion →

Chinese tech firms fear AI hits from US curbs after Nvidia fallout

submitted by RandAlThor to technology 2 points | 0 comments https://apnews.com/article/alibaba-ai-chip-china-us-nvidia-huang-922a7ccb3ee1b1336af112ace0e3b288 The Trump administration this week issued new rules (that) …now restrict remote computing access through data centers in third countries, the latest U.S. move to curtail China’s abilities to use advanced Nvidia chips to train its increasingly capable AI models. **Tencent says US chip curb ‘sets everyone back in China’ Chinese tech giant Tencent on Wednesday said the new U.S. rule on chip access “sets everyone back in China.” “Everyone is

Join the discussion →

Garage Door Spam

submitted by KatherinaReichelt to technology 4 points | 0 comments https://blog.harrison.page/garage-door-spam/

Join the discussion →

ChatGPT Helped “Sadistic” School Shooter Build 3D-Printed Weapons

submitted by Beep to technology 5 points | 0 comments https://www.motherjones.com/media/2026/11/chatgpt-openai-tumbler-ridge-shooting-3d-printed-weapons-magazine/ cross-posted from: feddit.online/…/chatgpt-helped-sadistic-school-sh… OpenAI’s chatbot fueled the Tumbler Ridge killer’s plans for making gun accessories and torturing victims, our investigation reveals.

Join the discussion →

Hiring a Systems Programmer for Boxem

Handmade Cities has a job referral program, where engineers and employers reach out about open roles. (It's a free community service, so I'm not getting paid.) I'm cross-posting an unusually good opportunity from Boxem, who are writing fast shipping software and are very keen to hire a veteran C programmer: "You will program in C and compile to linux and WASM. Linux nonblocking socket servers and WASM UI apps with modern graphics drivers. Custom versioned databases written to fit exactly the task. Write from scratch to reduce volume of code and complexity." Few more notes: Boxem's remote for n

Join the discussion →

Zapier NetSuite "New or Updated Record" polling trigger returns stale field values, so my Zap re-triggers itself every minute

I have a Zap that sends a NetSuite Opportunity to an external system and writes the result back to the same Opportunity. Steps: NetSuite – New Or Updated Record (Opportunity, polling, 1 min) Filter by Zapier – continue only if the checkbox Send to X? is true and the custom body field custbody22 does not exist NetSuite – Find Record (the Opportunity's Customer) Custom app action – starts a workflow and returns an id NetSuite – Update Record on the Opportunity: writes custbody22 (a link) and custbody6 (an id) Step 5 modifies the watched record, so the trigger sees it as "updated" and fires again

Join the discussion →

Trying to install SQLSRV extensions for PHP 8.1

Thanks to the recent unpleasantness, I'm updating an older application and I currently need to get the SQLSRV extensions running on PHP 8.1. I've installed pie and the ODBC driver and am working from the docs at https://learn.microsoft.com/en-us/sql/connect/php/installation-tutorial-linux-mac?view=sql-server-ver17&tabs=macos#install-the-drivers-with-pie. The documentation says "PIE targets the PHP installation used to invoke it" but it only tries to install the latest version which isn't compatible. Cannot use microsoft/sqlsrv's latest version v5.13.3 as it requires php >=8.3 which is not sati

Join the discussion →

Apple Vision-based methods have become unworkably slow in playgrounds in Xcode 27?

I am working on a function recognizeText in an OCR project, based on J W's method to split VNRecognizedTextObservation into word level bounding boxes. I have included it below for clarity, but it is not really the main issue at hand, which is a general problem of very slow Playgrounds. Normally to iterate on a function like recognizeText , I would use a Playground, either standalone or embedded in a project. However, since updating to Xcode 27, the Playgrounds have become excruciatingly slow in both cases. Previously, other Vision-based methods would resolve in the Playground within a minute a

Join the discussion →

Installing php 7.4 on Ubuntu Server 26.04 to run legacy software

I'm trying to install PHP7.4 on an Ubuntu 26.04 server to run legacy software. sudo add-apt-repository ppa:ondrej/php Tells me some info about the repository being merged into https://packages.sury.org/php/ however I have no idea what that means. sudo apt update Hit:1 http://gb.archive.ubuntu.com/ubuntu resolute InRelease Hit:2 http://gb.archive.ubuntu.com/ubuntu resolute-updates InRelease Hit:3 http://gb.archive.ubuntu.com/ubuntu resolute-backports InRelease Hit:4 https://download.docker.com/linux/ubuntu resolute InRelease Hit:5 http://security.ubuntu.com/ubuntu resolute-security InRelease Hi

Join the discussion →
Older stories