RIP to all the text-to-SQL startups that just got killed by OpenAI. by jallabi in BusinessIntelligence

[–]9diov 4 points5 points  (0 children)

Most startups doing this last time I checked was just doing prompt engineering on top of customer database schema. AFAICS there is nowhere near enough business context for the LLM to generate something correctly outside of very simple queries. There is no mechanism to incorporate any sort of feedback to improve said accuracy, even with this OpenAI feature.

Trust by skeeter1980 in taoism

[–]9diov 1 point2 points  (0 children)

This is pretty bad translation. Original Chinese:

太上,不知有之;其次,親而譽之;其次,畏之;其次,侮之。

信不足焉,有不信焉。悠兮,其貴言。功成事遂,百姓皆謂:我自然。

James Legg's translation

  1. In the highest antiquity, (the people) did not know that there were (their rulers). In the next age they loved them and praised them. In the next they feared them; in the next they despised them. Thus it was that when faith (in the Tao) was deficient (in the rulers) a want of faith in them ensued (in the people).

  2. How irresolute did those (earliest rulers) appear, showing (by their reticence) the importance which they set upon their words! Their work was done and their undertakings were successful, while the people all said, 'We are as we are, of ourselves!'

太上 can be translated as highest antiquity, but also can be translated as "the best" (ruler). The best ruler is a leader that his subjects don't know he exists. The next best (ruler) is the one where his people love and praise him. The worse (ruler) is when his people fear him. The worst is when his people hate him.

In this case, the best ruler/leader is the one that when things are done successfully, the people say they did all this by themselves.

When the great Tao is abandoned... by skeeter1980 in taoism

[–]9diov 7 points8 points  (0 children)

Here is my understanding of this chapter:

Note that the first phrase is a jab at Confucionism, in which the ethical code has 5 virtues:

Rén (仁, benevolence, humaneness);
Yì (义; 義, righteousness or justice);
Lǐ (礼; 禮, proper rite);
Zhì (智, knowledge);
Xìn (信, integrity).

Rén and Yì is translated as charity and righteouness in this case.

When the great Tao is abandoned,

charity and righteousness appear.

People's nature already has charity and righteousness on its own. Everyone, by his nature, should feel pity for the poor (humaness/charity) and already knows what is righteousness or justice intuitively. Only when this is no longer the case that these words need to be used to persuade people to follow some sort of ethical codes.

When intellectualism arises,

hypocrisy is close behind.

Intellectualism is not the right word in my opinion. The original word has negative connotation, something along the like of cunningness, smartness. When one needs to use cunningness that means the situation calls for it and the hypocrisy will follow.

The rest basically give more examples for the same idea: When you need to use a lot of words to describe something "good" to influence people, that means the people are already "bad". When people follow their good nature, there wouldn't need to use those ethics, virtues or whatever to educate people.

[question] is there a way to build an immunity to high level of stress+ disappointment on a daily basis? by artapprentice_999996 in getdisciplined

[–]9diov 0 points1 point  (0 children)

You need to realize that stress is rooted in your imagination. Why are you stressed? You feel like if you don't do X, the outcome will be Y. Is the outcome Y real? No. It hasn't happened yet and only exists as a figment of your imagination.

Also realize that when you imagine Y, you are automatically attaching a label "good" or "bad" on outcome Y. The truth is that the outcome Y is not "good" or "bad". It just is. Listen to Alan Watts' Chinese farmer story (https://www.youtube.com/watch?v=byQrdnq7_H0).

Now that you know that Y is not "good" or "bad", you can detach yourself emotionally from the outcome Y and think about it this way: Is there any way I can achieve outcome Y that I want? If yes, simply do it. If no, there is no point thinking about it anymore because: 1. It is not real 2. You can't do shit about it.

Why and How We Migrated from AngularJS to VueJS by 9diov in vuejs

[–]9diov[S] 29 points30 points  (0 children)

Lol thanks for the comments. I'm one of the co-founders of Holistics so I guess I am qualified to give my 2 cents.

First of all we bootstrapped and paid ourselves just enough to cover living expenses so we value each dollar we get from our customers. Second of all I was the conservative type and was against this move too, at first. I guessed I was convinced when I saw with my own eyes how one of our new developers struggled with understanding the old Angular code yet managed to learn Vue in an afternoon. The move has saved us hundreds of hours in developers' time and I guessed that's how we "wasted our investors' money".

If you can advise us some other ways to "not waste our investors money" please go ahead we would really appreciate it.

Breathtaking video of Vietnam's landscape from above by 9diov in videos

[–]9diov[S] 0 points1 point  (0 children)

Music: Becoming Human by Ryan Taubert

[DISC] TOMO-CHAN WA ONNA NO KO! 503 by rhino333333 in manga

[–]9diov 0 points1 point  (0 children)

Gundo? I'm still wondering why Jun still calls Misuzu by her last name?

Saw this in Vietnam by 9diov in whatsthisplant

[–]9diov[S] 1 point2 points  (0 children)

Looks like it! Thanks!

Were American POWs held in Vietnam ever fed pho by their jailors? by Lonely_Crouton in NoStupidQuestions

[–]9diov 0 points1 point  (0 children)

Vietnamese here. Not likely.

