skysight-inc/HackerNews huggingface dataset:
> I would have thought Singapore had more policing in all respects versus US cities.

You only see police occasionally doing their patrols, so it can be argued there is less of a police presence than say NY. There is no need, there are cameras everywhere and its a small Island, you can't run anywhere.

With respect to the parent's comment on subway deaths:
> Singapore has entirely solved the root problem in a non-carceral way by investing in infrastructure.

There are barriers that only open when the train has arrived, so there quite literally cannot be deaths from people pushing others onto the tracks. I presume that is what he means by infrastructure.
The best touch in that story is how the poster works around the lack of a voltmeter by assuming the OP possesses a soldering iron and the skills to use it.
My father has cancer on stage 4, he probably will die soon, do anyone knows if there are treatment he can try ?
Although I agree that a lot of the environmentalist movement is transforming into religion, I don't think this is a good example of it. In locations with cheap land and feasible climate, passive cooling achieves cooling whilst using no power.

It's not better because it's older, it's better because it is more efficient.
But they instead get a tax rise to pay for the pensions.
Double edged sword of "rules for thee but not for me".
> So what you are basically saying is that poor people should suffer more for committing the same crime as someone rich.

Do you believe that rich people should suffer more because poor people can’t afford bail?

If you break a leg, should everyone else have their legs broken too? That’d be fair, right?
iSpoof
> Similarly, there are all sorts of imbalances in the workplace that are not accounted for, and someone might chafe at. [...] On the other hand, if you don't have "life" chipping away at your productivity and causing you to miss work opportunities like these others, it's hardly fair if you're not rewarded.

I see this as a bit like insurance, though, where the healthy overpay while the less healthy underpay. It's not fair to the former at the time, but you pay into it because you never know when you might suddenly find yourself among the later.
They kinda say as much in part one.
Face recognition is possible on a tiny and cheap ESP32-CAM[0] using Espressif's own ESP-WHO[1] framwork. Apparently it can process images at around 3 fps. I have an ESP32-CAM on order to try this out as part of a side project of mine[2], so I can make the eyes look at faces :) I would also love to get hold of a Person Sensor[3] which runs custom firmware specificially designed for face detection and would be absolutely perfect for this, but they're not in stock currently.

There's other libraries[4][5][6] that look like they could work too and I plan to try. As far as microcontrollers goes, the Teensy 4.0[7] should be powerful enough for reasonably fast processing (and it has a floating point unit!), though I'm yet to find a good library for doing so.

[0] https://robotzero.one/face-tracking-esp32-cam/

[1] https://github.com/espressif/esp-who

[2] https://github.com/chrismiller/TeensyEyes

[3] https://usefulsensors.com/person-sensor/

[4] https://github.com/ezelioli/Face-Detection-on-Microcontrolle...

[5] https://github.com/nenadmarkus/pico

[6] https://www.reddit.com/r/embedded/comments/g77exq/recommende...

[7] https://www.pjrc.com/store/teensy40.html
Tripping Balls at the Largest Weapons Trade Show in North America
It is. There's an OE community (Maybe a movement at this point). Where I work you're actually allowed, with permission, to have outside employment. But there was a case where a remote worker was found out to be working another full time job at the same time. They didn't have permission, and they were fired, even though their boss had no actual complaints. (I think it was discovered through that experien system that aggregates worker history & salary, which most companies subscribe to.)

It happens, it's real. And believe it or not, there are many "full time" jobs out there that can be done by a competent professional in half the time.
But it's not really overemployment if they're working 80+ hours a week. Either they're lying, just working 3 jobs (which isn't overemployment because working more to earn more is normal), or they're committing fraud on their contract positions.
Contrary to popular belief, monogamy is not the only way to have relationships.
> You know Singapore unabashedly beats the shit out of thieves, right?

They don't...first offense you basically get off with a warning. Recent headlines was a case of Australian school girls shoplifting [1]. Although they're foreigners, same goes for locals.

