skysight-inc/HackerNews huggingface dataset:
"("using the API of local services" seems to be an ongoing theme, one of my favourite things is to use secret undocumented APIs where you need to copy your cookies out of the browser to get access to them)"

The aboove is from another submission's comment thread currently on HN front page.^1 Not everything can be done satisfactorily within the browser. Other (smaller) programs are useful. In the later case, the programs are not supported by online advertising.

1. https://jvns.ca/blog/2022/03/08/tiny-programs/
Why the scare quotes? If you’re in favor of censorship why not own it?
> Laziness is besides the point, scala (and pretty much every language) can do laziness without monads, it is as simple as if private variable == null, then initialize, and then return that variable on every getter call.

Laziness is also better for composition and local reasoning because you can refactor out any subexpression.
Facebooks (or I guess Meta, I noticed it on the Occulus website) approach is the worst I've seen, with no clear way to decline. At least google and the others give you the option, they just make you do a load of work for it (and then at the end present you with a blue "accept all" button and a grey "accept selected" button), Facebook literally just gives you an accept all button and, if I recall correctly, a small hyperlink to view their policy in which you have the option to go through all the settings and decline.
> As a bonus you can replace cheeseburgers with labor and they will say "lump of labor fallacy".

The trouble with this simple and seeming obvious hypothesis and labour (by which I assume you mean immigration) is that labour sits on both sides of the equation.

If you increase the supply of labour, then you're also increasing demand of all the things the immigrants consume, which means you're increasing the demand for labour.

(How much you're increasing each side of the equation - and how long each side takes to adjust - left as an exercise for the reader.)
Exercise is not a substitute for the health aspects of eating (e.g. cholesterol, heart health, "feeling" good, etc.), absolutely. But losing weight is 100% calories in/calories out, and you can "outrun a bad diet" as they say provided you're physically able to exercise for long enough or at a high enough intensity. It's certainly much easier if you put the garbage food in the trash and eat reasonably, but it's not a prerequisite. A big caveat though is that if you're already 350 pounds, you almost certainly don't have the cardiovascular stamina to lift heavy weights in the morning and do a high intensity workout in the evening.

In my 20's I was completely sedentary, weighed nearly 200 pounds / 91kg at 5'9" / 175cm, and had basically no muscle mass. I could barely press an empty 45#/20kg barbell overhead. 8-9 months of high intensity workouts, without any dietary changes, and I was down 50# with a lot of strength gains. I absolutely could have lost the weight faster, and gotten stronger faster, if I stopped eating fast food multiple times a week, but at the end of the day if you're physically able to do the work it's not a necessity.
Could you explain this a bit more? How would this be more open than port forwarding? I don't see how someone could leverage this without exploiting whatever app is hosted as the hidden service?
I have stopped using this search engine as it can’t be trusted any longer. Such an awful precedent. Do people even think of the potential for abuse here and the total arbitrary nature of it all?

How long now befits motivated groups pressure them into down-ranking content they don’t like?
In the UK there is around 1.4 GW installed battery storage capacity and a further 20GW+ in the pipeline. The technology does exist and is mass producible and scaleable. Hiccups in supply are usually more complex than just blaming a single source. It is the responsibility of the grid to maintain supply across different types of generator.
Looks like the new demo to be revealed at GDC 2022 Mar 21-25 ;)

GDC is back this year. I was checking out the sessions, and it's pretty much everything state of the art: google on language model games, ms flight sim terrain proc gen, cyberpunk 2077 lighting night city, space station 13, and the diablo 2 resurrection!
Haha this is what I thought reading the article. One thing I don't think was really touched on was exercise. Am I suppose to exercise during the fat burning period i.e. 12 hours after my last meal?
Yeah I don't have a vision processing background so it would be brutal if I tried from scratch. It's just that idea that someone could be peaking into your "soul" ha, if they can screenshot your screen/which can display whatever.

It would definitely need to be a local program.

