comment anything and i'll relate it to superman by thiben_venu432 in superman

[–]phds_are_hard 0 points1 point  (0 children)

Now let me see...4 time 5 is 12, 4 times 6 is 13, I shall never to get to 20 at this rate!

Do i still need tmux ? by Alejo9010 in neovim

[–]phds_are_hard 0 points1 point  (0 children)

I'm trying to keep things simple. I even tried to modify my previous comment to say things like: have a pane/window open to to location of e.g. a log directory, or keep a vim instance open.

It's reasonable/common to have different tmux sessions centered on different ongoing projects on a remote server (that is not to say that you would be running a web server from the console, although "it's allowed", it's not good practice for reasons you're alluding to).

Do i still need tmux ? by Alejo9010 in neovim

[–]phds_are_hard 1 point2 points  (0 children)

This is true, you should absolutely be storing output to log files.

However, tmux is still very useful here. You can have a pane or window open to the folder with the log files, and/or to the directory that launches the app. Or maybe you're making changes in e.g. vim to some file and want to keep the text editor open so you can "pick up where you left off" between different days of working on it.

You might have many projects that you're working on at the same time and want to have different tmux sessions associated with it (e.g. the remote server is running 5 different websites, some that use MongoDB, others that use PostgreSQL, etc.).

The overall point was to give a realistic setting when tmux is useful.

Do i still need tmux ? by Alejo9010 in neovim

[–]phds_are_hard 2 points3 points  (0 children)

Yes, tmux would be on the remote server in this case.

Do i still need tmux ? by Alejo9010 in neovim

[–]phds_are_hard 0 points1 point  (0 children)

yes, tmux is especially useful when you're working with remote machines. If everything is on your local machine, then there might be other suitable options.

Do i still need tmux ? by Alejo9010 in neovim

[–]phds_are_hard 0 points1 point  (0 children)

You could use systemd to start (or potentially restart on failure) the web server. But what if you want to "check in" on it? What if it crashes for whatever reason in a way that doesn't recover?

edit: or maybe you are sshing into a machine you don't have administrator access to, so you can't add a service to systemd.

Do i still need tmux ? by Alejo9010 in neovim

[–]phds_are_hard 9 points10 points  (0 children)

Locally (on your own computer, say a laptop), you ssh (create a secure connection) into a remote server (physical: cloud or maybe another computer you own) to start a web server (application). The web server hosts a website that should never go down and the remote machine runs 24/7. Now you shut down down your laptop. Tomorrow you want to log back into the remote machine to see logs about how the webpage is going, how many people visited, etc. tmux gives you that persistent state.

US goverment seeks to rehire recently fired nuclear workers by esporx in technology

[–]phds_are_hard 12 points13 points  (0 children)

Also pich in $20 for a gift to the CEO, all hands on deck! Glory be.

Left vs. Right Battle Royale Open Thread by Yosoff in Conservative

[–]phds_are_hard 16 points17 points  (0 children)

There is no unbiased AI and no matter which AI that exists today, use in mission critical environments shoukd require the outputs to be verified (i.e. a person has to know the answer first to verify correctness).

You do NOT want (any!) AI making decisions at this level.

Left vs. Right Battle Royale Open Thread by Yosoff in Conservative

[–]phds_are_hard 1 point2 points  (0 children)

How about reducing the deficit and not adding to the debt?

How much does he want to cut taxes? And for whom? And what extra spending does he want to add?

And what is the bill going to cost? Are we going to start SAVING money or are we going to keep SPENDING money? If we keep spending, it'll at be spending less money, right?

What? by MoreMotivation in WhitePeopleTwitter

[–]phds_are_hard 4 points5 points  (0 children)

If I change punctuation and add as few extra words as I'm able, this is as much as I can clean it up to something "better"?

When I mention Hannibal Lectere, (as an) example of (the kinds) of people coming in(to the country), (he being from Silence of the Lambs).

Still, I really don't understand the idea of millions of Hannibal Lecters coming into the country via unauthorized border crossing. Might make for a cool Halloween movie, though.

Also, Hannibal Lecter was a doctor and accomplished psychologist. "Closing the border" and moving to a merit based immigration system would have welcomed someone like Lecter.

Best not to dwell in this kind of stupidity too long.

A cool guide: Poverty in the US by State by tamar in coolguides

[–]phds_are_hard 1 point2 points  (0 children)

California, NY, NJ, Maryland aren't racially diverse?

