skysight-inc/HackerNews huggingface dataset:
One thing about logging and tracing is the inevitable cost (in real money).

I love observability probably more than most. And my initial reaction to this article is the obvious: why not both?

In fact, I tend to think more in terms of "events" when writing both logs and tracing code. How that event is notified, stored, transmitted, etc. is in some ways divorced from the activity. I don't care if it is going to stdout, or over udp to an aggregator, or turning into trace statements, or ending up in Kafka, etc.

But inevitably I bump up against cost. For even medium sized systems, the amount of data I would like to track gets quite expensive. For example, many tracing services charge for the tags you add to traces. So doing `trace.String("key", value)` becomes something I think about from a cost perspective. I worked at a place that had a $250k/year New Relic bill and we were avoiding any kind of custom attributes. Just getting APM metrics for servers and databases was enough to get to that cost.

Logs are cheap, easy, reliable and don't lock me in to an expensive service to start. I mean, maybe you end up integrating splunk or perhaps self-hosting kibana, but you can get 90% of the benefits just by dumping the logs into Cloudwatch or even S3 for a much cheaper price.
its more:

BEFORE: we remove 99% by surgery, try and get the rest by radiation. outcome poor.

AFTER: we have proved that the immune system is attacking the tumour, this might remove the need for surgery, or means that they don't need to section as much around the tumour to be successful. Or it means that the brain gets attacked by the immune system.
> I so very much want to use this or something like this.

Since you mentioned this — you could also take a look at PowerSync which is similar (disclosure: co-founder) https://docs.powersync.co/ - Currently beta suitable for production use.
I think the true lesson here is that if you fundamentally dislike a programming paradigm, then everything written in it looks like a big ball of mud.
There’s like 3 magazines left in the USA this seems like the strawiest of men.

Thoughtless, pointless rants add nothing to discourse.
I had a similar problem, but in the opposite direction. My cable internet speeds at home were fairly good (for the US, anyway), but sometimes would absolutely bottom out. Not dead, just glacially slow. After troubleshooting everything under the sun, I came to realize that the problems would happen not when it was raining per se, but when it was heavily foggy or misting. Normal to heavy rain was fine.

Called the cable company, tech came out. Everything inside was fine, but the cable from the main line to the house had a tiny cut in one spot, not enough to really affect the connection, but enough for ambient moisture to work its way in and foul the connection.
yes its possible, but a few things generate friction, major one is ISP based filtering.

often you have to use port forwrding to connect, on ports not recognized for protocols your ISP filters out.
XML is better than YAML – Hear me out
> How do I compare let's say C vs. Dart?

https://benchmarksgame-team.pages.debian.net/benchmarksgame/...

> The programs seem the same.

Which programs seem the same?

> Also the results seem to be sorted randomly.

Which results seem to be sorted randomly?

https://benchmarksgame-team.pages.debian.net/benchmarksgame/...

— sorted by "cpu secs"

https://benchmarksgame-team.pages.debian.net/benchmarksgame/...

— sorted by "secs"

https://benchmarksgame-team.pages.debian.net/benchmarksgame/...

— sorted by source code "gz"
> i find it weird that you view it as binary.

This implies that you believe in binary right and wrong and I'm "out" but you lack conviction
I'm not them but I'll translate for you. They had a shitty app that did dumb stuff that SQL can do for them. Someone finally figured out how SQL works and wrote some proper queries and now they think they're geniuses.
for the longest time, i never paid attention to that column, as my brain has pretty much been trained that anything in that column is useless fluff. until one day when i actually read some of those questions and was surprised by the questions being asked. i totally get the catnip. luckily, i have an off switch and can avoid becoming addicted.
I applaud you for answering the question. I'm from Texas, United States.

Your argument comparing climate protestors and governments who ship garbage to developing countries is bunk, though. Ever thought about who those protestors are angry with?

An intelligent conversation can be had about failing democratic institutions in the west, the need to disincentive wasteful consumption, and (as happens already) what levels of support developed countries owe to developing countries to dissuade the latter from ramping up fossil fuels consumption.

