HNHacker News
TopNewBestAskShowJobs

deadbeef404

60 karma · joined February 8, 2013

submissionscomments
deadbeef404··on It's time to replace GIFs with AV1 video
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.
deadbeef404··on Show HN: 1MB – Free and easy static website hosting and database
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.
deadbeef404··on If I Sleep for an Hour, 30 People Will Die (2016)
Not that hard :). Add this as a tampermonkey script for a simple version.

Array.from(document.getElementsByClassName('comment')).forEach(x => {if (/Trump/.test(x.innerText)) { x.innerText = 'Trumped' }})

deadbeef404··on AI Can Transform Anyone Into a Professional Dancer
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.
deadbeef404··on CharmPy – A high-level parallel and distributed programming framework
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.

deadbeef404··on Why are successful professionals still working 70 hours a week?
Why?
deadbeef404··on A list of ways to “Break the Internet” for the 48 hours before the FCC vote
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.
deadbeef404··on Apple invests $1B in Chinese ride-hailing service Didi Chuxing
What would be a better comparison?
deadbeef404··on Show HN: I made an interactive Bootstrap 4 cheat sheet
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! :)

deadbeef404··on React v15.0
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.)
deadbeef404··on Show HN: Transcrypt – Fast, small Python 3.5 to JavaScript transpiler
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!

deadbeef404··on Show HN: Transcrypt – Fast, small Python 3.5 to JavaScript transpiler
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

deadbeef404··on Apple fans are coming to hate Apple software
It looks very nice! How's the battery life? This review seems to indicate it sits at under two thirds of the MBPs:

http://www.pcmag.com/article2/0,2817,2458699,00.asp

Also, just for clarification, do you mean self-repairable? The review said it, like the MBP, has non-standard screw heads making repair difficult. Thoughts?

deadbeef404··on Pymux: a tmux clone in pure Python
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.
deadbeef404··on How I Interview
Ah, yes; that's a great point about the sort algorithm!
deadbeef404··on How I Interview
> 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?

deadbeef404··on Google self-driving car pulled over for driving too slowly
Even if some technology is not successful in the end, it doesn't mean that there isn't value in it. This even is a good rule for most/all life experiences.
deadbeef404··on Show HN: Kiddo Paint
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.
deadbeef404··on How to Write a Git Commit Message
I would reword "Refactored invoice parser" entirely as that message is about as useful as "changed code".
deadbeef404··on With $100M in Funding, Carbon3D Will Make 3D Manufacturing a Reality
I have no idea if it's possible, but I could imagine maybe a multi-frequency light source where each frequency interacts with a unique color molecule in the resin to mix colors individually?
deadbeef404··on Is Planned Parenthood faking a hack on their website?
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..

deadbeef404··on How Walking in Nature Changes the Brain
I'm not sure how anyone could think that walking next to a loud highway for an hour and a half (without a distraction such as a friend or music) would be a great idea.
deadbeef404··on Why does Gmail hate my domain?
Argentina National Day 2015

Edit: You can usually find out what they mean by going to https://www.google.com/doodles

deadbeef404··on Show HN: Jason – A new JSON Library for Go
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.
deadbeef404··on What’s New In Python 3.4
Django supports python 3, though I guess some django apps might not yet. https://docs.djangoproject.com/en/1.5/topics/python3/
deadbeef404··on Pudb – A full-screen, console-based Python debugger
I just installed this using pip. Is PIP something other than regular old pip?
deadbeef404··on Pudb – A full-screen, console-based Python debugger
Some of us don't use emacs?
deadbeef404··on iOS 7 is Yucky. Why Isn't Anyone Saying So?
> If you are operating your phone whilst driving then you deserve to crash.

Does the same apply to the radio?

deadbeef404··on iOS 7 is Yucky. Why Isn't Anyone Saying So?
> I still can't use the music app and search for a song

You can scroll up above the top of any list (artists/songs etc) in the music app to reveal the search bar.

deadbeef404··on jQuery.payment
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.