HNHacker News
TopNewBestAskShowJobs

karpierz

2,745 karma · joined November 27, 2019

submissionscomments
karpierz··on You cannot have exactly-once delivery (2015)
When you receive a message in your scheme, you have to do the following:

1. Some action with a side-effect (ex: update an entry on disk, send a message out to some third party, etc.). This might be a bank transaction, or a note saying "you gotta ship package X to person Y".

2. Some action to note that you've received ID X (ex: write to disk, send a message out to your DB, etc.)

How do you set up your server to deterministically do neither in event of a crash, and both in event that your code turns to completion?

karpierz··on Something is wrong in the state of QED (2021) [pdf]
Also, if finite sums of integers have a property, that does not mean that infinite sums of integers have the same property. Ex:

1. The sum of any two integers is guaranteed to be bounded.

2. Therefore, all sums of integers are bounded.

karpierz··on Something is wrong in the state of QED (2021) [pdf]
> Divergent series have no finite sum, by definition. It's self-contradictory to proceed as though they have a sum anyway, even if it gives "meaningful" results.

It's self-contradictory in the definition that you're using for sum. It'd be like saying:

1 apple + 1 orange != 2 fruits because addition only works across the same units.

karpierz··on So, you’ve been challenged to a duel. What are the rules? (2016)
The logic of this process in England was amazing. You would swear before God that your claim was true, and so would your opponent. And then God would favour the honest claim.

But then people realized you could have someone fight for you if they'd swear that your claim was true (IE, they'd be a witness). If you lost the duel, it would mean that you lied, making it perjury. So your equivalent of a lawyer would be some renowned fighter, undefeated in combat (since if you were defeated, you wouldn't be able to swear in as a witness).

It turned into situation where you'd use the person you hired as a negotiation tool (oh you hired "Bob the Barbarian" as your champion? Let's settle 60/40), so most challenges wouldn't even come down to a fight.

karpierz··on Half of Americans now believe that news organizations deliberately mislead them
If you were going to take this in bad faith, I'm surprised that you considered "3 people died in car accident this morning" to be reporting. If you wanted to be pedantic about it, stick only to the facts, and avoid speculation/opinion, it'd have to be written like so:

"A person who our reporter spoke with who went by the name of Bob Dylan and claimed to be the coroner of James County, said that three individuals passed away recently, and he said he believes that they died due injuries similar to those involved in car accidents. Our reporter also asked the James County Sherriff's Department to corroborate, and a person who claimed to be the spokesperson for the James County Sherriff's department said that there were three individuals in a car accident last night, and they were taken to the hospital."

Anyways, I wasn't trying to write a rigorous example for each, I assumed that the reader could fill in the detailed. I just aimed to give the gist of what it should look like. You'd talk to experts, cite papers, etc.

karpierz··on Half of Americans now believe that news organizations deliberately mislead them
Well let's steelman journalism a bit; journalism provides context.

Reporting would say: "3 people died in car accident this morning."

Journalism would say: "3 people died in a car accident today, marking 4720 this year alone. Due to some new regulations increasing speed limits, passed early this year, car accidents are up 12%. And the federal government is looking to roll back more regulations, which are expected to increase fatality rates by 6%."

karpierz··on The Price of a Harvard Lawyer
Well, if it brings you any solace, all I'm doing is echoing the thoughts of some of the lawyers I've had the good fortune to talk to. I'll be sure to let them know of their ignorance and disinterest in ethics, and that they should take some refresher classes.

Otherwise, seems we've reached an impasse, so I'll just take my leave.

karpierz··on The Price of a Harvard Lawyer
I don't know how this isn't part of being a lawyer:

- Deciding what kind of case law they specialize in

- Deciding where to work

- Deciding how the work should be done

This whole article is about how Harvard is encouraging lawyers to ignore any professional responsibility in favour of monetary compensation.

karpierz··on The Price of a Harvard Lawyer
Do you take issue with: "I think lawyers should recognize injustice in the system and work to reform it instead of claiming that they have no responsibility for the way the system functions?"

It's a simple question.

karpierz··on The Price of a Harvard Lawyer
Can you describe my intended alternative with some detail?