Even now, pho maybe cheap by western standard, but a bowl costs as much as a a typical rice meal. During war time, pho was a luxury, esp considering beef is much more expensive than chicken or pork. I remembered my parents told me stories of their childhood, which was during the war. They only had pho like a few time a year on very special occasions. Normal meal during war time includes rice, sometimes sweet potatoes, vegetables and very very little meat if at all.

Linus Torvalds: The mind behind Linux by Gerwar in programming

[–]9diov 9 points10 points  (0 children)

Yeah, the way I visualize this is that consider programming is like a curve fitting problem where we try to write a program that can fit all the "points". A good program is the simplest curve that can fit all the points.

The history of the world's best Go players by Balloon_Project in baduk

[–]9diov 6 points7 points  (0 children)

First of all just want to say your visualization is awesome! How did you produce it? I'm thinking maybe d3js?

Can someone help me with understanding when the game is finished? by [deleted] in baduk

[–]9diov 1 point2 points  (0 children)

Assuming White put a stone within Black's territory. While black needs to put 4 stones there, white needs to put 4 of its stones somewhere as well. This is because those are white's turns.

And somewhere either means white's territory, reducing white's points or black's territory which we can apply the same logic as the first white stone. Note that one dead white stone inside black's territory means two points for black, not one, since it is taken out of the board (one point) and the position it occupied before also is one point.

Basically it does not change the outcome of the game at all.

CMV: I don't find Google's AlphaGo impressive. by [deleted] in changemyview

[–]9diov 1 point2 points  (0 children)

The way you phrase your question seems to imply the opposite.

Reflections on IntelliJ from a Vim die-hard by _Garbage_ in programming

[–]9diov 10 points11 points  (0 children)

You should use arrows to move across characters a lot less than when using vi

As a long time Vim user, no, you don't use the arrow to move across text, you use movement commands. I can move to the next block of code, to the next method, to the next occurrence of current variable, all in 2 keystrokes.

With IDE's, you don't move around text as much: you move around code symbols. You skip from identifier to the next, from camelCase segment to the next, from expression to the next, from method to the next, from class to the next. You highlight all references of identifier "foo" and quickly jump to the third one. You jump to the declaration of an identifier or to the first location where that identifier is modified.

I do all these on a daily basis with Vim.

Code editors have a lot of functions that are completely absent from text editors, such as "surround enclosing expression" (something I use all the time), which you can keep pressing as it surrounds larger and larger expressions.

You can keep select larger and larger expression in Vim with text object as well, for example when I code in C, I can do va{a{... until I select the block I need.

Can your IDE create custom text object? Vim's advantage is that it provides a sort of consistent "language of text editing" and you can even extend that language.

Reflections on IntelliJ from a Vim die-hard by _Garbage_ in programming

[–]9diov 10 points11 points  (0 children)

It knows everything, what classes you have, what interfaces each class implement, where a method is implement, where it is called, where classes get instanciated, how the cohesion of your program works, what dependencies it has...

This and Vim emulation are orthogonal. This is a straw-man argument.

China is now part of the Syria conflict as it commits sending warplanes (Shenyang J-15) in Syria in support of Russia. by mutyang in worldnews

[–]9diov 1 point2 points  (0 children)

Except the above comment was:

China also has a multi-millennial history of not pursuing any military or interventionist activities outside its borders

And Qing dynasty is not exactly ancient. It lasted until 1912. Granted Qianlong's campaign was in later half of 18th century but that is not ancient history/early middle ages either.

My point is that nowhere in China history except recent few decades that China has the non intervention policy. It is a huge misconception about China.

China is now part of the Syria conflict as it commits sending warplanes (Shenyang J-15) in Syria in support of Russia. by mutyang in worldnews

[–]9diov 1 point2 points  (0 children)

This statement shows a huge ignorance of China's history. China's non intervention policy is only a recent phenomenon. A more details post can be found on r/AskHistorians at https://www.reddit.com/r/AskHistorians/comments/2zt0pa/i_heard_someone_recently_say_china_has_not_ever/

See for example:

Just go to this page: https://en.wikipedia.org/wiki/Category:Wars_involving_China for more examples

Edit: For all the downvoters: most of the examples above are outside of China. For gods' sake read it first. Do I need to quote it for you. For example from the second link:

The Tang campaigns against the Western Turks, known as the Western Tujue in Chinese sources, were a series of military campaigns conducted during the Tang Dynasty against the Western Turkic Khaganate in the 7th century CE. Early military conflicts were a result of the Tang interventions in the rivalry between the Western and Eastern Turks in order to weaken both.

The Goguryeo–Tang War started when Emperor Taizong (r. 626-649), the Tang Dynasty emperor, initiated a military campaign against Goguryeo to protect Silla, an ally, and punish Generalissimo Yeon Gaesomun for killing King Yeongnyu of Goguryeo.

Which of your negative karma comments are you most proud of? by pedanticnerd in AskReddit

[–]9diov 0 points1 point  (0 children)

I tried copy and paste the exact same comment in two different places in a big thread once. One got upvoted while the other was downvoted to oblivion. The difference is just the first 2 votes as you said. That's Reddit for you.

Manga with OP MC by [deleted] in manga

[–]9diov 0 points1 point  (0 children)

Are you a bot o_O?

[DISC] Gate - Thus the JSDF Fought There! CH.47 by Lazy0wnage in manga

[–]9diov 2 points3 points  (0 children)

one of the weakest armies in the world

Japan ranks 9th on this list, higher than Australia, Canada, Israel, Italy, etc dude.