skysight-inc/HackerNews huggingface dataset:
Tesla stock hits 2-year low after Musk sells $4B worth of shares
UX can affect incidental complexity, but essential complexity cannot be removed from the problem; this is the same as what some of the sibling comments are getting at.

When I interrogate users who aren't grokking git, it's not really git's UX that's the problem, it's far more fundamental: like not understanding (and thus not being able to conceptualize and visualize) that the commit graph is a DAG. Not understanding what "rebase" is, because they have no concept of what the word "base" means: rebase follows trivially from that understanding, if they had it.

CLI git has these presentations; it can present the commit graph, though oftentimes companies do such a crap jobs of approaching git history that git is left to render spaghetti. UI tools exist, but face the same spaghetti in, spaghetti out. It's like asking your IDE to make bad code less bad. Worse is people actively promulgate broken "methodologies" that result in these spaghetti graphs, such as the ironically named "A Successful Git Branching Model".
I find discussions like this ("html is/isn't a programming language" etc) kind of tiresome because eventually you end up at "a compiler is a file format converter". You have reached Truth but it ends up not being a terrifically interesting statement and everyone just kind of goes back to whatever they originally meant with whatever they said that started the argument.
Next month's news: Adobe buys Affinity.

(Please let it not happen!)
I'm sure it was looked over, but yeah I'd say there's greater than 50/50 odds he wrote it himself.
While I think a rebase workflow where you rewrite the history of feature branches is a reasonable approach, rewriting public history is a big no for me. Maybe it is fine with some version control systems, but certainly not git.

Git is essentially a blockchain, rewriting history is like rolling back a bitcoin transaction, it is impossible without breaking cryptography. Instead, when you rewrite history in git, you actually create a new project to replace the old one. You then have to tell everyone to switch to your "new project", otherwise you will create a lot of confusion and painful merges, if they don't decide to say "fuck you" and keep working with the original history.

Git is decentralized, and to work it needs some consensus, and the consensus is in the history, if you break that, you break the decentralized nature of git. Now, if your don't open your repository to the general public and use git like you would use svn or other centralized systems, it is fine, but don't do that for public repositories.
Fall of a Crypto Titan Puts an Industry on Edge
I would rather see a 6502- or Z80-based smartwatch platform, honestly. It would totally fit the performance class of those chips, and you could even have some meaningful compatibility with the old 8-bit systems.
This Mick Gordon guy has to be the most patient, understanding and abuse-tolerant person on the planet. Even after getting screwed over 30 times in a row he still was hopeful for a reasonable ending. I express that as a compliment, even if in the real world it works against you.

It's not the main topic, but I like to call out attention to this:

"incidences of online abuse escalated at an alarming rate as Marty’s Reddit post led to frustration over my alleged professional failure, and toxic gamers grew openly aggressive.

They shared my personal details via message boards, including Reddit, which meant that abusers could now reach me in more ways than ever. They email-bombed my inboxes, crashing the server and clogging my messaging services, crippling my ability to communicate. They harassed my other clients with attempts to get me fired from their projects. They called my phone numbers around the clock, screaming messages full of abuse.

I began receiving specific expressions of violence, the content so vivid it made me sick. The torrent of abuse telling me how to kill myself, how I’d be mutilated, how they would circulate photos of my body to traumatise my family, how my family would be murdered, how they’d hurt my animals, how they’d shoot up any event I attended, how I’d be raped to death, really started to wear me down in ways I couldn’t previously imagine."

I'm strongly against authoritarian overreach and used to consider trolling a "fact of life", nothing requiring intervention. I no longer believe that. We're talking about a disappointing audio track for a stupid game yet the man and his family have to fear for their lives. And surely Mr Manager Marty looks at it with approval.

A line has to be drawn in the sand. There must be a cost to such threats. A massive fine or some short prison time. Further, those enabling and launching the mob, even if unknowingly, need to carry responsibility too. This isn't just defamation, it spills over into real world danger.
You seem very sure of what you know, and very confident about how the people working at Meta think and act. Do you have any direct experience? Or know anyone who works there?
Have you ever quit your job over a mistake you made - say a bug you introduced in your code? That would also be taking responsibility.
The Age of PageRank Is Over
Sounds like he let he guard down due to having a prior relationship with iD.
"Thank you for reaching out to us about the security vulnerability you've discovered. We don't have a formal bug bounty program at this time, but we are interested in hearing more about what you've found and would be willing to offer a reward for disclosure of the details. Please let us know if you're interested in sharing more information."
Yeah. "I was going to be a novelist, but..." doesn't really track. It's an investment of years and (at least) hundreds of thousands of words just to figure out if you're theoretically capable of writing a novel people might want to read, to say nothing of actually doing it and then making a career of it.

It also speaks of misplaced priorities. Writing has to be its own reward from the beginning, or you won't get far with it.
If you want to work on interesting massive-scale infra problems there are few better places than Meta.
The problem Apple and an awful lot of other brands have (had) with Amazon, eBay and other stores allowing third-party sellers for their products is that there are an awful lot of scammers around - Apple literally had to build a fake detector for AirPods into iOS [1] because the problem got so out of hand. And yes, obviously they have to deal with a lot of people expecting actual AirPods or other Apple hardware who got fakes and contacted the original brand for support.

It's sad to say but unfortunately I don't see a way out of this mess than strict brand control measures.

[1] https://www.macrumors.com/2022/09/12/iphone-fake-airpods-ale...
Varna on HN 1st page? waw

have fun :)
Because that's how English works? "Perfectly well" has never meant literally perfect.
It's worth noting as well that the decision to settle is (at least nominally) reserved solely to the client. If Marty/id/Zenimax say no settlement, hold the line then ultimately the outside law firm can't do much to wrap things up. They can drop the client, but that has issues of its own.
I think corporate law uses the rationale about legal representation to shield itself from much soul-searching around bad behavior, but that's another discussion and the underlying principle is certainly true.
What are the ways you believe how you learned to program is similar to training a machine-learning model? Just that they both consist of "looking at examples", in the broadest sense?

I learned to program by doing programming exersizes (some self-devised, like making simple text games). To accomplish these exersizes, I read programming manuals (in, say, BASIC or Logo); I also looked at simple examples in the languages I was working in.

I did not start by reading huge quantities of source code, including sophisticated programs well beyond my current understanding, in all manner of languages and platforms. This seems very different to training a machine-learning model to me.
Why does it need a "real source"? ARM sells architecture licenses, Apple has a custom ARM architecture. 1 + 1 = 2.

https://www.cnet.com/tech/tech-industry/apple-seen-as-likely...

"ARM Chief Executive Warren East revealed on an earnings conference call on Wednesday that "a leading handset OEM," or original equipment manufacturer, has signed an architectural license with the company, forming ARM's most far-reaching license for its processor cores. East declined to elaborate on ARM's new partner, but EETimes' Peter Clarke could think of only one smartphone maker who would be that interested in shaping and controlling the direction of the silicon inside its phones: Apple."

https://en.wikipedia.org/wiki/Mac_transition_to_Apple_silico...

"In 2008, Apple bought processor company P.A. Semi for US$278 million.[28][29] At the time, it was reported that Apple bought P.A. Semi for its intellectual property and engineering talent.[30] CEO Steve Jobs later claimed that P.A. Semi would develop system-on-chips for Apple's iPods and iPhones.[6] Following the acquisition, Apple signed a rare "Architecture license" with ARM, allowing the company to design its own core, using the ARM instruction set.[31] The first Apple-designed chip was the A4, released in 2010, which debuted in the first-generation iPad, then in the iPhone 4. Apple subsequently released a number of products with its own processors."

https://www.anandtech.com/show/7112/the-arm-diaries-part-1-h...

