Readit News logoReadit News
onetimeuse92304 commented on Is Clear Air Turbulence becoming more common?   flightradar24.com/blog/is... · Posted by u/redtriumph
kelnos · 2 years ago
Weird that this is the top-rated comment, as it's directly contradicted by the heat maps in the article, which show increases in CAT all over the globe, in many places that are not routes between Europe and South Asia.

(Also consider that the principal question the article tries to answer is not "are there more CAT incidents?" but simply "is there more CAT?")

I glanced at a few current (as of today) routes, e.g. CDG->SIN[0], which don't fly anywhere near the areas of heavy CAT noted by the heat maps. Hell, let's take a look at the flight mentioned, the LHR-SIN SQ321[1], where a passenger died in may (though, as the article notes, it was later determined not to be CAT): that one doesn't fly through any high-CAT areas (and in fact does fly through Russian airspace).

> giving them less options to avoid weather conditions

The entire characterization of CAT is that it is unavoidable because the cause often doesn't have all that much to do with weather conditions, and even when it does, you don't get (enough) advance warning.

[0] https://www.flightstats.com/v2/flight-tracker/SQ/335?year=20...

[1] https://www.flightstats.com/v2/flight-tracker/SQ/321?year=20...

onetimeuse92304 · 2 years ago
> Weird that this is the top-rated comment,

The reason it is top-rated is because it sounds extremely reasonable. This is enough for most people.

I am not judging on whether the comment is correct or not, just answering why it is top-rated. I find nothing weird about it.

onetimeuse92304 commented on Pompeii fixed potholes with molten iron (2019)   smithsonianmag.com/smart-... · Posted by u/strict9
onetimeuse92304 · 2 years ago
Call me sceptical.

That would have been astronomically expensive given the enormous supply chain needed to produce charcoal to get that iron in those times.

I am sceptical on how they figured out iron stains are pothole fillings. I think much simpler explanation would be everyday items or metal pieces of carts getting stuck between stones.

onetimeuse92304 commented on Misconceptions about loops in C   dl.acm.org/doi/10.1145/36... · Posted by u/matt_d
zelphirkalt · 2 years ago
Not "doing" recursion as a principle is often a sign the person has not been exposed to functional languages or relational kind of programming like Prolog. It often points at a lack of experience with what perhaps is not so mainstream.
onetimeuse92304 · 2 years ago
Or the person is sensibly trying to make the code easier for other people to understand.

I am tech lead and architect for large financial systems written in Java but have done a bunch of Common Lisp and Clojure projects in the past. I will still avoid any recursion and as people to remove recursion from their PRs unless it is absolutely best way to get readable and verifiable code.

As a developer your job is not to look for intellectual rewards when writing code and your job is not to find elegant solutions to problems (although frequently elegant solutions are the best ones). Your job is taking responsibility for the reliability, performance and future maintenance of whatever you create.

In my experience there is nothing worse than having bright engineers on a project who don't understand they are creating for other less bright engineers who will be working with it after the bright engineer gets bored with the project and moves on to another green field, rewarding task.

onetimeuse92304 commented on Misconceptions about loops in C   dl.acm.org/doi/10.1145/36... · Posted by u/matt_d
diffxx · 2 years ago
I think it's really unfortunate that most programmers are taught c style loops before tail recursion. But this is also a symptom of standard c's problem of not allowing one to define functions inside of functions. A loop can always be expressed with tail recursion. While the reverse is also true, there are many problems for which this is not straightforward given that a tail recursive function can have multiple exit points and these have to be coalesced into a single flag for the loop.
onetimeuse92304 · 2 years ago
How is this unfortunate?

Most programmers learn about loops pretty much at the absolute start of their development experience, where they don't yet have a way to talk about recursion. Don't even start about tail recursion or tail recursion optimisation.

onetimeuse92304 commented on The plan-execute pattern   mmapped.blog/posts/29-pla... · Posted by u/surprisetalk
onetimeuse92304 · 2 years ago
Used something very similar many times in my past without knowing it is formalised as a pattern.

For example, one application of this was a long migration project where a large collection of files (some petabytes of data) was to be migrated from an on-prem NAS to cloud filesystem. The files on NAS were managed with additional asset management solution which stored metadata in a PostgreSQL (actual filenames, etc.)

The application I wrote was composed of a series of small tools. One tool would contact all of the sources of information and create a file with a series of commands (copy file from location A to location B, create a folder, set metadata on a file, etc.)

Other tools could take that large file and run operations on it. Split it into smaller pieces, prioritise specific folders, filter out modified files by date, calculate fingerprints from actual file data for deduplication, etc. These tools would just operate on this common file format without actually doing any operations on files.

And finally tool that could be instantiated somewhere and execute a plan.

I designed it all this way as it was much more resilient process. I could have many different processes running at the same times and I had a common format (a file with a collection of directives) as a way to communicate between all these different tools.

onetimeuse92304 commented on The case for not sanitising fairy tales   plough.com/en/topics/cult... · Posted by u/crapvoter
onetimeuse92304 · 2 years ago
It is hard to me to understand how much this revisionist tendency is just a recent invention and to what extent it has been present throughout the history.

For the most part, I can see old books on bookshelves are still unedited. But maybe some other books have been completely destroyed due to not being acceptable to future readers/powers?

But I really hate it. I dislike when people do not understand that moral and social norms change over time and you can't blindly apply your current views to historical people who were brought up and lived in a different world.

I am pretty sure people in some distant future will think about us as heathens for eating meat, driving cars and wearing plastic. I hope they will be wise enough not to cancel us complete for this and hear out other wisdom we might want to pass.