I don't see how it conflicts with "everyone gets a chance to a proper defense" (at least as much as "everyone gets a chance to a proper defense" is true in the current system), so there might be some misunderstanding here.

karpierz··on The Price of a Harvard Lawyer
So lawyers shouldn't vote? Shouldn't lobby for changes in law? Shouldn't encourage each other to take up fields to help those with legal recourse (ex: public defenders)? Shouldn't discourage lawyers from going into money-making schemes that effectively exploit those without money to defend themselves?

There's a lot of room between "lawyers have no responsibility for remedying injustice in the current system" and "lawyers should just decide who's guilty and refuse to deal with them".

karpierz··on The Price of a Harvard Lawyer
I'm not sure how you got "I think that lawyers should rig trials" from "I think lawyers should recognize injustice in the system and work to reform it instead of claiming that they have no responsibility for the way the system functions."

Do you take issue with the latter?

karpierz··on The Price of a Harvard Lawyer
No, but if they find themselves picking a career track where they solely treat murderers so that they can go on to murder more people without consequence, maybe the doctors should look to reform the system? And maybe doctors should not encourage that kind of ethos in med school?
karpierz··on What is ChatGPT doing and why does it work?
Summary of before: https://en.wikipedia.org/wiki/Tractatus_Logico-Philosophicus

Summary of after: https://en.wikipedia.org/wiki/Philosophical_Investigations

karpierz··on What's Going Wrong in Particle Physics? [video]
I think GP's disappointment isn't that there's another video complaining about particle physics.

I think they're complaining about Sabine making another video where she repeats the same unsubstantiated complaints. And they were disappointed because they are interested in novel critique of particle physics, and were let down.

karpierz··on Another Russian spacecraft at ISS has a coolant leak
... because it gets them out of contractual obligations to deliver gas.
karpierz··on Is Google’s 20-year search dominance about to end?
> The first is a little more mundane: LLM embeddings.

You know Google has been doing this for years now?

> However, there's an entire collection of things that can be answered directly by ChatGPT. For example "how many mins should I hard boil an egg" or "Can I take NyQuil when I'm stoned" or anything else where you really just want a single sentence answer.

Google has been doing this for years via search cards, which are AI generated summaries of website information.

karpierz··on ChatGPT: The Slickest Con Artist of All Time
I think you're misunderstanding Searle's Chinese Room. It has a response for every sequence of conversation, ever. It doesn't store every conversation that has happened; it stores every possible conversation that's possible, whether it'll ever happen or not.

It would be able to handle the following exchange:

Person: "Here's a cool question, ready?" Room: "Ready." Person: "What was the last message I sent to you?"

It can respond appropriately to the following sentence:

Person: "Hey, I'm gonna say something. Here is a sentence. Can you repeat the previous sentence back to me?"

Otherwise, why bother with all of this AI stuff? Just build Searle's Chinese Room as an index and you have a perfect chatbot.

karpierz··on Open Assistant: Conversational AI for Everyone
I've been excited about the notion of this for a while, but it's unclear to me how this would succeed where numerous well-resourced companies have failed.

Are there some advantages that Open Assistant has that Google/Amazon/Apple lack that would allow them to succeed?

karpierz··on ChatGPT: The Slickest Con Artist of All Time
I think the PI approach still requires that the agents in the game have a shared internal model of the game.

You can make Searle's Chinese Room argument, but I always find "assume there exists a book that contains every conversation ever" as a flawed premise.

karpierz··on ChatGPT: The Slickest Con Artist of All Time
Out of curiosity, I'd have the following questions:

1. Would you be able to notice if it made something up, given that it's going beyond the detail that you know?

2. Did it have any details that aren't covered in: https://en.wikipedia.org/wiki/Hybrid_Synergy_Drive

karpierz··on ChatGPT: The Slickest Con Artist of All Time
Ah yeah, my mistake. I'd assumed that the GP was referring to the later work and echoing its core premise (language has no intrinsic meaning; or rather takes on meaning from context and intent).

As an aside to anyone reading, would highly recommend internalizing the Tractatus. It really helps side step a lot of "high minded" debates (ex: is X conscious, is it moral to do Y) by actually making you ground what you actually mean when you say "conscious", "moral", etc.

