skysight-inc/HackerNews huggingface dataset:
Wow, sandbox="allow-scripts" looks pretty good. Doing some additional research, it seems one can disallow all network requests via Content-Security-Policy directives:

<iframe sandbox="allow-scripts"></iframe>

<script>
document.querySelector('iframe').srcdoc=`
<meta http-equiv="Content-Security-Policy" content="default-src 'none'; script-src 'unsafe-inline'">
<span>Hello</span>
<script>
document.querySelector('span').innerHTML+=" world";
fetch('/');
</sc`+`ript>
<img src='https://placecats.com/300/200'>
`;
</script>

The JS runs, but no network requests are made. I wonder if that solves all headaches regarding the execution of user provided JS code?
Some suggestions of mark/model of binoculars good for that? With a budget of 1000$ /€(I could stretch it a bit more if it's worth the extra money)
You may not condone it, but it is relatively easy to understand. No collateral damage, single victim -- people get flustered when there is attempted moral equivalence with the goto decaptitating standins of Al Q and Islamic State brigades and acts with indiscriminate collateral damage.

>nobody will have any problem calling it an act of terrorism

Perhaps, but this slightly different than saying "people will prefer to call it an act of terrorism". I'm pretty sure that, depending on degree to which the prime minister or leader is deemed "authoritarian", some people and some media outlets will prefer to call it an "assasination".
Show HN: Hedge – An AI powered distraction blocking browser extension
Hello HN!
We developed a browser extension that blocks distracting sites. The killer feature is that we use LLMs and user-defined goals to provide the best possible blocking experience.

The decision-making process is not binary, we have multiple categories, allowing for more nuanced user interactions. This makes the browsing experience much less frustrating compared to other website blockers.

Sites like Reddit or YouTube are not always bad, and Wikipedia or other educational resources are not always good. By considering what the user is working on, we are able to make more informed and effective decisions.

Other blockers rely on pre-made blocklists for distracting websites. This approach is clearly insufficient for most use cases, as curating such lists is tedious—whether for the developer or the user.

We've also added quality-of-life features, including whitelists, blacklists, active hours, temporary unblocking, nuclear mode and a well-integrated (and optional) Pomodoro timer.

Learnings:
Initially, we scraped page content to make decisions. However, this approach posed significant privacy concerns. Now, all our decisions are based on tab metadata, ensuring a much better level of privacy and much better performance. No page content is transferred to the server.

Data collection:
We don't store browsing data unless the user explicitly reports incorrect decisions, BYOB model version will be released soon as well based on user demand.

Links:
[1] https://chromewebstore.google.com/detail/hedge-ai-powered-di...
[2] https://addons.mozilla.org/en-US/firefox/addon/hedge-ai-dist...
firewalled :-(
> The information throughput of a human being is about 10 bits/s. In comparison, our sensory systems gather data at ∼1⁢0^9 bits/s.

The title appears to be accurate?
Reddit doesn't like my network and I won't dig up some proxy they prefer. You can describe an incantation that will "move it sometimes inconsistently" instead.
I'm not talking about healthcare etc or claiming Japan as a whole is bad/worse, I'm simply stating that the Japanese government's industrial policy of trying to pick winners has a long track record of subsidizing losers instead. Any (recent-ish) counterexamples you'd like to point out?
Show HN: PromptQL – Solving Context Size and Accuracy Issues in LLM Tool Calling
Motorcycles lean to turn at speed, the trikes generally can't and are prone to tipping or flipping.

I've only ever seen them in low speed parades though.

Not sure how the slingshots with two wheels in front and one in back are at speed, i generally only see those at low speeds in cities blasting music instead of trying to get anywhere.
Im going to cite (slightly shorten) Wikipedia. I have no competency to understand the sources and fact check but I though it’s quite interesting.

> In the 2nd century the Ophites reportedly handled snakes during their services, and also worshipped the serpent.

> The Ophites […] were a Christian Gnostic sect.

> Gnosticism […] is a collection of religious ideas and systems that coalesced in the late 1st century AD among Jewish and early Christian sects. These diverse groups emphasized personal spiritual knowledge (gnosis) above the proto-orthodox teachings, traditions, and authority of religious institutions.

Seems very reasonable sects to me but it’s understandable "authorities of religious institutions" didn’t like it.

Indeed extra biblical gospel from Luke and Mark:

> Behold, I give unto you power to tread on serpents and scorpions, and over all the power of the enemy: and nothing shall by any means hurt you.

> And these signs shall follow them that believe: In my name shall they cast out devils; they shall speak with new tongues. They shall take up serpents; and if they drink any deadly thing, it shall not hurt them; they shall lay hands on the sick, and they shall recover.

IMHO Gospels are comparable with the Bible as a source of history.
arxiv: https://arxiv.org/abs/2408.10234
For shopping, surely the best robotic option are the various things the huge warehouses use, rather than havingthan a humanoid going around a store meant for humans?

Both the things that look like Roombas and all these: https://youtu.be/ssZ_8cqfBlE?si=9mCtiKKkk_N9Uk7z

No single consumer would buy all that, but the retailers can.
My main gripe with checked exceptions is they create a whole other possible code path on each `catch` clause. I tend to keep checked exceptions to the absolute minimum where they actually make sense, all the rest are RuntimeExceptions that should bubble up the stack.
What AI model does it use?
The icons look blurry.
GPT4o also has RLHF tuning on top of it though.

For raw LLMs getting kind of tripped up by being something like interpolative n-gram estimators this is some recent work that does put them closer to markov chains in some ways, especially early on in training but not fully https://arxiv.org/abs/2407.12034

"In this latter direction, we find that for 79% and 68% of LLM next-token distributions on TinyStories and Wikipedia, respectively, their top-1 predictions agree with those provided by our N-gram rulesets."
The current "Out of Africa" is really not the same as what you might have learned 2-3 decades ago, despite the branding. David Reich is probably the leading researcher in this field and his description of our best guesses is highly nuanced and open to new data.

https://www.youtube.com/watch?v=Uj6skZIxPuI

https://www.razibkhan.com/p/out-of-africas-midlife-crisis
Previous discussion that includes even more backlinks to additional earlier discussions: https://news.ycombinator.com/item?id=14267882
Are binocular superior to monocular for that use case? I thought binocular were good for depth perception which I'd assume doesn't matter here?
Self-Host SigNoz for $0/Month
ah, yes, good old Necropolitan Line. I first learned about it in "The Fuller Memorandum", a Laundry Files novel by cstross.
Show HN: I built a tool to fix the hassle of copying email templates
Hi HN,

As a support rep, I spent months copying email templates from sticky notes. It was time-consuming and frustrating, especially when formatting got messed up.

That’s why I built Tempstr — a tool that lets you instantly access and copy your most-used templates, complete with preserved formatting, all without leaving your browser tab.

Tempstr works seamlessly with the Chromium extension I also developed, which uses a restricted API key to securely fetch your templates.

If repetitive email tasks have been a headache for you, I’d love for you to check it out and share your feedback!

Miguel
For a minute there I thought this had something to do with electrifying the irrigation water.

I met a guy who sold a number of "mystery" devices that did something like that and were put on farms. The farmers must have thought it was pretty good because the inventor did well enough to move into a yachting community.
In case it's flagged: Jobs post can only be posted in the official thread. Find the correct one in https://news.ycombinator.com/submitted?id=whoishiring . More details in https://news.ycombinator.com/newsfaq.html

But this is an unusual case, so this may not by flagged inmediately.

I don't understand what you do. You teach programing in Madagascar and then offer a platform for to hire the graduates as consultants? Why are you hiring from outside instead of hiring your own graduates? (I guess there is some superposition but other task need someone with more experience.) Do you have a blog post about your activities?
> If the device was validating the server certificate, it wouldn’t make it this far, so that shows that our certificate was accepted.

One more very good reason for preventing requests to "the cloud".

However, I find it funny that the lack of proper certificate validation (which is a security issue in principle) is a pre-requisite for the "de-cloudification" process.
https://archive.ph/jaUpt
What is the added insight though?
Did you set them to use the same memory budget? Adam holds more state.

They do say it consistently matches or outperforms despite simplicity, and I think that statement means at the lower budget for their approach, but a fair comparison fk seems if it is at least promising would be take advantage of the lower memory read to add more params in their version in the comparison.

Also the paper says slow initial convergence, under limitations:

> More-
over, our methods ensure a steady and stable update during
training, allowing the model to converge better in a given
task with sufficient training steps. Thus, we might observe
that the convergence speed is relatively lower than Adam’s
in the early stage of training; as our primary focus is to
investigate the effectiveness of the SaI approach, we left the
acceleration of convergence speed in future work.
Remember when optimizing sites for mobile was new and everyones first impulse was to unironically turn their site into a fake iOS app? Those were the days.
The PCR wikipedia rabbit hole that got me down was fascinating.
Being knowingly throwaway meant that any long term knowledge got turned into a blog post, documentation, a forum thread, or a search engine indexable logs-to-html site in the worst case.

With discord the message might get pinned if a mod thinks it was useful and remains undiscoverable for the majority of people
I've spent the last few months in between searching for jobs exploring engine analysis of chess games and how parts of the analysis can be used to construct narratives about how the games went, so I opened up this article very quickly. This is a fine first attempt but I feel it's missing something very important, mainly the win/draw/loss percentages. Chess engines previously used centipawn as a way of comparing moves and positions within the search space, but now many if not most of the top engines are also incorporating the win/draw/loss percentage estimations that come from neural networks.

To that end, Julian at the Chess Engine Lab has developed a style of narrative and analysis that I feel like really uses the WDL percentages well.

https://substack.com/@chessenginelab

His series on the 2024 World Chess Championship is great and I haven't seen anything else come close in terms of using a chess engine to craft an accessible analysis of the matches. Take one look at the WDL percentages from Game 14 and it becomes extremely clear what's about to happen and how the game evolved:
https://substackcdn.com/image/fetch/f_auto,q_auto:good,fl_pr...

https://chessenginelab.substack.com/p/engine-analysis-of-gam...
https://chessenginelab.substack.com/p/engine-analysis-of-gam...
https://chessenginelab.substack.com/p/engine-analysis-of-gam...
https://chessenginelab.substack.com/p/engine-analysis-of-gam...
https://chessenginelab.substack.com/p/engine-analysis-of-gam...
Building a Theoretical Foundation for Enterprise Architecture: Kotusev (2020)
>Well we were talking about the government being bad, so are you agreeing with me here or disagreeing?

Government is merely an expression of the underlying society and culture.

>When you say "Japan thinks", do you mean government, bureaucrats, and some dinosaur corporations?

Yes and also all the others.

>You're looking specifically at the computer technology field where USA is an outlier that does well,

Japan has gained the throne of countless industries and then squandered them time and time again. I'm not merely speaking of IT or industrial electronics, which they also gained the thrones of and then squandered.

Among other things: Consumer electronics (eg: mobile phones, TVs, etc.), household appliances, cars, aviation/aeronautics, medicine, pop culture (eg: anime, video games, music, etc.), and more.

Consider that Japan literally owns the CPU architecture found in practically every mobile device (Softbank owns ARM) and they can't figure out how to fucking succeed. Japan's proud tradition of clutching failure from the jaws of success are rooted in problems with their very culture itself.
I've been running XMPP/ejabberd for a decade, it's a single service embarking everything you need, including what it takes to do A/V calls (NAT traversal & al.). Nonetheless, it's also the quietest and lowest-profile piece of server software I've ever used. I don't need a container for that, but if you want, there's an official docker image for it. Without going to host millions of concurrent users and needing to distribute the service across multiple physical servers via clustering, I don't see what good an "helm chart" does for you, but then you do you.
> On the one hand, sure. On the other hand this relentless focus on "hyper-scale" or bust is what has pushed the US startup scene to where it is and probably why it is so far ahead of the rest of the world.

I don't agree. I think this is specious reasoning fueled by a mix of cargo cult mentality and survivorship bias. Just because a hand full of startups made it all the way through to a unicorn status, and some where bought out for undisclosed reasons,that means nothing on whether an idea is or can be hiper-scalable. To make matters worse, this reeks of short-term mentality that serves no purpose whatsoever other than find yet another angle to put together a kind of pump and dump scam.
Sacarino didn't end until the 80's. The point is Bruguera was highly exploitative with crazy deadlines and tons of short stories published, even from ghost writers. Ibañez was milked down. If he had a slower pace, yes, it could still create long story albums similar to the Franco-Belgian trend, but with its own detailed style. Such as the ones from El Sulfato Atómico and Valor y Al Toro, where you can see the obvious inspration from Gaston/Spirou, but you can also spot his own style on depicting the environment. Don't blame Ibañez, but the publisher.
I don't think a group of people living somewhere for thousands of years would be "getting it wrong." You're embedding an assumption that evolution has been working toward an end goal of getting humans to spread globally, which isn't how evolution works.
How to apply the 48 laws of power as a tech person (or executor)
> Large companies are very good at extracting value, not necessarily producing it

Citation seriously needed. There is no argument here, merely a demonstrably false statement. A large company is literally the only kind of entity that is capable of creating entire categories of value which make up a huge percentage of the global economy. Furthermore, a lot of what many, many small businesses are doing, especially very profitable ones, is directly enabled by and entirely dependent on the existence of large businesses.
OpenAI o1 API and new tools for developers
> In the US they may very well think of that as failure, especially if they are VC funded

Man, if anything, this is the part that’s weird.

There’s this very weird undercurrent of keeping track of who is “winning” in the US.

Is it not possible that someone who shepherds a hypergrowth startup to IPO, is just as of much a winner as the bootstrapped founder who has a profitable, sustainable business with a handful of employees?

I get it - everyone wants to win. But in hyper focusing on winning, you may lose sight of the fact that there’s lots of ways to win.

The last part of this comment is the last part of Jerry Maguire, because I think Jerry’s mentor Dicky Fox has the right idea about this:

”Hey, I don't have all the answers. In life, to be honest, I failed as much as I have succeeded. But I love my wife. I love my life. And I wish you my kind of success.”
Everything apart from the look of the iPhone is value created by publicly funded organisations, with the exception of the transistor which was developed by at&t. And at&t were effectively a government sponsored monopoly at the time. So apple extracted value, I would argue.
Out of Africa was fought by the majority of Western scientists during the early 20th century because of their pro-European biases. The reason its accepted is because the preponderance of evidence supports it.
I think the motivation is mostly strategic: the EU does not want to be dependent on US satellites or undersea cables that can be sabotaged by the Russians for its communications.
in practice, 20 years of walking away from nuclear meant that Germany brought coal-fired stations back last year. I'm sure renewables will stop it happening again in 20 years _this time_.
Really appricate your offer

Will certainly need at some point, btw does it work with a set of 3 instead of 2?
The unfortunate part is where Christians try to pass themselves off as Jews by adding "Jewish" to the name of their denomination. I wish my great aunts and uncles could have added "Christian" to their denomination to escape being murdered in the Holocaust, that would have been nice.
Bae's Theorem (2020)
Either that, or, you don't have respect for the fact that one TA has to correct the work of >30 students per class, for perhaps 10 different classes PLUS other work (like actual research), including checking for plagiarism and the like. This only works with certain formats that are characterized by a large asymmetry of work between student and teacher.

You could, of course, pay 30x more and get better service.

And then there's the total disrespect students have for just outright knowledge and practice. Being able to recite a math formularium from memory "is useless". It kind of is. But students who can do this work 5x faster than people who can't, and surely that's a good part of an education. The second thing that really matters for math is doing A LOT of exercises (like 10 intermediate to hard problems per day, ideally) over a prolonged period of time (months, minimum). That's every last exercise in a big calculus book. The exercises "are useless". Mathematica can do it, and in almost all cases, can do it better than a 40-year experience mathematician. But ...

The difference between students who've done both and students who haven't is night and day. Including the difference in using tools like Mathematica. Frankly, you can even see the difference clearly in other subjects.
This is such a bad paper. Almost all calculations and equations look like some back of envelope calculation.
A decent researcher would have provided some tests to their hypotheses.
I don't know much about chords, but I found it interesting that you've used Antlr for parsing this new syntax. Do you think it could have been done manually by just reading the incoming string, perhaps with some regexes and splits? Or would that be too complicated?
I just tested Gemini 1.5 Flash (interactively on Google AI Studio) and the results are far from acceptable.

OCR seems good, on par with Google Vision.

But the footnotes are not properly identified on most pages; they are properly identified when there is a large gap and the first line of the footnotes starts with a number; but when the footnotes block starts with text (continuing a footnote from a previous page) and/or the gap is small or almost non-existent, it fails (all text on the page is considered belonging to main text).

But the main problem isn't even that, it's that it takes between 10 to 20 seconds per page. That would mean over three hours per volume of 600 pages. Google Vision takes less than one second per page.

It's possible there is a setup cost and that doing batches or even full PDFs would be better, though. Do you have experience with this? And can you maybe share "prompt secrets" that would improve the results...?
Show HN: Build an AI-powered panorama image generator website for VR headsets
Whatsapp wins because it doesn't require a username and password, that's too complex for many people
The thread reminded me of exactly designtokens.org. We've made this part of our design vertical. The question is how do we get engineering utilizing frameworks like MUI to implement this?
It seems this analysis is incorrectly assuming a serial communication mode for neuronal transmission, which isn’t what happens.
You think the study of archeology, anthropology, genetics, and ecology across the entire Western academic system is being subverted to support DEI using a theory that existed long before the time "DEI" was a known acronym? And you can't provide evidence?
Canoe in the ocean, camp in the swamp
I am in Europe and I work for a company that has exactly the same struggles.

Sales cycles for B2B for big players are insane - price points to offer our stuff to small/medium businesses are not enough.

Even if we provide value and save time for customers it still is hard work all the times to explain the value.

Well the grass is greener on the other side - but I can see how having B2B business where for years you have the same struggles just to keep the lights on and every month is the same and you have the same conversations but with different customers explaining 10x a year exactly the same thing - why you provide the value —— is just something people don’t want to get stuck into and can lead to burnout rather quickly.

So I can see how someone would like to land business idea where the value is obvious and people scream „take my money”.
I use `:wq!` every single time instead of `:x!`, and I think of it every single time. The muscle memory is faster than me recalling to use something different.
We live in an age when almost all our supposedly honest and self made heroes end up exposed as liars, grifters, cheaters, often with no shame and no consequences. The bad examples are coming from inside the house.
My Yubikey is only used as a factor to enable access to my password manager from a new computer. I only need it when I reinstall my computer or buy a new one.
> documentation for the API

I've got bad news for you...
You wrote "one could infer that this is an indicator of Here Be Christians".
When Is Insurance Worth It?
Isn't it Yesu, the diminutive, so Josh? "Josh is the name above all names", sounds kind of odd though.
Has anyone tried to DIY this tech?
> I would argue it is less healthy for the economy. Large companies are very good at extracting value, not necessarily producing it.

I agree, but from a different point of view. Companies put out products and services aligned with their strategies. In large companies, you build up strategies that spread across multiple domains. This means that product managers need to enforce constraints that will go well beyond the concerns of the use base of their specific product. That is a net loss for the customer as the product/service they once loved is now a way to force-feed them things they do not want or care about.