onetimeuse92304 commented on Astronomers see a black hole awaken in real time   eso.org/public/germany/ne... · Posted by u/croes
NVHacker · 2 years ago
Anyone else finds the "real time" attribute hilarious in the context of these cosmic events ?
onetimeuse92304 · 2 years ago
It is not hilarious, it is actually the correct use of the term.

Otherwise, you would have to contend with the fact that "real time" does not exist at all, as information about any event has to necessarily take time to travel to reach you.

So no "real time" coverage of anything -- the information always takes time to travel the distance.

What is not a correct understanding of how time works is claiming that it happened some thousands of years ago. No, from our reference frame it happened now. It is meaningless to say that it happened thousands of years ago because it happened thousands of years ago in some other, arbitrary reference frame.

onetimeuse92304 commented on Ask HN: What skillsets/stacks will keep me employable over the next 5-10 years?    · Posted by u/Hammerhead12321
onetimeuse92304 · 2 years ago
There is no single solution this problem.

Look at the changes that happened in the past and ask yourself:

* which people have been successful regardless of changes that happened?

I think almost independently of whatever you do in life, if you are absolutely best at what you do, you are probably going to be fine. Even if what you do is house cleaning, if you are best at houscleaning you are going to be fine. There is always going to be a millionaire or a billionaire who will prefer to have a human sweep the floor rather than a roomba. Or maybe a lab will prefer to have humans to do the work just to not invite potentially dangerous electronics on the site.

There is always demand for top level talent in any area. There will always be demand for human reporters, human drivers, human writers, human programmers, human graphics designers, human managers, regardless of the changes that will happen.

But it is possible that the demand will only be for top of the top of the top of people in each those areas and 99.9% or even more will be replaced and automated.

Another thing that can help is rare specialisation that is not worth automating.

One of the easier ways to find those rare specialisation is at a cross of two largely orthogonal areas of study. I like to think a lot of useful things happen through people who connect different, sometimes distant areas of knowledge / ability.

Another thing that helps people survive change is being a free agent. Don't be an employee -- be an enterpreneur with a mindset to learn and ability to pivot on a moment to moment basis. Learn a lot about life and universe, economics, trends, etc. Learn basis of how enterpreneurship works, how to find new areas that can provide value to people.

---

So if you are a developer, you have some choices:

* become best damn developer while you still can. Spend considerable time honestly learning your craft. Just completing projects is no longer enough to be safe, but outstanding developers who can complete projects will always be needed.

* learn deeply something else that can be connected with development. I know finances and it seems there will always be a need for people who know well development as well as finances.

* you could learn management/leadership skills. The trouble is, there is plenty of technical managers/leaders, just becoming one will not guarantee job safety. You will have to work hard to keep being strong technically while you are also trying to become very competent manager/leader.

* build on your development skills to become an enterpreneur. This is probably the hardest / riskiest path.

Other choices? Please, let me know... I am myself interested in this whole topic.

onetimeuse92304 commented on Anti-patterns in event-driven architecture   codeopinion.com/beware-an... · Posted by u/indentit
withinboredom · 2 years ago
I've worked with thousands of other employees on a single monolithic codebase, which was delivered continuously. There was no complex overhead.

The process went something like this:

1. write code

2. get code review from my team (and/or the team whose code I was touching)

3. address feedback

4. on sign-off, merge and release code to production

5. monitor logs/alerts for increase in errors

In reality, even with thousands of developers, you don't have thousands of merges per day, it was more like 30-50 PRs being merged per day and on a multi-million line codebase, most PR's were never anywhere near each other.

onetimeuse92304 · 2 years ago
50 PRs with a thousand developers is definitely not healthy situation.

It means any developer merges their work very, very rarely (20 days = 4 weeks on average...) and that in my experience means either low productivity (they just produce little) or huge PRs that have lots of conflicts and are PITA to review.

onetimeuse92304 commented on Anti-patterns in event-driven architecture   codeopinion.com/beware-an... · Posted by u/indentit
michaelcampbell · 2 years ago
> Why the fuck do you need to do that?

Because deploying the whole monolith takes a long time. There are ways to mitigate this, but in $currentjob we have a LARGE part of the monolith that is implemented as a library; so whenever we make changes to it, we have to deploy the entire thing.

If it were a service (which we are moving to), it would be able to be deployed independently, and much, much quicker.

There are other solutions to the problem, but "µs are bad, herr derr" is just trope at this point. Like anything, they're a tool, and can be used well or badly.

onetimeuse92304 · 2 years ago
Yes. There are costs to having monoliths. There are also costs to having microservices.

My hypothesis is that in most projects, the problems with monoliths are smaller, better understood and easier to address than the problems with microservices.

There are truly valid cases for microservices. The reality is, however, that most projects are not large enough to qualify to benefit from microservices. They are only large projects because they made a bunch of stupid performance and efficiency mistakes and now they need all this hardware to be able to provide services.

As to your statement that deploying monoliths takes time... that's not really that big of a problem. See, most projects can be engineered to build and deploy quickly. It takes truly large amount of code to make that real challenge.

And you still can use devops tools and best practices to manage monolithic applicaitons and deploy them quickly. The only thing that gets large is the compilation process itself and the size of the binary that is being transferred.

But in my experience it is not out of ordinary for a small microservice functionality that has just couple lines of code to produce image that take gigabytes in space and takes minutes to compile and deliver, so I think the argument is pretty moot.

u/onetimeuse92304

KarmaCake day2163June 1, 2023View Original