New post on Technology trends with Ali Khan | Content Writer, Blogger, Full Stack Developer, Senior Software Engineer, Data Scientist, Solutions Architect, Open Source Contributor, Java Script Expert
Unsubscribe to no longer receive posts from Technology trends with Ali Khan | Content Writer, Blogger, Full Stack Developer, Senior Software Engineer, Data Scientist, Solutions Architect, Open Source Contributor, Java Script Expert. Change your email settings at Manage Subscriptions.
Manoj posted: " In GitHub every repository can publish packages, which can be used as dependencies in other projects. There are two type npm registry where we can publish packages, npm registryGitHub npm registry Which one I should use ? It's up to you, can try bo"
In GitHub every repository can publish packages, which can be used as dependencies in other projects. There are two type npm registry where we can publish packages,
npm registry
GitHub npm registry
Which one I should use ? It's up to you, can try both of them . In this article we are on the GitHub way.
Naming rule
Name of the package should include organization/username and will look like
@organization/name_of_the_pacakage
So adjust name in package.json
Repository
Don' forget to publish the repository and add it to the package file as follows
We have to use the personal access token to authenticate, we can add the secret to the .npmrc file, so that need not authenticate manually.
Requirements
All thing need to publish a regular npm package also require for Github Package, package.json, readme.md and build project. Additionally requires .npmrc file for registry configuration.
.npmrc
This file can contain the registry information and authentication secrets, we need not expose this file to repository, so that add the file to the .gitignore
//.gitignore .npmrc node_modules
In the .npmrc include the registry information along with organization / owner .
Replace the owner with user/org and TOKEN with personal token generated.
Publish
Let's jump into terminal issue the npm publish command and it will take few minutes to update. The package will list on the repository as well as on user/org profile page.
Update
How to update package ? Can't do that ! instead publish new version by change the version in package.json and publish new one.
Remove
For removing, there is dedicated delete button in relevant package.
B Gourley posted: " Euthyphro by Plato My rating: 5 of 5 stars Amazon.in Page This is one of the early Socratic dialogues of Plato. I mention that because the early dialogues are believed to more truly reflect the ideas of Socrates (whereas the mid to late dialogues include"
Amazon.in Page This is one of the early Socratic dialogues of Plato. I mention that because the early dialogues are believed to more truly reflect the ideas of Socrates (whereas the mid to late dialogues include many more of Plato's ideas – just using Socrates as a mouthpiece / pedagogic medium.) It's notable as one of the dialogues that happens around the trial of Socrates, and, while not as famous as "The Republic" or "Symposium," it's among the more well-known and accepted of Plato's 35 Socratic dialogues.
Socrates meets Euthyphro on the courthouse grounds. Socrates is waiting to be tried; Euthyphro is bringing suit against his own father. Thus begins a conversation on piety and impiety. Euthyphro counts himself an expert in the subject and is utterly confident in his charge of murder -- despite confounding issues: (i.e. it's more death by negligence than outright murder and there is the question of dishonoring one's own father.) Being on trial (in part) for impiety, Socrates is eager to learn what he can from Euthyphro.
Using his eponymous method, Socrates boxes Euthyphro into a corner from which the self-declared master can no longer defend his iron-clad confidence in his own piety. [The Socratic method employs questions to uncover ignorance and logical inconsistencies.] After answering that something is holy because it's loved by the gods, Euthyphro is queried about whether the gods are a unitary actor (i.e. do they all love the same things?) The dialogue ends with Euthyphro high-tailing it, unable to work his way out of the philosophical trap into which he has fallen.
All of the Socratic dialogues around the trial of Socrates are worth reading. The translations are readable, and offer great insight into – at least what Plato interpreted as – Socrates' process.
ephemeralnewyork posted: " The lazy dog days of summer along the waterfronts of late 19th century New York could could also be dangerous, thanks in part to a strange old tradition called "launching day." Boys at Rutgers Slip in 1908 On either August 1 or the first Friday in "
The lazy dog days of summer along the waterfronts of late 19th century New York could could also be dangerous, thanks in part to a strange old tradition called "launching day."
Boys at Rutgers Slip in 1908
On either August 1 or the first Friday in August (sources differ on exactly when it was held and how long it lasted), boys (and some men) along the city's rivers would pick up another boy or man and launch them into the water.
"Yesterday was what the boys along the water front call 'Launching Day,'" wrote the New York World on August 3, 1897. "They throw each other into the river, clothes and all, saying, 'Now swim and give yourself a bath.'"
"Splinter Beach" by George Bellows, 1916
The origins of launching day aren't clear, but one Brooklyn newspaper stated in 1902 that it "has been a summer event ever since Robert Fulton launched the first steamboat into the Hudson in 1807."
Launching Day was apparently held in Brooklyn as well. "Tomorrow will also be a fine day for the little boys along the river front who will observe 'Launching Day,'" reported the Brooklyn Daily Eagle on July 31, 1897, a Saturday. "This juvenile holiday will, in all probability, last for three days, as some little boys do not like to be thrown overboard in their Sunday togs."
Boys on a Brooklyn pier
It all sounds pretty innocent. On hot summer days boys all over the city without access to swimming pools or beaches cooled off by wading into the East and Hudson Rivers. Near South Street they dove off the docks at Market and Dover Streets; in Yorkville and East Harlem they swam into the water near treacherous Hell Gate.
The problem with Launching Day, though, was that many people didn't know how to swim in the 19th century city. Inevitably, newspapers carried tragic stories the next day about people who ended up in the water and never resurfaced.
1911 New York Evening World headline
"August 1 has been known about the waterfront for many years as 'Launching Day,'" wrote the New-York Herald on August 2, 1900. "Anybody who ventures on a pier is in danger of being thrown into the water....John Kriete, 21 years old, an iceman of 312 East 84th Street, pushed a workman, George Krause, of the same address, overboard at East 100th Street yesterday and fell in afterward himself. Kriete was drowned."
"In Brooklyn the drowned body of Thomas McGullen, the 10-year-old son of John McGullen of No. 70 Hicks Street, was taken from the water at Henry Street," wrote the New-York Tribune on August 2, 1903. "He was pushed off the pier by his playmates, who were celebrating 'launching.' They thought he could swim."
The action along an East River dock
Exactly when launching day died out I'm not sure. But by the 1930s, newspapers interviewed people who recalled the tradition.
In the Daily News in 1934, a police reporter wrote: "I've known how to swim for 30 years because I was one of the West Side kids who used the Hudson River. We don't have it now but then we had an annual 'Launching Day'....Everybody near the water got thrown in, clothes and all. You had to swim or else."
[Top photo: George Bain Collection/LOC; second image: George Bellows; Third photo: New-York Historical Society; Fourth image: New York Evening World; Fifth image: NYPL]