skysight-inc/HackerNews huggingface dataset:
I built Audiala [1][2][3], which is a platform that creates virtual tour guides that goes with you anywhere in the world. While the content is mostly static now, the pipeline is there to make it entirely personal for each user, once I figured out how to deal with the API costs.

The next steps are to adapt the content based on realtime user feedback or queries like "What happened on this street during the French Revolution?" or "Tell me more about this building’s history." as well as offering step by step itinerary suggestions.

I believe it's now possible to build an Augmented Reality solution, where you leave your phone in your pocket, put some airpods and you listen or converse with your personal tour guide and fully immerse yourself in history.

[1] https://audiala.com

[2] https://apps.apple.com/us/app/id6446038181?uo=4

[3] https://play.google.com/store/apps/details?id=com.audiala.au...
Easy, don’t let hucksters make TV infomercials promoting their snake oil.
I built a website to help people find summer camps for their kids.

https://campwing.camp/

Right now it’s just what i got up in a hurry last year, covers Seattle area only. Next year will cover SF and LA at least (and have a lot more features).

The data is quite granular (each row is one batch, say x age group at y location with z theme) and I do a lot of structuring data with prompts and now OpenAI’s Structured Outputs. I think the data gathering would have made this cost prohibitive otherwise.

I’m not engineer by training or work experience, so this also would have been impossible for me to build without ChatGPT’s help coding.
I explored whether this could be helpful in an online dispute resolution platform. The system could detect insulting or angry messages that threaten to derail a conversation, and suggest a more neutral way of formulating them. I think it's promising!

https://arxiv.org/abs/2307.16732
You are right. Yet, if you asked me how to get less noise on your audio circuit the LDO is the easier answer that will cost you less time to implement and likely give you the superior result.

Especially for beginners without a ton of measuring equipment and experience having potentially bursty high frequency components in series can be an interesting way to not get the thing they were planning done, but instead have to deal with an entire new set of problems whose existence they didn't even know about.

Technically you are correct, but "just slap a LDO on it" is probably the better advice.
I originally only wanted to point out that the cited benchmark doesn't actually run the same thing for both cases (`do_fib_throws(...) + do_fib_throws(...)` has no defined call order), but then looked at the assembly and noticed that they are very differently structured. It turned out that GCC only recognized `do_fib_throws` to be eligible for tail calls and did some more inlining, and putting `noinline` and `optimize("no-optimize-sibling-calls")` attributes reduced the gap to a more believable level (~50%). As tail calls are highly sensitive to the exact call sequence, this benchmark is not suitable for the claim without detailed analyses.

Yes, result types may result in a worse branch prediction among others. But that is rarely the primary performance issue caused by them, as you would expect the "unexpected" branch to be rarely taken anyway. The actual performance issue simply comes from the fact that it uses a more complex code in the typical path, so it may confuse the less sophisticated optimizer and prevent potential optimizations possible just like above.
> We shouldn’t have keys then. Really bad actors are going to force your door anyway. Let’s at least save the doors.

Locks aren't for the really bad people, who are in fact going to break down the door. They prevent crimes of convenience.

But Tor is the lock, and the crimes of convenience would be e.g. mass surveillance of the population, in the event that ordinary people don't have it. So it's not clear what you're arguing here. That everyone should use Tor?

> Tor main use is child pornography and drugs. If you think you’re helping oppressed journalists, it’s 99% false.

Start here:

https://news.ycombinator.com/item?id=41507790

Add to this, the illegal stuff isn't accessed via exit nodes, which link into the ordinary internet. Those things use hidden services, which are internal to the network and don't use exit nodes.

But let's even explore the premise. Suppose a lot of the traffic is people trading in illegal materials. Well, that's not really a big problem; people do that stuff via several other existing channels and the societal cost of each instance of someone buying pot over the internet isn't very high. Whereas the societal benefit of one single whistleblower is massive. These things can change the lives of millions of people. So even if it's 99% contraband, the remaining 1% is ten million times as valuable.
> The reason why the CLI is good is because it _can't_ do most things people want it to do.

