skysight-inc/HackerNews huggingface dataset:
Show HN: I made a body-interactive music app
I made this iPhone app called "Affine Tuning" which is a collection of body-interactive musical pieces:
https://affinetuning.com/
It uses body tracking (Motion Capture from RealityKit) to shape dynamic compositions. The app is completely free and will be updated in the future with more songs and other interactive features.
From a first glance, Odin looks like a nice language to use!
Looks like they have fixed ocd-causing idiosyncrasies of Go - "for value, index" and not the other way around, "defer" belongs to surrounding scope, and not the whole function.

Thank you!
A trustless descentralized system that manages to process a handful of operations a second by spending as much energy as a country?
Thanks for the feedback. Just make some edits to the website. Any other ways it could be improved?
Missed the risk-free in GP comment…
> And it's completely unnecessary - in fact, people do very well living in freedom, as you can see in most places (by population) in the free world. No societies have been more successful, and it's not close.

You’ve got the causation backward. Freedom from social conformity is a luxury wealthy societies can afford. Western countries, including America, became rich at a time when they were still quite rigidly conformist. And some of the most conformist, such as Puritan New England were the most prosperous.

It’s also worth observing that those same societies are now literally dying out. Post-Christian Europe literally has to import people from societies with rigid social norms—among others, strong social pressures to start families and raise children—to take care of their elderly.
FTAs are mostly about standard normalizations (food safety, consumer protection, investor-state arbitration, etc)

the export of fucked up IP regulations is unfortunate, but since most countries are signatories to the various already existing WIPO regulations... in practice they are already in effect.
Liberals Should Be Worried About the Conservative Comedy Scene
> I'm surprised it was worth shipping

I was as well. I don't know what the "Chinese Fedex" rate's were but maybe it's because most of the volume they move is from China -> US and the return trips are empty.
Turkey 'not closing door' to Sweden, Finland NATO entry
Good variable names

Add comments explaining exactly what you needed to figure out this time around

Pretty soon you'll get the hang of what to put in the comments right away
If my math is not wrong, the murder rate for trans people is actually lower than the general population

https://www.hrc.org/resources/fatal-violence-against-the-tra...

https://www.pewresearch.org/fact-tank/2021/10/27/what-we-kno...

https://www.ncbi.nlm.nih.gov/pmc/articles/PMC5227946/
Sometimes. If foo isn't local scope, this won't work because it could be modified in another thread.
I don’t think there is any reason to go fasting for an entire year to kick addiction. Also it can be very dangerous, both for you and your microbiome.

As others have suggested. Seek out a therapist to CBT or some such instead. Possibly you have non-food related issues you’d rather tackle on its own. Also, eating disorders has a tendency to get worse when tackled individually, so really do get help if there is a need.

As for fasting, I found 3-5 days is all it takes to recalibrate hunger and kick sugar cravings. Make sure your not malnourished before fasting. Either way, _do not_ fast (or cut out selected nutrients) for long periods without consulting a doctor.

As for diets, probably no need to go for any crazy fad diets. Just go with the current science: make sure you have enough fiber, polyphenols and other prebiotics (eat your fruits and vegetables as it were) cut down on fat, salt, sugar and meat.

It takes 14-days to rebalance your micro biome, so just stick with healthy foods for two weeks and you'll probably find that will be what you crave after that.
what were the anecdata reasons for moving there? the culture?
It's pretty complicated! I'd say it's a little bit of a lot of things, and the amounts of those things depends on the person. There's some people who feel like they wish they could have transitioned but didn't, and direct a pretty intense resentment towards people they see as having undeserved happiness (the "rotten egg" theory). Some people believe in a strict natural "order" in the world that they see trans people as subverting in ways they see as disgusting. Some people are scared parents who believe trans people will indoctrinate their children and turn them into unrecognizable, traumatized, uncontrollable shells of their former selves through surgeries and hormone treatments.

