skysight-inc/HackerNews huggingface dataset:
Ask HN: How to create a small unique fingerprint of a 25h+ audio book?
I'm the author of m4b-tool (https://github.com/sandreas/m4b-tool) and I noticed, that there are not many sources for audio book chapters (especially non english ones) to tag my audio books correctly.

So i decided to create my own database for chapters, but at the moment i am struggling how to identify audio files correctly.

With ffmpeg extension chromaprint it is possible to create fingerprints of audiofiles:

ffmpeg -i "input.mp3" -f chromaprint fingerprint.txt

This works nicely, but the longer the audio file, the bigger the fingerprint (which is reasonable). Since i would like to store the fingerprint in a database, the smaller it would be, the better.

But for a 25h+ audio book the process takes extremely long and produce a ±5MB (!) fingerprint file.

I can think of three ways to solve this problem:

- Only take the first X Minutes of the audio file (fast, relatively small fingerprint storage, but inaccurate)

- Hash the full fingerprint with e.g. sha512 (small fingerprint storage, but slow and is this accurate?)

- Hash the X Minutes fingerprint (fastest, small fingerprint storage but most inaccurate)

Which would be the best way?
Are there other ways, i did not think of?

Thank you
Is that true? F-Droid usually lists apps that I "won't like" because they include non-free software.
To my mind, it doesn't actually suggest that at all. It only suggests "Everyone is shocked that a guy who held his shoes together with duct tape had that kind of dough. WTF??"
It wasn't the Redux docs, it was the entire mindframe of Redux. This connects to that which connects to that and sets this while this gets that. Like I said, I'm a terrible programmer and I have a hard time keeping complex interactions in my mind. If this block of code needs to change a variable, I want it to just change the variable right there and move on. Having to write the code that needs to change the variable, then switching to another file to write the code that actually changes the variable, then switching to another file to write the code that returns that new variable to my original function is just... so damn unnecessary. There's just too many moving parts that can (and do) break. It's so complex, and when something doesn't work I struggle to debug why.

I will admit I did not choose to use Redux, it was part of a tutorial I was following on Udemy. I never got the hang of it, and once I figured out React Native well enough, I quickly scaled back my reliance on Redux. It's made my life a lot easier.

My day job is a technical consultant for a major tech company, and we have meetings to discuss the meeting we're going to have before the meeting. The administrative overhead of Redux reminds me of that in a very bad way. Instead of my Facebook login button calling auth_actions.js which then returns the auth token to auth_reducer.js which then returns the auth token to auth_screen.js (but don't forget to add it to the combineReducers in index.js), I just put the authentication code in 'await doAuth()' inside of the auth_screen.js file. I've never heard a convincing reason as to why I shouldn't do that, even though the tutorial I followed said it's a bad idea.
Maybe it's because the intelligent families have already risen to the top in the US but not in the other countries.
I've never used TAMR, but how about https://github.com/Netflix/metacat?
It involves a "border" style.
And then make Travis create a good logo for that parenting.io site!
MATE is not a GNOME project.
When GTK3 was made and the decision to build Gnome Shell was made, the MATE project was started to fork GTK2 and the old shell.
I'm wary of the operator model in general, and we haven't had great success using operators to deploy complex stateful services in our clusters. But to be honest we also haven't had great success deploying them using OTS charts from helm stable either. One of our k8s stateful services is a large elasticsearch cluster indexing about 150m events per day, and the chart was forked and heavily modified by us to get it right. I feel that complex stateful services often have enough devils in the details that trying to implement them through an abstraction gets you into trouble. Operators aspire to be a "smart agent" that can translate a CRD resource declaration into a functioning thing, allowing you to implement your data store at an even higher level of abstraction than a helm chart provides. Since in my experience charts are themselves too abstract for this purpose (you either end up forking/modifying or, if the chart actually provides full coverage of the configuration options, creating a whole new hard to comprehend API to the k8s resources you're trying to deploy), I'm not that excited about having a back-end clippie that can do it for us. It's probably fine for simple use cases, and especially those where you often need to create and destroy simple dbs, but imo not yet for large production use cases.
Technically, the US worked just fine, before there were fiscal transfers. What's really the case here is that a social safety net in the presence of migration can't be done on a state by state basis. It has to be national, which invariably results in net flows between states.

A lot of measures of interstate transfers mistakenly treat federal spending as a transfer. Really it's trade. A small percentage could be counted as a transfer.
A Network Theorist Seeks “Universal Laws” of Success
Come to Berlin or any other major European metropolis to see how that works out. Plenty of bigger office buildings in the middle of the city where lots of people commute to them with bicycles, public transport and even walking. Right next to apartment buildings with small businesses and restaurants and cafes.

