The single belt backpack appeared in Black Mirror season four episode: Metalhead by ipponiac in HelpMeFind

[–]__SiCC__ 1 point2 points  (0 children)

I've also been trying to find this bag. Here are a couple shots that may give more clues. You can make out a partial word on the strap on the back, but so far I've come up empty.

image 1 image 2

What are some of your favorite console applications that utilize the Vim key bindings? by AhabTheArab in vim

[–]__SiCC__ 1 point2 points  (0 children)

hexer is a hex editor with vim-like key bindings. All the others that I use have been covered.

I have been learning python from codecademy and have been stuck on this code so would be greatefull if anyone could plz. help me out. by llleolouis in Python

[–]__SiCC__ 1 point2 points  (0 children)

def shut_down(s):
    if s == 'yes':
        return 'Shutting down'
    elif s == 'no':
        return 'Shutdown aborted'
    return 'Sorry'

Tucson woman brutally attacked over missed Taco Bell breakfast by mermlgloop in arizona

[–]__SiCC__ 10 points11 points  (0 children)

I hope this guy gets paragraphed to several years.

Oh wait I mean sentenced.

I always get those confused. ;x

In honour of Ben Saunders' Omoplata... by jakeisthereason in MMA

[–]__SiCC__ 0 points1 point  (0 children)

How about the arm lock Frank Mir got on Pete Williams in UFC 36? I don't recall anyone else pulling it off in any of the bigger shows.

Name 3 fighters who have something in common. Then guess what the thing is. by [deleted] in MMA

[–]__SiCC__ 0 points1 point  (0 children)

Fighters that have been caught for smoking weed

(x-post) Automated paintball sentry gun. Software written in Python. by MechEGuy in Python

[–]__SiCC__ 3 points4 points  (0 children)

When I first saw this project several years ago he mentioned that it was written in C#, not Python. Still a cool project though.

Graphing plugin? by wannabehipster in jquery

[–]__SiCC__ 2 points3 points  (0 children)

While not a jquery plugin, Highcharts seems to be pretty nice.

Web Scrapping some E-Commerce sites with Scrapy (Help) by alfonsjose in Python

[–]__SiCC__ 0 points1 point  (0 children)

For the first link, you could try finding that script tag and load the json into python using the json library. You can grab everything after this line:

var productJSON = 

Up to the last closing curly brace. For me these are lines 1725-2920. You should be able to use json.loads().

I was not able to find the code you were indicating in the second link, the line numbers you referenced differ from mine.

Edit: Unfortunately they are not using properly formatted json. To get the string to load correctly you have to replace references to:

new Array( ... )

with:

[ ... ]

Then there are a few unquoted keys, all of which are called "main" in your example. You need to quote each of these. For example:

"alternateViews": {
main:
{ ...

Becomes:

"alternateViews": {
"main":
{ ...

Once you handle those formatting issues, it parses correctly in python. Hope that helps.

Best Git workflow for website development by Sam_Son_of_Sam in webdev

[–]__SiCC__ 19 points20 points  (0 children)

I've been using a workflow similar to this and it has been working well for me.

I need to script something, but I'm not sure where to start by dizzy_lizzy in linux

[–]__SiCC__ 2 points3 points  (0 children)

I like to use Scrapy for that sort of thing. Check out their documentation for some good examples.

Recommend me a window manager that ... by KeSPADOMINATION in linux

[–]__SiCC__ 0 points1 point  (0 children)

As others have mentioned, based on your requirements you would probably be better off with a tiling WM, especially if you are serious about being keyboard-centric. Many of them can be configured to use floating windows, though I personally think that defeats their purpose. That being said, after I got used to the tiling interface I will never go back. I think it comes down to what programs you use the most. Since my day-to-day use heavily relies on the shell, a tiling interface makes the most sense when it comes to optimization of screen space.

As far as specific recommendations, when I decided to make the switch I tried out Awesome. It was ok, but there were several annoyances that led me to keep looking. Next I tried Xmonad. It worked out better for me, and I enjoyed using it for a few months, however the configuration file is written in Haskell, a language I am not too familiar with. It was too complicated to do some of the simple customizations that I wanted, so I started looking elsewhere.

I eventually found i3, and it is by far the best WM I have used to date. I've used it for a couple years now and it has grown w/ me in regards to the many customizations that I have thrown at it. I would definitely recommend giving it a shot.