But your finger wagging still doesn't make sense in the context of thinking India or the developing world is any better.
We have made a trade-off here. In exchange for the scale gains of living in big cities we have to accept the fact that food distribution is going to always have some degree of waste and the logistic costs themselves are going to be dominant.
If all of that is true, then you have to answer for why "seed oils" improve human health outcomes in RCTs.

Here's Layne Norton making this point yesterday in response to Huberman in a Twitter thread you should read: https://twitter.com/BioLayne/status/1704477570417254530. He lists some of these interesting RCTs as well, but here's the summary:

> If you only look at epidemiology & in vitro/mechanistic data you can hack together a horror story for almost any nutrient

> In RCTs where n-6 PUFAs (aka seed oils) are used in place of SFA there are neutral/positive effects on health

You can speculate all day about how bad certain mechanisms like oxidation or compounds like phytates might be for us. But why would that be convincing to you when these foods, whether it be seed oils or legumes (which have phytates for example), improve human health outcomes in the highest tier of evidence?

There's a reason why "seed oil disrespecters" on social media hang around the lowest tier of evidence like Ray Peat'ian narratives and mechanistic speculation rather than stick to RCTs and metaanalyses.
> He is a doctor and he gets the ... plebes can die in pain ...

Back in low-drama reality - "experimental" medical treatments have a very long, ugly history of failing to work, or of making the patient's condition even worse. And "the researchers were really trying to help the people..." has often been untrue.
We work in our own ecological niches which sometimes entails having a specialized language that allows us to be precise when referring to things.

I sometimes see HN comments complaining that acronyms and terms are dropped with no explanation. These comments come across as entitled to me — instead of complaining, why not be curious and ask “what does that mean in this context?”

Imagine someone dropping in here and complaining, “the article sucks because it uses the word ‘compiler’ and assumes we all know what a ‘compiler’ is.” This is what it sounds like to those of us to work in specialized fields.

Instead if someone said, “I’m new to this, could someone help me understand what a ‘compiler’ is?”, it demonstrates curiosity and people are more inclined to explain.
The established practice of encouraging blanket COVID boosters to otherwise healthy five-year-olds probably tilts more towards harm than the benefit side of things. And the boosters are not like the flu shot. They are for something that has already been circulating. The seasonal flu shot is a projection of what strain(s) may circulate come flu season. And COVID is year-round.

Prosecute snake oil salespeople, and allow people agency to make their own decisions.
What I like about Imba is that you can update a variable, and the result in the view/page is updated, without any special syntax.

let count = 0

def increment
count++

tag App
<self>
<button @click=increment> "Increment"
<div> "Count: {count}"

imba.mount <App>

Try this example here: https://scrimba.com/scrim/cpbmKzsq

