skysight-inc/HackerNews huggingface dataset:
RCTs are great, but they are almost always underpowered when studying nutritional deficiencies.

For the cited study, the cancer incidence rate was 1.2% in 5 years among 12500 recipients. That's barely 150 patients. Getting statistically significant effects with such low sample sizes is very difficult.

We will have to live with correlational instead of causal studies for nutrition. If you are interested, smoking causes lung cancer hypothesis was based on correlation- which was how cigarette manufacturers attacked the hypothesis. Proving a causal connection between smoking and cancer is much more difficult.

https://towardsdatascience.com/correlation-does-not-imply-ca...
Yes, the problem here is that as fewer people are dining, there just isn't the revenue to raise wages.

If you look at someone like a waiter, he is as busy as the number of customers and the amount they are ordering. If he is spending a lot of time standing around, well, then his wages are going to have to be cut. It could easily be cut to such a low level so that the waiter can't pay his bills and has to quit.

So restaurants can be in the simultaneous situation of not being able to hire enough workers to handle some peak hours, but also not being able to pay those workers enough to work full time for them.

And raising prices again results in fewer customers who can always eat at home or order delivery, which doesn't need the waiter. Restaurants, if they could just raise prices and earn more revenue, would do so. They charge as much as they can, assuming they are well run, to already maximize revenue, regardless of what they pay waiters.

You have even a bigger problem with hotels. If the hotel doesn't have enough guests, it's going to have to either lay off the cleaning staff and hotel staff, or reduce their hours and pay. And again, that could mean that the hotel staff have to quit. Here, too, the hotel is already charging what the market will bear to maximize revenue.

It's just a screwed up labor market when it comes to Hotels and Restaurants.
i would. it’s who they are as people, not which jobs they had when.
Yeah, but this was before Ajax when you had to hand roll XML RPC calls (i.e. long long ago).
You certainly have made some good arguments against regulation, suggesting a near certainty of regulatory capture screwing up whatever good intentions the original premise of regulation promised.

Was that your intention? I can’t dismiss your arguments out of hand as purely fantastic.

OnTheOtherHand, viewing all regulation and regulatory process as necessarily corrupt from birth doesn’t prevent some good coming of some regulation. I don’t think you’ll find corporations participating for the sake of highlighting their own immoral or irresponsible practices targeted by said regulation…maybe something along the lines of “thank god we helped develop this regulation that will allow us to stop doing these negative things forced on us by evil competitors/fraudulent bad actors/whatever scapegoat”. In spin world, everyone’s heroic in deed and motive…

Given your arguments, you might support this thesis: the more regulation and regulatory proceedings, the more likely some corruption may be concealed within it.

Thus a corporation seeking limits to regulation is acting responsibly to limit potential corruption, regardless of motive. It also follows that anyone seeking expansion of regulation is inviting corruption, regardless of motive (aka “the road to hell is paved with good intentions”, HaHaOnlySerious).

Obviously overtly corrupt and succinct regulatory proceedings are outside the scope of this thesis. Not that I’m aware of any succinct regulatory proceedings, heheh.

InMyHumbleOpinion the libertarian perspective would view using the power of government with good intentions as fraught with unintended negative consequences. Therefore we should use a minimum of government power exercised with maximal certainty of appropriateness. If we are not unanimously and honestly certain then government should refrain from the exercise of power.

I feel I might have left out something about how being cynical about regulation doesn’t make one an irresponsible actor but then this isn’t a retelling of “Anarchy, State, and Utopia”, “The Wealth of Nations”, “Atlas Shrugged”, or maybe “The Mystery of Capital”…
Yeah, this. Larry bought SUN to complete his vertically-integrated stack: "You want Enterprisey Business App X? We sell you the whole server! No more worrying about hardware requirements, just roll this box in your datacentre and configure away; we guarantee it will work great." That, and ensuring their beloved Java stack (on which they had bet the farm) would survive. Everything else (MySQL, OpenOffice, VirtualBox, etc etc) was just bonus.

The acquisition made a lot of sense. I was a lowly minion in Oracle when talks between SUN and IBM fell apart, and I told everyone I met "it would be great if we bought them"... After the acquisition, I expected MySQL to die a horrible death and actually it kinda survived (although barely), which I thought was somewhat magnanimous. I was hoping they would just offload some of the stuff that simply didn't make sense (Oracle selling word-processors and chat clients, really...?), but sadly some busybody repackaged them into embarrassing products. And for years they went "business as usual" for Java, actually re-igniting development in a suspiciously proactive manner, which was great... until the day the license changed.
So far it is looking like the number of neurons in the cerebral cortex is the best indicator of intelligence.

