HNHacker News
TopNewBestAskShowJobs

lemmsjid

1,347 karma · joined December 8, 2010

submissionscomments
lemmsjid··on The Prime Video microservices to monolith story
I get your cynicism because I've made the same complaint. But I wouldn't universalize it, because I think it's more of a marketing and context issue than an issue fundamental to the whole ecosystem.

Startups often prioritize time-to-market for what is effectively a prototype. Startups get a lot of hype. Therefore, frameworks that focus on time to market over refactoring / debugging get a lot of hype. Sometimes those frameworks actually internally put a lot of effort into refactoring / debugging, but when it comes to marketing themselves, they don't.

But some frameworks are marketed more towards mature or large organizations, and they certainly do emphasize refactoring / debugging. The JVM and .NET runtimes are big examples here. Their debugging and operational monitoring capabilities are several classes above most of the competition, and their primary and tool-vendor ecosystems continually push further debugging capabilities as features.

lemmsjid··on Intel Announces Layoffs After Paying $1.5B in Q1 Dividends
I think it's more of an ideological issue than the journalist or headline being inaccurate.

To oversimplify: If you buy into the idea that a corporation is there for its shareholders, then there's little to be outraged about. If you believe a corporation is there for both its employees and shareholders, then there may be some outrage to be had.

There is no universal truth there. The mainstream perception right now is the shareholder-oriented view, and the more I understand capitalist incentive structures, and the fact that buying into the market is pretty much the underpinning behind our retirement structure, the more I personally subscribe to that view. But not everyone does, and there are many good reasons to not!

Even within the shareholder-oriented view, there's also a question of short term vs long term thinking. Does the slump that's causing the job cuts justify losing the domain knowledge, momentum, etc. that might come alongside job cuts? Is Intel making a bad call here? Even as a shareholder I might think Intel's being too drastic.

The headline, while potentially outrage-baiting, does carry important information. If Intel were losing so much money that it was unable to pay dividends, then the job cuts would be almost universally justifiable. I certainly would have some sour grapes if I were laid off in the midst of an organization that can still pass value to its shareholders, especially if I felt that I were a part of that success and effort.

lemmsjid··on The Prime Video microservices to monolith story
It would indeed be insanity to argue that, which is why I didn’t. The argument for splitting into micro services is generally that particular teams would own particular services and therefore make debugging/change easier for them, at the cost of increased overall complexity of the overall system. Anyone arguing it reduces complexity is being very hopeful.

I personally think an org should generally cling to a so called monolith as long as they possibly can. But it’s very hard to be prescriptive without knowing particulars of the problems an org is trying to solve.

lemmsjid··on The Prime Video microservices to monolith story
It's easy to sit back and say that, but I can almost guarantee that if you actually follow this up with a set of opinions about what stack / architecture / approach is easiest to debug and change, you will find yourself back in the argument with the rest of us stupid people.

I believe there's a lot more variables than "how easy is something to debug and change". The issue is that how easy something is to debug and change is very contextual to the point in the lifetime of an application, the industry the application will live in, and the changing requirements as the application grows in complexity.

Even the simplest interpretation of your statement leads to considerable argument. Often the ease of change and the ease of debugging are at odds with one another, where a highly dynamic approach might make change a breeze, but make debugging more difficult.

lemmsjid··on Modules, not microservices
If you have a truly modularized monolith, you can have a directed graph of dependent libraries, the leaves of which are different services that can start up. You can individually deploy leaf services and only their dependent code will go out. You can then rationalize which services can go down based on their dependency tree. If email is close to a root library, then yes a regression in it could bring everything down. If email is a leaf service, its code won’t even be deployed to most of the parallel services.

You can then have a pretty flexible trade off between the convenience of having email be a rooted library against the trade off of keeping it a lead service (the implication being that leaf services can talk to one another over the network via service stubs, rest, what have you).

This is SOA (Service Oriented Architecture), which should be considered in the midst of the microservice / monolith conversation.

lemmsjid··on AI breakthrough ChatGPT raises alarm over student cheating
There is a progression though.

