Skip Navigation

Posts
131
Comments
89
Joined
3 yr. ago

  • Yes

    Jump
  • You're telling me about compiling JS, to my story that is so old... I had to check. and yes, JS existed back then. HTTP2? Wasn't even planned. This was still when IRC communities weren't sure if LAMP is Perl or PHP because both were equally popular ;)

  • 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?

  • Yes

    Jump
  • 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.

  • Yes

    Jump
  • 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.

  • Yes

    Jump
  • You live like this?

  • GoOn

    Jump
  • :00 - :ff

    Edit: Just learnt this can be also noted as:

    :: - ::f

  • It compiles = it goes to prod!

  • Programmer Humor @programming.dev

    Merge then review

  • Also, not sure where the Java 7 thing comes from, but I run Java 17 with gradle/kotlin non-android

    Yes, this seems to have improved, just successfully made a project with gradle and it works with java 18. About 2 years ago it wasn't possible to use Flutter with Java 9, at all.

  • Linux @programming.dev

    The Linux's sysctl parameters about process scheduler

    dev.to /satorutakeuchi/the-linux-s-sysctl-parameters-about-process-scheduler-1dh5
  • PostgreSQL @programming.dev

    Indexes in PostgreSQL — 8 (RUM)

    habr.com /en/companies/postgrespro/articles/452116/
  • PostgreSQL @programming.dev

    Indexes in PostgreSQL — 7 (GIN)

    habr.com /en/companies/postgrespro/articles/448746/
  • Golang @programming.dev

    Go, Containers, and the Linux Scheduler

    www.riverphillips.dev /blog/go-cfs/
  • Java @programming.dev

    JEP draft: Ahead of Time Compilation for the Java Virtual Machine

    openjdk.org /jeps/8313278
  • Java @programming.dev

    JEP 461: Stream Gatherers (Preview)

    openjdk.org /jeps/461
  • 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.

  • Doesn't IntelliJ has some kind of Gradle wrapper built-in it that integrates with internals of IJ? They developed it to have more powers in Gradle and Kotlin, but didn't care to provide feature parity with Maven. Then they cried when people started leaving IJ for VSC.

  • PostgreSQL @programming.dev

    Indexes in PostgreSQL — 6 (SP-GiST)

    habr.com /en/companies/postgrespro/articles/446624/
  • 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.

  • PostgreSQL @programming.dev

    Indexes in PostgreSQL — 5 (GiST)

    habr.com /en/companies/postgrespro/articles/444742/
  • 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.

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

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

  • It doesn't make the content in any way out of date

  • Noticed that Hibernate session (DB ORM session) was leaking to Jackson (JSON marshalling), potentially causing infinite n+1 problem. Changing a few lines of code to lazy loading and fixing the session leak reduced our daily data transfer from DB from 5.6Gb to 170Mb.

    Not sure if this was the biggest optimisation, but definitely the dumbest issue.

  • And because Microsoft moved their HQ to Munich

  • What do you use it for?