News for hackers. Stuff that matters.

indosauros

They're not accounting for the Walmart Cloud Servers I run my business on
Re:Fun with uv and PEP 723 on Tuesday June 24, 2025 @05:26PM (#44371242)
What's going on is "we have 14 standards so we need to create a 15th" actually worked this time

Tell HN: Microsoft.com added 192.168.1.1 to their DNS record

Is this bad?$ nslookup microsoft.comNon-authoritative answer:Name: microsoft.com Address: 192.168.1.0Name: microsoft.com Address: 20.112.250.133Name: microsoft.com Address: 20.231.239.246Name: microsoft.com Address: 20.76.201.171Name: microsoft.com Address: 20.70.246.20Name: microsoft.com Address: 20.236.44.162Name: microsoft.com Address: 192.168.1.1

( Read More... | 132 comments | 206 points | on HN )
Re:Resolving the Great Undo-Redo Quandary on Friday November 11, 2022 @08:58AM (#33560856)
FYI if you use Jetbrains/PyCharm, it also provides this (and has saved me many times)

Just right click your file and view "Local History"

Re:Jacksonpollock.org (2003) on Wednesday August 26, 2020 @12:44PM (#24284231)
Yes, visiting the 2003 version in the Wayback Machine prompts to download a swf
Re:Pharaoh Ramesses VI Tomb on Tuesday June 09, 2020 @02:09PM (#23469103)
Is there a version of this that is annotated?

For example a few steps in are some niches on the wall -- I half expected a popup explaining their purpose

Re:Slack’s new WYSIWYG input box is terrible on Thursday November 21, 2019 @08:48AM (#21593906)
Here's a gif of the second issue from the blog post, just reproduced on my client

https://i.imgur.com/X8FZJhi.gif

Re:Ask HN: Favorite teachers on YouTube? on Sunday September 16, 2018 @03:29PM (#18000619)
Any course UNSW has put up by Richard Buckland

https://www.youtube.com/watch?v=RpRRUQFbePU

So much enthusiasm -- I wish I had teachers like him at school.

Re:Git 2.19.0 released on Wednesday September 12, 2018 @03:33PM (#17972322)
I do the exact same thing. I find WIP stash-per-branch very useful when I'm context switching often between feature branches. I've got two aliases set up for this -- `git wip` and `git popwip`:

  $ git config --global alias.wip
  !git add --all && git commit -am 'wip'

  $ git config --global alias.popwip
  !git log -1 --pretty=%B | grep -q '^wip$' && git reset HEAD^ || echo 'HEAD is not a wip commit'
Re:Python 3 is now available on App Engine standard environment on Wednesday August 08, 2018 @02:15PM (#17718089)
It seems to me this product is mainly targeted at 1) new customers, and 2) AE Flex customers wanting to switch to Standard.

The third category (Existing 2.7 Standard customers wanting to just upgrade to 3.7 -- which is me unfortunately) are going to be disappointed and stuck in a hard place, I think.

Re:Python 3 is now available on App Engine standard environment on Wednesday August 08, 2018 @02:04PM (#17718011)
> At this time, the original App Engine-only APIs are not available in Second Generation runtimes, including Python 3.7.

This means that if you already have a significant app running on Appengine Standard, none of the built-in APIs are supported (memcache, images, search, task queues, email, etc). That's a significant blocker to anyone wanting to upgrade their existing Standard 2.7 app to 3.7.

Re:Hire a former SoundClouder on Friday July 07, 2017 @01:07PM (#14720026)
Re:0.30000000000000004 on Friday November 13, 2015 @08:06AM (#10559588)
It also matters whether you're using Python 2 or 3. This is one of the things they changed in 3:

    >>> print(0.1 + 0.2)
    0.30000000000000004
Re:PEP 0448 – Additional Unpacking Generalizations on Saturday July 18, 2015 @11:16AM (#9907721)

    >>> L(*stuff, 'a', 'b')
    SyntaxError: only named arguments may follow *expression

    >>> L(*stuff, *stuff)
    SyntaxError: invalid syntax