agilob

@agilob@programming.dev
18 Post – 54 Comments
Joined 1 years ago

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.

16 more...

Fantastic way to start a shitstorm. You people don't even use search function logged out, because if you did, you would know they changed it in 2016. Microsoft has nothing to do with it.

https://news.ycombinator.com/item?id=11321623

11 more...

:00 - :ff

Edit: Just learnt this can be also noted as:

:: - ::f

Old issue, so why post it now make it sound like MS demands something?

Opened 11 months ago Last modified 11 months ago

It's a regression, so ffmpeg should fix a regression.

2 more...

You live like this?

All (doesn't seem like MsSQL supports it, I thought that's a pretty basic feature) databases have special configuration that warn or throw error when you try to UPDATE or DELETE without WHERE. Use it.

5 more...

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.

1 more...

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

And because Microsoft moved their HQ to Munich

Because it's free and reliable

No, it won't.

Serialisation, marshalling issues and mental overhead of using compareTo

(C++)++

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.

After doing it for 15 years, I must be good at it and everything should be easy.

hidethepainharold.jpg

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 ;)

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.

Seems like you have some organizational and technical debt in the company that would be worth addressing before agreeing to be on-call

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?

2 more...

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

3 more...

What were the architectural decisions you made?

1 more...

agile happend

Not banking but transfer proxy space.

I sell on eBay for the price of postage

Why would you need multiple distros at the same time?

2 more...

On BSDs you can do ctrl+T and it prints progress, there were plants to implemented this on Linux, but it didn't get enough traction.

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

1 more...

The one you know best

It compiles = it goes to prod!

Even for an outage starting at 2am lasting 6 hours?

Just not in Java…

I think you're biased against Java. Amazon was started in C/C++ and Java J2EE during times when to configure a webserver required writing like 300 lines of XML just to handle cookies, browser cache and a login page. Until recently BMW had their own JRE implementation. It's not a secret that simcards, including these in Tesla cars run JavaCard too, even government issues sim cards in EU have to run Java Card, not C++. Everything was always fine with Java until ECMA Script appeared and made people iterate on software versions faster. New programming languages and team organisation methodologies left some programming languages in the dark, but this included C# too. All are quickly catching up. If Java was so bad, it wouldn't be here with us today, like Perl.

There are two schools:

  1. the best stack is the one you know best
  2. the best stack is the one designed for the job

Remember that Google was written in Python and Java. Facebook in PHP. iOS in Objective-C. GitHub in Ruby on Rails.

1 more...

Most likely debian or debian-distroless

You're all gonna have to learn to die together

We had developers leave my company because they had to work with scala during 2 -> 3 migration. Everybody hates it now

1 more...

Scala got adopted? https://insights.stackoverflow.com/trends/?tags=scala%2Cc%23%2Cjava their business model is killing the language

3 more...

also data duplication, if you want to store a file in application readable format and IPFS you need to store TWO files, makes archiving and management expensive