Dec 12, 2022 FLiP Stack Weekly
SEE:
People are FLiPN out about?https://chat.openai.com/chat. It is a game changer, add another few years and this should be 10x better.
ChatGPT wrote me this Pulsar function:
import org.apache.pulsar.functions.api.Context;
import org.apache.pulsar.functions.api.Function;
public class BertQAFunction implements Function<String, String> {
@Override
public String process(String input, Context context) {
// Parse the input JSON into a Java object using a JSON library
// such as Jackson or Gson
MyJsonObject json = parseJson(input);
// Use the Bert QA library to perform QA on the JSON object
BertQAResult result = BertQA.runQA(json);
// Return the result as a JSON string
return result.toJson();
}
}
I then tried to build 50 more. Some are good, some are minimal, some are bad and some are just shells. An interesting start and some good ideas on functions to build. I offer the source as a starter for anyone wanting to build some functions.
Check out our channel:
New Stuff
A quick preview of Apache Pulsar + Apache Pinot.
PODCAST
Take a look at recent podcasts in audio or video format.
CODE + COMMUNITY
Join my meetup group NJ/NYC/Philly/Virtual. We will have a hybrid event on December 8th.
This is Issue #62!!
VIDEOS
ARTICLES
领英推荐
TRAINING
Dates are January 17 - 19, 2023 from 2pm - 5pm CET / 8am - 12pm EST Link to register:?https://www.eventbrite.com/e/465055021087
CODE
EVENTS
Dec 14, 2022: Manhattan, NYC: Pulsar + Pinot Meetup
Dec 15, 2022: TigerLabs, Princeton, NJ: Pulsar + NiFi + Flink Meetup
Jan 2023: Data Science Camp Online https://dscamp.org/
Feb 15, 2023: Scylla Summit. Virtual
HTAP Summit
Coming soon.
Pinot / Pulsar Meetup
Coming soon.
CockroachDB NYC Meetup
Hazelcast Event
TOOLS
TIPS
docker exec -it pulsar bin/pulsar-admin topics get-retention persistent://public/default/items
Another tip is don't run ChatGPT created functions on a cluster.