(Imba is a compile-to-js language that includes JS/HTML/CSS and a react-like framework all as part of the language. https://www.imba.io)
Show HN: Add a “Share to HN” button to Android via a PWA
Ski Resorts Are Giving Up on Snow
Just you wait. I have plans. Oh boy I have PLANS. It involves the nixStatic package.
Makes sense, considering that's not too terribly far off from what the KL divergence does
I hate Wyze so bad. They sell this really lovely and cheap IP-enabled camera, perfect for figuring out which cat was pissing in the basement. But to activate it requires your phone number, and then they spam you, forever after, with text messages from different numbers advertising their shit. Hate hate hate.
I think he's burnt out on writing and doesn't want to admit it to himself. But he probably has no experience "managing" to understand the value in delegating the slog to someone else and instead producing/directing.
What is "Panamization"?
https://archive.ph/A16K1
I imagine it's to allow for mistakes. You publish the wrong revision and you get a chance to undo and redo twice.
Arcan ( arcan-fe.com ) looks like it could fill that niche, but its developer has gone out of his way to avoid attention and is primarily focused on getting the core protocol right, rather than trying to drive adoption.

I'm personally hoping that, come ~2025, Arcan v1.0 is released, the WM crowd largely switches to Arcan-based systems, and Wayland becomes the new JACK (with X being the new ALSA, I guess?).
Nit to the author: 'rapala' seems like a mistranslation. It is a brand name of a company that makes fishing lures, as far as I can tell. It is not the Finnish word for "to bait", and is therefore only used to refer to a that particular brand.
I'm not sure what the purpose of the text in parenthesis is here, but 'houkutella' would be the most apt translation in this case.
> You call signals an "implementation detail",

You haven’t even seen Svelte 5 yet, I don’t think it’s fair to say its internals will create trouble yet.
504 Gateway Time-out is everything you wanted to know about a streaming database
Hell, I'm skeptical vanilla is the most popular flavor, although that may change by year.

At the very least, chocolate is neck and neck and on the only sales chart I could find (which I think was for the UK?) chocolate sold more than vanilla.
Curious, are these easily found and purchased online? Or does one have to go through some "darkweb" channels?
One might argue that Christian European culture is a thing and that US was/is part of it.

> From inside one of those new cultures (who are cool and unique in their own ways, sure) it can be easy to miss the significance.

A lot of assumptions.. I live in Europe and belong to supposedly one of the fairly ancient cultures according to this definition. It doesn’t seem any less silly to me because of that.

Unless Japan is supposedly exceptionally special somehow in that regard? I don’t think it is, most unique things about its culture have their roots in the 19th or 20th century (just like European countries or the US).

> Japanese settled Japan by skimming Wikipedia but that I'm not sure

The Ainu might have. The settlers/invaders from China or Korea whose culture later developed into what we know as Japan only began arriving in the archipelago around 300 BC (so less ancient than the Greeks or Romans). Also much closer to the establishment of US than to first nation people migrating into the Americas.
True. I also know someone who went down to Mexico for treatment, unfortunately.
> They "failed" because they were gutted by a covert, powerful and violent "right-wing" alliance (imperialists, capitalists, white supremacists, all who felt tremendously victimized by recent global events incl. rise of communism). They were not about to throw away centuries of dominance to share international power with "inferior" classes of human.

It seems no answer can satisfy you.

You're saying we need more international organizations (or more powerful ones) to prevent the problems described. But when we do form these international organizations, and they don't do exactly like you hoped it's because of intangible reasons that cannot be falsified.

> The UN was rather effective in its initial decades.

The League of Nations, which precedes the UN, was rather effective in the 1920s and didn't include the USA. It also completely dropped the ball by 1930. Historians partially blame the League of Nations for the outbreak of second World War.

> Do you really think Hammarskjold, Kennedies, African(-American) leaders getting assassinated en masse in the 1960s was a spate of random coincidence? They were all united in opposing this covert alliance.

You're vacillating between wanting more powerful international organizations, but at the same time don't want international organizations wielding their power in ways you personally don't approve of.
For me, in both Firefox and Chrome (but not Safari), all the code samples look like this:

https://imgur.com/yGXHb1h

Anyone know what's going on here?
About #2, it seems that every time someone creates some format with a prefix serialized size, the next required step is creating a chunked format without that prefix.

What IMO is perfectly ok. Chunking things is a perfectly fine way to allow for incremental communication. Just do it up-front, and you will not need the complexity of 2 different sizing formats.
There are a million different beliefs, opinions etc in the corpus LLMs get trained on and they can predict all of it. It doesn't have to have the same opinions.
Arc is the best browser UI thus far. Everything else is still stuck in the late 2000s essentially
Yeah this appears to be a US specific thing. No American stuff worked, people from countries that were not the US were fine.
Yes, saw your other comment! ;) I will definitely be checking this out as well. I am so glad folks are finally creating real solutions in this space.
I had mspaint on Ctrl+Alt+P since Windows 95 for that reason :)
It would have required removing and replacing the box itself... the fuse box has a connector going into the back side, and then a separate harness inside the box that splits out the individual fuse sockets; that connector seems to have been the problem. At various points I swapped/reseated every fuse in there trying to fix things, never occurred to me to remove the box itself.
Yes, we used to call them: "small business" or "family owned business" or "family owned farm". A distant concept these days. Sometimes these would have their interests represented by the people they elect in local councils or governments, as opposed to these forms of governance taking orders directly from national central planning bureous, known as boards, by means of lobbying.
"One simple trick to beat the statistical odds...."
if the code doesn't contain comments, can it still work?

