skysight-inc/HackerNews huggingface dataset:
More code should be released, but code is dependent on the people or environment that run it. When I release buggy code I will almost always have to spend time supporting others in how to run it. This is not what you want to do in Proof of concept to prove an idea.

I am not published but I have implemented a number of papers to code, it works fine (hashing, protocols and search mostly). I have also used code dumps to test something directly. I think I spend less time on code dumps, and if I fail I give up easier. That is the danger you start blaming the tools instead of how good you have understood the ideas.

I agree with you that more code should be released.. It is not a solution for good science though.
Birth rates tend to be higher in less wealthy societies with high child mortality, yes. I don't think that means what you think it means.
> Because that is the whole conceit

Freudian typo?
Show HN: Crunching 1,600+ Readers' 3 Favorite Reads of 2024
Hi all, creator here :)

I launched Shepherd.com on a Show HN in April 2021 (https://news.ycombinator.com/item?id=26871660), and it has come a long way. We had over 3 million visitors in 2024 (which feels a bit surreal).

For 2024, I added user accounts so that readers could share their 3 favorite reads of 2024. So far, 1,600+ readers have shared their 3 favorite reads, and you can visually browse the results here:

https://shepherd.com/bboy/2024

Check out their top sci-fi reads: https://shepherd.com/bboy/2024/science-fiction?only-publishe...

Or, their top nonfiction reads: https://shepherd.com/bboy/2024/nonfiction?only-published

You can bounce between most-read and most-read-and-published with the button on top.

What is new this year?

I built a referral setup for book communities to see their group's favorite reads.

For example, here is what Hacker News readers loved the most this year: https://shepherd.com/bboy/2024/hacker-news-community?referre...

You can vote here if you want to share your 3 favorite reads: https://shepherd.com/bboy/my-3-fav-reads/join?referrer_id=32...

My email is ben@shepherd.com if you want to share feedback or ideas for 2025. My goal is to highlight the books we love the most while helping new authors get a chance to meet readers (it is a super tough environment for new authors right now).

Thanks for reading, Ben

P.S. I have a newsletter for readers here where I share what I am building, new features, my fav book lists: https://ilovebooks.shepherd.com/subscribe
Free for now, under ever more restrictive conditions.
> 2024-12-06 - report is closed as duplicate

Is this even fixed? If not, that doesn't inspire confidence in using GitHub professionally in the long term if you can bypass basic access restrictions of private repositories on the platform.
Show HN: Onelinkly – Simplify your links, boost your engagement
Hi HN!

I built Onelinkly, a tool to create customizable, trackable, and user-friendly bio links, QR codes, and smart redirects for your content, campaigns, or personal profiles.

Why I built it:
I got tired of juggling multiple links and not knowing which ones were performing well. I wanted something simple but powerful to manage my online presence and track engagement without dealing with bloated dashboards.

Features:
One link, many destinations: Perfect for social media profiles or campaigns.
Analytics built-in: Track clicks, locations, and devices with real-time data.
Customizable: Match your branding with colors, logos, and more.
QR Code Generator: Share offline with scannable codes.
Smart Redirects: Route users based on geolocation, device type, or time.
Tech Stack:
Built with React with NextJS, Node.js, Supabase and Vercel.

Who it's for:
Content creators, small businesses, marketers, or anyone looking for an elegant link management solution.

You can check it out here: Onelinkly.com

I’d love to hear your thoughts, feedback, or ideas for improvement. AMA!
Counterpoint: I subscribe to many blog RSS feeds because the content comes in a useful format and appropriate cadence. I have never subscribed to a wiki to get regular updates for it.
Well, that’s what the internet told me. But checking again it is also telling me 45 BC and 153 BC.

The site that gave me the 700 BC date said it was done by king Numa Pompilius. Wikipedia’s article on him says that Plutarch is the source for the claim Numa moved the new year to January.

But Plutarch was writing around the 2nd century and Wikipedia says his writings about Numa give unique information on the Roman calendar which suggests that there aren’t other sources. Probably not worth trusting a single source that old writing about something 900 years older.
I was wondering how it would take in graphql endpoints and convert it to swagger, since its just a single POST API with change in params. But thats more of a swagger issue than the tools. Has anyone dealt with this? Would be really helpful if you could share your ideas too :)
Deviating from the "standard" can make it harder for another maintainer to understand what's going on.

