HNHacker News
TopNewBestAskShowJobs

archgoon

5,809 karma · joined February 25, 2010

submissionscomments
archgoon··on GitHub cuts AI deals with Google, Anthropic
Do you mean that Bloomberg should have used a different title or Hacker News should have modified the title?
archgoon··on Transitioning the Use of Cryptographic Algorithms and Key Lengths
Ah, but that's a beauty of it. If you encrypt with ECB you can't be decrypted by a federally compliant organization!
archgoon··on Project Euler #912: Where are the Odds?
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··on Project Euler #912: Where are the Odds?
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.

archgoon··on AI Winter Is Coming
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··on For ranchers in Costa Rica, jaguars and pumas become unexpected allies
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.

archgoon··on For ranchers in Costa Rica, jaguars and pumas become unexpected allies
I don't get it. The article's title is that the ranchers have become allies to jaguars and pumas.

But nothing in the article supports that view. What has changed are cattle ranching practices that reduce the opportunity of attack. Everything that the article talks about is "How did cattle ranchers adapt to an ever present threat of pumas and jaguars without killing them (for reasons that are not well discussed beyond a reference to a government mandate)" rather then "We're best buds now!" or even "We have found utility in the jaguar and puma population that benefits us".

It seems the adapted practices are beneficial on their own, but it sounds like they would be beneficial without jaguars and pumas.

archgoon··on Dockworkers at ports from Maine to Texas go on strike
Trump is notoriously transactional. If the unions continue to play ball, he might apply leverage in their favor.
archgoon··on Orion, our first true augmented reality glasses
Do they actually provide applications the ability to access raw camera data? They don't allow that on the Occulus.

They can only rely on 3p devs if they allow access to the hardware.

archgoon··on MicroPython on Flipper Zero
Step 1 of reverse engineering anything: Figure out the make and model of the thing. ;)

"Employee badges" can be implemented in a number of ways, from simple broadcasted rfids down to having secret challenge responses that aren't breakable without going down the jlsca route since the secret is on the device and never leaves it.

So, step 1: figure out what exactly the model your 'employee badge' is using and what protocol it uses. There's probably some marking on it that should give you the manufactuerer at least.

archgoon··on Founder Mode, hackers, and being bored by tech
The Jacquard Loom predates that by over 80 years. I'm sure we can stretch the definition further and go back even farther.
archgoon··on Founder Mode, hackers, and being bored by tech
What were they coding on in 1924?
archgoon··on Sweden to pay refugees up to 341,00 USD to return
Comma is in the wrong spot. It's $34,000 USD (350k Krona).
archgoon··on They don't make readers like they used to
White, male and old.

Example usage (found randomly by google, likely can find others):

https://www.veterinarywoman.co.uk/2015/02/the-stale-pale-mal...

Interestingly, google's search results indicate the phrase may be (currently) a UK thing (based on the domains of the results).

archgoon··on OpenAI threatens to revoke o1 access for asking it about its chain of thought
I mean, say what you want about Meta only releasing the weights and calling it open source, what they're doing is better than this.
archgoon··on Japan’s Temple-Builder Kongō Gumi, Has Survived Nearly 1,500 Years
I mean, if you want to argue it's a Non Profit, not a business, go ahead, but I'm not particularly interested in fitting modern tax code and business rules to an entity that has existed for 1500 years.

The organization has existed and has had a need to find funding for it's activities. Since the question was about 'state' run entities, the goal of "making a profit" seemed not particular salient.

Honestly, I thought the more contentious part of this claim was going to be if the Church of Sinai constituted a state.

archgoon··on Japan’s Temple-Builder Kongō Gumi, Has Survived Nearly 1,500 Years
The Church of Sinai has operated Saint Catherine's Monastery for nearly 1500 years.

https://en.wikipedia.org/wiki/Saint_Catherine%27s_Monastery

archgoon··on Anarchy in Sudan has spawned the world’s worst famine in 40 years
> What do you mean by free speech is regressing in anglophone countries? That seems like a weird opinion to have? Do you have a particular example?

In the US at least, I'd say for most of the existence of the web, the prevalent idea was that the best way to counter 'bad' speech was more speech.

The concern over 'misinformation' has resulted in a lot of people, whom previously had advocated for unrestricted speech, calling for regulation or removal of section 230.

https://www.nytimes.com/2021/04/02/opinion/misinformation-di...

