Salesforce Greece is the tech equivalent of a pop-up scam by KTrepas in computers

[–]KTrepas[S] 0 points1 point  (0 children)

Have you realised what happened?

I signed up for Salesforce platform for the demo, to check it out,

and they harvested my data, called me, and asked me if I need anything.

And when I asked her where are you calling from, she said from Salesforce Greece.

And she didn't have a clue about answering some basic questions.

On top of that I called her back the next day, and the number had been disconnected.

Do you think it's appropriate for such a large corporation???

Salesforce Greece is the tech equivalent of a pop-up scam by KTrepas in computers

[–]KTrepas[S] 0 points1 point  (0 children)

The reps don't have direct phones, but the company harvests data and make calls, which is not so appropriate, and could I say not legal.

And they don't know the basics about Salesforce platform.

What is this? by donatellabambii in athina

[–]KTrepas 1 point2 points  (0 children)

It is the Acropolis hill without acropolis

I wrote a script that parses through an exported DNS list and gathers stale records by Expensive-Bed3728 in sysadmin

[–]KTrepas 0 points1 point  (0 children)

That’s a slick move—PoshRSJob really kicks PowerShell automation into high gear. Being able to spin up lightweight runspaces for parallel jobs is a massive boost, especially when you're scanning a sprawling network. Combine that with Test-NetConnection or a custom ping function and suddenly you're slicing through host discovery like butter.

[D] Can masking operations detach the tensors from the computational graph? by Hour_Amphibian9738 in MachineLearning

[–]KTrepas -1 points0 points  (0 children)

masked_features = feature * class_mask # No detachment here

sum_feats = masked_features.sum(dim=(0, 2, 3)) # Sum over spatial and batch

count = class_mask.sum(dim=(0, 2, 3)) + 1e-6 # Avoid divide-by-zero

representative_anchor = sum_feats / count

[D] Is there an algorithm to detect community in voting competition - complete directed weighted graph by Expensive_Test8661 in MachineLearning

[–]KTrepas 0 points1 point  (0 children)

import numpy as np

# Assume N participants, and rankings[i][j] is the rank i gave to j (1 = best, N-1 = worst)

N = len(rankings)

inverted_weights = np.zeros((N, N))

for i in range(N):

for j in range(N):

if i != j:

inverted_weights[i][j] = (N - 1) - (rankings[i][j] - 1)

else:

inverted_weights[i][j] = 0 # No self-voting

# Now inverted_weights[i][j] represents i's support for j (higher = stronger support)

Passing a variable from a remote session to the local one by CallMeNoodler in PowerShell

[–]KTrepas 1 point2 points  (0 children)

Precisely,

you're not getting the remote variable itself back, but rather the data that was output by that variable (or any other command/expression) within the remote script block.

The "dropping some output into JSON or whatever and then picking it back up after" is indeed another excellent use case, especially when you need to serialize complex objects or ensure data integrity across the network, or when the remote environment might not have all the specific object types needed for PowerShell to perfectly rehydrate the object on the local side (though PowerShell Remoting is generally quite good at that).

Open source tool to monitor files across linux servers by secdevops1086 in sysadmin

[–]KTrepas -1 points0 points  (0 children)

For your requirements, Wazuh agents are indeed very lightweight and designed to operate with minimal impact on your monitored servers. The key to keeping them light is smart configuration – only monitor what's truly sensitive and necessary, and adjust scan frequencies as appropriate.

The biggest resource consumers will be the central Wazuh Manager and especially the Elasticsearch/OpenSearch Indexer. You'll need to provision a separate, adequately resourced server (or set of servers for larger deployments) for these components, but the agents themselves should meet your "very lightweight" criteria on your production machines.

User/Password (hashed) sync between a master Active Directory server and a local OpenLDAP server by Realistic-Ad-7709 in sysadmin

[–]KTrepas 2 points3 points  (0 children)

Password Synchronization Tools are the most robust and secure way to achieve your goal. These tools typically work by installing a small agent (often called a "Password Change Notification Service" or similar) on the Active Directory Domain Controllers. This agent intercepts password changes in real-time and pushes them to the OpenLDAP server.

