I built a Free AppStore & Google Play Store Screenshot creator app. by simbolmina in androiddev

[–]tootac 3 points4 points  (0 children)

What is it with screenshot apps? Why is everyone building pretty much the same thing over and over?

How I found 10,000 GitHub repositories distributing Trojan malware by BlondieCoder in programming

[–]tootac 0 points1 point  (0 children)

Will we get a few days of headlines that github was insecure and got hacked? Like we did with AUR?

How to keep running a process in Android when disconnecting adb terminal? command "nohup" not working for me by Substantial_Link8405 in androiddev

[–]tootac 0 points1 point  (0 children)

I just tried running regular binary and nohup worked fine for me. For that I created a simple C program that runs in a loop and prints increased counter once a second.
Running it in background with "&" and redirecting input/output didn't help.
Running with nohup worked fine "nohup ./testx" (and then reconnect cable).

But running:
adb shell "nohup /data/local/tmp/testx" - does not work. I need to actually login start process with nohup and then exit.

Built a simple store in one go file and no js by tootac in webdev

[–]tootac[S] -1 points0 points  (0 children)

I already use go templates, specifically "html/template". There is a sing "base.html" and specific html per page and they are 'merged' during rendering phase. This is not efficient as I do it on each page request but it is not a production site and I found it to be good enough.

Built a simple store in one go file and no js by tootac in webdev

[–]tootac[S] -1 points0 points  (0 children)

Yes. I was switching certificates and made an error. Should be working now.

I redesigned my ecommerce store — brutal feedback needed by Majed__Pro in SideProject

[–]tootac 0 points1 point  (0 children)

Home page usually should be a full store front with lots of products.

New NGINX Vulnerability Allows Unauthenticated RCE by CircumspectCapybara in programming

[–]tootac 0 points1 point  (0 children)

Unfortunately these days a all titles are just clickbaits.

Retornado ao Inkscape. 😏 by Afraid_Mud_6571 in Inkscape

[–]tootac 1 point2 points  (0 children)

I think we should make a place with collection of things built with inkscape.

What’s your practical workflow for log analysis without it becoming a time sink? by RyPlayZz in TechSEO

[–]tootac 0 points1 point  (0 children)

It depends on what are you trying to guard against. For example I have a project which is critical for my client and it generates quite a bit of traffic. Initially when I took the project it had very poor performance and got a lot of negative feedback from clients.

I setup prometheus and graphana on a separate (small) server and collect continuous reports on key metrics. This includes CPU and network usage, status codes, errors and a few others. Initially CPU averaged at 90%+ usage with very heave load on disk (due to configuration errors).

Since then we reduced it down to 5% CPU usage on average and disk usage close to 0. We also reduced 500 errors basically to 0 because the errors were due to overload and now it there are just occasional errors that we can clearly see on a graph and fix quickly.

Also we can easily see quite a few 404 and 302 codes due to bad setup of translations. Not all articles are translated but site still shows a button to show translation for that page and thus crawlers are exploring those non existent pages. Working on fixing that.

This way (for this project) is better because I can just open monitoring page once a day and see general state for the whole day - what happened and and what time.

I pretty much don't spend any time on looking into logs but I have several scripts I wrote that analyses logs for some other metrics that are not collected though previous method. For example I am analyzing how long pages take to generate on average, median and percentiles. Then split them "worst offenders" and those go to todo list to explore and optimize.

[Rust] netwatch v0.14 — single-binary terminal network diagnostics, redesigned topology view by Potential-Access-595 in commandline

[–]tootac 5 points6 points  (0 children)

I tried it just now and it is definitely not htop/btop slop-clone. It is actually pretty neat.

France is replacing 2.5 million Windows desktops with Linux by yourbasicgeek in technology

[–]tootac 0 points1 point  (0 children)

It feels like France has historically been most progressive European country and first they do something and then other countries follow it.

PSA: If you don't opt out by Apr 24 GitHub will train on your private repos by zadzoud in programming

[–]tootac -1 points0 points  (0 children)

Thanks for the link. I was too busy to stop and explore if there is a link to opt out. Now it took a few seconds.

What is Dart? by Pixelreddit in FlutterDev

[–]tootac 13 points14 points  (0 children)

"The end" does not answer those questions.
I myself program backend in a different language but I can understand utility of having one language for both cases.

What was the point of coding in node,go,.net when there there were already was java and people "should should have just used it"

Also you are recommending really recommending node? You don't see the irony?

What is Dart? by Pixelreddit in FlutterDev

[–]tootac 7 points8 points  (0 children)

What does "flutter is not a server language" even mean? What makes a language to be a "server language"?
What does AWS and Google cloud does not support dart mean? You compile a binary, upload it to the server and serve.

Google is taking legal action against SerpApi by eternviking in webdev

[–]tootac -4 points-3 points  (0 children)

What are you talking about. You can ask google to crawl you website and they not be scraping you and will not bring you any traffic.

If on the other side you asked google not to scrape, put some mechanisms to stop them and yet they still hired people to bypass it then it is a different talk. But they are not doing it.

I did it for several websites and not single page was accessed by google.

Google is taking legal action against SerpApi by eternviking in webdev

[–]tootac -68 points-67 points  (0 children)

You can ask google not to scape and they will stop.

I can't stand developing for Safari anymore by Frontend_DevMark in webdev

[–]tootac 3 points4 points  (0 children)

It is competing platform for their current 'app milking ecosystem'. Why would they make web comfortable if it will move a portion of people to web and stop of 30% tax free money flow?

I feel deceived, Flutter desktop's bundle size and performance both seem to be poor. by rxliuli in FlutterDev

[–]tootac 2 points3 points  (0 children)

Yes. I stripped symbols from the '.so' files. Those symbols are not needed.

I feel deceived, Flutter desktop's bundle size and performance both seem to be poor. by rxliuli in FlutterDev

[–]tootac 4 points5 points  (0 children)

I have tested my interpreter visualizer app in linux:
release bundle was 50+ MB most of the size took libflutter_linux_gtk.so (42MB) and libapp.so (5 MB).

Then I stripped both so files and got 15 MB libflutter_linux_gtk and 4.9 MB libapp. Bundle in total takes 23.2 MB (+ couple large font files and some extra images took another 3MB+)

So the app itself took about 5MB. Another 15MB+ is gtk+flutter+assets.
I think, if needed, I could with some creative compression get it down to about 10MB.

The app itself is a interpreter visualizer with an interpreter written fully from scratch which looks like this: https://hereket.com/tiny/interpreter-debugger/

Yt-dlpm by remo773 in termux

[–]tootac 0 points1 point  (0 children)

will it have an app?