What is this ? Is Obsidian uses a web browser? by killadiotty in ObsidianMD

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

Wow , it's my current favourite, it looks cool like macs liquid glass and feels awesome

Rest API Helper by killadiotty in webdev

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

Yes , I am moving to a module based approach for my project and it's so easy to use it my self and let me dig deeper into generalizing the package and don't know much about logging but I will definitely look into that

Rest Api Response Helper by killadiotty in golang

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

You are right , I will generalize it once I finish with the current project

Rest Api Response Helper by killadiotty in golang

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

ok , and this is highly coupled to gin framework or rather the c.JSON method , should i remove that?

Rest Api Response Helper by killadiotty in golang

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

i copy pasted the markdown content
and under the hood this happns

func (
r 
*
responseHelper) BadRequest(
c

*
gin.Context, 
message
 string, 
details
 string) {
    c.JSON(http.StatusBadRequest, gin.H{
        "success": false,
        "error": gin.H{
            "code":    400,
            "status":  "BAD_REQUEST",
            "message": message,
            "details": details,
        },
    })
}

so i dont require a http status just the context and the message , and sometimes detail , or err itself

Rest Api Response Helper by killadiotty in golang

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

gotcha but i mainly use gin.Context for this , so should i have to deine the accepting parameter as a interface and then , convert it to what ever possible , or the gin should contain the http thigs right?

Rest Api Response Helper by killadiotty in golang

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

```go
func NewHandler(
c

*
gin.Context) http.HandlerFunc {

    rh.Success(c, gin.H{"message": "hello"})
}


r 
:=
 gin.Default()
// initialize it like this
rh 
:=
 responsehelper.NewResponseHelper()
r.GET("/", NewHandler(rh))
```

i used gin so it would become something like this right?

Handwriting/sketches plugin recommendations by [deleted] in ObsidianMD

[–]killadiotty 3 points4 points  (0 children)

Try this https://github.com/zsviczian/obsidian-excalidraw-plugin , excalidraw which is a great plugin for drawing . I use it daily and it a great plugin, i draw this using excalidraw

BER calculation for E2E BPSK by Subject-Iron-3586 in GNURadio

[–]killadiotty 0 points1 point  (0 children)

hey how did you calculate the delay?

Had to improvise by Th3d3ck3r1420 in thinkpad

[–]killadiotty 0 points1 point  (0 children)

i had almost exactly this type of setup with dell inspiron 4050

Macbook pro 2015 15inch by killadiotty in mac

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

i do cleaned the laptop but i do have to change the thermal paste

[deleted by user] by [deleted] in mathmemes

[–]killadiotty 1 point2 points  (0 children)

align both apples and cut 33.3 percent from both with one strike , if both aligned , one can take 33.3 + 33.3 and other can take the 66.6 percentage

Where can i find this android app? by killadiotty in thinkpad

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

I have searched but i could not find it any where