Shared amongst all these lines of thinking is an intense belief that the world would be a better place if the idea of being trans (and trans people in general) simply didn't exist, and that to move to that world, we should be detransitioned first, invisible second, and dead otherwise.
I’ve always seen “phreaker” on 80’s era BBSes. This is the first time I’ve seen “phone phreak”. Maybe regional differences in us old school nerds?
Could you tell us why you chose to do that?
to understand a new codebase, unit tests are the first thing i read. hopefully things are tested in isolation to a sufficient degree that you don't have to spend a lot of effort keeping track in your head very much to follow the flow of code.
That's fair. Unfortunately I missed the edit window.

It talks about the phenomenon (relevant to places that don't seem to be thriving more than to hot cities) of a new strip mall bring built next to a mostly vacant strip mall that's fairly new itself. It explains that this is a developer cashing in on the glut of money chasing returns. He talks about how any business that pretends to be legitimate gets funded, and the competition to loan money to actual functioning enterprises becomes so intense that the eventual owners/lenders/etc. end up having something that looks like a malinvestment because they were the people who predicted the lowest risk and highest returns (in the context of all the other insane things being funded.)

I listen to between 300 and 500 podcasts annually and, despite having a backlog of 175 episodes of various things right now, this one was worth the re-listen (at 1.5x speed, of course.)
This is true, but you need to really make sure your intent is to really marry, and not marry for greencard purposes which is fraud.
All flow control ultimately boils down to `goto`; it's how we crystallize particular usage patterns that makes it safer. Importantly, optimizing tail calls doesn't change the fact that you could always call another function before you return; you just risked blowing the stack.

I find that recursive solutions are often easier to understand and change than iterative solutions, especially because you need less incidental state (and you can manage the state you have more cleanly), so I'm not sure what you mean by "introducing complexity only to struggle to delete that complexity". That would more aptly describe my experience with writing iterative versions of naturally recursive algorithms.

(I think you may have mistaken me for someone else; I didn't recommend Steele's paper.)
Even if you focus on real estate alone, land is a "much higher" portion of that value only in urban cores where owning one's residence would be relatively uncommon (and that for very sensible, rational reasons). The areas that are most commonly associated with middle-class real estate ownership have significantly lower land values. While it's hard to say whether a genuine "single tax" is actually feasible given modern trends in government spending, the overall incidence of LVT is really quite favorable to the middle class and especially to the lower class.
> In any profession, if you want to be very successful, America is your best shot.

Perhaps a bit exaggerated, but the big market helps a lot and also has a network affect, attracting other talented people and resources from around the world.

> But you can't have both cradle to grave security, and the opportunity for success.

People in many countries provide much more security (and investment, such as education) to themselves than the US and also plenty of success, including billionaires, including Canada. The main difference is that the US has a much larger market.

Billionaires are of course a tiny portion of the population and not representative of the availability of success. For non-billionaires, many of whom can't afford an education or healthcare, success might be futher away because the Americans don't invest as much in themselves.

> Progressive proposals to erase American billionaires in exchange for more security

What does that mean, specifically?
> Design a mockup first in something like Figma or InVision and only start coding when the design is ready.

I do this the opposite way. Just get the data crudely on the page and figure out the information architecture first. Then figure out how to make it attractive. Often during implementation I realize "oh, this data doesn't work quite the way I expected it to" and the IA changes.
Green eggs and scam: Cuckoo finch's long con may be up
Show HN: Made edits to AnyGo and looking for feedback
> From what I've read about Google (I have never and will never work there), ICs are incentivized to build and ship new stuff, even if it isn't successful, so Google ends up building a bunch of stuff that isn't successful.

I work at Google. What you say here is not true.

Yes, Google is indeed often very bad at long term product strategy and has rebooted its chat offerings an embarrassing number of times. But "it shipped, fuck it if it works" is not actually a sufficient justification for promotions.
Is California still experiencing rolling brownouts?
Is this page broken in mobile firefox, or is one of the implicit tips that the actual page content (in this case, bullet lists) should be no more than 1/20th the size of section headers?

I find the big chunky headlines distractingly bold and over word wrapped (with at most three words per line), but the li elements' characters are single digit pixels high on my retina-class high DPI phone display.
I do that at my stupid hair place: the clerk won't enqueue you without some random phone and a name to call when it's your turn. Then they wonder why there's a dozen people on that same number!
Using a cython binding compared to the Ctypes one gives a speedup of a factor of 3. That's still not very fast, now putting the whole thing into a cython program. Like so:

def extern from "newplus/plus.h":
cpdef int plusone(int x)

cdef extern from "newplus/plus.h":
cpdef long long current_timestamp()

def run(int count):
cdef int start
cdef int out
cdef int x = 0
start = current_timestamp()
while x < count:
x = plusone(x)
out = current_timestamp() - start
return out

Actually yields 597 compared to the pure c program yielding 838.
Oh yeah, sorry, i misunderstood.
>negative overhead

underhead
The most important skill is to know if something is good or bad. So its about having good taste. The rest you can learn by training. Do copy the best designs until you can make your own from scratch.
What Is So Right About the Hindu Calendar?
from a sister comment

From: https://slate.com/human-interest/2018/02/decriminalizing-pro...

> According to the 2015 U.S. Transgender Survey, 19 percent of all trans people, and 47 percent of black trans women, have engaged in sex work. This does not take place in a vacuum but in the context of pervasive societal discrimination against trans people in general, and trans women of color in particular.
Knowing what I now know about formula manufacturers[0], wet nurses & the breastmilk market seem like a better solution[1].

[0] https://www.theguardian.com/sustainable-business/nestle-baby...

[1] https://www.youtube.com/watch?v=x0qIupLeLAc
Why is the Covid case rate in San Francisco so much higher than the U.S.?
Is it really that different from, say, the way Prometheus supports histogram-based quantiles? https://prometheus.io/docs/practices/histograms/

Granted, it looks like Monarch supports a more cleanly-defined schema for distributions, whereas Prometheus just relies on you to define the buckets yourself and follow the convention of using a "le" label to expose them. But the underlying representation (an empirical CDF) seems to be the same, and so the accuracy tradeoffs should also be the same.
Well Texas is also big into freedom. Free reign. Hey, Calamity Jane gets respect, no problem cowgirl!
> Are you saying the government auto-enrolls you in Germany?

Kinda. Healthcare is not provided by your employers, but by health care insurances. It is generally mandatory to be insured. The system is split in universal healthcare (payed as a percentage of your salary) and private healthcare (payed from your bank account). Anyone self-employed and earning above a certain threshold can opt to leave the government system and buy private healthcare (gives somewhat better treatment, most notably faster appointments at specialists, as they earn 3-5 times on a privately insured patient). When you leave an employer you remain in the system you were in before. If you were privately insured and end up on social security you will be moved to the government system and they will cover healthcare costs for you.

The issue is with "purchasing" insurance. a) you need money, b) what does the health insurance say when you wanna get insurance while having acute expensive health issues?

