skysight-inc/HackerNews huggingface dataset:
@cbkeller

I know in Julia I can just precede every function call and object instantiation with "modulename." and solve the namespace problem that way. What I want to do instead, what I do in python, is bind one namespace of function methods to each object, so that as I code, I don't have to remember which module each each object came from. That is the appeal to me of "model.fit" over "module.fit(model)".

EDIT: This is not some "shave a few seconds off coding time" quality of life issue. This is a mission critical requirements in many enterprise contexts.

Scenario A: Model Development Team trains a model, serializes it, and sends the serialized model object to Production. You want Production to have to lookup which software Package the Model Development Team used for each model, just so they know which "predict" function to call? No, "predict" should just be packaged with the model object as a method, along with "retrain", "diagnose", etc.

Scenario B: I want to fit a dozen different types of models, from multiple packages, on the same data, to evaluate how they each do, and build build some sort of ensemble meta model. So I need to loop over each model object in my complicated ensembling logic. You want me to also programmatically keep track of which module each model comes from?

These are important, happens-every-day use cases in the enterprise.

I think the best solution for this in Julia is to package the model state with all the "method" functions in one struct. Again, this is what MLJ does. This is the closest Julia gets to OOP. But then you either need a lot of boilerplate code, or a Macro to unpack it all for you behind the scenes.
Men in SV sometimes eat pizza for lunch. More at 11
>go golfing

lol you would have to pay me to go golfing
> does it matter if it's a technical shortage or just and observed one?

Yes. A so-called “observed shortage” is not a shortage, its just buyers wanting a good without wanting to pay the price it costs to buy in the present market conditions.

A real shortage involves either a constraint which prevents price adjustment to an equilibrium of supply/demand or demand and supply curves shaped in such a way that no equilibrium point exists (which, I guess, is just a very special equilibrium-preventing constraint.)

The solution to an observed shortage of labor is “employers pay more and quit whining”.

The solution (if it is solvable at all) to a real shortage depends on what constraint prevents equilibrium from being reached.
I suggested the bold idea of going to the movies this Friday, in theatres

And my friend replied “I don’t think theaters are a problem after the orgies”

From my experience over the last several months hosting parties in reopened areas, people are open to anything. Even people that would be considered squares are taking the opportunity to live it up alongside the wild vagabonds

I’ve never seen anything like it
Here is some evidence.

https://www.nber.org/papers/w23532
> Do you have proof that Starlink profits will go towards funding a Mars colony?

Funding transportation to Mars to enable establishing the colony, and the question should be, do you have evidence this is not the case? Because this was what Musk/SpaceX have been saying since Starlink was barely an idea, and I haven't seen anyone prove they're lying.
OP didn't say 'the Germans', OP said 'The last time people did that en masse in Eastern Europe'.

You thought you would score a point by embarrassing a stranger on the internet, but it didn't work out because you read something that OP didn't say. Pedantry is rarely a good look.
This isn't entirely correct. Your example refers to two demand-supply pairs, but your analysis equates them. Consumers demanding restaurant meals, and the supply of those meals constitute one pair. Restaurants themselves demanding workers, and workers being reluctant to work for current prices constitute a second demand-supply pair.

For the first pair, since the change in the supply (a shift of the curve itself, not a walk along the curve) of restaurant meals is negligible except in the case of restaurants closing in aggregate, a left and downward shift of the demand curve (as you note) has the net effect of downward pressure on both prices paid and quantities supplied of meals.

The second pair's supply curve itself shifts left and upward (not downward), which results in a net effect of increasing the prices (wages) of restaurant labor, and decreasing the quantity supplied (number of workers).

A similar analysis could be performed from the new state of each pair: the first pair might actually see its supply curve shift left and upward due to these dynamics (restaurants may close in aggregate), causing the quantity of meals supplied to decrease further and prices of meals to rise, possibly though not necessarily up to the level they were before. For the second pair, demand for workers might increase in aggregate, resulting in a right and upward shift in the demand curve, which would further ratchet wages upward (barring another supply curve shift) and would help increase the number of workers to a level closer to what it was before any of these shifts took place.
> we should be having the debate about moving commercial astronomy into space.

What on earth is "commercial astronomy"? Nearly all astronomy is either publicly funded, research for public benefit, or hobbyist. Which part of that do you believe is "commercial" in any way?
This is because the reason is irrelevant to whether there is a shortage or not. A shortage is when at the given price a higher quantity will be demanded than will be supplied.

The normal market solution to a shortage is to raise prices until there is no longer an excess of supply at that higher price
Any profit of US constellations will already be taxed at the 21‰ federal corporate income tax rate, so that already seems to be a moot point.
>successful and practical