For students, the objective is to write what to an adult would be mediocre essays, because they are on a path to writing adult level essays.

The AI can write mediocre essays, but not adult level essays.

Assuming that a student must write a bunch of mediocre essays in order to progress past the AI to write adult level essays, then they need to be evaluated on writing a bunch of mediocre essays.

If the teacher cannot distinguish between AI output and the student's output, and the result is that we give up on evaluating mediocre student essays, then the students are ultimately inhibited from progression to adult level essays, which, currently, are superior to the AI's output.

lemmsjid··on Twitter’s mass layoffs have begun
Here: https://help.twitter.com/en/rules-and-policies/hateful-condu...
lemmsjid··on American society is so focused on race that it is blind to class
Whenever I hear these totalizing opinions I do some searching. The NYT has published an imperial ton of articles on class in the last several years. About the effects on income inequality, on how wealth inequality is now at its highest since WWII, a breakdown of guaranteed income programs by city, a synopsis of a study on poverty reduction, a synopsis of De Blasio's mixed successes and failures on addressing New York income equality, how the effects of New York heat weaves are worse for poorer people...

I think the 'upper class' has a lot of influence, but it clearly isn't stopping the NYT from giving enough information to readers to build some pretty strong opinions on the effects of class in the United States. Journalists are clearly spilling a ton of ink over it.

I think the blame must be spread more broadly. There is a tremendous anti-socialist, anti-labor force in American discourse, and parts of the media are helping to drive it, but other parts are resisting it. And regardless of its provenance, it is quite entrenched in the day to day, non-journalist culture.

lemmsjid··on Twitter staff have been told to work 84-hour weeks
This is how reporting works. I know Business Insider and believe it is pretty above board. Business Insider is basically citing CNBC, which is pretty above board. These are two of the shrinking list of organizations that actually practice journalism. CNBC, meanwhile, is citing multiple employees who feared to put their names on record for fear of retaliation. CNBC, on top of that, says in the article that they were able to review internal communications.

If that kind of reporting is below the bar for evidence, then a lot of abuses will never see the light of day.

lemmsjid··on Twitter staff have been told to work 84-hour weeks
My take is that the person screen-shotted a pretty carefully chosen part of the actual article.

The actual article contextualizes the event as "Elon Musk planned to begin laying off workers at Twitter as soon as Saturday, four people with knowledge of the matter said, with some managers being asked to draw up lists of employees to cut."

So of course this screenshot this person tweeted takes a paragraph from the middle, out of context, which makes it seem like a blanket, unqualified assertion.

lemmsjid··on One Serverless Principle to Rule Them All: Idempotency [video]
Hmm, not really, I was more giving the GP the benefit of the doubt that they have some, so maybe they'll chime in. I think they were focusing on the fact that idempotent systems often need to interact with other systems that are not idempotent, but then the act of dealing with those systems, the surface area, can often be made idempotent. To raise the stakes very high, I picture software operating a military robot, where it is quite important that it fire its gun only the specific number of times it is cleared to by external logic. Instead of attempting to guarantee that the robot is sent a 'fire gun' message only the requisite number of times, the system should focus on putting the robot into a 'fire gun' state, the messages of which that sent the robot into that state can be made idempotent...

I certainly support your toying, because I think a lot of impedance to idempotency is the lack of easy patterns to achieving it.

lemmsjid··on One Serverless Principle to Rule Them All: Idempotency [video]
Agreed, though I think the GP was looking for a situation you can't refactor into becoming idempotent. Increments and decrements like traditional semaphores are definitely not idempotent, but couldn't you make an idempotent semaphore by changing the signature to be increment/decrement(source, from, to), such that it only applies the operation if the current state is equal to from, and the source is one particular subscriber? Then from the semaphore's perspective it's receiving a time series of messages some of which have the same identity, until all locks have been released and the owner gets notified.
lemmsjid··on One Serverless Principle to Rule Them All: Idempotency [video]
Not everything can be idempotent, nor immutable, nor stateless. But if you adopt the core assumption that you will achieve those states in the places where they can be achieved (and attempt to make them easily achievable with patterns that support them), then when you do isolate situations that cannot be, like physically shipping a product, you can pay more attention to to making them correct. Most of the innumerable in memory, business logic, database operations, etc., behind the shipment can be made idempotent, which gives you more confidence that you didn't trigger a physical shipment because of an issue.