IMO setting up reasonable patterns for others to follow is part of a good design. I'm not saying that I personally am great at it - it's an ideal!

I think you are right though - very non-understandable things tend to persist because nobody wants to touch them.
I'm guessing the main advantage is navigational structure - while I agree that can be overdone, and I practice very minimal navigation on my own 'blog', I think some amount can make the pile of markdown files easier to read.
oh poor u
Pre differs browser to browser
> It takes approximately 40 seconds to refresh this display
Wait what? I don't game, so this is new to me. Do you have more info? That seems pretty cool.
I use it for events.

It aggregates most of the small and large music and other events in the city into a single place, and shows me when a friend is "interested" or "going" to the event.

I have forgotten how we did this before Facebook. But there are many events only advertised on Facebook! For others, I'd need to check 20+ websites every week to keep up. RSS is no longer implemented on these sites, neither are aggregators like last.fm keeping up to date. (That's probably what I used before Facebook.)

My feed is about 30% content I've asked to see or would want to see, the rest junk (AI crap, far right rage, far left rage).

Two months ago I started a subscription to see if that would reduce the amount of junk, hopefully to zero, but it doesn't seem to have made any difference. It has probably hidden ads, but I had an adblocker anyway.

For a long time I've objected under GDPR to the tracking, which I think is why I get the mixture of political junk.
Even if the organistion is fully signed up to the knowledge building philosphy, it can still be derailed if the staff aren't up to scratch.

Around 12 years ago, my employer tasked me with building a quote engine for a new product they wanted to sell online. The engine needed to produce 4 additional quotes (2 lower, 2 higher) to either prevent potential walk-aways or to offer upsells to capture potential additional revenue.

And it struck me at the time that this sort of hand-wavey selling tactic would be just the sort of thing that was likely to change so I put all this logic into a pure function - pass in an original quote request and the function returns a collection of alternative quote requests.

And, sure enough, a couple of years later, the business decides to change the approach and offer 1 lower quote and 3 upsells. And they give the job of implementing this to another developer.

I was still at the company and was known as the original developer (my name was in a comment at the top of the file, for a start) so I was asked to review the code changes.

I was surprised to learn that the other dev had left the pure function untouched and had, instead, written a bunch of new logic to generate the alternative quotes. Not based on the original quote request but on the collection of alternative quotes returned from the original function. Furthermore, this new logic was placed in main procedure - mama's finest spaghetti in the making, right there.

So I rejected the change and told the dev where to put the actual logic. Then I waited for the re-review request to come in.

What happened instead is that the code went live anyway - the dev had simply re-raised the review request and assigned it to another dev who rubber stamped it.

Looking back, I don't think all the documentation in the world would have prevented this behaviour. A better approach would be for the company to pass the changes to the original developer and to pair with another dev - like Fred Brooks' Chief Programmer plus Assistant recommendation.

I was never approached for an end of year review for this developer and I left the company before them. It's not personal but I'll resign on the spot if a company I work for employs this developer in future.
Show HN: A tool to generate dragon names
> attackers often get access to the SMS network itself (see e.g. Salt Typhoon)

"Often"?
Standard ebooks is pure class.
While these are often useful for setting some internal guidelines for promotions, I've found such an approach to usually end up creating a giant inverse bell, where one side of the curve is constrained by the framework while the other side gamifies it. In the middle, there is a few folks that actually pass the bar organically, and those usually end up being the best hires.

Why? Well, one side is often constrained by the red tape.
i.e. "Oh for this promotion you have to define and deliver technical roadmaps of larger projects, we don't see you having done that in the last 6 months.", meanwhile the person is assigned to a team where their lead specifically does these things and will not be provided a chance to do it, or they have another person on the team vying for the same position which will jump on the task.

