HNHacker News
TopNewBestAskShowJobs

powersurge360

293 karma · joined February 18, 2012

submissionscomments
powersurge360··on Cocoa Touch apps (2007)
Not sure if this is a joke, the emails refer to iPhone and it’s original sdk. Originally, to develop for iPhone, you had to settle for making web apps.
powersurge360··on What Is the Transparent Material at the End of a Gel Pen Refill?
You (and others) might be pleased to know that you can get the space pen as a Parker refill that fits many different pen bodies. You can also get the very popular uni jet stream ink in the same refill type. I suggest a Kaweco sport as the pen body of choice
powersurge360··on Show HN: Pageturner – a community for building a reading habit
You're made of what you consume. That's as true of ideas as it is for food. Forcing the first will, over time, effect degrees of the second. Wanting to like something is already a large portion of the way to actually liking something.

Sure, it won't be universally true and you can't will yourself to like everything, but I think more often than not if you want to do something you will be grateful for having done it.

powersurge360··on Cats Cannot Taste Sweets (2007)
Citrus in particular is famous for cats disliking. Interesting that your cat enjoys those.
powersurge360··on Cats Cannot Taste Sweets (2007)
https://en.wikipedia.org/wiki/Felidae
powersurge360··on How the brain 'approximates' without counting
I haven't yet read this and won't until after work but I did click through and notice it didn't mention subitizing.

Subitizing is pretty cool and it's the name for how you can look at items and instantly know how many there are if it's less than some small number (approximately 5 iirc).

Here's a wiki article on it for anyone interested: https://en.wikipedia.org/wiki/Subitizing

powersurge360··on My Budget – free, open-source offline cross-platform budgeting
This is very exciting for me, thank you for sharing.
powersurge360··on My Budget – free, open-source offline cross-platform budgeting
How does this compare to things like beancount or ledger cli? Did you look at those and find them wanting?

Personally I've used ledger and loved it but found it a bit of a pain to get going due to its manual nature and it also created a bit of a firewall for my SO because she's not inclined to spin up a terminal to look at the finances. I liked beancount for its facilities to do automatic imports but I found its reporting lackluster.

I liked hledger most of all but to compile it was kind of a pain and it had many of the same complaints as ledger although its reporting and especially budgets were top notch.

powersurge360··on Upgrading GitHub from Rails 3.2 to 5.2
Re-reading the material from that era I think I embellished a little in my memory. I think there was a pull request but he didn't reopen and accept it. Sounds like he just pushed a commit that said something along the lines of "why can I commit this to master". I'm busy at work so I can't dig in but I'm sure someone will find that original PR. If not tonight I'll see if I can't find it.

EDIT: Went ahead and found it. It was an issue. https://github.com/rails/rails/issues/5228

EDIT2: It looks like DHH may have even gone so far as to delete his comments in this issue. There's folks referencing him and one side of a conversation in places. Pretty funny.

powersurge360··on Upgrading GitHub from Rails 3.2 to 5.2
If you didn't know that then let me share with you this interesting story from 2012. I'm going to repeat it from memory so my details may be a little fuzzy but I'll include a link which should tell the story more faithfully.

So back in 2012 rails had a default behavior where you could mass assign values from a POST to a user and there wasn't any scrubbing of that, by default. Someone realized this was a Bad Idea and issued a pull request that would have fixed it. Instead of accepting the PR, DHH (I think it was him) said something along the lines of 'competent programmers would not leave that setting in place' and rejected the PR.

The exploit discoverer thought about this and tried it against github, which was known to run on rails and the code worked! From there he was able to manipulate the permissions on github to get access to the rails repo where he reopened and accepted his own pull request.

He was promptly banned.

https://gist.github.com/peternixey/1978249

