skysight-inc/HackerNews huggingface dataset:
> Except, that’s all a lie. Because every function implicitly can throw RuntimeException and its children. Things like OutOfMemory or StackOverflow.

> So basically all code everywhere realistically has to be aware of exceptions. A lot of people get lazy and don’t bother to list the actual kinds of exceptions they throw or pick one that’s a runtime exception so they don’t have to add the ‘throws’ to the signature to every single method.

Not just that, there are features like lambdas where the core language features were not designed with exceptions in mind. There are third party libraries which don't have allowances for proper failure cases. So you will have code adapted to wrap their exceptions into runtime exceptions for interoperability.

Of course, there's no guarantee the code which did not provide an interface which allowed for exceptions will not have unexpected side-effects when runtime exceptions or errors are being thrown.

> However there’s a lot of different kinds of exceptions. So very quickly you tend to end up with one of two things. Functions have a big list of possible exceptions (an A, or B, or C, or F, or G) or the far more common in company code: throws Exception. Don’t bother to list stuff, just say “I throw stuff”.

Ideally, someone creating an API thinks about how the others utilizing code will accomplish recovery or graceful failures, and craft an API to account for this. Unfortunately, the errors are often handed up, which really only accounts for broad failure behavior and corresponding cleanup (such as failing the corresponding HTTP request with a generic 500 error).

The heavy use of adapter patterns in Java means that the errors being handed up may be specific to the configuration, such as failures coming from the network layer of a database backend. It is crucial for the adapter interfaces to think about failure scenarios and recovery, but it unfortunately doesn't happen often very often.

So in most cases, Java should just throw Exception, because the only way a developer can really attempt recovery is to break encapsulation and operate based on knowledge of the inner workings of the object they were handed.
Hold on, let me ask AI.
The problem with Alexa isn’t technology or product design. It’s the organizational issues. It was a bloated team with over 10000 people. After a decade of investment, they had no real business model. They may have had decent engineers and scientists, but lots of managers and executives got promoted to very high levels despite showing zero results, mostly based on the size of their teams. Those empire builders then moved around the company and industry, leaving behind a wasteland.
In fact I think you sometimes have to ensure the old guard is gone to let the new guard take over. Google and Apple have been in the news with cuts to their voice assistant teams in recent times too, similar to the Alexa cuts.

It’s obvious current ai can handle context reasonably well which is something the previous voice assistants failed badly at. The next thing is to write all the apis so the ai can reasonably act on that context. It’s such a new way of doing things it’s probably best to hard cut development of the previous way to do it which was seemingly hard coded triggers->actions which always failed badly if you wanted to add context eg. “open house blinds when I pick up the phone in the morning or when the alarm goes off, whichever comes first” would never work with the old voice assistants. It might just work with the new ai systems but it’ll be a completely different system, not even a rewrite at that point.
Being accommodating and generally a decent human being apparently.
Memory sealing for the GNU C Library
I think you would need to validate the response from the first call before determining it to be a success?
Show HN: Semantic clusters and embeddings for 500k Hacker News comments
C, not C++
Disclaimer, I am not an Airflow expert and even less of a Prefect expert.

One difference is that Airflow seems geared towards heavier operations, like in data pipelines. In contrast, would be that Restate is not by default spawning any tasks, but it acts more of a proxy/broker for RPC- or event handlers and adds durable retries, journaling, ability to make durable RPCs, etc.

That makes it quite lightweight: If the handlers is fast in a running container, the whole thing results in super fast turnaround times (milliseconds).

You can also deploy the handlers on FaaS and basically get the equivalent of spawning a (serverless task) per step.

The other difference would be the way that the logic is defined, can maintain state, can make exactly-once calls to other handlers.
It does not work.

AggregatedDataVariants - no matches

ClearableHashMap - no matches

Volnitsky - didn't find usages in ClickHouse