"Finally at the top of the pyramid is an ARM architecture license. Marvell, Apple and Qualcomm are some examples of the 15 companies that have this license."
They gave specific examples of negative things that Facebook has done. This is a pretty shallow dismissal of their criticism, even if their comment is a bit heavy-handed.
I was waiting for someone to catch that bug xD
Python is popular because the majority of programs are extremely simple.

Look at how ugly decorators are in python when in lisp you get them for free and they don't even need a name.
I think the US needs an honest assessment about the cost of such high degree of car centricity. There are layers of laws and regulations establishing car as a dominant method of transport, and actively discriminating against everything else.

In this current case, large surface parking lots are a terrible use of space. They generate very little taxes, contribute towards the heat island effect, and make the general area surrounding them less walkable.

The example you provided is definitely believable. I don't know a single modern (new) location that successfully changed the habits of residents from "more-car" to "less-car". And I don't necessarily have an answer what's a good solution. Having regulation like the French do at least helps nudge the outcomes somewhat.
$8 Twitter Blue Subscription with Included Checkmark Now Available
Well, first, whether swap() is used or not depends on the algorithm; second, the result of the sorting, as opposed to reversal, does not necessary look like the elements were swapped.
> But these measures alone won’t bring our expenses in line with our revenue growth

Interesting, so the cust cuttings aren't about being sustainable or avoiding loss, but to meet future growth expectations?

Couldn't they just have like sustained a break even point until economy recovers?
Pinboard vs. Raindrop
Oh, and another limitation in that paper: to get positive zero-error rate, there has to be input symbols in the channel that cannot ever map to the same output channel, which is not the case for any binary channel in use I have ever seen (my PhD is in error correcting codes).

So if noise in the channel could turn a 0 to a 1, or a 1 to a 0, then there is never a positive zero-error rate.

This is explained in the paper, page 9, second column.

So this is an interesting math question for channels that don't occur in practice, and has resulted (as far as I can tell) in no working codes usable even in labs. It certainly does not apply to transmitting binary data over any noisy channels or media, which is where most if not all error correction codes are actually used.
Cyber Criminal Adoption of IPFS for Phishing, Malware Campaigns
Direct article link: https://blog.gitguardian.com/exposed-git-folders-exposed/
What if you bought new phones from others and then resold?
Well if they can't sell the Apple products on Amazon, this doesn't seem to apply.
> Declarative works better than imperative only when someone has already defined the imperative process that takes you from any given state to your goal and does that for you based on your declaration. [emphasis added]

No, someone (as in a person) doesn't have to define the imperative process, that would be stupid. We have computers to compute things, including computing new processes. Oracle didn't hire a bunch of human query planners to manually construct every query plan, they made a query planner. Google didn't sit down a nation of navigators to plan out every route, they wrote a program (or likely a set of programs) that computes it on the fly.
Thanks for the correction, $3B is more believable though that is really stretching it, even when FTX was at its peak.
Updated CSS Nesting Syntax to Avoid Common Copy-and-Paste Errors
HS2 does more than just improve transport around London, it improves transport in the regions it goes through be separating local and high speed rail

Midlands Connect cover some of the gains they’ll get in these docs https://www.midlandsconnect.uk/publications/hs2-released-cap...

Those gains are part of the reason HS2 should go all the way to Scotland and why the Northern Powerhouse route from Hull to Liverpool should be built too
How much data? We were doing a few million writes/day on peak days and the nodes couldn't keep up.
This is a joke. The games that the “trick” AI “wins” are complete losses. The paper authors are claiming losses as wins by changing the rules in their favour to win on a technicality after the game, and not configuring the Go AI to even know about their rule.
Weirdly enough, this is what happens in mobile too but not in desktop, for reasons that are unknown to me.
that's the most obtuse UI for a money transfer (especially one so large) that I've ever seen.

And THREE PEOPLE all signed off on it!
Thank you mate, great stuff all around! :)
Others have done it after as well. Hell, it may not have originated at FB.
You also are missing the point.

At any given instant, your monthly payment for a 15-year will be higher than for a 30-year. You're right that if you can't afford it, then you shouldn't do it.

