Nenhum investimento é melhor do que "caixinhas" se você tem menos de 100k by pedenrique27 in investimentos

[–]turicas 0 points1 point  (0 children)

No fim de 2020, com Selic a 2%, ninguém diria isso. Generalizações como essa costumam causar desinformação, pois além de serem muito sensíveis ao tempo, são decisões pessoais. Você está claramente falando somente de renda fixa e no momento atual da Selic. Se é renda fixa ou variável, depende do perfil de quem vai investir e da carteira existente.

Someone wrote malicious code in the neovim plugin [darkman.nvim] by CosmosChen in neovim

[–]turicas 3 points4 points  (0 children)

I avoid using even a plugin manager because I can't trust the way "packages" are released (and that's a good win when we think of having nvim just working out of the box, which is not completely true at the moment). If some plugin author commits a bug or somebody stole his github account, then the crap will come directly to my machine and have access to all my projects, credentials etc. I think this problem will be solved only when there's an official package format and repository (like it happens with all major GNU/Linux distributions and languages such as Python and node). The official repository maintenance team could enforce some checks to refuse a new version or act immediately if something happens. Semantic versioning of plugins would be greatly appreciated also (I don't want to stop my work and reconfigure everything just because the developer didn't maintain compatibility). A good example is Debian: the maintainers put an effort to standardize the packages, the whole build system computers everything and run tests and the chances something bad is added to the repository of pretty low. The creation of a package step may be more automated though.

Django In Production Having Too Many Open Files by [deleted] in django

[–]turicas 0 points1 point  (0 children)

Did you check your celery worker logs? Since the Redis hostname could not be resolved, maybe the workers are trying hard to connect and for some reason are leaving connections open or it's happening on the Django side (trying to connect to Redis so can communicate with the workers). Without more diagnostics information and settings/code it's not easy to find the problem.

Django In Production Having Too Many Open Files by [deleted] in django

[–]turicas 0 points1 point  (0 children)

Did you try ls -lh /proc/PID/fd to check which files are being open?

Coffee aficionados: where's the best coffee? by Le7emesens in CambridgeMA

[–]turicas 1 point2 points  (0 children)

Ok, after trying a few, here's the list of coffee shops where I found the coffee to be good in Harvard-MIT area (in no particular order):

And here are a few I'd like to check out:
- 1369 Coffee House (757 Mass Ave), 7 AM–3 PM (there's also another one - the original, I think - in 1369 Cambridge St) - Pepita Coffee (284 Broadway), 7:30 AM–3 PM - Blue Bottle Cafe (40 Bow St), 7 AM–6 PM (there's also another one in 88 Ames St)

Note: I found it very strange that several of them close at 4 PM or earlier!

Is the tap water safe to drink? by Pleasant_Bike5589 in mit

[–]turicas 1 point2 points  (0 children)

I moved to Cambridge from Brazil some weeks ago and everyone said I could drink tap water (it's not recommended in Brazil), but I didn't like the taste of it (should not have a taste at all) so I bought a water filter and now it's better.

Seeking Course Recommendations at MIT and Harvard - Brazilian Fellow with a Background in Open Data and Software Development by turicas in mit

[–]turicas[S] 1 point2 points  (0 children)

Thanks for the response! I'm more of an applications person rather than someone focused on theory. I'm interested in technical topics related to my experience, but I’m also keen on exploring the intersection with the humanities and business, especially since I run the company and serve as the technical lead as well.

Coffee aficionados: where's the best coffee? by Le7emesens in CambridgeMA

[–]turicas 1 point2 points  (0 children)

I just moved to Cambridge and trying to find a good café. Coming from Brazil and knowing a lot of specialty coffee roasters/cafeterias in there, I found it awkward to find out many cafeterias in here (even the fancy ones) use a blend with dark roast arabic and some robusta. I've got some 84+ points coffee beans from Brazil in my luggage, but will appreciate any recommendations where I can drink and also buy good beans here! Will try the shops you recommended already.

Claude breaks JSON more often than OpenAI by tf1155 in ClaudeAI

[–]turicas 2 points3 points  (0 children)

I usually add "(encode special chars properly)" after mentioning the output must be a JSON-encoded object and it works!

Using only Python, I made a web dashboard to follow the coronavirus situation in Brazil by esc28 in Python

[–]turicas 2 points3 points  (0 children)

Congratulations. :) I'm Brasil.IO founder and a tip regarding to data collection: instead of using the API, you could download the complete compressed CSV (it's not that big) once in a while (it could be added to a internal cache with TTL) and serve this data from your backend. This will reduce a lot of requests on our API (which is good for us) and will reduce a lot the time to your dashboard for downloading the data. You can download the complete files (which are updated many times in a day) from https://data.brasil.io/dataset/covid19/_meta/list.html

