skysight-inc/HackerNews huggingface dataset:
"It is not recommended to use this function for a general try/catch mechanism. The Result type is more appropriate to use for functions that can fail on a regular basis. Additionally, this function is not guaranteed to catch all panics, see the “Notes” section below."

https://doc.rust-lang.org/std/panic/fn.catch_unwind.html

Edit. Re. already existing runtime checks, I'd expect a decent compiler to optimize away redundant checks, i.e. explicitly coded checks vs. checks injected automatically by the compiler, as long as their semantics is identical.
> The philosophy in the US seems to be that you just have to change people

I'm not sure what you mean by this. To me it looks like prisons in US are a good business and good for business due to cheap slave labor. Many places have for profit prisons, high repeat offense rates and ridiculous incarceration rates.

This is all from an external point of view, I'm not from the US.
If "frustrating" was the worst of it I wouldn't waste time discussing it, but suddenly forcing cyclists in a dedicated bike lane into a busy regular traffic lane with no alternative option available is pretty obviously a recipe for disaster - admittedly it's hard to find solid evidence of cyclists being killed by such arrangements (quite a few cases of cyclists being killed riding in such lanes, seemingly all due to moving vehicles crossing their path) but there are definitely cases of very serious injury.
Tesla Falsely Advertises Autopilot, Full Self-Driving Tech: California DMV
Well sure, once you have a little computer and suite of sensors on the thing there are a lot of incentives to add crap onto it because the marginal costs are so low. Imagine you a PM or mid level exec at Robot Vacuums Inc and you want to advance your career and get a nice bonus. If you can push to get some cool sounding new feature onto the new model you might get promoted or a nice bonus. It probably won't improve sales and the customers don't want that feature but it doesn't hurt sales either so its easy to see how these things prliferate.
Similar experience when Twilio started requiring SMS 2FA. I offered to use U2F or TOTP, but no, it must be SMS.

I don’t have a work number and this is an absurd reason to get one, so we just canceled the account.
SoftBank-backed Loggi lays off 500 people in Brazil and Portugal
My account got deleted because the word katana was in my image
I sadly don't think anything will change unless upper management decides to stop trying to kill Firefox.
Correct, I don't like TF, based on some real world experience using it.

I also think it is fair to say that my complaint is valid.

Luddite? The 20k+ servers that I manage disagree with you. =)
Just to elaborate a bit because this is a pet-peeve.

What's going on here is that people are misdirected. They've seen a bunch of sci-fi where physical robots moving through space can sense the world around them and use the information they gather to make the world legible to them. The assumption (fair, because moving robots look like us!) is that that is the easiest way to gather information is to physically See, Touch, and Hear it. Sophisticated robot system that looks scifi -> this must be the leading edge of the cyberpunk dystopia.

The reality is completely different. Your life is already legible to the computer. For the purposes of whatever cyberpunk dystopia you imagine we are in, your 1kb credit card statement is like an 8K Imax camera to the Ministry for Coercion.

The leading edge of the cyberpunk dystopia is the apparatus that tries to get you to be more online. Write more posts and emails, sign up for smart banking, use an internet system to keep track of your employees, digitize paper files and make them legible.

Why would any intelligent malignant thing use the extremely power hungry and inefficient raw input from a physical robot for its purposes when it could use the extraordinarily efficient raw text format of bank statements, insurance claims, credit reports, browser history...

Every piece of information that you imagine could be used against you in the hypothetical dystopia hinted at in this piece would fit inside of 100 megabytes of plain text. Plain text that you, or an entity working for your insurance company, typed into a computer. They already have it.

These things -- scifi-looking robots -- really are just trying to clean your house better and sell you products more cheaply.
Actually About 15 years ago I joined a gaming company in need of a job. Not the "cool" gaming kind but the slots/gambling kind. What could I possibly learn from this shady product that was a scourge on society I thought. Youd have to be desperate to be working here I thought. Must be shambles of a code base with sprint after sprint of crunch times I thought.

Gotta say I was amazed at not only the quality of the code base, but also the engineers there. Very balanced, mature, collaborative, kind and really the one place I learnt most about good software engineering. It was a C++ codebase with just the right amount of abstractions that you could expand when needed. No fancy syntax magic. Impressive debugabbility!

Folks at WMS gaming thanks for an amazing learning experience and patience despite me being an entitled little $h1t who was a pain to work with!
Maybe. I doubt you could 3D print a barrel though.
> The fact that what qualifies as "easy to make" is so different depending on the environment.

You can actually see this in the AK itself - you don't even need to compare it to the AR. The original AK was always intended to be stamped metal construction, but they couldn't get that working reliably, so they used milled receivers for basically a decade until the AKM model was released.
Cf the title of his (Mintzberg’s) book: The Rise and Fall of Strategic Planning
What kind of space crack are you smoking?
I'm bearish on that idea. For infantry weapons, militaries much prefer standardization anyway. The advantages of 3d printing is really only in tooling time/cost, which is why it its industrial applications have mostly been for prototyping. Conventional manufacturing still excels in quality and price per part at high volumes.
Much of the math part was taught in math classes. Engineering classes worked with the math classes to ensure the students were ready for the math there.

Chemistry, physics, thermo, dynamics, electronics, fluid mechanics, electronics, etc., were all math classes, in addition to a solid slate of required math classes.

If one didn't care for math, Caltech was a very very wrong place to attend :-) You either got good at it, or you left. I definitely felt that 4 years of that rewired my brain.
Password Locked Thermostat
You'd use automatic reference counting, as Swift and Nim do.
Git LFS is a pretty widely accepted stack for managing binary blobs by reference in git: https://git-lfs.github.com/

The plugin is installed out of the box in many git distributions now. Many hosts support it today, including Gitlab, which is relevant to this article's discussion: https://docs.gitlab.com/ee/topics/git/lfs/
Another possibility is they want to keep eyes off tech that people would go to in droves if they outright banned it. They want to avoid the Streisand effect. Part of that play is indeed making people think it's already backdoored. There is a big push to promote that narrative. Whether it's true or not, who knows!
I feel the service is somehow exploiting filecoin providers, it says they (the filecoin nodes) have a higher incentive to pin web3.storage files, rather than other files.
However, its still not clear who is paying for the incentive.
People always forget about Forth!
Well, one extreme example is buying lottery tickets; it's the best way to expose yourself to the potential upside of winning the lottery, yet the expected value is quite negative.

That example is quite bracing, but I think it points out that there are many ways to build this 'luck surface', and the expected values of each are probably very different, and likely situational.
A cynics take awaits you, however, if you consider scientific research an organism of sorts then this makes complete sense. since most legislated spending at the congressional and senate level is only ever expediently approved if it is in the interest of the national defense, then the simplest way to encourage and continue meaningful advances in the body scientific is to simply blanket them all as "defense" projects.

so, your climate analysis grant may face grim prospects until the cosmic DARPA modifier is applied, and in doing so, becomes easily funded.
>I don’t think the sound is brilliant

I returned mine after a week, the HomePod Mini produced superior sound even in an open area for less money. The Symfonisk was capable of being loud, but the highs were very muffled.
That's exactly what the next section of my post explores and explains why it's complete bonkers: https://blog.burntsushi.net/unwrap/#why-not-return-an-error-...

So it looks like I already provided a rewrite of the code for you in your preferred style:

// Returns true if the DFA matches the entire 'haystack'.
// This routine always returns either Ok(true) or Ok(false) for all inputs.
// It never returns an error unless there is a bug in its implementation.
fn is_match(&self, haystack: &[u8]) -> Result<bool, &'static str> {
let mut state_id = self.start_id;
for &byte in haystack {
let row = match state_id.checked_mul(256) {
None => return Err("state id too big"),
Some(row) => row,
};
let row_offset = match row.checked_add(usize::from(byte)) {
None => return Err("row index too big"),
Some(row_offset) => row_offset,
};
state_id = match self.transitions.get(row_offset) {
None => return Err("invalid transition"),
Some(&state_id) => state_id,
};
match self.is_match_id.get(state_id) {
None => return Err("invalid state id"),
Some(&true) => return Ok(true),
Some(&false) => {}
}
}
Ok(false)
}