The search speed is not impressive - it takes a few seconds to answer a query.
When you do consider adopting it fully, I highly recommend trying to make the state handling as transparent as possible to the end consumer. For example, implementing an HTTP Client that wraps a http.RoundTripper versus what that SDK provides.

Evaluating a selection of these durable workflow SDKs for Go, I'm not keen on being tightly coupled to a vendor and the implementation shouldn't be that crazy to fit into existing Go interfaces.
* in the EU

So, won't help with Americans or any other part of "the rest of the world".
Haha! It's also an SEO nightmare. The term Overwatch is a force protection tactic, where you have one team providing extra assistance and cover to the main operation. If only we had played the game first before naming ourselves!
Why is that controversial, the ability to recognize a map and handle the revealed absteaction via a zoom slider is a great tool to observe cognitive flexibility..
A filling vegan dish, as if you aren’t trying to purposely misunderstand my comment.

Interesting the mods deleted my entirety innocuous parent comment as well.
Shh, don't mention Google Voice or they might remember it exists and kill it. I can't think of a Google service that's been more useful in my life, and hate to think what I'll have to do when they kill it.
Yes, definitely, but we can also cover response time bound tasks! Not just async. Typical p90 of a 3-step workflow is 50ms. Our goal is to run on every RPC, anywhere you need reliability
What do the wild horses actually eat? The steppes is a pretty barren place right?
ARC Prize
I think its a cognito default - will take a look!
Performance is best judged on a logarithmic scale. Most software barely needs any, and there are many orders of magnitude between "barely uses the CPU" and "uses 100% of a core".

But once you're at 100% of a core, then there aren't many orders of magnitude between that and "uses every core". In fact, the impact from not using a scripting language is on the same order as the threading would be! So, if it's worth spending effort squeezing out those last 1-2 orders of magnitude from the CPU, then it's probably worth thinking about the language as well.

If you've already blown through 4-5 OOMs going to a full core, then chances are you'll need it.
Own the FW13, these are really awesome laptops and a great company, but they unfortunately have not quite figured out support yet, I am having an issue with my laptop that I have spent nearly 2 weeks now going back and forth with support in circles, they ask me questions I've already answered, they ask me to perform diagnostic procedures which I've already performed as requested, they ask me to send pictures of components I've already sent pictures of, add to that a minimum 24-hour delay between responses, and it feels like a part time job. I don't think it's malice on their part, just seems like their support process is a bit of a mess at the moment, I think they will figure it out.
I'm a math professor and I know many people who use or contribute to lean. Not all of them are Fields medalists. Maybe it takes more than a couple of people's opinion on the subject to have a good picture.
Yeah sure, but is there anything to make you think that Elon Musk wants that versus what the person you're replying to is suggesting.
Oh yes, can't agree more, compared to Perl it has completely modernized and stayed relatively well organized :) It's a very pleasant platform.
Aqua Voice: https://withaqua.com/
Also more disposable income over all. Not to mention no millions homeless from midcentury warfare, generous federally supported housing loans came instead.
Better call out the Marines to enforce the US interests in bananas.
I think we overstate how useful such a system is. Visual UIs with buttons are so predictable and efficient to use, so anytime you can reach for a screen and hand-operated-input for anything complex, you will.

I've stopped using home devices like the Echo (coz of privacy concerns, esp with hotword mistriggers): now use voice only when driving the car. Maybe multimodal LLMs like GPT-4o will spawn new useful use-cases, but I think they're unlikely to be for the same use-cases Alexa the product+brand is known for.
The green bubble indicates that some features are disabled because another client doesn't support them. It isn't a social construct, it is a UI device to indicate something important to the user.

This won't change with RCS either, since RCS does not support many features of iMessage, but at least RCS will be more reliable than SMS.
https://www.pinecone.io/blog/pain-poetry-python/

This was the write up I did last year
> Interesting the mods deleted my entirety innocuous parent comment as well.