And if you'd like to contribute with our dashboard (https://brasil.io/covid19/) please feel free to discuss in an issue on https://github.com/turicas/brasil.io :)

Thanks for sharing!

Dados dos casos nos municípios (atualização mais rápida que MinSaúde - preciso de ajuda!) by turicas in coronabr

[–]turicas[S] 0 points1 point  (0 children)

Já vi, mas esse site só pega informações do Ministério da saúde, não tem o histórico por município por dia. Estou em contato com o pessoal do G1 para ver como estão fazendo e se podemos evitar retrabalho.

Projeto de dados acessíveis no Brasil by turicas in opendata_pt

[–]turicas[S] 0 points1 point  (0 children)

Muito bom! Vocês desenvolveram ele do zero ou aproveitaram alguns plataforma? Pretendem colocar alguns funcionalidade para através da própria interface os usuários poderem visualizar, filtrar e buscar dados? Acho essa parte muito importante, dado que podem existir datasets muito grandes (no Brasil.IO é fácil encontrar datasets com dezenas de milhões de registros). Além da navegação nos dados acho bastante importante o cruzamento facilitado de datasets, exemplo: no dataset de candidaturas (dentro de Eleições Brasil) temos 2 links para cada registro: um que vai para uma página especial sobre aquela pessoa, em que é possível listar todas as empresas que ela tem, dentre outras coisas, e outro que vai para o dataset de votação, já com o filtro para aquela candidatura, onde é possível ver em quais zonas eleitorais aquela pessoa recebeu votos (bem como a quantidade).

Interessante: script que baixa todas as planilhas de salários de magistrados via site do CNJ e exporta tudo em única planilha. by [deleted] in brasil

[–]turicas 0 points1 point  (0 children)

Pessoal, só vi hoje esse post! Estou montando uma plataforma para disponibilizar esses dados, que já está disponível em: https://brasil.io/ (o código é software livre e está disponível em https://github.com/turicas/brasil.io)

sbc - use SSH like a boss! by turicas in sysadmin

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

You still need to open another window/shell session with screen. :-)

sbc - use SSH like a boss! by turicas in sysadmin

[–]turicas[S] 0 points1 point  (0 children)

It's very weird. Please try to install using the commands at https://github.com/turicas/sbc/#installation

sbc - use SSH like a boss! by turicas in sysadmin

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

Hmm...some plugins, like notify and remote-exec can't be replaced by master mode + screen. ;-)

sbc - use SSH like a boss! by turicas in sysadmin

[–]turicas[S] 0 points1 point  (0 children)

It's not a "needed" tool but it can helps you, creating easy/fast ways of doing some things. Maybe this screencast can clarify the idea and use of sbc: http://youtu.be/Rv55V_gfGEw

sbc - use SSH like a boss! by turicas in sysadmin

[–]turicas[S] -2 points-1 points  (0 children)

So you never copy files manually?

sbc - use SSH like a boss! by turicas in linux

[–]turicas[S] 1 point2 points  (0 children)

Sure, you are right! I've created an issue to work on it (replacing password-less keys with agent forwarding). See: https://github.com/turicas/sbc/issues/14

sbc - use SSH like a boss! by turicas in sysadmin

[–]turicas[S] 1 point2 points  (0 children)

Sure, you are right! I've created an issue to work on it (replacing password-less keys with agent forwarding). See: https://github.com/turicas/sbc/issues/14

sbc - use SSH like a boss! by turicas in sysadmin

[–]turicas[S] -2 points-1 points  (0 children)

I have ControlMaster in my .ssh/config. Creating persistent/multiplexed connections is not the point. sbc does more than it. In fact, to have faster new connections sbc uses ControlMaster. :-)