In marketing sense. You leave your fingerprints all over the keyboard, and I can record your face freely.
The study was looking at guided meditation which consisted of 60% of it’s sample. So, suggesting a guide on it’s own doesn’t solve the issue.
I don't know if it's useless. I just know it isn't going to stop NSO-type attacks by state-level actors. People on message boards have very strange ideas about what the available talent pool is; for starters, they seem strangely convinced that it's all people who are choosing between writing exploits and working at a Google office.
Is the centralization of an oracle actually useful?

I wonder if people curated lists of "public goods donation addresses" and then hosted something like a leaderboard of people who donated most to any/all public goods addresses, so people or companies could be recognized with social clout (if they want) for giving back. Automatically make a page for me that shows who I've donated to a when. Would that accomplish the same goals as much or better?

(I wonder if there is an opportunity for a tax exempt NGO middleman org(s) to validate 'public good" status and make donations that flow through deductible?)

Like, if I could read an article about someone who did something societally beneficial that probably wont 'pay off' and it was easy to donate $20 to them, I might do it sometimes. Sending $20 to an oracle fund trusting they'll allocate it wisely feels weird to me - I'd need to see a long record of smart allocations to trust them.
Did you read the article? The JVM reserves ~4 bytes in the object header of every object to store the identity hash code, regardless if you override .hashCode() or not.
> Entanglement is not a property about wave functions and really has nothing to do with waves. It's a logical consequence of the uncertainty principle...

I don't follow, and I can't find anything online that makes this claim. Could you explain more?

Maybe we disagree about the definition of entanglement. I'll take one from Griffith's Introduction to Quantum Mechanics. On page 422, Griffith writes [1]:

> An entangled state [is] a two-particle state that cannot be expressed as the product of two one-particle states....

(There is no mention of uncertainty in this section either.) Here I read "state" to mean "wave function" which implies that entanglement is a statement about a wave function, as I earlier claimed. "Cannot be expressed as a product" means not independent, just like the balls in my analogy (or electrons from neutral pion decay).

When I say "see the color of one ball," I am collapsing the wave function of the balls by making an observation (in the Copenhagen interpretation). This is analogous to measuring an electron's spin. If you replace "ball" with "electron," "bag" with "decay of a neutral pion", "red/blue" with "spin up/down," and "see the color of one ball" with "measure the spin of one electron," that's a completely valid statement in QM.

[1] https://notendur.hi.is/mbh6/html/_downloads/introqm.pdf
Denver, Colorado has previously decriminalized magic mushrooms.
That doesn't change the fact that we push people to go to college. We tell people anything is possible in America. We say this is the land of opportunity and you can do whatever we want and to follow your dreams. Then, we charge people a hundred thousand dollars to follow their dream and tell them that dreams are stupid and they should have been practical and googled salaries and career expectations.

America is still designed for when a college degree was payable with a minimum wage job. We either need to fix our schools or acknowledge the American dream is dead and we tricked a generation into giving us money for something they could never have.
Speed of light would just be rule, like cellular automata rules, Planck distance is cell size and the rule is you may only move one cell per frame in any direction. Processing speed doesn't matter to us, it could take a million "years" to render a frame but we experience it in real-time.

As you say pointer to shared memory location is basically hidden variable theory, you could also move faster than the speed of light by simply updating your location to any value, I have done this in game hacking before you just need a WriteProcessMemory api, might get caught by anti-cheats.
Should iMessage do what Facebook messenger does and request receiver permission before letting a new contact message them?
You can still test those protocols with OpenSSL stunnel :)
If you're not interested in philosophical discussions, then why engage at all, particularly only to denigrate people who like exploring thought experiments?
> Once you learn to cook you won't eat at anything less than the most expensive.

This isn't really true. Restaurants exist to fill a bunch of different needs; experience, novelty, convenience etc. And expense isn't a particularly good predictor of quality.

I do agree that once you can cook well you're much less likely to be happy at an overpriced generic version of something... which is right where fast casual and big chain casual is aimed. But sometimes you go for the company and not the food, etc.
How does a bug in iMessage lead to my iPhone being completely taken over by Pegasus? I thought apps were sandboxed on iOS.

Or can they only monitor SMS/iMessages with this entry point?
Yeah this is a good point... I definitely don't want to miss my flight and now I have a really good and predictable handle on how long security and check in takes, but I never seem to have a good handle on how boarding will go (I usually just abide by the "domestic gates never close till 30 min before the flight earliest" rule)
The discord post made sense because they understood what their workload was and did the type of 'classifying' queries that I previously described. They also decided to move off Mongo when they were hitting the 'real limits' of the underlying system from not being able to fit critical things in RAM. So they had a solid understanding of what was going on and they moved to rectify it. I don't want to presume to know anything about your sideproject but there's always going to be an limit you hit in any system, and you just need to build monitoring to understand when you are approaching that cliff.

