on-internet

Fireworks AI Confirms Wider Breach Affecting Notion AI Chats

Fireworks AI says its October breach was broader than initially disclosed, with attackers gaining access to customer account and billing information as well as some datasets, incomplete model weights and secrets. Notion, the popular productivity and note-taking app, disclosed that it was impacted in the breach but "fewer than 1% of Notion workspaces" were involved. "Upon analysis of the new data, we discovered that it included Notion AI chat transcripts used for the Insights feature, which for the vast majority of impacted workspaces were unattributable," it said. "'Unattributable' means the c

Join the discussion →

Do you have a UPS? If you do, how many times has it saved your equipment? What was the scenario?

submitted by akunohana to asklemmy 1 points | 0 comments https://en.wikipedia.org/wiki/Uninterruptible_power_supply My BX750MI-GR has saved me precious data on two occasions. Earlier this year, my seven year old, well used waffle iron shorted, popping loudly and sparking quite brightly in the process, probably because of all the gunk that had accumulated inside it’s less cleanable interior over the years. That not only made my breaker trip, but also blew the 16 amp main fuse. The UPS kicked in immediately, making a klick and a beep, which felt amazing. That was my first time ever. As for the s

Join the discussion →

Defining functions and then printing values

I want the 1000 to be the numerator in the below. However there is an issue with the code below. I want to print the actual result but cannot get it to appear for both tilde_1 and tilde_2. However the output doesn't appear. def pi_tilde(p,r): result = p / 1 + r pi_tilde_1 = pi_tilde(1000,0.02) print('pi_tilde_1=',result) pi_tilde_2 = pi_tilde(250,0.03) print('pi_tilde_2=',result) Thanks

Join the discussion →

Where-object cmdlet does not seem to behave as expected and returns error

Got an interesting one for you. Consider this line of powershell code: $networks = Invoke-RestMethod -Uri "$baseurl/organizations/$orgid/networks" -Method get -Headers $headers | where-object {$_.name.Substring($_.name.length - 5) -in $csv.'Store No.'} The idea is to compare only the last 5 characters in the “name” property returned by the invoke-restmethod cmdlet to the values contained in another collection. The code looks solid to me, but when I run it, I get this: Exception calling "Substring" with "1" argument(s): "startIndex cannot be larger than length of string. Parameter name: startIn

Join the discussion →

New York Launches Nation's First State AI Testing Program

New York is launching a state-backed AI safety research center at Binghamton University that will independently study and test AI systems, develop safety and security techniques, and train researchers in responsible AI. "While the federal government fails to act, New York is leading the way on AI safety and holding big tech accountable," New York Gov. Kathy Hochul said. "The stakes are too high to simply take AI companies at their word." Politico reports: The center -- which is funded by a $30 million gift from Bloomberg co-founder Tom Secunda and a $25 million research investment from SUNY an

Join the discussion →

How to get the lowest value from a tuple, contained within a list with other tuples as elements?

I'm inexperienced at programming, and essentially I've been assigned this problem/exercise to solve at uni: "Write a program in python which gets the date of Easter Orthodox Sunday during a specific year". I've been given an algorithm to follow and I've written the function: ortho_easter(year), which basically does the job (no issues there) and returns a tuple of the form: (day, month, year) Now, as a follow up question: "during the 21st century, what is the date that Easter Orthodox Sunday falls the earliest in the year?" This obviously calls for a for a for loop. for year in range(2000,2101)

Join the discussion →

Do Sleep(0) and SwitchToThread behave the same? [closed]

[Edited] I'm having trouble understanding the difference between the Sleep(0) and SwitchToThread function in WinAPI. And Q1. I want to clarify them whether they behave the same, or if different, how they differ and when to use which. There was a related question, but it was too old and not verified. But the answer is not what I am looking for. According to learn.microsoft.com, SwitchToThread: causes the calling thread to yield execution to another thread that is ready to run on the CURRENT processor Reference SwitchToThread Sleep(0): A value of zero causes the thread to relinquish the remainde

Join the discussion →

Does Sleep(0) let the core execute another core's thread that is ready to run?

I'm having trouble understanding the Sleep(0) function in WinAPI. And I want to clarify it comparing with the SwitchToThread function. There was a related question, but it was too old and not verified. Also, my question is not about difference between them, so it is different question. As far as I understand, there is a thread queue per core (assuming from the statement "thread that is ready to run on the current processor") and SwitchToThread: causes the calling thread to yield execution to another thread that is ready to run on the CURRENT processor Reference SwitchToThread Sleep(0): a value

Join the discussion →

Does Sleep(0) lets the core to execute other core's thread that is ready to run?

