HNHacker News
TopNewBestAskShowJobs

rndstr

140 karma · joined May 14, 2011

https://github.com/rndstr https://schilter.me
submissionscomments
rndstr··on Git Tips

    git checkout -
Switches to the previously checked out branch.
rndstr··on Git Tips
a) You can also use `git checkout -p` here that lets you selectively revert patches

I can also recommend these two aliases I have in my gitconfig:

    unstage = reset HEAD --
    undo = reset --soft HEAD^
`unstage` takes an argument and removes changes from the index (but keeps them in the file). `undo` undos the last commit and puts the changes into the index. Unstage you pass a file or `.` for all
rndstr··on Remote code execution, git, and OS X
What about scripts that explicitly call /usr/bin/git?
rndstr··on Being a “dumb” girl in Computer Science
Males do not have the option to write a post about «being a female programmer». This does not pose a threat for the insecure males but a well-written post about tech does.
rndstr··on Apricity OS: A Beautiful Arch Linux Distro
For me the issue with Just Works distributions is that I actually spend more time reconfiguring all the parts than if I do it by myself from the ground up. In my opinion, Arch has the perfect balance between things just working and allowing you to decide whatever you want ro use.

I just recently bought a new laptop that I had set up within a day. A lot of that time was spent playing around with various hidpi settings, though.

And it certainly helps that I have most of my configurations in my dotfiles repo (including media key bindings).

rndstr··on Show HN: What every browser knows about you
It was spot on for my phone at 85% and charging
rndstr··on Making a Go program 70% faster by avoiding common mistakes
Great job. The title was misleading to me because I thought I'd learn something about Go but this basically boils down to these performance improvements

  - store results in variables and don't call the expensive method over and over
  - use batch queries for fetching multiple documents at once from your storage
rndstr··on Show HN: Simple and elegant Markdown-based resumes
503 https://rawgit.com/gwendall/way.js/master/way.min.js
rndstr··on A free shipping mystery
I occasionally order things from AliExpress and I recently managed to exceed the pickup deadline at my local post office by one day on a $3 item. They notified me on the day of arrival by email but somehow couldn't remind me towards the deadline. Anyway, they just sent it back!
rndstr··on Ask HN: What are you currently learning in your spare time?
I'm digging into Android Wear and writing an app. It's nice but it needs a lot of boilerplate code to set up communication between mobile and wear. Once set up and understood it's pretty straightforward
rndstr··on Apple doesn’t allow Chaos Computer Club tvOS application
Maybe because Vimeo has download links on some of their videos?
rndstr··on “This story is being previewed exclusively on Apple News until Tuesday”
I just made a mental note not to click on any wired link in the future.
rndstr··on Testing for common sense violation in airline pricing
> The airline will usually cancel the return ticket if you skip part of the outgoing one.

I recently did just that, buy a round-trip ticket with a stopover where on the way out I skipped the last leg. The return leg wasn't cancelled. I would've been furious if that happened, I paid for that and basically saved them money on the skipped leg.

rndstr··on Testing for common sense violation in airline pricing
Demand.
rndstr··on Squib: A Ruby DSL for prototyping card and board games
I once wrote a multiplayer cardgame server (with a friend) that provided a Game API[0] to Lua scripts to define state and behavior. We scripted multiple card games popular in my country. For example Ace's Up[1].

We also wrote a few clients (ncurses, android, flash), most of them remained unfinished/unreleased, including the server, unfortunately. I meant to put it on GitHub but still hesitating since it would only be for educational purpose and no real interest in pursuing the project much further.

[0]: https://gist.github.com/rndstr/fd7c85d8ee7fad800000 [1]: https://gist.github.com/rndstr/fd7c85d8ee7fad800000#file-gam...

rndstr··on To Apple, Love Taylor
> it seems like Apple may not actually have the cash to do this

Maybe they could do a Kickstarter campaign?

rndstr··on Show HN: OneSet, the Vine for Fitness (Android Beta)
I'm surprised this went past the Play Store filter for using "MyApp is the PopularApp for XYZ". I was under the impression you are not allowed to mention popular apps you are competing with.
rndstr··on A better pull request
You can rebase commits in your feature branch as well and clean up the history. Having separate and small commits also helps in blaming and looking at the history do figure out why a certain change is in there.

If you squash all the commits you probably should summarize all the commits into that single commit message which is also work if done properly.

In the end it's preference and how your developers create commits and documment them.

rndstr··on Samsung Unveils SSD Delivering Speeds of Over 2 GB/s
That's the only thing holding me back to upgrade my 2012 X1 Carbon. As soon as they release an X1 with >8GB RAM I buy it
rndstr··on Google suspended my application and now my google play account is terminated
I had the same happen to me (albeit no account suspension but just the application). The application[0] was in the store for 11 months, I then updated for Material Design/Lolipop and puff, app suspended.

I'm using the TMDb.org API for displaying actor and movie images which--in my understanding--is allowed if I attribute TMDb as the source. I did that in the settings/copyright section. There are also a bunch of other apps that use the same API yet they are still in the Play Store. I didn't make a single dime off of it and spent roughly 250h on it with all the fine tuning and third party integrations.

I responded and asked what exactly the issue is and got another generic response. At this point I was too afraid to write any more emails since I don't want to endanger my account.

[0]: http://faactors.schilter.me/

rndstr··on Alibaba's Singles' Day sales exceed predictions at $9.3B
I ordered 11 products this year (albeit small ones) and got every single one of them.
rndstr··on Gitbucket – The easily installable Github clone powered by Scala
I managed to bring in existing repositories by creating a bare repo in the webapp then replacing the created folder with my real repository (or just symlink to it).

Is there a streamlined way of doing that?

rndstr··on Has StackOverflow saved billions of dollars in programmer productivity?
I just spent a month getting back into Android development with writing an app. I can't express how many times I knew the answer would be easily findable in the docs but I also knew that by searching on Google it would give me a SO link where it takes about 5-10s to have the answer. While looking it up and reading the SDK documentation would more likely lead to 60-90s with presenting me less information and alternatives.
rndstr··on 'Learn Ruby on Rails' is free today
I'm okay with giving my email but when it came to enter a password I stopped since I didn't know what I'm signing up for. There was no logo on that page and the initial Link said "to download"
rndstr··on Show HN: UI Concept – Focus Transition
After using it for a few hours I must say it is too distracting since it is overdoing it for links clicked that don't navigate away from the page (only some of them, though). So for example navigating GMail and Facebook you get the focus animation a lot when clicking around which is worse than having a gif animate w/o your interaction.
rndstr··on The New Grooveshark
It does not do last.fm scrobbling, though. Sent them an email about it a few days ago.
rndstr··on Ex-Googlers Launch MightyText, An iMessage For Android Users
> mobile platforms

And that's the problem. I want to have clients on all my devices (desktop, tablet, smartphone) accessing the very same account, like GTalk.

rndstr··on Notepad++ 6.0 Released
I switched to Filezilla instead.
rndstr··on Why Microsoft bought Skype
> In the end Apple will probably beat both Google and Microsoft, but that’s not a story for today.

Alright, I stopped reading there. Unfortunately, it was too late.

← PreviousPage 2 of 2