They also had some clear characteristics of their system for their critical query that they could take advantage of: a new message is written to generally once, the messages table scales linearly, and updates and deletes are relatively rare. Using those things they were able to seek out a datastore that helped maximize the thing that's happening the most which is the write, and they were able to engineer a system accordingly. They also know that the messages would grow linearly without bound at a variable rate, so they could plan for that capacity. To me, that makes a lot of sense.

Especially if it is a side project you can't over-engineer capacity but you can do at least the measured math of what actions are actually happening in your system and what are your expectations for those queries. I would suggest that often times you'd want to focus on your critical queries that if slowed down would have the biggest net negative, but you'd have to find those. Every user action in a system should be attributable to some combination of reads or writes that can be reasoned about to try and figure out where there might be problems of contention, linear growth, exponential growth or growth up to a limit for a table, or something else. Either way, once you start classifying some of the critical paths in your system often either an answer or better questions start to come to the top. Without some of this information you can't back of the envelope whether or not your system can take a perceived load.
Interesting. Maybe further studies are needed.

> [1] "Low-level gaming was positively associated with patterns of problematic alcohol use in the crude analyses; these associations became non-significant when controlling for demographic variables. High-level gaming was inversely associated with patterns of problematic alcohol use when controlling for demographics, personality, and mental health covariates."

[1]: https://www.sciencedirect.com/science/article/pii/S235285321...
… it is a solution for every memory-unsafe operation, though?
If the computer code running this simulation is that good to never have bugs, then the simulation is functionally identical to the meatspace real universe from our POV. So I don't know if there's any point thinking about it other than idle curiosity. But I do worry that for some simulation believers it could become an excuse to have less empathy towards fellow humans.
The storage of the identity hash code takes ~4 bytes in the object header, and that is independent of whether the method is overridden or not. It's explained in the article.
typical circle of (IT) live. Start your own "solution" end up with a kubernetes sort a like clone which is better understood by you
in the piracy business, having a cryptographically-verifiable way of proving that you were the one infringing the copyright sounds like an anti-feature to me...
Back in the day (when we had to go to school uphill both ways), I met a banker who told me, "whatever your bank is charging you for a bounced check, it isn't nearly enough". Then he described how the system worked: the actual physical check had to be sent back from your bank, to the Federal Reserve branch of the receiving bank, then to your branch of the Federal Reserve bank, and then to your bank. Not electronically: I'm describing the movement of the actual physical paper check. So, there was a real cost to everyone for a bounced check and of course the person who wrote the bad check should pay. That makes sense.

Of course, this makes no sense in a world of electronic transfers via ACH. The banks that are still charging $35 for a bounced transfer are engaging in something barely more legal than theft.
I'd love to be proven wrong, but I just don't think it's ever going to happen on a federal level, when half of the US Senate consists of people like this guy:

https://www.youtube.com/watch?v=NY6UTnS6Z-A

And he's a "moderate".
They never said it took 20 years for programming to become less hard
Nice find, the article, and ...

... yes, right? Your reaction was mine, when I first heard about this. The article puts it in a very tellin' perspective:

"[...] we long assumed -- a chaste devotion to the most intense competition of their lives. But the image of a celibate Games began to flicker in '92 when it was reported that the Games' organizers had ordered in prophylactics like pizza. Then, at the 2000 Sydney Games, 70,000 condoms wasn't enough, prompting a second order of 20,000 and a new standing order of 100,000 condoms per Olympics."
10-day vipassana retreat was worst decision i did in my life lol
Yeah, a lot of credit unions especially have reward checking with ~1% rates. You always need to jump through some hoops like having direct deposit and a minimum number of transactions on their debit/credit cards (which is where they make the money to pay the extra interest). Still, if you can meet these requirements, its not a bad way to lessen the effect of inflation on money kept for day to day expenses in a checking account.
This was never really a bottleneck for science. One needs to realize first that something can be done, then it will be done.

The cost of computing will also go down in the future and for government funds this sounds like a drop in the sea when they are building multi billion dollar particle accelerators.
That definition of location allows for:

* The wallet existing in no places

* The wallet existing in an unlimited number of places

* The wallet spontaneously replicating itself in a new location (with or without information transfer)

Certainly not a very mainstream interpretation of “location”.
In the past you didn't end up with a $100,000 of debt. That's what's changed. If you failed you could try again. Now you get your one chance with an education and that's it.
I think total traceability would be fair, if it was truly total. But the state is gonna scramble all their addresses and transactions, leaving only the citizens unprotected in the open. Otherwise they (the state) themself would become transparent and suddenly people could find out where their tax money actually went.

