agilob

joined 1 year ago
MODERATOR OF
 

"Prolly Tree" is short for "Probabilistic B-tree". "Prolly Tree" was coined by the good folks who built Noms, who as far as we can tell invented the data structure. We here at DoltHub have immense respect for their pioneering work, without which Dolt would not exist.

5
Async File IO (concurrencydeepdives.com)
[–] agilob@programming.dev 5 points 10 months ago (3 children)

you are supposed to have written the tests and to have written your code with pair programming,

I commented out the tests because they were failing, pipelines were green so I merged. Now it's running on prod. What do you do?

[–] agilob@programming.dev 29 points 10 months ago (2 children)

Blog content was stored in memory and it was served with zero-copy to the socket, so yea, it's way faster. It was before times of php-fpm and opcache that we're using now. Back then things were deployed and communicated using tcp sockets (tcp to rails, django or php) or reading from a disk, when the best HDDs were 5600rpm, but rare to find on shared hosting.

[–] agilob@programming.dev 121 points 10 months ago (17 children)

Before nginx was a thing, I worked with a guy who forked apache httpd and wrote this blog in C, like, literally embedded html and css inside the server, so when he made a tpyo or was adding another post he had to recompile the source code. The performance was out of this world.

[–] agilob@programming.dev 52 points 10 months ago

You live like this?

[–] agilob@programming.dev 82 points 10 months ago* (last edited 10 months ago) (1 children)

:00 - :ff

Edit: Just learnt this can be also noted as:

:: - ::f

[–] agilob@programming.dev 2 points 10 months ago

It compiles = it goes to prod!

[–] agilob@programming.dev 1 points 10 months ago* (last edited 10 months ago)

who still uses maven? who would prefer xml files over build scripts? (ok… fine, big timers like RedHat definitely do, or at least, have never taken/don’t want to take the time to upgrade lol)

Simple: Gradle doesn't work well with inherited projects. If you have a family tree of projects, maven always wins. Lowers complexity, integrations are easier, bom are better integrated, smaller size of ~/.m2 (by literally gigabytes) and no surprises with classpath loading order. It's not about stupid xml or stupid groovy, it's about complexity of managing single parent project, 200 children and 150 more grandchildren and having them working out of box. More than 12 years of using Gradle, I've never it seen working well outside of Android projects (and it still needs Java7 right?).

End users for gradle are corporations: Google and IntelliJ. Maven has been developed for developers and technical project managers. My projects from ~2000s developed in Ant still compile and work, Maven projects from 2010s still work and compile... can't say that about an Android project from 2014. It doesn't even compile and there's no backwards compatible way to use or upgrade Gradle (from 2.4). To me, gradle is worse than npm ecosystem and we did it all to ourselves.

[–] agilob@programming.dev -1 points 10 months ago* (last edited 10 months ago) (3 children)

Since I can remember IntelliJ frequently fails to detect changes in pom.xml. Changed dependency? Manually clean the project and click 2 buttons to let IJ discover it. Added new code without having the right dependency? Download dependencies manually first, try rebuilding the project, but you're likely to have to restart the IDE anyway. That's why I moved to VSCode.

[–] agilob@programming.dev 7 points 11 months ago* (last edited 11 months ago)

I’ve thought of doing pen testing (later on in my career), but I’ve come to realize that it is better if users just started using privacy-respecting FOSS software like Signal, because if you give a hacker enough time, patience, and the right resources, they could hack into anything.

Your idea of pentesting is so far from what it looks like in reality that it's probably not a path for you, at least not now. Let me explain: how am I going to protect my banking app using Signal? How will I know if our JSON unmarshalling library used by transaction service isn't vulnerable or exploitable? What FOSS software shows me live dashboards of deployed software in container and their security risk?

everybody still needs them and they’re not going away any time soon.

Bank is a civilization old concept, it has always been here and will be. Banks are so durable, they will run after our civilization ends.

[–] agilob@programming.dev 3 points 11 months ago (2 children)

Being offline doesn't mean not using a computer. I still had IDE and https://devdocs.io/ for better ctrl+f experience.

[–] agilob@programming.dev 4 points 11 months ago (4 children)

Learning from a documentation. Got a book, went offline and finished the book and training exercises without looking for anything online.

view more: ‹ prev next ›