HN user

l8again

198 karma
Posts5
Comments70
View on HN

In my first semester as a freshman in an American university, I took a quiz in the Calculus class that had a question based on American football. Having never played the sports or even knowing the rules all that well, I aced the exam.

Yes, it is not that hard to keep the proprietary business logic separate from the system design.

This isn't about desktop vs web apps. Plenty of desktop apps (or mobile apps) use a centrally located database server side. So, #3 (synchronize between clients) is about merging data using CRDTs in a distributed manner without requiring a centrally located database.

A better way to think about it is Google Docs (as a desktop app or web app really doesn't matter), and it offers real-time collaboration on a single doc between users without using a centrally located database.

Amazon has its own Uber, own fulfillment service down to monitoring tools that are built in house. So, not sure if it's a change in their "buy vs build" strategy or there's a more business play here to gain traction in the global markets?

In the same vein, I think the industry is ripe for "smart-less" TVs. Reduce the cost, and take all the smarts out of it. Don't even need wifi. Apple TV, roku, chromecast - enough good options out there that there's really no need for your TV to come built in with any apps or smart features.

I wish the author had done a comparison for Java apps using JLink that generates a custom Java runtime image that contains only the platform modules that are required for a given application, and if that makes a difference.

I always wondered if the "useless comment" comment was really a way of bragging employed by experienced programmers (or their wannabes). Why is it a burden on anyone? Most IDE clearly highlight the comments so you can tune it out. Also, even if it is obvious, at least when a bug presents itself, you don't have to spend much time figuring out the intention of the author and if it is indeed a bug or by design.

Fierce Nerds 5 years ago

Paul Graham is a good writer - I give him that. But this piece can't be taken seriously. Please don't go interrupting everybody in meetings to show that you are intellectually superior.

Haven't looked at Jolie closely, but I am very well-versed in gRPC. Can someone give a quick comparison between the two or point me to a good resource that compares the advantages of Jolie over gRPC or vice-versa?

The idea of SBOM, or BOM is not a new one. Maven already has one for years now called BOM files [1]. So am I right in assuming that the author's suggestion is to make this BOM file public like the ingredients in food product as some people have suggested? If so, I can see a quick static analysis tool that can spit out the vulnerabilities just by parsing the BOM. So, really there's nothing to do much _technically_ here other than releasing out in the open the BOM. And then displaying ugly warnings about any software's BOM to either shame them or actually hurt their bottom line by lost revenue due to those vulnerabilities.

[1]https://maven.apache.org/guides/introduction/introduction-to...

Clearly, it makes sense on the "sellers" side to make it into a service - the article pretty much conceded to that. However, this issue is also created by the "buyers" side as well. To give a concrete example - prometheus is an open source alternative for observability. But if you have a small team and want to release early, you will still go to DataDogs, and splunks of the world. Of course, you can say but that's fine. But there are others that could have been a library. Yes, but libraries also come with a maintenance overhead (security, patches, etc.).

Aung San Suu Kyi has never been racist

"But her personal defence of the army's actions at the ICJ hearing last year in the Hague was seen as a new turning point that obliterated what little remained of her international reputation." [1] from this article itself.

"No one told me I was going to be interviewed by a Muslim" [2]

Will admit that I am not very familiar with Myanmar politics, but the above sentence from the article seems to indicate the opposite. Now, it is entirely possible that she was forced to do that due to military pressure at home. Also, I have an allergic reaction to statements made that "everyone speaks in favor of an X leader" anywhere. I am pretty sure the Rohingyas aren't all that in favor of her, even though they have no good options any way.

[1] https://www.bbc.com/news/world-asia-pacific-11685977

[2] https://www.vox.com/2016/3/28/11306856/aung-san-suu-kyi-musl... (edited for clarity)

My workflow of the last 10 years when choosing editors:

Browse directories/read files/quick retrieval? -> Vim

Make a quick edit on anything and rerun compiler/test/docker run -> Vim

Write any kind of quick bash/python script -> Vim

Code read a project or work on a feature -> Fire up an IDE (IntelliJ mostly, or Webstorm if javascript)

The constitution bans any discrimination based on caste. However, casteism is imbued in Indian culture today. As an Indian, I know this for a fact. All you have to do is see the matrimonial ads. Also, one way to sniff out casteist behavior is when Indians start making an apologetic claim of it "made sense in the ancient times". It made as much sense as slavery did in the ancient times.

I currently use iPad and I am considering reMarkable. One of the main things I do with iPad is share screen on meetings. Is the share screen option available and what about meeting platforms such as zoom, bluejeans, google? Are their compatible apps for all of the major online meeting platforms?

I see a novel playing out. A bird's eye view of the sprawling highways in a major US city shows them completely empty and lifeless in broad daylight. It all starts out by companies canceling events and conferences. The shutdowns also spread to concerts. Eventually, a gathering of any size, even live music at a local bar, is banned. This happens in a time-span of just over a month. Schools shut down and students are told to communicate over Google classroom. Families self quarantined themselves. The stock market wildly goes up and down.

I love descriptive git commit messages. For those complaining about the length: 1) Just read the title 2) Maybe have TL;DR section for a summary, and details for who cares. 3) Use pretty printing for git log

Having a rich commit message is extremely important for capturing code review discussions and design decisions and glue things together for the set of changes in a single place. The advantages far outweigh any negatives from a short commit message that will not give you the "why" of the solution.