on-internet

Maven distribution verification - should sha256 or sha 512 be used?

it seems maven central doesn't support having sha256 sums of their binaries, preferring sha512 as seen in https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.10.0/, but maven wrapper only supports checking sha256, like distributionSha256: <distributionSha256Sum>String - 3.2.0 - The expected SHA-256 checksum of the Maven distribution that is executed by the installed wrapper. User Property: distributionSha256Sum https://maven.apache.org/tools/wrapper/maven-wrapper-plugin/wrapper-mojo.html Am I missing something here? Are these expected to converge?

Join the discussion →

Salesforce Media Cloud Exam Preparation Tips and Resources

Preparing for Salesforce Media Cloud can feel challenging when you are trying to understand different media processes, platform features, and practical business scenarios at the same time. Sometimes, reading documentation is not enough to understand how these concepts work in real situations. I think it helps to combine regular learning with focused practice so you can identify which areas need more attention. While exploring different preparation resources, I came across PrepBolt, which provides Salesforce Media Cloud Exam Questions for candidates who want to test their knowledge and become m

Join the discussion →

What is the point of reveal_type?

Most type checkers support reveal_type(expr)*, to show the inferred type of expr: typing.reveal_type(obj, /) Ask a static type checker to reveal the inferred type of an expression. [...] Most type checkers support reveal_type() anywhere, even if the name is not imported from typing. I don't understand its purpose. Can't I just write expr? In either case, I hover over expr in my IDE to see its inferred type: value = 10 value # (variable) value: Literal[10] reveal_type(value) # Type of "value" is "Literal[10]" Is there a difference? Why is there a need for reveal_type()? * Note: I'm not asking a

Join the discussion →

How to validate a nested JSON array of objects in Karate DSL when the array can be empty using an external .json schema file?

