Hacker Newsnew | past | comments | ask | show | jobs | submit | labelbias's commentslogin

I thought that i++ ++i difference is related to the inner data structures of C++ iterators and that when using the former you need to keep 2 states compared to just one for that fraction of execution.


thanks for the downvotes, I'm out of here for good!


What does ++ have to do with C++ iterators?

  int i = 0;
  i++;
How could that possibly involve an iterator? Moreover, C doesn't even have iterators.


You can use ++ on an iterator. Indeed you often do, e.g. in loops. ++iterator is preferable, and for consistency/so you don't have to think about its often recommended in C++ environments to just generally use pre-increment.

(Copying an iterator might be a lot more expensive than just copying an int, and might not be effectively optimized out by the compiler - e.g. if someone builds an iterator that's referenced-counted to an owning object or something)


Yet the best NNs are deep, not wide.


What do you mean by 'the best'? Deeper architectures are popular because they quiet easy to train. They do work well in practice on many tasks (especially vision) but they have their limits.

Infinite wide networks are a newly active field and has recently shown some promising results, theoretically [1, 2] and empirically [3].

[1] https://arxiv.org/abs/2001.06931 [3] https://arxiv.org/abs/1806.07572 [2] https://ai.googleblog.com/2020/03/fast-and-easy-infinitely-w...


I'm also interested in this. How hard would it be to remember 440Hz and then just go up in your head, searching with octaves and then going up and down when close?


Lindy effect, stuff worth reading is stuff that has been filtered by time.

Reading old books is worth it. New ones are hard to filter and many will turn out to be completely unnecessary.

Leaves you on the sides of contemporary culture but at least you're reading efficiently.


I thought we were supposed to decolonize our libraries?


These can both be true.

As a simultaneous question and example, Kipling is often given as an example of a British Empire writer with condescending attitudes to the very people he wrote about.

The names of Indian authors never reached me because my parents thought the Empire was unadulterated good, and they thought that because my grandparents were born near the peak of the Empire — one of my grandmothers was, for a period in her infancy, living in a military base in the British Raj.

They whose names I do not know could very plausibly be Kipling’s equal or better. I know from various examples that various cliques will have hidden the names of good authors from me.

That leads me to the question: can anyone here recommend a good Indian author from the same era as Kipling? (Yes I know Kipling was born in India).


> That leads me to the question: can anyone here recommend a good Indian author from the same era as Kipling? (Yes I know Kipling was born in India).

While not a direct answer to your question, I think The Location of Culture by Homi Bhabha is relevant in the sense that it addresses why your question is difficult (perhaps impossible) to answer.


Thanks, I’ll add that to my to-read list.

I suppose rather than asking for a “good” author (subjective, for example I’ve met an Oxbridge English Literature graduate who thought Shakespeare was overrated), I should have asked for a “famous” author from the same era.

The sort of author whose works a current-day Indian politician would have on their shelves, or perhaps quote from, to signal how cultured they are — in the same sort of way UK PM Johnson tried to show how cultured he was by quoting Kipling.


The main thing about GPT-3 is that they wanted to demonstrate one-shot fine-tuning and succeeded at it.

So the model can be transformed to output part-of-speech words, dependency grammar trees or named entities in input even if training data is sparse. Similarily, you could fine tune it to produce game lore and then see how it works for that. The model easily switches to different modes of operation and achieves state-of-the-art or close to state-of-the-art performance.

It's quite funny how NLP folks tried to solve low level tasks (POS tagging, NER, Named entity relationship extraction, dependency parsing, sentiment classification etc.) to get to higher level tasks (good summarization, machine translation, text generation, question & answering) and now a single model captures all the low level stuff for free and does high level stuff so good that finetuning it to do low level stuff is unnecessary.


This, the difference between one-shot fine-tuning, vs fine tuning for GPT-2, is one of the major breakthroughs. Since GPT-3 is so hot in the past few days, people seem to forgot or not realize lots of the GPT-3 examples shown off today were possible with GPT-2, with the catch that you had to fine-tune your own GPT-2 model to fit your problem domain (game plots, poems, music, bots that chats like certain characters, etc). GPT-3 makes that fine tuning process unnecessary (although practically you probably can't/can't afford to fine-tune your GPT-3 model)


Are you sure that set out to proof one-shot works? Maybe they found fine-tuning performance disappointing and decided to publish this instead.


I think there is a large collection of evidence showing that education does not bring prosperity. It's prosperity that brings education. The importance of education is exaggerated.


The greatest managers of capitalism are authoritarian communists.


Just recently used xq to convert and clean up a bunch of weird xml files to JSON. It was such a breeze.

I love how nested lists inside objects can expand into a particular one with the .[] operator.

For example:

{ a: [{b: 5}, {b: 3}], c: 5} can be transformed into: [{ b: 5, c: 5}, {b: 3, c: 5}] using jq '{c: .c, b: .a[].b}'

For heavily nested XMLs I can get a nice flat output.


Nice! I've found xml transforms is one of the best applications of jq (yes, jq, not xq).

In a future post, I'll cover how to use jq not just for json and xml but any data format.


€45,000 does sound a bit low. I lived on €40,000 (after taxes, rent was only 8-10% of the yearly income) in Croatia and lived like a king (travelling, restaurants, buying stuff without worrying about the price, massive amounts of good quality food).

Moving to any other major European city would require me to at least double the income to maintain my standards.


Masai all have atherosclerotic plaque build up and it is also present in their children. Childhood with plaque forces various adaptations to blood vessels. They get wider and more elastic to counter the reduced blood flow and rigidity.

Anyone who isn't a child won't be able to make these adaptations and anyone who isn't on a starvation mimicking diet but is trying to gain or maintain weight on diets filled with dietary cholesterol will almost certainly start building up plaque.

Yes, dietary cholesterol has a low effect on blood serum cholesterol after some amount. So yes, increasing the consumption of eggs from 5 to 10 a day won't linearly effect the blood serum cholesterol.

Problem with fasting mimicking diets is that they are not a cure and are not long-term.

Also, consuming only things that are easy to digest makes you digestion more fragile to varying stimuli in the future. Which is why people who are on these "rejuvinating" diets for a longer period of time tend to experience their disease symptoms much quicker when they go back to eating vegetables rich in antinutrients.

Here's a very nice study where all Masai participants had atherosclerosis. Some even died from heart disease being less than 20 years of age: https://academic.oup.com/aje/article-abstract/95/1/26/167903

"These pastoral people are exceptionally active and fit and they consume diets of milk and meat. The intake of animal fat exceeds that of American men. Measurements of the aorta showed extensive atherosclerosis with lipid infiltration and fibrous changes but very few complicated lesions. The coronary arteries showed intimal thickening by atherosclerosis which equaled that of old U.S. men. The Masai vessels enlarge with age to more than compensate for this disease. It is speculated that the Masai are protected from their atherosclerosis by physical fitness which causes their coronary vessels to be capacious."


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: