skysight-inc/HackerNews huggingface dataset:
Is Open AI using it in their assistants API for retrieval? Answer performance of those is really bad and retrieval is slow compared to Pinecone.
I got similar comments when I launched OnlineOrNot.

My paying customers say there was indeed a need for a 200th uptime monitoring/status page service.
Miscellaneous Technical
I think it’s just cost optimization. ChatGPT is a data acquisition operation for GPT5+

It recently started claiming it can’t do more complex over because it was just an educational platform
A little late to reply, but you're of course right, there's no direct way to compare the performance. Python serves (among others) a niche, where it's basically the glue between highly optimized C libraries like numpy. If you're writing that kind of CPU bound code, Python just passes blocks of memory around and it's fine for that. I think this is what you're talking about.

I think outside of that niche, though, there are places where people are writing heavily CPU bound code in Python, because it is so easy to become CPU bound. Case in point: I recently sped up an ML ingestion pipeline by multiple thousands of percent by switching from a pure-python PDF library to one that wraps a .so written in C.

So my point, restated: if you're CPU bound in pure Python code and you have time to try and optimize it, just rewrite the critical section in C and use the FFI. This is how 90% of "Python" libraries get implemented anyway. Compared to this, trying to make Python code more CPU efficient is a waste of time.

By the way, I have done work on CPU performance optimizations in Go, Rust and C, and the things you'd typically do are not possible in Python anyway. You're basically left with randomly tweaking the code until the benchmark gives a thumbs up, because it hit on some cpython idiosyncrasy that will completely change around a few versions later.
American culture is to be envied by all. Europe has a lot to learn.
You don't need to be a Google employee to know its products lack innovation from day 1.

It's a one trick pony company, having just created search, rest is only buy/copy/steal.

It's a company rotten to the core.

It bought a few companies back then and helped scale it with capital (Android, YouTube...), also copied others, like there's a whole Netflix documentary about Google Maps.

Don't come saying that Gmail was genius. There were so many free web mail offerings at the time. The only thing they did differently was giving 5GB storage because they never needed to make money with it, as search was a money printer.

Now that there is no ad space left to be added on their products, it's a sinking ship.

Also with their dieing cash cow search business, with Perplexity and OpenAI eating their lunch.

It you still look at Google and don't see IBM, you need new glasses
probably doesn't meet the 2nd requirement, most definitely doesn't meet the third, but:

https://cdk8s.io/docs/latest/
I'm a big fan of Python as configuration for my own projects, but:

- It requires discipline for devs to keep the conf declarative. Discipline is not automatically enforceable, so it's prone to failure.

- No guarantee of reproducibility.