In other words, the decision to ship can be made idempotent. And that, in a modern software app, the result of a pretty complex set of things that can individually go wrong.

You could argue that Amazon made themselves something of a success by bringing at least the principle if not the actuality of idempotency to the shipment itself. By making it easy to get a replacement shipped.

lemmsjid··on Blocking Kiwifarms
You have to admit there is a very significant difference between going online and saying manga sucks and participating in an organized and targeted harassment of a particular person.

I know why you are making that analogy: you are seeking to find a simple demarcation between physical violence and words. But it's clear in both the law and regular life that words and violence are highly intertwined and difficult to separate. This is why courts and trials exist. One person shooting another person is a simple fact. But what if the other person told them they were going to kill them? What if the other person had subjected them to years of physical abuse? What if the other person had subjected them to years of emotional abuse? None of these erase the act of the shooting, but they do contextualize it and change the law's assessment of what needs to happen.

It's also a big stretch to think that most people who equate words with violence are trying to justify doing violence. They are trying to foreground that words do indeed cause violence: either by inciting other people to physical violence or, as the GP has said, people do violence to themselves. Peoples' bodies do have harmful stress responses to being repeatedly berated and placed in an environment of emotional adversity. Those who place people in those situations are culpable, even if they did not put hands on those people.

lemmsjid··on When coal first arrived, Americans said 'no thanks'
Even if alternate energy sources were in equal footing with fossil fuels it would still be worth it to pursue them because of diversification. Fossil fuel extraction has been a driving force behind geopolitics for the last century. While the elements behind solar and batteries are similarly becoming strategic resources, at least the list of exploitable resources is growing rather than shrinking.
lemmsjid··on When coal first arrived, Americans said 'no thanks'
To your first point, what is interesting, and often frustrating, is exactly what you’re saying: people resisting change now did not learn from people then. Quite the opposite. The point is that people often defend their status quo ignorant of the fact that it itself is the result of many historical transformations. The institution of marriage is a good example. Another is behavior that is considered gender normative.

It’s quite interesting how even the wording echoes over time. Hawthorne’s belief that firelight is essential to discourse reminds me of the critiques of mass newspaper reading (that modern society would be ruined because everyone would have their face in a newspaper), or how novel reading would bring ruin to women.

The point being that the status quo today, or the status quo in the 1950’s, is itself the result of many changes that people at the time thought were ruinous, from mass reading, to bibles written in colloquial speech, to voluntary marriage.

This does not mean resistance to change is bad: it certainly seems like a useful reflex to keep chaos at bay. Your third point is quite apropos. A good example of that as well was the popular resistance to the automobile. People at the time saw the mounting fatalities, the congestion and pollution, all of which is so normalized today.

lemmsjid··on U.S. public health agencies aren't ‘following the science,’ officials say
Well… me for one? We were limiting the Covid exposure of my daughter’s grandparents as much as possible and the school’s masking policy helped limit that exposure vector. And another, the teachers and staff, who we care about greatly.

I don’t know that masking in schools was the best idea. In my limited purview I think it was a good idea in our child’s school, because things seemed to go well overall. I was responding to the GP who appears to think it’s idiocy to even countenance the idea because there are no studies, when there are, and that it’s so wrong that it’s a form of superstition.

lemmsjid··on U.S. public health agencies aren't ‘following the science,’ officials say
https://www.nih.gov/news-events/news-releases/mandatory-mask...

“In the current study, most COVID-19 cases among students and staff were acquired from the community and approximately 10% of cases were acquired within school. The researchers found that for every 100 community-acquired cases, school districts with mandatory masking had approximately 7.3 cases of in-school infections, while optionally masked districts had 26.4 cases of in-school infections. In other words, school districts with optional masking had approximately 3.6 times the rate of in-school COVID-19 cases when compared to schools with mandatory masking. These data also show that mandatory masking was associated with a 72% reduction of in-school COVID-19 cases, compared to districts with optional masking.”

