Readit News logoReadit News

Deleted Comment

Deleted Comment

archgoon commented on GitHub cuts AI deals with Google, Anthropic   bloomberg.com/news/articl... · Posted by u/jbredeche
kelnos · a year ago
To "cut a deal" is a common (American?) English idiom meaning to "make a deal".

But agree that it's better to avoid using idioms on a site that has many visitors for whom English is not their first language.

archgoon · a year ago
Do you mean that Bloomberg should have used a different title or Hacker News should have modified the title?
archgoon commented on Transitioning the Use of Cryptographic Algorithms and Key Lengths   csrc.nist.gov/pubs/sp/800... · Posted by u/nabla9
y-curious · a year ago
Not if you want to get FedRAMP designation at any point.
archgoon · a year ago
Ah, but that's a beauty of it. If you encrypt with ECB you can't be decrypted by a federally compliant organization!

Deleted Comment

archgoon commented on Project Euler #912: Where are the Odds?   projecteuler.net/problem=... · Posted by u/fzliu
j2kun · a year ago
I believe the term for this is scalar evolution.
archgoon · a year ago
Yep! That is it alright.

Here's a talk from an llvm conference with the details.

https://www.youtube.com/watch?v=AmjliNp0_00

archgoon commented on Project Euler #912: Where are the Odds?   projecteuler.net/problem=... · Posted by u/fzliu
Sohcahtoa82 · a year ago
During the solving of a problem on Project Euler, I learned that compilers are smarter than me.

I don't remember the problem number or its title, but it involved starting from the top-left corner of a 2D grid and finding how many possible paths there are to get to the bottom-right corner while only moving either down or right.

My naive solution was a brute-force depth-first recursive search. On my CPU at the time, it took about 3 minutes to solve. I thought, the logic of this is incredibly simple, why not do it in assembly?

My assembly solution took 5 minutes.

I decompiled the compiled C code to see what it had done, but I couldn't understand it. My assembly knowledge was too basic.

Thinking on it now, I wonder if a modern compiler would solve the entire problem at compile-time and just hard-code the answer to be output at runtime.

archgoon · a year ago
So fun fact, if you compile

  int sum(int n) {
      int sum = 0;
      for(int i = 0; i < n; i++) {
          sum +=i;
      }
      return sum;
  }
clang, with -O2, will turn this into the polynomial (n+1)*n//2. It can also do similar transformations for multiple loops.

https://godbolt.org/z/so6neac33

So if you do a brute force solution which could have been reduced to a polyomial, clang has a shot of doing just that.

Deleted Comment

archgoon commented on AI Winter Is Coming   leehanchung.github.io/blo... · Posted by u/fzliu
threeseed · a year ago
Every one of those companies predates the dot com bomb by quite some time.

And AGI is science fiction with no credible plan of how to get there. If you can even get everyone to agree on the same definition.

An AI winter is something that can be measured and is factual eg. the lacklustre spending on AI products and the dry up in VC funding.

archgoon · a year ago
Microsoft and Apple preceded the dot com bomb by several decades. (Microsoft 1975, Apple 1976)

Amazon was a company that was around and survived the dot com bomb (founded in 1994, roughly around the time of the beginning of the bubble) [though its stock took about 7 years to recover]

Facebook was post dot com bomb. (founded 2004)

archgoon commented on For ranchers in Costa Rica, jaguars and pumas become unexpected allies   news.mongabay.com/2024/10... · Posted by u/PaulHoule
sidewndr46 · a year ago
If the goal is to maximize ranching, I think you're right. But if the goal is to maximize the economic opportunities in Costa Rica it probably is not the best decision. When I hired a tour guide there he pointed out that Costa Rica could easily install dams to create vast fresh water reservoirs and generate some power as well. But because the country doesn't do this they have ecosystems people come to visit their from around the world. So by choosing not to maximize for one thing they retain another at little to no cost. After all, free flowing rivers don't cost much to maintain.

The tourism industry is important to them. So perhaps by finding a way to co-exist with big cats, it's a net positive to the ranchers because they probably don't want Costa Rica to be a nation with only 1 industry. If they can produce enough beef (or whatever animal they want to raise) to satisfy domestic and export desires then there probably is not much of a need to expand the industry at all costs.

archgoon · a year ago
It is this argument, about what benefits the jaguars themselves bring to the farmers, that is unfortunately lacking from the article.

Thank you for the additional context.

u/archgoon

KarmaCake day5809February 25, 2010View Original