Like many Zeitgeist trends, it is difficult to measure concretely and objectively, especially if it hasn't been tracked in the past. Especially when people's understanding of what constitutes "free" speech shifts over time.

archgoon··on How a leading chain of psychiatric hospitals traps patients
This doesn't explain why the insurance companies don't have an incentive to fight back.

If Acadia is engaged in insurance fraud, the insurance companies have every incentive to stop that.

archgoon··on The journey of an internet packet: Exploring networks with traceroute
Sounds like fun :)

You should write up a blog post where you had to debug some weird gnarly issues. A lot of us higher up the tech stack are pretty far removed from the signals level issues you're talking about but would love to hear about a low level debug session!

archgoon··on Show HN: A Ghidra extension for exporting parts of a program as object files
Based on what it seems that you're asking, it is not, and cannot be, a foolproof process. consider

  int getSpecialArrayElement(char *array, uint64 key) {
     i = computeOffset(key);
     return array[i];
  }
Compute offset can be arbitrarily complex (and probably deliberately hard to analyze if obfuscation is desired). There's nothing that prevents this function from accessing arbitrary locations in memory. You don't know if this will be accessing symbols that are already defined in memory by the linker short of exhaustively trying all possible inputs (and computeOffset may have turing traps for that).
archgoon··on Magic Wormhole: get things from one computer to another, safely
Just wanted to say thank you to the maintainer and creator of magic wormhole. I had to help my nephew debug what had happened to his computer which didn't have any gui after a restart. Setting up magic wormhole to send files back and forth was a feasible solution over the phone.
archgoon··on Why Is the EdTech Industry So Damn Soft?
They aren't a book; they're a tutor. Tutors cost recurring money. A brief google search shows that in my area, 1 hour of math tutoring goes for $50 / hour.

Can they achieve equal or better results than a tutor? That's a separate question, but that's the market they're in.

archgoon··on Quark Stars
> short version is that the Pauli exclusion principle forbids fermions

I'd like to point out (for others following along) that the Pauli exclusion principle isn't actually a separate rule (That is, something you'd have to apply after you do 'normal' physics). What is happening with the PEP is that if you start off with a wavefunction that has fermionic symmetry (that is, interchange of two particle swaps the sign of the wavefunction), the evolution via the Schroedinger equation will preserve that (much like it preserves the Integral(|psi|^2)=1 relation). Same for bosons.

So if you're writing a Quantum physics simulator, you don't need to put in a "Pauli Exclusion Rule" step.[1]

[1] Though depending on your representation you may toss one in for numerical stability.

archgoon··on How I got my laser eye injury
That's actually not a bad idea. It's just mildly more expensive than your typical goggles.
archgoon··on How I got my laser eye injury
> that village is down wind of the dust you will kick up when it goes off.

I'm always happy to hear that there are people saying these sorts of things in the military. I'm sorry it wasn't fun at the time, but the Safety Officer really was looking out for you. You really don't want to be the unexpected cautionary tale, like Bob.

archgoon··on Defense of Lisp macros: The automotive field as a case in point
Printf debugging will exist for as long as access to logs is easier than direct access to memory.
archgoon··on Mermaid Gantt diagrams for displaying distributed traces in Markdown (2023)
For those unaware, chromium has built in support for viewing trace files (obviously, not relevant if you want mermaid diagrams for documentation)

https://www.chromium.org/developers/how-tos/trace-event-prof...

It looks like though the old catapult code has been officially deprecated, and they're recommending switching over to Perfetto.

https://github.com/google/perfetto

So anyhow, I just learned about the perfetto switch, so I won't try and dig up a link to the old way of formatting your traces to work with chrome://tracing, as it sounds completely deprecated. Go use Perfetto if you want a fairly easy way of interacting with trace data. I assume it's at least as good and useful as chrome://tracing.

archgoon··on Want to spot a deepfake? Look for the stars in their eyes
One does not get Newton by adding more epicycles.
archgoon··on Convolutions, Fast Fourier Transform and polynomials (2022)
> though I don't know if it's easier to find a modulus after you choose the generator.

Sure, pick a large prime. Double it and add 1 (and call it n). If it's still prime, then you know the prime factorization of n-1. Pick your generator, and check if it raised to the p is 1, or if squaring it is one. If not, it's a generator of the multiplicative group mod n.

Page 1 of 34Next →