Turns out when you don't need to allocate space for 500 cars around a building, you can build it in a single city block and coexist with other types of buildings. And you even get a rooftop with a view as a bonus.
that depends on whether the poster of the link is working on skuid or not. if yes, then it could have been posted as a "show HN" post and it would be fine, wouldn't it?

the idea of skuid is interesting and also not new. the comparison with game-engines is new. but to be honest i had thought game-engines would be just as much programming as a web-framework. really, this is just adding a UI-builder. i don't think it's letting you skip programming altogether.
Not OP, but sure, if I spend a few hours as a new Windows programmer I can finally make my native Windows application not flicker on resize, but that's most likely not it, there's probably a stload of other things I have to spend a few hours on to get things somewhat properly-working. It's a massive cost compared to what default web already offers.

Then I have to repeat that same years-long process for Android, iOS, OSX and Linux.

Or I can just make a web application that's slightly slower. The decision was super simple for me.

F* native development of UIs, it's stuck, everyone in it think it's fine - it probably is if it's all you do - but what matters a lot of the time is the sum of development cost across all supported platforms. shudder That means it's especially horrible if it's just you developing something, the chance that a single developer could support all of the most used platforms (Win, Linux, OSX, Android, iOS) is so unlikely due to the time required to learn just a single one of those platforms.
TAMR is a neat tool, but what is the price? I’m wary of tools that require a demo to even understand if this is a $1M tool or $100M tool.

I’m interested in sustainable ways to map out data across the enterprise. But the vendor space is hard, for me, to analyze at a green fields level because it’s full of pretty heavy tools that require implementation and consulting just to set up. I was unaware of TAMR until your post but tried to go through Gartner’s analysis looking at data management platforms.

Are there even any open source tools or communities in this space. For example, I started looking at Talend’s metadata mgmt oss stack for eval as to whether it’s something that would help me, but gave up after their demos wouldn’t run in a few environments I tried.
Gig to hire doesn't work if the job market is hot enough that potential employees have full-time job offers in addition to your gig-to-hire offer. I've been able to gig-to-hire for offshore developers, but never for onshore.
People's talk of complexity tends to remind me often of their (many believers I have seen) conceptualization of god, that is, he is only beyond them in such a way that is in itself within their horizon of understanding, just more so, as it were. That is to say, it they themselves who are the measure of god. And I see much the same thing happen in other fields. And it leaves me wondering, if we truly can explain everything to 12 year olds, why aren't twelve year olds...doing anything other than being 12 year olds? Perhaps we have to admit that in bestowing this "understanding" through the equivalent of and episode of Nova, we really do have to leave out so much, that to call it either understanding or communication in any serious sense is farcical and a lie promulgated to an audience that's just acting out evolved desires both to want to acquire and mating advantage possible and also to have some innate feature of attraction that is unacquirable by others, while those communicating get to act out their own desires to positions themselves higher within that hierarchy (because are the people in these audiences ever going to be considered 'on their level'? The answer to that should illuminated the whole situation.)

---

So what if—just another fancy idea of mine—what if Chomsky cannot find anything in my work that goes "beyond the level of something you can explain in five minutes to a twelve-year-old because" because, when he deals with continental thought, it is his mind which functions as the mind of a twelve-year-old, the mind which is unable to distinguish serious philosophical reflection from empty posturing and playing with empty words?

--Slavoj Žižek

https://www.versobooks.com/blogs/1365-some-bewildered-clarif...
That was a very high end scope for it's day. It probably had to go in for calibration to a standards lab every 180 days.
Running production databases in docker last year: https://thehftguy.com/2016/11/01/docker-in-production-an-his...

Performance issues should be the least of your concern. The docker deamon and container simply hanged because of filesystem issues on CentOS 6.

I worked at a company that was dockerizing their stateless services, then planning to dockerize their cassandra databases. Multiple contractors involved.

Stateless services failed periodically because of the above issue. Load balancers can failover automatically, broken nodes are rebooted from time to time, limited impact. Noone cared, just a daily deployment routine.

I fear the day the cassandra dockerization would happen. They'd lose their entire customer data (hundreds of millions of customers) once two nodes would fail simultaneously, which happened a lot on the stateless services.

Thankfully the project never started and the company didn't go bankrupt. Pretty sure employees moved around and plans got canceled.

Expect a lot of instability in docker around filesystem, performance issues and race conditions. Low volume stateless web servers don't get to trigger issues much, but databases do.
Colombia says there was a plot to assassinate the country's President Duque
Well hot damn - I wasnt previously aware of cncf.io -- thanks
And otherwise many of these would all be unactionable research fancies with insufficient review.

Are we going to have standard PQ algos in time for government, infrastructure, and industry to upgrade before disparate or widespread availability of quantum computation capabilities?