If you can possibly afford the payment for a 15-year: in 15 years you'll have a monthly payment of zero, because you'll have paid it off. After a few years, you'll have started paying off the principal.

And, of course, if rates go up (as they have), then in a few years the monthly payment for the 30-year will be approaching what you would have paid a couple years ago for a 15.
What a civilized reply.
It's also possible that they just like Putin on a personal level because he gets what he wants, doesn't afraid of anything, and nobody can tell him no, and they want that for themselves. If you look into Trump's cabinet, you find many people whose open goals and political ideology states that the president should be a top dog figure who doesn't have to answer to anyone and has supreme power. They are people who lived through the Nixon stupidity and decided "No, he should definitely be able to murder people and get away with it if he wants"
I'm not lying.

Since they've deleted the comment, I cannot actually post it here.

I probably also said that if you're running with zi/zir or whatever the hell it is, I'm really just not going to fucking bother.

The mods on that site are losing their fucking minds.
A plugin for GPT-3 AI assisted note taking in Logseq
Yes? Taxes aren't for bailouts. pension fund risk is up to pensioners
It would be great if GitHub (not sure about GitLab, Gitea, etc) included the title and the description of the PR (maybe up to a certain character limit) in the merge commit when you merge the PR. This would be at least a minimal level of backup for the PRs but it would also prevent common scenario for me where I need to switch to the browser from `git log` just to remind what the heck this one PR was about again.
Rewriting public history is completely fine with git.

Upstream says: "master is now this SHA, deal with it".

Actively developing downstreams can easily rebase their stuff (if any) across non-fastforward changes, and life goes on.

For a pure consumer of a repo, it makes no difference.

There is only the cultural idea that it's a no-no, not a technical idea.
Why? Isn't FTX like 6% of the trading volume? Who cares?
I helped build the online division for a major consumer product that had market force to force retailers to price at msrp. It was fascinating the extent they went to build the appearance they weren’t being anticompetitive when in reality everyone knew they were and their pricing was uniform across all retailers. They also bought all excess inventory back at cost and destroyed it to ensure no grey market could exist. They even went so far as requiring retailer websites to essentially #include our website components embedded in their framing and branding to ensure total compliance and to ensure competitors products wouldn’t be displayed along side.

I think these antics are pervasive in high end products as a way of ensuring their exclusivity and to prevent dilution of their brand. But they were extraordinarily sensitive to the anticompetitiveness of their behavior to the extent we weren’t allowed to even say the words “monopoly” let alone write anything like it down.
Ask HN: What's your favorite tech related book if you'd chose one?
This is an area that's dear to me, I'm the cofounder of Vectara and have been working with embedding-based semantic search, aka neural search or neural IR, since 2017.

To whether Google uses semantic search, the answer is yes, very heavily [1][2]. Not only that, but they have led, and continue to lead, much of the pioneering research in NLP and neural IR for the past decade [3][4][5].

Technical challenges lie along a few primary dimensions. The first has been search quality, because, while early neural systems like Google Talk to Books [5][6] demonstrated the potential of these techniques, benchmarks like BEIR [7], released a few years later, in 2020, showed that the best keyword retrieval algorithms still outperformed neural techniques in general settings.

The landscape since then has shifted very rapidly: In 2022, for the first time, neural search methods outperformed BM25 on BEIR. This includes late interaction [8], sparse encoding [9], and, most challengingly, dense encoding [10] systems.

The second technical challenge is scalability. After decades of infrastructure optimization, keyword systems scale well to very large corpora, while semantic systems struggle to achieve the same scale. The k-d tree approach presented in the article, for example, while good for experimentation, would be difficult to productionize, as-is, in a large-scale system.

However, research into scaling dense vector retrieval has received a lot of focus recently [11], so I'm confident this will change.

I'll close by saying your observation about being stuck with keyword search in a lot of apps is accurate, but I expect that to change soon. It's becoming easier to embed neural models everywhere, and I think that distilled models in the 5-50mb size range can feasibly power semantic search everywhere you press Ctrl-F today.

