HN user

deadbeef404

60 karma
Posts0
Comments30
View on HN
No posts found.

The point is that if I send you a gif, you currently don't need to tell whatever program you opened it in that it's meant to loop. When I send you a gif, I expect it to be looped on your end. It's part of the gif package that we've come to love. Of course the loop flag doesn't strictly need to exist, but if someone has to perform an extra step to do what gifs were already doing, then no one will use it as a replacement.

I tried using this today. I couldn't find a way to rename the site I signed up for; I didn't make the connection that the username would be the URL/site name. I also couldn't delete my primary site to create a replacement, so I had to close my account just to create a site with a new name. Just thought I'd let y'all know a minor inconvenience I ran into.

Very true about using it to great effect in 808s and Heartbreak! I remember hearing one of those tracks and finding it fairly nice to listen to. Then I heard him live on SNL and his singing voice was close to non-existent.

Charmer? CharmIt? Charming? CharmHPD? Charmplus? Superintendentchalmers? The problem here isn't that PyCharm came second or that Jetbrains will have an issue. The problem here is that it's so many conversations will go

Have you used CharmPy?

You mean PyCharm?

No, CharmPy!

Are we talking about the same thing?

No

Oh, that's just confusing, then.

Simon Sinek has an interesting hypothesis about the cause of the breakdown in politics in his book "Leaders Eat Last". I'm giving a very brief summary, but in that book he suggested that most US federal politicians used to live a lot of their careers in Washington DC, attend similar social events and send their children to the same schools, which helped them relate to each other (across party lines). It is suggested that the closeness created decency and civility between them, but now that a lot of them still live in their home states, they no longer see the opposition as similar to themselves, and it's become a "us vs them" kind of thing for everything.

This is pretty cool, great job! I know this is only a cheatsheet, which implies simple, but one idea that I think might be useful would be to add something to allow an end-user to resize the preview pane. This would allow more complete "previewing" of responsive items, eg. "navbar-toggleable-*" which collapses the a navbar down to a hamburger when the width is small.

Once again though, nice work! :)

React v15.0 10 years ago

Also note, if anyone is using "reactify" and has used the spread operator in JSX, as 15.0.0 removed React.__spread, your build will break. (Reactify uses the deprecated react-tools which uses React.__spread.)

Thanks for the response, man! To be completely honest, I definitely don't follow PEP8 100% (especially in regards to continuing-line indentation) because to do so would make some lines quite nasty looking simply for compliance to guidelines (also, I've seen many many projects ignore those rules too). But I don't recall ever seeing any libraries break that specific spacing rule which as some others have pointed out, make the documentation look a bit.. unexpected.

In regards to: > if you use JS libs they won't follow PEP 8 either. > And that's probably something to accept, as, however > big the Python world, one cannot ignore the JS world.

I totally agree. I spend about half of my time writing JS and half in Python and I definitely don't try to enforce PEP8 guidelines onto JS code, simply because it's a Python style guide, not a JS guide. I would try to follow a largely accepted code style of the JS community if I was made aware of one, but there only seems to be a large collection of non-official guides, so just I try to adjust my code style to what seems to be common among all of the "nice"/readable code around the web, or, if I'm working in a large existing code base, the style that is followed in that codebase, unless there's reason good not to.

I guess my general approach is that I prefer to style the code I write based upon the language (sometimes, for example, this requires placing open braces in different positions), and I find this actually helps my mind to switch between languages as they have their own look-and-feel to them.

Thanks for reading, and thanks for writing a very interesting library!

Nice concept, great work!

As a side note: I found your extra whitespace before function arguments to be very strange. I haven't seen this type of spacing before. Is there a reason why you do this?

I personally use and encourage the use of the "pep8" python tool (link below) to validate my codestyle as I find it makes working with other developers easier (this extra whitespace is pointed out as an error).

pep8 tool: https://pypi.python.org/pypi/pep8

I think he means the exact same Python script can be run directly on any environment that has Python installed if written correctly, in contrast to a C program which has to be recompiled on various environments to be able to run.

How I Interview 11 years ago

doesnt result in a truely random distribution.

It evenly distributes over 0-1. Removing .5, just distributes it evenly between -0.5 and +0.5. Sort basically says >0, the first option should come first and if <0, the second option should come first.

I believe this still maintains a random distribution and is quite a tidy solution. Thoughts?

The memories of KidPix have come flooding back! The is awesome! FYI: After a few minutes of using this, it seems to work quite well in Chrome on Ubuntu.

I don't see how having a "site down" template is anything suspicious. I have a page that I replace my company's web-app with when I'm performing upgrades; they could have easily made their's a generic template and customised it to the situation.

Changing the CSS on the site during the hack? I don't see how that implies anything other than someone in their large organisation had the idea to change the CSS to improve the readability.

And I'm not seeing how their story has changed, just new statuses with different wording..

Come on, there's a huge middle ground between "Unicorn milk" and a name that isn't a homophone of the format it works with. Let alone the fact that I don't like my first name being used as the name of a library, I think it's a bad choice as when you're verbally discussing this library with another person you'd likely have to refer to it as "jason the library" or something similar to clarify it rather than just using a simple unambiguous name.

jQuery.payment 13 years ago

Just because I like breaking things; they've tried to stop text getting into the fields by typing/pasting in the fields. A way around it is to highlight text/characters in the browser or the address bar etc and drag them into the field.