One estimate indicated that Bitcoin and ECDSA would be broken with Shor's by - optimistically - 2027.

How many n-year tech acquisition refresh cycles are there between then and now?

Will Grover's algorithm find a more efficient approach?
I frequently fall back to Illustrator too. It lacks a lot of features, but the low level control is great and it's still the best vector graphics software.

I've been using vectors since Corel Draw 4 in the 90s and have tried pretty much everything. I still prefer Illustrator over Sketch, Affinity Designer, and all these new web based tools (Figma, etc).
TL;DR from the web site:

>I know this isn’t really a “programming challenging”
It is not a negotiation. We have tried to frame it as a question of ethical behavior. The kid wants to preserve the notion of a just household, and sees the logic of doing her part, provided the “ask” is equitable.
I used to commute into SF from Redwood City with the Caltrain. If I couldn't have taken a bike with me on the train, it would have been impossible because the last mile at both ends was completely undoable with local buses.
That bit on the VAX is... interesting. It's been a while, and it was a lot more about hard partitioning, but it makes sense.
> But if "the lead" means developing micro/safer/other kinds of nuclear power, I think that's a role that is currently up for grabs.

France is probably the leader in that regards.
There are any number of talent pools that are overlooked because of widespread discrimination.

To win, you need to behave in a more rational way than the competition, which means discarding irrational biases and looking for help in places that others undervalue and disregard.
I don't have a FB app on my phone, I have a FB account that has no posts. I look at it occasionally to track my "likes". Last week I was a conference in downtown Boston. I have no connection to the conference, I was there to meet my friend's daughter who lives oversees. While standing in line, people watching, I couldn't help but notice an extravagant fellow, I later discovered he was a an out of town PHD student there for the conference. Imagine my shock when my next web login to FB offered me this very man as a suggested friend!
I had a similar experience that a domain was shown as available, but when I check out, it said unavailable for purchasing or something.
In that case could you provide a source or two for those of us who want to get up to date with the current thinking?
They generally only get dropped if they have an invalid checksum.

Since checksums are hardware accelerated, the invalid packet probably had a valid checksum applied to it.
In today's world you almost need a family with 3 adult partners. Two workers and one stay-at-home person taking care of the home and children.

That sort of arrangement would put you solidly in the middle class at least while having a well-cared-for home and children.
I mean it would also require the foresight of going all in on one of the biggest companies of the decade, and keeping it through the rest of the industry was falling apart. This argument is fairly akin to "Suppose he won the lottery."
My perspective: Tax for the middle class is insanely high. Seeing companies like FB, Google, Amazon, Apple, etc. pull off insane stunts to "minimize" tax payments (because of their responsibility to the shareholder). They make (and hoard) insane amounts of money without giving back.