will it generate code comments for indexing using a language model? will that be expensive (assuming using GPT3)?
I'm constantly amazed VPNs get away with advertising that, more specifically the ones that advertise lower prices for subscriptions/products. I guess Netflix themselves won't really care if you switch regions for different shows and might write off discounted subscriptions as alternative to piracy, but the companies that license content by region don't care?
ML models can produce reliable results even with limited training data
I honestly think tightly integrating language models with email will be one of the most impactful use cases for LLMs in the short-term. Email, as a medium, is pretty much nothing BUT text, and it's something that I (and probably the average HN reader) spend tens of hours on each week.

In trying "write it for me" AI tools, the biggest hurdle is always matching my own tone and style - I'm pretty particular about my writing, and I kind of hate the default tone that ChatGPT and Bard use. It seems like you've put a ton of hard work into making sure that isn't the case here.

And the analysis is really a cherry on top - I've been waiting for a tool that I can ask "what are the 3 most important messages that are unread in my inbox?" Excited to try this out!
Always important to be on guard for things amenable to self-congratulation. At least, I sure need to be on guard against it :)
The common wisdom on HN is that google search results are improved by appending reddit, but in this case the offending content is sourced from reddit.
Wow, this is awesome! I've been "waiting" for a project like this for years - having to roll out my own syncing solution for my local-first app until now.

I have yet to dive deeper in the docs and examples, but does anyone know how easy it would be with Electric to provide some kind of client-side transformations (encryption/decryption) of specific fields or entire rows in your SQLite db before syncing? A major reason to go local-first, is often privacy, and the idea that the user owns their data...

Also, it's unfortunate permissions haven't been implemented yet; https://electric-sql.com/docs/usage/data-modelling/permissio...
If I understand correctly, that means in a multi-user system, everyone will sync everyone else's data?

And too bad my favorite stack (Angular + Nest.js backend) isn't supported, but I guess it should still be straightforward to integrate the client-side and run the sync service in the backend. I might try it if I have a weekend...
I'm not sure how this relates to the parent comment, but there are free encrypted DNS services out there, though the same can't be said for encrypted and anonymous ones (which is, frankly, a hard problem to solve, realistically speaking).

With encrypted DNS you're just shifting the burden of data privacy away from the local network to the DNS operator. How you determine which operators to trust will probably vary from person to person.

Anyway, the major difference here would be that a VPN will encrypt all traffic in a tunnel, from your DNS requests to your actual followup web requests. On the flipside, you may use encrypted DNS to look up records for a domain that serves content over an unencrypted connection.
Ooo, a pro Russia climate change denier. Don't see those in polite society often.

Believe me, there are many in the liberal sphere who do not support unlimited mass migration. Open borders are not compatible with a welfare state.

As for denying the changing climate and supporting Russia's invasion of Ukraine, I don't feel anything I can type in short order would enlighten the reader if they don't already see the injustice after a few hundred thousand dead.
kudos for KolourPaint, it replaced mspaint for me perfectly too! Set it to Ctrl+Alt+P :)
This is an amazingly non-succinct write up of why I love programming in Go.

I think it, I type it, it works and it works fast, with minimal cognitive overload.
Noted. Yep, valid points. Thanks for explaining!
For me, the pool of people to hire that know Linux inside and out would be much larger. This is worth any perceived security issues.

In terms of diskless, I've run 25k+ iPXE deployments on diskless blade servers using a highly customized Ubuntu, and it was fantastic.

