Better HN
topnewbestaskshowjobs
Log inSign up

63stack

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

Submissions

comment 1y ago · link · parent

Can you elaborate?

comment 1y ago · link · parent

Is there a specification somewhere for the sync server that you followed, or did you figure out the endpoints/logic by looking at mozilla's sync server?

I was thinking about taking a crack at this as well, but I can't find a spec, and I want to leave looking at the python/rust sync server source code as a last resort.

comment 1y ago · link · parent

Climate change is already a pretty good precedent on this

comment 1y ago · link · parent

The default is quite the opposite. Whether fetch sends credentials is controlled by the 'credentials' option, which defaults to "same-origin".

https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API/U...

comment 1y ago · link · parent

Was thinking the same, the image slide-ins are broken in firefox and unreadable (white text on white background)

comment 1y ago · link · parent

Sounds like the interview process needs to be improved then?

comment 1y ago · link · parent

I see this line of "I need to assess your thinking, not the AI's" thinking so often from people who claim they are interviewing, but they never recognize the elephant in the room for some reason.

If people can AI their way into the position you are advertising, then at least one of the following two things have to be true:

1) the job you are advertising can be _literally_ solved by AI

2) you are not tailoring your interview process properly to the actual job that the candidate will need to do, hence the handwave-y "oh well harder problems will come up later that the AI will not be able to do". Focus the interview on the actual job that the AI can't do, and your worries will disappear.

My impression is that the people who are crying about AI use in interviews are the same people who refuse to make an effort themselves. This is just the variation of the meme where you are asked to flip a red black tree on a whiteboard, but then you get the job, and your task is to center a button with CSS. Make an effort and focus your interview on the actual job, and if you are still worried people will AI their way into it, then what position are you even advertising? Either use the AI to solve the problem then, or admit that the AI can't solve this and stop worrying about people using it.

comment 1y ago · link · parent

Neovim is 100% backwards compatible with vim, if you miss your old config it still works, OPs problem has zero to do with neovim. You could also just keep using vim.

comment 1y ago · link · parent

Anything that depends on the SafetyNet API will not run if your android build does not pass the checks, the list is much much bigger than "just google wallet". Whether a rom passes safetynet or not very much depends on what google considers blessed today, and what they will consider blessed in the future.

comment 1y ago · link · parent

I don't understand how this game gained so much popularity, because it's impossible to get any kind of reliable information in this game. For example, you have an ability that let's you ask the game master (in private) about whether one person is evil or not (their alliance). The game master is going to give you an answer, BUT it's possible that the answer is not the truth, because:

* you are drunk (which you don't know about)

* you were poisoned that night (which you don't know about)

* the target might be protected in some way (which you don't know about)

* some powers literally let the game master decide if they work or not (you will not be told it did not work)

Imagine the first few nights of mafia style games, where nobody knows anything, so everybody is just going on hunches and feelings. That's Blood on the clocktower for almost all the nights.

comment 1y ago · link · parent

They have sold millions of faulty joycons (referring to drift), when the solution was already available (hall effect sticks) but it would have cost them an extra $1 per joystick, reselling games that came out in 2010 for $60 today, and using DMCA to bully youtube channels that show videos of their games are some morally reprehensible things from the top of my head.

It does not entitle anyone to pirate their games, but taking your words, Nintendo is not exactly starving either, they could have spent the extra $1 on the joycons to fit them with non drifting sticks. Even if you use their replacement program, you just get another joycon with the same stick.

comment 1y ago · link · parent

Let's call this what this is, it is "below terrible" instead of "anything close to optimal". It's an interesting tidbit from a game theory perspective, but telling your child who is getting beaten up to not worry and play the long game is 1) horrible, 2) only works if everyone else in the game is rational. I don't remember bullies getting into trouble and stopping.

comment 1y ago · link · parent

You don't need any of this, and the article is completely bogus, having a port forwarded to a database in a container is not a security vulnerability, unless the database has a vulnerability. The article fails to explain how they actually got remote code execution, and blames it on some docker container vulnerability, and links to a random article as a source that has nothing to do with what he is claiming in the article.

What you have to understand is that having an immich instance on the internet is only a security vulnerability if immich itself has a vulnerability in it. Obviously, this is a big if, so if you want to protect against this scenario, you need to make sure only you can access this instance, and you have a few options here that don't involve 3rd parties like cloudflare. You can make it listen only on the local network, and then use ssh port tunneling, or you can set up a vpn.

Cloudflare has been spamming the internet with "burglars are burgling in the neighbourhood, do you have burglar alarms" articles, youtube is also full of this.

comment 1y ago · link · parent

It's funny that you said TFA a few comments earlier, because you seem to have not read the article either, or are making some great leaps here.

If the break in happened as you would explain the article would also mention that:

* the attacker gained access to the postgres user or equally privileged user

* they used specific SQL commands to execute code

* would have not claimed the vulnerability was about docker containers and exposed ports

And the take away would not be "be careful with exposing your home server to the internet", but would be "anyone with admin privileges to postgres is able to execute arbitrary code".

comment 1y ago · link · parent

>The story would have been no different if OP had created an Alpine Linux container and exposed SSH to the internet with SSH password authentication enabled and a weak password.

What? The story would have been VERY different, obviously that's asking for trouble. Opening a port to your database running in a docker container is not a remote execution vulnerability, or if it is, the article is failing to explain how.

comment 1y ago · link · parent

I feel like you and grandparent are the only people who read the article, because I'm wondering the same thing.

The article never properly explains how the attack happened. Having a port exposed to the internet on any container is a remote execution vulnerability? What? How? Nobody would be using docker in that case.

The article links to a blog post as a source on the vulnerability, but the article is a general "how to secure" article, there is nothing about remote code execution.

comment 1y ago · link · parent

Easier to wire up services to each other with domain names, serviceA.domain.tld is obvious, domain.tld:1234 is not

comment 1y ago · link · parent

Surely you didn't memorize the entire 3rd party ecosystem of a programming language?

comment 1y ago · link · parent

I think you are seeing the world through different lens as well (we all are?)

Growing up in Hungary, your options in "drone-like" jobs are:

a) put up with the ever increasing demand from your boss, making sure you keep hitting your quotas (eg. items scanned/minute)

or

b) get fired, and they will get the next person to do your job from the 1000 other desperate applicants.

comment 1y ago · link · parent

Can you show an example where you have 4 possible fields to filter on, and then one more where the sorting field is dynamic? (Not the value, but the column)

comment 2y ago · link · parent

Web search has never been about this, where are you getting this fable from? It was about finding pages that include certain words, why would you overmistify this.

comment 2y ago · link · parent

You could have said "two people decided to have sex, you were not born randomly", and it would have had the same relevancy. The fact is that you had 0 input on where you will be born, so from your perspective, it was random. Everything else is just trying to play up a belief, religion, or some kind of woo as a ground truth.

comment 2y ago · link · parent

I think this is getting more and more common. I had a job where I had to work remotely through citrix, because the company didn't trust developers to have their own computers. I have also heard stories from others having to do the same. It's the most brain wrecking way to work due to the latency when typing.

comment 2y ago · link · parent

>It makes me wonder about the meta question about how to stop whatever the next iteration of this will be

My take: general computing will be gone.

There will be no way to run arbitrary code on any device.

You can see the screws already tightening at several places. Phones have various methods like safety net that is meant to "protect you", apps can now detect if they were sideloaded, bootloaders are locked.

DRMs are running with kernel level privileges, Microsoft requiring TPM on new releases of windows. There is pretty much one browser left (Chrome), so google can do whatever they want with the web. I'm sure they are already drafting out the next "web attestation" API, except this time they will do it in the dark instead of in the open.

DNS over https means that you can no longer block devices from phoning home on your own network.

There is a handful of companies controlling about 90% of the internet if not more.

comment 2y ago · link · parent

Depending on the version you are using, you might not even need to add it, someone else might just add it for you!

comment 2y ago · link · parent

Thanks!

comment 2y ago · link · parent

The article is about giving people the option to remove the built in phone app if they want to. The comment you replied to is saying that it would be useful for them, because they only get spam calls.

There is no need to bring responsibilities (or loved ones, or deliveries, or adults, or age) into this. Just accept it that some people will find it useful, and it will have zero effect on you.

comment 2y ago · link · parent

Then don't delete the phone app.

comment 2y ago · link · parent

Searching for "valve proton team" doesn't bring up much, how did you find a job ad from them?

comment 2y ago · link · parent

Isn't this what tabs are for? Or is this /s?
1
1213141516