powersurge360··on Introducing WhatsApp's Desktop App
Interesting. I saw it work as recently as a few weeks ago. Looking at the support article (here: https://support.google.com/chrome_webstore/answer/3060053?hl...) it looks like OS X is the only platform where it no longer works. How strange.
powersurge360··on A Farewell to FRP
Hello! I don't know if English is your first language or not, but that last sentence was significantly confusing that I wanted to correct it for you and others who may read it.

The two idioms are 'child's play' & 'next to'. The words are correct synonyms but the usage is unusual enough that I read as having a totally different meaning my first time.

powersurge360··on Introducing WhatsApp's Desktop App
Still there:

Hamburger Menu -> More Tools -> Add to Desktop

powersurge360··on Rbenv 1.0.0
I have a tendency to install one of python 2.x and one of python 3.x and then use the --python flag to set the particular python I want my project to run against.

At that point it should work invisibly in the virtualenv.

Unlike ruby, point releases don't often make sweeping breaking changes so it is often enough to say 'this is python 3 code' or 'this is python 2 > 2.5' code, so the granularity of something like pyenv is mostly unnecessary, imo.

powersurge360··on Qt Creator 3.1.0 released
Qt Creator was released. Creator of Qt was released (from jail). Just a joke. Took me a second too.
powersurge360··on SBCL: The Ultimate Assembly Code Breadboard
It is my understanding that threading is a sore topic in most common lisps having either poor or experimental support. I'd love to be proved wrong, however.
powersurge360··on Fan remake gives Super Mario 64 a fresh look [video]
You may have missed Super Mario 64 DS from (wow! so long already) 9 years ago. But then, at this point the remake is old enough for a remake.
powersurge360··on Django 1.6 beta 1 released
Django 1.3 was released back in March of 2011. That's more than two years ago! Were you waiting on some sort of third party package or something?
powersurge360··on Poll: long-term contractors, what is your hourly rate?
Hey! I am a developer based in Louisville, Ky as well. I don't know what sort of things you develop/design for, but we have this thing called build guild that a lot of us attend each month. It's mostly for web, but there's been a handful of mobile guys there as well.

You just missed it this month (it was this last Tuesday), but maybe you'll consider coming next month? I hope so!

http://louisville.buildguild.org

powersurge360··on Make $30 an hour, no bachelor's degree required
Not really. It's actually kind of funny that a .NET programmer said that because Java and C# occupy many of the same niches, which is to say, heavy enterprise-y apps. But then that may be his point, that it would be redundant for him to learn a language so similar.

Java isn't a bad decision but I 100% believe you should try as many languages as possible, especially from different paradigms. Every language has something to like and most have something you can bring back to your primary language to be more productive.

Happy trails!

powersurge360··on The Flask Mega-Tutorial
Once you construct your routes list, what do you do with it? Do you iterate over it with app.add_url_rule?
powersurge360··on Change your Last.fm password
In regards to "what to do with the existing hashes" bcrypt can detect the original work factor and hash to that. Not sure how you would upgrade that for users, however.
powersurge360··on Humble Indie Bundle 5: pay what you want for video games
It's just wrapped in wine, unfortunately. Still, works really nicely.
powersurge360··on Nginx 1.3.0 is out
Well, I'd argue that configuration is nicer with nginx than with apache if you're running something other than php.

But the trade off there is nginx only has centralized config whereas you can do .htaccess stuff with apache, so meh.

powersurge360··on [dead]
I wonder how this affects other operating systems that implement RDP. I'm not familiar with the protocol and don't regularly use it, but is this a flaw with the protocol or with the implementation that windows uses?

Are there multiple implementations? I'm a little in the dark on this one.

powersurge360··on Comparing PHP, Perl, Python and Ruby
No, you can do evaluation line by line, but it isn't exactly nice. Just typing php forces you to type in the entire script.
powersurge360··on Comparing PHP, Perl, Python and Ruby
PHP repl is actually php -a
powersurge360··on Cling : C++ REPL using Clang and LLVM
Does this work for C too? I notice that it mentions replacing CINT, which is C & C++.

I'm a scrub to C and it'd really bum me out if I find out about an interpreter to play with just in time for it to no longer be viable.

← PreviousPage 3 of 3