Getting insurance when you are healthy and have money is easy.
Bad is relative…
>Having a DOM, having structure, having a hypermedium is a source of immense potential & power.

For documents, yes. For apps those are obstacles. Apps just need something to draw on.
They're built on advertising. The same advertising that makes you think they're not spying on you.
USDC backing, audited by a large US accounting firm:
https://www.centre.io/usdc-transparency

GUSD backing, also audited by a large US accounting firm, subject to New York State Department of Financial Services regulations:
https://www.gemini.com/cryptopedia/gusd-stablecoin-gemini-do...

USDP backing, also audited by a large US accounting firm and subject to New York State Department of Financial Services regulations:
https://paxos.com/usdp/

DAI backing, viewable transparently on-chain. Currently backed 168% by collateral:
https://daistats.com/#/overview

LUSD backing, viewable transparently on-chain. Currently backed 189% by collateral:
https://dune.com/dani/Liquity

UST (Terra/Luna) and USDT (Tether) have/had nothing like this.
There are some cases when it's actually simpler or more maintainable or more useful to do the dispatch locally. A language that allows you to both is tougher to learn and can have a higher risk of pitfalls, but also means that a seasoned practitioner can apply the right tool in the right situation.

In terms of the classic 'patterns', it's the difference between standard dispatch and the 'Visitor' pattern. There are cases where you want to specify each case of data structure locally, and others where you want to specify each method of each variant locally. Welcome to the expression problem!

There are cases in Java where you do want a true POJO - just a bag of structured data. This is probably a very strong candidate for using along side that.
Did a web dev bootcamp in 2004. ASP and VB Script. Got many jobs. Finally took data structures and algorithms class in 2020. Am better programmer now.
AI Countdown
What do you sell/provide?
Looks good to me. I quite like its simplicity.
ok - I was walking my dog around the urban block in a city you have heard of, past some low-income apartments, and a three or four year old boy walks out of the door and says in loud voice "f* you white boy" .. I was upset by this, since my parents went to great lengths to teach us that racist name calling is always wrong. I did nothing to those people in that apartment.

So how did I handle it? I walked away.. much later, more than a month, a old African American man was walking and appeared to be headed into that apartment complex, in the daytime. I stopped him and told him just about exactly what I just said to you. I pointed to the door the boy came from.. he nodded knowingly, as if it was not a complete shock. He looked me in the eye and said he would try to have a word with them. I have never approached that place, and few people know this story.

edit: your sig says you live "Remote SWE in Midwest US" and you "doubt" my story ?
I disagree strongly that moving outside of the financial system is primarily used for money laundering. Bitcoin is great for censorship resistance, and for offering an alternative to oppressive monetary policies. Here's a good article touching on some of the use cases outside of the US: https://bitcoinmagazine.com/culture/check-your-financial-pri...

In the long run, I hope Bitcoin's existence will also lead to better monetary policies since governments have always assumed a monopoly on money, and now there's finally some true competition. And competition leads to better outcomes for consumers/citizens.
Access denied from Tunisia. Works fine on USA VPN.
The difference is that the liable is primarily used in the context of “not initially accepting responsibility for an action, but being forced to”

Whereas “personally guarantees” is used in the context of “I meant to do this to provide confidence”
Do you get healthcare when you are not making any money?
Ben McKenzie Would Like a Word with the Crypto Bros
Why not just go back before the FDA existed, in other words? Because it's generally frowned up when people mix things like plaster of paris, "bluish, white compound of true milk, pus and dirty water" and sell it as milk.

https://en.wikipedia.org/wiki/Swill_milk_scandal
It's the impossible trilemma - you can't have

* a fixed foreign exchange rate

* free capital movement (absence of capital controls)

* an independent monetary policy

As a stablecoin, they claimed to have

* A fixed exchange rate with the dollar

* Generally free movement in and out (except for the 21-day redemption period, etc.)

* an interest rate untethered to risk-free rates you could get on USD

so it was impossible for it to work.
> If an organisation is non-compliant with their agreement, we work with them to address any problems and conduct follow up audits to ensure they are fully resolved.

This feels like the right response to me. In most of these cases, we're talking about a data provider with reasonable governance controls in place, who grants access to a requester who says they'll use the data responsibly, then just does not.

If the requester is part of a large research university, it doesn't make sense to say "researchers in Study A violated the data use agreement, therefore hundreds of other researchers in studies B-Z must now erase the data they've already downloaded, and never apply for access to more data from the largest research data provider in the country ever again." Those other studies had nothing to do with the violation, so shouldn't be punished.

