Carlos A. Escobar

208 posts

Carlos A. Escobar banner
Carlos A. Escobar

Carlos A. Escobar

@carlosjs23

Desarrollador web.

Montería, Córdoba Katılım Temmuz 2010
59 Takip Edilen251 Takipçiler
Carlos A. Escobar
Carlos A. Escobar@carlosjs23·
Hola, sería posible que en en la app de @Bancolombia añadan la posibilidad de visualizar nuevamente un comprobante de transferencia?. Ya q si lo por alguna razón no lo alcanzas a descargar pierdes el comprobante y no es visible en el historial de transferencias de la sucursal web
Español
1
1
1
112
Carlos A. Escobar retweetledi
Erasmo Zuleta Bechara
Erasmo Zuleta Bechara@ErasmoZB·
Hoy formalicé ante el Presidente @petrogustavo nuestra solicitud de tener una mayor participación accionaria en las empresas públicas generadoras de energía, Urrá y Gecelca. Córdoba merece recibir un verdadero beneficio por la explotación de sus riquezas naturales.
Erasmo Zuleta Bechara tweet mediaErasmo Zuleta Bechara tweet mediaErasmo Zuleta Bechara tweet mediaErasmo Zuleta Bechara tweet media
Español
16
60
182
5.8K
Carlos A. Escobar retweetledi
Nacor David
Nacor David@nacordr7·
Chica Noticias@CHICANOTICIAS1

#Montería Invitan a protestar contra Afinia este viernes El cabildante Nacor Díaz, en medio de una sesión del Concejo de Montería se refirió a la protesta pacífica que están convocando para este viernes 9 de febrero en las oficinas de la empresa ubicadas en la calle 44 con cra 2. Los usuarios están molestos por las altas tarifas. @nacordr7