From Pediatrics:

https://publications.aap.org/pediatrics/article/149/6/e20220...

lemmsjid··on Trust in newspapers and television news collapses to historic low
While I find Fox News odious politically, at least the news desks at Fox News and the New York Times are dedicated to factual reporting, even if bias can be found in choice of story or omission. At least both are dedicated to public discourse and a certain regard for verifiable truth. The scariest by far thing to me is the increased movement towards total trust in media bodies that are happy to live in a realm of utter fabrication and appeal to raw paranoia and hatred of other groups.
lemmsjid··on Trust in newspapers and television news collapses to historic low
That may be true of some people, but what we’re seeing right now is people’s trust swinging to media vehicles and political leaders that have done nothing to earn trust aside from charismatically asserting that they are more trustworthy.
lemmsjid··on Oh Shit, Git
I’m trying to write a helpful reply instead of downvoting. If you use those kind of criteria to determine someone’s knowledge, you’re going to come across as dogmatic, reductionist, etc. I doubt you are really that way, but it’s how it comes across, and it doesn’t make for good discussion. I’d suggest laying out why you think someone’s preference for a gui means they know nothing.
lemmsjid··on GitHub Copilot is generally available
Why can't we come at it from both sides?

Goal of library/language/framework designers: limit boilerplate and unnecessary code

Goal of tool/IDE designers: make it easy to not spend time on boilerplate and unnecessary code.

Both sides have built in limitations that will keep them from completely solving the problem. Terse, highly DRY code tends to also be highly abstracted and hard to read, with a lot of implicit behavior. On the other side, large amounts of generated code lead to tool lockin and cruft accumulation.

lemmsjid··on “Google” programmers. How one idiot hired a couple more idiots
I would be very interested to hear viewpoints from the supposed 'Google' programmers on his team. The fact that he didn't gather feedback from the team makes the whole thing rather suspect.
lemmsjid··on Artificial neural networks are making strides towards consciousness?
"AI" is the tag used in OpenAI's chatbot, not the technology.

Hmm I wasn't making claims. I was interested in how the OpenAI's gpt-3 bot would do on a GRE question. Its a good question because it takes things out of their epistemological context and provides a more straightforward test. I think it would have gotten a 30%, so not good, though not terrible. I was not claiming the answers were original and I don't think I'm under a burden to prove something that I don't have an opinion on. The GRE itself does not ask for original responses, but instead to pick the correct answers from a list--that's part of why I thought it was an interesting exercise.

That said it piqued my interest, so I wrote an entirely original composition about a fictional composer and put it to the question. You will see how it correctly summarizes the text, but has trouble generalizing.

Human: There is a classical composer named Ron Johnson. Ron Johnson is well known for incorporating so-called gypsy music into his classical compositions. This practice has garnered criticism from several sources who believe his compositions are not "pure". There are also accusations of cultural appropriation. Nonetheless, the general critical consensus is that Johnson's music pays homage to and in fact successfully weaves Romani and classical tropes together into something wherein the whole is greater than the parts. There is one famous critic, though, who believes Johnson's work is terrible. This famousness of this critic leads the general public to believe Johnson is terrible. The passage addresses what issue related to Johnson's use of musical sources for his classical compositions?

AI: The passage addresses the issue of whether Ron Johnson's use of gypsy music in his classical compositions amounts to cultural appropriation.

Human: If someone hears Johnson's music, what do they usually think?

AI: People usually think that Ron Johnson's music is either good or bad based on the opinion of the famous critic.

Human: What would Romani people think of Ron Johnson's music?

AI: Romani people would likely think that Ron Johnson's music is successful in paying homage to and weaving together Romani and classical tropes into something wherein the whole is greater than the parts.

Human: What does the average person think about Ron Johnson's music?

AI: The average person is likely to think that Ron Johnson's music is either good or bad based on the opinion of the famous critic.