The institution should punish the offending individuals, and the data provider should blacklist those individuals, as well as carefully audit both the institution (for its education and oversight of its research teams) and the principal investigators of the offending study for some length of time.
I sure love doing things that aren't actual work
I haven't seen an ad in a decade, save for when my wife tries to show me something on her iPhone.
I thought 8 was relatively recent, I only started moving on to it. I am out of the loop, I do not know what I am missing out on in the latest 9 update and kernel. I moved on to mac/brew on the desktop 5 years ago. I use it as UNIX with supported hardware.
>You must be talking about poor people's perspective. US has the best healthcare in the World for those that can afford it.

This seems to be contradicted by a study[1] that compared the health outcomes of americans in the top 1% and 5% of counties, against the average residents in other developed countries. The conclusion:

> This study suggests that privileged White US citizens have better health outcomes than average US citizens for 6 health outcomes but often fare worse than the mean measure of health outcomes of 12 other developed countries. These findings imply that even if all US citizens experienced the same health outcomes enjoyed by privileged White US citizens, US health indicators would still lag behind those in many other countries.

https://jamanetwork.com/journals/jamainternalmedicine/fullar...
I just want to read semantic HTML and handle the page formatting myself.
I thought I was listening to a podcast but it seems I accidentally stumbled into a butcher.
That's good stuff. Can you personally compile and install it on iOS?
How does any of that matter? Firewall the relevant port so that it only allows your connecting IP.
Good idea, need to let the hot air in.
Yup I see you! Thanks for the heads up - will look into the email issue!
Americans travel for healthcare too, including to India, Mexico, and IIRC Canada.

> US has the best healthcare in the World

I hear this repeated a lot, almost like a marketing tagline, but I haven't seen it.

Mostly I see what looks like highly constrained supply: wealthy people wait a long time, sometimes months, even with very alarming or painful conditions, and then get minimal attention - usually no diagnosis, just a guess and a pill - and then are on their own unless they want to start the process over again. Or they may get referred to someone else, which starts the clock over. The lack of diagnosis is now a joke among people I know; my impression is that the doctors lack the resources (i.e., time) to track down the actual problem; they just try to manage everything.

Is there a basis to the claim?
Even if that happens, it's a good thing we filled up the oil reserves back when we did.
"Overwhelming cringe" bingo square in the printed edition ends up cut out due to the number of Xs penciled on top of it
In fact, a lot of somewhat shady spice packets you get at asian groceries in the bay area have a crummy paper sticker with english labeling over the Indian/Chinese/... original label.

If this can happen for spices, why not for baby formula ?

I think that this is a case of noone wanting to take the risk of eventually someone selling some product that is expired or otherwise bad with relaxed labeling/... rules. I can understand it, too, from a biz POV.

I think the government needs to provide some sort of indemnification to importers/distributors/groceries. If the tradeoff demands it – 'X babies die/get sick because of malnutrition b/c missing baby formula' vs 'Y kids die/get sick because of bad baby formula.'

X/Y are just hard to pin down.
Well, evidence from the recent past suggests otherwise, and we're being told differently now. Got any specific points to make?
>We also don’t have enough games that represent the growing category of female gamer, we have too many Call of Duty and Grand Theft Auto and Madden, and not enough games like, I dunno, Sayonara Wild Hearts or Celeste

You're going to have to be way more specific why there are too many of the former, too little of the latter, why the latter attracts women more, etc. You can name hundreds of games like the latter two depending on your selection criteria.

>We could generally speaking make more money by having more games that not just cater to female gamers but are made by women.

This too I would like to see more support for, unless your only criteria is "women will buy games made by women".
Besides more generation capacity, the Texas grid also needs more interconnect capacity with the adjacent regional grids. That would allow importing more power when necessary to make up for local shortages.
The problem with one client is that the client is made by a corporation whose interests are not aligned well with the interests of the users and of other companies.

One company owning the Web and practically dictating standards, what users can do or not do on web, it's pretty damn bad.
Is this going to impact operations?