HNHacker News
TopNewBestAskShowJobs

e0a74c

40 karma · joined September 6, 2021

submissionscomments
e0a74c··on GitHub Copilot available for JetBrains and Neovim
I'm surprised no one has suggested using `requests` considering how easy, safe and readable it is:

    >>> import requests, pprint
    >>> 
    >>> 
    >>> url = "https://en.wikipedia.org/w/api.php"
    >>> resp = requests.get(
    ...     url, 
    ...     params=dict(
    ...         action="query",
    ...         list="geosearch",
    ...         format="json",
    ...         gsradius=10000,
    ...         gscoord=f"{latitude.value}|{longitude.value}"
    ...     )
    ... )
    >>> 
    >>> pprint.pprint(resp.json())
    {'batchcomplete': '',
     'query': {'geosearch': [{'dist': 26.2,
                              'lat': 37.7868194444444,
                              'lon': -122.399905555556,
                              'ns': 0,
    ...
e0a74c··on Privacy Is a Human Right
Does anyone know why the tor browser doesn't let users change the guard/entry node and why the guard nodes are often located in the same country as the user? As a dictator who hates free speech and has full control over the tor guard nodes in my country, doesn't this make my job easier?
e0a74c··on Signal for Help
I hope you're joking. How can someone not know that the average person is unaware of Morse code? After all, it's pretty common hearing about how ignorant people are in movies/series :P
e0a74c··on Microsoft no longer signs Windows drivers for Process Hacker
> You can also just turn off Telemetry in VSCode in the settings.

Such a feature should be disabled by default.

e0a74c··on Microsoft no longer signs Windows drivers for Process Hacker
What goodwill?
e0a74c··on U.S. crude oil price tops $80 a barrel, the highest since 2014
Sell them and buy a couple of electric cars?
e0a74c··on Chernobyl’s Blown Up Reactor 4 Just Woke Up
Does that take into account the millions of people who'll suffer from birth defects, low fertility, physical deformities and cancers for millennia to come?
← PreviousPage 2 of 2