No, they didn't. Unless by "the mods" you mean "the users of HN". Your comment was flag killed which is a consequence of user actions, not a moderator action. It also wasn't deleted, any logged in user can still see it if they turn on "show dead" in their profile.
Not imposing one’s personal preferences (i.e. veganism) on others is apparently as well.
Launch: Luma Dream Machine – Ready to use text to video generator
Today we are releasing Dream Machine, an AI model that makes high quality, realistic and fantastical videos from text instructions and images. We have built Dream Machine on a scalable, efficient, and multimodal transformer architecture and trained it directly on videos. This makes it capable of generating physically accurate, consistent and action-packed scenes.
Maybe split the difference by naming Sombra the CTO
I find the article a little confusing. IMHO the point is that you must NEVER reuse an XOR key sequence for stream cipher encryption. With RC4, this meant that you could never use the same key. With modern stream ciphers there is the nonce for this - the CTR mode of a block cipher is also a stream cipher. (GCM mode is just an extension of CTR mode for authentication).

I've put together a little online demo tutorial (in my teaching and learning programming language).

https://easylang.online/apps/tut_cipher.html?v=2405e
> Regardless of the above, ChatGPT made almost all NLP technologies across all companies obsolete.

That would be a data point in favor of the amazon strategy, no? Prevented millions upon millions of being invested in developing losing technology.

The window to integrate LLMs (especially from Antrhopic, in which Amazon is an investor) is closing but not shut.

If they can do so well, they have massive distribution power to catch up and drive rapid adoption of alexa 2.0.
I've been thinking about how to gamify my hobby site Related How? (https://relatedhow.kodare.com/) for ages. I can't tell if this is a good way to do it, since I am so bad at plants :P
The grooves at ~2:56 [1] are a result of the machining process?

[1] https://youtu.be/zzKgnNGqxMw?si=0Qlrd-lcyAUvJHg8&t=176
If rent is "more expensive than ever"er, then the math checks out.
I still haven't gotten around to adopting Restate yet, but it's on the radar. One thing that Step Functions probably has over Restate is the diagram visualization of your state machine definition and execution history. It's been really neat to be able to zero in on a root cause at the conceptual level instead of the implementation level.

One big hangup for me is that there's only a single node orchestrator as a CDK construct. Having a HA setup would be a must for business critical flows.

I stumbled on Restate a few months ago and left the following message on their discord.

> I was considering writing a framework that would let you author AWS Step Functions workflows as code in a typesafe way when I stumbled on Restate. This looks really interesting and the blog posts show that the team really understands the problem space.

> My own background in this domain was as an early user of AWS SWF internally at AWS many, many years ago. We were incredibly frustrated by the AWS Flow framework built on top of SWF, so I ended up creating a meta Java framework that let you express workflows as code with true type-safety, arrow function based step delegations, and leveraging Either/Maybe/Promise and other monads for expressiveness. The DX was leaps and bounds better than anything else out at the time. This was back around 2015, I think.

> Fast-forward to today, I'm now running a startup that uses AWS Step Functions. It has some benefits, the most notable being that it's fully serverless. However, the lack of type-safety is incredibly frustrating. An innocent looking change can easily result in States.Runtime errors that cannot be caught and ignore all your catch-error logic. Then, of course, is how ridiculous it feels to write logic in JSON or a JSON-builder using CDK. As if that wasn't bad enough, the pricing is also quite steep. $25 for every million state transitions feels like a lot when you need to create so many extra state transitions for common patterns like sagas, choice branches, etc.

> I'm looking forward to seeing how Restate matures!
Show HN: I built a software that saves you time by composing and replying emails
GPT voice is almost exactly always what I want, I think using whisper, and yet every app and both OS devices android and iOS can’t even transcribe a single sentence correct without errors. Pathetic really.
It is? People can just come on your land and force you to let them pump oil? Even if you own the mineral rights to your land?

