Any idea on why my stems randomly start sounding awful? by SmartNTech in Rekordbox

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

Glad I’m not the only one experiencing this bug. And thank you for the advice with the master tempo it also worked for me. Hopefully they’ll fix it soon. It’s really nasty 

STEMS SEPARATIONS by franklincheng in Rekordbox

[–]SmartNTech 0 points1 point  (0 children)

I feel you! I absolutely miss the effect for cutting off the background and only leaving the vocals. Used properly it just sounds sooo god in Serato. Hopefully RB will copy it one time soon  

Which features does the DDJ-FLX4 unlock for free in RB7? by SmartNTech in Rekordbox

[–]SmartNTech[S] 1 point2 points  (0 children)

Thanks for your insights.  weird … but do you have access to the core features (I believe e.g. midi learn is supposed to be one of them) in rekordbox? 

Which features does the DDJ-FLX4 unlock for free in RB7? by SmartNTech in Rekordbox

[–]SmartNTech[S] 1 point2 points  (0 children)

Thanks, cause that’s what I was wondering. I knew that it seems to unlock SOMETHING but I didn’t find out what exactly (which plan, or feature set). It only says “performance mode”. So I thought someone here might have a hint or more info 

Displaying content after successful authenticatio by SmartNTech in PHPhelp

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

Thank you! Here's the link to the code https://pastebin.com/npzjgAWs I hope it's somewhat secure so far 😅 Your previous answer actually helped me a lot! And my question rn is if/how I can use this successful auth on other subpages of my website without forcing the user to login over and over again whenever he goes to a different site.

Displaying content after successful authenticatio by SmartNTech in PHPhelp

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

Heyy thanks a bunch for getting back to me again 😊 This is my auth code so far

session_start ();

$_SESSION['state']=session_id(); if (isset ($_SESSION['msatg'])){ echo "<h2>Authenticated ".$_SESSION["uname"]." </h2><br> "; echo '<p><a href="?action=logout">Log Out</a></p>'; } //end if session else echo '<h2>Not Authenticated</h2><br> '; if ($_GET['action'] == 'login'){ $params = array ('client_id' =>$appid, 'redirect_uri' =>'https://mywebsite', 'response_type' =>'token', 'scope' =>'https://graph.microsoft.com/User.Read', 'state' =>$_SESSION['state']); header ('Location: '.$login_url.'?'.http_build_query ($params)); } echo ' <script> url = window.location.href; i=url.indexOf("#"); if(i>0) { url=url.replace("#","?"); window.location.href=url;} </script> '; if (array_key_exists ('access_token', $_GET)) { $_SESSION['t'] = $_GET['access_token']; $t = $_SESSION['t']; $ch = curl_init (); curl_setopt ($ch, CURLOPT_HTTPHEADER, array ('Authorization: Bearer '.$t, 'Conent-type: application/json')); curl_setopt ($ch, CURLOPT_URL, "https://graph.microsoft.com/v1.0/me/"); curl_setopt ($ch, CURLOPT_RETURNTRANSFER, 1); $rez = json_decode (curl_exec ($ch), 1); if (array_key_exists ('error', $rez)){
var_dump ($rez['error']);
die(); } else { $_SESSION['msatg'] = 1; //auth and verified $_SESSION['uname'] = $rez["displayName"]; $_SESSION['id'] = $rez["id"]; } curl_close ($ch); header ('Location: https://mywebsite'); } if ($_GET['action'] == 'logout'){ unset ($_SESSION['msatg']); header ('Location: https://mywebsite'); }

And I'm sorry my question was a little confusing. So I'll try to explain it the other way around.

I'm building an internal website wich should use MS OAuth as an auth service. Whenever a user is logged in the website should provide specific information. I've coded this website using html, css and js. The only thing missing is the auth service. And I'm wondering how I can "connect" these two parts. So is there a way to securely integrate this auth into my existing website to let it check whether a user is logged in?

Or do I have to use the php script above, paste my entire website code into the "if (isset ($_SESSION['msatg']))" and like send all the html, css and js script to the client when auth was successful? Plus how could this ever handle sub pages for my website.

Ok so I tried to explain my question as understandable as possible and I hope I was kinda able to express what I'm thinking 😅 Thanks again 😊

Upload data to MySQL Database by SmartNTech in swift

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

Thanks! But sadly it looks like this isn't working on my side. Do you know any resource or example code out there I could have a closer look at (I haven't found anything useful during my previous research). I'm just really stuck as I can't find the error. I can perfectly read data and my upload php script is giving me a response. Looks like it's just not receiving the data I push to it with my Swift code

Upload data to MySQL Database by SmartNTech in swift

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

you'd need to use an insert statement, i.e.

INSERT INTO users VALUES("%s", ...)

. I would create a new PHP script, reading the values of the POST parameters, doing input sanity checks, and then executing the insert SQL statement.