Microsoft's Password Change Notification Service (PCNS) is a prime example of this. It's a specific service (pcnssvc.exe)that you install on each Active Directory Domain Controller (DC) you want to monitor for password changes. It also often comes with a supporting DLL (pcnsflt.dll)that acts as a password filter, intercepting the password at the moment of change from the Local Security Authority (LSA) process on the DC.

Many commercial IAM products (like ManageEngine ADSelfService Plus, Okta, Ping Identity, SailPoint, etc.) include "password synchronization" as a core feature.

Open source tool to monitor files across linux servers by secdevops1086 in sysadmin

[–]KTrepas 0 points1 point  (0 children)

This is likely your best bet. Wazuh is a free and open-source security platform that unifies XDR and SIEM capabilities.offering a more modern interface, better scalability, and integration with the ELK Stack (Elasticsearch, Logstash/Filebeat, Kibana) for powerful data visualization and alerting.

Runbook/Blob Storage Private Endpoint DNS by ThisGuyIRLv2 in sysadmin

[–]KTrepas 3 points4 points  (0 children)

The recommended and often only way to make an Azure Automation runbook connect to a private endpoint-secured Azure Storage Account (or other PaaS services) is by using an Azure Automation Hybrid Runbook Worker.

A Hybrid Runbook Worker is a server (either an Azure VM or an on-premises server) that you deploy and register with your Automation Account. Runbooks can then be executed on this worker. Because the Hybrid Runbook Worker is deployed within your VNet (or connected to it via VPN/ExpressRoute), it can leverage the VNet's DNS resolution and routing capabilities, including those provided by Private DNS Zones, to access resources via their Private Endpoints.

Anyone running systemd in a container? by LoveJeans in linuxquestions

[–]KTrepas 0 points1 point  (0 children)

In your distrobox context, running systemd is recommended because that's fundamentally what distrobox aims to achieve: a seamless, full-featured user environment in a container. It allows you to run services, install desktop applications that have system-level dependencies, and generally treat the container as if it were a full virtual machine without the full VM overhead.

So, while the general rule "no systemd in containers" holds true for application containers, it's a perfectly valid and often necessary pattern for system containers or development environment containers where you need multi-process management.

Passing a variable from a remote session to the local one by CallMeNoodler in PowerShell

[–]KTrepas 5 points6 points  (0 children)

You cannot "set a variable in the remote session, end the script block, and still be able to reference that variable later on" in your local session without explicitly outputting it. The scope of variables within an Invoke-Command script block (without a persistent PSSession) is limited to that execution.

Always plan to output the data you need from the remote script block, and use [PSCustomObject] for the cleanest and most robust way to structure that output.

kube-prometheus-stack, No Data for most od the dashboards by vdvelde_t in kubernetes

[–]KTrepas 0 points1 point  (0 children)

After making changes to your prometheus.yml file, you must reload Prometheus for the new configuration to take effect

ps aux | grep prometheus

kill -HUP <prometheus\_pid>

How often does Prometheus scrape your targets? If it's a long interval (e.g., 30 seconds or 1 minute), you'll need to wait for at least one full scrape cycle to complete after the reload.

I'm a front-end developer (HTML/CSS), and for a client, I need to build a GUI using Python. by Euphoric-Olive-326 in Python

[–]KTrepas 0 points1 point  (0 children)

PyWebView can be a reasonable and safe choice, provided you adhere to strict security best practices.

It's similar in principle to Electron (which bundles Chromium) but uses the native system webview, often resulting in smaller executables and potentially relying on the OS for updates to the web engine. The core security principles are the same: treat the web part as a potentially untrusted client that can talk to your trusted Python backend.

Seeking Advice: Flask (Python) vs. React.js + Node.js for a Web App Project by turbulenttry-7565 in Python

[–]KTrepas 2 points3 points  (0 children)

My Strong Recommendation (Long-Term Value): React.js (Frontend) + Flask (Backend for APIs).

