skysight-inc/HackerNews huggingface dataset:
Show HN: Vibing cat but it matches an icecast 2 server music BPM
Hi HN, just made this meme project for a code challenge.

It's a tech preview of a bunch of cool techs and stuff:
- NuxtJS as VueJS front-end framework
- Cloudflare Workers + KV for deployment at edge
- Cloudflare Triggers for current song refresh and caching
- MusicBrainz API for music metadata
- AcousticBrainz API for BPM extraction
- WebM for vibing cat loop with alpha channel
Video.js for stream play

Warning: I only tested it on desktop Chrome, but it should work for modern browsers anyway

Source code available on https://github.com/rodrigopv/now-playing
It seems like the free market created the problem we're trying to solve here.
I have a request - can we add the sample size to studies like these, in the HN title?

The sample size is so small that I don’t think this study is of any use.
I hate to nitpick on something so mundane and superficial, but why in the world are people still writing code like this in 2020?

while (--len && (*dst++ = *src++))
;

Dereferenced post-increments are already confusing enough as-is, and yet here we have 1 pre-increment and 2 dereferenced post-increments happening on top of an assignment in a conditional, all in a single expression. Even as someone who does put an assignment in a conditional once in a while, this still feels 100% unjustifiable to me. It's especially ironic given the premise is that C code has security bugs... if the goal is to avoid that, shouldn't there be even more care taken to avoid this kind of code?

EDIT: For those who don't think the readability can be improved... any thoughts on something more like this? Do we really need a compound assignment with three side effects in a conditional modifying the function arguments to make this readable?

char *strxcpy(char *restrict dst, const char *restrict src, size_t len) {
size_t i;
for (i = 0; i < len; ++i) {
if (src[i] == '\0') { break; }
dst[i] = src[i];
}
int input_exhausted = i < len;
if (input_exhausted) { ++i; }
if (i > 0) { dst[i - 1] = '\0'; }
return input_exhausted ? &dst[i] : NULL;
}
That's where we differ on the cause.

> "And they took it, and I got back amazing works of art that created all kinds of discordance with our longer term architecture and vision"

I interpreted this part as you attributing the cause to the talented folks creating the discordance in your team.

For me, it's the reverse. That shows insufficient technical leadership from the top. It's the job of the Tech Lead to convince and ensure good architecture. If the Tech Lead get "amazing works" that are "all kinds of discordance", it's the failure of the Tech Lead. People don't believe in the architecture/design. They see flaws. As I mentioned above, it's the signal that you may have a weak TL. I would focus on improving that aspect first.
You couldn’t convince people to move to Coober Pedy if you paid them $150,000 to move there. The place is an interesting tourist attraction but the last place you would want to live.
> they are both shifting power to capital away from labor

This doesn't make sense to me. There wouldn't be labor to empower if the tax credit was one of the factors that determined whether the plant would be opened here or not.

Zero-sum would imply that, were the tax credits not handed out, the revenue would instead go to some other program- except that in this scenario, there is no revenue without it.

Sure, we could get into a trade war with the rest of the world by taxing or banning imports, but that would definitely leave everyone worse off.
I got through college doing meaningless jobs.

Security jobs, and working at a gas station, allowed me to do all my homework.
I present this post, the fact that it made the front page, and many of the comments on it, as evidence that the US is sliding into idiocy.
The cost of living and cost of doing business doesn't make much sense in other major metros.

Then explain all of the people living and doing business in other metros out west? Must have made sense for them...
Caltech did it right. Professors were not allowed to grade based on attendance. If you could pass the final, you passed the class. If you could pass the final without even taking the class, you would get credit (although very, very few managed that feat!).

I recall one student who flunked thermo. He filed a complaint that the Prof had it in for him, hence the F. The Prof provided evidence that he never did any of the homework, and flunked the midterm and final. Case dismissed. The student dropped out.
This is weird. Even I can see that it seems to say nothing but:

