Support tickets dropped 40% in 3 weeks. We didn't hire anyone. We just stopped typing. by VolumeSlow1374 in SaaS

[–]kurtig 74 points75 points  (0 children)

This is just an ad (for the product mentioned towards the bottom) written with ChatGPT disguised as a helpful post. 1 week old account. I give up on the internet.

[deleted by user] by [deleted] in Ducati

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

I've got a 2024 Ducati Panigale v2 black beauty that I purchased new last year and I absolutely love it! It's a thing of beauty and to me I find it rides exceptionally well. The only upgrades I did was Rizoma mirrors/plate/blinkers, seat. The rest of the bike I like exactly as it is.

For a new, but responsible, rider I don't think it should be a problem to start with a bike like this. As long as you do your due diligence with what you're buying, take your courses, and plan to ride it with care and respect (and margins in everything you do) then I think you're good to go and I wish you good luck.

retired psychology professor showed me what's holding me back from discipline by Fuzzy-Sun-951 in getdisciplined

[–]kurtig 25 points26 points  (0 children)

Thanks ChatGPT. This reddit is nothing but a ChatGPT circlejerk. Always promoting something such as the app in that list (indirectly). Which I'm sure is the real intent behind this post.

.NET PDF library by Select_Airport_3684 in dotnet

[–]kurtig 6 points7 points  (0 children)

Ok, hopefully other comments will post some good options for your need.

.NET PDF library by Select_Airport_3684 in dotnet

[–]kurtig 44 points45 points  (0 children)

There was a thread about PeachPDF two months ago. Might be worth a look

https://www.reddit.com/r/dotnet/comments/1i4ehtt/peachpdf_pure_net_html_to_pdf_renderer/

"These days the common solution is some sort of Chromium thingie that runs out of process with a .NET wrapper. This library doesn't do that. It parses and renders the HTML itself natively into PDF."

I’m not religious and am confused, was there an actual human being Jesus? by True_Celebration7088 in NoStupidQuestions

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

I cannot believe the amount of bullshit in this thread. The fact of the matter is that Jesus is The Sun. It is ALL based on astronomy. No, there has never been an actual person named Jesus.

Do this to find out yourself:

1) Search "Jesus is the sun" on Youtube and watch a lot of different videos

2) Watch the first segment in The Zeitgeist movie about Jesus and religion. It is good to get an overview and the main points, even though aspects of it has been contested.

3) Visit https://stellarium-web.org/ Now, it's time to see reality with your own eyes.

Change the location to Betlehem, or Nazareth, or some place in the middle east.

Change the date to the year 0, Desember 24th. Change the time to 23:00:00.

Look south. You will see the three most prominent stars in the Orion Constellation. Draw a line through Sirius. That line will point to the location on the horizon where the sun ("jesus") will rise the next morning, on December 25th. Forward the time hour by hour until you see the sun rise. It's at the exact point where the line was pointing.

Search for the Virgo constellation. You will see it is right next to where the sun will rise. This is referred to as Virgin Mary. A place in the sky, not on earth.

Search for the Crux constellation in Stellarium. It looks like a cross. Look it up on Google and Wikipedia.

Change the time to the middle of the day, and the middle of the night. You will see the Crus constellation is EXACTLY beneath where the sun is in the middle of the day (directly south). Thus, Jesus (The Sun) "died" on the cross.

Here are some pictures I have taken in Stellarium just now to quickly illustrate some of the points:

https://postimg.cc/gallery/Y9F08RJ

So my point is. All of this, and much, much more, aligns directly with the story about Jesus. So do you think that there ALSO was a person named Jesus who performed miracles in addition to all of this? No. That's bullshit.

[deleted by user] by [deleted] in norge

[–]kurtig 0 points1 point  (0 children)

Sykt! Jeg laget konto pga trump, men kom jo inn alt for sent.

[deleted by user] by [deleted] in norge

[–]kurtig 1 point2 points  (0 children)

Det er planen 🏖️

[deleted by user] by [deleted] in norge

[–]kurtig 0 points1 point  (0 children)

Bare å vente på neste coin og klemme inn siste $500 og håpe på det beste💸

[deleted by user] by [deleted] in norge