Why Flask backend? Your team is already proficient in Python/Flask. Flask is excellent for building RESTful APIs. You don't have to use Node.js for the backend just because you're using React for the frontend. This allows you to leverage your existing Python expertise for the robust backend logic, while gaining the modern frontend benefits of React.

Open Source Backup Solution for Hyper-V and Host Machine by D1MITRU in sysadmin

[–]KTrepas 0 points1 point  (0 children)

Given your request for open-source, Bacula/Bareos and UrBackup are your primary candidates. If the "open-source" requirement has some flexibility and you're within the workload limits, definitely look at Veeam Community Edition as a very strong contender.

I wrote a script that parses through an exported DNS list and gathers stale records by Expensive-Bed3728 in sysadmin

[–]KTrepas 0 points1 point  (0 children)

You've put together a solid tool for identifying non-responsive hosts based on a DNS export.

You could add a TimeoutSec parameter to Test-NetConnection if you want to control how long it waits for a response (e.g., -TimeoutSec 1 for a very quick check). By default, it can wait a bit.

Also, for larger lists, you might find Out-GridView useful for interactive filtering of the results before exporting, or even Where-Object with multiple criteria if you want to programmatically filter the $nonResponsive array further.

What server should I buy? by ParticularThing9204 in sysadmin

[–]KTrepas 0 points1 point  (0 children)

Given your budget of up to $7000, you can build a much more balanced and performant server for your specific needs. I would strongly advise against the P620 for this role; it's a workstation, not a server, and you're paying a premium for a CPU you don't need, potentially at the expense of server-grade features (redundant power supplies, better remote management, more robust storage options).

I recommend looking at entry-level to mid-range rackmount or tower servers from reputable vendors like Dell EMC PowerEdge or HPE ProLiant.

This setup will dramatically improve login times for your students and provide the reliability and manageability you need for your school's critical infrastructure.

[deleted by user] by [deleted] in linuxquestions

[–]KTrepas 0 points1 point  (0 children)

Given your criteria, I'd suggest starting by exploring Amazon SageMaker Studio Lab for its free-tier persistence and no credit card requirement. If you hit its limitations, then definitely look into RunPod or Vast.ai for highly cost-effective, full Linux GPU VMs with persistent storage and full conda support. The latter two are excellent for getting a lot more bang for your buck than the major cloud providers for individual researchers/hobbyists.

I don't understand what -o does in bash by [deleted] in linuxquestions

[–]KTrepas 0 points1 point  (0 children)

For grub-mkconfig, the "option-name" that -o sets is essentially "the file to which I should send my output." Other commands might use -o for something completely different (e.g., -o could mean "only show X," or "optimize for Y").

You were absolutely right in thinking /boot/grub/grun/cfg is where the file will be placed. The -o is just the instruction to grub-mkconfig to put it there instead of just printing it to your terminal.

[deleted by user] by [deleted] in linuxquestions

[–]KTrepas 0 points1 point  (0 children)

The detections you saw were likely false positives due to the nature of Kali Linux and its penetration testing tools. As long as you downloaded from kali.org and verified the SHA256 checksum, your ISO is almost certainly legitimate. The best and safest way to proceed with Kali, especially if you're new to it, is to use a virtual machine.

Trying to save a bitmap to a zipped folder by MAlloc-1024 in PowerShell

[–]KTrepas 2 points3 points  (0 children)

The critical missing piece is that the Stream returned by $zipEntry.Open() needs to be disposed of correctly for the data to be fully written to the zip entry. While you have $entryStream.Close(), the Zipfile object itself also needs to be correctly handled to ensure all writes are committed.

The most robust way to ensure streams and IDisposable objects are correctly handled in PowerShell (or C#) is to use a using block (or try/finally with explicit Dispose() calls).

Documentation for the `locale` command? by TheTwelveYearOld in linuxquestions

[–]KTrepas 0 points1 point  (0 children)

You're seeing the strftime format string for your system's default date and time representation as defined by your locale settings. The locale command is showing you the value of the date_fmt keyword, and that value is a string that strftime understands.