skysight-inc/HackerNews huggingface dataset:
Show HN: Waldo alpha 0.1 / free embedded AI for UAV-based detection
First release of WALDO: Whereabouts Ascertainment for Low-lying Detectable Objects (get it?)

This is a super-light, fast & basic single-shot-detector trained for UAV to detect and avoid objects on the ground during flight based on a YoloV7 model and my own synthetic drone flight datasets!
This first generation supports a single output class (people) and is meant to be used as a completely free security feature for anyone building UAV whether for fun or for commercial purposes!

This is alpha 0.1 so very early days but just like OpenLander the code is 100% FOSS and usable for commercial deployments from day 1. There's a lot of progress still to be made on the detection but this first generation works surprisingly well...

If you're more interested in segmentation check out my other repo for UAV AI called "OpenLander" :)
To be fair it's one of those terms where merely expanding the acronym doesn't help you much understand what it is. Or if you know what a "Conflict-free Replicated Data Type" is, you've probably heard the acronym more than a few times.
Yeah, nah, it is rather far from boil water notices tbh.
Rather heavier rainfalls into mountainous bushclad terrain can significantly increase turbidity and faecal coeliforms in a reservoir.

So treating each cumec takes longer - filters clog faster, UV needs to be applied for longer...

Hence the water restrictions - throughput has to decrease to maintain quality.

Boil water notices occur when your water treatment has entirely failed.
Great laptops and hardware; low hassle setup. There is some initial linux support for the M1 hardware but using mac os is a bit easier. The instructions for getting docker going on a mac are a lot shorter than getting linux going on an M1. So, if you have one, figuring out how you are going to run docker is something to do. And there are many options now.

I actually have a Manjaro laptop that I used for work for almost a year and it was great. Except for the hardware (generic cheapo wintel garbage). I'm back on a Mac now. Nice M1 laptop. Fast, silent, good keyboard and screen. Wonderful to use. Mostly my biggest headache is muscle memory for different key bindings and keyboard layout because I still use the linux laptop once in a while. But otherwise all my stuff (including docker) just works on both sides.

Docker for mac is nice but the licensing can be a bit of a show stopper. I've yet to try some of the alternatives mentioned here. I did use qemu on my old intel mac for a while with some simple environment variables to make the homebrew version of docker use ssh to my vm. It works but it can be a bit wonky with things like port forwarding and volumes. You can make all that work but it is a bit fiddly. Most of the proper alternatives make this a bit more seamless. But I'd recommend trying it just to de-mystify the whole process.

There is a docker desktop for linux even; which just goes to show that it does do a few things that are worthwhile having for some people. Even on Linux. I'm mostly a cli guy so I don't care about the UI/UX that it provides. But some people seem to like that.
Everyone wants that, but when asked for a concrete specification they seem to realize that it is harder than it sounds. Look for John Regehr's blog entries about "Friendly C" for an example. The basic problem here is that C is a terrible language. We should just give up on it by now.
Ironically, Android's core UI elements are horrid in this regard.
You're getting it backward. UB doesn't immediately stop compilation only due to implementation defined backward compatibility, just because you don't want to break compilation of existing programs each time the compiler converges to the C spec and identified an implementation of undefined behavior.

And since you want some cross-compiler compatibility, you also import's third parties implementation defined UB.

This is not some conceptual reasonable decision, the proper way would be to throw out compilation on each UB behavior. The reality is that the proper way would be too harsh on existing codebase, making people use a less strict compiler or not updating version, which are non-desirable effects for compilers writers.
There's a higher than usual amount of garbage comments like this this morning, hmm.
More than ever, we have tech startups for every kind of industry, country, gender, variations of the same products, etc… But that doesn’t mean there is no hope for new entrepreneurs to build their own startups. Actually, now is the moment.
Can't wait for an execs board room full of bearded guys who just happen to identify as women to circumvent these laws.
You can force yourself by setting everything to manual on a digital camera. Especially on a non-pasm camera, like fujifilm, where you can see and control physical dials.
I use subtitles on everything these days, but I also found a big improvement in hearing/understanding from buying a cheap pair of studio monitors. For speech you sort of want the flat response so the middle range where most speech is at doesn't get washed out. It sounded different at first but after a week I stopped noticing it and now pick up more sound effects and noises in the mix of media that for years I never noticed before. They are often used as the basis for audio mixing and what I want to hear is what the guy mixing the audio is hearing, so why not? Im not trying to replicate a rock concert in my house with earbleeding volumes and the "extra" bass and treble responce used to sell consumer audio equipment and speakers is counterproductive for clarity. Ill be integrating studio monitors into my audio setups for the rest of my life after buying my first cheap pair.
but what are they incentivised to find?
> They did not say they didn't do that, you're assuming.

In the article, the author confirms his test was not working:

> But that bug in my code ruined one month of my work. I coded without realizing tests don't work at all. OUCH!

The issue is exactly what parent mentions, that OP did not let his test fail first so that they were never confident in that the test worked.
I believe they have a manager now, like the vanced mananger. https://github.com/revanced/revanced-manager
Cutting power is wonderful UX. It's immediate and non-negotiable. After reading the rest of this thread, I dread the inevitable smart power strips that sense the approaching toe/finger and react before it arrives...
So... some ignorant questions?

(1) Is there much daylight between unsafe to drink and unsafe to shower/etc. IE, is there such a thing as nonpotable water that's still OK for domestic use?

(2) If there is such a thing, are there major cost or environmental savings to be had from running a nonpotable water grid?

My thinking is that treating water at home is not that hard. You can easily have one filtered tap at home. It's cheap and easy to retrofit.

Is it not overkill/inefficient to run a drinking water grid when 99% of the water waters lawns and washes dishes?
It's not to protect from UB, it's to protect from the optimiser deleting your bounds checks.
Long ago on Castro St in Mountain View I was returning from lunch and took my first step to cross a road with a red light.

A cop was on the corner and struck the pole with his nightstick as soon as I entered the road. I took it as a threat and retreated.

Asshole.
The question is whether they can and, if so, whether it is beneficial to them.

As hinted in my previous comment, I don't think they can and I am also not convinced that it would be beneficial to them if they could.

They need good engineers. That is achieved through hiring and compensation policies. Then, it is also beneficial to retain and keep engineers up-to-date through a level of training as needed.
WWII was very much about changing the culture, and the US was pretty successful at that in Germany and even Japan (read about Japan in 1930s, it's terrifying).

The USSR was also somehow successful (see Eastern Bloc), fortunately much less so.
A bit pointless example, because that "int y..." is going to be pruned away anyways, since the result is not used anywhere.

Hence it won't trigger any undefined behavior.
Hackernews has been (sorta sadly) been getting more and more popular over the last couple years :/
I use https://github.com/morpheus65535/bazarr which comes with https://github.com/smacke/ffsubsync.
But you cannot opt out of Google having a list of every video you watch and when/where you watch from tied to your credit card details and browser.

Google will use this data to sort feeds and recommendations in a way that helps meet the behavior modification goals of their partners.

When creators upload to platforms that let me anonymously pay them with money, I will happily do so. LBRY has proven this can be done.
I’ve written a subscription billing app on PHP and MySQL. Just the database queries to figure out what has been paid or not (x in-full/partially/over x in-time/late) are absolutely horrendous to get right even without the complexity of VAT, multiple subscription types, usage billing etc.
They're correct to do this. Signed integers have more UB, therefore you /should/ use them in all situations when overflow isn't going to happen, because you're not going to need that extra defined behavior.

This lets you use UBSan most effectively and it's what the Google style guide says to do.

(Exception if you care about micro-performance: * / >> operations can be a little faster on unsigned types IIRC)
By 2026, companies will need to have 40% of the underrepresented sex among non-executive directors or 33% among all directors.

Identity quotas do little but foster distrust of the members of the assisted category. How does this even work as more and more peoples' gender identities deviate from the classical male and female? Does a non-binary person count toward the quota? Do they count only if they were assigned female at birth? Can executives change their legal gender to manipulate their stats? Are companies similarly required to have at least 33% males on their boards? How does telling a company who they must hire, as opposed to who they're not allowed to discriminate against, not violate the right of freedom of association?

This is a whole damn mess.
This is the kind of thing that can break entire economies: forcing you to hire people you don't want to hire, people who may be entirely unoptimal but you have to hire them anyway due to a quota. Of course the consequences will be too gradual to see at first. People will only implement this stuff slowly, fines will probably not appear for a decade and by the time these changes are actually in effect nobody will know why the economy runs X% worse than before. It will be as if it has always been slightly bad and economists will ponder for years and years how to improve the ailing continent.
musl
I think this is confusing undefined behavior with behavior of something that is undefined. And either way, the C standard explicitly applies to C programs, so even this cute "textualist" interpretation would be wrong, IMO.
I work around this in two ways:

A) I type "import {} from 'module" first and then go back and add modules

