Better HN
topnewbestaskshowjobs
Log inSign up

63stack

1,054 karma · joined Feb 23, 2023 (3y ago) · 462 submissions

Submissions

comment 1y ago · link · parent

I'm well aware, but the send() function in the article is not marked as async, and has no .then() calls.

comment 1y ago · link · parent

BG3 has extensive modding support to the point where people released mods that turn it from a "classical" rpg to a roguelike.

BG3 has public lobbies, private lobbies, and *all* games are hosted locally on the hoster's computer, can be played through LAN without internet. It also has split screen coop.

Nothing you said about BG3 has an ounce of truth to it, and it is one of the most consumer friendly games in a sea of anticonsumer garbage. Are you trying to discredit Larian for some reason?

comment 1y ago · link · parent

Another thing is that the article emphasized that it's single threaded. That by itself guarantees that there will only ever be 1 inflight request, since calling the send() function will block until the request completes, and the callback is called.

If there is some kind of cooperative multitasking going on, then it should be noted in the pseudo code with eg. async/await or equivalent keywords. As the code is, send() never gives back control to the calling code, until it completely finishes.

comment 1y ago · link · parent

"Listen to their CEO"

"No, not the scam part"

comment 1y ago · link · parent

It's great that your integrity status reports that today, what's the guarantee that it will stay like that in a year?

There have been so many examples of companies, especially big tech, rolling out updates in the name of "security", that just turned out to be a way for them to tighten their control over time.

comment 1y ago · link · parent

Of course they are, it's just a part of the job.

comment 1y ago · link · parent

This is a public forum read by millions of people

comment 1y ago · link · parent

"I didn't call you creepy, I called your behavior creepy".

This is just rhetorics.

comment 1y ago · link · parent

Does this really take so much imagination? They used their Google account for signing up to everything else, so when they lost access to the Google account they were locked out of everything else as well.

comment 1y ago · link · parent

Doesn't deleting old kernels defeat snapshots? You do a system update, you get a new kernel, you delete the old ones, now all snapshots that depend on that older kernel are busted, what am I missing?

comment 1y ago · link · parent

What's the current state of the art on this? Last time I looked it was really not trivial, because of two things:

1) there is only one bootloader (grub2) that can load kernels from encrypted /boot partitions, but the support for that is limited, you have to use a weaker encryption if I remember correctly, AND decryption speed (after entering the luks password) is super slow, because the CPU extensions that speed that up (AES) are not yet online that early in the boot process

2) you can choose to not encrypt /boot, and have it as a separate partition, but now your btrfs snapshots will not include the kernel, so restoring after kernel upgrades is going to break your system

comment 1y ago · link · parent

No.

The structs sqlx creates through the macros are unnameable types, they are created on the fly at the invocation site. This means you can't return them without transforming them into a type you own (you declared), either through the FromRow derive, or writing glue code that associates this unnameable type's fields to your own struct's fields, leading to the boilerplate I was referring to. This is very specific to sqlx, don't try to dilute this into "other libraries are similar".

If you choose to forgo the macros, and use the regular .query() methods, then the results you get are tied to the lifetime of the sqlx connection object, which makes them unergonomic, which is again very specific to sqlx.

comment 1y ago · link · parent

I'm just even more confused now

comment 1y ago · link · parent

I have absolutely no idea what I'm reading, can anyone elaborate? I had some very similar thoughts when I was high on psychedelics.

comment 1y ago · link · parent

Sqlx is completely lacking in the query composability department, and leads to a very large amount of boilerplate.

You can derive FromRow for your structs to cut down the boilerplate, but if you need to join two tables that happen to have a column with the same name it stops working, unless you remember to _always_ alias one of the columns to the same name, every time you query that table from anywhere (even when the duplicate column names would not be present). If a table gets added later that happens to share a column name with another table? Hope you don't ever have to join those two together.

Doing something CRUD-y like "change ordering based on a parameter" is not supported, and you have to fall back to sprintf("%s ORDER BY %s %s") style concatenation.

