703 karma · joined January 3, 2021
# sample call: https://en.wikipedia.org/w/api.php?action=query&format=json&list=geosearch&gscoord=37.7891838%7C-122.4033522&gsradius=10000&gslimit=100
Then I defined a variable, base_url = "https://en.wikipedia.org/w/api.php?"
Then, like magic, Copilot suggested all the remaining keys that would go in the query params. It even knew which params were to be kept as-is, and which ones would come from my previous code: action = "query" # action=query
format = "json" # or xml
lat = str(latitude.value) # 37.7891838
lon = str(longitude.value) # -122.4033522
gscoord = lat + "%7C" + lon
...
api_path = base_url + "action=" + action + "&format=" + format + ... + "&gscoord=" + gscoord
As a guy who gets easily distracted while programming, Copilot saves me a lot of time and keeps me engaged with my work. I can only imagine what it'll look like 10 years from now.> Given the reference to "a well regulated Militia" and "the security of a free State," the ACLU has long taken the position that the Second Amendment protects a collective right rather than an individual right.
https://www.aclu.org/other/second-amendment
Of course, they have their reasons. And they concede that there are some instances where the state goes too far with regulations and prohibitions. But I would want to see an organization which defends civil liberties to frequently err on the side of protecting the individual than the government.
It pains me what's happened to discourse in the last 10 years. I suspect social media has played a role. Many liberals and conservatives frequent these online partisan bubbles where they are exposed to the crazies of the other side (and only the crazies) while dodging the controversies that would make them question their own beliefs.
Surely, if there are foreign propaganda peddlers on social media, then the strategy they follow is not to aid one party or the other, but to pull from both sides until we collapse in the middle.
[0] https://today.yougov.com/topics/politics/articles-reports/20...
Besides, at the end of the day, how different are the two sides? One party wants to prosecute a reporter who found a site vulnerability, and the other party wants to prosecute the man who exposed the world to the dragnet surveillance being conducted by the NSA.
Should the law view child toplessness differently than adult toplessness? And if so, then how would we be making be a step towards the desexualization of the nipple?
I think a lot of these dumb laws get pushed through because few people are willing to speak out against them for fear of being mischaracterized. The liberal Democrats are riding the wave of the cultural zeitgeist.
My question: Why autos, but not other consumer goods? Should I be restricted from buying an iPhone from an Apple store, rather than Greg’s Phone Emporium?
You have a lot of these so-called leftists rebelling against the philosophies of Marx and other communist philosophers on very fundamental issues (e.g. gun ownership for the proletariat, or the freedom of speech) all because of the current political climate in America. At the same time, these people will support and protect Big Tech and other capitalist interests when it is politically convenient to do so. I've heard American leftism once jokingly called Socialism with Silicon Valley Characteristics.
Ask any one of these new-age leftists what they think of Alex Jones' YouTube channel being banned, and they will hit you with a response that would disturb any of the Gen X leftists who grew up in an era where Communist was a dirty word and the protection of free speech was a top-most necessity. New-age leftists have grown up in the left-sympathetic social media era and cannot conceptualize the pendulum ever swinging the opposite direction.
The reality is we have to be in control of our lives despite our condition. If you can't remember things, write them down. If you have a hard time focusing, try to remove distractions from your environment. If your day is unstructured, plan tomorrow out tonight. If you are constantly awake at 3am, set your bedtime earlier and use whatever tools you need to make sure you are asleep at 10pm.
I'm convinced there's just no other way to handle life. The world won't wait for us to be ready, so we have to ready ourselves. It's unfair, but that's life.
Maybe this is a 1990s George Carlin thing to say, but so what if Milo offends people? Should we only be allowed to hear things that don’t offend us?
What's sad is the political discussions aren't even good. Comments are written to appeal to the lowest common denominator of reader, and a lot of subreddit comment sections move at breakneck speed, so what you end up with is a bunch of politically like-minded people dogpiling on top of each other to write something like "Being a republican at this point is basically saying you agree with killing the planet" (an actual current top comment on r/news right now). A few comments down in the chain will be a Futurama reference.
For me, what it always comes back to is this: A downvote is meant to indicate "this comment does not contribute to the conversation," but many website userbases misuse downvotes to say "I disagree." If upvotes/downvotes are proxies for agrees/disagrees, then the comment sections can get ugly.
I believe HN thrives despite the upvote/downvote system because this website is a little more mature than others.
As an anecdote, when my friend was the victim of domestic violence, she confided her history with her abuser to an officer, and that officer gave her very individualized care. Whether their conversation happened inside a bedroom, at a front door step, or at a public park doesn't matter. My friend would not want her abuser, her estranged family members, or anyone else to a hold of the conversation she had with the officer.
It's sort of similar to the Brett Kavanaugh ordeal. Going from memory, the first accuser told her story in private to a Congresswoman in the summer of 2018, I believe it was in July. That politician sat on the information for the rest of July, the entirety of August, and the first few weeks of September. Only when it was closer to the midterm elections and the confirmation process did the Democrats launch their attack against Kavanaugh's character. They urged Congress to delay the vote until after the midterms, which they were hoping to win in a landslide, so that they could deny Kavanaugh a seat.
In either case, we have politically-minded people deliberately timing the release of information. As regular voters, we have to decide what's more important: what the information reveals, or how it is being weaponized.
To all the young men out there in particular... live up to your potential, man. You're only going to be in your 20s once. You don't want to spend it all waddling around in cargo shorts with messy hair. Lose the weight, lift some barbells, eat more protein, buy a Seiko, iron your work shirt, layer your clothes, try a skincare routine, and look as good as you possibly can. You'll become more confident, and people love confidence, so you'll be even more liked.
Even if the whole world lived in a post-scarce global society, there would be wars fought over who controls the supply chains, who lives downtown and who lives uptown, who eats veal and who eats chicken, etc. And there would be entrepreneurial types who are willing to trade food for lumber, or land for sex.
https://www.washingtonpost.com/goingoutguide/playground-safe...