I'll admit I'm not familiar with Texas but that doesn't seem right. Here in colorado, you're never forced to sell your mineral rights and let people on your land, but if your neighbors sell their mineral rights, and an oil field that is under your property is being drawn from, you will receive royalty checks, even if you'd rather the oil stay in the ground. But, no one can make you build an oil well on your land.
Most CAD file formats are equally useful.
It's mostly about having enough capacity so if China goes nuts and takes over Taiwan the world isn't held hostage.
You typically don't know what they're worth when you exercise the options. Often it turns out to be nothing.
It’s interesting comparing the list of companies using Rust in the article, to the job listings that one sees in the wild.

It makes me suspect that most other-than-blockchain roles must be going to personal networks and referrals, rather than via public job listings.
Yes, pnpm does it too
I'm working on a code base with lots of #define. I replace them when I'm doing maintenance nearby, but you can't change them blindly: some bit of code may be inadvertently depending on the 0-artifact or something similar. "Science progresses one funeral at a time."
Physical networks as network-of-networks
> Amid this news, a former Alexa colleague messaged me: “You’d think voice assistants would have been our forte at Alexa.”

I assume the goal of Alexa was never to be the top conversational system on the planet, it was to sell more stuff on Amazon. Apple's approach to making a friendly and helpful chat assistant helps keep people inside their ecosystem, but it's not clear how any skill beyond "Alexa, buy more soap" was going to contribute meaningfully to Alexa's success as a product from Amazon's perspective. I saw the part about them having a "how good at conversation is it" metric, but that cannot be the metric that leadership actually cared about, it was always going to be "how much stuff did we sell off Alexa". In other words, Amazon did not ever appear to be in the race to make the best voice assistant, and I'm not sure why they would want to be.
One of the greatest quotes I've ever heard from a founder buddy was when his startup was going through a particularly dark moment and struggling: One of the investors said to him "Maybe you should seriously think about shutting down and giving us our money back", to which he replied:

"It's not your money anymore."
I would suggest that this caused more by ideas about the appropriate scope and scale of libraries in the 2020s than anything specifically connected to the language in use.
Pip, conda, uv... how many package managers do we need?
Restaurants solve the problem of lack of time not absence of food.
Although using constexpr over #define wherever possible is good advice (and similarly with functions over macros), you can also argue that the culprit is really this snippet:

float ts = 1 / FRAMERATE;

This blindly assumes that FRAMERATE is a floating-point constant, but there is no reason to assume it is; in theory, other parts of the code could depend on FRAMERATE being integral. The code should be written in a way that ensures conversion to float happens before division, for example:

float ts = 1.0f / FRAMERATE;
Its hard to avoid Google's marketing when the end-to-end implementation proprietary to their RCS app. This is their technical paper which confirms that it is end-to-end encrypted using the Signal protocol. The actual RCS spec has no support for E2E at this point.

https://www.gstatic.com/messages/papers/messages_e2ee.pdf
You're commenting on a thread about an interview where an actual Fields medalist explains how proof assistants are actually used to do meaningful mathematical work, today. The issues you raise are all discussed in the interview.
Pretty cool, like the fact you tie all types of feeds (threats, vulns etc) together into a single view. How are you guys different from the plethora of other TI platform vendors out there?
I picked restaurants because flight attendants area also treated like shit, though they do get some downtime, and enough shit and it's a felony.
A visualisation/dashboard is a top priority!
Distributed architecture (to support multiple nodes for HA and horizontal scaling) is being actively worked on and will land in the coming months
Where are you getting your sources from here? The Cuban Missile Crisis occurred in the context of the early 1960s whereby bombers were the primary method of delivery. Since the late 1960s, the ICBM is the bedrock of the MAD strategy, and the need of a second-strike capability via SSBNs and hidden silos after absorbing a nuclear attack.

>In any case, even in a MAD setting every side will be constantly trying to manoeuver to a position of advantage.

There is no real "advantage" over having an extra few minutes or not. Russia is also building some sort of nuclear tsunami weapon, the US does not care. Because the strategy remains unchanged from threat of ICBMs. Frankly speaking, if you want to talk about what actually is a disadvantage for Russia right now, it's this war. If NATO actually invaded, they'd caught with their pants down. Hell, the US might even successfully ensure a first strike given they moved their air defences away.