Edit: another thing is I want to use a Tensor Flow JS model and want to make sure whatever is passed into it isn't also getting sent out somewhere.
How Far Would Biden Go in a Cyberwar Against Putin? [audio]
For a lot of its lifetime C# has been ahead of Java, though I think as C# has matured Java has probably caught up so it may be true now.

But C# introduced e.g. runtime generics, functional style LINQ, async and also RX style programming first, though RX is not part of the language but the ecosystem.
Van Allen dug himself a bunker beneath a public park
A good example scenario for setdefault/defaultdict is grouping a list of tuples :

grouped = {}
for (key, value) in ungrouped:
group = new.setdefault(key, [])
group.append(value)

defaultdict(list) would make it even shorter, but setdefault() is more general, as it makes it possible to have a "default" value that depends on the key itself.

defaultdict combined with late-binding closures also allows to define nested dictionaries :

nested_dict = lambda: defaultdict(nested)
nested = nested_dict()
nested[0][1][2] = "value"
I've been doing OMAD since the start of this year and loving it. I'm sat at a computer all day, why do I really need to feed this body if I'm not exerting the same amount out. I find when I eat lunch now, it's a real drag, and since I'm so full after it I don't even need dinner, and can usually wait until the next day around dinner time to find that I'm hungry again. I do get a ~30 minute brisk walk in daily but no way changes my hunger. Definitely see some weight benefits, probably lost > 5kg since doing it. And like one comment said about testosterone levels, yeah, I've definitely experienced it ;)

Edit: It wasn't instant, I did find it hard in the beginning, but once you're over the grind, maybe a week or two, it really is smooth sailing.
Hydrocarbons are fantastic fuels when high energy density is required. In fact, airliners would be completely impossible without them. Even the most fantastic experimental batteries have nowhere near enough energy density for efficient powered flight. There are some plausible concepts for hydrogen powered planes, but those waste a lot more space on fuel tanks compared to hydrocarbon powered ones.

Synthetic hydrocarbons will probably remain the only option for carbon-neutral long-distance travel in the foreseeable future.
It doesn’t make sense for cars (electricity is a practical alternative and if you wanted to use chemical fuels you would synthesize methane or 1-butanol, dimethyl ether or some other single-entity fuel for which the production process can be optimized)

Aviation is 30-40 years behind in fuels (they still use leaded gas.). The kind of Fischer-Tropsch chemistry that these guys are messing with has been basically abandoned for automotive use but is still being pursued for jet fuel because they are afraid to use any fuel which isn’t identical to existing fuels in composition…

Traditionally these processes start with a stream of hydrogen and carbon monoxide which can be made from coal or methane, the economics are gawdawful because the reactions that build up hydrocarbons and break them down have to be closely balanced —- polyethylene formation can be explosive, methane forms quickly if the temperature is too high. What it means is you have a big machine (high capital cost) that makes just a trickle of fuel. In the green era people like these guys are mixing up the chemistry so you can put CO2 in instead.

I have been thinking about how you would make plastic membranes from asteroid materials, we think some asteroids have something that is basically coal and the head end would turn that into ‘petrochemicals’ and might have a lot in common with fuel synthesizers… A lot of chemical processes will create waste CO2 which is precious in that context and has to be recycled.
I'm extremely against MMT - but that are compelling arguments versions of it would not cause CPI. Haven't seen any compelling arguments it wouldn't cause asset price inflation, though.
These threads probably attract mostly people who are dieting or looking to diet, so maybe it’s helpful to have an observation from someone who has never been overweight: I notice overweight people like low-to-no fiber foods and are unaware that they are only eating a few grams of vegetables per day. Maybe it is a good idea to make sure that every meal you have contains a real amount of it, so if you have 3 meals per day that every meal contains 15gr of fiber; or if you have 2 meals per day that each meal contains 20gr of fiber.
This is one of the largest mental jumps I've seen recently, bravo.
as an adult with adhd that got medication in his mid 30ies - yes it helps, got me unstuck after years of suffering - but it's also a double-edged sword as in you still have to direct the attention to the right thing at the very moment that is really longterm useful for you.
Eating 2-3 days worth of food in a single sitting is not normal, and well beyond the realm of "prodigious appetite." You need to see a doctor if that's true.
"If someone points out to you that your pet theory of the universe is in disagreement with Maxwell’s equations — then so much the worse for Maxwell’s equations. If it is found to be contradicted by observation — well, these experimentalists do bungle things sometimes. But if your theory is found to be against…thermodynamics I can give you no hope; there is nothing for it but to collapse in deepest humiliation."