or more often these days,

B) I let Copilot guess for me, which combined with my predictable file organization usually results in the right autocomplete.

Option A can be improved upon by writing a macro/template with slots in the correct order.
A Cyberattack Plunged a Long Island County into the 1990s
Falsehoods programmers believe about undefined behavior
There are no mystery if you treat it as a mathematical construct.
It is full of mystery if you treat it as something physical.
Fair enough. Incompetent people should either be trained or fired, no argument there. The point is that in many (most?) jobs it's mutually beneficial to employer and employee if work is done at peak performance. But some people should just...go do something else for all our sakes.

I've been a one-person customer support team for thousands of clients myself. Working till 6am to answer all emails in under 24 hours got old very quickly. There's always another way to do things.

A business that can't expand or improve while treating employees well is probably not a business that should exist.
`containerd` invokes `runc` (and `docker` can also invoke `containerd` via its API, which then invokes `runc`). The "lower level container runtime" is cgroups and various kernel namespaces (primarily process and network, but some others are included). There's no magic there.

They are not all the same when you get down to it, though. The "different opinions" about how to plumb traffic back out from a container (DNAT/SNAT via a bridge, macvlan, whether using a CNI directly is supported), whether a service/daemon should be the primary entrypoint (docker, containerd) or whether it's optional (podman), whether they speak to runc at all (containerd/docker yes, podman defaults to crun, kata is also an option, and others), what kind of storage overlays and plugins are allowed, etc are more than "opinions".

The devil is in the details. Colima is "basically a drop in replacement for docket desktop" under the assumption that you aren't doing anything very complex with Docker. In particular, complex networking is likely to fail/explode.
If I could pay creators directly and anonymously with only money and not my data and viewing habits and agreeing to let random third parties try to manipulate me, I would.

For now the only creators I can support with privacy are on LBRY.
That because media coverage is generally anti-bitcoin mining. What many don't understand is that bitcoin mining at industrial scale incentivizes energy production, because the miners seek out cheap, otherwise underutilized energy (otherwise they aren't profitable).

During last July's heatwave, Texas's industrial bitcoin mining base "allow[ed] for over 1% of total grid capacity to be pushed back onto the grid for retail and commercial use.” [1] No other industrial-scale use of electricity can be turned off and back on when the grid needs excess capacity without harming that industrial production---you can't shut off a steel mill without enormous damage to production, or turn off a hospital without loss of life; but energy grid operators can sign contacts with bitcoin miners to have the right to dial them down to meet peak grid demand.

And yet, the NY Post article I sighted here spins the story anti-miners, missing the point: had the miner not been consuming power, the grid would have had 1% less to meet the peak heatwave demand. “There are over 1,000 megawatts worth of Bitcoin mining load that responded to ERCOTs conservation request by turning off their machines to conserve energy for the grid.”

