skysight-inc/HackerNews huggingface dataset:
> Insights about the egregious behavior of Elon Musk, & about the chaotic craziness at Tesla, Inc., all with a legal slant informed by my career as a commercial trial lawyer.

This is a nakedly partisan substack account. Does this really meet HN's quality standards?
The first tenet of the Zen of Python:

“Beautiful is better than ugly.”

Tail recursion is beautiful in the right context. There are plenty of problems where it’s the clear, obvious, elegant way to write an algorithm. Sure, you can rewrite a tail recursive algorithm iteratively. However, not once have I seen a case where the result is easier to read, understand, and reason about than the original version.

It’s only unpythonic for the same reason multithreading is: because it’s traditionally sucked in Python. Therefore no one does it. Therefore there’s no perceived demand for it because no one’s doing it. Therefore it’s not changed to make it easier to work worth. Therefore no one does it. Lather, rinse, and repeat.

I love Python, but there are a few corner cases like this that drive me to drink.
I built this to help me separate my personal chats, study, and work.
in the sense that everything in the world is, yes. but radar is a classical technique
Repo2txt – Dump a repo to single file for LLMs to use
Hey hackers,

Frustrated by the available tools I made this extremely minimal tool to export any local repo or any folder to a single, well-structured file to be used for text-mining, training, embedding or anything else. Also works for binary (non UTF decodable) data, such as images.

I use single file repos and documentation to work with Gemini Advanced 1M's context, it's great.

Cheers
> That sort of trip in an EV is going to be two or three charging stops especially in winter temperatures adding up to close to an extra hour to the travel time.

Less than one hour of extra travel time, three times a year, doesn't strike me as a dealbreaker. You'll save more time than that every month by never going to a gas station.
Nice. Could a baseball pitched at 90% the speed of light from [anywhere that could produce such a speed] make it to Earth and impact? What can cause chunks of matter to travel this fast?
Holy crap, Does huggingface charge for bandwidth if you're downloading 45 terabytes??
The graph doesn't differentiate nodes so I wouldn't draw a specific conclusion from it. The tens of billions of subsidies in the CHIPS act may seem like a lot but the semiconductor business can be brutally expensive.
See cagenut's comment above. Cities are economically robust because they have the economic activity to justify the infrastructure investments. You can have much more rural, spread out areas, but they can't afford to support many of the amenities that modern people would consider necessities, especially tech workers.
LLMs could be a great benefit to everyone by making chatbots not shit, if they were used for what they excel at - parsing unstructured natural language inputs, and mapping them to a finite set of (parameterized) options. You could skip the generative part for the bot reply entirely - having a chatbot that understands what I want would be like night and day, even if all it does later is telling me they can't help me.
Here are a couple of talks about orchestration and choreography, workflows vs sagas, etc.

Both very technical, both with very little "sell" despite being given by a Camunda co-founder and a Temporal principal eng.

https://www.youtube.com/watch?v=zt9DFMkjkEA "Balancing Choreography and Orchestration" by Bernd Rücker

https://www.youtube.com/watch?v=EaBVzjtSK6A "Building event-driven, reactive applications with Temporal: Workflows vs Sagas" by Dominik Turnow
The issue from parent comment is that it needs to be on every access request, not every login request.
These aren't all issues though. Another contributing factor is that home/lands ownership can be inherited.

That's going to be the biggest contributer as time goes on (not right now though), as eventually all desired land will have been bought by what amounts to an oligarchy.

Honestly, land/homes should never be inheritable, and companies should never be able to own land altogether.
Not that this would ever happen. The status quo is too profitable for the land/home owners.
They named it after an abortion drug?
Strange hill to die on
Do you have plans to create videos for the llm.c?
Same in the UK, I find it kind of funny that some North American transport planners are starting to put roundabouts everywhere at the same time as they're being ripped out in London.

They're still pretty much the default junction outside of towns and cities because they do work well but large roundabouts are no fun at all to cycle round
I actually have one still in the original blister pack with the Radio Shack backing :-)
Wasn't it the VAX that set the precedent for all the "32-bit" machines ever since?