Bad law, no law.

Does latin have an implied ‘better than’ in sequences?
> That's quite the straw man you've built there.

> Nobody is talking about forcing the high achievers to do the teacher's job.

On the contrary, people can be quite explicit about this.
In situations where a lactating woman is starving, her body reduces or stop altogether to produce milk.

As a human surival strategy, it makes much more sense to have one human gather resources and bring them to the lactating human to feed the growing human.

Two starving humans with the ability to lactate would still starve, and take the baby with them.
High school should completely be optional. Those who want to go will benefit from it and those who don’t won’t be there to simply make trouble.

Move the high school teachers to middle school and elementary for smaller classes.
Most people on this forum are asking about potentially EB-1, O1, E2, Entrepreneurship parole etc. These applications can get very complicated.

If it was a simple H1 application I think most solo practitioners would be fine.

I stand by my comment that you are better off with a mid size (4-10 lawyers) firm for more complicated cases.

Bigger firms are too bureaucratic and they want to make money with bulk H1 and L1 from bigger corps.

Single lawyer setups don't have strong processes and enough variety of expertise. Given that they are solo practitioners, there will be less checks and balances if the sole owner is giving bad or illegal advice.

In a 4-5 lawyer setup, everyone's skin is in the game. They are less likely to sell you snake oil.

In my case money was not an issue. Unfortunately I ended up choosing Peter because of YC's credibility ( he said that he is a YC advisor and their sole recommendation for immigration lawyers).

Many people here might wrongly believe that Peter is somehow a part of YC. So felt it might be a good idea to post my experience here!
Ah shit is Ive really to blame for iOS 7? The OS and increasingly MacOS feels so dreary, lacking contrast, etc ever since. Animations also never recovered imo
FINLO: Investment research tools built to empower retail investors
Introducing FINLO: The investment research platform built to empower retail investors!

After months of hard work we're excited and proud to share FINLO with all of you! We aim to level the playing field for retail investors by providing access to market data and by building the tools you need.

We aim to curate the best financial data in order to truly empower the retail investor. We need this now more than ever. It's our turn and it's time to level the playing field.

FINLO is built for us, by us.

We are a small, young team that have totally bootstrapped this project. We have a lot planned. We will be continuously crowdsourcing ideas, feature requests and taking suggestions on how we can improve the platform for you. You'll always have direct access to us, with no buffer in between. Data, tools and features will be constantly added to ensure FINLO becomes the ultimate destination for retail investors.

We have kept our prices as low as possible to maximize access. Commercial market data licenses are really expensive which is why we need to charge a subscription in order to sustain the project. Like I said, we have 100% bootstrapped FINLO with no financial backing. As soon as we have enough users we will be buying more licenses to more data!

So, if you'd like to check out our work please do so at https://finlo.io - we can't wait for you to try what we have built. If you have any suggestions, feature requests or questions please feel free to get in touch with us either through email, our website's contact form, our subreddit, discord server, twitter, instagram or directly via PM!

We shared FINLO on ProductHunt! Your upvotes on our ProductHunt post would really help us get off to a good start! https://www.producthunt.com/posts/finlo-built-for-us-not-wal...

Thank you once again,

Marco | Co-founder + CEO | FINLO: Built for us, not Wall St. | https://finlo.io
A hacker tried to poison a Calif. water supply
Another approach could be:

High school should be completely optional. Those who want to go will benefit from it and those who don’t won’t be there to make trouble.

Move the high school teachers to middle school and elementary for smaller classes.
This sounds like a really good point to me. If a politician wants to encourage small businesses, why not remove all fees to get up and running? Maybe provide free lawyering and business plan consulting as well?

Too often incentives are locked behind a bunch of paperwork and hoops which require up front capital to take advantage of. Which creates a market for third parties to benefit from by charging for these services, instead of founders benefiting directly.

A great example of a horrible incentives program that results in this is SR&ED in Canada. I guess you could argue it employs a bunch of service providers to assemble SR&ED claims... so jobs?