-1. You’ve lost me here.
The reason why CLI is good because it solves problems that even modern GUIs can’t, not because of some artificial limitations or lack of convenient defaults.

> Which means you have to think when making an application.

“Think” and “remember obscure syntax that greyheads keep on a paper under their mattress” are two different things. I agree with the author that sensible defaults are severely lacking from some of the tools.
It blocks some of them, usually the most basic. I also seem to remember that by not answering those prompts (and hiding them instead), you actually consent until you decline.

It absolutely can't block the more advanced, sometimes multi-stage prompts Google, Youtube, and many newspapers use. Consent-o-Matic actually goes through those prompts and declines the maximum possible amount of tracking, while consenting to the necessary options required to make the site work.
Why ruby?
I have a checksum, uh, dream for lack of a better word, but I fear I lack the talent to pull it off. The problem with a checksum is that it only tells you that an error exists (hopefully), but it does not tell you where.

Imagine writing out your stream of bytes in a m x n grid. You could then make checksums for each 1 through m columns, and 1 through n rows. This results in an additional storage of (m + n) checksum bytes. A single error is localized as an intersection of the row and column with bad checksums. One could simply iterate through the other two hundred fifty-five possibilities and correct the issue. Two errors could give two situations. The most likely is four bad checksums (two columns, two rows) and you could again iterate. The less likely is three bad checksums because the two errors are in the same row or column.

I ran the math out for the data being rewritten as a volume and a hypervolume (four dimensions). I think the hypervolume was "too much" checksum, but the three-d version looked ... doable.

Someone smarter than I has probably already done this.
Technically right but useless. When people talk about superset, they rarely are considering code formatting or parsing.
On the other hand GTK has been rewritten 3 times and each new version deprecates a bunch of stuff, making it an absolute nightmare for apps to migrate.
This is fine. A problem arises when you assume that this will always be the case, for all developers, and then mandate that they omit comments, _without checking if your assumption is true for their case_.

IMHO that rule can be generalized: Whenever you make rules for other devs, make sure that the assumptions on which those rules are based are true, lest you interfere with their work in a negative way.
In the Lie of Duty: Job Application Fraud Uncovered
I am confused, when was YAML ever considered a superset of JSON?

These are completely different serialization formats.
This is what Firefox sync solves (especially with the tab stash extension). I don't know what to do about macos battery life though ¯\_(ツ)_/¯
I like a lot this perspective, and I think it is true on the everyday attitude, but deep inside Poles remember history.
The name ist pixtral_12b_240910, size is 24gb.
My best guess would be it's a multi modal LLM.
I had a professor in college who would grade you down if there were any comments in your code.
> The thing that baffles me is that so many people are resistant to these two things because they don't like the lead dev.

Who’s the developer of kitty… oh.

It’s the guy who said he’ll single-handedly going to keep Python 2 alive?
Not the OP, but I do have an food sensitive autistic son. He will absolutely not eat rather than eat something he despises. There are obvious moral limitations on testing his resolve, but he has skipped meals (without causing a fuss) plenty of times.
I use LLMs to generate meal plans for my app https://getweeklio.com. You can also generate recipes for any of the meals. Another functionality I want to add is being able to get a list of ingredients to make a shopping list. Right now al of it is using chatgpt4o. I put a cache in place initially but with the cost/speed of the new models it's becoming kind of unnecesary.
"because the market price for something already includes a margin."; that's called value add, and all customers pay it, so it doesn't matter whether the government buys it or directs someone else to pay it, the value add becomes the profit.

The government isn't some magical "outside the market" participant, as a purchaser it's a part of the market like all other participants. If they pay over the market price then they've been ripped off, just like if anyone else paid over the market price.
Really this. It’s been great for me to dive into an unknown area with a new library from scratch.

Explanations of code work relatively well for smaller chunks of code.

When files get larger, I get more of a miss rate/bad suggestions unless I start tightening the scope.
`'{"a": 1e2}'` is YAML not JSON. What a weird argument.
You can't justify a bad policy with a different bad policy. Trying to control access to a fungible global commodity is pointless.
FWIW it works fine for me on mobile. The default layout is odd but it's possible to move and resize every window.
Don't forget the third option: don't. Updates are necessary when the customer asks for them. Most customers won't, and if they do, they don't know they need an update if you compile everything statically.

Personally, the update story is why I find developing on Windows much easier than developing on Linux. Instead of hundreds of small, independent packages, you can just target the _massive_ Windows API. You can take the "living off the land" approach on Linux too, but it's harder, often relying on magical IOCTLs and magical file paths rather than library function calls.

Not that I think the Win32/WinRT API is particularly well-designed, but at least the API is there, guaranteed to be available, and only breaks in extremely rare circumstances.
This article claims that 1e2 is interpreted as a string, while this other article on the front page[0] claims that 556474e378 is interpreted as a number. What's correct?

The YAML "Scalars" section[1] says:

> A few examples also use the int, float and null types from the JSON schema.

And includes these examples:

canonical: 1.23015e+3
exponential: 12.3015e+02

So, is the "+" required here or not? Is a YAML parser buggy if it doesn't parse all JSON numbers as numbers?

Edit: Ah, further on, it says:

Canonical Form
Either 0, .inf, -.inf, .nan or scientific notation matching the regular expression
-? [1-9] ( \. [0-9]* [1-9] )? ( e [-+] [1-9] [0-9]* )?

The example 1e2 clearly matches this regex, so his YAML parser is broken.

Edit edit:

In YAML 1.1, there were separate definitions of float[2] and int[3] types, where only floats support "scientific" notation, and must have a ".", unlike JSON.

So this article is talking about YAML 1.1, while the other article is talking about YAML 1.2.

[0] https://news.ycombinator.com/item?id=41498264

[1] https://yaml.org/spec/1.2.2/#23-scalars

[2] https://yaml.org/type/float.html

[3] https://yaml.org/type/int.html
> I don't know why so many highly advanced, liberal democracies are so dependent upon VAT/GST for tax revenues.

See above discussion, when wealthy people are responsible for declaring their own income, it tends to be low.

GST is "regressive". You have to charge everybody the same 10%. You can't ask wealthy people to pay 40% like you can with income tax.

I actually have no idea what percentage of tax revenue is GST vs Personal Income Tax vs Company Tax. I'm interested now, I'll go do some research.

This is what I found
https://www.abs.gov.au/articles/insights-government-finance-...
I'm a hardcore PC gamer. I have a Switch, which I play Nintendo exclusives on, but other than that there's not a console in my house.

I'm telling you for a fact that almost all the people I interact with day to day RE games don't give a shit how good or accessible PC gaming is now. They're going to buy a console no matter what. That's the general consumer I'm talking about.

I'll come back to this and eat my words if this thing doesn't sell out. I think they've got more money than sense personally.
What is the upper bound on the level of improvement (high performance networking, memory and compute) you can achieve with ternary weights?
It is possible that the 'nanny state' is both good in some ways and bad in others. You and I benefit in uncountable ways every day from the protections granted by such a system, without realizing it.

Nuance is tough. It is easier to find a simple thing to blame and advocate against it. But nothing is simple -- governments are composed of people and those people have inside them conflicting motivations, each person's different than the other -- and most of them are not malicious. The same with business, and with the public.

Let's look at issues on their own and not try to categorize everything as part of a black and white choice.
and the judge and the state attorney involved are controlled by the state's justice department which is run by politicians. yes, in germany the judiciary system is not politically independent ...

https://www.transparency.de/aktuelles/detail/article/eugh-ur...
I don't remember if it was an official talking point, but "you can load json on a yaml parser and it'll read the same" is a claim I've seen around.
I have pc and macbook sitting next to each other, connected to the same ext monitor via active hdmi splitter. The pc I use mostly for debugging and testing the application I'm making. The mouse have a 2.4hz-dongle/bluetooth switch, as well as the keyboard, So I'm pretty much able to use the both systems at the same time, and when switching monitor to hdmi from pc, I don't even need to sync the browser since it's available on macbook to the right still. BTW switching mouse and keyboard can be bound to a single hotkey with their software, and switching takes ~1s, for me it makes working with 2 systems in parallel a seamless experience nowadays.
I like the idea but it's "hallucinating" a lot. An example that I often use is to search for a building not too well know in a small city. If the information (such as architect, building date) is online, but the content generated is wrong, it fails my test.
Won't compare
There was a similar discussion when facebook started running facial recognition on all pictures.

But is is interesting if the image generators from facebook will be able to generate pictures of non-celebrities just from their name. Although it would be fun to see what the average Joe _actually_ looks like.
To be fair, I have a similar problem with bash. There is no way to remember how to write a for loop for me
I work in a tech company which is a bit bigger than cloudflare and anything less than 6 figures/yr opex reduction is a rounding error.
It is pretty regular to save the company 7 figures per year when opex is in the billions.

It is about the opportunity cost, nobody is going to disagree that small optimizations are a net positive but what else could you have done with your time? Maybe cloudflare is at the point of maturity where there are no easy wins and only 1% gains left but I kind of doubt it given their reliability track record. How many dollars do they lose for every hour they are down? Probably more than $20k.
By many people, e.g https://learning.sap.com/learning-journeys/build-side-by-sid...

But the yaml docs said it’s accidental

https://yaml.org/spec/1.2.2/

«The YAML 1.18 specification was published in 2005. Around this time, the developers became aware of JSON9. By sheer coincidence, JSON was almost a complete subset of YAML (both syntactically and semantically).»
Or, to quote Wikipedia:

> Jackson has become a second home for various celebrities, often due to Wyoming's income tax regime, including Sandra Bullock, RuPaul Charles, Kanye West and Kim Kardashian, Nikki Sixx, and Harrison Ford.

I only knew about Harrison Ford living there before I read the article, guess it shows my age...
Obviously the contract needs to specify the license.
We've updated pnpm to 9.10.0, and it's alright now. Thanks for pointing this out to us!
The first image I get on Yandex is "Professor G.K. Egan" on the "staff-fake.html" page of a University website[0]. Aside from the "fake" part of the URL, it's not "the" Greg Egan we're talking about.

The second image is his profile picture on X/Twitter[1], which one can assume is fake since he says himself that his only puts fake photos (and that picture seems to be nowhere else on the Internet).

The third image is a speaker on the French-speaking Belgian radio that has one episode of his show about Greg Egan[2].

The fourth image is Knuth Berger, a journalist that has a discussion with Tim Egan about a book[3].

[0]https://www.ctie.monash.edu.au/staff-fake.html

[1]https://xcancel.com/gregegan

[2]https://auvio.rtbf.be/media/entrez-sans-frapper-de-la-hard-s...

[3]https://www.seattletimes.com/entertainment/books/journalist-...
> > I think you misunderstood the authors context too

> This I did not. The post was about Git Bash as a command-line shell for Windows and everything it entailed, I understood that and that's why I wrote the paragraph that followed.

I literally just said he wasn’t just comparing Git Bash with Powershell though. So you can’t have understood their context if you took Powershell to be the “cornerstone”.

It’s a bit of a muddled blog because he is constantly switching focus between “Git Bash” (the package / distribution; whatever term you want to describe it as) and Bash.exe (the shell).

There are a lot of the comparisons are with things like WSL, for example when he discusses the underlying file system. And when he talks about the ease of installing and keeping things up to date. None of that was directed at Powershell specifically, nor even at all.
I wrote a similar article two years ago, with some screenshots of people claiming YAML is a superset of JSON: https://john-millikin.com/json-is-not-a-yaml-subset

It's one of those beliefs that seems like it should be true, but isn't for obscure technical reasons.
Any time you’re looking for a graph algorithm there’s a pretty good chance Tarjan’s name is on it
What was the problem with Xrdp? I use it every day from both Windows and Linux clients and haven't had issues.
> If parts of the state wanted to harass operators systematically or organize to discourage TOR, they could do much worse.

it is beginning to get much worse ...
> "because the market price for something already includes a margin."; that's called value add, and all customers pay it, so it doesn't matter whether the government buys it or directs someone else to pay it, the value add becomes the profit.

And now the company has profit it wouldn't have had, as a result of the government, which can use control over that profit to attract businesses to the jurisdiction etc.

> If they pay over the market price then they've been ripped off, just like if anyone else paid over the market price.

Only if the thing they want is the thing they're nominally buying, instead of the thing they're actually getting for the money, e.g. convincing a corporation to employ local workers or move into the jurisdiction and declare international profits there.
Author has no clue, but I don't blame him.

There are - similar to the JSON insanity - multiple YAML standards.

YAML 1.1 and 1.2+ are the important ones, as the "superset" argument is only valid since 1.2.

HOWEVER PyYAML is a YAML 1.1 parser: https://pypi.org/project/PyYAML/#description

This also can be responsible for many security problems, as ppl will assume things about JSON and YAML, but don't worry about which of the 8 different JSON standards / YAML implementations they use.
> Clearly these users opted in when they signed up for Facebook and then uploaded their photos.

Not correct. For instance I, an Australian, had an old Facebook account that I forgot about. I never agreed to any new conditions. In June I received an email from Facebook notifying me that they would be updating their ToS and begin processing public posts and photos. I have been trying to delete the account since but Facebook is refusing to without reason. The account appears to be locked and unrecoverable.

> They had an option not to use Facebook.

That's nice, and I can appreciate this point to some degree, but people can and do change their minds. It's very American style viewpoint that contract law trumps all, e.g. arbitration clauses which aren't really a thing around the rest of the world. Privacy and consumer laws can and should trump Meta's sneaky invasion of privacy.
We already do..
How about we empower panels of experts in their fields to make decisions based on rational and informed consensus and then revise those decisions every so often, so that we don't have to personally choose to ban everything or nothing?
Yah but if you want to click around on a neat lil web page this is great.
Nice article, it captures the issues I've had with code reviews very well. I'm just not sure the "pairwise diff" would work well in practice. Sometimes you do forget a change which should be separate commit (in between the existing commits), etc.

I recently got introduced to Sapling, specifically to the approach of never merging more than a single commit and also doing code reviews commit by commit. I like that idea even better!

Of course with existing tools like git & GitHub this seems rather difficult to implement, but Sapling automatically keeps track of how commits change across fixups & rebases, and it also handles entire "stacks" of merge requests / commits.
Can't you also charge up capacitors then slam them together in series? Is there a name for that kind of supply?
> the internet is not actually forever it’s like ~10 years old at most now

The internet has existed for longer than the web which is already 30 yrs at this point. Not sure I catch your point that it's 10 yrs old.
Reflection 70B's performance questioned, accused of 'fraud'
Official YAML spec says so.
The YAML 1.2 spec states:

> YAML can therefore be viewed as a natural superset of JSON, offering improved human readability and a more complete information model.
No, the YAML parser is a valid YAML 1.1 parser, where this behaviour is totally correct and in spec.
Successful Enterprise RAG Solutions
Ask HN: H1B visa salaries vs. US citizen salaries?
I recently got an offer for a software engineer position, but it's significantly lower than what they paid to a foreign employee on an H1B visa, as I found on h1binfo.org. Has anyone successfully used H1B salary data to negotiate a higher offer? What risks or strategies should I consider when doing so?"
What's "correct" depends on whether your YAML parser defaults to YAML 1.1 or 1.2.

Most YAML parsers default to 1.1 for compatibility reasons, because if they default to 1.2 then existing YAML documents expecting 1.1 behavior will be parsed incorrectly.

YAML is a difficult language to parse if you care about getting the correct data.
Thanks. Didn't realize anyone thought this. I checked the YAML docs when I saw this post, and it didn't seem like an official feature.

The SAP article definitely states it, that's the first time I have seen it described that way.