- Arthur Eddington
Yes, this is what is meant by the expression, "IDE Smell".

It's a measure of a language's usability if a programmer can't use the simplest possible tools to be productive.

Education and documentation is necessary. But if you have to have an entire support channel for a technology, it isn't necessarily a positive reflection on the technology.
In Canada(Provinces) the company with the sole right to publish such materials is typically appointed by the (Lieutenant)Governor General. An unelected, bureaucratically appointed privilege that is appointed by an unelected bureaucrat...go figure!

Having been forced to spend thousands on Fire Safety codebooks every year in order to maintain a professional knowledgebase in my previous career, I feel the whole thing is a racket, especially the selling of digital versions.

One of the worst parts of the whole system is most Codes refence other Codes in their prefixes.
EG: Unless otherwise stated with this document the rules from XYZ Code are to be followed.
This makes for a very deep and expensive CMA rabbit hole when you are required to purchase (or subscribe to) all these publications.

1. https://en.wikipedia.org/wiki/Queen%27s_Printer
Fossil fuels are cheaper because nature did the energy intensive "turn dinosaurs into oil" part (i.e creating the hydrocarbon molecules) for us over the span of millions of years and we just extract it from the ground and do some chemistry magic to make it into useful stuff.

The "create the useful hydrocarbon out of atmospheric carbon" step needs to necessarily be cheaper than getting dead dinosaurs to a refinery and refining them.

Screeching about externalities adds nothing to the discussion. Burning synthetic hydrocarbon fuel would also release carbon. A CO2 tax would hit it just as hard as it hits traditional hydrocarbon fuels unless you do stupid "craft the tax to pick and choose winners" crap that a carbon tax is explicitly supposed to avoid.
I did start to notice sluggishness since a week or two ago. Maybe they thought they could target S21 users to get them to buy an S22? I actually saved and shelled out for a S21 Ultra 5G thinking it would tolerate the bloat from modern apps for at least 3 years.
I also find my fasting with exercise leads to me being more susceptible to illness as well as injury.

I don't typically feel hunger or thirst much so I have to make sure I eat consistently.
Archived: https://archive.ph/PGPNV

Transcript available after 12 noon Eastern time.
Wow, it's pathetic to edit your own posts afterwards. You do it to look nice and conceal you lies or there are other reasons?

What you are doing is again, a typical manipulation. If you are doing it because of lack of logic, please have a read about logic.

Now back to your question. I'm not acquainted with topic, but if Lavrov said russian forces bombed some hospital, then russian forces bombed some hospital.

Does it mean that russian forces destroy civilian infrastructure? No it doesnt.
Does it mean they destroy the particular hospital? Yes it is.

And to go back to your lies - I call you out on unsubstantiated claims on different matters, which you have no proof whatsoever.
Sten Ekberg has a great channel on youtube about this. It worked for me but I've since fallen off the wagon with predictable results.
Definitely works out of the box. Cmd+Shift+S on Mac.
I'm exactly the same. Go away with friends and eat like they do and so I'm feeling full all the time, which feels oddly bad. Then I'm going to the toilet all the time. Have been IF for the past 12 years, aged 49 and still same weight as when I was 20.
Anything made from steel. Everything from small machined parts all the way up to the swing arms on electric mining shovels. We have some parts we build that require two 60 ton cranes to lift. Everything in between, mostly for the energy industry.
> and are always wrong