You also pay at least $600 to incorporate in Canada and most often employ a lawyer to do it for you ($1,200+). Seems pretty counter intuitive if your goal is to promote startups and small business.
What's "equity" in this context, btw? Equal outcome?
>So what happens when you dumb down the only decent public high school for students to aim for?

Vast swaths of the country get by without having any choices in high schools. The idea that need a selection of different schools with different levels of prestige and focuses is such an urban entitlement.
How silly to frame that issue in terms of jealousy, when there are actual underlying economic concerns.
What kind of 10 year old is in high school and works a part time job?
The NorMill Personal Computer Museum
> Bad speech drives out good, too.

Ah, right. I think I got it now. That's where the issue is.

It could be that this web of trust just cannot work unless it covers most of the world. If it would, I believe it would be just a technical aid, a machine-coded representation of an already established "organic" web of trust.

But it must start from zero, and it cannot grow as it would be lethally poisoned, becoming a place composed mostly of controversial vouches. Could be very true. I need to think about this.

One immediate thought is that even a graph of only the "bad voices" (for arbitrary definition of bad) can be perfectly useful, as a sort of noise ("fake news", "lunacy", "bullshit" - however we want to call it) filter. It's not that a web of trust spreads opinions, it spreads relations to their opinions. And a signal that someone vouches directly or indirectly (although "vouching" is not a good term for this case) can be perceived arbitrarily. So maybe it's not that bad. It may be bad by reinforcing echo chambers, but it could also be good in pointing out the connections, those bridges between the factions where arguing is not moot.
Sway has "headless" displays, non attached displays. One can then use (when using any wlroots-based Wayland compositor) run Wayvnc to turn that headless display into a vnc display. Been meaning to do this with the second copy I have of my tablet (also my primary workstation), but haven't gotten around to it yet.

Deskreen looks like a neat set of technologies to put together. But I enjoy how very simple & unadorned Sway + Wayvnc make it all.

[1] https://github.com/any1/wayvnc/issues/7
> Kids don't need to be vaccinated.