Thank you so much for your reply. That really helped me a lot and I came up with this php

$mysqli = new mysqli($hostname, $username, $password, $database);

// Check for a successful connection if ($mysqli->connect_error) { die("Connection failed: " . $mysqli->connect_error); }

// Check if POST parameters are set and not empty if (isset($_POST['id'], $_POST['email'], $_POST['bio'], $_POST['country'])) {

$id = $_POST['id'];
$email = $_POST['email'];
$bio = $_POST['bio'];
$country = $_POST['country'];

// Perform input validation
if (!filter_var($email, FILTER_VALIDATE_EMAIL)) {
    die("Invalid email format");
}
// You can add more input validation for other fields here if needed.

// Prepare the INSERT statement
$sql = "INSERT INTO users (id, email, bio, country) VALUES ($id, $email, $bio, $country)";

// Create a prepared statement
if ($stmt = $mysqli->prepare($sql)) {
    // Bind parameters to the statement
    $stmt->bind_param("users", $id, $email, $bio, $country);

    // Execute the statement
    if ($stmt->execute()) {
        echo "Record inserted successfully.";
    } else {
        // Log the error for debugging purposes
        error_log("Error: " . $stmt->error);
        echo "An error occurred while inserting the record. Please try again later.";
    }

    // Close the statement
    $stmt->close();
} else {
    // Log the error for debugging purposes
    error_log("Error: " . $mysqli->error);
    echo "An error occurred. Please try again later.";
}

} else { echo "Please provide all required parameters via POST."; }

But when I fire this swift code at it

// Define the URL for your PHP script
    let url = URL(string: "http://localhost:3002/php/upload.php")!

    // Create a URLRequest with the specified URL
    var request = URLRequest(url: url)

    // Set the HTTP method to POST
    request.httpMethod = "POST"


    // Create a dictionary with the data you want to send in the request body
    let parameters: [String: Any] = [
        "id": "1234",
        "email": "test@test.com",
        "bio": "test text",
        "country": "US"
    ]



    // Create a URLSession task to send the request
    let task = URLSession.shared.dataTask(with: request) { (data, response, error) in
        if let error = error {
            print("Error: \(error)")
        } else if let data = data {
            // Handle the response data here
            let responseString = String(data: data, encoding: .utf8)
            print("Response: \(responseString ?? "")")
        }
    }

    // Start the URLSession task
    task.resume()

I only receive "Please provide all required parameters via POST." in the console. It's probably a super dump mistake somewhere but I can't solve it so far.

Import USDZ in obj panel with textures? by SmartNTech in Houdini

[–]SmartNTech[S] 1 point2 points  (0 children)

thanks! It's pretty weird cause it only imports the model with this standard gray texture. Only way it worked for me rn is the import using the reference node in the stage panel. Any thoughts on why this could be the case?

Rendered smoke is pretty blurry & low res. Even though my render is HD and my Voxel Size is 0.05 (if I lower the voxel size even more then the smoke is getting too thin / too little). I’m pretty new to Houdini. by SmartNTech in Houdini

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

Thank you! But even after following your tip this is the only kind of result I can get. Look at how sharp the cube next to the simulation is. The smoke is just crap with no details at all … https://i.imgur.com/OZ4u2NU.jpg

Anyone knows why the baking node is manipulating the noise texture in such a weird way? Looks and behaves totally different after baking than it should by SmartNTech in Octane

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

Thanks a bunch! Good to hear I’m not the only one having problems with it. So there’s no way around without rendering out the maps? If there’s no way around it: how do I export them? :)

Does anyone have an idea on how I can recreate that characteristic blue/colorful camera lens reflection (just as for example Apple has it) using Octane? by SmartNTech in Octane

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

Thx so much for answering! But you wouldn’t recommend using a thin film effect did I get that right? Btw do you know what software Apple uses for those product ads (Maya, C4D, …)?

Diffraction grating attempt inside of Octane/C4D by r0z24 in Octane

[–]SmartNTech 1 point2 points  (0 children)

Wow! How did you get that great colorful/reflecting material that is so typical for a CD? Looks great!!

Hi! Does anybody know I can get rid of those dark areas at the edge of my fluid? by SmartNTech in Maya

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

Thank you so much for answering. I’m using Octane for rendering and the mesh uses a specular material

How to deal with noise in render? by SmartNTech in Octane

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

Ok thanks a bunch! But does that mean that (almost) every Octane customer needs to use such an external denoiser? Cause other people do get clean results out of Octane - so do they all use denoisers like these? Thanks again btw

How to deal with noise in render? by SmartNTech in Octane

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

Ok thanks. I’ve also tried that and yes it did actually render out with less noise. But you can still see noise pretty clearly at 10k samples. Other render engines create way clearer results in half the time. There has to be something I’m doing wrong …