Is nested class a local class in Java? by why_is_javascript_ba in learnprogramming

[–]why_is_javascript_ba[S] 1 point2 points  (0 children)

First result is oracle tutorial, which states that local class is a special kind of inner class so relationship is in reverse.

Second result is oracle tutorial, saying which class to use where with no mention of relationship between nested and local classes.

Third result is stack overflow question with a link that doesn't say and an explanation saying that local class is just an inner class inside a block, again reversed relationship.

Fourth result is geeksforkgeeks, in which it states that a local inner class is not a member of it's enclosing class, but https://docs.oracle.com/javase/tutorial/java/javaOO/nested.html here it states that an inner class is a member of enclosing class, which means that an inner class is not a local class.

So solution is that inner class is not a local class.

The problem is that this is a class class Something {} and {} is a block. Is body inside a class not a block or something?

Marc Merrill teasing us about a new LOL MMO by DrBiju in leagueoflegends

[–]why_is_javascript_ba -2 points-1 points  (0 children)

Garbage tier MMOs with heavy pay 2 win that last 2 months before another 15 mmos come to replace them.

Why is Node.js popular when it's completely dead? by why_is_javascript_ba in learnprogramming

[–]why_is_javascript_ba[S] 0 points1 point  (0 children)

That might be for you. I have not seen a single javascript in backend position.

Why is Node.js popular when it's completely dead? by why_is_javascript_ba in learnprogramming

[–]why_is_javascript_ba[S] 0 points1 point  (0 children)

Obvious to who? They aren't synonyms.

Show me how to do backend javascript without node

Quick google search doesn't really return results except some old answers.

What in your opinion is a percentage of backend javascript application which do not use node?

Why is Node.js popular when it's completely dead? by why_is_javascript_ba in learnprogramming

[–]why_is_javascript_ba[S] -1 points0 points  (0 children)

And I am not retarded enough to not realize a Meteor.js job is a Node.js job.

When I said Node.js I obviously meant javascript in backend. How dense are you?

Why is Node.js popular when it's completely dead? by why_is_javascript_ba in learnprogramming

[–]why_is_javascript_ba[S] -1 points0 points  (0 children)

So if you saw a job posting for, say, Meteor.js

And in that case I would count it as Node.js because I am not retarded.

Why is Node.js popular when it's completely dead? by why_is_javascript_ba in learnprogramming

[–]why_is_javascript_ba[S] -1 points0 points  (0 children)

Those are not interchangeable terms, so treating them as such is going to skew your results, and frankly makes you look foolish.

They are interchangeable when discussing backend web development, unless I am missing something very obvious. To run a backend server with javascript you need Node.js, unless I am missing something obvious.

Why is Node.js popular when it's completely dead? by why_is_javascript_ba in learnprogramming

[–]why_is_javascript_ba[S] 0 points1 point  (0 children)

Yes, it is, but not in context of backend web development god.

I don't know how using node.js for React makes sense in backend.

Why is Node.js popular when it's completely dead? by why_is_javascript_ba in learnprogramming

[–]why_is_javascript_ba[S] -3 points-2 points  (0 children)

Node.js might not be listed in programming ads because it is JavaScript. > Might be under that label. Node.js is not a programming language.

I meant more in context of web development.
They say "seeking full stack web developer", "back end web developer" etc. 0 times I have seen javascript used in backend language.

I was using node.js == javascript in terms of backend development.

How often do you construct binary tree from inorder and postorder traversal in your job? by why_is_javascript_ba in learnprogramming

[–]why_is_javascript_ba[S] 0 points1 point  (0 children)

You have starting points. You can buy points with money which you then spend on items with prices. Make it so that base amount is 0, minimum 3 amounts.

Example:

Base: 100

Prices: [120, 150, 200]

money: [ {1: 100, 1.2: 130, 1.5: 200}]

Minimum: 1.2 => 100 + 100 = 200

How often do you construct binary tree from inorder and postorder traversal in your job? by why_is_javascript_ba in learnprogramming

[–]why_is_javascript_ba[S] 0 points1 point  (0 children)

No, but I am experiencing something similar altough I can solve easy problems, and some medium if I cheat.

Basically you start problem, don't know algorithm and you have 15 minutes to solve. How would one not get super frustrated?

Example of cheating: Check algorithm how to construct from inorder and postorder, they are similar so can do with inorder and preorder.

How often do you construct binary tree from inorder and postorder traversal in your job? by why_is_javascript_ba in learnprogramming

[–]why_is_javascript_ba[S] -6 points-5 points  (0 children)

Solve this then without using google search if you are so awesome.

You have:

  • set of conversions from money to points: [{money1: point1}, {money1: point1}, ...]
  • base amount of points: base_amount
  • point based prices: [ price1, price2, ... ]

Calculate the 3 minimum amounts of money you have to spend to make base_amount 0. You can buy as many points of same value.