A large unvaccinated reservoir population in constant contact with the vaccinated population is how you breed variants that are, e.g., more dangerous to young people (like Delta already is) and more likely to break through existing vaccines (which Delta also is, though not intensely so from the information I've seen.)
That's fine, but require 0 dollars for the license, and yearly fee.

I sometimes think they want to license everything because it brings in a fair amount of money in fees.
The newsroom piece says why, it seems to me: "to better align our pricing with the value that our products and services provide.", aka because we want to make more money and we have sufficient leverage.
exactly. just fucking flipping the "contrast, on" switch buried in accessibility is not a panacea, and it is no substitute for a regular high-contrast UI on beeauty grounds alone! God forbid third-party apps even utilizing a native API for it.
It is not necessarily legal to get such a test, and in some countries (like Germany), the men are still liable to pay child support even if the child isn't theirs.
Any international bank that wants regular access to US dollars needs to play nice with the US Treasury. This means if you're a US Bank account holder and live abroad, they want to know. Similarly if you're a US citizen with a foreign bank account, they want to know.

Not as onerous as transferring a bank account to another entity, but the oversight is pretty extensive nonetheless.
I guess this is so that something like this can be asked in interviews to test how lucky the candidate is on that particular day and hour. Otherwise everybody would pass the interviews.
Rushing a job search. Decided it was time to move on (right decision), but allowed one company to court me and did not take enough time to play the field (bad decision).
Your last example is backwards. In this case the guy without an engineering license is demonstrating what is wrong. So the example should be:

A bridge collapses and people die. In the resulting lawsuit a licensed engineer says, with many pages of reports, that everything was done correctly and the collapse was "an act of god". But an amateur who only knows a little about civil engineering points out one single thing they did incorrectly; he doesn't know everything about engineering, but he does know this one thing they did was wrong. The government then charges the amateur with a crime for knowing a little and speaking about what he knew.
The first two are moderate positions. They are only "strongly leftist" in a far-right banana republic (i.e., the USA). Giving people the right to physically match their gender identity is a human rights issue.
Yes? If you literally state “I, like 80% of the other engineers in this state, am not a licenced engineer, but here is my testimony”, what else would you expect the poor man to do? It’s up to the judge/jury to take the testimony with a grain of salt.

That said, I’m not sure if being licensed means anything more than ‘I paid my dues to the state board’.
Croatian identity(coat of arms) is chessboard [0] it is 500 years old. Quasi Nazi symbol is Ustaše (U) but it was initially a movement for Croatian Independence later on it became Nazi like.

[0] https://en.wikipedia.org/wiki/Coat_of_arms_of_Croatia
Health wasn't yet a criteria in this thread.
How about having a discussion? Not everything has to be so complicated lol
That link is just the North Carolina license board's position statement. They're the defendants in this case, for attempting to claim such overbroad authority.

Nutt's position is that their claim conflicts with his first amendment right to free speech, specifically his right to state his opinion on technical matters.

I agree with Nutt. NC is effectively attempting to criminalize my ability to represent myself in court and many other areas of society (enumerated in a sibling comment) - due to having the "regulated knowledge" of engineering without the corresponding license, I would be unable to state my opinion. Instead I would have to hire a PE that concurs with me simply to express my own opinion.
No, they only have to satisfy the legal requirements of countries where they have established organizations. That's why GDPR was a game-changer: it made Europe-wide strong privacy regulations that were previously local to a few countries. France's CNIL has always been a farce, but at least on paper provided privacy rights... that Google was free to ignore because it was based in Ireland & such.

Of course as an Internet service you don't have to comply with every single national law there is. Would that even be possible? Of course, if a nation State believes you don't respect their laws, they are "free" to try and censor your website, as many do with The Pirate Bay, Sci Hub, etc.
> I wonder if that is exactly waht (sic) you were going for.

Yes, it was. If you agree that Bitcoin is just as useless as videogames, and agree that videogames are not useless, you must also agree that Bitcoin is not useless.

I personally have no use for videogames, but I don't deny that many people do. I do, however, have use for an extremely resilient distributed timestampping service that takes several countries' energy to disrupt (which is what Bitcoin's blockchain is -- a public timestampping service). Turns out many people do, since running it is profitable.
RE google; I can't remember who here stated otherwise but I believe that promotion policy (unspoken or otherwise) is no longer in effect and the rot has... presumably a different antecedent if we accept the premise anyways
>It's also possible for unlicensed engineers to work under the supervision of a licensed engineer (PE)

AFAIK, it's required as part of the process of getting a PE.
The advantage of a private school is not the extra gym equipment or computer or any other resources, it is the social class that matter. If you don't pay for private school you will pay for location. There is no actual mixing, people just pay more to be around people similar to themselves and the cost of that will manifest in house prices instead of school prices.
So the answer is no.
You've gone from "no, the EMA didn't really to object" to "here's why their objection is wrong". See how that works?

The thing about Covid is that it isn't "super deadly". It has about a 1% fatality rate. That's terrible for society as a whole when the disease is also extremely infectious. But it means that "I took X and recovered from Covid" isn't the most amazing thing.

"So whatever ivermectin is doing, it doesn’t seem to require the concentration that the initial in vitro study required." Maybe the trial dose does nothing at all and people are recovering like they normally do.
Why not create guidelines for third party app stores then ? ( that wouldn't include a commission to apple, of course)

Surely there's a middle ground between no third party store, and the jungle.
The future of FastAPI and Pydantic is bright
A reference you might like to note is in a response - that kevinblizzard bloke probably has a fair old handle on this stuff. Note how he is quoted throughout the article.

This is about some pretty creative uses of computing in maths and bugger all to do with AI (whatever that is.)

If you put enough blood, sweat and tears into codifying mathematical concepts into Lean, you can feed it a mathematical thingie and it can tell you if that thingie is correct within its domain of knowledge. If you get an "out of cheese error", you need to feed it more knowledge or give up and take up tiddlywinks.

This explains Lean in terms I can understand: https://www.quantamagazine.org/building-the-mathematical-lib...
And who will judge it misinformation. You want to give someone the right to censor if they think something is false ? You probably think people are to dumb to do that for themselves. You will end up victim of that censorship soon or later. You can be sure someone with more power than you, somewhere, is thinking the same of you (too dumb to think by themselves).
> Each child, like each adult, has different motivations in life. Not all children are equally motivated for schoolwork.

Ok, but you haven't answered my question

> No. You need to look at confounding variables, not just race. It could be that a large percentage of black children in this area come from poor families and must therefore work part-time jobs after school instead of studying. That’s just one example of many possibilities. “Correcting” the problem by putting these children into this special school does nothing to change their poverty: they still must work after school and can’t study. And that means they can’t keep up with the other children in this privileged school. Your solution is probably to make the schoolwork easier and force everyone to suffer the same fate. My solution is to give that family money so their high school kid doesn’t have to work to help support his family.

Children not being able to write a good essay when they are 10 because they have to work, is quite a degenerate case and I hope it is not the norm for those who are not admitted at this special school. The majority of 10-year-old kids, who aren't employed in violation of child labour laws, are smart enough to attend highschool without the need to make schoolwork easier.

> In reality, your solution is the one that gets chosen because of the wokeness movement.

This wokeness movement is not something I'm familiar with or affiliated to.
Does the liquor store estimate your age or do they ask for your id?
Google should ask and then could demand proof.
Actually doing the material (as opposed to sitting in a lecture) is the way to learn, but that could be done in class.
The utter lack of contrast, horrible font antics, and weird obsession with tiny icons drives me mad
> Do we have any data on the correlation between high-school admission criteria and inventing the Covid vaccine or whatever?

Caltech requires good grades as criteria for admission. Caltech graduates have a disproportionately high percentage of Nobel prizes.

https://www.caltech.edu/about/legacy/awards-and-honors/nobel...

BTW, I think the mRNA vaccine technology is worthy of a Nobel Prize. Don't you?
APT? Snappy? In my experience APT is rather slow.
> They're quite functional in the majority of the OECD.

Functional isn't what should be aimed for: excellent should be the mark. Right now, the majority still forces their students into thought boxes (e.g if you fail maths at school, you're supposedly balls at engineering for the rest of your life), pretends that spending 12 years memorizing facts is the pinnacle of education, employs unmotivated teachers with below-average salaries, and teaches topics from the last century.

My university experience was simply a continuation of highschool and being treated like a child. Exams we still about memorizing with no focus on understanding, attendance was obligatory, tech was sometimes >20 years old, and so on and so forth.

Even the systems and curriculums within states (!= country) can vary pretty heavily. The bologna reform supposedly made comparing degrees between countries better, but a bachelor in mechanical engineering may mean something entirely different in Poland and Spain.

Better doesn't automatically mean good.
They could demand proof of residency, that's the correct way.
Vote.

https://www.bloomberg.com/news/articles/2021-05-12/manchin-o...
It veered off topic. I agree that there's a point of connection between the media/tech/institutional treatment of that question and this one, but arguing about who said "man made" vs. whatever a year ago is way into a different field of weeds.

Your comment bears some responsibility for that, btw. If you had posted something less flamebaity and more thoughtful, the subthread would probably have been better. https://hn.algolia.com/?dateRange=all&page=0&prefix=true&sor...
>GPA should be a result of mastering the material.

I know that personally my grades don't tend to correlate with my actual knowledge at all. I've failed things because I've been bored with them, and I've gotten perfect grades on things I don't understand at all outside the tested material.
Won't work with UTF-8.