[1] https://www.straitstimes.com/singapore/courts-crime/6-austra...
NSW replaces 7 instances of Cerner with single Epic implementation
So, you should cache hits. If someone asks the same question again five minutes later, then you shouldn't need to look them up again.

Also, it would be nice to show misses -- where the account name hasn't been used.

I have found a few other people out there with the same name, and it would be nice to know what systems I can go to and grab the name I want to use.
> These corporations that are being robbed already build shrinkage into their budgets.

Doesn't this just mean that it is priced in? So thiefs are stealing from paying customers.
If imperialism and colonialism are wrong maybe China should stop doing it in Africa and South East Asia.
This is what happens (in theory) with GSM mobile phones. GSM devices have a serial number in the form of an IMEI which can be blacklisted from networks if stolen [0]. There are, of course, still ways round it as detailed in the wikipedia entry - e.g. the blacklists are national ones, and organised groups can "just" ship the phones to another country and sell them there.

Even so, as you intimate, it does make it _harder_ to resell stolen phones.

[0] https://en.wikipedia.org/wiki/International_Mobile_Equipment...
From that WSJ article:

“Stanley was unfailingly polite and even-tempered on the set. After every take that didn't work, even the 100th, he would say nothing more than "Let's try that again."

Of course, it was also true that Stanley was a control freak of the highest order and ran his set more like a dictator than a director. He treated actors as if they were technical elements in his design, not as creative professionals like himself.”

Another glimpse of how working with Kubrick was: https://www.independent.co.uk/arts-entertainment/films/featu... (“If you did a film with Stanley, you were married to him. There was nothing else in your life.”)