Every company that invested in it, however, had to either go out of business or switch to another architecture, usually the first. Apple and Sun Microsystems survived. Fragmentation, with the Apple Macintosh, Amiga, Atari ST, Sinclair QL, etc. (all similar machines that struggled with cost-performance tradeoffs in different ways), didn't help.

The BBC Micro developers probably had more space to really think about how to make a home computer and looked at many architectures and came to the conclusion that the 68k line punched below its weight. People in the early 1980s didn't see that one of the greatest rugpulls in computing was coming and were blindsided by IBM "doing it again" by maintaining long-term software compatibility with the 8088 and derivatives the way they did for the old 360... Companies that invested in the x86 didn't regret it, though many of them were crushed by an increasingly competitive market.
> AppExchange ranking mysteriously tanked after we turned down their offer

This alone would be worth a blog post (assuming you don't have any non disparagements with CRM)
I mainly use linux day to day for a good 20+ years now but also own a macbook air for a couple of years (and now have a work macbook. I have to say I just don't see how it's supposed to be so much better than linux. Working with it feels like having one arm bound behind my back. Most things work, but everything takes twice as many clicks and some things are just not configurable (There's no mouse follows focus at all for instance).

Open source software has to be installed with separate package managers like homebrew that don't properly integrate into the overall system like a distro package manager does. (it also requires the xcode toolchain which is a >1GB update every month or so)
They don't claim everything is done on-device, just that the audio stream processing is.

> Grooved does not collect any data, whatsoever. The audio stream is processed locally on your device and never recorded.

Which is consistent with how ShazamKit works [0]:

> Audio is not shared with Apple and audio signatures cannot be inverted, ensuring content remains secure and private.

0: https://developer.apple.com/shazamkit/
Bikes have their time and place, but they're not the perfect cure all.

I've been injured and unable to use a bike. I can't fathom being elderly or pregnant and having to bike in the rain to pick up groceries.

Driving and cars are amazing sometimes too. Where I live I can drive to the mountains and the ocean. I can go hiking, camping, and bring my dogs with me. I can go off-road and set up my telescope in the rural night sky. I can haul equipment and furniture myself. I love the distance I can cover. It makes the world accessible.
> As we all know, because these widely-used compilers treat TCO as an optimization, C programmers have become problematically insistent on using tail recursion instead of loops.

I think you are misunderstanding. To put it another way: because, in C, the optimisation is not guaranteed, recursion is rarely used in practice. This is a shame as many problems do have a recursive structure and are best solved using recursion. It's probably the best decision for C, but not for a high-level language.
It's relevant because they claim that's the reason they didn't do it.
> Question: is C gaining in popularity?

Did C ever go away? The computing industry is built on C. It is the foundation underpinning everything.

> Are their good reasons to be using C in product development rather than more modern languages?

Even if you use a "modern" programming language you'll be building on C at some level. Linux, Postgres, Redis, CPython, etc. are all written in C. Most programming languages have a C FFI for a reason. It is worthwhile to familiarize yourself with C if only to have an understanding of what underpins everything. Besides, you never know, you might need to write a native Python module or Postgres plugin one day.
We're Watching Facebook Die
There's a great (and readable) paper [1] that provides a really strong motivation for TCO in my opinion: the paper shows how to make a language for describing finite state machines with macros. The surface-syntax gets transformed by the macro system into tail-recursive function calls. Without TCO, there's a limit to the number of states you can walk between before your stack gets full. With TCO, you can naturally transition between states without any issue.

Can you build a FSM with, say, an object? Of course. Encoding a FSM with functions comes with benefits though. A big one is that it's harder to get a state encoding error: if you represent your state with an integer, string, or atom, then any value of the right type would suffice, and you could transition to a "state" that doesn't exist. (A good type system can mitigate this significantly.) With functions, however, you'd get a compile-time check that all your states exist.

It's nice having a choice between different ways of encoding FSMs and other constructs. This is probably my biggest beef with Python: a limitation that doesn't exist in other languages that changes how I have to write my code.

I have run into this stack limit in real code. I was building a little classical AI program (might have been negamax; might have been some other search algorithm) and I found a beautiful tail-recursive solution. It was pure and functional and easy to test. It worked on my little test cases, but blew up with a stack error when I ran it on the full-size problem. Had to refactor my code to use some ugly state. Booooo

[1]: Krishnamurthi, Shriram. Educational pearl: Automata via Macros. Journal of Functional Programming. 2006
I have a real passion for the "Long Now". Understanding how to preserve knowledge for the 10,000 year timeframe. Inspired by everything from Anatheum by Neal Stephenson and subsequently finding the Long Now Foundation and even stupid games like Horizon: Zero Dawn.

I would probably do more on that front than I currently am on the side. It's some balance of actually persisting knowledge in super-durable formats, and persisted knowledge in computer systems (Internet Archive, Arctic Code Vault, LibGen/Anna's Archive)
almost never,

when you at the point where your REST looks like a mess - graphql would only make it worse

when your REST is still manageable - graphql doesn't bring anything radically new or intrinsically valuable to the table

Probably the only good fit is when you actually fetching a lot of _graph_ data.
> (i) take it as a point of religious faith that noise will be magically correlated in order to break error correcting codes

This possibility doesn't strike me as any more magical than QM's conjugate variables or its unusual correlations, which also seemed magical to classical physics. Arguably these + contextuality would make noise correlated with the system's configuration in some way, we just don't have a thorough enough understanding of measurement and decoherence to quantify it precisely. I think that's beginning to change, and that we'll have more clarity in the next 10 years or so.
> Sometimes I think that desktop Linux users get so used the background noise of system maintenance that they forget that they’re even doing it.

This was me for a decade. Since I left, any time I check in on Linux it’s like “how did I live like this?!” I was absolutely blind to how many little things I had to do to keep it happy, or how often I was avoiding using my computer ways that should have been fine but that bugs had trained me not to. I still have to force myself to remember drag-n-drop for anything other than moving files around is an option, and will probably work fine and do something reasonable on the platform I use now—though to be fair Windows also helped train me to avoid that particular thing, not just Linux. Took me more than a year to stop feeling anxious when I just closed my laptop without first doing some manual dance to be sure it went to sleep.
> On macOS, I can't ping or bind to 127.0.0.2

uname -a
Darwin LT-JT6692XPXJ 23.5.0 Darwin Kernel Version 23.5.0: Wed May 1 20:12:58 PDT 2024; root:xnu-10063.121.3~5/RELEASE_ARM64_T6000 arm64

~
ifconfig lo0
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
options=1203<RXCSUM,TXCSUM,TXSTATUS,SW_TIMESTAMP>
inet 127.0.0.1 netmask 0xff000000
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1
nd6 options=201<PERFORMNUD,DAD>

~
ping -c 1 127.0.0.2
PING 127.0.0.2 (127.0.0.2): 56 data bytes

--- 127.0.0.2 ping statistics ---
1 packets transmitted, 0 packets received, 100.0% packet loss

~ 11s
sudo ifconfig lo0 add 127.0.0.2
Password:

~
ping -c 1 127.0.0.2
PING 127.0.0.2 (127.0.0.2): 56 data bytes
64 bytes from 127.0.0.2: icmp_seq=0 ttl=64 time=0.824 ms

--- 127.0.0.2 ping statistics ---
1 packets transmitted, 1 packets received, 0.0% packet loss
round-trip min/avg/max/stddev = 0.824/0.824/0.824/nan ms

~
ifconfig lo0
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
options=1203<RXCSUM,TXCSUM,TXSTATUS,SW_TIMESTAMP>
inet 127.0.0.1 netmask 0xff000000
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1
inet 127.0.0.2 netmask 0xff000000
nd6 options=201<PERFORMNUD,DAD>

~
The problem is that we've made our housing into a financial product, not housing. We optimize for things like appreciation, maximizing square footage, etc. Not optimizing for the people who live in them, our communities.

Same with startups, anymore many of them are setup as attractive financial products, not attractive businesses.
Show HN: Open-source Tableau alternative but as React component plus DuckDB-WASM
That's an interesting idea. Trump/Biden doesn't matter but could tiktok form/boost a third party that beats the democrats and republicans.

https://news.gallup.com/poll/15370/party-affiliation.aspx

The independent vote is huge.

Could this be Robert F Kennedy's time to shine?
Ya I have not been able to find monthly highs (not average) or even just median high temps.
I hear this. I have Asahi sitting on a partition on my Mac and I'm itching to make it my primary. Once microphone support lands, I'll be able to move over. It's a real pain right now to have to reboot in order to join video calls, heh.
Thank you so much! I spoke about why I'm not flat out saying how it works in another comment but let me answer your questions:

1) It actually might! Worth a shot I guess, but I don't have any comedy albums to try it out. I was able to get drum solos working fine

2) Was answered better by somebody else

