Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
GeneralTspoon
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
13 ms
·
91.
▲
by
GeneralTspoon
8y ago
Nice write-up, and interesting idea. But how did you guys deal with the situation where FCM delivers and displays a notification without waking your app up. In that case, if the user dismisses the notification without opening it, then it wi
92.
▲
by
GeneralTspoon
8y ago
The right way to solve this is with explicit permissions (similar to iOS). Rather than arbitrarily and sporadically crippling apps with opaque limitations. Google & manufacturerers have gone too far in the quest for the Holy Grail of ex
93.
▲
by
GeneralTspoon
8y ago
These days the app doesn’t run in the background when receiving an FCM push notification (unless it’s already awake). The message is created by a separate Google Play Services process. It’s only when you click the notification does the targ
94.
▲
by
GeneralTspoon
8y ago
In practice, I don’t know of anyone offering 0.3% card processing fees. Most POS systems and online payment processors are more like ~2% e.g. Stripe is 1.4% + ~€0.30 to take online payments from within the EU. And chargebacks are passed on
95.
▲
by
GeneralTspoon
9y ago
Looks like the repo got deleted. Can't find an arhive.org version either. According to a friend, an article he saw earlier also got pulled. Are Grindr attempting to do some damage control?
96.
▲
by
GeneralTspoon
9y ago
AFAIK basically all other democracies function this way - using voting districts - never using direct representation to elect representatives [1]. One similar example of this is the recent German election - I believe AFD had like ~10% of th
97.
▲
by
GeneralTspoon
9y ago
Android and iOS don't really have this to the same level actually. Say for example on Android I wanted to include a layout but change the text color of all the items in that layout - I can't just do <include text_color="pu
98.
▲
by
GeneralTspoon
9y ago
Actually, using props instead of state is a pretty common thing to do - it's how redux integrates with React [1] [1] https://redux.js.org/docs/basics/UsageWithReact.html
99.
▲
by
GeneralTspoon
9y ago
I imagine that he/she is also including VAT in that 70% figure (which I believe is currently 23% in Germany). In Munich my taxes on my pay check were around 45% as a software dev (including pension & insurance). So 70% total tax mi
100.
▲
by
GeneralTspoon
9y ago
> Governments regularly use accounting methods that would land any private company in jail, for example. Genuinely curious, could you give examples of these? Maybe it's time to start a country for tax reasons :)
101.
▲
by
GeneralTspoon
9y ago
Could you cite some sources for the above claims? Snopes says the increase in reported sexual assaults in Sweden could possibly be to do with the definition of "sexual assault" changing in 2013[0] Regarding the Paedophile ring, I
102.
▲
by
GeneralTspoon
9y ago
I'm not so sure about the analogy, but I get your point. I think you're right that transparency is a big problem here. As long as others have perfect knowledge of the situation, they can factor the extra risk into their negotiatio
103.
▲
by
GeneralTspoon
9y ago
It seems completely absurd to me that preferred shares exist, and one of the reasons I always hesitate whenever I'm offered equity. For anyone curious, here's a good explaination: https://www.capshare.com/blog/
104.
▲
by
GeneralTspoon
10y ago
Google are starting to do some work on this front with Android 'Instant Apps': https://developer.android.com/topic/instant-apps/index.html
105.
▲
by
GeneralTspoon
10y ago
The same could be said about any platform - e.g. why can't I write my iOS apps in python? Transpiling languages like that nearly always ends up messy, and adds another layer of potential bugs to the system. Taking the time to learn the
106.
▲
by
GeneralTspoon
10y ago
This comment is flaming on Java and Objective-C, seemingly without having the experience to back it up. For instance, nobody uses Objective-C for iOS development any more (see: Swift). And modern Java is a decent language to develop in (wit
107.
▲
by
GeneralTspoon
10y ago
Regarding parent poms, you can do something similar in gradle with the top-level build.gradle file. Check out this project for an example of how that works: https://github.com/JakeWharton/butterknife
108.
▲
by
GeneralTspoon
10y ago
If you plan on doing that, it might be worth looking into a similar project that uses the XPosed framework to bypass certificate pinning at a low level: https://github.com/iSECPartners/Android-SSL-TrustKiller Although
109.
▲
by
GeneralTspoon
10y ago
Seeing as Cert Pinning bypassing doesn't currently work with XPosed on Android versions greater than 4.2.2, I'm not so sure about that. Might require a more in-depth solution.
110.
▲
by
GeneralTspoon
10y ago
In Ireland, a lot of people people use 'ye' as the second person plural. Mostly in areas outside of Dublin. In Dublin, the slang variant is either 'yiz' or 'yous'
111.
▲
by
GeneralTspoon
10y ago
We've made pretty good progress in the past few decades without chaos - I don't see why you would think it's necessary for people to suffer in order to change things. "Okay guys, just one last world war, then we'll
112.
▲
by
GeneralTspoon
10y ago
If you move internally within a country, sure. But when you actually move country, you'll need to get a new sim (or be charged roaming fees). I live in Europe, and I've had 4 different phone numbers in the past 3 years.
113.
▲
by
GeneralTspoon
11y ago
Normally I keep notes on decompiling game files, but this time I didn't unfortunately :/ But I didn't get too far anyway - the DemoMode.bin file contains the demo data. There's a list of locations in a custom binary for
114.
▲
by
GeneralTspoon
11y ago
It's a Unity app, so `apktool` works well to get out all the assets. Nothing is obfuscated. There's also sample pipboy data file there too (for the demo mode).
115.
▲
by
GeneralTspoon
11y ago
This could be interesting. I created fallout4map.com, and if it could automagically track a player's pipboy locations, that would be awesome. I tried decoding the binary data for the pipboy app, but didn't have much success. Perha
116.
▲
by
GeneralTspoon
11y ago
Can confirm - I've been using Hetzner for over 2 years now with no problems. I serve quite a large amount of traffic on an EX40 (it was costing me a fortune when I was with AWS). Although a company I worked for had a Hetzner server whe
117.
▲
by
GeneralTspoon
11y ago
================== SEEKING WORK - REMOTE (Located in Malta - can spend a couple of weeks on-site in EU/US). ================== Android & Full-Stack developer. Jack-of-all-trades, master of one (Android). I like to take ideas from c
118.
▲
by
GeneralTspoon
11y ago
If you just need some API client libraries then you can compile most modules separately[1] e.g. Ads, Analytics, GCM, etc. This makes Play Services actually usable without multidexing. [1] https://developers.google.com/andro
119.
▲
by
GeneralTspoon
11y ago
For any others reading this - can confirm, deviceToken issue is resolved. It is actually possible to update a pushToken, but you need to have an installationId set (otherwise you'll get an error saying it's not possible). Posted
120.
▲
by
GeneralTspoon
11y ago
Now that it's open source it's possible to fix, but it wasn't back then. We couldn't ship an app that locked up a user's phone. Combined with all the other issues (mentioned at the top of this thread), we had to w
More ›