on-internet

Why might SQL Server 2019 DMV sys.dm_exec_procedure_stats and sys.dm_exec_query_stats/sys.dm_exec_sql_text queries differ so much?

I've been using these DMVs for years to look at performance metrics, but since moving our servers to SQL Server 2019, I've seen numbers that don't seem to match up. I'm curious if I'm missing something here... With proc names and actual SQL masked, below is a sample test run with actual metrics. Where my confusion comes in is why, with only 1 run, I can't sum up the metrics from the second ("detailed") metrics and see a result on par with the first ("summary") metrics... It's easiest to see in LogReads, where Procedure1 has less statements run, and the Procedure2 statements with 6 & 8 LogReads

Join the discussion →

Spamassasin rules not filtering out spam [closed]

I have tried to set up rules for spamassasin. They do not seem to work. I am not receiving many messages marked as SPAM. Instead i keep getting spam from for example domains ending in pe. A blacklist rule using *@*.pe should be sufficient but as this didn't work I added several extra rules trying to block these messages. Am I missing something? required_score 5.0 rewrite_header subject *****SPAM***** report_safe 1 blacklist_from *.*@*.*.pe blacklist_from *.br blacklist_from *.cyou blacklist_from *.id blacklist_from *.lk blacklist_from *.lol blacklist_from *.ma blacklist_from *.pe blacklist_fro

Join the discussion →

Artemis Replication Cluster Fails to Start Up After Complete Shutdown

I have a 2 node replication cluster set up in Artemis. The primary node is configured like so: <connectors> <connector name="brokernode1">tcp://192.168.0.1:61616</connector> <connector name="brokernode2">tcp://192.168.0.2:61616</connector> </connectors> <cluster-connections> <cluster-connection name="test-artemis-cluster"> <connector-ref>brokernode1</connector-ref> <message-load-balancing>OFF</message-load-balancing> <static-connectors allow-direct-connections-only="true"> <connector-ref>brokernode2</connector-ref> </static-connectors> </cluster-connection> </cluster-connections> <ha-policy> <

Join the discussion →

Huawei Says It's Made a 100% Chinese PC

Huawei has unveiled the Qingyun HM650, a desktop PC it claims is made entirely from Chinese-manufactured components, including its own 10-core Kirin X90 processor and an enterprise version of HarmonyOS. "While Huawei has reportedly claimed local companies manufactured 100 percent of the components in the machine, it is unclear if all those components use Chinese designs," notes The Register. From the report: A single Chinese government agency has reportedly signed up for 600 of the machines. That's not an indication this machine is a curiosity, because Beijing has ordered all government entiti

Join the discussion →

How to recognize object change while right mouse button is pressed and not released

Situation: A panel holds a few sub objects were these things are currently working: gotFocus and lostFocus which is reflected by changing background color if an object is marked its background color is different than unfocused or focused object can be unmarked as well and gets unfocused background color following functions are in place: mousedown handler covers left, middle & right mouse down event gotFocus handler manages background color as well as losFocus handler Goal to achieve: When it comes to a user friendly right-click input, which means you do not single click each object you want ma

Join the discussion →

How to fix "Error: number of items to replace is not a multiple of replacement length" with NCT()?

I'm trying to compare two networks using NetworkComparisonTest::NCT(). I used a custom estimator function to impute and transform data prior to network estimation. The networks work well (i.e., in plotting and bootstrapping) until I use NCT, where I get the following error: > Error in diffedges.perm[i, ] <- abs(r1perm - r2perm)[upper.tri(abs(r1perm - : number of items to replace is not a multiple of replacement length I assume this has to do with having changed the dimensions of the data during network estimation. I'm not sure how to proceed. Below is a minimum, reproducible example: libraries

Join the discussion →

Push notification pipeline (Azure Function → FCM → APNs/Android): reliability and delivery measures?

I’m running a production push notification pipeline and would like feedback on the reliability of its last two hops. I also want to know how you guys measure delivery beyond FCM. Architecture Event input application → flat file generated and dropped on SFTP → CRON job uploads the file to Azure Blob Storage → Azure Function (blob-triggered) parses the file and sends each message to FCM (HTTP v1 API) → FCM forwards to APNs (iOS) and the Android transport layer What’s already proven Everything upstream of FCM has been load-tested and observed in production: the event input, file generation, the S

Join the discussion →

What to set -enable-native-access to