You might say, "if you don't like them boycott them". For Amazon and Apple it's easy. Google and FB are inescapable if you need to advertise.
[1] does not say that it works, don't misrepresent the study. It found that certain markers were increased/changed by the supplement and that a few of the observed physiological functions appear to have improved a merit further study. Also, N=24 so ymmv. Seems like something that may be useful after further study but your conclusion is misleading.
I've been building something very similar to this ...but also quite different. The details (around usability) have proven very difficult to get right, but I'm really excited by how it's turning out. If you like the core idea as well and would be interested in taking part in a private beta, please send me an email (contact details in my profile). I expect it to be ready for others to try in maybe a few months.
Are we making lists? Can we talk about bake (https://github.com/esrlabs/bake), bake (https://github.com/linuxrocks123/bake), bake (https://hackage.haskell.org/package/bake), Bake (https://www.openhub.net/p/bake-build), BAKE (https://www.nsnam.org/docs/bake/tutorial/html/bake-over.html), Bakefile (https://bakefile.org/), BitBake (https://www.yoctoproject.org/software-item/bitbake/), and cake bake (https://book.cakephp.org/3.0/en/bake/usage.html)?

Now, granted, only(?) seven of these are build systems proper...
Are you doing logos for sports teams? (you should if its legal)
Are you sure? I just double-checked, and the image on the www site has my color (#f26522). And the hacker news header has ff6600, which is what I used for the -tile version.

Time for those lazy slackers to make some logo guidelines!
Yeah I wasn't sure if I should include this CSS game, or where to put it. But I think it's a fun "warm-up" exercise, and stages 2-4 have some very challenging programming puzzles. Thanks for the feedback, I'll try to update the wording in the post!
discussion 7 months ago: https://news.ycombinator.com/item?id=17120082
Looking at the middle class, this is still (or again) true.
I'm a little bit surprised to see this coming from scott meyers, who I generally assume to have much better judgment than I do when it comes to c++.

I would think (or at least hope) that there are not many new projects being started in c++ these days. with this assumption, it seems like the main focus for c++ today should be on adding features that enable developers to incrementally rewrite old code with a view towards increased safety. range-based for is a great example of this. a large portion of unchecked vector accesses within loops can be trivially rewritten with range-based for to be much safer, and a small team can simply fix them one by one as they quash bugs.

on the other hand, removing NULL all at once in a legacy codebase could be almost impossible for a small team. I've seen many unfortunate instances where the code actually relies on NULL being the integer '0'. fixing this kind of thing across thousands of files would be an absolute nightmare.

I am certainly sympathetic to the idea that the code that will be broken by these types of changes is sloppy and should be rewritten anyway, but this is unlikely to actually happen. most resource-constrained teams are just going to freeze their projects at c++yy and never benefit from any new features.

edit: I partially retract this post. the gradual 10-year deprecation process he specifies seems reasonable enough. I still question whether making c++ less confusing to newcomers is a good use of resources. there's really not a lot of situations where it makes sense to start a new project in c++.
Show HN: Introducing streamy-db: deterministic database on apache flink/beam
Yeah - a lot of high profile musicians end up with terrible hearing as they age.
Is there a definitive answer on how these suggestions happen? (Other example: talk about X with someone; start seeing internet ads for X afterwards). Is it coincidence?
> Stay fresh: I know a 69-year-old developer/contractor say to me, "2000 was pretty good but after that the work dried up — I guess they didn't need COBOL programmers anymore". He had never bothered to stay current.

This is one that a lot of people have trouble with. One of the best engineers I ever worked with was in his 60s at the time, and seems to have stopped learning new organizational systems sometime in the 1980s. Agile development processes were just newfangled bullshit to him.

He was hot shit at anything that required fine attention to detail, and implemented a distributed task system after I gave him a verbal thumbnail sketch. Correctly. The first time.

But I could see that his refusal to learn new things was interfering with his career all the same.
It very well could be a problem with the tutorial I was using, where the author leaned too heavily on using Redux for everything. I wildly scaled back my usage of Redux after I got going. It's just too many moving parts, and I've never figured out how to debug it when something doesn't work. I end up with 'console.log("we made it to the action")' and 'console.log("we made it to the reducer")' and then 'console.log("we made it to mapstatetoprops")' followed by 'console.log("so why the hell is this.state.fbToken still null!?")'. Then I come to find out I forgot to add auth_reducer to the combineReducers in my reducers/index.js.

I can't count the number of hours I've lost to stuff like this.
> More speculatively, the community is now working on replacing AOSP altogether with the usual Linux desktop stack, via PostmarketOS

So you're telling me that 2019 is the year of the Linux desktop... on mobile?
https://game-icons.net/delapouite/originals/wood-club.html
Pentagramma is also a genus of ferns. https://en.wikipedia.org/wiki/Pentagramma
Looks like you just have to wait some more https://mobile.twitter.com/rsms/status/1078362207367290881
For others reading: TikZ can be made arbitrarily complex. I used it to make this trigonometry puzzle, for example: https://imgur.com/a/z0Pqnlk

The downside is that LaTeX doesn't support many primitives that engineers are used to, such as arrays.
Notice that medical errors are conspicuously absent from your list. Super convenient: if you don't count 'em, it looks like nobody died.

https://www.npr.org/sections/health-shots/2016/05/03/4766361...
Ask HN: Describe deploy process at your work/project
Describe deploy process and technologies stack at your work/project.
Maybe more about CI/CD and which technologies do you use.

Thanks :)
ZX Spectrum Code Hidden in Bandersnatch
I remember trying this back in the day. It was a lot of fun. I remember being surprised that it worked so well. Back then not everything on sourceforge worked...
Auto Dealers, Startups Try Amazon-Style Ordering for Cars
Anybody suggesting technical solutions to this problem is completely misunderstanding the scale of it.

The only acceptable answer is a legal/regulatory solution.
Not really. 200k is a down payment on a million dollar home. Double that is a 2 million dollar home, which will let you buy in most places.

Thats achievable in 5 years for someone who is working towards that goal specifically, less if you have a partner who also works. Anecdotally, I know two couples (out of not many total) that purchased within 2 years of moving to the bay. One had some savings, and that plus the first years stock vests was enough for a down payment on a condo. The other took ~2 years to buy a home from very little prior savings, which was possible because both had decent incomes.

So I'm dubious as to the doom and gloom, at least for married professionals.

(Of course, this ignores the reality that for anyone not working in tech or 1-2 other fields, these are wholly out of the picture, and that's hugely problematic! But for the calculation of CoL for someone who is picking between tech companies, I think people overestimate the costs of the bay, and I'm not really sure why)