Hacker News new | past | comments | ask | show | jobs | submit | airlocksoftware's comments login

I'm not sure why you'd want to include AirBnBs and second houses in your measurement vacancy measurement — they aren't available for rent.


Because usually when people talk of an accommodation crisis they are referring to a shortage of homes available to be used as a primary residence. It makes sense to consider holiday homes and such as contributing to this problem. Just ask anyone in Majorca for example.

Sometimes people refer to underutilised properties rather than vacant properties for this reason.

I am very interested to know what happens to the proportion of underutilised properties during an accommodation crisis. The most recent linked chart in this thread is very interesting - what caused the steep increase leading up to the GFC (i.e. during a boom - often associated with a 'shortage')?


Location tracking requires specific permission from the user, not as part of installation. I think you're a bit out of date.

https://developer.android.com/distribute/best-practices/deve...


And this is a perfect example of the bait-and-switch: Location now goes through Google's location services, so you're not saying "FindMyKeysApp may use my GPS location", you're saying "FindMyKeysApp AND GOOGLE may use my GPS location."

For most apps (unless I'm wrong?) there's no way to let the app use my location without it going through Google's location services and sending data back to the Borg Cube.


You could use microg, then nothing goes to Google. https://lineage.microg.org – This together with yalp gives you a good experience and keeps you private.


Yeah, I've been on LineageOS since it was CyanogenMod, haven't yet needed Google Play for my (admittedly simplistic) requirements but it's good to know that microg is coming along so nicely in case I get stuck.


go to settings, gps mode, select "always high accuracy"

presto - no google - only actual GPS signals used. But good luck - you'll see just how terrible GPS is indoors and in urban canyons. Without wifi and BLE augmentation it truly sucks.


There's two issues here:

1) Using visible WiFi networks to determine location sends data to Google to use their geolocation database. Your suggestion here does stop this (assuming you meant to DE-select "always high accuracy" and instead select "device only" which uses the GPS without sending any data offboard.)

2) Google pushes the use of Google Play location services API over Android's location services system API. These services don't work unless you grant Google Play Services permission to use your location. Since Google Play Services also needs network access, you effectively have to grant Google access to your location in order to use any location services whatsoever in any application.

It's the second point to which I was referring in my post above.


That is the same with iOS, but iOS doesn't even give you the option of disabling AGPS. Google Location Services' AGPS is anonymized, exactly like iOS's implementation.


I recently switched to iOS for this reason. Yes there are permissions - but Android still periodically activated location services despite my settings.

Googles insistence on capturing as much data as possible about me is just creepy. I disabled voice search, location history, and everything else I could. Switching to DuckDuckGo made a big difference, but still the data gets swallowed up.

I know that Apple is only slightly better - but I’ll take whatever privacy I can get.


Apple doesn't even give you the option of disabling its AGPS implementation, so in that respect, you are worse off.


It was said in another thread, Apple's financial interests align better with their users -- Google keep insisting on stalking their own users. I'm so happy I don't have a Gmail account.


If you enable location just once (e.g. to check in to a location) it has that permission until you laboriously find the control in per app settings, and apps can use your location any time from then on, including in the background.


I think commenter was pointing that an Android app can fetch location even from the background (albeit w/ limits on frequency due to power consumption). It just needs to get that one Location permission from the user.

iOS has a fine-grained permission setting for this - you can decide whether to allow the app to access location or not when it's not in foreground, i.e "While Using the App".


Even on older phones, you can turn location services off, which I do at all times unless I'm actively navigating.


This doesn’t actually help on android as google can still determine location by scanning local WiFi network info.


But it doesn't. Google Location Services is what gives permission to use Google's AGPS service. Meanwhile, on iOS, there is no way to disable that at all.


Carin is awesome. Author of such classics as Hitchhiker's Guide To Clojure [1] and World Domination With Hexapods and Clojure [2]. And I think she has a book coming out soonish? Thanks gigasquid, this was a lovely warmup to start my day.

[1]: http://hitchhikersclojure.com/

[2]: http://gigasquidsoftware.com/blog/2014/03/20/world-dominatio...


Her book is "Living Clojure", from O'Reilly:

http://shop.oreilly.com/product/0636920034292.do


In the same genre, I watch this when I need a touch of inspiration. They're quotations from The Pale Blue Dot, again with the Sagan voiceover.

http://vimeo.com/2822787

Often we forget how far we've come, and how far we have to go. It's easy to get bogged down in the minutiae of regular life. When I listen to Carl Sagan sometimes I feel like I've glimpsed a bigger perspective.


This... is cool, but also kinda sucks for me. I've invested dozens of hours into writing an extremely complicated scraper for my Android version of HN.

https://play.google.com/store/apps/details?id=com.airlocksof...

The newest version (still under development, probably a month or two from release) adds support for displaying polls, linking to subthreads, and full write support (voting, commenting, submitting, etc). I'm fine with switching to a new API (Square's Retrofit will make it super easy to switch), but without submitting, commenting, and upvote support I have to disable a bunch of features I worked really hard on. Also it would've been cool to know this was coming about 3 months ago so I didn't waste my time.