http://mitp.nautil.us/feature/227/the-paradox-of-the-elephan...

We started as basic primates, started cooking our food, getting more nutrition, allowing our guts to shrink, allowing us to spend more energy on our brains, growing more and more neurons in the important bits, at which point things spiraled away using our new language and technology to make better technology.

(Not a real biologist)
s/poisoned/poised/

Poisoned is what Oracle did to it with the plug-in and extension licensing nonsense.
I think he means the price per kWh changes each month.
Of all people, I wouldn't quote Foucault to make sense out of anything.
Lightyear Trailer
Results from being #1 on HN for 6 hours
> As a shareholder, you own the company including its problems. You don't get to complain like a customer, you did not buy any product or service from them, it's the other way around.

Huh? So shareholders who literally own a piece of the company don't have the right to complain about poor management, operational incompetence, company strategy, etc.?

That's not how it works. Shareholders actually have greater legal rights than customers even though both, in practice, are usually fairly limited when it comes to situations like this.
They are largely the same, OracleJDK building on OpenJDK. There used to be some paid only features like flight recorder, but all were open-sourced by oracle.

So as with most java vendors, you pay for the support.
By the way - is it possible to stop Google bot from scrapping without maintaining a list of IP addresses? Google doesn't publish these and it's not good to run reverse DNS as it slows down legitimate clients.
I know you can put a meta tag, but bot still has to make a request to read it.
I would like to completely cut off Google from scrapping.
> The only opinion that matters in the end is the court’s and they concluded it was a monopoly.

I guess I'm less convinced of judicial infallibility, but I'll grant you it anyway. Mostly I don't think the important question here is the legal standard (which is of course what the court is interested in) than the question of whether the law is achieving its intent. If the law says that a company that is lowering prices and losing market share is a monopoly that should be broken up, the law isn't really reflecting mainstream thought about antitrust -- that market concentration is self-perpetuating and harms consumers.
It would be interesting to see this picture (its very bottom) updated now that five years have passed, as both the current state and the projections are meaningfully different than it was in 2016.
Source: https://www.ikea.com/au/en/customer-service/mobile-apps/say-...
Agreed. It’s another reason to not complain about income and wealth taxes either if you are good at capital allocation and business in general. taxes drive people who aren’t good at business out of business faster. they take Capital away from people who can’t grow it away faster… paradoxically taxes are supposed to take from the rich and give to the poor, but this way, the rich who are rich not by accident, but by Skill, benefit more from taxes relative to their competitors.
This utility will help with that, assuming the services that use 2FA have a backup-code feature: https://github.com/sowbug/quaid
The two big challenges here are building a culture that encourages people to actually document their data, and secondly is providing the tools for data documentation.

There are lots of good tools for data profiling, but a good data catalog is something that is structured, easy to use and actually separate to the data. By keeping your catalog separate to the data you get more people involved which means more people can find and know who to talk to, to take advantage of data.

That’s why we’ve built our startup - aristotlemetadata.com - to give organisations a tool for users to collaboratively document why their data is important and what it means conceptually, along with raw column information (which is an easier, solved problem).

Building data culture is a bit more challenging, but again tools play a role, as if they can see others getting involved in data governance, can see examples and see others in their organisation getting more value from data more efficiently they are more likely to want to be involved too.
This comment is so abstractly general that I can't understand it. But I'd like to.

> flexible pricing that actually reflects information at the company border (with all the Pareto front guarantees that can bring us)

What information is lost at the border? Why? How is pricing not already flexible?
Rates are $/kWh. GP has some billing tariff where the rates change apparently.
This is really common usage, but I find it somewhat baffling. Once adopted, you have to either:

- Refrain from using any Postgres features that don’t work [the same way] in SQLite (so much for your code not knowing about your test environment!)

- Maintain both in tandem and, presumably, test that they have the same behavior or… accept that they may not; in either case you have to accept that you might not know if your SQLite implementation is correct

I don’t think the alternative is having code which knows about the test environment. Instead, it’s: test with the real service or set of services you use, and limit the surface area under test.

That doesn’t mean you can’t use DI! It just means you have:

- data access layer tests that hit Postgres (and any other supported provider)

- unit tests of anything consuming the data access layer, injecting a provider which only produces results consistent with the behavior already tested in the data access layer

At that point, why inject SQLite? You already ~know the results you can expect from the injected service… just return them.
Ports of LA-Long Beach impose fees for not picking up containers on time
Here are providers that offer spot pricing to consumers:

https://www.flickelectric.co.nz/pricing-and-plans

https://www.pauatothepeople.co.nz/cheap-as.html

Aside from this, peak / off-peak pricing is not unusual.
A “side-effect” in this case is the ability for a function you call to do something “outside” of itself. For example, to change the value of a global variable.

It’s generally considered best practice (in the functional programming community at least) to write “pure” functions (that is, functions without side effects) because it’s much easier to reason about what they are doing.

So good news, subshells can _only_ be pure (the only way to get anything back from them is if they write some string to stdout), but sometimes you do actually want to have some side-effects (imagine a function that reads a config file and then wants to set some of the global variables to the values found there).

Well, bad luck. If you use the subshell syntax you literally can’t do that.
Woah, this is very cool. I may try to adopt this.

I recently discovered, similar to the author of the post for this thread, that local variables are dynamically scoped.

I have been writing a lot more shell scripts lately, using a "library" [1] of sorts I've been writing. When I was debugging one of my scripts that uses mycmd, I discovered that I had failed to declare some of my variables local and they were leaking out to the global scope.

I had recently added functionality to call a set of functions on script exit, so I added something that would output the defined variables, in hopes that I could write something that will output them at the beginning and then the end and show the difference. I was surprised when variables defined in my dispatch function [2] for those at exit functions were showing up, even though they were definitely defined as local. It was then that I dug around and discovered the dynamic scope of variables.

I've been trying to figure out how to accomplish what I desire but exclude those variables from calling functions. I haven't been able to find an obvious way to see if the variable is coming from a calling function. I might be able to use techniques like you've pointed out in your linked post to add the tracing that I want. Still need to think more on this.

---

[1] https://github.com/travisbhartwell/mycmd
[2] https://github.com/travisbhartwell/mycmd/blob/main/shell/myc...
Yet another example of unnecessary undefined behavior in C as a consequence of needing to run on dead hardware. Bit shifting should clearly be defined to be operating on the underlying bits, with the resulting value being whatever that bit pattern would be on the target architecture.
Is there a theoretical limit to how many Teslas an MRI machine can produce safely and would be useful for imaging?
Realize that negative thinking is a part of the human experience and, in a lot of ways, being negative in the moment is a pressure valve for not being negative throughout one's entire life. That being negative is considered bad is just societal conditioning.