I'm having confusion with understanding Sleep(0) function in WinAPI. And I want to clarify it comparing with SwitchToThread function. There was a related question but it was too old and not verified. Also, my question is not about difference between them, so it is different question. As far as I have understood, there is a thread queue per core (assuming from the statement "thread that is ready to run on the current processor") and SwitchToThread : "Causes the calling thread to yield execution to another thread that is ready to run on the CURRENT processor" SwitchToThread Sleep(0) : "A value o

Join the discussion →

A panic inside a Win32 callback killed my Rust app with no message. How I found it (exit code 0xc0000409)

I'm building Ruststudio, a free, closed-source IDE for Rust that's written in Rust. This week a bug taught me something about panics, so I'm sharing it. Symptom: clicking "New Project" closed the whole app instantly. There was no error dialog, no console output and no panic message. The process exit code was 0xc0000409. Why it was silent: the UI is a native Win32 + Direct2D shell, and my code runs inside window-procedure callbacks. A panic can't unwind across that extern "system" boundary, so Rust aborts the process. Windows reports that abort as 0xc0000409, and the panic message never reaches

Join the discussion →

Use reference for the evaluated cell in Apple Numbers

I have a couple of tables in Apple Numbers with dates like this Reference Date 2026-09-10 2026-09-11 10:52:00 2026-09-11 14:00:00 Control Date Quantity 2026-09-10 1 2026-09-11 2 2026-09-12 0 So I want to count all the columns in Reference table where there is a matching date (in the same day) in Control table. My approach is to use COUNTIF with DATEDIF functions but I don't know how to reference the current row being evaluated in my formula. So far I have this: COUNTIF(Reference::Date; DATEDIF(?;Date;"D")=0) This means: "count if the difference between my control date and the current reference

Join the discussion →

Anthropic Launches New Workplace Features To Take On Microsoft and Google

An anonymous reader quotes a report from TechCrunch: Anthropic announced new workplace features on Tuesday, including Claude Meetings, which brings Claude into video calls to begin working on tasks while participants are still talking. The company also unveiled Claude Whiteboards and Claude Sheets. The launch of Anthropic's new productivity-focused features comes just a few weeks after OpenAI unveiled a series of workplace tools that allow users to collaborate with ChatGPT to do things like visualize company information and create presentations, as both companies compete to turn their products

Join the discussion →

Here's a template for an end-to-end project from the Hands-on Machine Learning with Scikit-Learn book

I am sharing a complete, end-to-end machine learning workflow using Scikit-Learn based on the California housing dataset. This script covers everything from data loading and exploratory data analysis to custom feature engineering, pipeline construction, model training, hyperparameter tuning via grid search, and final test evaluation. Below is the full implementation broken down into logical steps. ### 1. Setup and Data Retrieval First, we verify the environment dependencies (Python $\ge$ 3.5 and Scikit-Learn $\ge$ 0.20), configure plotting styles, set up directories for saving figures, and dow

Join the discussion →

How do I pull truly unique dictionaries from a list of dictionaries in Python?

Say I have a list of dictionaries {'key1': 'a', 'key2': 'b'} {'key1': 'a', 'key2': 'b'} {'key1': 'c', 'key2': 'b'} {'key1': 'a', 'key2': 'c'} If there are any dictionaries in the list that are not truly unique (there is not another dictionary that is exactly like it), I want to remove all of those dictionaries for an output of {'key1': 'c', 'key2': 'b'} {'key1': 'a', 'key2': 'c'} What would be the best way to do this?

Join the discussion →

Starlink Mini 2 Adds a Swappable Battery, Wi-Fi 6

SpaceX has unveiled the Starlink Mini 2, equipping the company's smallest satellite internet terminal with a removable 71Wh battery and Wi-Fi 6. Preorders are opening to select U.S. customers for $999, which also includes a year of Roam Unlimited service. Shipments are expected to begin in mid-December. InterestingEngineering reports: The removable battery represents the biggest functional upgrade over the original Starlink Mini. Previously, users needed an external power source to operate the satellite terminal. That meant carrying additional equipment for camping trips, remote work, or exten

Join the discussion →

How or with whom can I resolve a case of fraud or a scam involving the company Canadian Visa Expert?

Good afternoon. I am quite frustrated, having been the victim of a scam and fraud perpetrated by the company CanadianVisaExpert. I lost USD 8,000, though I was able to recover USD 3,725. I am trying to find out what authority or international channel—specifically in Ontario, Canada—might be able to help me recover the funds I lost due to this company’s deceptive practices and fraud.

Join the discussion →

Searching for pedagogical materials on memory models

Hi folks, I'm working on some supplementary materials for a course I'm TAing, my university's version of operating systems, that involves students developing an OS targeting a Raspberry Pi 3B+. One of the topics I'm trying to get at is strong and weak memory models (and why ARM has so many weird data/instruction buffer synchronization things students have to do when writing an MMU), so if you have any excellent example articles/passages/blogs on memory models that have helped you, please comment them so I can take a look! Thanks!

Join the discussion →
Older stories