How to detect a point is above on the plane or below in $mathbb{R}^3$ given a plane equation and a point? [migrated]

I have a plane with equation of $x+2y+z=1$ and I have a point (-38,-46,129) and I want to know that on which side of the plane does this point is present(Above or Below the plane)?

All topic

Why was Dolores Umbridge not removed from the Ministry of Magic earlier?

At the end of book 5, Umbridge was exposed to be the one who sent Dementors after Harry Potter, and she attempted to perform the Cruciatus curse on Harry Potter!!!! In book 6, Rufus Scrimgeour took over as the Minister for Magic, but why didn’t he remove Umbridge from the Ministry in the first place? Surely, he was more proactive than Fudge right?

All topic

Listview not show anythings after using NavigationDrawer

I am new in android programming, my project is about getting RSS Feeds from web, it works fine, then I have moved the app to be in Navigation drawer menu.
Then the application become not working I’m sure there is no error on code but in onActivityCreated() method “I think that !”. anyway this my code

Main Activity:

public class MainActivity extends AppCompatActivity
    implements NavigationView.OnNavigationItemSelectedListener {
NavigationView navigationView=null;
Toolbar toolbar=null;
protected void onCreate(Bundle savedInstanceState) {

    RssFragment fragment=new RssFragment(); fragmentTransaction=getSupportFragmentManager().beginTransaction();
    toolbar = (Toolbar) findViewById(;

    DrawerLayout drawer = (DrawerLayout) findViewById(;
    ActionBarDrawerToggle toggle = new ActionBarDrawerToggle(
            this, drawer, toolbar, R.string.navigation_drawer_open, R.string.navigation_drawer_close);

    navigationView = (NavigationView) findViewById(;


public class RssFragment extends Fragment implements AdapterView.OnItemClickListener {

private ProgressBar progressBar;
private ListView listView;

public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
    View view = inflater.inflate(R.layout.fragment_rss, container, false);
    progressBar = (ProgressBar) view.findViewById(;
    listView = (ListView) view.findViewById(;
    final SwipeRefreshLayout pullToRefresh = (SwipeRefreshLayout) view.findViewById(;
    pullToRefresh.setOnRefreshListener(new SwipeRefreshLayout.OnRefreshListener() {
        public void onRefresh() {
    return view;

public void onActivityCreated(Bundle savedInstanceState) {

private void startService() {
    Intent intent = new Intent(getActivity(), RssService.class);

 * Once the {@link RssService} finishes its task, the result is sent to this BroadcastReceiver
private BroadcastReceiver resultReceiver = new BroadcastReceiver() {
    public void onReceive(Context context, Intent intent) {
        List items = (List) intent.getSerializableExtra(RssService.ITEMS);
        if (items != null) {
            RssAdapter adapter = new RssAdapter(getActivity(), items);
        } else {
            Toast.makeText(getActivity(), "An error occurred while downloading the rss feed.",

public void onItemClick(AdapterView parent, View view, int position, long id) {
    RssAdapter adapter = (RssAdapter) parent.getAdapter();
    RssItem item = (RssItem) adapter.getItem(position);
    Uri uri = Uri.parse(item.getLink());
    Intent intent = new Intent(Intent.ACTION_VIEW, uri);
public void onStart() {
    IntentFilter intentFilter = new IntentFilter(RssService.ACTION_RSS_PARSED);
    LocalBroadcastManager.getInstance(getActivity()).registerReceiver(resultReceiver, intentFilter);

public void onStop() {


This is was the main activity in the app that call RssFragment before moved to navigition drawer main activity :

public class MainActivity extends AppCompatActivity {
public void onCreate(Bundle savedInstanceState) {

    if (savedInstanceState == null) {
private void addRssFragment() {

    FragmentManager manager = getSupportFragmentManager();
    FragmentTransaction transaction = manager.beginTransaction();
    RssFragment fragment = new RssFragment();
    transaction.add(, fragment);

Note: The application was working well but when I moved it to navigation drawer it did not work and the activity does not show anything,just swipe to refresh widget.

All topic

proof of funds in Italy visa application [duplicate]

This question already has an answer here:

  • How much money is needed in my bank account for a Schengen visa? [closed]

    1 answer

been planning to apply a visa to visit my boyfriend in Italy.he is going to be the one providing accommodation. so I don’t need to show hotel bookings… problem is that they are asking for bank guarantee which he can’t provide…and on my side I can’t provide 6 months bank statement as am not working.. my brother wants to sent to me 3000euros to my account to proof that I have funds for use there.. will the visa center accept this? I give the copy of the bank balance and copy of my credit card. then my boyfriend proof that he will be accommodating me.. is this acceptable? please advise. thank you

All topic

Is the maximum a task difficulty can be eased 4 without applying Effort?

The rules on task resolution are stated below:

A character’s level of skill is either trained
(reasonably skilled) or specialized (very skilled).
If you are trained in a skill relating to a task,
you ease the difficulty of that task by one step.
If you are specialized, you ease the difficulty
by two steps. A skill can never ease a task’s
difficulty by more than two steps.
Anything else that reduces difficulty (help from an
ally, a particular piece of equipment, or some other
advantage) is referred to as an asset. Assets can
never ease a task’s difficulty by more than two steps.
You can also ease the difficulty of a given
task by applying Effort. (Effort is described in
more detail in Chapter 8: Rules of the Game.)
To sum up, three things can ease a task’s
difficulty: skills, assets, and Effort.

Numenera Discovery. Pg. 15

Does this mean that there is no means through which to ease a task by more than 4 if one does not utilize Effort?

All topic

extract a text between an HTML tag specified by a class in google script

I’m using below function to avoid using importxml in google sheets:

function importRegex(url, regex_string) {
  var html, content = '';
  var response = UrlFetchApp.fetch(url);
  if (response) {
    html = response.getContentText();
    if (html.length && regex_string.length) {
      var regex = new RegExp( regex_string, "i" );
      content = html.match(regex)[1];
  return content;  

I want to extract text between an HTML tag. The HTML code is like this:


I want to extract “john” using class=”js-userid-text”.

I’m using this forumula in a cell in google sheets but it doesn’t work:

=importRegex(R2, "(.*)")

All topic

Is there a website or application to process an English video & add English subtitles automatically?

I am an English language learner.

I encounter serious problems when watching a lot of English language videos. Some speakers talk so fast that I do not understand exactly what they are saying.

Of course, some videos in YouTube have online subtitles, but when I downloaded it, the subtitles were not downloaded with those movies.

Therefore, this is my question:

Is there a website or application to process an English video & add English subtitles automatically?

NOTE: I’m not looking for sites like Subscene, SubtitleSeeker etc. Because I’m not actually watching movies or TV series, but I’m watching scientific videos which actually do not have any prepared subtitles and most of them do not exist in YouTube(So this is not a YouTube-problem).

I’d really appreciate your help!

All topic



・オンライン学習 – 1回の学習で全てのデータを使用するため、1エポック内で学習は1回
・バッチ学習 – 1枚ずつ重みの更新をするため、1エポック内で学習は1000回
・ミニバッチ学習 – バッチサイズ10の場合、訓練画像は100セットに分けられるため、1エポック内で学習は学習は100回


All topic

Can terms of service override any written laws?

Can ToS override some/any aspects of written laws, or rights granted by written law?
I know that ToS cannot compel one to commit murder, theft etc, and that most human rights are off limits. I’ve seen examples of the right to sue able to be waived via agreeing to a ToS.

As I understand it, there are also some consumer rights that can be surrendered (but others that can’t).
Are there any specific examples of rights that can be surrendered via ToS, especially where a court has upheld that capability?

Generally I’m talking about the Common Law systems in the major regions (UK, North America and Oceania). Anything that applies to (majority of) Europe would be fine too.

All topic

Can I use shadowsocks realize the OpenVPN’s function?

Our company has a LosAngeles Internet Data Center, and we locate in the New York.
The LosAngeles IDC have a Dedicated Server(I called manager server) can access the servers of LosAngeles IDC via intranet(such as 10.1.1.*).

We locate in the New York, we through a OpenVPN Client connected to the LosAngeles IDC manager server(it provide the OpenVPN server), then we can access the all of LosAngeles servers in New York.

But there is a condition, we can not use OpenVPN now, so I set up a shadowsocksr server in the LosAngeles IDC manager server, in New York I can use shadowsocks client connect to the LosAngeles manager server, but in the browser I can not connect to the other servers via intranet.

Whether is the settings of client cause this issue?

All topic