My favorite part is the docs that say "this never returns an error." Because if it did, the code would be buggy. And now all sorts of internal implementation details are leaked.

You can't even document the error conditions in a way that is related to the input of the routine, because if you could, you would have discovered a bug!

Another nail in the coffin of your preferred style is that this will absolutely trash the performance of a DFA search loop.
Yes our free tier should be more performant than theirs. In the future, we want to differentiate on collaboration features.
For the session limit: we haven't added it to the pricing page yet but we have an option to pay as you go which removes the 15 minute timeout.
Heh, at some point I'm convinced that we'll use both:

* customizable 3D avatars

* customizable voices

to communicate in meetings and in communities (VR Chat style). So the origin won't be associated to your avatar or your voice, but it'll be associated with your account (like in good old chat).
My small business (not really a startup) has used bridge loans responsibly and very effectively. One area where they're quite useful and common are when you have inventory you want to finance, often in a burst or when a sudden demand shock hits and speed is of the essence.

(We currently have a large rotating LOC with a bank, but this is not always practical when you're a startup/small business getting going)

Paying tons of cash out the door to buy inventory to meet demand over X days while it sits in your warehouse is very often less efficient than paying even ridiculously high APRs on bridge loans. Cash flow is a consideration just as raw ROI / profit margins are, especially for smaller businesses.

Yes, many bridge loan issuers are preying on uninformed / underbanked people. I won't deny that. But in the small commercial space, bridge loans are used effectively, responsibly, and regularly without abuse - especially for those carrying hard inventory.
What about reflections? When I worked on media forensics, the reflection discrepancy detector worked extremely well, but was very situational, as pictures were not guaranteed to have enough of a reflection to analyze.

Asking the subject to hold up a mirror and move it around pushes the matte and inpainting problems to a whole nother level (though it may require automated analysis to detect the discrepancies).

I think that too might be spoofable given enough time and data. Maybe we could have complex optical trains (reflection, distortion, chromatic aberration), possibly even one that modulates in real time...this kind of just devolves into a Byzantine generals problem. Data coming from an untrusted pipe just fundamentally isn't trustable.
>I asked the teacher where the numbers which were spat out by the calculator came from

This is a bit of simple knowledge which is sadly unbeknownst to even most math majors and educators. Often, students are taught in calculus that cosines (and hence other trig functions) are computed with Taylor series, which is not really correct. In fact they use CORDIC, a highly optimized algorithm.

But CORDIC is based on repeated use of the sum formula, and a simple version of this can be taught without calculus. Just notice that:

cos(2x) = 2 cos(x)^2 - 1

Then for small enough x, you have (can be shown by drawing, but kind of annoying):

cos(x) ≈ 1 - x^2 / 2

Or rigorously: 1 - x^2 < cos(x)^2 < 1 / (x^2 + 1)

So divide x by 2 until you get a small number (x < 0.1 is usually good enough), use the quadratic approximation, and repeatedly apply the doubling formula. CORDIC uses a similar iteration based on the sum formula. There is no need to wait for Taylor series, limits, convergence tests, etc. You can even bound the error term!

I'm not entirely sure this would work (i.e. improve understanding), though — I have not taught high schoolers before. And there is a decent bit of work required.
Don't worry, we'll get much better models at much lower costs (midjourney, stablediffusion) that you can run on your own hardware, and avoid the moral censorship that the paternalising non productive members of these companies want to subject the world to

Pepe is banned. Why? It doesn't matter. Someone will cut around, and they'll get my compute instead. And I'll get my autogenerated pepes, regardless of whether some non productive AI "ethicist" thinks a cartoon frog meme is offensive.
> Anyone who wants to pay can implement whatever they want in the codebase. That’s in a way as democratic as it gets: equality of opportunity [to invest money and time].

Leaving aside whether that's how it should work, I'm not sure if that's in fact how it works for Chromium today. If I write a high-quality patch adding support for trailers, will it get accepted? As I understand it, the answer is no. (But I would be happy to be wrong.)

So that's my main point: it would be good to have a democratic decision making process, not for what code Googlers should write, but for what patches would get accepted into Chromium. Not just because it's open source, but also because it's the basis not just of Google's browser, but a bunch of other browsers as well.

(And note that https://www.chromium.org/ seemingly aims to give the project an air of independence from Google. Thus, I'm merely questioning whether it is, in fact, independent, and arguing that it should be, if it isn't.)
We should all be to the point of not trusting any of them, based on behavior; however, most people kinda need a car also.
Those new 6.8mm rounds are crazy. For context, your typical rifle chamber pressure is ~60,000 psi (5.56mm, .338 lapua mag, etc) and these 6.8mm rounds go to ~80,000 psi. Punches above it's weight. Very interested in this space lately.
> run their hand through their hair

That would have trouble passing anti-discrimination requirements: disability (no hands), medical (bandanna covering cancer treatment hair loss), religious (burka, rasta, yarmulke, sheitel), racist (cornrow).

And trouble with: dreadlocks (can’t run fingers through), bald headed guys (as mentioned by sibling comment), and people with hairdo’s (coiffure, hairspray, topknots, plaits etcetera).
Yeah but many opt out of telemetry so the amount of users would be substantially higher. Also I can just spoof my useragent to Chrome to use certain sites that require chrome-only users.
With the Neato, it can still be used, but you'd lose all of the mapping features in the app. It'd take away no-go zones, which are tremendously helpful in making these useful in a lot of homes.
What are they paying for here? The Axios “brand” is not well known enough to justify that much money. The “tech” is your standard CMS, anyone can build that. The “talent” is just average writers, in fact I can’t name a single one. How is this worth half a billion?
TIL there are Deepfake video calls... :-(
The issue here is that essentially nobody who has used/uses Tornado Cash is technologically inept enough to not know how to use something spun up as an onion service or eepsite (would help lessen the severity of the reduced anonymity issue), if the tornado cash folks don't just use IPFS to host.

Regardless, the website is merely a GUI to make things easier and not necessary for functionality in this case... or is it somehow necessary?
> What is the solution?

There are languages ecosystem that solved these issues and never have a problem with it. Look at it, and copy their tooling.
Ironically, retros are the additional meeting where you can air grievances about everyone having too many meetings.
Slack Images are uploading broken/blurry
> While the chatbot has triggers when it considers the topic potentially unsafe

This sounds like a pretty boring chatbot.
GitLab SaaS is the instance at gitlab.com.

Anything else is self-managed.
It was temporarily private in a bit of a reorganization, should be public now.
Jack should have been paid more than minimum wage. The existence of many minimum wage jobs is somewhat appalling, especially when it is not a livable wage in many places.

Welfare provided to one shouldn't necessarily be compared with all other potential recepients always. Improving the situation of one does not mean others' shouldn't receive assistance as well.
And we had lots of "fun" porting C code, including micro dialects like Small-C and RatC.
I've only glanced at the paper, but from that glance it seems that it does not "solve and explain" these problems in any thing like the sense that this would mean for a human student doing the problems.

Take the first example in Figure 4: "Find the derivative of the function using the definition of a derivative. f(x) = (x**2-1) / (2*x-3)". The "solution" produced is to just use a symbolic math package's 'diff' function to find the derivative. I assume that the actual intent of the question is for the student to use the definition of a derivative: f'(x) = limit of (f(x+e)-f(x))/e as e goes to zero, to find the derivative of this function, by directly finding this limit.

The "answers" for other questions similarly miss the point. For example, convergence of a series is determined by just asking a symbolic math package whether it converges, not by any actual reasoning, as would be expected of a student. And the question asking for the Type I error probability of a statistical test is "solved" using a simulation program, whereas I expect a human student is expected to get the exact answer by analytical calculation.
It might be better at faces but I've access to stable diffusion and on my prompts it performed significantly worse than dalle.
Slack Images Are Blurry?
Sent a couple of screenshots over Slack but it's blurry no matter what devices I'm using (iOS, web, Mac desktop tested). Nothing coming up on Slack system status https://status.slack.com/
Dumb question: how does a 762 ballistic fit in a 556 barrel?
But we knew that already
And, if deepfake technology becomes so easy to use, video of your face will no longer serve to identify you.
The nicer models use cameras for navigation as well. I expect that to filter down to entry level models rather soon, as it enables important features.
Invalidating a warranty based on such seals is in fact illegal:

Generally, tie-in sales provisions aren’t allowed.
These are provisions that state or imply that a
consumer must buy or use an item or service from a
particular company to keep their warranty coverage.
Here are some examples of prohibited tie-in sales
provisions.

“To keep your new Plenum Brand Vacuum Cleaner
warranty in effect, you must use genuine
Plenum Brand Filter Bags. Failure to have
scheduled maintenance performed, at your
expense, by the Great American Maintenance
Company, Inc., voids this warranty.”

“This limited warranty shall not apply if the
warranty seal has been broken, removed, erased,
defaced, altered, or is otherwise illegible,”
where a device cannot be repaired without such
effects.

https://www.ftc.gov/business-guidance/resources/businesspers...
How did he get into college without knowing algebra?? The 70s were a wild time haha
Ban cars because they can be used for robbery getaways
So your answer is .. more DRM?
I’d be careful about getting any home products under Amazon’s brand after they simply decided to brick security cams they sold for years: https://www.theverge.com/2022/5/30/23147362/amazon-cloud-cam....
Hoooly crap, whoops! I always get those two mixed up.

My apologies.
Can you point to any compiler in the world that can see through the construction of a DFA from user input to the point that it can automatically optimize away the transition table lookup?

> The Result type is more appropriate to use for *functions that can fail on a regular basis.*

Emphasis mine. The DFA::is_match routine can never fail on any input. Yet, you want to use a 'Result' with it.

Seriously. Please please pretty please read the blog post. You are literally caught in precisely the tangled mess that I tried to untangle in the post. If my post didn't do it for you, then please consider responding to specific points you disagree with in the post.
Congratulations on your launch! Interesting product.

What happens if a user needs to share the emulated app with a colleague or prospective customer who requires accessibility tools such as TalkBack or VoiceOver? Can you run tools like that in the emulator alongside the app? I'm guessing this would be straightforward for Android, but maybe not so much for iOS.
It doesn't. 300 blackout requires a new barrel. It's 'trick' is that all of the other components don't need to change.
You even admit you haven't used TF in a long time, and when you did use TF it hadn't been 1.0 yet, which means you should fully expect breaking changes to take place.

In no way is your complaint valid for a technology that hadn't even been released yet, and you should know that.

And a "luddite" is just "a person opposed to new technology or ways of working." How many servers you do or don't manage is totally irrelevant to that. Terraform is new, you dislike it because it's new (my guess), therefore you are a luddite.

Did you think I was claiming you belonged to the group of 19th century English mill workers who destroyed factory machinery to protest those machines taking your job?
My impression is that it's the Github equivalent to YouTube's ubiquitous "Please Like and Subscribe".
One thing is python's dependency management is just insane in itself. When you then additionally have to have it install basically drivers for the gpu, compile loads of native code etc it becomes a hot mess. And half the ML things you want to try are academic experiments not really made for distribution, so they were made to work and that's it. So if you have some different computer setup, minor version mismatch of a dependency etc it will just break. Datasets or models excist on some url that only works for a month.

It's a shame, I think the field is one where reproduction of results should be really welcome and feasible.

Yeah, a docker image would be nice. Even a Dockerfile, even though that in itself may not guarantee reproducibility if you try to build it later. (And may have issues with gpu drivers etc). But at least it documents all assumptions about the setup.