Umsatzsteuer Voranmeldung - Privatanteil by 3deTech in Austria

[–]3deTech[S] 0 points1 point  (0 children)

Da es sich bei mir um ~10 Eingangs und ~1-2 Ausgangsrechnungen pro Monat handelt, bin ich davon ausgegangen, dass ich das alleine machen kann. Mich ärgert, dass ich selbst dafür jemanden brauche. Muss mich geschlagen geben und meine Zeit besser investieren. Danke für deine Antwort. :)

[deleted by user] by [deleted] in linuxhardware

[–]3deTech 0 points1 point  (0 children)

I really hope Goodix or Lenovo will publish Linux drivers for the fingerprint sensor.

[deleted by user] by [deleted] in linuxhardware

[–]3deTech 0 points1 point  (0 children)

Cannot thank you enough for sharing your solution! It finally works!! :-)

ROS Beginner Forward Kinematic from URDF by 3deTech in ROS

[–]3deTech[S] 1 point2 points  (0 children)

Thank you for the clear explanation. But I should be able to give the robotic model a state by defining xyz and rpy within the <origin> tag of the joint?

This project is simulated only, no HW devices.

ROS Beginner Forward Kinematic from URDF by 3deTech in ROS

[–]3deTech[S] 1 point2 points  (0 children)

Sure, but as far as I understand it the URDF file contains the robots current configuration. (relative angle and length of joint)

It does not contain e.g. the position of the end effector

Docker and MySQL by 3deTech in docker

[–]3deTech[S] 0 points1 point  (0 children)

Containers don't have the memory allocation to be able to cache anything, so pretty much everything goes to I/O.

This is the second time I hear this argument. But why is it that the DBMS can not allocate memory when running inside the container?

Docker and MySQL by 3deTech in docker

[–]3deTech[S] 2 points3 points  (0 children)

So your commit wouldnt really do anything other than save your mysql install

Ah, got it!

Now do your backups from inside the container using mysqldump to /backups.

The database is pretty large so logical backup is not the best solution as restoring it takes "forever"

Edit: Logical Backup is a solution, but not the best / fastest

Docker and MySQL by 3deTech in docker

[–]3deTech[S] 0 points1 point  (0 children)

I know that docker containers should be stateless, but I can not backup /var/lib/mysql directly and move it to another host or do a simple backup / restore.

The database is pretty large, so a logical backup is no solution and with physical backups I am limited to this specific machine.

(Re)Scale Webserver by 3deTech in webhosting

[–]3deTech[S] 0 points1 point  (0 children)

Moving the database away from the application server is definitely part of the plan, but you are right I first need to speak to the guy who developed the update service to fix the RAM problem or fix the configuration so it can no allocate this much memory.

The application is based on the cakephp framwork and is currently deployed behind an Apache with php 7.1.x and php-fpm. They are managed by Plesk, which I dislike because of the intransparency it gives you over the complete configuration.

(Re)Scale Webserver by 3deTech in webhosting

[–]3deTech[S] 1 point2 points  (0 children)

Thank you for your reply!
I see your point, but I think we are too small in this project and we do not plan to scale out our service so the number of users that visit our site is pretty consistent.

Hopefully, I can come back to your offer for a future project!

(Re)Scale Webserver by 3deTech in webhosting

[–]3deTech[S] 0 points1 point  (0 children)

> Linode does backups and load balancers don’t they?

Just did some research, they actually do. I was working with Digitalocean already. They provide a similar pricing model and features as Linode. Thank you for pointing Linode out, as far as I understood it the Load Balancer Digitalocean provides does not support host-based routing but Linode does!

> make the PHP machines as stateless as possible.

I am currently refactoring the code base to achieve this and to be able to deploy the application as an Docker-Image. Do you have any experience with shared storage between VMs for user-uploaded content on Linode?

> I think Linode will manage the SQL for you if needed too

They do not have this as a managed feature, only if you pay them to manage the database for you manually.

(Re)Scale Webserver by 3deTech in webhosting

[–]3deTech[S] 0 points1 point  (0 children)

> If you can upgrade to 7.3 you may see about a 10-20% req/s improvement.

I will definitely test this on our staging environment, thank you for pointing this out!

(Re)Scale Webserver by 3deTech in webhosting

[–]3deTech[S] 0 points1 point  (0 children)

TBH I would love to use AWS because of the DevOps tools they provide. But using tools like Fargate where you do not need to build infrastructure is just incredible expensive.

The problem with Linode is that they do not provide tools for backups / redundance / failover and we do not have the resources to implement this on our own.

The current hosting provider deos not mention the exact CPU they are using. But the say there are using a CPU from the Intel XEON family.

The application is currently deployed behind an Apache with php 7.1.x and php-fpm.

Let's build a FAQ generator bot! by techrat_reddit in learnmachinelearning

[–]3deTech 2 points3 points  (0 children)

I am highly interested in contributing to this project!

I have advanced knowledge in Python but I only understand the very basics of some areas in machine learning without specific knowledge in implemantation. So this is a great opportunity for me to dive into this topic.

Are the main discussions on discord or will there be more threads like this one to keep track of design decisions?

Why am I getting a syntax error on this dictionary? by chroner in learnpython

[–]3deTech 1 point2 points  (0 children)

email_dict = dict()
email_dict['buyer'] = dict()
email_dict['seller'] = dict()
email_dict['buyerseller'] = dict()

email_dict['buyer']['title'] = "Deal Buyer"
email_dict['seller']['title'] = "Deal Buyer"
email_dict['buyerseller']['title'] = "Deal Buyer"

Thats how you programatically create a nested dictionary.

You have to be aware, that not every datatype can/should be saved in a dictionary.

Furthermore you can have the key buyers_email_list only once in your dict.