News for hackers. Stuff that matters.

joshmaker

Curve looks a lot like total Hacker News volume but with a bigger spike in the last year. Would be interesting to see this adjusted relative to average content volume
Fun project and well executed. It would be cool if it had the option to adjust for relative volume.

For example, a search for “iPhone” dips around 2025, but did interest in it decline or were there just fewer comments on Hacker News that year (based on searches for generic words like “the” or “is” I suspect it was actually the latter)?

30 seconds of googling easily disproves your claim that only one billionaire backed Trump.

https://www.businessinsider.com/which-billionaires-support-d...

Tokyo to Kyoto is 280mi/445km and it's an extremely fast and comfortable train ride.
Recent US Traffic fatalities:

2021: 42,915

2020: 38,824

2019: 36,355

2018: 36,835

2017: 37,473

According to https://en.m.wikipedia.org/wiki/Motor_vehicle_fatality_rate_... the last time the US had fewer than 30,000 traffic fatalities was 1945

Re:Codon: A high-performance Python-like compiler using LLVM on Thursday December 08, 2022 @03:22PM (#33912801)
In 25 years you’ve never once created a list with more than one type of object in it?
Re:Python 3.11 vs 3.10 performance on Wednesday July 06, 2022 @03:42PM (#32005829)
The new error messages are much better. Take a look at this example:

  Traceback (most recent call last):
    File "calculation.py", line 54, in <module>
      result = (x / y / z) * (a / b / c)
                ~~~~~~^~~
  ZeroDivisionError: division by zero

In this new version it's now obvious which variable is causing the 'division by zero' error.

https://docs.python.org/3.11/whatsnew/3.11.html#enhanced-err...

It's probably directionally accurate
Oh please. We have multiple vaccines that have all been demonstrated to be safe and highly effective at preventing hospitalization and death from COVID in multiple studies.

Ivermectin has had decidedly mixed results in very limited early trials, and may not be effective at treating COVID at all.

The only reason people are taking ivermectin when safe, effective, and FREE vaccines are available is because of politics.

These jobs almost certainly also want someone who is clean and reliable.

If you are homeless, you might not have access to a shower or laundry facilities. You might have to rely on public transit (which is unreliable in many American cities), or you might not be able to afford public transit, so it might be hard to arrive on time. All of which will put you at a strong disadvantage compared to any other applicant.

If you do go to a job interview you might have to leave all your positions in the street where without you watching over them, they could be stolen. If you have a pet or a child, there might not be anyone trustworthy willing to take care of them while you are away.

If you pass the first round of interviews, you might need a phone number where they can call you for a follow up. But what happens if you can't afford a phone plan? Or if you have a phone, but don't have easy access to a location where you can charge it?

Finally day after day of living on the street, having very poor nutrition, not getting enough quality sleep, dealing with extreme stress, can all cause mental health issues.

There are lots of obstacles to getting a job when you are homeless. And the longer you go without a job, the harder it is to get a new job.

From the article:

> “We’re of course thankful for the gift and we’re thankful for any gift to our most important institutions during this time,” said Matt Haney, another supervisor backing it. “But that doesn’t mean that we should for forever essentially have given away advertising rights on this most essential public institution.”

Doesn't seem like an unreasonable stance

Re:What Did the Past Smell Like? on Monday December 14, 2020 @05:04PM (#25424018)
Perfume: The Story of Murder is a terrific historical fantasy novel (the movies version is great as well), but I wouldn't take anything it says as fact.
Re:On the bonkers color palette of Garfield comics on Tuesday November 24, 2020 @12:53PM (#25200949)
> In 1995, the Pew Research Center did just that, finding 14% of U.S. adults with internet access.4 Most were using slow, dial-up modem connections—just 2% of internet users were comparatively screaming along with an expensive 28.8 modem.

https://www.pewresearch.org/internet/2014/02/27/part-1-how-t...

Re:Transit Costs Project on Tuesday September 01, 2020 @07:43PM (#24348435)
> rapacious unions

Worth noting that Paris has famously powerful unions and yet still manages to build transit projects for much less than New York City.

Re:FDA just cleared a $20 Covid-19 antibody test on Friday March 20, 2020 @06:41PM (#22642451)
But there are other tests, the US just didn't use them. South Korea has had tremendous success with testing.

> On Feb. 4, two weeks after South Korea reported its first coronavirus case, the government gave “emergency approval” for Seoul-based Kogene Biotech to move ahead with the test kits.

> Kogene currently exports test kits for the novel virus to 35 countries in Asia, Europe and the Middle East.

https://www.washingtonpost.com/world/asia_pacific/coronaviru...

> Researchers say a viral test is relatively easy to develop. Rather, scientists say, the chasm between the testing haves and have-nots reflects politics, public health strategies and, in some cases, blunders.

> South Korea opened nearly 600 testing clinics, including dozens of drive-through stations. More than 250,000 people have been tested

https://www.nytimes.com/2020/03/20/world/europe/coronavirus-...

Re:The spine of San Francisco is now car-free on Thursday January 30, 2020 @11:24AM (#22192557)
I don't think that SF is better than NYC for the homeless.

A big difference between SF and NYC is that NYC provides shelter for people that can't afford housing and SF does not. Only 5% of homeless people in NYC are unsheltered compared with 67% in the Bay Area.

Legally, NYC is required to provide shelters for anyone who needs it, while SF shelters have waitlists of over a month.

https://medium.com/@josefow/new-york-decided-to-end-street-h...

https://www.sfgate.com/bayarea/article/Bay-Area-homeless-uns...

https://sfpublicpress.org/news/homelessness/navigation/2017-...

Re:Fight back against Google AMP (2018) on Wednesday December 04, 2019 @12:11PM (#21704110)
> There are other search engines than Google.

Consumers can ignore Google and use another search engine, but a publisher that ignores Google won't be in business very long.

> It tried this with plastic bins

That sounded interesting to me so I tried searching for an article about it, but I couldn’t find anything that talked about Amazon using plastic shipping containers. Do you remember where you read about it?

I think a lot of people would think the fact that a nuclear power plant core had exploded was evidence enough that an evacuation was needed.
Re:A Stroke Turned a 63-Year-Old into a Rap Legend on Thursday January 17, 2019 @12:10PM (#18932480)
It's a case study of the unusual effects of a stroke on the human brain published to the health section of a news website. Seems like a reasonable topic for a health story to me.
Re:Ask HN: Who is hiring? (December 2018) on Monday December 03, 2018 @04:22PM (#18593190)
The Atlantic | NYC or Washington DC | Onsite | https://www.theatlantic.com/

The Atlantic is a digital-first media company with over 160 years of history and 36 million readers a month. Founded in 1857 and today one of the fastest-growing media platforms in the industry, The Atlantic has throughout its history championed the power of big ideas and continues to shape global debate through our two websites: TheAtlantic.com and CityLab.com.

Front End Lead | https://atlanticmedia.theresumator.com/apply/b6ZvfSoePV

You are an experienced developer with proven leadership and management experience well versed in the modern front-end, and can mentor junior members of the team on the latest best practices concerning ES6, SCSS, and performance.

Senior Front End Developer | https://atlanticmedia.theresumator.com/apply/EfTMcPw1rG

You are an experienced developer and solid communicator with an interest in journalism and the media business. Above all, you’re a creative problem solver: able to devise and deliver practical, maintainable software that addresses Atlantic staffers’ and readers’ needs.

Python Web Developer | https://atlanticmedia.theresumator.com/apply/wg6KVKTXIB

You are Python developer with a passion for clean code and great journalism, excited about working with our product team to implement and deploy new features to TheAtlantic.com and CityLab.com where they will be viewed by millions of people

Call me cynical, but I couldn't help but notice Musk seemed to be going about his effort with the maximum amount of tweeting and publicity possible.
Re:My Python Development Environment, 2018 Edition on Friday February 23, 2018 @08:13AM (#16446085)
Two features I miss from pip-tools:

1. `pip-sync`, An easy way to ensure my local environment actually matches my defined requirements. I guess the pipenv version of this would be `pipenv uninstall --all && pipenv install` which isn't quite as elegant, but perhaps good enough.

2. The ability to create more than two requirement sets. For my projects it's often handy to three sets of requirements:

• Normal production requirements end users will need to run the app

• CI requirements needed for testing, but not running the app in production (Selenium, Flake8, etc)

• Local debugging tools (ipython, ipdb)

I could include my local debugging tools in the `--dev` requirements, but then I'm unnecessarily making my CI builds slower by adding requirements for packages that should never actually be referenced in committed code. Alternatively, I could leave them out of my dependencies entirely, but then I have to remember to reinstall them every time I sync my local env to ensure it matches the piplock file.

Re:A letter about Google AMP on Tuesday January 09, 2018 @05:09PM (#16110609)
If we accept your argument that Google can't measure the speed of a webpage then wouldn't it also follow that Google can't know if the AMP version of a page is actually faster than the non-AMP version?
Re:Leaving Python for JavaScript on Friday August 25, 2017 @04:23PM (#15101888)
Yeah, I guess I normally don't deal with enough properties like that for it to be a big deal in my workflow. When it's come up I've generally done something like:

    class Foo:
        bar = 42

        def __init__(self, **kwargs):
            self.__dict__.update(**kwargs)
But I agree that's not a super robust solution
Re:Leaving Python for JavaScript on Friday August 25, 2017 @01:41PM (#15100542)
I know the lack of multiline lambdas is a common criticism of Python, but I've never really understood it.

Typing

    someFunc( _ => {
       // this is 
       // a function 
       // with multiple lines
    })
Is only one line shorter than

    def foo ():
       // this is 
       // a function 
       // with multiple lines

    someFunc(foo)
There is a case to be made that the second version is more legible and that exposing the function foo makes unit testing it possible. I can understand why people might slightly prefer one or the other, but I honestly can't understand the intensity of opinion around this seemingly very minor syntactic difference.

I'm curious what you find verbose about Python classes as:

    class FooBar():
        text = "Hello World!"

        def hello(self):
            return self.text
feels fairly terse to me.
The Montreal Protocol was a successful international treaty to protect the Ozone Layer, so there is some precedence for countries coming together to protect our environment:

https://en.wikipedia.org/wiki/Montreal_Protocol

Re:US Income Inequality: All for the Top 1% on Tuesday August 22, 2017 @11:03AM (#15073079)
From the article:

> (The economists used 34-year windows to stay consistent with their original chart, which covered 1980 through 2014.)

Actually, we've started maintaining Nunjucks at The Atlantic (it's in the references of jasonthevillain article).

Older »