Better HN
topnewbestaskshowjobs
Log inSign up

blablablub

146 karma · joined Jun 17, 2017 (9y ago) · 45 submissions

Submissions

comment 3y ago · link · parent

Good, back to do some real work.

comment 3y ago · link · parent

tried that...done that... blocked The last rule of the GFW is: If you don't know what this traffic is or it looks suspicious, block it.

comment 3y ago · link · parent

all https traffic to servers outside of china gets slowed down to a crawl after the first MB of send data.

comment 3y ago · link · parent

any ssh traffic that does not look like ssh traffic (few bytes send to server, some more bytes returned) gets either terminated or slowed down to a crawl

comment 3y ago · link · parent

using ssh for proxying is getting blocked within the first minute.

comment 3y ago · link · parent

Wireguard is detected within the first minute of usage and blocked. The ping is a dead giveaway.

comment 3y ago · link · parent

For people who like multitreaded forks, you can also have a look at tendis and kvrocks https://github.com/Tencent/Tendis https://github.com/apache/incubator-kvrocks

comment 3y ago · link · parent

It is amazing, otherwise it would just be normal

comment 3y ago · link · parent

i have the 65B model running fine on my 48GB Ryzen 5.

comment 3y ago · link · parent

thanks

comment 3y ago · link · parent

So what hardware do we need to run this model?

comment 3y ago · link · parent

This guy is the first search result when searching for his name. What is all the fuss about?

comment 4y ago · link · parent

If you use fail2ban and asterisk you will probably have to rewrite the asterisk regex rules in fail2ban. Not a big thing, but it will probably not work out of the box.

comment 4y ago · link · parent

Any nice movie about this?

comment 4y ago · link · parent

A lot of talk about the Apple tax of 30%. But who is actually paying the vat of the purchase price? The developer or apple? If it is Apple, then with VAT rates of ~20% in the EU, a 30% cut all of a sudden does not sound so unreasonable.

comment 4y ago · link · parent

Why does zooming into a map decrease the font sizes for street names?

17.

At what point is the internet too big for Google to index it?

11 points · by blablablub · 4y ago · 16 comments

comment 4y ago · link · parent

As per your other answer, websocket connections are established just fine

"Now, whenever a new Webhook response comes ... it doesn't have information regarding which instance was used earlier for making the websocket connection, it may send request to one of the instance where the connection was not established and thus our backend is not able to process this request from this particular instance."

just include the internal ip of the websocket connection to the data you send to your billing operator and then forward the post request appropiately.

comment 4y ago · link · parent

Easiest way is to check on the client side if the websocket connection is established, if not, just try to reconnect after a couple of seconds. Maybe there is a problem on the backend that dns is faster than establishing a new instance, so retrying is your best option.

comment 4y ago · link · parent

" the connection is not getting established all the time" Which connection does not get established? The webhook connection to your backend or the websocket connection to your backend? Or do you get a webhook response, but failing to send a response via websocket?

comment 4y ago · link · parent

No they didn't. Shanghai's testing capacity is around 2m/day.

comment 4y ago · link · parent

China distinguishes between asymptomatic and "confirmed" cases. In the last 10 days there were around 140k asymptomatic cases - those are shipped to the makeshift hospitals "quarantine centers" you see on TV.

During the same time there are around 5k cases with symptoms, as i understand all confirmed with a chest x-ray scan(?). Those go into the covid hospitals, which are now overflowing.

Do all of those need to go to a hospital? I don't know. But on the pictures you see mostly elderly people, and the vaccination rate among those is about as high as in HK

comment 4y ago · link · parent

still waiting for approval in China. I guess it might eventually happen after China approves their own locally made mrna vaccine.

comment 4y ago · link · parent

What you wrote is absolutely not true. No one gets foreign vaccines(mrna) in China.

comment 4y ago · link · parent

Why do you post a video from Wuhan and say in your post that it is from Shanghai?

comment 4y ago · link · parent

The current omicron cases are already overloading the health system in Shanghai. and that are only about 5000 cases.

comment 4y ago · link · parent

What are the possibilities for an average russian citizen to leave russia and start over somewhere in the west? How about visas? Does anyone know?

28.

Warner Bros. sued 70yr old without a PC or PC knowledge for torrenting and won(freifunkstattangst.de ↗)

5 points · by blablablub · 5y ago · 1 comment

comment 5y ago · link · parent

For the plebs among us https://www.youtube.com/watch?v=EQK9m_OBVgY

comment 5y ago · link · parent

For a couple of persons team it is important to keep the changes small, so errors can easily identified. That means daily or bi-daily upgrades. It also helps if you focus on a certain small project and finish that, before moving on to the next project.

SVN checkout development, meld into testing. Copy production db into testing. Run a db upgrade script in testing. Test the new function for a day. If all ok stop the production HAproxy at 3am. run production DB backup, Checkout testing into the production server. mount the new dir into the NGINX path. Upgrade+start the DB, start production HAproxy.

Except for the meld and testing part, this is all automated.

A rollback on the app servers is pretty simple, just remount to the previous location. Even though there is a backup of the DB, a rollback there is not really feasible.

Everything is running in LXC containers, which I treat as cattle. Creating new ones is either automatic based on time/demand/failover or a few clicks in a custom web interface. HAproxy automatically pics them all up via DNS.

SVN and production DB are always backed up nightly and copied to a S3 compatible storage. Everything older than 6 months gets deleted. All the free space on the servers is globbed up with glusterfs to give a decent amount of fast,free storage.

Using Bash as scripting language, there is literary no problem in devops which hasn't been solved with bash and the solution is somewhere in the internet.

12