HN user

avargas

104 karma

angelo@nivler.com

https://www.angelovargas.com/

Posts1
Comments33
View on HN

Apparently with the Ryzen processor, the slots are limited: "The Framework Laptop 13 with Ryzen™ 7040 Series processors has two fully capable USB4 ports, with the back left and back right Expansion Cards slots. The front left Expansion Card slot can handle both USB 3.2 and DisplayPort Alt Mode, while the front right Expansion Card can use USB 3.2. This does mean there is one Expansion Card slot that can't support the HDMI or DisplayPort Expansion Cards, and most OS's will provide a warning if you forget. You can charge your Framework Laptop through any of the four Expansion Cards as well.".

This is borderline a deal breaker for me.

One of the best ways I've managed latency with MySQL is basically this:

1) use persistent connections, let the OS handle them and tweak it to allow (both connecting server and mysql server). And never close the connection on the application side. (This could lead to potential deadlocks, but there are ways around it, like closing bad connections to clear thread info on mysql).

2) run the whole thing in a transaction, simply begin transaction or autocommit if allowed (same thing)

Doing so, when you are done rendering the content, flush it and send the correct signal to say nginx or apache to say it's done (like PHP's fastcgi_finish_request when working with FPM), and then run your commit. Obviously used when you can safely disregard failed inserts.

I currently live in Colombia and every once in a while, around 40-60% of packages drop. I noticed it was a peer connection in Miami, and almost all traffic went through there. Even if I went to an Argentinian IP, it would still go up north to Miami and then south (my guess is cheap residential peering connections). Anyways I basically got a server from a provider that bypasses this peer connection, and setup a VPN. When my internet starts misbihaving, I simply connect thru that VPN and it fixes the package loss. You adapt.

A bad sql query wouldn't do that. Look at their site, from the US, it calls cloud functions for a COP to USD conversion, on each place they render a currency (200+ requests just going to their homepage). I think it was built poorly, but that's just my opinion.

SEEKING WORK - Remote (US) - Full-Stack Developer Github: http://github.com/avargas Email: angelo@nivler.com Linkedin: https://www.linkedin.com/in/angelovargas Technologies: NodeJS, PHP, Python, Lua, AngularJS and more.

I have about 9 years of professional experience, working as a fulltime freelancer for the last 3. Most of my experience has been in Internet Marketing. My last client hired me to build a platform for purchasing traffic from multiple sources (Adwords, Taboola, Gemini) and handling massive amounts of data to help auto optimize media buying. I've also dealt with random problems, like having to write Lua inside Nginx in order to do real-time bot detection alongside ZeroMQ for offsite processing at massive scale. I love to solve problems.

ZeroMQ is amazing. A few years ago I built a prototype project for a client that basically was fail2ban but scalable. It monitored nginx logs and broadcasted some information, and workers did the rest. Most of the data was in memory and passed around, and communication was done via ZeroMQ. It was done this way so that we could split the heavy-load components off the server and into workers, and allow the server to simply do it's job: tail nginx logs and act upon ban requests from workers. It was amazing, sadly I never completed it and deployed it on a production environment but from initial tests, it outperformed fail2ban by a lot.

The IPS matte is lovely. I have a touchscreen I impulsively bought and it can't face a source of light directly, or else it's unreadable.

Submarine Cable Map 11 years ago

I'm curious why none of the cables go through the Gulf of Mexico into Texas (or somewhere around there)? There are many datacenters around Texas, I'd think it would make sense to have some cables going there to speed things up, or maybe I'm wrong?

I don't think any of my clients know my age, nor they care. My best clients are those that I haven't met in person, and simply happened by random chance. They like my work and like that I'm good at it, they don't ask many personal questions and I'm ok with it. Now, if you do "consulting" and you are hired to come into a team and fix stuff, that might be a different story (will a 40yo dev take advice from someone half their age? I might find it a bit hard in that scenario and age might come into play).

Edit: Getting clients is hard, but I've had luck with HN's monthly "Who's hiring" and people seeking freelancer)

Lua within Ngnix is amazingly fast. I developed a custom solution for a client last year that basically did bot detection (similar to CloudFlare). It's amazing what you can do within nginx without touching an external fastcgi server or proxy.

I don't think you should be auctioning this for money. I think you should have some sort of way for kids in that age range to submit a video to you, like a 30 second video someone on YCombinator could watch, and to see their potential. Some rich kid that might think he's got what it takes will ask his rich daddy to pay for it.

I can't seem to understand if people really do think they can learn a language in X minutes. It takes countless hours of writing code in a specific language to learn it, and many months of writing on it to call yourself a good programmer in that language, or expert. </rant>

MongoDB Random? 13 years ago

By a quick glance, they are only logging 10% of exceptions, so if there's a lot, logs don't get clogged.