This leads to people being stuck in the same level for a while, until they decide to jump ship because there is less energy required to jump to/into that level in another company than it is to untangle the red tape at their current place.

The other group gamifies the system as much as possible. While one could say that is a good thing (no project to lead? create one!), it often ends up with folks doing fluff work just to show it off on their promotion review, coming up with project that will be left to die as soon as they get that jump or overestimating the value of their current work and impact, i.e.:

"now see, that event notification _notification_ delivery service topology I was working on the last 3 months was super important because there is a percentage of cases where they were not delivered on time, which is terrible, right? but our event notification delivery microservice doesn't deal with that, so now that we have an established topology we can architecture a backing service to pre-notify us of misdelivered messages and be sure it will work." (Jim, developer in a series A startup with 200 users)

While there is excellence hidden here sometimes (great operators will do whatever the hell they think needs to be done, red tape or not), often times it is just political grifting, trying to one-up the system to get into a position of more power/money/influence. These folks usually end up creating more red tape to constraint others from doing the same, or burn the bridges while they cross them, causing impact to the company (wasted time, wasted money, wasted code) for their own gain.

For non-experienced people, recognizing these is often hard, while even for the experienced ones fighting them is quite hard too, as they are playing the system and will use it to their defense.
100%. I’m never going back.
Yeah, they have a different system. In broad outline, there are classes of weapons (generally four -- classes A, B, C and D -- with subclasses within them) and then courses and certificates required for each class of weapon. For example, an AR-15 might be class C2 -- so it does requires a lot of course work -- but usually it's not banned.

It's actually interesting to met that, in the American discourse, we never discourse an EU-style classification system. Whenever people in the US propose new gun regulation, it always a maximalist approach -- banning the AR-15 completely.
Thanks for sharing this insight, it’s fascinating. In the darknet podcast you described how working for pumpfun was pretty much a shitshow. How were they capable of coming up with this functioning website? Were the 3 cofounders experienced devs?
Which treadmill do you have?
Do you get fewer junk posts in the feed, or are they just different?
Vlang: 12x speed up achieved using parallel C back end's production builds
"...the right of the people to keep and bear arms..."

This is, pretty plainly, a right of people and not of governments, &c, &c. Some people say that, well, there is the militia clause, to try to support a reading where "the people" refers to their states or communities; but they rely on an incorrect understanding of the way militia worked to support that. Militia is not a synonym for army or gendarmerie.
This only matters for a tiny minority of video games, and even a small minority of multiplayer video games : for instance this is not going to be something I'm worried about if I play couch co-op / split screen multiplayer with friends only.
https://archive.is/6RHVb
In my case:

1. stay in touch with all sorts people around the world (who are not family, close friends or colleagues). Basically like an extended address book.

2. advertize events to many people in a certain area. Conversely, I regularly find out about events on FB.

The FB timeline has become a complete shitshow and I stopped engaging. I really wish there were good replacements for my last remaining use cases...
I think the problems it solved were understood to be well known undergraduate problems.

https://xenaproject.wordpress.com/2024/12/22/can-ai-do-maths...
Nowadays that's hardly an issue because SSE is multiplexed over HTTP/2 and HTTP/3 alongside regular requests. In some ways, SSE is today more efficient than websockets too because if you use it with HTTP/3 then you're avoiding head of line blocking which is still an issue with websockets.

(Also in practice many places websockets are not even supporting HTTP/2 because on the server they were implemented on top of raw sockets which is no longer possible with HTTP/2)
thank you for your work andy!

for a moment i got reminded of the rap music in your courses

im glad that tigerbeetle got here, really impressive team they have.

there are a lot of other missing alien technologies i've discovered recently too like quickwit which is like elasticsearch but s3-compatible, and typesense which is like elasticsearch but memory-based
That level of telemetry-upload used to be easy enough to disable as there was a physical SIM card (usually in the glovebox); without that there was no remote connection. But I suspect it's a lot harder now, thanks to eSIMs etc.
Ask HN: How are you using LLMs for traversing decompiler output?
I need to reverse a binary made years ago, and I have zero experience with cpp, so I think it would be a good experiment to get an LLM to help me in any way
It’s not meaningless, it’s an interesting coincidence.

