skysight-inc/HackerNews huggingface dataset:
I did this recently for piano for a piece of software that I'm working on off-and-on and here is my method:

- first convert to midi from audio (either using google's AI tool or my own)

- tally all of the notes in bins

- pick the key that would lead to the most economic visual representation (least number of sharps and flats)

This simple method seems to work remarkably well for the limited case of piano music. For more complex music it would probably not work because the first step would be very difficult.
> I don't understand how they go from hiring a guy to bribe inspectors for them (or teach them to bribe inspectors), to saying they have a rule "not to say anything, or pressure anybody".

They didn't say they wanted to bribe people. Rather, someone assumed they were going to play along and told them to do these things. They just did what they were told and played along. They just included an envelope. Things that shouldn't pass were passed. They didn't say "Hey, here is the envelope of cash, that should pay for the mess back there."

That's effectively how it's done.

Basically, if an inspector came along and refused to take the money and/or refuse to pass them, they would have accepted the refusal to be passed and most likely fixed the issue to get passed. Or end the story.

As for "hiring a guy," he came associated with the place, and effectively offered to do the work for them. They didn't seek him out. He approached them, and they just say "Ok" and played along.
Don't forget the cane toads. [0]

From wikipedia:

In June 1935, 102 cane toads (Rhinella marina, formerly ICZN Bufo marinus) were imported to Gordonvale from Hawaii, with one dying in transit due to dehydration. By March 1937, some 62,000 toadlets were bred in captivity and then released in areas around Cairns, Gordonvale, and Innisfail in northern Queensland. More toads were released around Ingham, Ayr, Mackay, and Bundaberg.[6] Releases were temporarily limited because of environmental concerns, but resumed in other areas after September 1936.

Since their release, toads have rapidly multiplied. They now[when?] number over 200 million and have been known to spread diseases, thereby affecting local biodiversity.[7] Not only has the introduction of the toads has caused significant environmental detriment, but there is no evidence that they have affected the number of cane beetles which they were introduced to prey upon.

[0] https://en.wikipedia.org/wiki/Cane_toads_in_Australia

It seems modern humans are not very good at ecological balancing. Especially not in Australia. I believe the original local aboriginal people were trying to get the hang of it however before they were rudely interrupted by the colonialists.

We are also omnivorous masters of destroying terrain.
Why the original transformer figure is wrong, and some other tidbits about LLMs
Thanks! I think it was the missing piece to make it really useful for business use cases and both features differentiate the product from the competition.
I was trying to say that they usually don't introduce bleeding edge tech to their products and lag on adoption till the tech is polished enough.

For acquisition yeah I was thinking along the lines of Siri.
Is it annoying that issues open in a modal by default, I then need to click the issue name again to make it open in its own window.
A rare gem. Now cue all the people, not having read it, chiming in with comments of the form “What I use is… [something which the RFC recommends against doing]”.
Comparing HTTP/3 vs. HTTP/2 Performance (2020)
I mean, I care about values. But you’re right most people don’t and only care about short term comfort and safety.

It’s a big problem and the only solutions I’ve come across are inherently unpopular.
I don't agree, peloton is a great product.

Would you say a similar thing about a high quality bike?

But the monthly subscription fee is way too high considering the price of the bike.
I assume this means new integration with the Windows shell since Microsoft has provided cli support since the December 2017 preview build of Windows 10 by shipping libarchive and bsdtar with Windows.
Accessibility as a Cyber Security Priority
I implemented my suggestion: https://hikari.noyu.me/etc/2023-05-24-js-canvas-software-col...

It seems that doing this per-pixel loop on the CPU in JS is slow, but it's not too bad: the first click might take 300ms, subsequent clicks are just 100ms. While this is about ten times slower than I was hoping, it's still fast enough to seem responsive to most users. This is also at 4K resolution, because I wanted a realistic worst-case. It's much faster at 1080p since it has four times less pixels to work with.

You could of course do better with WebGL.
As .Ogg and .Opus continue to get the cold shoulder from windows "explorer"
> There might be violence, but in general you can't know this

Well, in general we do know this because that's what regularly has been observed to happen.
If that was the case China would already have done it (like they happily gobbled up Hong Kong), but they haven't.

What stayed their hand?
> godlike human being like Steve Jobs

There was absolutely nothing godlike about Steve Jobs and I really wonder where this sort of weird worship originates.
Also forgetting Pakistan-India in the 70s and multiple Israeli conflicts (some justified others not so much).
Back in the day, we named the computers of our customers by tv shows or movies (futurama) and the disks inside them after the characters (fry, zoidberg, etc.).
Worked well.
1. go mod init.

2. read&write the f*k source code.

nothing else
I am currently working on building SarathiAI

https://www.sarathiai.com

Started to build this for a personal usecase, based on the feedback I can add more functionality. Currently in alpha, and I am working on injesting lab reports.
The median Peloton owner bought a $1500 clothes rack. Your experience -- while laudable -- isn't representative.
The real incentive is "we all sit on each others' boards".
Okay fair: there is no technical reason for any such difference, but bad web apps be bad. :P
I'm right there with you on more companies using standards :)

As you mentioned, there are some other efforts to create standards like oneNDA. We're sort of competitive with them, in a similar way that the Apache license is competitive with the GPL.

While there are important differences in our approaches and focus areas, I'm a fan of more adoption of standards in general and there's a lot that we agree on.

Some companies choose Common Paper over oneNDA because we offer agreement types that they don't, including a Cloud Service Agreement, Design Partner Agreement, and Professional Services Agreement. As far as I know, they only provide agreement templates and not software to manage them.
The 'one' referred to yours.
I've seen tons of feedback directly from customers which indicate the opposite, losing context is super annoying
So what would you do if you want to use it in production? I mean is it worthless?
To be honest not sure of what to think about it.
Pettyjohns Cave is another one on Pigeon Mountain: https://en.m.wikipedia.org/wiki/Pettyjohn_Cave

Used to take creative writing classes there in college. It’s beautiful, just make sure to wear clothes you don’t mind getting covered in mud and try not to go after a big rain because it will flood. Temperature is around 70 year round and it’s mostly hiking. Take a headlamp and a friend, tell someone where you are going, and have fun. Really incredible experience.
Wrong use case. Think more like a web application where a modal comes up for more details and to edit details instead of going to a separate page and URL.
I still have my Nexus 4 as a backup device, now running whatever the latest version of Lineage is offered for it (15.1, based on Android 8).

Still works okay, a little slow, and the battery only lasts a couple hours. A great phone back in its day.
Enjoying what you do is the best way to stay focused. If you can't stay focused, assuming you are healthy, it's most likely because you are trying to distract yourself to get dopamine hits so you can survive the day.

If you can't get a job doing what you enjoy, the next best thing is to learn to enjoy what you do.
There are some similarities in our model to Bonterms. We're sort of competitive with them, in a similar way that the Apache license is competitive with the GPL.

While there are important differences in our approaches and focus areas, I'm a fan of more adoption of standards in general and there's a lot that we agree on.

Some companies choose Common Paper over Bonterms because we offer agreement types that they don't, including a Design Partner Agreement and Partnership Agreement. As far as I know, they only provide agreement templates and not software to manage them.
This is a horrible approach to security. Bad. Bad. Bad.
Right, and if someone else thinks they can do a better job they're free to start their own company or acquire a stake in one.

Also, why are stakeholders being infantalized like they're some completely naive and innocent bystanders? Customers presumably are not forced to buy what you're selling, shareholders know their capital is at risk, and employees get paid every month. Are we supposed to be everyone's psychologist and finance advisor as well? Everyone's making their own decisions.
Mean Average Precision (mAP): Common Definitions, Myths and Misconceptions
Common misconceptions about computing metrics for object detection tasks, including mAP, mAR, and divergences between existing libraries
$450AUD for a single user personal / non-commercial license for v4?!? That's.... insane!
You can make modals linkable too.
> TOKYO – Nintendo CEO Satoru Iwata is to take a 50 percent pay cut for five months to atone for losses at the game giant, while other senior executives, including Mario creator Shigeru Miyamoto, will forego 20 to 30 percent of their salaries.

https://www.hollywoodreporter.com/lifestyle/arts/nintendo-ce...

People actually liked that and respect them a lot more. Is it symbolic? Given their wealth, yeah.

But the problem is the golden parachute, a slap on the wrist and lots of money to leave.
Facebook owner Meta starts final round of layoffs
I would expand my criticism to elements such as material design drawers and similar ones. Regardless of the support provided by the platform (`<dialog>`, convenient APIs etc), you may still find yourself fighting with the resulting state -- for instance, when the screen must adjust its behavior and/or content according to dialog's content or state. The requirements in such situations can get overwhelming quite quickly.

> Because it looked good in the mockup

Indeed, tools like Figma can create a dangerous illusion of simplicity. I wonder how much time and effort has been wasted during the actual software development process, despite the initial, marginal savings in mockup design.

One must also take in account that the hourly rates for developers are typically higher than those of UI designers, so that it doesn't make much sense to increase productivity of the latter at the expense of the former.
And the only way to achieve this is by having the mouse interact with an actual link element (HTML <a>, HTML <area> or SVG <a>) with a meaningful href.

A few times I’ve encountered sites trying to be clever and detect Ctrl+click or middle-click and use window.open(), but this doesn’t behave natively: natively, middle-click or Ctrl+click probably open in a background tab, but open() opens a foreground tab, which will always be disruptive for people that use this stuff much, and sometimes infuriating.

This isn’t the only reason for having real links; there are also things like status bar text on hover, and context menu on right click or long press, which may include options like Open Link in New Private Window that cannot be emulated in any way.

If you want to intercepting link click events, you must check if the click is modified in some way like this:

if (event.button || event.altKey || event.ctrlKey || event.metaKey || event.shiftKey) return;

Note that middle-click fires an auxclick event instead of click, and right-click fires contextmenu first and then auxclick if that’s preventDefaulted.
> I believe the author is confusing a modal with a details page

It sounds like you agree with the article, at least according to my reading.

The author states that you should not use a modal for something “bookmarkable”, such as a details page.

They also state that a modal is suitable for performing an action that does not warrant a “resource URL”, such as a “create resource” form.
Coolest thing I did in the past about that was to name the servers of a start up in which I participated after the characters/places of "The Odyssey": Penelope, Telemaco, Itaca...
2021 added 40% revenue growth and $36Bn in net profit to Alphabet in one year. - https://www.theregister.com/2023/01/24/google_exec_bonuses_c...

That seems like something the board/shareholders/market would reward him for, not punish him for. Who would punish him and why for the inhumanity of firing lots of people? Not the board, not the California state government, not the Federal government. Maybe that would be a role for an employee's union?
The fill algorithm is far from being properly optimized:

1. Use pointIdx instead of a string for fill keys. That's going to be way faster and memory efficient

2. There's no need to have separate added and visited. Just keep added and continue checking it before adding to the queue, and don't delete added entries

3. Even better, don't even use added but instead just check the output image data

4. Compute pointIdx incrementally by adding or subtracting 1 or width, only do a multiplication for the first point

5. Don't keep y coordinates in the loop, instead store the minimum and maximum pointIdx and then divide at the end to find the y coordinates (you still need to keep x to compute the x minimum and maximum if you need it, unless you can make the image have a power of two stride, in which case you can just mask pointIdx to compute x)

6. Use a black border instead of doing boundary checks

7. The % 5000 check is horribly slow since division is horribly slow. Use a power-of-two size and a bitwise and to be safe

8. Doing an update every 5000 pixels seems absurdly low. CPUs do billions of operations per second and a pixel should not take more than 100 CPU cycles with proper optimization, so even at around 100 fps you should be able to do in the magnitude of 100K pixels per frame, which means you shouldn't even need to do it incrementally or pre-process. If you really need incrementality you should use both a pixel number check and a timer and adaptively double or halve the pixel number if the timer check gives a too low or high time elapsed.

9. Using "chunks of pixel" is probably faster than single pixels and using horizontal groups of chunks even better, although that requires significantly more code

10. WebAssembly, with SIMD if available, is going to be faster than JavaScript

In general, this code has clearly not been written by someone experienced in writing optimized code, so I assume the pre-processing can also be greatly optimized (if it's even necessary after optimizing the filling code).

Also, there is no need to limit to 256 areas since you can use multiple images and all channels to store larger integers.
It is a price that would get you a basic home gym, and a gym membership. So not cheap at all. But that said it depends what you value and not needing to go to a gym if you are just cycling is valuable.
Bluntly, this sounds exactly like a "as seen on tv" testimonial. No one denies the product was compelling / successful. It's just that fitness products are an incredibly fad-ish market. Something else will come along and be the new bright shiny thing.
Andrej Karpathy – State of GPT ( At MSBuild 2023)
First, in the US accessibility support is the law. While it is far from well* enforced, your simple formulation of “priorities” obscures the fact that the team is prioritizing convenience vs law. Yes we all do this when deciding, say, how fast to drive. But we know when we are speeding.

Second: in physical space: ramps are required to be implemented in a way that supports wheelchair use. Yet they create alternative affordances: I have appreciated them when when I have broken a limb, for example, even though they weren’t “intended” for that. They are clearly mostly used by delivery people; not only does it make deliveries easier, but reduces incidents of injuries, strains etc.

The same applies to web sites: cleaner affordances allow people to use the page in ways not imagined by the designer.

* By imperfectly I don’t mean “not hyper vigilantly”, I mean that it is often observed in the breach; sometimes it can have negative effects (consider the Berkeley videos case), etc. But that is much better than no attempt at all.
Dangerous-Google
I have the same system in my 2017 Civic. It's definitely a capacitive touchscreen. Essentially just a Android tablet from 2012, and it's responsive enough.
Bug in ansible.posix collection opened firewalls
I use chemical elements at home. They have nice short abbreviations that can be used mnemonically, e.g. mo (molybdenum) is my modem and pr (praseodymium) is my printer. And if I somehow lose DNS and /etc/hosts on every machine, I can still look up their IPv4 addresses in a book.
Why not nano?
What does it do if you correct the bug and then ask it what the bug is?
No, at least not in VoiceOver, which I use. In my experience, screen readers/assistants don't mimic the left/middle/right click of the mouse [0]. You often get two options: left click and double click [1]. There is also a right-click menu (control space), but unless it is based on a system-native UI, it is likely to be unusable for SR.

[0]: It is even easier to not use a mouse, when you are using an assistant. With a keyboard and VO you can resize, drag and drop and do many more activities.

[1]: https://support.apple.com/en-us/guide/voiceover/mchlp2746/10...
'Worthless' – Chevron carbon offsets are mostly junk and some may harm: research
For people that likes to stay in a given theme: I worked in a company that was using pokemon names for hostnames. Given there seem to be close to a thousand of them now, it's probably not such a bad idea for a small network where you don't expect more than a few hundreds host at a given time.
AMD has a one-liner to help speed up Linux system resume time
> What'd they purchase?

Quite a lot (and barely anything of that is mentioned in Wikipedia):

- 2023: Bollore Logistic, 5 billion € / https://www.dvz.de/rubriken/logistik/detail/news/cma-cgm-gib...

- 2022: GEFCO, .5 billion € / https://trans.info/de/cma-cgm-logistiker-284312

- 2022: Spedag Interfreight, unknown price / https://trans.info/de/cma-cgm-ceva-logistik-296514

- 2022: Colis Prive, unknown price / https://www.dvz.de/rubriken/see/detail/news/cma-cgm-investie...

- 2022: 9% of Air France KLM, .25 billion dollars / https://simpleflying.com/air-france-klm-cma-cgm-partnership/

- 2021: Ingram Micro, 3 billion dollars / https://www.dvz.de/rubriken/see/detail/news/cma-cgm-kauft-ko...

And their competition hasn't been sleeping either, there has been a wave of consolidation and acquisitions.
Show HN: Answer your kids' questions with ChatGPT
On average, children ask around 300 questions per day... This application will safely (and vocally) answer them with ChatGPT (subsription needed)

Apple Store: https://apps.apple.com/ml/app/ai-why/id6448989314
Google Store: https://play.google.com/store/apps/details?id=com.devanco.eli5
... for pages!

Modals are often fine for dialogs and fleeting interactions that happen within the context of the page you are on. Those often don't need their own URL. Don't need to persist after a page refresh, shouldn't be shared, confusingly pollute browser history and benefit from instant loading.

I mostly agree with the author in their examples. If it walks like a page and it talks like a page, it probably should be a page. No need to throw the baby out with the bathwater otherwise.
You can. But then there are the issues. The article even reports some of them.

On large applications, this can be become a nightmare to maintain.
Inflation Has Peaked–Get Ready for Deflation
No paywall: https://archive.is/7YVFb

This is a bit surprising to my contrary current opinion which is inflation is here to stay and my skepticism of fed critics urging rate cuts. However I have a lot of respect for the monetary supply theory re inflation so this is changing my mind. Also I have always been told it takes 18 months for monetary policy to have effect so it makes sense to me that we have 18 months to see what increased interest rates are doing. I would suppose this is bad news for home prices particularly.
Have some examples? What would be tests that, if passed, you’d say “oh yeah, that’s AGI.”

For instance, if it could make a peanut butter and jelly sandwich? Most challenging things that are easy for us are in the motor domain. While important, I think “intellectual AGI” is a meaningful milestone and closest to what most people think of when they think AGI.
Worth a read in the context of the OP.

https://www.businessinsider.com/slides-major-peloton-investo...

Edit: link to original slide deck from Blackwell Capital if you want to skip the BI article - https://www.blackwellscap.com/wp-content/uploads/2022/02/BW_...
Ubuntu on a server? Just use Debian lol.
Thank you for such a thoughtful answer! I’ll definitely see the point of trying to always assume good intentions, making it my default view should be my main goal.
The “From Source Code to Machine Code” book is finished
Ask HN: Indic languages OCR and searchable pdfs
I am look for applications that can perform OCR on scanned images having Indic scripts (Devanagari, Tamil etc) and create a searchable pdf as an output. There are several applications which can extract the text from images, but is there any application which can create searchable pdf?
> Does not mean that the signature is useless.

This has been discussed throughly in this and the previous thread. The gist is that without the public key being discoverable, it's not much more than a hash. Which makes it quite useless.

> but not that the keys were expired at the time the package was signed/pushed.

We can't know that with PGP. There's no validity stapling showing that a key was valid (or invalid) during the time of signing. All we have is that at the time of verifying the signature it was invalid, thus it's generally useless/invalid.

This is further worsened by the fact that revocations (or extensions) are hard to have an up-to-date eye on, so you might be verifying a signature, finding it valid but they key had been already revoked. Yikes.
It is just the GenX version of defending Ringo Star's drumming.

Had more to do with luck, knowing the right people and having the right look than anything to do with drumming ability.
If you’re an employee it’s going to be even more important to understand the business you join.

When choosing a company you are defacto making a heavy bet on the CEO whether you like it or not. Especially in a Down economy.

The only way to really understand this is to try to start your own company. It’ll be come instantly clear to you.