Anyways, quick question on how it works -- when I query for the list of top stories

https://hacker-news.firebaseio.com/v0/topstories.json?print=...

it just returns a list of ids. Do I have to make a separate request for each story

https://hacker-news.firebaseio.com/v0/item/8863.json?print=p...)

to assemble them into a list for the front page, or am I missing something?


I'm sorry you just invested a lot of time in scraping. I know from experience what a pain that is. We said several times that the API was coming, and I've made it clear to anyone who asked, but there's just no way to reach everybody. All: in the future, please get answers to questions like this by emailing hn@ycombinator.com.

Re write access and logged-in access, if that turns out to be how people want to use the API, that's the direction we'll go. But we think it's important to launch an initial release and develop it based on feedback. There are many other use cases for this data besides building a full-featured client: analyzing history, providing notifications, and so on. It will be fascinating to see what people build!


I'm not blaming you. It just feels bad, you know? I'll definitely email you in the future about stuff like this. And don't get me wrong, it will be great to be able to throw out the cruft that comes along with parsing the current layout. The app is engineered to be able to drop in a new API pretty quick since I thought something like this would happen eventually.

It would help me out a lot if the current front end would live on under oldnews.ycombinator.com like that until the new API has write access, though. I think it's pretty cool to be able to be reading an article somewhere else, click "Share" in Android and have "Submit to HN" pop up in the results.


I second that request. Having a subdomain point to the current layout for a little longer is definitely going to help the transition, especially for write access and platforms without Firebase SDKs.


This... is cool, but also kinda sucks for me. I've invested dozens of hours into writing an extremely complicated scraper for my Android version of HN.

This definitely does suck. I feel your pain. But it's also part of the package of scraping websites. You go in knowing that it could break at any time.


Oh, I'm well aware. I've had to push many quick fixes when some field gets renamed, etc. It's really not the API change that bothers me, more the lack of features. But hopefully they can add those things soon and I can re-enable them down the road.


Yes. While with HTTP pipelining you can request them all over a single TCP connection using a single SSL session, you will need to make an HTTP request for each item you want.

If you're on a supported platform, the Firebase SDKs handle all this efficiently and can even provide real-time change notifications.


[Firebase Employee]

If you use the SDKs, we handle the connection and all of the data is sent over a reused full duplex socket rather than individual requests. https://www.firebase.com/docs/android/, https://www.firebase.com/docs/ios/, https://www.firebase.com/docs/web/


I'm trying to attach a ChildEventListener to the "item" Firebase and I'm getting a "permission denied" error. My guess is that I am doing something wrong, but on the off chance that the adding event listeners is not (yet) enabled, it would be nice to know. Any clues to what I might be doing wrong?

I've never used the Firebase API itself before. It's very clean!

Edit: I reached the same (now obvious) conclusion as mentioned in the reply below. Now my quick hack is working perfectly. Thank you so much for this!