QME
2
2
5
203
Carlos A. Escobar
Carlos A. Escobar@carlosjs23·
La @DIANColombia se ingenio el sistema más complejo de facturación electrónica, convirtiéndolo en un negocio. En vez de crear un API publica para los comercios, tienes que pagarle a un intermediario. Y se queja que los comercios no han podido implementar correctamente el sistema.
Español
0
0
0
18
Carlos A. Escobar
Carlos A. Escobar@carlosjs23·
@PovilasKorop I think the key is in proper testing: SQLite in local, MySQL in prod, run tests against the db in local, same in stage with prod env.
English
0
0
2
167
Carlos A. Escobar retweetledi
Nacor David
Nacor David@nacordr7·
Disfrutando del #viernes de teatro 🎭, en la hermosa Ronda del Sinú. Gracias Alcalde @kerguelenhugo por activar estos espacios de recreación y cultura, la invitación es a las familias Monterianas para que asistan y se diviertan. #LaRondaVive #Montería
Montería, Colombia 🇨🇴 Español
0
3
11
522
Carlos A. Escobar
Carlos A. Escobar@carlosjs23·
@ianlandsman I'm using a SaaS that downloads 32Mb of resources, wtf, it can be done with Livewire with even less than 10% of that.
English
1
0
0
273
Carlos A. Escobar
Carlos A. Escobar@carlosjs23·
@fredldotme If the feature I need it's out of my area of expertise or highly complex I usually will find a external dependency useful. For example OCR. You don't do that from scratch lol.
English
0
0
0
14
Don Fredl's Circus
Don Fredl's Circus@fredldotme·
As a developer, where do you draw the line between adding a dependency and rolling your own?
English
2
0
0
175
Joshua J. Bouw 🇦🇪
Joshua J. Bouw 🇦🇪@JoshuaJBouw·
@RetroTechDreams Played the heck out of Delta Force Black Hawk Down back in the day. Warhammer Fire Warrior and Dawn of War were pretty great too.
English
1
0
1
224
cache crab
cache crab@cachecrab·
@flaviocopes The world must work in mysterious ways because I literally just figured this out the other day. I’m building a newsletter product that requires the user to install a cloudflare worker I provide so they can send 100k emails free a day. Infinite emails for $10/m here we go
English
1
0
1
64
Bradley Bernard
Bradley Bernard@bradleybernard·
@codewithantonio @PlanetScale Curious what you host your site with: VPS or serverless and what provider! I was demoing PlanetScale and trying to see if anyone out there is doing non AWS/GCP servers due to latency from app server to DB
English
1
0
1
469
Code With Antonio
Code With Antonio@codewithantonio·
I recently had 4 anomalies in my @PlanetScale database. It was my first time seeing this alert, and here is how I approached it: 1. Understanding my database baseline I am very well aware that my database activity will fluctuate depending on whether I just released a new video, or if its just business as usual with regular people visiting the site. Knowing the fact that I just released a new video, where I explicitly instruct viewers to view my website, I knew it could just be a deviation from the baseline activity. 2. Understanding what is an anomaly My first instinct was to query these spikes and match by rows read and query latency to see what was going on. To my suprise, they were high, but not higher than a week before that which did not trigger any anomaly at all, so I was a bit confused. Thankfully @PlanetScale has a great link to "Learn more about anomalies" where the following line is written: "Increased query latency can be indicative of an anomaly, but not always." 3. Determine what is my slowest running query / most not-optimized query at the time of the anomaly For me, this query was the leaderboard, which sorts all users by their XP and ID, and excludes those who want to stay anonymous. This is also publicly available to logged out users, so it is especially expensive. I've been fighting with this query for some time now, specifically because adding an index for "XP" is (at least from my research) not a good idea, since it is a very often changing column. So what I did was the following: - Move away from offset based pagination - Implement cursor based pagination for infinite load instead. This definitely helped a lot, since users now cannot jump from page 1 to page 700. But it still did not stop it from being my most expensive query. So I did the following: - Disable pagination all together - Load only top 10 users - Display currently logged in user rank, points and level at the top of the page so they know their status - Cache the result This stopped it from being my most expensive query, and greatly improved load speed of the leadboard page. 4. Continue to monitor the query After I improved my slowest query during the time of anomaly, As you can see in the screenshot, the problems went away. This confirmed to me, that at least in some part It could've been the cause. Most of my career I've spent as a frontend dev, so I rarely had experience fixing database-related anomalies. It is insane how well @PlanetScale's DX is, and not to mention the amount of information they share on their youtube and docs. And now im wondering, would @aarondfrancis do anything different? 😁
Code With Antonio tweet media
English
4
8
112
15.9K
Carlos A. Escobar
Carlos A. Escobar@carlosjs23·
@kettanaito Omg I can remember when everyone was handling raw http requests in nodejs. How things have changed.
English
0
0
0
77
Artem Zakharchenko
Artem Zakharchenko@kettanaito·
This is a little reason why I dislike Next's API choices. Because they always encapsulate back on "next". This is how I want to declare this function instead: function getIp(request) { let forwadedRef = request.headers.get('x-forwarded-ref') } A subtle difference, right? But the implications are HUGE. 1. I can use "getIp" with any Fetch API request instance. 2. I am familiar with Request, so accessing headers is no feature to me. Use the platform and get better at JavaScript, not Next. 3. "getIp" has a clear input. Using "headers()" from Next is magic. Where does it comes from? How does it know which request I'm handling? I dislike magic in APIs, it makes them unpredictable and robs them of any educational value at its core. 4. Suddenly, this is standard JavaScript. There's no need for Next. Maybe that's the issue. It's the subtle differences that make a huge impact on API design.
Lee Robinson@leerob

The `headers()` function allows you to read from the incoming request. For example, here we're pulling `x-forwarded-for` (or `x-real-ip`) in a function.

English
60
35
754
310.7K
Daniel Turuș
Daniel Turuș@DanielTurus·
@flaviocopes It's fair to say that your statement is correct for a particular usecase and not as a general rule. Could you build a complex/interactive dashboard like page by sending html instead of JSON? Would the user experience be better?
English
8
0
5
10.3K
flavio
flavio@flaviocopes·
Switching to sending HTML over the wire instead of JSON has been eye-opening
English
43
30
961
266.8K