- You need a Python VM (or a starlark interpreter if that's what you like). It's a big constrain.

- If you are a Saas provider, accepting Python as input is really hard to secure.
Is there a pdf somewhere? I see there are instructions for building it, but not the actual file.
the r/FODMAPS sub is pretty active.

The main issue I see though is that if you're going to include processed foods, things will get complicated.

The names for various ingredients change in some countries ie: Sorbitol is also known as glucitol, D-Sorbitol, Sorbogem and Sorbo .

I use this example because Sorbitol is a sugar alcohol that affect FODMAP types.

You might do well having a chat with the Monash University, they have done a lot of work on this and have even published an app for people to check and see what sensitivities particular foods might have.

https://www.monashfodmap.com/

That database might be crucial for your site.
There are multiple vectordb available in the market, open source ones include Milvus, Qdrant, Weaviate etc. Cloud services include Zilliz Cloud (managed milvus), Qdrant Cloud, Weaviate Cloud etc. Try using a benchmark tool to evaluate them. Here is an open-source option for your reference: VectorDBBench (https://github.com/zilliztech/VectorDBBench)
We're talking about templating and generating files, but it seems like everyone has just collectively forgotten about M4?

Yes, it can be unsafe if you're not careful, but if you need to bang out a quick prototype it's the best tool there is. It's part of POSIX, and so it will always be available, the language is dead simple, and you can generate any text you want with it.

I wouldn't use it with YAML, but I would probably never template YAML in the first case: just generate JSON and feed it through `yq -y` if you need a quick YAML generator.
maybe yaml should standardise hygienic macros. and a repl.
In the early 19th century Harvard cost a total (everything from tuition to clothes, housing, vacations, and servant) of about $8,400 inflation adjusted. [1] And in times before we turned the money printer on, inflation was very stable - even occasionally dipping into deflation, so that's going to be quite close to what it would have cost in the late 19th century as well. And there was no opaque system for admission. If you passed that test, you were in. Well at least until the early 20th century when Harvard decided too many Jews (who were anything but elite/rich at the time) were being admitted, so they created a racial quota system. The only requirement was academic excellence.

And on that note of excellence, that test is going to completely destroy most of anybody, let alone high school grads. The breadth of knowledge demanded paired with the extensive depth of such is something very few are practically capable of obtaining without an absolutely obscene amount of effort. Keep in mind this wasn't some sort of a take home exam or whatever, these exams were done on the spot - in an 8 hour window.

[1] - https://money.com/what-college-cost-200-years-ago/
> ISPs are SUPPOSED to allocate a /64 for a single customer.

Weren't they supposed to allocate a /48? Or did that change while I wasn't looking?
Spot on. We use ytt[0], "a slightly modified version of the Starlark programming language which is a dialect of Python". Burying logic somewhere in a yaml template is one thing I dislike with passion.

[0] https://tanzu.vmware.com/developer/guides/ytt-gs/
YAML is the Bradford Pear of serialization formats. It looks good at first, but as your project ages, and the YAML grows it collapses under the weight of it's own branches.
"YAML is a superset of JSON" only means that any JSON document is a valid YAML document. It does not mean YAML is equal to JSON.
How would one use the json api without ending up writing a bunch of custom code?
I don't mean optimization is pointless, I mean trying to optimize Python code for CPU performance is pointless. If you're going to spend the time to do that, just rewrite the critical section in a reasonable language, then wrap it in an FFI and use that. Optimize the C code if you need to.
> Disclosed leaks (massive as they are here) are still 10%

A very good question! Might be less than 10%, actually, wouldn't you think? If you know Mr. Troy, drop him a message; I'd like to know his opinion, as I haven't seen academic papers estimating these things.

Then, a further question is that as data keeps and keeps accumulating, bigger and bigger and bigger and faster and faster and faster, more and more and more will leak in the future, including more and more sensitive (read: non-personal) data.

EDIT: less, not more, sorry for the inconvenience.
OMZ and zsh are great in many ways, but I still miss my CTRL + W from the bash, deleting the whole word regardless of the chars...
You actually said that Gleam won't reach Elixir's levels of success.
I applied to Qdrant a while back and got this response:

"We are getting many applications for this position. Usually, a test task would help preselect suitable candidates. However, since we develop open-source software, we rely on contribution.

You can build an open-source Qdrant connector to another framework or library. The simplest one would be, for example, a Streamlit data connector. But other ideas are more than welcome!

No limitations and no deadline. As long as this job position is online, we accept submissions. After you are done, send us an email to career@qdrant.com with the link to the repo. We will review it and get back to you asap."

No interviews, conversation before this email. Hope they see and fix this.

Edit : No Pay.
You should use whatever works best for you unless you face some limitations.
The issue is that vector databases are not databases but search engines. It is ACID vs BASE.
A few thoughts on this https://qdrant.tech/articles/dedicated-service/
It's proprietary magical undocumented locked-down tech that I don't want anything to do with, regardless of how well it performs.
Even worse, every generation repeats this mistake. I‘m not sure S-Expressions are the answer, but Terraform HCL should never have been invented.
> k8s manifests were supposed to be machine-generated from the k8s's inception,

failed spectacularly at not being inconvenient enough for their intended purpose.

one of those cases where unreadable by design would be a most welcome feature.
they probably don't use a single chip.
I got a chemex for xmas and I got to say it is awful.. can't make a decent cup with it for the life of me. Had no problems with a regular pour over into a pot.
Considering tech layoffs, that's a very real chance in a mega corp as well.
> Are there any serious advantages of YAML over TOML?

Probably not but you forget YAML came out in 2001 where TOML came out in 2013. Neither are spring chickens but inertia is a hell of a thing. For example, Symfony supports YAML, XML and PHP definitions -- but not TOML. Symfony v2 simply predates TOML and they never got around to ditch YAML for TOML because it's not worth the bothering.
> I don’t understand why people are still using it

It's a good comaparator, there are indeed a lot of similarities, but I never understood why anyone ever used Coffeescript whereas I do think I have a solid understanding of why people use YAML.

It's more like Python than Coffeescript really: it's not just about simplicity & brevity, it's about terminators.

Whitespace-dependent languages are often a pain to format / parse / read in many ways - Python has survived this by the skin of its teeth by being extremely strict about indentation, both in terms of the parser & also community convention. YAML hasn't had this - it remains a mess.

However, both have that very attractive property of not requiring terminators, which can't really be understated.

> if you really care about conciseness, there’s TOML. Are there any serious advantages of YAML over TOML?

TOML's got some good properties but its handling of structures with a depth > 1 is far from concise, and pretty terrible if I'm honest.
Offtopic: Is there a good OSS mixed (vectors + traditional) that can be embedded in our own solution and allows storing indexes in a pluggable kv storage? Besides rolling one, I cannot really find anything. Rust or Go would be best.
we have a pipeline that ingest very concise cuelang files.

then it generates json files for each application for a tool that will create xml definitions which then are applied to a xls which the architects own, to spit out a yaml that we use to apply our helm charts. the charts deploy a k8s client which then interact with the main cluster via json using the api.

took a while, but we are using the best tool for each job.
Hey now. Your average Haskeller would simply recommend you replace YAML with Dhall.

https://dhall-lang.org/
In a long-haul Turkish Airlines flight I took in October, I only had USB-A power. But it was economy, who knows what the higher tiers had.
> Why is “on” a boolean literal (of course so are “true”, “false”, as well as “yes”, “no”, “y”, “n”, “off”, and all capitalized and uppercase variants)?

Norway is also "False".
Meanwhile in JavaScript land, config is simply another js file, with all the Object and Array literal goodness that that gets us, and the full language environment backing it up.
Yes.

Except you then have to sensor that programming language severely. Maybe you can accept some endless loop, but you probably don't want the CI orchestrator to start mining Monero, instead of bootstrapping and configging servers and services.

A solution to that sensorship might be a very limited WASM runtime: one that offers a very few API's, has severely limited resources and timeouts and such. So people can write their orchestration in Python, Javascript or Rust or even Brainfuck if they want, but what that orchestration can do, and for how long it can do that, and how much memory, space and so on it gets, all is very limiting.

While that may work, it's far harder to think of than "lets make another {{templating|language}}" inside this YAML that we already have and everyone else uses.
> It was a smart and cute little device when it was invented, but let’s be honest, it’s highly inconvenient,

It is lower maintenance than an espresso machine and cheaper to replace. Good if you just want an espresso-sized caffeine fix.

> and it’s not making a particularly good coffee either.

On that I can agree :), but it is passable.
For complex environments like those discussed in the article, there’s unavoidably complicated logic.

Code is a good place for logic to live.

Compared to yaml, code is more testable, readable and expressible.

I should’ve restricted my original comment to the kind of situation in the article where different configs are created for various regions and test environments with optional values. Totally agree configs are useful for defining more static values.
It's a series A. Thinking about the moat in a hot market like vector DBs is a great way to miss out on unicorns.
Options for using Windows 11 with Mac computers with Apple M1, M2, and M3 chip
Different requirements, different guarantees. Principle of least power. Have a look at https://docs.dhall-lang.org/discussions/Safety-guarantees.ht....
Show HN: I made a Paldeck website, all Paldeck Pals in Palworld
Under construction...
If most of the web is non-indexable then you're probably your math makes sense :)
Show HN: CronbotAI – All-in-One CRM and Customer Support Solution on Autopilot
Hello,

We have released first version of CronbotAI today.

We are live on ProductHunt and it would mean world to me if you can support the launch:

https://www.producthunt.com/posts/cronbotai
The sourcecode is very readable of this product. And good license, no agpl or worse stuff.
I know some people say you should put hot water in it so it doesn't cook the coffee as long but on induction it boils in seconds anyway

I do the “Moka pot voodoo” technique [1] where you set the base on the stove and get it boiling first, then drop in the basket and screw on the lid, using a towel to protect my hand while holding the hot base. After that it’s a matter of moving the entire thing on and off the heat to carefully regulate the water temperature so that coffee only trickles out with no gushing. It makes wonderful coffee!

[1] https://youtu.be/u-PeYeiqPLU
In my case, I'm templating YAML because the Obsidian Templater plugin can read YAML frontmatter it asks you for and then fill in a Markdown file with the Mad Libs you choose to populate it with.

I understand this is a niche use case.
One time, I was cowboy coding and ended up writing `grhh` (`git reset --hard`) and hit enter before I realized that it was a mistake.
The second requirement is actually probably the most important - if someone that just set up ArgoCD, Flux, or has their own GitOps pipeline, how much of a headache does using a new compile step present?

Lots of things are simple in isolation: want to use Cue? Just get your definitions and install the compiler and call it and boom, there are your k8s defs! Ok, but how do I integrate all of that into my existing toolchain? How do I pass config? Etc, etc.

The best, fastest tool won't win. The tool that has the most frictionless user story will.
There are even lots of errors on the four example images' readings. I'm on mobile so I won't file the bugs, but this project has a lot of work to do.
At the boundary between water and air, molecules are constantly snapping back and forth between being liquid and vapor. It's just that an equilibrium has been reached that makes the system appear static.
A good friend of mine was in QA at Boeing. He turned things away constantly, to a point where he was let go for being too much of a pain in the ass. They’ve been a dumpster fire for a long time.
You can probably "do miracles" if you optimize for fp8/fp16
I think it's worth deciding what you want to communicate. If it's "we have good uptime, but we may lie", then it's a green bar always. If it's "we're honest about our downtime" then the colors should be distinct so users can notice and inspect the days that are <100%. A gradient runs the risk of looking "all green" even when some downtime minimal happened. If that's not the goal, then I'd recommend a step function (green, yellow, red, for example).
works perfectly fine for me. maybe you have misconfigured your terminal application?
For those who do not know it yet, the now classic noyaml site: https://noyaml.com/
How does it compare to dhall?
Doesn't Spotify basically need to pay nonrandom royalties on stuff inside any given playlist such that streaming some content costs them more than others, while the users payment is constant? If that is true it defies belief that they would avoid cost optimization on their side and give users a truly random shuffle. Especially if they can argue that users don't know randomness when they see it
Thanks! I needed to know that.
Do you expect a tech interview by just applying?

From your perspective, you're filling out an application, maybe writing a cover letter, but on the other side, there are 100+ applications like yours. Not all of them are qualified, CVs are not a trustable source anyway.

That's why companies add tests to filter first, then interview later.
Fyi https://cdk8s.io/
I agree that YAML templating is kind of insane, but I will never understand why we don't stop using fake languages and simply use a real language.

If you need complex logic, use a programming language and generate the YAML/JSON/whatever with it. There you go. Fixed it for you.

Ruby, Python, or any other language really (I only favor scripting ones because they're generally easier to run), will give you all of that without some weird pseudo-language like Jsonnet or Go templates.

Write the freaking code already and you'll get bitten way less by obscure weird issues that these template engines have.

Seriously, use any real programing language and it'll be WAY better.
Ask HN: Retail entrepreneurship with mostly SaaS experience
Hey HN, my wife and I are often complimented on our home taste, and we love building "collections", so we've considered creating a retail/ecom site for curated home designer goods in a niche that matches our style.

I know how to build the tech (it's pretty easy these days) but my own experience with startups is on things like developer tools and other B2C or B2B SaaS products. I have a relatively vague notion that we'll need to plan things like sourcing, inventory, merchandising, branding, fulfillment, etc., and am ready to dive in to explore.

One thing I think that's on my side is I've got good product, brand, and marketing experience in a general sense, and a good focus on the numbers needed to move a business forward.. or at least a framework to get started. That, and startup costs seem relatively low compared to a brick and mortar shop, so if I get in over my head it's fairly easy to get out.

That said, does anyone have any lessons learned or other advice from having made the transition from SaaS to retail? What did you wish you knew before you got started? Were there any resources that helped you make the right decisions - books, blogs, etc.? I'd love to learn anything I can.
I really liked the videos about dismantling, moving and reinstalling the organ at the museum. There's a playlist here:
https://www.youtube.com/playlist?list=PLluPQLh1xzlI7EMB5qIxD...
You could today outsource piloting to some cut price under trained pilots but it doesn't pay financially because crashing an airliner is expensive, in the hundreds of millions. They actually tend to hire the lowest risk pilots as it brings the insurance costs down.
I'm Dominican-American. The Dominican Republic LOVES these things. Incredibly cheap, very fast and brews super strong due to the percolation effect. Coffee via moka pot was my first exposure to coffee, and I still make coffee this way occasionally. It has a very unique "espresso but also not" flavor that tastes really great with certain types of beans.
Even if Gmail was genius, it's almost 20 years old and hasn't really evolved that much since day 0.
I’ve recently (past year) been diving deep into async Rust and the modern Rust ecosystem after a several year hiatus (last active 2013-2016, pre-async). maybe this advice applies to a small category of application developers, but this take overall feels reactionary (versus constructive) and immature (cites OS primitives that don’t approach the same design space). There are pains with async Rust but the community should lean into trying to solve them. I personally don’t feel the pains as severely as described…

Deferred computation is a primitive, and threads do not solve it.
I think custom code is to be expected, and making it maintainable is what's important.

> everything should be made as simple as possible, but no simpler.

Helm et al made it simpler than it was, IMO.
Its worth noting that this article is based entirely on an anonymous comment made below another article. They also link a Tweet alleging that "[..] other usually credible, usually careful folks positing same idea.", but no links are provided to that.
> Boeing outsources a lot of the production of components for its aircraft because it’s cheaper as part of an overall shift in strategy that dates to CEO Harry Stonecipher who had been CEO of McDonnell Douglas

Ah yes, there it is.
I wonder what's the difference in Airbus.
Of course James has a recipe for this.
Rspec/cucumber are great, but I’ve recently switched my app to minitest. It’s just as good for unit testing, and its system tests are a joy to work with. The setup and maintenance of rspec/cucumber isn’t worth it for me. It also makes it much easier for me to start new rails projects and get to my ideal workflow, because it’s the default workflow.
Haha yes, that's the norm. They don't care. Report to the regulator. Then they care. Find out who the regulator is in your country, and report to them. Kinda annoying, but when the regulator tells them they need to do it, it magically gets done.

Note that the regulator doesn't threaten with childish things like a fine of 1M USD, that's kids' playground stuff. They threaten to revoke their banking license, which will cost them 100x more per day :)
Exactly, I use to think the same thing! Many legacy system, the industrial machines that run factories, infrastructure, etc. all have hundreds of gauges and some of them do get "watched". Cost of digitization via smart gauges just cost too much and planning that goes into replacing them often isn't tenable. So many instrument readings don't get logged - until some machine fails. There are systems out there, but they aren't affordable to make a broad impact - I hope we can progress to change that.