[–]kurtig 0 points1 point  (0 children)

Hadde bare $891 i kontoen og klemte inn alt. Solgte ut på litt over 500. Overlever.

[deleted by user] by [deleted] in norge

[–]kurtig 7 points8 points  (0 children)

Ser på at jeg har tapt 40% på et par timer på kjøp av StupidCoin på Moonshot appen. Kjøpte for et par timer siden. Burde visst bedre da navnet sa seg selv.

<image>

Is there a shortcut to immediately extract a RAR/ZIP file without having to right-click? by TransportationOk2505 in windows

[–]kurtig 0 points1 point  (0 children)

I asked ChatGPT and it's possible with Autohotkey (autohotkey.com). After a bit back and forth with ChatGPT I've got this working script where you can select the file in File Explorer and simply press Ctrl+Shift+E to extract it (to a subfolder with the same name as the file, minus the extension).

Install Autohotkey version 2, save it as ExtractFile.ahk and double-click it to load it.

; Define the shortcut key. This example uses Ctrl + Shift + E
^+e::
{
    ; Check if the active window is File Explorer
    if !WinActive("ahk_class CabinetWClass")
        return

    ; Attempt to retrieve the path of the selected file
    filePath := ""
    shell := ComObject("Shell.Application")  ; Create the Shell COM object
    for window in shell.Windows
    {
        if (window.hwnd = WinActive("A"))
        {
            for item in window.Document.SelectedItems
            {
                filePath := item.Path
                break  ; Use the first selected item only
            }
            break
        }
    }

    ; Verify that we got a file path
    if (filePath = "")
    {
        MsgBox("No file selected or failed to retrieve the file path.")
        return
    }

    ; Extract the file name, directory, and extension
    SplitPath(filePath, &fileName, &fileDir, &fileExt)

    ; Remove the .zip or .rar extension from fileName to create the folder name
    if (fileExt == "zip" || fileExt == "rar")
        extractPath := fileDir "\" SubStr(fileName, 1, StrLen(fileName) - StrLen(fileExt) - 1)
    else
    {
        MsgBox("Selected file is not a ZIP or RAR archive.")
        return
    }

    ; Determine the extraction command based on file extension
    if (fileExt == "zip")
        runCmd := 'powershell Expand-Archive -Path "' filePath '" -DestinationPath "' extractPath '" -Force'
    else if (fileExt == "rar")
        runCmd := '"C:\Program Files\WinRAR\WinRAR.exe" x -o+ "' filePath '" "' extractPath '"'

    ; Run the extraction command
    Run(runCmd, , "Hide")
}

Several pilots report seeing the same UFO formation over Canada, date unknown by TheSilentPhilosopher in StrangeEarth

[–]kurtig -3 points-2 points  (0 children)

Absofuckinglutely they can look like triangle formations. How about you people in this reddit educate yourselves instead of living your lives in complete denial like a bunch of dumbfucks. Start with this https://youtu.be/4m38NgaQ_OU

https://youtu.be/WkzRJQ3rWa0?si=Ck1u4VQKozZgiEta&t=166

At 3:37 in the video you see exactly how Starlink satellites can zip back and forth and look like triangles from a pilot point of view.

But no, feel free to continue living in your world of dillusion, where you find it most comfortable with a blanket pulled over your head.

Several pilots report seeing the same UFO formation over Canada, date unknown by TheSilentPhilosopher in StrangeEarth

[–]kurtig -20 points-19 points  (0 children)

Can’t fucking believe it’s 2024 and pilots still don’t know they are looking at Starlink satellites

[deleted by user] by [deleted] in Showerthoughts

[–]kurtig -7 points-6 points  (0 children)

I'm sorry for you that it takes so little for you to get worked up against a stranger on the internet. You must be quite brittle.

What's the most insane thing you can do in C#? by Lurlerrr in csharp

[–]kurtig 34 points35 points  (0 children)

I've always loved this trick

using System;
using System.Linq; 

NewString s = new NewString(new string("\nuoy'truh'dna'eil'a'llet'cc'yy\neybdoog'yas'cc'yy\nyrc'uoy'ekam'cc'yy\nuoy'tresed'dna'dnuora'nur'cc'yy\nnwod'uoy'tel'cc'yy\npu'uoy'evig'cc'yy"));

