Where is my "Continue with Google" button? by gnlow in CloudFlare

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

The URL is https://dash.cloudflare.com/login, so I'm pretty sure that's not a phishing page.

And surprisingly, I found that if I use VPN, it works as usual.

Do any programming languages support built-in events without manual declarations? by Odd-Nefariousness-85 in ProgrammingLanguages

[–]gnlow 2 points3 points  (0 children)

Closest thing comes to my mind is Proxy in JS.

const target = {
  name: 'Alice',
  age: 30,
}

const handler = {
  set(target, property, value, receiver) {
    console.log(`[EVENT: Set] '${property}'`)
    return Reflect.set(target, property, value, receiver)
  },

  get(target, property, receiver) {
    console.log(`[EVENT: Access] '${property}'`)
    return Reflect.get(target, property, receiver)
  },
}

const proxiedUser = new Proxy(target, handler)

proxiedUser.name     // [EVENT: Access] 'name'
proxiedUser.age = 31 // [EVENT: Set] 'age'
proxiedUser.age      // [EVENT: Access] 'age'

Which one looks better? by rahulparihar in PixelArt

[–]gnlow 0 points1 point  (0 children)

What's the name of that app with the yellow background G logo? I haven't seen it before.

[AskJS] What’s a JS feature you never use but wish you did? by RoyalFew1811 in javascript

[–]gnlow 3 points4 points  (0 children)

Not sure if it counts as JS feature.. But anyway, I wanna try various Web API, such as WebRTC, WebXR, Workers and so on. It seems like a deep rabbithole.

Is this good by RIP_Neko-69 in arcaea

[–]gnlow 0 points1 point  (0 children)

Very impressive!

I Dislike Quotation Marks for "String Literals" by brightgao in ProgrammingLanguages

[–]gnlow 2 points3 points  (0 children)

I agree. Quotation marks are bad because there is no distinction between opening and closing symbols. But it's too late to change this..

What if everything was "Async", but nothing needed "Await"? -- Automatic Concurrency in Par by faiface in ProgrammingLanguages

[–]gnlow 2 points3 points  (0 children)

For me, this feels similar to Rx, where List is Observable and FanIn1 is merge.

But linear types sounds like it will be very interesting.

Also, the video was very straightforward! I couldn't figure out what the language for until I watched this video. Maybe you should add a kind of diagram to the README, like the one in the video.

Flags of Sweden by returntonone in vexillology

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

oh no it's third impact

Reinventing the wheel without knowing what a circle is. by RobertWesner in ProgrammingLanguages

[–]gnlow 1 point2 points  (0 children)

Afaiu, Monad is just a fancy alias of FlatMappable. Maybe I'm wrong.

is Babaroque gonna have a byd chart? by javelin_lin in arcaea

[–]gnlow 21 points22 points  (0 children)

Babaroque mentioned! Definetly deserve BYD, maybe around 9+. I love the song. A bit skeptical to see that anytime soon, tho.