That’s on the continuation of my previous question : Where to add the --enable-native-access=ALL-UNNAMED?. It worked perfectly in Linux, but when I tried to apply the changes on the Windows version and tested it I noticed that it request specific modules instead of just 'ALL-UNNAMED'. And it’s not just a warning this time, it’s outright an error : Error: --enable-native-access requires modules to be specified Well, if I remove it, it’s just a warning again, but that’s not the point. So I was wondering what to set this flag with ? What I tried is : TOOLS["android_jar"] {os.path.join(BUILD_TOOLS

Join the discussion →

ElasticSearch: Consecutive query operations conflict because of the refresh interval

We have an application that uses Elasticsearch (OpenSearch to be exact, but the problem should be the same for both). We have a lot of documents (around a million per index), and our application sends write queries to this index (upload, update, delete). Our refresh interval is 30s, which is a big time window. MongoDB is our source of truth, and Elasticsearch is used later for vector search. Whenever a document is updated in Mongo, our app also has to send a query to Elasticsearch to keep it in sync. Let's say we have around 50 queries per second. One document in Mongo is the equivalent of N c

Join the discussion →

Consecutive query operations conflict because of the refresh interval

We have an application that uses Elasticsearch (OpenSearch to be exact, but the problem should be the same for both). We have a lot of documents (around a million per index), and our application sends write queries to this index (upload, update, delete). Our refresh interval is 30s, which is a big time window. MongoDB is our source of truth, and Elasticsearch is used later for vector search. Whenever a document is updated in Mongo, our app also has to send a query to Elasticsearch to keep it in sync. Let's say we have around 50 queries per second. One document in Mongo is the equivalent of N c

Join the discussion →

How can I stream real-time candlestick updates to TradingView Lightweight Charts using Go?

I'm building a financial market analysis application using Go, React and TradingView Lightweight Charts. My Go backend receives live market prices from external providers, and I want to stream these updates to the frontend using WebSockets. How can I efficiently update the currently forming candlestick as new prices arrive, while creating a new candle when the timeframe interval changes? Should OHLC aggregation happen on the Go backend or in the React frontend? I'm looking for a practical implementation approach that supports real-time crypto and forex charts.

Join the discussion →

How are memory addresses distributed in C for this example?

I was toying a bit with pointers on Unix based OS(Arch) running. I read this line: Code begins at the same fixed address for all processes. Computer Systems: A Programmer's Perspective (CS:APP)(Randal E. Bryant & David R. O'Hallaron) I had decided to try for myself and I have no clue why the addresses of main differ in the two examples. int main() { void *p = main; int *c; printf("main is %p", p); printf("c is %p", c); } This one outputs lets say main is 0x564873bd3139c is (nil)%. If I delete, recompile and rerun the executable it will be still the same address. Now if I modify my code to: #in

Join the discussion →

Reddit Founder Says Building Social Media Apps Is 'Not Cool Anymore'

An anonymous reader quotes a report from Wired: Alexis Ohanian wants to figure out the future of user-generated content. According to the Reddit cofounder, building social media apps is "not cool anymore" and so much of the internet has been compromised. "I'm expecting some better version of the group chat to be that new version of UGC," Ohanian told WIRED senior correspondent Lauren Goode at the inaugural WIRED World Fair. [...] Ohanian is a proponent of the "Dead Internet Theory"—the idea that a lot of online activity and content is being generated by bots. Large language models have turboch

Join the discussion →

What do you think of alternatives to the web like Gemini and Gopher?

submitted by earlier_riser to asklemmy 3 points | 3 comments I discovered Gemini in 2023 and really enjoy it. I like the minimalism. I like that page presentation is up to the user. I’ve even come to appreciate the line-based nature of its markup, because theoretically at least, it means a screen reader user knows that elements are always arranged top to bottom. I say “theoretically” since I have yet to run into an accessible Gemini browser for Windows, which is unfortunate since Gemini’s whole deal is text first. And to head off the inevitable comment about Linux, in order to have an accessib

Join the discussion →

what do you hate in linux?

submitted by wall to asklemmy 1 points | 0 comments i hate package manager culture ,i like having exes or binaries directly(even some appimages need libs installed from package manager). i like having backwards compatibility with dynamically linked apps. and like having gui for vast majority of settings. and generally being able to install stuff without any repo Maintainer building it for me. and having any app or hardware or game without thinking if it will work or not. since my usage of computer is piracy heavy,pirating windows enterprise,office,acrobat,all my games etc windows is best optio

Join the discussion →
Older stories