Imagine if there were ten times as many miners there---they would have been able to provide 10% additional power to the grid during peak demand.

[1] https://nypost.com/2022/07/13/texas-bitcoin-miners-halt-oper...).
100x developer is better goal.
Isn't it the thread that's linked in previous messages in this comment section. Maybe the comment that I linked to in a different message.
does this mean norway cannot receive GPS?
Even if you could I don’t think the GPU stuff is far enough behind to really worry about it.
Newpipe has been my go to for years. Set it as default YouTube client in android and away you go. Breaks occasionally but devs are quick to fix (usually a day or two)
GCC's developers work for companies that want more optimizations. UB is the way you get these optimizations.

But "gcc -fsanitize=undefined" is just as easy to run as "gcc -O3" is.
As it isn't noted prominently in this announcement, it is worth clarifying that the directive does not apply to small and medium-sized enterprises, and applies only to listed companies.
I'm fairly confident in declaring the answer to your question: None.

Most programs rarely issue all the instructions that a CPU can handle simultaneously, they are stuck waiting on memory or linear dependencies. An extra compile-out-able conditional typically doesn't touch memory and is off the linear dependency path, which makes it virtually free.

So the actual real-world overhead ends up at less than 1%, but in most cases something that is indistinguishable from 0.

If you care that much about 1% you are probably already writing the most performance critical parts in Assembly anyway.
The map did feel a bit skewed to the East based on my perception. Interesting to know it wasn't just my imagination!
> Identity quotas do little but foster distrust of the members of the assisted category.

Only for a while. After a while it will become normal and the distrust will fall away.

And what else do you propose? Because we've tried doing nothing for decades and the results aren't great.
A Nibble of Lazy Evaluation
#3 is an absolutely classic example of unanticipated complexity. Tax might differ depending on individual line items on an invoice, so if you’re refunding $50 on a $100 invoice, how do you compute the tax payable for the invoice?

If memory serves, we ended up solving this by pro-rating the tax against the refund amount, on a per-item basis. And, I think, some smart accounting.

Oh and then you have the problem of when tax is becomes payable. Is it when the invoice is raised (accrual based)? or when it is paid (cash based)? And if memory serves, it depends on the size of your company. :head asplode:
Genuine question: Are there ways to "organically" promote gender balance without having to rely on gender quotas?
Gap-toothed assassin Niclas Füllkrug gets Germans out of gaping hole at Qatar
The PS2 had two CPUs inside, one of which had GPU-like features. To differentiate them, one was called the IOP = Input Output Processor and the other the EE = Emotion Engine.

It was a surprisingly powerful system at the time and it took developers years to understand it well enough to take full advantage of the hardware. But the ability to have 2 CPUs run simultaneously and interact with each other allowed for A LOT of crazy optimizations that I haven't seen since.
Yeah. Any position or size change is almost always a no-no. Even if you don't thrash the layout, you could shift your event targets and get caught in a thrash.

I weep for this new generation of web developers. So much more complexity, leaving little time for studying and nailing well-established HCI principles, which used to be less of an issue when web was simpler.

What vexes me is that I learned these principles from companies like Google in the first place.
The process of banning them started with Obama:

https://www.dailymail.co.uk/news/article-2300518/Obama-BANS-...

After the Snowden revelations, it is interesting to see that other countries like Brazil or South Africa have not banned US equipment, software and gear. Markets clearly have a lot of inertia, or they just don't care about potential backdoors.
Cue someone linking to the guidelines which says that HN is for interesting things, and so someone found this interesting. No kidding...

I agree with you, of course.
>No, it's not, and I don't know why you'd think so. UB is a concept applying to C programs, not GCC invocations