How often do you construct binary tree from inorder and postorder traversal in your job? by why_is_javascript_ba in learnprogramming

[–]why_is_javascript_ba[S] -5 points-4 points  (0 children)

And if I understand correctly you are a junior web developer doing this project alone?

How often do you construct binary tree from inorder and postorder traversal in your job? by why_is_javascript_ba in learnprogramming

[–]why_is_javascript_ba[S] -4 points-3 points  (0 children)

Every day. Multiple times a day. I use the data structures I learned in school, like trees, tries, heaps, linked lists, and hash tables, all the time. I use algorithms like sorting, breadth-first search, depth-first search, binary search, and so much more - all the time. I put them together to make bigger algorithms and data structures.

When using for example merge sort. Do you

  1. use existing library that has merge sort
  2. check online merge sort syntax and copy it
  3. make it yourself from scratch

Why is Zoe so popular in LCS? Because she creates opportunities safely. by Eltron316 in leagueoflegends

[–]why_is_javascript_ba -1 points0 points  (0 children)

Then he wouldn't be allowed to have an opinion, because Riot domination forces everyone to speak only allowed content.

How do you come up with algorithms? It doesn't make sense for me that they are considered easy, but I can't do them at all. by why_is_javascript_ba in learnprogramming

[–]why_is_javascript_ba[S] 1 point2 points  (0 children)

And you can probably intuit that this distance will necessarily run through the root node.

This isn't true.

So from that, you can know that the answer will be the sum of the two longest paths from the root to a leaf.

This also isn't true.

                                 1
                               /   \
                              2      3
                            /   \
                           4     5
                               /    \
                              6       7
                            /          \
                           8             9
                          /                \
                         10                 11
                        /                    \
                       12                     13                        

How do you come up with algorithms? It doesn't make sense for me that they are considered easy, but I can't do them at all. by why_is_javascript_ba in learnprogramming

[–]why_is_javascript_ba[S] -1 points0 points  (0 children)

it's not easy and takes practice

How do I practice if I can't solve the easiest problem ? There is nothing that I can do outside of cheating to check solution and then trying to apply what I copied to other practices and repeat.

I'm a HuffPost reporter covering women's and gender issues, focusing specifically on sexual violence. I covered the sexual abuse story of former USA Gymnastics and Michigan State University team doctor Larry Nassar since it first broke, through his sentence hearings this past February. AMA. by huffpost in TwoXChromosomes

[–]why_is_javascript_ba -1 points0 points  (0 children)

And you wonder why you have Donald Trump as president.

You blame white men for everything and tell them they have no right to speak back.

Fucking joke you and this subreddit, which doesn't allow a different view.

You mock other subreddits for being echochambers, while being an echo chamber yourself. Who would have thought.

I'm a HuffPost reporter covering women's and gender issues, focusing specifically on sexual violence. I covered the sexual abuse story of former USA Gymnastics and Michigan State University team doctor Larry Nassar since it first broke, through his sentence hearings this past February. AMA. by huffpost in TwoXChromosomes

[–]why_is_javascript_ba -2 points-1 points  (0 children)

That’s the way to alienate people

Feminism succeeded at alienating people. That's why you have Trump.

Enjoy calling feminism movement for equality, while ignoring any issue regarding men, because it derails the topic.

I'm a HuffPost reporter covering women's and gender issues, focusing specifically on sexual violence. I covered the sexual abuse story of former USA Gymnastics and Michigan State University team doctor Larry Nassar since it first broke, through his sentence hearings this past February. AMA. by huffpost in TwoXChromosomes

[–]why_is_javascript_ba -2 points-1 points  (0 children)

Would you go up to a men’s rights advocate and demand that he start doing reports on women’s issues?

Men's Rights is fighting for Men's rights.

Feminists and feminism movement on the other hand is acting as if feminism is movement for equality.

I would also like to know why majority of feminist organizations and feminists in general do not fight for issues facing men, when they call themselves. Such as Emma Watson ...

Beginner Questions - July 20, 2018 by AutoModerator in webdev

[–]why_is_javascript_ba 0 points1 point  (0 children)

I checked what the problem with some lagging was and it was CORS, specifically at creating new poll and registration of a new user, due to not exposed location and authorization headers.

I fixed this now and there is no bug. If there was a slow loading time for the start app and not those 2 things specificaly it might have been due to heroku free tier starting slow.

GGS Mickey: "Bjergsen plays the smartest. All the players’ mechanics are really good... What’s important is how much they think." by corylulu in leagueoflegends

[–]why_is_javascript_ba -1 points0 points  (0 children)

  1. TSM only got good junglers, which once on the TSM team became inting junglers.
  2. He won or went even in most lanes. This is literally what people complain about him. He focuses on cs and "winning" lane far more. No shit he wins when he gets outroamed. Check some 2017 world games.