Corruption anyone?
Your concerns likely are legit and justified. It appears indeed what plenty of governments are already working on and pushing towards just that .. and it won't be pretty if they ever manage to convince enough people to make it a mandatory if not the only legitimate way of monetary exchange.

However, I think it's actually the current unregulated crypto currencies ecosystem that should worry people far more. Consider the shady people that operate this space and their ability to mine all kinds of data. People might be surprised how valuable and useful behavioral data of individuals can be, especially when it relates to how they behave when dealing with speculative and uncertain dynamics (like e.g. the realities of crypto currencies themselves). That's all I will say about it.
The SpaceX fanboy reaction would 100% be

"This is impressive, but it's crazy that we've let China beat us in the race to universal broadband. The US needs to catch up!"

The "SpaceX fanboy" mindset is about a belief that humanity has a future outside the earth. Not about jingoism. I've seen literally nobody rooting for the Chinese space station to fail, or the Chinese rovers to crash on Mars.
That seems to assume that the products are completely interchangeable. Even between restaurant chains I don't think that's true. And independent restaurants are very individual, even unique. Some people like one type of food or dining experience, some another, and they may forego dining out altogether rather than substitute.
This is mostly the YECs (Young Earth Creationist - "the earth is 6000 years old" camp). There are other flavors like ID (Intelligent Design) that tend to hold things a good bit looser - and there are many different flavors of ID as well. But yeah, the YEC folks are completely "it's our way or the hellway!" and the Evangelicals have pretty much doubled down on YEC - that wasn't always the case, there used to be a lot of Evangelicals that were theistic evolutionists and had no problem with a 4.5B year old earth.

EDIT: maybe we need another word in this context besides 'creationist' since it has a lot of baggage in the culture at this point. What else to call someone who hypothesizes that there is some kind of intelligence behind the universe? The simulationists seem to fit into that category as do the various flavors of 'creationist', 'intelligent design', 'theistic evolutionist' and probably even Hindus, etc.
A comprehensive win for personal liberty. Onward to more freedom. Church on Sundays was always good (for those in the Bay) but this should just be a storefront experience, not limited to those of us who treat it as religion.
Ask HN: Is Matt Levine’s Money Stuff Paywalled from now on?
Money Stuff by Matt Levine is excellent, and I always read it from my rss reader, but Today's issue seems to only allow subscribers to read it. Anyone else is experiencing this?
You're right. It's only part of the story. Another part of the story is that the cost of these attacks is so far below the noise floor of any state-level actor that raising their costs will probably have perverse outcomes. For the same reason you don't routinely take half a course of antibiotics, there are reasons not to want to deliberately drive up the cost of exploits as an end in itself. When you do that, you're not hurting NSO; you're helping them, since their business essentially boils down to taking a cut.

We should do things that have the side effect of making exploits more expensive, by making them more intrinsically scarce. The scarcer novel exploits are, the safer we all. But we should be careful about doing things that simply make them cost more. My working theory is that the more important driver at NSA isn't the mission as stated; like most big organizations, the real driver is probably just "increasing NSA's budget".
lotta zen bhuddist teachers on prozac
The Cost of Serving Errors
What debris? There won't be any debris unless they hit each other. The SVs themselves are designed to decay after a relatively short period of time.

Agreed, though, I like the idea of taxing them to subsidize space telescope construction.
Bitcoin mining isn’t nearly as bad for the environment as it used to be
It is a shortage until prices rise, quantity demanded goes down, quantity supplied goes up and a new equilibrium is attained. This might take a few minutes, or even milliseconds, or it might take many months, or it might never happen.
How long before people record it and post it on social media?

Cool experience for the first few people, but once everyone has been there, it is just a vomit comet to nowhere for the price of a car -- sort of like the world's most uncomfortable cruise ship.

As an FYI: the Concorde wasn't actually all that nice inside -- food was excellent, but unless you really needed the extra 3-4 hours, first class conventional was a much nicer trip.
Can someone explain why Blastdoor has been unsuccessful? Is it too hard a problem to restrict what iMessage can do?
All those people who write "Just raise wages!" clearly never managed a restaurant.
I know why I don't pick them: I'm afraid of getting poisoned.

I don't buy them or grow them either: afraid of getting arrested.

I suffer from debilitating depression, anxiety, burnout, social phobia, and suicidal ideation, and the many therapists I've gone to over the decades haven't helped.

I look forward to when psychedelic therapy, which has evidence of being much more effective than conventional therapy for some conditions (like treatment-resistant depression) is legal and I don't have to risk getting thrown in jail, being poisoned by buying mystery drugs, or getting my life ruined with a felony conviction in order to get the healing that I desperately need.

If psychedelics were legal all along maybe I could have gotten some effective treatment and maybe my life would not be as fucked up as it is right now.