I am trying to do a JSON schema validation in Karate DSL of an API response that returns an array of objects. Each object contains required string fields (id, description) and a nested statuses array. The statuses array is always present in the response object but it can be empty ([]) for some records. When statuses is not empty, every object inside it must strictly contain required string fields id and name. This is a sample of the response: [ { "id": "A101", "description": "Record with statuses", "statuses": [ { "id": "S1", "name": "APPROVED" } ] }, { "id": "B102", "description": "Record wit

Join the discussion →

Use for loop to calculate mode [closed]

I am using jupyter interpreter so don’t mind it !! I want for loop to be used to calculate the mode of the returns Pls suggest good and easy for loops for begineers to get the conclusion of the returns given. It must be sinple and begineer friendly !!

Join the discussion →

Safe pattern to process multiple files in Awk

I'm writing a shell utility that takes a few file arguments and cross-validate them with Awk. The Awk implementation is not guaranteed to be GNU so I stick to POSIX patterns. What I'm doing right now is: #!/bin/bash sam_sq_to_tsv() { ...; } # output: SQ-SN \t SQ-LN fasta_to_tsv() { ...;} # output: id \t sequence awk -F '\t' ' FNR == 1 { if (input_no == 1) { if (!n_bam_recs) exit 1; } else if (input_no == 2) { if (!n_bed_recs) exit 1; } ++input_no; next; } input_no == 1 { ++n_bam_recs; # some SAM SQ header processing next; } input_no == 2 { if (!NF || /^#/) next; ++n_bed_recs; # some BED proces

Join the discussion →

Does anybody have the 7.11.1 version of the "Swish Payments" app for android?

submitted by akunohana to asklemmy 1 points | 0 comments https://piefed.blahaj.zone/c/[email protected]/p/1099913/android-apk-does-somebody-happen-have-the-7-11-1-version-of-the-swish-payments-app Cross post from [email protected] The latest update to 7.12.4 probably introduced anti root or programming, making it unbootable. Apk Mirror don’t provide the apks as per the request of Swish Payments.

Join the discussion →

Server Error while trying to create a new account on PythonAnywhere [closed]

My students are trying to register new accounts, but they are encountering the error shown in the screenshot. They are also not receiving the registration confirmation email. Internal website support and forum do not work either. Could you please fix this? Server Error :-/ An error has occurred. This shouldn't happen Feel free to contact your nearest PythonAnywhere representative (there's a "Contact Support" link above), and loudly complain about the problem. (Extra credit if you do so in rhyming verse!)

Join the discussion →

Is Nvidia's Legal Trouble Over - Or Just Beginning?

America's Justice Department "is still investigating Nvidia," reports the New York Post, adding that Monday President Trump posted on Truth Social that Nvidia should also "continue its thorough internal investigation of the Company's compliance with U.S. export controls in order to ensure that it is fulfilling its legal obligations and Patriotic Duty to protect U.S. National Security." But President Trump also told The New York Post Monday in an exclusive interview "that he's willing to pardon Jensen Huang if necessary — but that he believes the reinstalled Nvidia CEO should be fine without on

Join the discussion →

Why so much noise about GTA 6?

submitted by itisileclerk to asklemmy 2 points | 2 comments Why are people going crazy over this game? It’s a game like any other game, a tool for “wasting time.” It’s basically Pac-Man with better graphics.

Join the discussion →

Linux Mint Cinnamon just crashed, using fallback mode

Linux Mint 22.3, cinnamon v6.6.9 My cinnamon was working fine but i must have made some changes to it and now, when logging in, it shows me a window 'Cinnamon has just crashed, using fallback mode'. I went over some logs but no hints on what part, component, applet gives the issue. Switching user to a new plain vanilla user shows no issues (that is a working cinnamon). When trying to modify the display settings (via cinnamon display manager) it show me a window with no options (e.g. no options for displays to turn off/on, no option to change the resolution, etc) I hope to fix it by completely

Join the discussion →

PostgreSQL pg_prewarm: checking autoprewarm readiness on startup

My team and I run Postgres 14–18 on Kubernetes with pg_prewarm in shared_preload_libraries (pg_prewarm.autoprewarm = on, pg_prewarm.autoprewarm_interval = 300s). On large instances, autoprewarm takes 20+ minutes to reload $PGDATA/autoprewarm.blocks after a restart. During rolling restarts, we want our Kubernetes startup probe to keep a replica out of rotation until autoprewarm finishes its initial load, so it doesn't get hit with live traffic on a cold cache. The catch is that pg_prewarm doesn't seem to expose any SQL view or function to check if the initial preload is done, and every simple c

Join the discussion →

Mini, spoiler free review of *Bear Head*, by Adrian Tchaikovsky

submitted by AFKBRBChocolate to books 1 points | 0 comments cross-posted from: lemmy.ca/post/74337992 Second book in the Dogs of War series. Decades have passed since the end of the prior book. Honey is an old bear, still working on bioform rights, but public opinion has shifted back as a psychopathic but charismatic politician is pushing hard on mandatory “collaring" (embedded obedience programming). Meanwhile on Mars, a shiftless worker helping to build the first Martian city rents out extra storage space in his head to data smugglers in order to make extra cash. These stories intersect in a

Join the discussion →

A better way to filter dataframe using key words?

I have analysed a database of bacterial samples. I originally used this code to separate food samples from other samples, but now I must also compare the food samples to other "environmental" samples. At first, I thought I just needed to switch the selected and unselected keywords, but I now realised some rows are being left out. How should I change the code so that I can select every "non-food" row? df=pd.read_csv(path+'Raw_L_data.tsv', sep='\t') with open(path+'List_of_Foodstuff.txt', 'r') as file: lof= file.read().splitlines() with open(path+'Taboos_list.txt', 'r') as file2: tsl= file2.read

Join the discussion →

Oyster card on unknown account

I have an Oyster card at home (that's been in a draw for a few years) that according to a ticket machine has around £30 on it, but also says it cannot be used. When I've tried to add it my TFL account, it says the card is already claimed by another account. The claim will almost certainly have been me, or my wife, but neither of us knows which email address it might be registered to. Is there any way to find out?

Join the discussion →

TIME_DURATION adds one second to pre-trigger pressure span

A controller replay stores three pressure samples immediately before an epoch-based trigger. In Apache IoTDB 2.0.11 tree mode, the report uses TIME_DURATION to measure their span. The minimal setup and failing operation are: CREATE DATABASE root.trigger_replay; CREATE TIMESERIES root.trigger_replay.before_trigger.pressure WITH DATATYPE=INT32,ENCODING=PLAIN; CREATE TIMESERIES root.trigger_replay.shifted.pressure WITH DATATYPE=INT32,ENCODING=PLAIN; INSERT INTO root.trigger_replay.before_trigger(time,pressure) VALUES(-3000,3),(-2000,2),(-1000,1); INSERT INTO root.trigger_replay.shifted(time,press

Join the discussion →

How do you resist enshittification?

submitted by sarah2653 to asklemmy 4 points | 1 comments I want a reliable washing machine that washes, not a device with a touch screen that jingles every time I turn it on, off, or push an icon on the menu. I want a solid machine not made of plastic that won’t break 2 months after I start using it. I don’t want a car that’s a computer on wheels that relentlessly gathers my data and bombards me with ads, nor do I want to pay a subscription service to have the newest updates available. Who cares about that? I want a fridge that fridges, what do I need a fridge that connects to the internet for

Join the discussion →

Can an AMF expose whether a UE initially presented SUCI during registration through a standard API? [closed]

During 5G Standalone (5G SA) registration, a UE may identify itself using a SUCI (Subscription Concealed Identifier) or a 5G-GUTI, depending on the registration context. As I understand it, the AMF receives and processes the NAS Registration Request containing the UE's identity. If the identity is SUCI, the AMF may subsequently obtain the corresponding SUPI as part of subscriber identification and authentication. I am trying to understand whether the original identity type presented by the UE can be made available to an external/downstream application for monitoring or reporting purposes. Spec

Join the discussion →
Older stories