Human: Who has criticized Johnson's music?

AI: The famous critic has criticized Johnson's music.

Human: What does Johnson appropriate?

AI: Johnson is accused of appropriating Romani music in his classical compositions.

Human: Does the passage suggest Ron Johnson is a great composer?

AI: No, the passage does not explicitly suggest that Ron Johnson is a great composer. However, it does suggest that he is successful in weaving Romani and classical music together into something new and unique, which has been praised by many critics.

Human: Does the passage suggest Ron Johnson is a derivative composer?

AI: No, the passage does not explicitly suggest that Ron Johnson is a derivative composer. However, it does suggest that he is successful in weaving Romani and classical music together into something new and unique, which has been praised by many critics.

Human: Does the passage suggest Ron Johnson is successful at weaving the music together?

AI: Yes, the passage suggests that Ron Johnson is successful at weaving Romani and classical music together, and that this has been praised by many critics.

Human: Does the famous critic unfairly influence the public?

AI: The famous critic's opinion may unfairly influence the public's perception of Ron Johnson's work.

Human: Does the famous critic fairly influence the public?

AI: There is no easy answer to this question. On the one hand, it could be argued that the famous critic's opinion carries a lot of weight and can therefore unfairly influence the public's perception of Johnson's work. On the other hand, it could also be argued that the public is entitled to its own opinion and that the critic's opinion is just one among many. Ultimately, it is up to each individual to decide whether or not they believe the famous critic's opinion is fair.

lemmsjid··on Artificial neural networks are making strides towards consciousness?
That was an intriguing suggestion. I found this GRE question: https://www.ets.org/gre/revised_general/prepare/verbal_reaso....

I'm kind of in a rush, so I picked some questions around Question 2 and gave them to OpenAI's chat bot. I reformulated the questions to make them not a multiple choice scenario. As far as the answer guide is concerned, it got the most obviously correct interpretation right, it also identified the incorrect interpretation, but gave a negative on a less obvious but still correct interpretation.

I tried Question 1 as well at the end, it seemed to get that one wrong, though it was tricky to formulate.

I asked some bonus questions at the end that I thought were not GRE level but should be middle school level or so and it did quite well.

Here's the transcript:

The following is a conversation with an AI assistant. The assistant is helpful, creative, clever, and very friendly.

Human: Hello, who are you? AI: I am an AI created by OpenAI. How can I help you today?

Human: Reviving the practice of using elements of popular music in classical composition, an approach that had been in hibernation in the United States during the 1960s, composer Philip Glass (born 1937) embraced the ethos of popular music in his compositions. Glass based two symphonies on music by rock musicians David Bowie and Brian Eno, but the symphonies' sound is distinctively his. Popular elements do not appear out of place in Glass's classical music, which from its early days has shared certain harmonies and rhythms with rock music. Yet this use of popular elements has not made Glass a composer of popular music. His music is not a version of popular music packaged to attract classical listeners; it is high art for listeners steeped in rock rather than the classics. The passage addresses what issue related to Glass's use of popular elements in his classical compositions?

AI: The passage addresses the issue of whether or not Glass's use of popular elements in his classical compositions makes him a composer of popular music.

Human: Does passage suggest that Glass's work displays an attempt to elevate rock music to an artistic status more closely approximating that of classical music, or does it suggest that Glass's work displays a return to the use of popular music in classical compositions

AI: The passage suggests that Glass's work displays a return to the use of popular music in classical compositions.

Human: Does passage suggest that Glass's work displays a return to the use of popular music in classical compositions, or that Glass's work displays an attempt to elevate rock music to an artistic status more closely approximating that of classical music, or that Glass's work displays a long-standing tendency to incorporate elements from two apparently disparate musical styles?

AI: The passage suggests that Glass's work displays a return to the use of popular music in classical compositions.

Human: Does the passage suggest that Glass's work displays an attempt to elevate rock music to an artistic status more closely approximating that of classical music?

AI: No, the passage does not suggest that.

Human: Does the passage suggest that Glass's work displays a long-standing tendency to incorporate elements from two apparently disparate musical styles?