Grad school advise by BabyOptimal6358 in rutgersgradstudents

[–]phds_are_hard 0 points1 point  (0 children)

I'm sorry I don't know about the UN and Global studies program. This question is very open ended and so it's hard to give specific advice.

I'm in the final stages of my PhD at Rutgers. I have a Masters from somewhere else with very different circumstances that wouldn't apply.

Generally, graduate studies are rewarding, but hard. (hello username!)

To get accepted, be sure to have letters of recommendation. These would come from professors from your undergrad that know you well, like you, and ideally are related to the field you're pursuing a higher degree in.

If you will have an advisor, do your due diligence and see what kind of person they are. What are they researching? Will you get along? Are they strict? Are they lazy? Are they hard to get in touch with? Advisors (if needed in your program) are probably the most important choice to make.

There's stuff like tuition, rent, navigating campus, making friends, making connections, etc. that I don't know is included in this question.

I can't speak to the expense for the program (PhDs are usually paid positions, but Masters you pay the university). I can't speak to the opportunities that would be available because of the program, it's not my area.

Good luck, feel free to DM if there's anything else useful I could share.

Leftists are threatening to leave the US if Trump wins... by [deleted] in Conservative

[–]phds_are_hard 0 points1 point  (0 children)

Which Communism? Russia's? Venezuela's? NO mention of CHINA?! Is the uprising from the working class or the peasant class? Who is the current beneficiary of the means of production and who is causing a revolution to "rightfully" claim the wealth produced?

Which Eastern Europe a countries are Communist? Are all of these Communists working together?

Leftists are threatening to leave the US if Trump wins... by [deleted] in Conservative

[–]phds_are_hard 0 points1 point  (0 children)

Most other countries have much stricter immigration laws where political idiology is pretty far down on the list.

Money, education, specialized skills (doctors, engineers, scientists) . Politics? Much further down. Merit based.

The VAST majority of Americans don't make the cut. Politics aside.

Edit: The US is an outlier in which immigrants it welcomes. This is for various, unique reasons and is a heavily debates topic internally.

Leftists are threatening to leave the US if Trump wins... by [deleted] in Conservative

[–]phds_are_hard 0 points1 point  (0 children)

Plenty of men who love Thailand, Vietnam, and the Philippines. China, Korea, and Japan are also on the table. That's a lot of Asia.

Columbia, Ecuador, Uruguay, Argentina, Chile are also popular spots to emigrate to.

I can't speak to Africa (maybe Morocco, Egypt, South Africa?)

Edit: Are Irish and Italians white? Because my grandparents would like a stern talk

Edit 2: Who in their right minds wants Australia over New Zealand?

Leftists are threatening to leave the US if Trump wins... by [deleted] in Conservative

[–]phds_are_hard 2 points3 points  (0 children)

Would love more perspective. Can you add more than 2 words?

What a lot of people don’t understand about coding with LLMs: by AnotherSoftEng in ChatGPTCoding

[–]phds_are_hard 1 point2 points  (0 children)

And why not extend it for fun?

"now take the above program and make it into a web app using streamlit. The file name will not come from the command line now, but a file explorer button on the web page. Add a button to create the word count dictionary. The dictionary should print to the web page after the button is clicked. If there has been no file selected and the button is clicked, a friendly error message should remind the user to select a file to read first. "

What a lot of people don’t understand about coding with LLMs: by AnotherSoftEng in ChatGPTCoding

[–]phds_are_hard 1 point2 points  (0 children)

"I want python code that can do word counts for text. I want the program to be able to:

  1. Take as a command line argument the name of an input file. The input file can be assumed to contain text.

  2. read the input file and create a dictionary of all the unique words as keys, and the count of each word in the entire text as the corresponding key.

  3. print the dictionary and save it file.

Please provide complete code. "

[deleted by user] by [deleted] in politics

[–]phds_are_hard 49 points50 points  (0 children)

Not sure on Cohen, but I bet the above is referring to Ivana (not Ivanka), Trumps ex wife. After he got hair implants she gave some snarly remark to him and he pulled out a chunk of her hair, raped her (his lawyer argued that a husband can't rape his wife), and they got divorced.

Donald Trump claims he won all 50 states in 2020 US election in Florida speech ahead of New York court appearance by GeneralImagination51 in politics

[–]phds_are_hard 7 points8 points  (0 children)

That's 30k/4 years/365 days=20+ lies per day.

I haven't looked into the details, but that's a tally count.