These acts are done for notoriety and taking a gun into a school or a market has become so normalized we are seeing more attacks like this that can be done anywhere at anytime with easily available items like trucks.

I agree that we need to figure out how to solve this, but our consumption of media is a key part of it. The very thing that uses fear and anger to keep us all engaged is the vehicle these attackers rely on to attain notoriety.

If we all turned off the feed, would so many sick people be plotting to make headlines in the worst ways possible?
Many things can only be said in text, though. Video can work as a replacement for the so inclined because they can have narration.
Every phone has it these days. Doesn't seem to be a big deterrent? Laptops also need a password to log in.

In fact in many cases a preboot password is safer. Because the comms between the TPM and the OS can often be sniffed. And if the TPM doesn't need validation because it hands off its keys, it can be bypassed that way.

Again not really something that consumers have to worry about, but it's not quite difficult anymore to pull this off.
a real pitty that this was not xkcd 1111
This holds for everything. Everything is a tool and always stating "It's just a tool, people are using it wrong", doesn't constitute an argument. A tool should be judged on it's usefulness and if a tool is "misused" 90% of the time, it may be worth considering whether it is a good tool at what it aims to achieve.
I was always wondering if the exercises are the real panacea. if you look at some of the real successful and effective people, they all have one thing in common. they don't exercise. Look at Henry Kissinger, who is about 400 ibs and 100 years old when he died last year. He wrote a book about aI right before he died. Warren Buffet, now 96 years old, still working and incredibly smart. Donald Trump. again become president twice already. these people are all obese and never exercise.
I'm not trying to be combative, but that still seems like a very weak reason. And it's one that I used to use, not just with FB, but Twitter, IG and LinkedIn. They all held the same promise and failed to deliver it.

The idea that we need to be constantly networking is overblown, to say the least. When you step back and have an honest conversation with yourself about how much having access to these people you occasionally talk to benefits your life, it seems to be negligible at best. Certainly not something worth sticking around for, encouraging more and more privacy encroachment, targeted advertising, etc, adding undo stress and annoyance to your experience online and off.

Are we sure that we are not using the "stay connected" excuse to hide the fact that these things were designed to be addictive and we got sucked in by it? The only people benefiting from continued use are not users, but the advertisers and platform owners? Is there really anyone on that list where your life would be worse off for not ever interacting with them again? Are there other ways of making yourself just as accessible on the off chance a stranger wants to collaborate with you on something, such as a contact email in a GitHub profile or personal webpage that would satisfy whatever net positive you think you are getting from doing the same on FB? These are not easy questions to answer, but when we start drilling down, our excuses for sticking around start to fall apart and our control for being their gets exposed in ways that we maybe don't like.

edit: fixed some autocorrect errors from mobile
Us it, though? I worked with it tangentially and found it deficient compared to Postgres. Why pay for a product that's worse than the best free product? In the old days there was a question of who to pay for support that was easier to answer for proprietary DBs, but with cloud services that answer is "you already pay your cloud provider".
Ultranormal Signal
Well, users paying for Netflix, are not supposed to be subject to unasked quality downsampling just because you watch from a non-TV device. This sort of optimization might be fine with small laptop screens, but not 5k Computer screens, and I don't know if Netflix does it on purpose or just put `if not TV => send lowerRes` in their code (simplified of course).
I don't think it's true. It's in the company's interest that people are evaluated fairly, especially if they are going to give big bonus or agressively fire low performers (like some of these tech companies do).

Don't know about Dropbox in particular, but I know other tech companies who take evaluation very seriously. The manager doesn't have the final word and there's a calibration committee that ranks employee based on various data.

It's not easy to measure performance, but not impossible if you put the resource to do so.

I think what is difficult is to align employees incentives with the company's goals. For instance, focus on impact and metrics can back fire.