[Firebase Dev Advocate] Glad you're enjoying Firebase! Attaching a listener to the "items" Firebase is disabled. This is because it would send every item from HN to your computer. You'll need to attach a listener to the individual item instead. The "permission denied" error is coming from the security rules on the HN Firebase (https://www.firebase.com/docs/security/quickstart.html). If you're trying to find out what the latest updates are, they're kept in the /updates node (https://github.com/HackerNews/API#changed-items-and-profiles).


I'm also currently writing a scraper[1] for the HN frontpage (for my WIP Hacker News redesign), and while there's a limited Algolia API available, it doesn't do much good if users can't post comments, upvote etc. Same goes for the official one now.

So, @anyone involved with the API project, can you give us an estimate on when will the OAuth-based user-specific API be rolled out? I'm fining with pausing my efforts until then, if it's going to be soon, in order to go a less complex and error-prone path.

[1]: https://github.com/geomaster/hnop/blob/master/backend/src/hn...


It's not going to be soon :(


[Firebase Dev Advocate] @airlocksoftware - Yes, you should make separate requests for each story. You can attach a listener to the topstories node (https://www.firebase.com/docs/web/guide/retrieving-data.html...) and when that’s triggered, you can make a request for the data on each story. Using the Firebase SDK, each request will get made using the same connection. I'd recommend using our SDK instead of the REST API so you don't have to worry about managing your own connections and retries.


Here's an example showing all topstories and updating in realtime. Obviously, in JS, but the other Firebase SDKs are similar: http://jsfiddle.net/firebase/96voj1xh/


Just wanted to drop a comment on the awesomeness of your app. Hacker News 2 is by far the best Hacker News app, not just on Android, but on all mobile platforms i've tried (so, iOS, Android and Windows Phone) Awesome work you are doing.


I did use your app for learning purposes - I studied the code quite a lot when learning Android. Thanks for good job !


Yeah, I like it a lot, but I've put tons of time into my scraper for Reader YC (https://github.com/krruzic/Reader-YC). I support everything but polls currently. This api is nice but my scraper actually supports more... No option to get Show HN, Ask HN or New afaik. Still glad this is out!


Exactly. Is this really the case, or it just isn't documented? I've send an email to api@ycombinator.com about that and hopefuly, I will be able to shed some light on this, later. I will write as soon as I get a response. (assuming someone responds)


I've got a reply from YC.

Yep, there are no API methods specifically for getting the Show, Ask, New, Comments etc. lists, yet.

They will probably add such, though.


just wanted to let you know that I love your application!


Thanks! I think you'll like the new version whenever it gets finished :)


Big fan and daily user of your app as well. Looking forward to the new version!


It's OT but i couldn't resist! Could you also please add some Material Design Love ? Thanks for making this awesome app opensource.

Cheers


I, for one, was just thinking about writing a scraper...

Thanks very much guys!


This is a big question for me too. It sounds like you need to fetch every id from the REST API. I need to test the iOS (and you Android) SDK.


I remember it was announced a few month ago.


Nice app! Is login broken though?


Oh, thanks for the reminder. I fixed it a few days ago and did a staged rollout but forgot to push it to everyone. I've done that so it should update for you soon.


It works now, thanks! One side question: why is your hamburger (icon) a Double-Double (http://www.in-n-out.com/mobile/double-double.aspx)?


Ha! A) Because I love Double-Doubles. B) Because it's more than 2 year old (before there really was a hamburger icon on Android). It's completely redesigned in the next version, though.


Can't wait to upgrade to it! Thanks for the wonderful app!


Thanks!


So why, in the first place, would I want another mobile app rather than just opening the fully functional website (which is pretty simple & basic already) on my mobile browser?


Because it can be better designed, use common design / navigation patterns of your mobile OS, notify you when you get a reply, change the text size, change the theme, have richer animations, and allow you to automatically share content from other applications directly to HN?


Yeah. I'm just a bit averse to apps scraping data for the reasons you mentioned. It should have been the work of the mobile website, not an app. Speaking purely from the user's point of view (not the developer - I realize this is a community full of app developers) - one can't just keep installing apps for every website which is not mobile efficient yet. You all must have seen a lot of websites showing messages like "Welcome, we have an app, pess OK to install that, or Cancel to continue". Most of those websites don't do anything which a mobile website couldn't.


I agree with you in theory, but most mobile websites are poorly thought out and implemented - if at all. I definitely don't download apps for every site I use, but for the ones I use daily, I generally find I need to. Native OS interactions seem to be difficult to get right in the browser.

HN is definitely an example of a site that isn't ideal in a mobile browser. For instance, if you have the ability to downvote, it's incredibly easy to mistakenly downvote when you mean to upvote because how close and small the buttons are. There's other added functionality, like tracking who I've upvoted / downvoted in the past as well as tracking un/read comments when returning to a thread. In the browser, I use a chrome extension for this, and on my phone, I use airlocksoftware's app. (side-note, I wish said state carried between the extension and the app)

The developers of HN are surely capable of creating a mobile website that could work just as well, or even better than a mobile app. But currently, it's not ideal. And for that reason, I completely appreciate airlocksoftware's (and the devs of other HN apps) for their efforts.


Edit (Typo): Most of those apps don't do anything which a mobile website couldn't.


Because the website looks terrible on a phone/small screen. I visit ihackernews.com more often than I actually visit news.ycombinator.com


Ideally those in charge of HN would have simply employed someone - they had offers starting at free I gather from previous threads - to make HN mobile friendly. Failing that apps are just patching the original site. I too decry this form of progress (replacing web access with apps that only fix the borked site) but it's not hard to see why people should want that.


Mobile websites work poorly on my Moto G. Apps are smooth and pleasant to use.


Potentially offline access to comments.


The API can be used to create a mobile friendly site, since the official one is not for some odd reason.


I was going to ask -- isn't this exactly like Hydra? But some Googling indicates it's the same project and was renamed. Explanation of the name change here:

http://sdegutis.github.io/2014/08/11/the-history-and-current...


It does similar things, and started off from Hydra's code-base. But it's design and architecture is so different that it's now a completely different app. Many Hydra modules can be ported, but they're not completely 1:1 compatible.


It's also written down in the FAQ section of the page. But I was thinking the same thing.


Just tried out the beta. I can't import Adobe Illustrator files yet (their forums says this is coming later). But otherwise it seems like a pretty good replacement. The panning and zooming is much better that AI. You can also use keyboard arrows to scroll through fonts and it shows up immediately, which is another thing about AI that has always annoyed me. I don't see any support for scripting (which I like to use to export icons), but it is a beta.


Please yes (on the Light Table demo). I know my way around ClojureScript, and I cannot get the Om TODOMVC demo to run in Light Table. If I get it figured out, I guess I'll be the one writing the tutorial, but so far no dice.


And Python.


Very cool of the people doing the matching donations. I'm always happy to do anything I can to help the EFF. But now, more than ever, it feels like they might be our best chance to avoid dystopia.

But considering the size of the tech industry and the amount of money the internet / technology is making all of us, I'm sometimes surprised by how small the EFF is. Does anyone have any thoughts on why the EFF isn't larger and better funded like most other industry groups?


Also, why doesn't anyone seem to rally around them when an issue comes up?

As far as I can tell the EFF have been handling all the issues of the day well, but all the attention goes to upstart one-off groups that are formed and forgotten within weeks.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: