Set
and Map
would be more useful if they were compatible with JSON. I see a lot of people using an object as a dictionary or an array as a set because of that.
Set
and Map
would be more useful if they were compatible with JSON. I see a lot of people using an object as a dictionary or an array as a set because of that.
Sometimes it’s the only option or the preferred option.
I haven’t. Maybe someday I’ll be willing to, but not today. It’s a hassle and extremely intrusive to provide my bank statement and photo ID to a company whose security I don’t trust.
That’s usually how I pay if someone requests money. Venmo is owned by PayPal but my account there works just fine.
I thought about that, but they ask for enough info that they’d be able to identify me. And then they’d probably ban me. At least right now I have the option of restoring my account, even though I have no intention of doing so.
True, it’s a private (not local) IP. It could easily have connected to a remote system, as their proof-of-concept did.
This code execs cmd.exe
and pipes output to and from a hardcoded IP. That’s pretty weird. What’s running on that IP? How does the extension know something is there?
It looks like VS Code has no review — human or automated — or enforced entitlement system that would have stopped this or at least had someone verify it was legit.
Their findings included an extension that opens an obvious reverse shell.
Imagine the bed is a clock. The 12 o’clock position is at the head — I don’t think anything else makes sense. That makes it unambiguous.
The positions are 3 o’clock and 9 o’clock.
Did you mean White Castle?
Ad-based apps on your phone.
It’s been done already, you say? Not like this: the front-facing camera is used to detect eye gaze. A counter on the screen starts at 30 seconds and only counts down while you are looking at the screen. If you look away, the counter, and the ad, pauses. The app doesn’t continue until you’ve watched the entire ad.
It was added in January 2004 and is a reference to the quote in Spider Man.
Another senior dev here, one of those weirdos who likes light mode. Sometimes. VS Code’s light mode is blinding to me, and I never use it. But Nova’s is beautiful and I prefer it. It depends how well the app renders fonts and colors. The oversaturated colors used in most apps are a big problem.
The ??
operator?
When you’re playing the Blazers you can kinda sleepwalk through it.
It’s nice that this is compatible with Redis clients, and even Redis cluster operations. But I wish they would take this opportunity to make scaling more ergonomic. The Redis cluster mode is a pain to use because certain commands don’t work on a cluster (and developers don’t seem to realize this, leading to implementation issues).
It’s better now. No more bottles and kegs. This time it’s barrels, vintages and terroirs.
So this is confusing. I did not know about the maps mode (thanks @randomperson@lemmy.today!). If you show the map and then press the “target” symbol to get your location, Kagi will prompt to enable geolocation.
When using a regular search for “chinese food near me” I see results for a city thousands of km away. But if I select Maps first, then it shows my local area and I can search on the map.
Nope. For that I use the bang shortcut feature to send it to Google.
One nice thing about that, is that you can use g
as a bang, instead of !g
. It’s a little thing but easier to type on mobile.
This makes a lot of sense if you’re delivering static content. Cloudflare even has the Super Slurper which serves your S3 content and migrates it seamlessly to Cloudflare’s competitor R2 service, after which your egress is free.
There also needs to be some way to indicate that a JSON construct is a Set, Map, plain object, or array. You’d want a date/time type as well.
Without breaking existing JSON parsers, the way to do that is to add metadata like a
_type
field to an object, or to add a “sidecar” object like superjson does. Which works but is ugly IMO.Then there’s BSON, YAML, JSON Schema, and the one we don’t mention ₓₘₗ. To my knowledge all of those could be extended in a way to support new types, but require the producer and consumer to both understand and follow whatever convention you use. They lack the universal interchangeability of JSON.