For instance, in my team, I have an ambitious and hard working colleague who is playing the company's game (basically, checking all the boxes needed go get promoted, playing the evaluation's game). I'm convinced it's not in the company's interest. It builds technical debt, we now have several half-baked time consuming projects that the team can't reasonable handle, dubious metrics, experiments, and systems to produce them that require maintenance etc etc... I'm not blaming him though, that's what the company is optimizing for.
> The experience of developing a simple website using React is orders of magnitude better than using html and CSS.

Isn't this rather circular? It's only this way if you already know React well enough to be fluent. Learning React and all it's conceptual baggage is a huge jump from understanding html/css/basic js plus the HTTP request/response cycle (all things which you'll need to understand even if you do use React)

Honestly - this sounds a little like Stockholm Syndrome. I've spent a long time actively avoiding React and nothing I've read or seen has led me to think that was a poor decision. Quite the opposite - I feel progressively more vindicated with every passing year.
I meant evolution of writing.
o1-preview:

To determine which bag is heavier when measured in air—the 9.99-pound bag of steel ingots or the 10.01-pound bag of fluffy cotton—we need to consider not just their masses but also the effect of air buoyancy on their apparent weights.

*Step 1: Calculate the Masses*

First, convert the given weights into masses using the conversion \(1 \text{ pound} = 0.453592 \text{ kg}\):

- Mass of steel bag, \(m_s = 9.99 \, \text{lb} \times 0.453592 \, \text{kg/lb} \approx 4.5310 \, \text{kg}\)
- Mass of cotton bag, \(m_c = 10.01 \, \text{lb} \times 0.453592 \, \text{kg/lb} \approx 4.5401 \, \text{kg}\)

*Step 2: Calculate the Volumes*

Next, calculate their volumes using the densities:

- Density of steel, \(\rho_s \approx 8000 \, \text{kg/m}^3\)
- Density of cotton (fluffy), \(\rho_c \approx 50 \, \text{kg/m}^3\)

- Volume of steel bag, \(V_s = \frac{m_s}{\rho_s} \approx \frac{4.5310 \, \text{kg}}{8000 \, \text{kg/m}^3} \approx 5.664 \times 10^{-4} \, \text{m}^3\)
- Volume of cotton bag, \(V_c = \frac{m_c}{\rho_c} \approx \frac{4.5401 \, \text{kg}}{50 \, \text{kg/m}^3} \approx 0.090802 \, \text{m}^3\)

*Step 3: Calculate the Buoyant Forces*

Using the density of air \(\rho_{\text{air}} \approx 1.2 \, \text{kg/m}^3\) and acceleration due to gravity \(g = 9.81 \, \text{m/s}^2\):

- Buoyant force on steel bag, \(B_s = \rho_{\text{air}} \times V_s \times g \approx 1.2 \, \text{kg/m}^3 \times 5.664 \times 10^{-4} \, \text{m}^3 \times 9.81 \, \text{m/s}^2 \approx 0.00668 \, \text{N}\)
- Buoyant force on cotton bag, \(B_c = \rho_{\text{air}} \times V_c \times g \approx 1.2 \, \text{kg/m}^3 \times 0.090802 \, \text{m}^3 \times 9.81 \, \text{m/s}^2 \approx 1.068 \, \text{N}\)

*Step 4: Calculate the Apparent Weights in Air*

Subtract the buoyant force from the actual gravitational force (mass times gravity):

- Apparent weight of steel bag, \(W_s' = m_s \times g - B_s \approx 4.5310 \, \text{kg} \times 9.81 \, \text{m/s}^2 - 0.00668 \, \text{N} \approx 44.44 \, \text{N}\)
- Apparent weight of cotton bag, \(W_c' = m_c \times g - B_c \approx 4.5401 \, \text{kg} \times 9.81 \, \text{m/s}^2 - 1.068 \, \text{N} \approx 43.47 \, \text{N}\)

*Conclusion:*

Despite the cotton bag having slightly more mass and a greater weight in a vacuum, when measured in air, the steel bag is heavier due to the significantly smaller upward buoyant force acting on it compared to the cotton bag. This means that on a scale in air, the 9.99-pound bag of steel ingots will weigh more than the 10.01-pound bag of fluffy cotton.