Gets even worse if you have to parameterize WHERE clauses.

comment 1y ago · link · parent

So wrong.

There are protocols like zwave, zigbee, and possibly others that not only not need wifi passwords, they don't even need an IP address.

comment 1y ago · link · parent

>so I became an employee, but that turned out to be a massive step back in terms of income. Despite the fact that I worked closely with lots of stakeholders and solved complex problems for them, their internal rules didn't allow them to pay me as more than a code monkey.

Surely there was a negotiation step before signing contracts? What happened there? What was the blocker that did not "allow" them to change their own internal rules that they themselves control? Surely there is a way to do that.

>I left, they ruined the application (it's apparently slow as molasses now), and now I'm about to go back

Then state what you want before going back, if it's important for them they will find a way. Don't accept these kinds of zero effort "oh our policy doesn't allow us to pay you more" explanations.

comment 1y ago · link · parent

There is already a well known way of using your clipboard (C-c, C-v), what is so special about LLMs that makes this unusable?

comment 1y ago · link · parent

I'm sorry for the snarky response, but:

You don't.

If your app needs to do that, you instruct the user to select the text, and press C-c. We should not allow crap like this because they are too dumb to understand these instructions, or because your app is so special it just needs to do this on a click.

comment 1y ago · link · parent

How does the website put the command in your clipboard? I thought js does not have the ability to modify your clipboard?

comment 1y ago · link · parent

Not allowing giant corporates to do bait and switches with impunity is not a revolution.

comment 1y ago · link · parent

The framework that exists is crap and should be replaced with something where you as a consumer should not have to watch the eula changes like a hawk, and then the onus should not be on you as a consumer to do extra work to get refunded for a bait and switch.

comment 1y ago · link · parent

Why is a reddit "moderation tool"? Phrasing it this way makes it seem like it's some side effect, like they want to shift responsibility away.

It is reddit that decided to flag it like this.

comment 1y ago · link · parent

I know there is some rule about commenting about this on HN, but a website about "buy European made" that immediately starts with _two_ cookie banners about "Your privacy rights under _US_ state privacy laws" does seem weird. (I'm not in the US)

comment 1y ago · link · parent

Yeah, I change it to the Chrome UA

comment 1y ago · link · parent

I just gave two examples above.

comment 1y ago · link · parent

My experience is that anything that tries to tamper with the UA will send CF into a frenzy.

My regular firefox instance is pretty much okay. Unfortunately there is a bunch of super popular crapware shit like Teams and Slack that refuses to properly work on Firefox, unless you tweak the UA. The last time I had to do this was about half a year ago, but Slack refused to let me "huddle", unless I changed my UA. Same with Teams, it straight up said I need to install chrome if I want video chat.

Any time I forgot to change back my UA, CF would not let me in anywhere. I got the captcha, clicked on it, it said "all good", reloaded the page, and I got redirected back to the captcha. Endless loop.

comment 1y ago · link · parent

This is very handwave-y and idealistic. Sure, 8 billion humans, and thousands of companies on a cosmic timeline will lift the "most capable entity" to the top, but the road there is going to be extremely long if you just "nah they'll get it" and not do anything else.

comment 1y ago · link · parent

Another uphill struggle is cloudflare. Get ready for sites being unavailable because of CF, and endless captchas that make you wonder if they even work.

comment 1y ago · link · parent

Cognito and Auth0 are so popular because 1) somewhere in the past 5 years developers got bullied into believing that doing authentication is now hard, high risk, dangerous, hard to get right, and all kinds of scare words in the name of the security theater, and, 2) there are a lot of incompetent people who somehow don't understand that you should not put your database on the public internet without authentication.

Just outsource all of that to us, we will all take care of all that very hard work for you, really, just 5.99$/month at first, and when we inevitably get hacked, because actually it's us that have no fucking idea what security is, since we only understand security theater compliance language, you can point your fingers at us so you don't get fired, and we will wash our hands with some vague PR words. Win win.

1
1213141516