News for hackers. Stuff that matters.

Newky

Re:Chess tactics explained on Monday November 30, 2020 @05:07AM (#25252311)
As an aside, for very good analysis of current Chess games (as well as older sagas around certain legends of the game), I heartily recommend checking out agadmator's Youtube channel[1].

[1] https://www.youtube.com/c/AGADMATOR

Re:Chess tactics explained on Monday November 30, 2020 @05:05AM (#25252308)
It was tied to the beginning of Covid lockdowns as well. Chess has had a very strong year in terms of numbers coming to the game. Queen's Gambit seems to have exploded that again.
Not arguing that this could be used in an abusive relationship, but if we work on the basis that someone could install a similar program on their partner's phone that's not Google. There are a lot of pro's for the tracked person with the Google implementation.

Google email you quite frequently (I believe monthly?) to tell you that you are sharing your location and with whom. You can disable it at any time. Obviously disabling such a feature in an abusive relationship may not be an option.

I think you are misunderstanding. The secret does not need to be hardcoded in the python file. If it's read in from an environment variable or some other external source, it will also be in the pyc
Re:Firefox Quantum on Wednesday November 08, 2017 @07:36AM (#15651764)
This release is amazing, I was slowly moving everything to Chrome from Firefox over the last year-ish.

This really changes Firefox. Everything is incredibly snappy, at times more responsive that chrome.

The small amount of addons I use are now available.

Can't wait to get this by default in Ubuntu.

Re:UK election: Conservatives lose majority on Friday June 09, 2017 @03:21AM (#14519707)
The DUP are the unionist party in the north of Ireland. They are against a united Ireland and were leave campaigners.
Re:I Tried to Virtually Stalk Mark Zuckerberg on Monday April 04, 2016 @05:28PM (#11425828)
Enjoyed the article. For once, this article showed some flaws in the original process/idea, and showed very nicely how an original seed idea turned into something different, and more involved/interesting.

Clearly a lot of work and sweat went into getting the results you did, and the final output looks very polished.

Congrats for having the courage to post this.

Re:Europe abolishes mobile phone roaming charges on Tuesday October 27, 2015 @07:29PM (#10461924)
So from what I understand, this means that when I roam in the United Kingdom on an Irish sim, I get no extra roaming charges, which is great.

Does anyone know if this has any effect on calls/texts to other countries?

Re:httpdiff – diff responses to two HTTP/HTTPS requests on Tuesday March 24, 2015 @02:40PM (#9258529)
I recently did this manually by piping responses to a temp file called before and after, and then using vimdiff as my differ which proved quite effective.

This tool looks great, but would not have worked with my particular use case, which was doing some migration of user data, and diffing the user accounts to make sure that they had changed in the expected way.

It might be an idea to add the ability to query the same host twice, but have a user input trigger when to test each host.

Re:Hacking with Andrew and Brad: tip.golang.org on Friday January 09, 2015 @04:11PM (#8864541)
I quite like this style of video, I have only watched the first ~15 minutes, but I find it a much more engaging way to jump right into code like this, or learn some Go while I watch.

I would love to see some popular figures in the open source world, talk us through a pull request etc. I would be surprised if it didn't drive a few more contributors to the project and if nothing else would be a powerful introduction to the project.

Re:Fabric – Mobile developer platform by Twitter on Wednesday October 22, 2014 @01:59PM (#8494039)
Poor naming of this. What about popular python library and command line application (http://www.fabfile.org/)
Re:DSLR – Damn Small Linux Remake on Tuesday September 09, 2014 @06:46AM (#8289493)
My first linux that I managed to run on a vm. I only had access to dial up internet and thus could only download a very small package. The screenshots make me very nostalgic indeed.
Shameful plug, but I wrote https://github.com/Newky/hooked/ which allows you to deal with git hooks (in general) in a nicer fashion using Python.

Might be of use to someone.

Reporting a bug, or a pull request with a failing test would help the author no doubt.

It would also add some credence to your argument which lacks any reproduction details.

Re:Link Bubble - A new browser for Android on Sunday March 23, 2014 @05:55PM (#7455374)
Presuming this is closed source? Although it looks like a neat concept, it would be a more attractive option if I knew something that was dealing with my browsing history was open source.
Re:How Snapchat is Missing Out on $1.5M in Revenue Each Day on Monday February 10, 2014 @04:29PM (#7213989)
What is wrong with the sort of thing that whatsapp do? a small fee (~€1) a year.

If they could make it payable via some easy method (SMS?) then people would willingly pay a small fee for the use of snapchat. Sure people would go "Bah Humbug! Snapchat want me to pay a €1" but they have a very strong userbase, one that is extremely active. In the long run, I think their user base would prefer a one off payment than being inundated with advertising.

Re:Git tips from the trenches on Sunday February 02, 2014 @04:05PM (#7167576)
One that I use the whole time is:

git status --untracked=no

This shows only files that are tracked. I tend to do a lot of work which leaves files that I don't want to check in lying around in my git repo, this eliminates these and lets me see exactly what I have been working on. The slight caveat to this is when you are working on a new file that you have not yet checked in ever.

This goes hand in hand with:

git add -u

Which only adds untracked files. With aliased commands this usually results in a flow like this:

> git stu

> git adu

Re:Redesigned Conversations on Tuesday January 28, 2014 @06:00PM (#7140457)
Another advantage to this system is that reading and commenting becomes less prone to these sort of comments:

"Where is X defined" "Ah I see, this is where X is defined, disregard older comment"

A publish system allows you to basically stage comments before publishing. I used rietveld before github and this alongside side by side diffs was killer.

Re:Redesigned Conversations on Tuesday January 28, 2014 @05:58PM (#7140449)
So I use github enterprise and use the review tool a lot.

It has improved our overall code review experience, but there is a few things which have proved problematic and even have caused major headaches in the last year or so.

1. No Side by Side diffs. 2. Pushing new commits will often collapse conversations from the review. (i.e these conversations are folded)

Really, I want some way to look at my PR and say hey I've addressed all the comments on this pull request, and I am good to merge.

This is not even getting into what happens if you rebase your branch and then force a push to the remote.

Re:News is bad for you on Thursday December 12, 2013 @11:17AM (#6895205)
What is hilarious is that this article was Number 1 on Pocket Hits Best of 2013.

A reading app's top read article was an article about giving up reading.

Re:Debugging Python Like a Boss on Thursday November 21, 2013 @03:35PM (#6777289)
You are right that this is not straight forward in Django.

There are a number of different routes in Django development that you may need to debug:

1. Debugging view endpoints when not using runserver (for example when testing out your actual deploy webserver). For this, none the debuggers will work, as you have no console to run through. I combat this by using winpdb that allows remote debugging.

2. Debugging either unittest based code or when using runserver, you can use the method described by hcarvalhoalves comment.

However, I still think that in lots of cases its more powerful to import in the code. With the necessary coverage in tests, it should always be picked up.

Re:Google to reject Chrome extensions outside of Chrome Web Store on Thursday November 07, 2013 @05:56PM (#6693052)
If this was something that a lot of admin users wanted to restrict from their users surely Google could have made the complete disabling of this feature from all users available in the admin panel.

But that should be an opt in feature for the admin.

Older »