What should happen when I invoke --hlep then?
The program could give an error, could warn that it's an unrecognised flag. Could ask you if you meant --help. Infer you mean help and give you that, or it could give you a choo Choo train running across the screen. Or it could reformat your hard drive. Just because it isn't specifically listed as UD doesn't mean it's not. If it isn't defined then it's undefined. The question is what is the reasonable thing to do when someone types --hlep. I hope we can agree reformating your hard drive isn't the most reasonable thing to do.

>I think you're confusing UB with unspecified and implementation defined behavior

Am I? What's the reason for not defining integer overflow? Yes unspecified behaviour could be used to allow portability, but so can undefined.

>It's fine if you think something shouldn't be UB, but you have to go lobbying the C standard for that. Compiler writers aren't to blame here.

I'm not saying it shouldn't be UB. I'm saying there's reasonable and unreasonable things to do when you encounter UB. In the article the author took reasonable steps to protect themselves and the compiler undermined that. That isn't reasonable. In exactly the same way that --hlep shouldn't lead to my hard drive getting reformatted.

C gives you enough rope to hang yourself. It isn't required for GCC to tie the noose and stick your head in it though.

I think you're confusing UB with unspecified and implementation defined behavior
Why not have at least one woman and one man in combination with one being old, one being young, one being black, asian, etc, one being gay, one having a disability, etc
In my country, we have a concept of "employee for tax purposes", where someone is not an employee, but pays employer and employee taxes on their invoices.

I can imagine we could arrive at "gender for quota purposes", where someone may declare themselves as female, but for quota purpose they'll still be regarded as male.
I think the usage of against in that way is normally correct, but:

> starting to experiment with x against a new repo

Is still weird. It’s not incorrect, but it feels like the author should have used ‘in’ here.
When it's used to describe a process it can be a physical kind of analogy:

- "to push your hand against a wall"
- "to press a grinder against some metal"
- "to push a mold against the clay"

There's a Newton's third law kind-of thing going on, where two things push against each other, and affect each other.

For "to program against a standard" I am imagining some malleable computer code being pushed against an unyielding form or mold until it conforms to the intended shape (i.e. standard). A similar deal as TDD (test-driven development).

It seems to me that the second and third examples are forms of "compare with and contrast against" the latter being the "relationship of opposition" you mention.

Thinking aloud, "to file an issue against a repository" grammatically resembles "to file a lawsuit against a person" and is similar in that you are registering a complaint against some problem.
Sex is not assigned at birth, it's observed.
The hosts file in Windows is still called etc/hosts which I’ve always found amusing ;P
My opinion:

If you support free market companies, you should not tell them how to hire (put quotas like the one now mandated in the EU).

A govt can put quotas on it's own organizations. Sure. No problem there, as it is not a market-force company to begin with.

Next up the C-family invents some new Cs (CWO, CQO, CJO, CYO) and puts some women on it just so the CTO/CFO/CEO can be men. In Nigeria foreign companies have to hire locals: they sit all day on "the locals bench" waiting for their shift to be over. I wait for this to happen on EU company boards with women.

Great move EU! /s
When you already believe something, you can start seeing proofs everywhere.

Water grids malfunction. Some water management departments suck. Some are good. Some cities have better infrastructure than others.

Inevitably though, these are taken as "see! I'm right." Tories are evil. Democrats are useless. Communism doesn't work. Capitalism hates humans. Bureaucrats suck. Privatisation is a failure. Regulators are ne'erdowells. Etc. Etc.

One of the first principles of formal logic deals with this sort of thing. Reductio and absurdum. When a statement or logical method can yield every conclusion and it's opposite, it's the logic or assumptions that are false.
> This is a whole damn mess.

Agreed.

> How does this even work as more and more peoples' gender identities deviate from the classical male and female?

Well. Colour me plain, but I don’t think allowing people to select a gender disparate from their biology is useful, nor is going to help in this regard.

Kids these are getting more confused than ever before, because we as adults are afraid to draw clear lines and put up simple, reliable structures they can relate to.

Being handwavey about something as fundamental as gender is doing our kids a gross disservice.
Its reading time, not understanding time :P