karpierz··on ChatGPT: The Slickest Con Artist of All Time
I don't know that it's an "incredibly smart" anything; I think it'd be better described as incredibly well-read, with poor discretion.

But there's definitely uses for a tool that produces a lot of boilerplate content that a human can then proofread (ex: writing cover letters, filling out unstructured paperwork, etc.)

Edit: I personally underestimated the use-case, because the "more optimal" thing to do when auto-filling out paperwork would be to define a formal data-structure with annotations for each field, and then have a system read annotations and spit out autosuggestions. But this is a lot of overhead.

If you can have a system that takes in arbitrary text, parses it, and fills it out with pretty good guesses, then that can be much more viable than the previous approach, as it doesn't require an overhaul of, say, the way the US bureaucracy generates paperwork. It's all on the consumer-end, the producer doesn't need to cooperate.

karpierz··on ChatGPT: The Slickest Con Artist of All Time
Yes, that's true. But ChatGPT isn't trained to play any language game other than: "make a plausible sounding sentence".

The issue it has with facts is the same issue it'll have with any language game, in that it only understands how to mimic playing the game, without understanding the underlying rules of the game.

karpierz··on Omega-3s: Are “Brain-Boosting” Effects Scientifically Backed?
> I feel like the hardest parts are getting participants to adhere to their assigned intervention, and preventing participants with a pre-existing agenda from joining.

This combined with perverse incentives are why it's not possible. Non-experts with the resources to solve these problems are generally trying to sell you something, and aren't particularly interested in the truth.

karpierz··on Enough Empty Office Space for 160k People in San Francisco
That's basically the platform of every SF mayor. The issue is:

1) You gonna lock up everyone who jaywalks?

2) When someone who's homeless decides that they don't want to be forced into your rehabilitation program, are you gonna throw them in prison or force them into rehab?

3) How?

karpierz··on An intutive counterexample to the axiom of choice
"First" in this case was just getting the first element of the iterator, it wasn't related to choosing a value from the set.

The Axiom of Choice is equivalent to the following:

1) "For any set A, there exists a function from non-empty elements of the power set of A to elements of A."

Which is equivalent to:

2) "There exists a function that takes a non-empty set as input, and returns an element of that set"

2 -> 1, since we can take the function 2 defines, and use it to define the function from 1.

1 -> 2 since we can define 2 as such:

For a set A, take the power set of A. Then take the function that 1 claims exists. Use that function to get an element of A, since A is an element of its power set.

But back to your core point:

But I agree that Iterator is a bad fit for the axiom of choice, since we have an (uncountable) number of sets to pick from.

Here's a way to phrase it programmatically that allows for uncountable sets-of-sets:

The axiom of choice claims that given a set of non-empty sets, you can construct a new set which contains an element from each of the sets.

pickOneFromEach :: Set (NonEmptySet a) -> NonEmptySet a

If you have a function:

choose :: NonEmptySet a -> a

And a function:

map :: (a -> b) -> Set a -> Set b

then you can define pickOneFromEach as follows:

pickOneFromEach setOfSets = map choose setOfSets

karpierz··on An intutive counterexample to the axiom of choice
Let's see if I can clear this up:

An equivalent way to phrase the Axiom of Choice is: there exists a function that takes in any non-empty set, and returns an element of that set.

IE, this exists: choose a :: NonEmptySet a -> a

That's it. All of this stuff about "take a choice from a countable number (IE, list) of sets" is fluff; once you have choose, you can make a function that takes in an Iterator (NonEmptySet a) and produces (NonEmptySet a), such that the output will contain every element.

oneFromEachSet :: Iterator (NonEmptySet a) -> NonEmptySet a

oneFromEachSet iter = NonEmptySet (choose (first iter)) <> (oneFromEachSet (rest iter))

Where '<>' is set union.

Does that fix your issue with an "infinite" number of choices? Or do you take issue with assuming 'choose' exists, now that it's a single function?

karpierz··on An intutive counterexample to the axiom of choice
This assumes your numbers are well ordered (IE, any set of numbers has a "first"), which is called Zorn's Lemma. It's equivalent to the axiom of choice.
karpierz··on An intutive counterexample to the axiom of choice
Where is infinite information invoked?
← PreviousPage 4 of 22Next →