HNHacker News
TopNewBestAskShowJobs

hasty_pudding

168 karma · joined December 13, 2023

submissionscomments
hasty_pudding··on Ibiza locals living in cars as party island sees rents soar
News needs sensationalism.

Thanks for posting another side of this.

What you're saying makes a lot of sense.

hasty_pudding··on Tonal.js: Functional music theory lib
what languages don't use objects to implement non-primitive data structures?

like a binary tree for example

hasty_pudding··on Tonal.js: Functional music theory lib
What languages on Earth implement non-primitive data structures without objects?

I guess maybe low level c and assembly where you implement everything as bits in physical memory?

hasty_pudding··on Tonal.js: Functional music theory lib
you know how unsufferable it is when people bog a conversation down with semantics instead of ideas.

the point is obvious.

Being that every single language on Earth uses objects for non-primitive data structures that should be inferrable to a reasonable person.

a data structure in that context is clearly an ordered grouping of objects versus an unordered/loose grouping of objects.

hasty_pudding··on Tonal.js: Functional music theory lib
Very far
hasty_pudding··on Tonal.js: Functional music theory lib
You definitely need generic node objects to define the nodes.

You could have a completely stateless class/object that would manipulate those nodes and add them and remove them from the data structure.

hasty_pudding··on Tonal.js: Functional music theory lib
What they mean is functions and data are separate, emulating a more functional paradigm and less mutable state.

The functions are kept pure and the data is kept pure.

As opposed to an object oriented programming style in which data and functions share the same object and create bug ridden state machines thats not as easy to reason about.

Some further explanation about this:

https://www.goodreads.com/quotes/702062-immutable-objects-ar...

a semi-nuanced discussion:

https://www.reddit.com/r/scala/comments/ejwsp1/is_mutability...

you can just Google mutable state to find more info.

separating your data structures and functions in many cases will make your code cleaner and more bug free.

hasty_pudding··on Tonal.js: Functional music theory lib
"all functions are pure, there is no data mutation, and entities are represented by data structures instead of objects."

God i love to see this

hasty_pudding··on Avoid blundering: 80% of a winning strategy
The problem is you don't know if it's a blunder until after.
hasty_pudding··on UV-K5 is the most hackable handheld ham radio yet
don't know what you're getting downvoted it is true
hasty_pudding··on Treemap of World GDP by Purchasing Power Parity (PPP) 2020
Wait but the dollar has a higher exchange rate than Chinese currency as well.
hasty_pudding··on Florida's DeSantis signs law restricting social media for people under 16
I wonder if kids on social media is going to be looked at in a hundred years like we look at kids smoking cigarettes from 100 years ago.
hasty_pudding··on Australian Digital ID Bill to be passed without debate
Here's sort of a non-legalese take on it.

Its a bit sensational but I couldn't find anything with a nonsensational balanced take on it.

https://www.skynews.com.au/insights-and-analysis/labors-intr...

hasty_pudding··on Austria is sleepwalking toward a far-right victory
My thoughts exactly.

What if the left has been destroying their country through unchecked spending and immigration and the right are the only people awake enough to see it?

hasty_pudding··on When did dogs become our best friends?
lawnlove.com

"Dont believe everything you read on the internet"

- Abraham Lincoln

hasty_pudding··on When did dogs become our best friends?
dogs are omnivores.

most kibble is vegetable based

hasty_pudding··on When did dogs become our best friends?
My dog has pooped in my backyard for years and nothing but thick quality grass everywhere.

probably because most kibble is vegetable based and vegetable based poop is good for the grass.

maybe you fed your dog more meat?

if your dog's poop is killing the grass you're doing something seriously wrong with its diet.

hasty_pudding··on When did dogs become our best friends?
Most dogs are extremely particular about where they poop and don't poop on concrete and asphalt if they have any other choice.
hasty_pudding··on When did dogs become our best friends?
DONT EAT THE POOP.

and you won't get that disease.

Problem solved.

And dont let your kids eat any animal poop

hasty_pudding··on When did dogs become our best friends?
Using an A.I. article from lawnlove.com as a source....okayyyy

This country has really gone downhill with education

My teachers would have yelled at me for having a source like that.

hasty_pudding··on When did dogs become our best friends?
The founding fathers would think that allowing the government to have a database on ANYTHING is a bad idea.

Plus dog poop is ecologically good for the environment and fertilizes nature.

hasty_pudding··on Monolith – CLI tool for saving complete web pages as a single HTML file
how do you share CSS between pages?
hasty_pudding··on Vasopressin deficiency: driver of social impairment and fluid imbalance in ASD? [pdf]
Essentially if this theory is accurate it kind of shares similar patterns to diabetes insipidus which is essentially vasopressin dysfunction.

So you can Google that and see how that is treated and tested for.

hasty_pudding··on Vasopressin deficiency: driver of social impairment and fluid imbalance in ASD? [pdf]
You can get tested for this if you have ASD by getting a copeptin test.
hasty_pudding··on Ahrefs Saved US$400M in 3 Years by Not Going to the Cloud (2023)
The semantic web was a beautiful idea at one point
hasty_pudding··on Interviewing at Canonical
Is it just me or is the mastodon mobile interface is not great.
hasty_pudding··on Tesla Didn't Pay Any Federal Income Taxes for 5 Years, Got $1M Tax Refund
Exactly
hasty_pudding··on 'We are essentially in a new Gilded Age'
So today is much worse
hasty_pudding··on 'We are essentially in a new Gilded Age'
Youre right. Theres zero data.

As much as I can see the skyrocketing inequality in the USA this aint it.

Its a click bait article sourced on a click bait report.

The ironic part is that in one of the two charts they present shows that during the Biden administration, (who claims to support all the causes espoused in this paper), since 2020 inequality has skyrocketed at a rate never seen before.

https://webassets.oxfamamerica.org/media/documents/Corporate...

hasty_pudding··on Tesla Didn't Pay Any Federal Income Taxes for 5 Years, Got $1M Tax Refund
They're doing everything within the law.

I don't understand why people are mad at Tesla instead of the government.

Page 1 of 10Next →