A lyric I love: "it's so so sad to be happy all the time." (https://www.youtube.com/watch?v=Vth-n34LK8E)
> grueling JVM version update

Since when is it grueling? 8->9 was slightly hard, but mostly due to old dependencies doing shit with sun.misc.*, they shouldn’t have and it took time to update them. But even a Java 1.1 class file will run just fine on Java 17, and with the strong encapsulation enabled in recent versions, no hard update will come again (as the internals are not reachable from code, they are free to change)
A low dollar (within reason) benefits central Canada, with our manufacturing exports. Ontario & Quebec suffered quite a bit when the price of oil (and thus the dollar) was high back about 10 years ago.
it says in both the article you link and the actual article that it's the first one for clinical, rather than research use
We've had preclinical 12T and way above machines for a while now (Bruker will sell you a ~21T, 1 GHz Larmour frequency machine, for instance). They are great for some forms of spectroscopy, but the issue for imaging is that t2* becomes very short, t1 becomes long, and it becomes impossible to have good b1 or b0 homogeneity. This means that the images are not necessarily filled with as much contrast as you'd like, tend to be a bit artefact-filled, and will keep physicists like me in pay for a long time.

Still very cool though, and well done to the CEA team.
Isn't lying one of the classic evidences of higher cognition in animals? If-this-then-that cognitive planning, is the value of the outcome of the deception worth the social consequences?

I'm not speaking in favour of lying as a conscious life choice all the time, just that it may well be a thought pattern deep in the self-aware mind.

Dogs misdirecting where the best food is. Birds walking away from the nest with a fake broken wing..

Yes, Altruistic and social status truth-seeking actions are in the model too: sharing food equitably, waiting for the leader to take the choice morsel of food. Just sometimes, the choice morsel is the one you let them see, sitting on the one you will eat later.
I don’t see how immigrants from 2nd/3rd world countries are directly affecting prices. You said yourself wages are down.
Trojan Source: Invisible Vulnerabilities
c.f. "substantial", I assume that's why the spelling looks right.
In some cases it is because the consumer has opted for variable rates, essentially making a bet that net-net, variable rates will be less expensive than the fixed rates. Or that they would be able to shift usage to reduce usage during spikes. See: https://www.texastribune.org/2021/02/22/texas-pauses-electri...

Also see: https://www.ft.com/content/0e746280-e72c-4087-9c0d-df2a7af82...

Feb 2021 FT:
"Bills mount in Texas power market after freeze sends prices soaring:
Financial casualties emerge as grid operator Ercot requires billions in payments
"
Yeah I can all hear the millions of people being sued for downloading JRE. Where are they?
On HN, I would think that would be obvious- not fit for purpose. It comes down to the old adage: what if everyone did this?
Exactly. The original comment said that they were underpaid, and would be happy with either a raise to a market-level salary or a reduction in hours. Getting the same amount of pay for 25% fewer hours would be equivalent to a 25% raise in hourly earnings, and it wouldn't be surprising if someone were 25% underpaid if they had stayed at one employer for a long time. So it doesn't seem like such an unreasonable thing to ask for.

> I hope you understand what your comment says about you to an employer.

I hope you understand what your comment suggests about you, as an employer: you're quick to mock an employee for making a reasonable request, without even listening carefully enough to understand the question. You might want to reconsider this attitude if you care about employee retention.
CEA is definitely not (yet) for clinical use, i.e. treating sick people routinely. It's for clinical research, i.e. scanning sick or healthy people, potentially (if and only if in the context of a registered clinical trial) changing their treatment as a corollary.
I think of it in terms you express. If someone checks my comment history will I seem like a negative, critical, jerk - or thoughtful, positive, and encouraging. If I catch myself thinking that a comment I'm writing will likely paint me more as the former, then I just navigate away without posting.
But once you shell out and require another language, why not just use that other one from the start?
you weren't doing it for free. Service is part of the job of an academic, along with research and teaching.
Homestead… now that’s a host I’ve not seen in a long time. Good example of websites as they used to be.
Tree-sitter allows to specify precedence with partial ordering relations.

See https://github.com/tree-sitter/tree-sitter/pull/939
Ask HN: I need a portafolio as back-end developer
I don't know what to put and how much effort should i have get into, because most of what i do isn't heavy visual, and i doesn't have a good grasp in design
Yeh but don't "cancel" them, they might well have much to offer. :)
They share 98% of the codebase. Oracle then sprinkles on top a small number of proprietary patches (some optimizations, a couple of tools) and their installer.
When you crash it into the ground at plane speed?
Same thing goes with ad blocking to a similar degree.
What If Everything You Learned About Human History Is Wrong?
This sounds halfway related to a problem my statistics professor worked on, sending data over a shared interface without detection. Note that these scenarios assume discrete time.

"Shared randomness" might be the current noise level on some radio frequency in enemy territory. You and your receiving friend can both hear everything, but as soon as one of you starts transmitting you must have a very careful strategy to avoid detection.
Thinking on it further I want to give credit to one of the two major influences on my preference:

1. This one: “explicit is better than implicit” as a principle

2. Not this one: functional programming

“Pure DI” presumably insinuates the latter, but can get rather muddy (is dynamic scope “pure?” lololol) and I think calling it “explicit DI” might be more accessible and easier to understand.
I'm a lead engineer on the search team of a publicly traded company who's bread and butter is this domain. I was curious about this list, it candidly misses the mark- the tech mentioned in this blog is what you might get if you hired a competent consultant to build out a service without having domain knowledge. In my experience, what's being used on the bleeding edge is two steps ahead of this.
> For example, I predict that people will continue to buy Coca-Cola in roughly the same volumes as they do today.

And people before us swore by the fact that people would keep buying cigarettes in the same quantities.
How can you patent voltages?
https://archive.md/VeoLp
Good luck turning academic research into a mass manufactured product that is known to be both safe and effective without the billions of dollars of investment pharmaceutical companies put into doing that.
The issue with wind is that lulls in wind and solar are often correlated. In reality you'd need somewhere are 3x provisioning and a day of storage.
Some people have smart mirrors or any other kind of 'news display', so it may be useful for them to scrape the data they may think relevant (this may be weather data, stocks, or even the new Nintendo Switch availability at their nearby retailer).