Regardless of OS choice, being diskless is also quite nice... if there was a security issue or you need an upgrade of some sort, you just reboot. Only thing is that it takes a while to reboot 25k servers... even on gigE. It was a bit of work to build the scheduling system to make that happen reliably, but it worked out quite well.
Do you honestly believe that a now public NSA style backdoor will never be used by anyone that is not NSA? Of course goofy script kiddies will be using this to see what cameras are seeing and then do a range of things from posting embarrassing images to the web for the lulz or up to blackmailing people. that's with less than 3 seconds of thinking about what a vuln could do for non NSA types
The Dark Matter Halo Mass of Quasars at Z ∼ 6
I have 6 of these and can't recall ever being texted. Just send STOP or update your preferences.
I think you're spot on and it honestly amazes me how we have so much evidence of this throughout history and yet people can will still end up thinking about this purely in terms of "the free market".
"MNIST"?

accuracy - but of what?

what's this about?
I am fully on the offline-first bandwagon after starting to use cr-sqlite (https://vlcn.io), which works similar to ElectricSQL.

I thought the bundle size of wasm-sqlite would be prohibitive, but it's surprisingly quick to download and boot. Reducing network reliance solves so many problems and corner-cases in my web app. Having access to local data makes everything very snappy too - the user experience is much better. Even if the user's offline data is wiped by the browser (offline storage limits are a bit of a minefield), it is straightforward to get all synced changes back from the server.
Well I'll agree to disagree on a number of points here, but I respect your sentiment. I don't believe that the media is powerful. On the contrary, I feel that the media being weakened and focused on sensational content is the reason we're in this mess. While the European media was supposed to be one of the entities keeping government officials and Eurocrats in check, their systematic weakening has led to those failing governments to implement widely unpopular policies that only harmed the social fabric of the continent.
I get dizzy even trying to envision all the edge cases and challenges
making an active - active sync between two different database engines,
over what would be tens of thousands (hundres?) of simultaneous connection to clients via a non-reliable, expect network disconnect, and reconnect from a different location from the same client.

If you have managed to pull this off in a way that reliably scales and reliably keeps all the data updated and uncorrupted I am mighty impressed.
My hat off for you folks.

How do you handle transactions and rollbacks?
Some more static content served from a database, perhaps?
Additionally, try flipping your images and averaging the size before comparing the distance between them. I'd expect a boost of about 78% -> 84% or so, based on how this typically works as TTA.
Serious question:

As an American, can I go vacation in Europe and then toss my documents and claim I'm seeking asylum with a succesful outcome of being granted permanent residency and the ability to work?
Isn't that like 2nd or 3rd time he did that now?!
but it's .NET, it never does start as fast as native paint.
You can't trust it. One of the first real lessons security work teaches you is that nothing can ever be perfectly secure, it's all about achieving a level of security that is appropriate given your threat model, and gives you enough confidence to be able to sleep at night.

There's steps you can take that involve incredibly secure procurement processes of air gapped devices, but even that will not prove absolute security.
https://en.wikipedia.org/wiki/DaSH_PA

I don't know if Alec Proudfoot counts as a normy, but DaSH PA flew a bunch of times, with many different pilots. That particular event, which was an attempt to try some records, was a bust; there had been rain recently and the dry lake beds weren't. Landing gear was a recurring problem (light weight and robust don't go together), and even some last-minute attempts to build a runway out of 4x8 plywood sheets was unsuccessful.

I have some very, very fond memories of flight days at Moffett, though. I had gotten to work on the Moffett runway for work previously (so cool out at the bay end of the runway at night, totally silent), and getting back there to help run ground ops (including assembling DaSH PA before sunrise so first flights would hit the calmest possible air) was just lovely.
Thanks for the roadmap, I should have just looked around the site a bit more, I would have found it.

And, I may take you up on a chat after I've had a conversation with my team! At the very least, I've joined the Discord and I'll definitely be following you guys closely.
There's always the business-school legend about the failure of the Nova with the Spanish market.
M00D Ritual, Pure Flow State AI Image Generation