3) I was able to get it to detect speed issues up to 9% off, beyond that it just stops working completely. Though that was in controlled environment so YMMV. If you see the sample vid I posted above, my player is roughly 4% off which is a lot but I genuinely believe a whole lot of people wouldn't notice that
HN's guideline's [1] do not require neutrality. They do, however, say "Please don't complain that a submission is inappropriate".

[1] https://news.ycombinator.com/newsguidelines.html
Incredibly goofy, I like it. Especially the demo gifs on the page. Wonder how long until I see it be the default output for a CLI I'm using. Got surprised to see someone using lolcat in the wild before.
that part loads funny, i had to reload the article and click on the little globe picture before it loaded and then it still didn't load correctly.
I'm pretty sure there is some of automated brigading, every post I make gets modded down for no reason. Why mod this down? It's just a fact that is easily verifiable. It had been voted up to 2 or 3, then very quickly went to 0. Very odd.

https://www.fishersci.com/shop/products/smokers-lungs-kit-2/...

"These inflatable swine lungs have been stained realistically and then specially preserved in odorless, nontoxic solution that retains the texture and elasticity of fresh lungs."
I have said and read “Plan B” many times in my life, almost never in connection with an abortion drug. Searching on Google, “Plan B” is more connected with the musician and politicans’ speeches.
My grandfather had years worth of Popular Mechanics magazines from the 1960s and 70s at his house that I used to read as a kid.

Typical cover stories were how to build a tool shed, how to design and install a septic tank, how to dig a well, how to install an in-ground swimming pool, how to change the fluids in your car, and how to administer first aid.

This ancient aliens style content is a joke. I don't understand why PM ceded their how-to brand to random YouTube creators.
But if you don't have a good model, you can't reliably identify the good ways of unfucking.
Interesting choice of name. Aside from the controversial nature of the subject, my immediate association is "not as good as what Plan A should've been".

But the biggest thing for me is the lack of screenshots. This is text-heavy, and the text is pretty generic. For example:

> "Our project management SaaS stands out due to its emphasis on simplicity and structured configurations. Unlike numerous tools offering extensive customization options, we've prioritized key functionalities crucial for effective project management. This deliberate approach ensures a user-friendly experience while adhering to best practices. We aim to provide a streamlined, focused platform that simplifies project management processes, enabling teams to concentrate on tasks rather than getting lost in intricate configurations."

> "Dynamic Project Management: Plan B cuts through the chaos with intuitive project planning, real-time tracking, and seamless integration of all your resources. It's about bringing clarity and calm to the storm."

Okay. I'm sure JIRA and Asana also "aim to provide a streamlined, focused platform that simplifies project management processes, enabling teams to concentrate on tasks rather than getting lost in intricate configurations."

That's a lot of promises - which of these features have you implemented? Show me, don't just tell me what everyone else is also saying. Nobody sets out to build a convoluted, distracting project management tool.

Despite this, I logged in, and you actually have a working product, which is awesome! I think you should really showcase the most crucial features with screenshots and gifs instead of droning on and on about your philosophy.

Finally, and this is a smaller thing, but the landing page is sloppy. The headings are blurred out on the right. One of the subtitles is latin placeholder text ("Quis tellus eget adipiscing...")
All of the media I've been following have been consistently skeptical of Israel's actions since at least November. In particular, I've noticed that the IDF's press events at the big hospital they cleared out (multiple times!) have consistently fallen flat, with all the journalists expressing extreme skepticism of the military's claims in their articles about it.
I got an email from Indeed or somewhere, similar. "How was your recruitment experience with Company X? They interviewed you last week."

"1 star. This is the first I've heard of or from Company X since submitting my resume."
Love it.

The writing style reminds me of Shoggy Seldom.

http://www.theallguardsmenparty.com/

(Don't blame me if you lose the rest of your day reading that)
I couldn't read much after this line which deliberately ignores the totality of the issue:

> In 2022, the California Public Utilities Commission drastically slashed the rate that utilities pay homeowners with new solar panels for excess energy sold to the grid — cratering demand for residential solar and sparking thousands of layoffs of solar workers.

At the end of the day, net metering simply is not feasible for any electric utility long term, and it's not fair, either: people that can get by on 0-net electricity use pay nothing for the real, significant benefit of being connected to the grid. Also, electric utilities, like many/most businesses, depend on buying a product at wholesale prices and then selling it at retail prices. With net metering it's essentially forcing utilities to buy their power at retail rates. That is simply not sustainable for any business.

And look, as a homeowner, I would love net metering, but who doesn't love getting something (the value of being connected to the grid) for nothing. I'm also not saying that California couldn't have "eased the transition" from net metering better by providing other subsidies, or changing the rate model altogether by charging separately for "hookup" vs. "power" line items. But it doesn't make any sense to simply complain that an unsustainable model was eventually switched to something that is sustainable.
I blame perhipheral manufacturers for clinging to USB-A for no reason. It's been 8 years, please let this connector die already.
They export heavily when the sun is in abundance and import heavily when it isn't. Their move to an electricity market instead of just having regulated utilities was one of the first in the nation and most of the early ones all had big issues as the experience just wasn't there in the design of the market. Now, each market region has a market monitor that looks for the things than Enron did (example: physical withholding to make prices rise). My belief is now that you should never be a first mover on those kinds of things.
Yeah, a "commercial trial lawyer" who vehemently supports court interference with companies and lawsuits to seize control from shareholders and founders. This parasitic class will be the end of the United States.
I love that everyone is guessing all these methods of detecting pitches or using the camera to count rotations, and it turns out that they're most likely literally just using a built-in API and displaying a return value [0].

0: https://developer.apple.com/documentation/shazamkit/shmatche...
Were any MMUs ever made for the 6809? Or could it use an MMU for the 8086 or something?
When I say that quantum computing is not possible, I mean in general. It's a dead end. Note that this belief is subject to being falsified by progress in the field or a demonstration of error correction at scale.

There are companies selling and companies using "Quantum Computers". For example, D-Wave systems sells a computer that uses quantum annealing so solve a class of minimization problems.

To date, there is no quantum computer, in a commercial or a research setting, that has demonstrated it can compute anything faster than a classical computer (this includes the D-Wave systems).

The current trend is to try to establish quantum supremacy (and thus falsify the error correction is impossible thesis) through building extremely simple (non-general purpose) quantum systems. Most recently Google announced a successful attempt that has since been invalidated.
https://archive.ph/JmhNb
Isn't that also showing some limits to first amendment protections (which was the point I was trying to make)?
Another reason we haven't had those blackouts is that electrical efficiency is increasing, even as we increase demand. For example imagine all the CRT screens, street lights, and incandescent bulbs that were all replaced with LCDs.
Just move it further out, as the Sun expands. Just.
Researchers cracked an 11-year-old password to a $3M crypto wallet
> I would say the same thing about AI

AI has commercial applications right now. What commercial application is there for quantum computing right now?