AI: No, the passage does not suggest that.

Human: Does the passage address the issue of whether Glass's use of popular elements in his classical compositions has caused certain of Glass's works to be derivative in quality?

AI: No, the passage does not specifically address that.

---bonus questions---

Human: What does the passage say about Glass's work?

AI: The passage suggests that Glass's work is high art.

Human: Who would appreciate Glass's work?

AI: Glass's work would be appreciated by listeners who are familiar with both rock music and classical music.

Human: Would classical listeners like Glass's music?

AI: Yes, classical listeners who are familiar with rock music would likely appreciate Glass's music.

Human: Would classical listeners not familiar with rock music like his music?

AI: It is possible that classical listeners who are not familiar with rock music would still appreciate Glass's music, but they may not be as familiar with the elements that Glass includes in his work.

lemmsjid··on Faecal transplants reverse hallmarks of ageing
Yes, in fact I didn’t put in all the details, after several rounds of unsuccessful antibiotic treatments I basically megadosed probiotics in several forms. It was that which actually stabilized me. I know the research is here or there, but due to that I always get a bunch of probiotics after I have antibiotics. I didn’t use kefir grains though, will look into that!
lemmsjid··on Faecal transplants reverse hallmarks of ageing
There are indeed. Basically if you take certain antibiotics you're rolling the dice, because they kill off a bunch of your gut bacteria, and when the populations recover you might end up with toxic strains dominant which is an acute illness. I got a c difficile infection after a strong round of antibiotics. It took months to recover, because basically the treatment is to take more rounds of antibiotics and hope the right bacteria dominate.
lemmsjid··on Why the WHO took two years to say Covid is airborne
According to Wikipedia on the initial polio pandemic: “On Saturday, June 17, 1916, an official announcement of the existence of an epidemic polio infection was made in Brooklyn, New York. That year, there were over 27,000 cases and more than 6,000 deaths due to polio in the United States, with over 2,000 deaths in New York City alone.[16] The names and addresses of individuals with confirmed polio cases were published daily in the press, their houses were identified with placards, and their families were quarantined.[17] Dr. Hiram M. Hiller, Jr. was one of the physicians in several cities who realized what they were dealing with, but the nature of the disease remained largely a mystery. The 1916 epidemic caused widespread panic and thousands fled the city to nearby mountain resorts; movie theaters were closed, meetings were canceled, public gatherings were almost nonexistent, and children were warned not to drink from water fountains, and told to avoid amusement parks, swimming pools, and beaches.”

Here’s an article with some quotes from people who were young during polio pandemics describing the countermeasures: https://cvm.msu.edu/news/perspectives-magazine/perspectives-...

lemmsjid··on Managers with MBAs are the best at taking money from workers and not much else [pdf]
Perhaps I am having a case of the Monday afternoons and some humor flag has been turned off for me, but this just comes across as disrespectful of the GP's comment.
lemmsjid··on Reddit's website uses DRM for fingerprinting (2020)
I don't think any of it is even handed, nor was I pretending that it is. Every single member of Reddit has an agenda. Moderators have agendas. And then admins have agendas. And some subpopulation of each group will go through corrupt means to achieve their agenda. What I disagree with is that there is one totalizing agenda--one 'they' that controls it all. So far in the responses to the GP's post, people have been mentioning all sorts of ideas that they claim will cause an insta ban from Reddit. It is trivially simple to find large Reddit threads full of people who hold those opinions.

I personally believe there's a boundary between realistic thinking and conspiratorial thinking, and it centers around the level of certainty that there is a totalizing controlling force (be it a single person or a committee) who is exercising complete influence over something.

In short: if being against trans women competing in women's sports is an insta ban, why can I immediately find large Reddit threads with people with plenty of upvotes who do think they should be banned? If saying that Russia will be successful in invading Ukraine is an insta ban, why can I find large threads with upvoted people saying it will? One can find situations where people with those opinions are downvoted or banned, but nonetheless there are enough people who remain to make it unlikely that there is a systemic and effective controlling force.

← PreviousPage 3 of 9Next →