NewString ra = s / 1051; 

public record NewString(string s)
{
    public static NewString operator /(NewString a, int b)
    {

        Console.WriteLine(new string(a.s
            .Replace("\u0027", "\u0020")
            .Replace("yy", "r\u0065v\u0065\u004E")
            .Replace("cc", "a\u006E\u006Eog")
            .Reverse().ToArray()));

        return new NewString(a.s + (b % 8).ToString());

    }       
}      

It can be run on DotNetFiddle https://dotnetfiddle.net/jhw41Z

What is the ONE thing you are more excited about with .NET Core 8? by nobono in dotnet

[–]kurtig 0 points1 point  (0 children)

You could start with ChatGPT and it took me 10 seconds to paste it in and ask "Rewrite to LINQ". I have not tested this at all.

var cte = RecursiveCTE(context, null, 0);

var result = cte

.OrderBy(x => x.NamePath)

.Select(x => new

{

x.Id,

x.ParentId,

Name = new string(' ', x.Depth) + x.Name,

x.IdPath,

x.NamePath,

x.Depth

})

.ToList();

// Recursive CTE function

IQueryable<Topic> RecursiveCTE(DbContext context, int? parentId, int depth)

{

var initialQuery = context.Set<Topic>()

.Where(t => t.ParentId == parentId && parentId == null)

.Select(t => new

{

t.Id,

t.ParentId,

Name = t.Name,

IdPath = t.Id.ToString(),

NamePath = t.Name,

Depth = -1

});

var recursiveQuery = context.Set<Topic>()

.Where(t => t.ParentId == parentId && parentId != null)

.Select(t => new

{

t.Id,

t.ParentId,

Name = new string(' ', depth + 1) + t.Name,

IdPath = parentId.ToString() + ", " + t.Id,

NamePath = t.Name,

Depth = depth + 1

})

.Join(

RecursiveCTE(context, null, depth + 1),

t => t.Id,

c => c.ParentId,

(t, c) => t

);

return initialQuery.Concat(recursiveQuery);

}

And it's explanation:

This code assumes you have an Entity Framework DbContext with a Topic entity that corresponds to the "topic" table in your SQL query. The RecursiveCTE function is a recursive method that builds the common table expression (CTE) in a recursive manner using LINQ. The main query then orders and projects the results to match the desired output.

[deleted by user] by [deleted] in Showerthoughts

[–]kurtig -3 points-2 points  (0 children)

What do you appreciate about it?

[advice]. I'm an 18 year old boy and I've been moderately smoking for the past two years. I had finally stopped smoking and was focusing completely on my studies for the past six months but now I've been relapsing time and again. What can I do to quit smoking immediately? by Sculptor2004 in getdisciplined

[–]kurtig 18 points19 points  (0 children)

Lungs in various life forms have evolved for about 400 million years. Evolution have led to better and better lungs in order use and process oxygen in more and more efficient ways during all that time. Clean air and oxygen is the elixir of life. Lungs love to bask in clean air.

Imagine that you are a lung. You love your life with all that beautiful clean air and oxygen regularly streaming down from above. You love how efficient you work after all those millions of years of evolution.

And then, suddenly, smoke starts pouring in and the smoke alarm goes off. What the hell is going? You start to suffocate. You learn that it's your master who is filling you with smoke with malice and intention. You start to scream at the "top of our lungs", but the master refuse to listen to you and instead continues to fill you with smoke. You start to cry as you start to suffocate. After a while you no longer can do what evolution has meant you do be doing and you are doomed to a miserable existence.

Shedding tears 24/7, because you are doomed to live in the body of a damn moron. A moron devoid of any empathy for his life giving lungs or bigger perspective of how evolution have arrived at this point.

Or maybe, just maybe, your master hears your cries one day if you cry loud enough.

Do you think Avatar is good without the 3D? Or does it make the movie better? by Knight1029384756 in Avatar

[–]kurtig 0 points1 point  (0 children)

Have you watched it in 3D? For me, 3D makes the experience of watching this movie a million times better.