[1] https://blog.google/products/search/search-language-understa...

[2] https://blog.google/products/search/introducing-mum/

[2] https://arxiv.org/abs/1706.03762

[3] https://arxiv.org/abs/1810.04805

[4] https://arxiv.org/abs/1907.04307

[5] https://books.google.com/talktobooks/

[6] https://ai.googleblog.com/2018/04/introducing-semantic-exper...

[7] https://arxiv.org/abs/2104.08663

[8] https://arxiv.org/abs/2112.01488

[9] https://arxiv.org/abs/2109.10086

[10] https://arxiv.org/pdf/2112.09118.pdf

[11] https://www.microsoft.com/en-us/research/uploads/prod/2021/1...
React is open source, and if your business depends upon it, it uses the open source version.
> Greed

No, incompetence and naivety.

They were young, dumb and all from the same college/upbringing.
> I am concerned about their near new monopoly.

I’d be concerned if the “last man standing”[0] wasn’t the most responsible one.

You’d think we, collectively as a society, learned our lesson from the Wild Cat banking days but, nope, apparently not.

[0] I do find it funny you have to use quotes around a common saying because someone will say “how do you know they identify as male?”
I think you're saying "if somebody gives me <something that is essentially non-existent>, I can do something really cool."

There's a lot of wriggle room with the goalposts here, as they say it's basically impossible to falsify your statement, since you can shift the burden on the proclaimed "hard" bits (i.e. "human problems"). I'll just re-iterate the point made by others that what people normally mean by "10 motivated, aligned high-quality people" is probably not what you purported to mean. Normally "10 motivated, aligned high-quality people" exists. You claim it doesn't even exist in practice.

The rest of the discussion is just people talking past each other.
The general principle is that RISC style instruction sets are typically fixed length and with only a couple different subformats. Like the prototypical RISC design has one format with an opcode and 3 register fields, and then a second with an opcode and an immediate field. This simplicity and regularity makes the fastest possible decoding hardware much more simple and efficient compared to something like x86 that has a simply dumbfounding number of possible variable length formats.

The basic bet of RISC was that larger instruction encodings would be worth it due to the micro architectural advantages they enabled. This more or less was proven out, though the distinction is less distinct today with x86 decoding into uOps and recent ARM standards being quite complex beasts.
Same here until I realized the tax disadvantages of no mortgage. As soon as rates bottomed woohoo let’s get another mortgage, I’ll keep my cash this time.
Nothing short of seppuku streamed live via Oculus will redeem the honor of a business guy putting his honest level best effort behind some business things that didn't make as much money as he hoped.
Screw that, I think the meta verse will pan out. Zucc will rise from the ashes.
Whoa … perhaps I’ve been living in a cave, but I was not aware of all of this. When did this happen?
[[assume(expr)]] has a lot of controversy about what you can do with it. I haven't read the latest papers (I really should), but there is a good argument to be made that the expression means flag an error if this happens, but otherwise keep running. There are embedded systems where they have to keep running no matter what. They want to use [[assume]] as a hint to program provers about what shouldn't happen, but they still want the compiler to generate the error handling code for that condition. Unreachable by contrast means don't generate code and nobody will argue otherwise.

Again, I'm not up on the latest papers, but that was the situation last I checked.
Rope Core Drum Machine
Your comment cracked me up!

I still have one too. It was pretty to look at but probably the worst new Mac I've ever owned. Within a year it was obnoxiously loud and pretty much obsoleted after just a couple years.

In contrast, I bought a new "Late `09 Mac Mini that I just replaced with a used late 2014 Mac mini about 2 months ago. That `09 was a real workhorse for a lot of years.

The `14 only cost me $330 at OWC with 16GB RAM and is running the latest versions of the software I use and the only software I needed to pay for an update was BBEdit, and that only cost me around $35. I think I paid around $1200 for that G4 "Silver Door" tower.