I don’t think anybody could direct a movie the way Kubrick did today. They would be canceled before the shoot (which would be long. That reference to the 100th take above may not have been an exaggeration. Kubrick is in the Guinness book of world records for doing 148 takes of a scene in “the Shining”. See https://www.guinnessworldrecords.com/world-records/74583-mos...) was over.

On the other hand, Elon Musk seems to get away with being very manipulative and demanding of his personnel.
I've become a professional short-termer over the past 30+ years. I don't think I've stayed with a company longer than 2 years for at least the past 20 or so.

I come in, handle some successful projects (occasionally unsuccessful, such is life) in whatever role (it varies from senior developer to product owner to staff developer to tech evangelist, etc.), then find a reason to move on. I've noticed that the types of companies I work for tend to be grouped - I'll work in legal tech for 2 or 3 companies in a row, then fin tech for a couple, then marketing, then oil & gas for another couplefew, etc. My remuneration has consistently grown as well over that time - I haven't taken a lower-paying position for at least 10 or 15 years now, and only one change that didn't increase what I take home.

I actually didn't realize I was doing this until I started my year off recently and looked back on my career. I still don't know if it's strange or not, but it worked for me.
It's a worthy exercise to code for a while on a vintage machine with a hundred or so kilowords memory. Puts things into perspective.
https://news.ycombinator.com/item?id=33738014
>Why can’t Harvard teach the entire country?

I worked at an ivy league college and asked my boss (who now happens to run the college) why the college didn't expand since there was so much demand. He said those the college rejected could go to other schools, this college was only for the best of the best. (And of course the children of alumni donators.)

Over time I've realized that college exclusivity works exactly like image management for a pop star. You start by controlling where your image is available, sue those who use your image without permission, set up a press release outlet, create press packages. It is basically perception management. Being exclusive by rejecting most applicants and not expanding to teach more students is part of the perception management. It is a lot like the artificial scarcity of diamonds.
> But what happens as you start adding stuff. Toaster notification

Sounds like an amusing corollary to Zawinski's law. "Every program attempts to expand until it can notify you your toast is done..."
It is well worth getting the paper copy (rather thick book!).
I was a late-80s Usenet user, came on just after the great renaming, and at the start our feed was from overnighted tapes from the NASA downlink on our continent. I felt like I’d been included in a global civilisation that almost nobody in my provincial city between the desert and the sea knew about. I was an immediate convert and told everybody that the future was coming.

In 1990/1 I organised the proposal for voting the creation of a comp.os subgroup while backpacking around Europe for 4 months. I still remember the kindness of the Charles University people who not only provided a terminal but also a warm meal (I must have looked fairly hungry!)

By the late 90s, the buzz and bustle of Usenet was turning down and the great people were hanging out elsewhere.

By the early 2000’s - apart from some weird community recolonisations of alt.poetry or something, it felt like a vast ruined landscape, and wasn’t appealing to spend time there.

Such a big chunk of my life, commingled with something similar but smaller on a fairly isolated cluster of PLATO systems.
So what? Why does it matter?
There are already platinum-free fuel cells in deployment, mostly in the form of SOFCs. Your views are decade out of date.
Nice!

But would be also good to show the actual tables and not just the points, maybe even updating live during the matches, since in most cases the points are not the single thing that decide the outcome, but also goals scored, goal difference etc.
There are reasons child pornography is bad and loli doesn't share any of those reasons. Equating those two is pearl clutching and an insult to victims of actual child pornography.
Sounds very interesting. Never heard of rum, thank you for suggesting it.
A millisecond isn't fast (and how we made it 100x faster) (2015)
It’s ironic that the illustration in this post is the opposite of craft. It’s a random picture that looks like dramatic game concept art including what might be flying spiders. This apparently represents “crafting high-quality software” and was of course generated with an AI model.

The novelty value of these images is gone and they’re just visual noise now, like banner ads or mailing list signups. In the spirit of the post, when in doubt, simplify your content — and AI-generated illustrations should be the first to go.
How can he claim that he grew his network? Having a linkedin or any website stating his past experience will trigger questions for the overlaps.
You're assuming these people aren't actually doing the work. Dig into the OE community a bit. I just surfaced from that rabbit hold and its fascinating but one of the premises of the community is that responsible practitioners should actually be performing all of the job requirement, not coasting by on 5%, 20%, etc. Ever work with someone better, smarter, faster than you in every way? I have. They didn't need the full 40 to get the job done, the job that they were being paid to do.
jobs requiring security clearances
For a moment I thought you were Doug Cutting
In essence Satan is the prosecuting attorney, Welcome to America!
This 4d chess thing is getting old. He's just a terrible boss doing what terrible bosses do all the time, fire people at whim, decide product direction is a feelings thing that only he is capable of doing, ignores and reject any competence that threats his image and position, etc.
> There doesn't seem to be any limitations -- anything you can do with FFT, you can do here.

There's certainly no limitations if all you want to do is to convolve your image with symmetric kernels. But you asked for advantages of the Fourier transform, if any. Convolution of two non-symmetric images is one of them ;)

There's also the fact that derivatives have an easier relationship with the DFT than the DHT. If you are interested in discrete linear pde, that's a big advantage.

For signal processing, the main advantage of the DFT is that the amplitudes and phases are cleanly separated. For the applications where you only want the amplitude, it is already there in the DFT, but you have to untangle it from the DHT, because the DHT intermingles the phases and amplitudes.

An example: imagine that you have an image affected by periodic noise, and you want to remove this noise. This periodic noise appears in the DFT as a frequency with very large amplitude (and an arbitrary phase, corresponding to the phase of the periodic noise, that you don't really care about). Thus, it is easy to locate and filter-out this periodic noise using the DFT: just find the frequency with large amplitude and set it to zero.

Now, for the DHT, the frequency that corresponds to the noise period is not necessarily large (in magnitude). It may even be zero, depending on the phase of the noise! To find that frequency, you have to essentially recover the DFT and compute the amplitudes.

Of course the DHT and the DFT are equivalent and there's an easy conversion between both, so you can do exactly the same things with either. The difference is just a matter of convenience. It's certainly useful to know both.

If you are scared of complex numbers for some reason (e.g., if your programming language makes it difficult to work with them) then you may prefer the DHT. Otherwise, the DFT neatly separates the phases and amplitudes and it's slightly easier to interpret.
Middle managers and academics who never lead a company whining about Musk is the most ironic thing ever.
Sketchy source. As if one of those few satellite company providing (short) video capability happens to focus the city (which is not even mentioned) during that unpredictable earthquake.

Given the nature of Indonesians, I'd not be surprised if this gets shared among WhatsApp family groups, since it came out recent to the Cianjur earthquake.
An interesting strategy used in Australia, is to drop cane toad baits ahead of the encroaching population so that native species don’t eat them, and reducing population loss – which is the main problem.

> Cane-toad sausages laced with a nausea-inducing chemical have been dropped from helicopters ahead of the toads' front line.

> The aim is for animals to become sick from eating the baits, teaching them to avoid the toads just as the pest moves into their habitats.

https://www.abc.net.au/news/2022-02-14/cane-toad-sausage-dro...
Show HN: I built an app that aggregated economic data
I have been looking up fear & greed index, interest rate, inflation, gdp, unemployment, etc. individually for a while and thought to myself it'd be nice to have 1 stop shop for everything I want to see in the market. I began to look up and noticed most of the data can be crawled from government websites so I did just that. Then I built a website and mobile app to display the data.
70k victims of iSpoof fraud to be contacted by the Metropolitan police
It's getting absurd. Now we are training humans on how to instruct AI better. Are we becoming ourselves AI now?

PS: Great game! I recommend you get a separate domain for it. Makes marketing so much easier.
I think you meant "microcontroller", the Pi 4B for instance is powered by a 64-bit quad-core ARM A72 running at 1.5 GHz. That is most certainly what most people would call a (rather beefy) microprocessor.
Society has been persistently degraded since time immemorial, because of the presence of organized crime. The only thing that's changed since Prohibition is the genetic makeup of the gangstas who are in charge.

#BlackLivesMatter came about because the police have been--somewhat unwillingly--waging open warfare against gangbangers for decades in the inner city. The gangbangers all have guns and the cops have heavy weaponry that sometimes protects them and oftentimes blows away a few low-ranked gangbangers who might've just completed initiation, or weren't even affiliated but just hanging out at a party.

So what #BLM and #DefundthePolice people are saying is, enough is enough with this open warfare, you're killing children and innocent people, the cops are too powerful.

But gangs offer societal structure: they offer belonging, they offer community, they offer encouragement and brotherhood. They offer economic opportunity. They offer lifelong careerism. That flavor of opportunity can't be had in a public school or a legitimate job.

So gangs aren't going away; gangs are part of the fabric of society because they're providing tangible benefits for many members and non-members alike.

But how will they disarm themselves? How will they offer truces to the cops and reconcile, swords into plowshares? If gangs don't go away then they need to be pacified or the open gang warfare will continue to get cops involved, and the gangs will continue to shoplift and fence and operate all sorts of low-level criminal enterprise with impunity. So what to fix?

Save the family - save the world.
There are many reasons: power usage, size, cost, availability being some of the main ones. I've been using microcontrollers for wearables and, as much as I'd like the power and ease of use of a Raspberry Pi, the size and power requirements can be too much to deal with. The Teensy 4.0 has proven to be a much better alternative for me - much smaller, lower power consumption, and still plenty of performance including a floating point unit which has been a game-changer.
> ...They stick some unfair contract on you and underpay you.

Mr. Article Writer is making $440k/annum from 2 jobs. Somewhere before hitting $200k/annum jobs that excuse goes away. Those sort of earnings aren't what someone can command from a powerless position either.

And the reason it is being called fraud is because he is probably misrepresenting his circumstances - lying directly, in other words. Unless his employer has a sloppy lawyer. He doesn't get a moral pass for lying because there is unfairness in the world. That logic could excuse any crime.
“The law, in its majestic equality, forbids rich and poor alike to sleep under bridges, to beg in the streets, and to steal loaves of bread”
Imgui rendering bidirectional text with multiple fonts
So not getting in to read article - but

Given the amount of theft in America, and size of Amazon's American revenue and sales, can we figure out what percentage of Amazon's revenue is generated from fencing stolen goods?

on edit: IIRC AWS is 70%, Ad revenue is half of retail (30%), that means criminal revenue has to be less than 15% and I would think probably significantly less than half of that even. Maybe 2% at most?

on second edit: I wonder if every corporation has a percentage of its revenue that is criminal, like how processed food has a percentage of bug parts. You would think not, initially, but just voicing the idea makes it strangely attractive as a concept.
The difference is that I sign on with a company to do a specific job. Nowhere in my contract does it mention hours. Do the job in fewer hours and where the problem with doing another one?

Marriage on the other hand, at least in my vows, was pretty explicit on the ground rules of it being an exclusive deal. So you're analogy is flawed.
You want to be very careful about what kind of equipment you power like this. If it has resistance that's substantial compared to the resistance of the lamps, the voltage divider won't be a neat 50:50 anymore and you'll get more than 110 V.
This was confirmed in the nytimes article - all the interviewed folks agreed they just got really good at avoiding BS meetings and such which we can all learn from.
I didnt write this comment snarky or fulminating etc.
The space of startups cashing in on genomics but making shiny web apps that software engineers need to understand something about human diploid genetic variation is far higher though. Thats where the money and engineers are, not in fundamental algo development for slimemould assembly.
Or The Matrix and The 13th Floor!
You are going over an already covered point. I said “bad and wrong communication”.

My point was specifically about the expectation of fail proof medicine. It doesn’t exist.
Everyone who holds crypto thinks the same. This is why crypto is so dangerous. It's essentially a cult. Once you buy it, you try to recruit more people through social media, traditional media, word of mouth. The only way crypto can go up is if more people buy in since it doesn't produce anything of value.

It's basically like a pyramid scheme but without real products to sell. Just "hopium".

You'll never hear useful things created on the blockchain from crypto bros. Instead, all you hear are random predictions of prices such as "$1m bitcoin by end of 2023". Or "$10,000 ETH soon" which is actually said by the CEO of Y Combinator.
Reminds me of

https://www.nbcnews.com/id/wbna7654561
Well then we agree there.
Why would the population be censored if the voltmeter never read anything above 100 volts?
That ela/apply function is actually reduce.

You cannot call the function multiple calls with funcall to implement apply; there has to be only one call to funcall.

Basically you have to ways:

Switch on different argument list lengths, to one of many funcall expressions that has a matching arity:

(pcase args
(() (funcall fn))
(`(,a1) (funcall fn a1))
(`(,a1 ,a2) (funcall fn a1 a2))
(`(,a1 ,a2 ,a3) (funcall fn a1 a2 a3))
...))

Or build the funcall dynamically and eval it:

(eval `(funcall ,fn ,@args))

Lisp newbiews who don't know about apply sometimes end up simulating it like this.
> and get rid of a lot of wrong-type-arguments errors at runtime

like which ones?
Figuring out round, floor and ceil with integer division
Corridor Crew does such a good job explaining things. They are the reason I can use Blender somewhat. Corridor Crew deserves Nobel Prize of Education.
Black Friday: Apps, SaaS, Books, Courses, etc.
You wouldn't use an FFT for a guitar tuner, you'd just time zero crossings.

I did use an Arduino to detect "key tones" on a wireline radio controller, sampling at 16kHz (ADC running flat out on one channel) and implementing Goertzel's Method to detect the 2175Hz guard tone and 1950Hz and 1850Hz keying tones, and a twin-T notch filter to remove the 2175Hz tone from the audio. The controller sent a short burst of 2175Hz followed by a short burst of one of the lower tones, to key up the transmitter on the correct channel, then the presence of any audio on the line (including the "low level guard tone", 2175Hz but much quieter) kept the transmitter on until you'd finished speaking.

It was sensitive enough to detect the low-level guard tone even when the audio over it was quite loud.

As far as I can tell, it's been running for a good ten years now and I've never been called back in to fix it.

Edit: just to be clear the notch filter was analogue in the audio path! I did make a similar device to process audio from an RTP stream between devices linking radios that did everything digitally but that required a Raspberry Pi with a massive amount of CPU horsepower and a limitless almost infinite amount of RAM - it used almost 128MB!