Hum... There are plenty of threads about housing here on HN and conversations about people becoming homeless after a disease, or bankrupt due to education costs.

If you want to claim the US hasn't have a large amount of inflation on the last 30 years, you'll need some data that doesn't ignore those.
If you're collecting analytics data yourself you still need to comply with GDPR so you still need a cookie banner for anything but extremely basic analytics.
This handle is actually pretty new since the post-sex transition.
video TL;DW: seems like it's basically safe to make an assumption that the reported calories in food could be 10%+ higher than expected, especially among packaged food. Larger restaurant chains like McDonald's and Subway seem to be slightly more accurate.

The surprising part was that it took the science guy 10 hours to calculate the calories for 5 food items ? Would be nice if we could get that down to minutes and accessible to personal consumers.
Tiny, Solid-State Lidar Raises Stakes in the Megapixel Race
> has to be lifting weights, I don't see this benefit from cardio alone)

I have that effect from running and cardio - it makes me not want to eat. After HIIT cardio, I do get hungry, but a little protein usually do the trick. The strength training makes me much more hungry then normally.
Children usually resemble their parents more than you seem to think. There is probably plenty of research out there that tries to find out how much is due to nature or nurture.
For every complex problem there is a simple, easily explainable and wrong solution.

You are flying in the face of decades of empirical economic research, you are performing the epistemological equivalent of saying "and then they'll say that everything is made of atoms!"
Just to nitpick: this is not used by the normal Sketcher workspace in FreeCAD for constraint solving. According to the link it is used for constraint solving in the assembly3 workbench, which is much more niche than Sketcher.
This is so clever. I love the use of comments and parsing the source file for those comments as a way of displaying help.
>> To win, you need a reasonably deep understanding of the entities in the game,
and their abstract relationships to one another. Ultimately, players need to
reason about what they can and cannot do in a complex world.

On this, I'm not with Gary Marcus. I think Nethack will probably fall to deep
learning at some point, just like other games that everyone thought "require
reasoning", like Go, most notably [1]. Perhaps some combination of a classical
search with a deep neural net trained with self-play to guide the search will do
it. Perhaps some other approach suffering from data and compute gigantism will
do it.

In any case, what I've learned in the last few years is that there isn't any
single problem that deep learning approaches can't solve just by training on
tragicomic amounts of data, even if it's so much data that only the likes of
Google and Facebook can do the actual training. Assuming that a problem can
_only_ be solved by reasoning is setting yourself up for a nasty surprise.

After all, PAC-Learning, what we have by ways of a theory in machine learning,
does not assume any ability for reasoning. PAC-Learning assumes instead that a
concept is a set of instances and that a learner has learned a concept when it
can correctly label an instance as a member of a concept, or not, with
arbitrarily low probability of arbitrarily low error. In that sense, a system
that can only memorise instances can still achieve arbitrarily low error simply
by memorising sufficiently many instances. No reasoning needed, whatsoever.

Indeed, this is precisely why deep neural nets need to be trained with so much
data. Because they are simply trying to memorise enough instances of a concept
to minimise their error. So, given enough data, deep neural nets can beat any
benchmark. They'll eventually beat Nethack.

And we'll still not have learned anything useful, and certainly not beaten a
path towards AGI. Machine learning is stuck in a rut where it advances from one
little, over-specialised benchmark to the next. We won't make any progress
just by coming up with new benchmarks.

_______________

[1] Chess had already fallen to symbolic approaches: a book of opening moves and
minimax with alpha-beta cutoff; that was Deep Blue, the system that beat Gary
Kasparov, and that, despite its name, was not a deep learning system, but a
Good, Old-Fashioned AI, symbolic system.
Things that are easier if you live alone:

Just don't buy rich foods over which you have no willpower.