The fact that Putin started this war even when knowing this should tell you that he dosen't actually view NATO as a threat. And they're not, from the Houthis, to Iran to Hamas, everbody can tell the US has no stomach for a war. This is not the result of US aggression, it is the result of US unassertiveness
That's interesting, because that's not exactly what the Chinese text says. It just says vendors need to implement 5G standards.

The reddit translation interprets "relevant industry standards for 5G messages" as including RCS. I'm unfamiliar with this, but apparently GSMA claims that "the 5G standards mandate the implementation of RCS in 5G networks and devices". ( https://www.gsma.com/solutions-and-impact/technologies/netwo... )

So if I'm reading this correctly, any vendor who claims to have 5G support needs to implement RCS?
I was curious about this position (the fact that you are upfront that you need to do a big refactor), but then the application form was very off-putting.

> Tell us about yourself in 3 KPIs, with a brief explanation and examples. (A KPI is a number that evaluate performance in a specific aspect.)

> Record and upload an unedited face-cam video (3 to 10 minutes) where you explain a problem you had this week and how you solved it on your own.
I cannot even imagine the bravery required to transition in 1968. That is staggering. RIP to a trailblazer and great engineer.
I find it interesting that you didn't answer my question at all, tbh.
> Regardless of the above, ChatGPT made almost all NLP technologies across all companies obsolete.

that's overstated, because you accidentally lumped speech recognition in, and i imagine Nuance (https://nuance.com) and others are like "hold my beer".
He's so far abstracted away from the world we live in due to his hundreds of billions of dollars that he really has no idea what he's talking about, but because the new-age version of "might makes right" which is "obscene capital makes right", people tend to give him more credence than he deserves.

He got lucky with PayPal, and lucky with Tesla. That's it. He is not the president, he is not god, not allah, not yahweh, the flying spaghetti monster, he is just a man that got incredibly wealthy both through his own intelligence and some good fortune. That does not mean he's qualified to opine on something outside of his area of expertise.

Would you trade your ability to speak publicly about things you don't really understand in depth in exchange for 100 billion dollars? I sure would. Give me 1/100th of that and I'm off to a private island to read books and grow my own food.
Screening questions to them:

- how many hours a week does a typical dev work?

- what source control do you use

- what ticket system do you use

- how long does a typical, at-desk incremental dev build take?

- do you have automated builds (CICD, Jenkins, pipelines, nightly build system, etc)?
still recognize how ridiculous the idea of Mike DeWine and Pat Gelsinger in a strip club is.

I'm not literally claiming that we can state with certainty that Mike DeWine or Pat Gelsinger went to a strip club. That's just an example to illustrate a more general point.
Currently waiting on my FW13 preorder, so if you don’t mind writing it out one more time, what issue are you having?
A special case is if the operation is calling another Restate service. In this case, Restate will make sure that the callee will be executed exactly once and there is no need for the user to pass an idempotency key or something similar. Only when interacting with the external world from a Restate service, the operation needs to be idempotent.
In a situation with such a low margin of value for the user, there's an even finer point on reducing friction. I know Alexa stopped being used in my household shortly after the "by the way…" addendums were introduced. This seemed to be in recognition of the trend of reduction to memorized phrases, but it was a bad approach. If the other comments are true, and incremental progress was more rewarded, it stands to reason that such a major problem with the service was under appreciated. Had it been recognized as the dead-end of the product, maybe more sophisticated models would have been pursued.
stoicgb: a Game Boy emulator written in C++
It's not a joke. It is a practical question that seems funny because of the circumstances.
there's an animal version of this too: metazooa [1]

I used to play a few of their [2] games daily, but have fallen out of the habit.

[1] https://metazooa.com/

[2] https://trainwrecklabs.com/
Nvidia tops new MLPerf benchmarks on graph neural nets and LLM fine-tuning