skysight-inc/HackerNews huggingface dataset:
Show HN: eastworld – quickly add generative agents to games, visual novels, etc.
Hi HN,

We’re Michael and Scott and we’re releasing an open-source, language-agnostic framework to create, debug, and serve Generative Agents.

This project has two main goals:

- to abstract away the complexities of prompt-engineering detailed Agents and

elaborate Storylines with an easy to use no-code dashboard
- using dashboard output, expose powerful functionalities - Agent Actions,
Emotion Queries, Player Guardrails, etc. - in a simple small API & server

We have a demo game that we made (https://github.com/game-kings/detective), and a demo video (https://www.youtube.com/watch?v=VSqIzjOk5p4).

The demo game is a murder mystery set in Gold Rush era San Francisco. It includes a somewhat novel scoring mechanism at the end where your ability as a detective is scored based on cosine similarity between the embeddings of your explanation and ours.

We showed this to some friends of ours and, despite it frankly being an extremely hacked together game, they thought it surprisingly fun. This makes us really excited for what kinds of games are possible with tools like this.

We know there’s some similar prior art in this category but we think this still has a lot to offer.

The open-source work like GPTeam (https://github.com/101dotxyz/GPTeam) or ai-town (https://github.com/a16z-infra/ai-town) is mostly geared towards recreations of the Sims, and are not as general purpose as our framework.

There are commercial offerings like InworldAI, but I think our framework exists in a different space - we support Local AI out of the box, and hope this is the direction that gaming goes in. I don’t really want to start paying a subscription for every single-player game in the future. While we wait for chips to get cheaper and open-source models to get better, using GPT-3.5 or GPT-4 produces pretty similar if not better results than commercial offerings.

Of course, our project isn't perfect, isn’t feature-complete and definitely isn’t polish-complete. After showing it to our friends, we realized we need release early to get early feedback from others. We want to make this great and empower open-source LLM gaming in the future. We would love to hear your feedback.

We know for sure that some of you are much more creative storytellers than we are, and we can’t wait to see what you come up with!

Have fun!
Your probably are avoiding pretext, but if you were interested, you could have <sage/> blocks that specify your language (say, Python, much like a jupyter kernel). You’d then write around your code blocks, just as you’re doing now, but heavy markup gives you the choices like referring to equations and such.

https://pretextbook.org/doc/guide/html/overview-sage.html
I spilled my tea when I saw the net in the diagram, presumably to catch the infant...
East of the Sun and West of the Moon: The Art of Kay Nielsen (2015)
thats why you have the doctor rotate with the patient
Metallica at Midlife: Less Alcohol, More Tofu and a Blockbuster Tour
Same here. Prior to birth my wife and I were told by the medical professionals that baby will be waking up frequently for feedings, and we need sleep too, so we should sleep when baby sleeps.

After a C-section once my wife were back in our postpartum room, no one seemed concerned at all with her sleep. Every 15-20 minutes there was another visitor. At this point she had been awake more than a day, had a few hours of extreme exertion before a pivot to surgery, and was full of pain killing narcotics.

She could barely stay awake.

I ended up being her sleep guardian. Every time I heard the sliding door to our room crack open I was on my feet to turn people away.

In retrospect it was good exercise in being assertive with authority figures in service of others. I think I’ll be doing plenty of that as a father.
In med school I was surprised at how long it takes for your oxygen binding to drop. Hemoglobin can hang onto oxygen really well, even with a low partial pressure of oxygen in the lungs.

Doctors aren't always right, of course, but my respiratory professors said that the desire to breathe is largely based on mechanical sensing with a lesser effect based on O2 and CO2 in the blood.
This is my head canon for how birthing of babies happened in The Matrix.
So Go GC + Java GC?
From my viewpoint (in europe though) I only started hearing/seeing it during coronavirus.
There's a school of thought on work life balance which amounts to wanting just enough life overhead to support the work. That 'balance' is not for everyone - but crucially it is what some people want.
Baseball has almost reached that point for me. Those half-screen ads between pitches are well and truly evil.
Yes, sorry, that's what I meant. Excel doesn't preserve the digits but it should.
Ask HN: Does a standard for unified Task Management across services exist?
Hi!
Like many of you, I find myself juggling lots of communication and task management services, including Signal, WhatsApp, Slack, Jira, GitHub, Trello, HubSpot, and more. Unfortunately, I often forget to respond to a crucial message or complete an important task across all of these tools.

While individual platforms offer features such as message saving in Slack, tasks in HubSpot, and notifications in GitHub, the lack of integration between these systems is a pain point for me. Especially with messaging apps like WhatsApp and Signal, messages tend to slip through the cracks after being read.

I'm curious if anyone has explored the possibility of establishing a standardized method for flagging items across services to indicate, "I need to keep track of this."

For instance, envision being able to label a message within Signal as "saved for later." This label would then trigger the addition of the message to a central "task tracking tool" (as well as a marker in Signal itself). This centralized hub would enable a comprehensive view of tasks across all tools, providing the ability to set reminders and configure notifications in one unified location including links back to the original source.

It would be great if this solution could function bidirectionally. Meaning, marking an item as "done" within the central tool would reciprocate by marking it as "done" in the source application, and vice versa.

While some manual workarounds achieve partial results, I've yet to come across any established or attempted standard for tackling this challenge. Maybe someone here has?
You should generally be writing code against typeclasses, not a particular monad transformer stack. For example:

fibonacci :: MonadState (Int, Int, Int) m => m Int
fibonacci = do
(prev, prev2, n) <- get
if n > 0 then
put (prev + prev2, prev, n - 1) >> fibonacci
else
return prev2

concreteFib :: ReaderT String (StateT (Int, Int, Int) (ExceptT String Identity)) Int
concreteFib = fibonacci
It is (arguably) furniture, so 'mid century modern'?
Exploring LLMs and prompts: A guide to the PromptTools Playground
Learn how to build dynamic, stateful applications that harness multiple LLMs at once
i think everyone learns differently, and one person's "toggling between 30 tabs" is another's "having this explained to me personally over and over"
I don't disagree that there are real problems, but these statistics don't really help much. The home birth group is less likely to include high risk births. Many issues are detected during prenatal care and most of those parents will choose a birthing environment better equipped to deal with crises.

As far as high US mortality rate, I wonder if this is more of a reflection of general poor health issues from terrible dietary choices rather than the birth process itself.
Code Llama
I strongly disagree with this perspective. I have found GPT4 in particular to be very helpful in learning new programming languages and improving my overall coding. I still solve problems myself and I still read books, but GPT4 is the TA that I can have a conversation with about a piece of code. It's all about how you use it. If you just ask it to tell you complete answers or generate code on a blank page then you're doing yourself a disservice.
Can't really read the article, but if they mean holding breath while doing things at the computer, I do this. Actually, I do this when I'm concentrating on something, doesn't have to necessarily be at a computer. I've been working on purposeful breathing lately to see if that helps.
maybe a different substack has your email, maybe it's the shoulder-gnomes
No. It’s 100 buckets with 101 percentiles, from p0 to p100.
Readable version: https://archive.is/byTem
Back when I used to use Ruby 10 years ago, I got used to doing the "no docs" args when I'd do a gem install. I always thought it was a cool idea to have local docs but, I never had an occasion to actually USE them. (never was I stuck in a non-internet-connected zone, wishing I had documentation)
Comes down to semantics, really. Is "good" equivalent to "acceptable" or does it mean "to be strives for"?

Code that works is, usually, acceptable. But code that is acceptable while making no unnecessary maintenance trade-offs is much better. Good code is code that uses standard techniques in standard ways to achieve a result without being verbose or inefficient. But that is a much higher bar than code that is literally good enough.
I would rather write “bad” code that lasts long enough to be inherited than write perfect code that sits idle in a repo because I missed the market.
> AI is a tool and is not going to replace artists any time soon

"Not any time soon" in computer years is "not in the next nine months or so".

> Proper 3D art generators don't even exist yet. The ones that do are useless toys. We aren't even close to generators that can output anything even close to what a beginner 3D artist can produce.

The original DALL•E was terrible. DALL•E 2 was 15 months later, and was good enough to be interesting. 15 months after DALL•2, out comes SDXL.

That it is still better to use a sketch than an ex-nihilo prompt: I agree, but it doesn't seem to support your claim "not going to replace artists" — if a talentless hack can wipe stains of Nacho cheese from their fingers into a vague humanoid shape with the same attention to anatomical correctness as a child with crayons, take a photo of the now un-recyclable waste, and get useful result when they ask an AI to turn in into "a wizard riding a motorcycle up the side of the Empire State Building"… then talented artists already have an economic problem.
So true. I stopped going to televised football games because of the interminable breaks between plays/quarters and eternity of halftime.
There’s so much conflicting advice in this book (like saying functions should be immutable then also saying the ideal function has 0 arguments, apparently mutating the class doesn’t actually make the function mutable to Bob Martin!), and the code examples themselves are horrible (the prime number generator for example).

I’ve heard people say it’s a good book if you just ignore all the bad stuff, but how are you supposed to know what the bad stuff is if you’re a beginner? I think it’s time to stop recommending this.
Headbanging after 50 is really hard on one's neck. Few of us kept the hair either.
Can curl do the url encoding? Isn't there some new "variables" thing in the newest release?

Can valid Unix usernames have special characters that need escaping? I should know that by now.
I don't see much to be frightened of. It has always been possible to create convincing fake photographs, at a price, while a photograph on its own (without proper provenance) has not usually been treated as important evidence (though there are some famous exceptions, e.g. Duchess of Argyll). The new technology just makes it cheaper for mischievous people to make fakes, and easier for people to dismiss an unprovenanced photo as a fake.
It creates a level of feature dependency on another company that makes me uncomfortable. It shouldn't because we already depend on products like HubSpot, Plausible, Pendo, and AWS. This feels different though; AI is far more integrated, like a serious drug addiction.
The Go GC could be the Java GC.
My course of action was to run Memmaker, and let it take care of (almost) everything. It usually worked fine. Sometimes I had to fine-tune config.sys/autoexec.bat to make a bit more room or disable EMS, but those were edge cases.

Now that I think about it, it'd be fun to know how Memmaker works internally, but I can't seem to find info on that. Maybe no one has done such analysis... yet.
https://archive.is/MMgzw
Really handy for NixOS users!
Have you seen evals against InstructBlip, specifically the FLAN-T5xl version?

Secondly, I'm wondering if we could take the dataset and use Flan or OpenAI for the language component and still get a permissible license for commercial usee?
Bootstrapping Ahrefs: Reaching $10M in Revenue in 5 Years
Yes, I have been reading the conversation. That was so much to learn. I did not know that `SELECT ... FOR UPDATE` is "sort of" a write. I googled and found out this SO link: https://stackoverflow.com/questions/18879584/postgres-select...

that corroborates what you have said.
To elaborate further, consider this quote from TFA:

“For example,

strangePoints = new int[3][4][0][2]

In this declaration, all dimensions after the zero-size dimension are ignored. So, the result of this declaration is equivalent to a two-dimensional array of ints.”

This is just plain wrong. It’s a four-dimensional array of ints, just one that cannot contain more than zero ints, because one of the dimensions is zero.

To illustrate,

int[][] a = strangePoints[0][0];

will typecheck while

int b = strangePoints[0][0];

will not (which however it should if the author’s claim that strangePoints is a two-dimensional array of ints was true).

The talk about Object having no size() method and arrays having therefore a length field is also confused. Arrays have distinct types (and classes, in the sense of getClass()), and therefore could very well have a size() method. It’s merely a stylistic choice of Java that they opted for the simpler .length syntax.

The article is so misguided as to be harmful.
Study shows adipose tissue co-regulates cognitive function
And also the enjoyment-wrecking results streaming across the bottom of the screen.
Interview with the Authors of the Gorilla LLMs
I am beyond excited to publish our newest Weaviate Podcast with Shishir Patil and Tianjun Zhang, co-authors of the Gorilla LLMs for using APIs!

This is quite a mindblowing paper, really taking LLM tool use to the next level! I learned so much from chatting with Shishir and Tianjun to understand their perspectives. So many interesting topics wrapped up in this from the basics of what it means to collect API examples in a dataset and train a specialized LLM on this task, as well as the details of Self-Instruct dataset generation, Retrieval-Aware Training, ablating performance with and without retrieval in both training and testing, the HuggingFace model hub as a collection of APIs, the future of software integrations, and so much more!

I hope you enjoy the podcast! As always I am more than happy to answer any questions or discuss any ideas you have about the content in the podcast! Thanks so much Shishir and Tianjun, this was a blast!

https://www.youtube.com/watch?v=HUtYOLX7HZ4
In the US we got a head start on it with climate.
> SpamLabs doesn't want to be an email filter, but a filter for any user generated content out there.

Then why is it all just about email then?

-

"Try it out" validates the email for some reason? "DNS_TRUSTED_MX" "DNS_HAS_SPF"

"What differentiates us from other anti-spam services?" is all about email

"we analyze [...] email infrastrcture (e.g if their email serer is hosted by Cisco, [...] if their email is hosted on DigitalOcean"

"we look at the ownership of the domains and ips involved in their email chain"

"we look at the email technologies they use 8spf,dkim,dmarc)"

"we have an ever expanding list of whitelisted and blacklisted domains and emails"

"we crawl all major disposable email providers"

-

I see nothing that determines if UGC is spam or not?
Unfortunately that’s what makes it scary, what you’re saying isn’t true. Look up “L3 Processing Data” which is becoming more and more common (which informs the payment provider/bank about exactly what you purchased). AmEx for example is notorious for implementing that.

Furthermore, they don’t need the details. What if I just don’t want the government or bank to even know that I spent $10K at “Smucks Sex Store Co.”?

Anyway, I hope you’re starting to see the importance of privacy and cash. Even if they’re ridiculous and silly to someone else.
When TVs switched from standard def, suddenly all sorts of products from makeup to paint to sunglasses were advertising themselves as “HD.” After the iMac became a surprise hit for Apple, every piece of tech junk imaginable was immediately renamed to add a lowercase “i.” Blockchain had a similar, albeit briefer, hypecycle. Marketers love to jump on the latest trend by co-opting buzzwords.
It depends on what are you vision of the "programming skills" and how you define a "better programmer". There is so much area of expertise to master them all..

You seems to have a certain inclinaison for scientific programming. I suppose it's in this area that you want to have better programming skill.
The book that I heard a lot about is the following one (it's on my shelf) :

- The Art of Computer Programming, Volumes 1-4, by Donald E. Knuth

Some books are more generals and provide insightfull tips that I found quite helpfull :

- 97 things every programmer should know, by a lots of people

- The pragmatics programmer, by Andy Hunt and Dave Thomas

- Clean code, by Robert C. Martin

If you want improve you skill about a particular programm language, the best is learn every kog and what happend under the hood of you language. Books, Video, any things that will help in that direction, it depends of your choice . Usually it takes time to improve.

There is many type of language and big difference inside those type : Scripting languages (python,bash,js...), compiled languages (c,c++,java,c#,...),...
If you know different tools you are more likely to be able to use the right tools for the right jobs.

But the real advise is to be doing some real stuff : face real world problem

Take care !
Inventors were a wife/husband pair...
https://archive.is/W24Q2
Which, on the Internet, is quickly replaced by the Shit of Theseus.
Maybe that's the biggest problem, really.

The design, deployment, regulatory/political hurdles, and the long operational lifetime of nuclear power plants, make that any improvements take a loooonng time to bear fruit.

Inertia of the installed base with its problems (and history), makes new development near-impossible.

That situation propably won't improve until newer designs accumulate a multi-decade track record of safety, or fusion power gets commercialized.
I would challenge this as well. I grew up swimming competitively. Regularly holding my breath feels maybe oddly comforting. But maybe that’s somehow bad for me?
Ah, so this is web-scale, at long last
I actually created this library with a budgeting app in mind! In my case, compliant with Ledger rather than Beancount.

It's easier than ever to get into Ada these days. There's a bunch of tutorials on Adacore's website [1] with a playground/sandbox that you can mess with. With Alire[2] (which is to Ada what Cargo is to Rust), you can get the toolchain and any packages with a simple command. If you're on linux or mac, you can also use GetAda[3] that will automatically install Alire for you.

[1] https://learn.adacore.com/
[2] https://alire.ada.dev/docs/#first-steps
[3] https://github.com/AJ-Ianozi/getada/tree/main
Why would a private developer's decision not to include parking, be interpreted as some kind of metric for the sufficiency of public transport in the area?

If a builder chose not to install locks on the doors of a new apartment complex, would that be "a good thing because it would indicate public safety is good enough that people don't need their own private locks for most areas?"

There is no incentive for them to consider these externalities at all. There is, however, an incentive to use that same space for something they can profit from - namely, additional apartments.
Yeah this logic would have us writing everything in assembly and only using textbooks.
Ask HN: How do you land unpopular changes with your eng teams?
My teams are undergoing a big pivot and aren't happy with all of the decisions. Do you have tips, books, blogs, podcasts with guidance on how folks have navigated the trade-offs in this space? Every decision and team is slightly different so hoping for general advice, ty! :)
The US Department of State official website would be state.gov, not youtube.com.
In your opinion, Why Meta does this?
I help run a Myofunctional Therapy business (Happy Myo in NYC) with my mother and she's a huge fan of humming as a tool. Did you come up with this on your own? Good intuition! I'm glad to see more and more focus on breathing in the media lately.
Yes, that should be easy. Here is the guide for using OAuth - https://docs.tooljet.com/docs/how-to/oauth2-authorization/.
> That’s when I realized that there is probably some actuary in Chicago or somewhere whose excel sheet says the risk of the wrong transfusion goes down by 0.02% if you draw blood before labor.

1) For what it's worth, you don't know for sure why they wanted to draw blood again. There might have been some other reason, that they possibly didn't do a good job at explaining to you. I guess there's a disconnect between doctors who might order tests, and the people who actually draw blood, leading to bad communication all-around.

2) Like with most people, I think the medical profession as a whole is bad at sensible risk-management. I'm not a doctor, but I think they get a lot of training on what to do to avoid lawsuits, and this guides a lot of their thinking more-so than common-sense and sensible care. This probably guides a lot of unnecessary tests where a doctor might think something like "Yeah they don't really need to do that test again, but their insurance will pay for it, and I can eliminate the possibility of being sued if I play things by the book."
Jupyter Kernel Architecture
Does anyone know similar etudes for system programming?
Then it would be hard to write this in Go. Can't see how you'd be able to hook into the Go GC in an application written in Go.
I know it is targeted at kids, but I think Snap Circuits is pretty great. All the electronic components are attached using what are effectively clothing snaps. But they’re all real electronic components and you can make really interesting things. The books walk you through from very basics to more advanced and help you learn the basics.
I learned from it playing with it with my son!
Writing good code doesn't necessarily take more effort than writing bad code; in fact, my experience tells me otherwise. Teams that write good code iterate faster.
Uhm, why would you not use PG permissions for that? That's what they are for.
Meta responds to end-to-end encryption demands
pasting LLM answers is sort of a tongue-in-cheek rhetorical flourish these days
What a luddite argument! AI can show you previously unknown ways, often the pragmatic and idiomatic ways to solve problems. It can also explain code in depth. I don‘t know how I‘d have quickly mastered the shitty "drool syntax" I had the displeasure to work with today. No other tool allowed one to become fluent in a new language or framework this fast, ever before.

Sounds the same like people who rejected IDEs. Or even syntax highlighting. Yes, those people existed and some might still rawdog xml and java in vi today.
No, because they don't get paid for adding carbon, they get penalized for not adding it. It is a disincentive instead if an incentive.
I would recommend getting an Arduino kit with a breadboard.