Don't go down those aisles in the supermarket. Don't keep biscuits (by which I mean cookies) and snacks in the house at all.

Don't buy "meal deal" lunches that give you a discounted fizzy drink and snack.

It's all very well people telling others that they need to develop willpower over knowing when they've had enough, etc., and I admire people who can do that. But it's just a lot easier to exercise that control at the point of purchase.

And never, EVER go food shopping while hungry, for more than just lunch. Try to buy/order your lunches before you get hungry.
Although not weird, my tip is to eat better and exercise more, and yes, I know that it's easier said than done.

The first thing is that if possible you should try both: eating better makes it easier to exercise and exercising makes you eat less. In my case at least, I eat more when I am nervous or depressed, and regular exercise keeps my hormones in check, reducing the cravings.

Another important thing is to find what works for you and, more importantly what you are both willing and able to stick to long-term. Eating better and doing exercise means not doing any more some of the stuff that you like, either because you don't have time anymore, or because it's not healthy: are you willing to do it for the next 50 years ?

For example it took me years to find the right dietary regimen; I finally found that for me intermittent fasting is the best solutions since I find it is easier to avoid eating most of the day than being much more careful about what and how much I eat.

Similarly for physical activity: try many alternatives until you find the one that you enjoy and keep doing for long time. You may realize that you like something unexpected (for me it was going to gym; I always considered it a stupid activity, but once I tried I realized it was perfect for me and I have being doing it for more than ten years).
> Aviation... Well who can still afford it...

Oddly enough (but not really that odd) it seems to be affordable to a lot of people who jet around the globe to tell each-other and the media that people need to fly less, for the climate. It used to be for the environment but that trope seems to be worn out.
For a very different, but interesting, example, see these sparrows, which kind of have four sexes: https://www.nature.com/articles/539482a
The twist is that this time around they legally are not allowed to do so.
Temptation bundling fixes this for me. I force myself to do whatever task I dislike, and as a reward get to then do whatever I like. Eventually you retrain yourself to execute equally in both spheres.
As a mid-40s marathoner, this is really interesting to me. I don't feel sorry for him; other than that he lived life with an ego condition allowing him to do this. That is sad, but he earned the scrutiny and outing.

Right now, I'm running 50+ miles a week training for a marathon. That is really hard and a major commitment. I won't set any records, but I have a good shot at placing in my age group. I don't run to win anything or achieve a certain place, but I would be somewhat pissed off if some idiot like this cheated and beat me.

I enjoy most of the time that I spend running, but to get to this level, you have to go through a pretty difficult level of training which makes all of your life a lot more stressful during the periods of intense training. Right now, I'm staying in a job that I don't like because the schedule is very flexible and allows me to spend around 15 hours a week training.
The handle is actually quite new. She transitioned months ago but didn't update her handles until last week.
How did you avoid eating more to compensate for missing out on the other 2 meals a day?
The story of Angus Barbieri, who went 382 days without eating
Thanks @scrollaway. I donated to Come Back Alive.
I definitely prefer Rust's documentation to Python's, but while string is a useful example because there's a lot to talk about, it's also a problem because e.g. that Rust documentation is for a type named String, while the Python and Go documentation is about libraries of string processing functions.

So the fact Rust's String is specifically UTF-8 text is highlighted, because the documentation is about the type, presumably (modern) Python and Go also have UTF-8 strings, but that's not the context of the doc links so that's not what they're talking about.

On the other hand, some features you might expect from a string type are (at first glance) missing from Rust's String, because they're implemented on str and so you get them for free because String is Deref<Target = str>

This is also a problem looking at say, Java documentation, if you don't know that all the classes (but alas not the primitives) are sub-classes of Object then you've no reason to assume Object's methods work on them.

Documentation has to be pitched correctly and if you're the wrong audience you will struggle to make use of it. Presumably expert C++ programmers have no problem with this sort of mess:

https://en.cppreference.com/w/cpp/string/basic_string/find