HNHacker News
TopNewBestAskShowJobs

jc4p

3,217 karma · joined April 22, 2011

[ my public key: https://keybase.io/kasra; my proof: https://keybase.io/kasra/sigs/tLMg2s6JPapi5iNYSK9iPXrbXm6okugPZ2g5h58kBm8 ]
submissionscomments
jc4p··on How Apple Alienated Mac Loyalists
Not the code, the databases. And actually the specific databases I need to run (we have minimal PII scrubbed versions we use for local testing) could live on my internal HD but I don't have enough storage for all my files + the backup files of the DBs for restoring + the restored database files.
jc4p··on How Apple Alienated Mac Loyalists
I work on the mobile ecosystem for Stack Overflow. I run the team that makes our Android and iOS apps, so I need Xcode at the very least. I also feel more comfortable on a UNIX environment because I know the tools more.

Most of the developers at the company either get a Macbook Pro and use Parallels for Windows (Boot Camp leads to headaches because you can't resize the partitions later on without deleting everything and reformatting, or paying for Paragon NTFS for Mac, which might still crash and lose all your data!), or build their own Windows desktop.

I'd rather continue using a laptop, since sometimes I work from an office sometimes I work from home and sometimes (like right now) I work from random locations while visiting family.

At home I mostly use a Linux desktop, I've been looking at System76 laptops but nothing grabs my eye.

None of the Win10 laptops have grabbed my eye either, it seems that Windows laptops that are performant are either massive gaming "laptops" or severely lacking in some other way (although maybe now that the new Dell XPS has the newest discrete GPUs, maybe).

jc4p··on How Apple Alienated Mac Loyalists
I notice that you quoted this part:

> I've upgraded it to the max and done repairs to maintain it.

but didn't mention it in your retort to the rest of that paragraph.

You can't upgrade the new macbooks. I am typing this from a 2015 Macbook Pro Retina, I bought it with the biggest hard drive they offered at the time, and am currently doing development off a thunderbolt hard drive. Do you know how much that sucks?

I would do anything to be able to just open up my computer and pop in more RAM or a bigger SSD, like I used to do with my matte 15" macbook. That macbook lasted me so long, and so many RAM upgrades / network card installations (for Bluetooth 4.0) / etc etc.

I've been using this computer for almost three years, I have have to go through a lot of trouble to do my work on it (I work at a .NET shop), and I'm strongly considering just getting a Windows 10 laptop instead of dealing with this mess. It sucks to have to carry around a hard drive for my SQL back-ups because I can't upgrade the hard drive in my computer.

jc4p··on Programming Language Popularity on GitHub and StackOverflow
The graph doesn't load for me so feel free to ignore me if this is not relevant, but regarding this part:

> Results from Stack Overflow are based on the number of times that a tag for a certain language is applied, together with the applied count of the synonyms of that language.

I would suggest that mere count of tag appearance in questions doesn't give you "Programming Language Quality", it gives you "Languages which people ask questions about a lot".

The Stack Overflow datasets include question view counts, I think a combination of tag appearance in questions alongside view counts would be a better metric for "most popular" especially since the number of people _viewing_ posts are a lot higher than the number of people asking questions so you'll get a bigger chunk of the sample.

jc4p··on Uber employees used the platform to stalk celebrities and their exes
The pop-up that says "Uber has been using your location in the background recently"? I don't think this is true.

I think the pop-up is telling me it was using my GPS, especially since the GPS icon on the Settings page where you can retract the permissions was lit up to indicate "Recently used".

I don't want to jump to conspiracy theories but the experience scared me a bit because it was around the exact same time of day I had grabbed an Uber to go to work the last time I had used it.

Perhaps it was an errant random notification meant to scare me, perhaps it was a late delivered push notification opening Uber in the background, perhaps it was Uber seeing if I was home and wanted to commute to work again.

jc4p··on Uber employees used the platform to stalk celebrities and their exes
I'm with you on this. I don't get why Apple can't mandate a "Only when in app" option. The description for why they require it says they use the location while in app or for a few minutes after the trip is over.

When I was getting ready to leave for work today, I got out of the shower and grabbed my phone and saw a alert saying Uber has been using my location in the background. I hadn't opened the app since last week, last time I needed a ride. I'm sure it could've just been an errant push notification coming in late and waking the app up in the background, but I'm spooked.

jc4p··on Ask HN: Where is AI/ML actually adding value at your company?
I think a lot of the real benefits from ML "at work" is more in just cleaning of data and running through the gauntlet of simplest regressions (before jumping onto something more magical whose outputs and decision making process you can't exactly explain to someone).

I would classify something like this blog post as ML, would you? http://stackoverflow.blog/2016/11/How-Do-Developers-in-New-Y...

jc4p··on My Pixel has a manufacturing defect
How much did you pay to get it replaced? Did you use ubreakifixit? My Pixel died in a similar way, fell out of my hand while pulling out of my pocket, fell on the floor, screen dead. I went back to my iPhone 6s but the day after my Pixel died my Daydream headset arrived and I'd really like to try it at least once...
jc4p··on Google’s AMP is a gilded cage
It's a very understandable worry :) Writing rules that when they fail just go into server error logs is sub-optimal at best. The real solution would be Google allowing per-site AMP de-registration, but that's a fantasy I bet.

This is a good article on Apache URL rewriting, if you want to go down that path: https://24ways.org/2013/url-rewriting-for-the-fearful/

I believe in your use case you want to transform `all/urls/of/any/sort/that/end/in/amp/` and simply redirect to everything minus the `/amp/`, so the rewrite rule shouldn't be too bad to write (and test).

I wouldn't use the "might work" in my comment since I wrote it without even seeing if the regex works, but if you get an Apache test domain running off your blog you can test the redirect rules in isolation before putting them on your blog.

jc4p··on Google’s AMP is a gilded cage
The only thing that worries me about it is I haven't used Apache for years but I distinctively remember the last time I used Apache + Wordpress I failed to setup redirect rules that would keep my blog functioning but also let `/resume/` redirect to `/resume.pdf`.

If I got my redirect working, it killed all Wordpress's pretty url rewriting. Hopefully that was just an issue in my specific case though.

If the redirect rules don't work, there's lots of Wordpress redirect plug-ins though. I've used some in the past for when a post is edited and the slug is changed between initial social media burst and finalizing. Just a redirect from the old URL slug to the new one.

A plug-in like that alongside a script that allocates all the posts on the blog then manually writes into the plug-in's database table, that might work as a much uglier workaround.

jc4p··on Google’s AMP is a gilded cage
@edent - what web server are you using? I wouldn't bother with any Wordpress plugins, but if you're using Apache or something you should be able to `mod_rewrite` pages ending in `/amp` to the same page minus the `/amp`, which _should_ work right? Hopefully then Google will notice the 301s and catch up.

Posting this here because in the comments on the blog post he asked for any code that might help with that, I think something like:

`RewriteRule (.+)/amp/$ $1`

might work

jc4p··on Pixel Security
heh, it's my phone, i broke it, I'm out a chunk of money. I am fully aware of that. I'm upset that I can't pay a small increment of money to a trusted source to remedy that. I have never felt the need to have a case on a phone before (I am a mobile developer and have dozens of phones) because all my other ones have been able to survive falls of that intensity.

I'm sad that I'm out some money, and I definitely think I am at fault, but I don't think I'm being unreasonable.

jc4p··on Pixel Security
I called the uBreakiFix in Denver: "we've never seen that phone before, but yeah I think I could fix it".

I'm not upset that they don't have an accidental damage warranty, I'm upset that I can't send it to them and pay them the $100/$200/$300 or whatever it is directly for _them_ to fix it, not some random dude who's never seen the Pixel before.

jc4p··on Pixel Security
Just FYI in case anyone is considering buying a Pixel: I strongly urge you not to. http://kasrarahjerdi.com/2016/11/dont-buy-anything-made-by-g...

They have no Google provided support, if you drop the phone and break it your only option (if you didn't buy the third-party warranty upsell) is to take it to a repair shop. I called the ones near me, none had seen or touched the device before.

Don't spend $800 on a phone that you can't send back to the manufacturer to repair.

Edit: I originally said "they have no warranty" and people seem to have understood that as "they don't provide free repairs" -- what I'm trying to say is that this phone is supposedly a competitor to Apple, but if you break it you can't walk to the Apple Store and ask them how much it'd be for a repair. You can't send it in the mail to them either. You have to go to an authorized third-party repair shop. That does not sound like first-class flagship $800 product support to me.

jc4p··on How We Make Money at Stack Overflow
For my own curiosity, when you mean anonymous answers do you mean by people who don't have accounts on our platform at all, or do you mean people who already have accounts disconnecting their persona from a specific answer?
jc4p··on A glance into web tech-based text editors’ text management
I wish this article had also discussed DraftJS and QuillJS, which both use much more involved text management logic. Draft is powered by Immutable.js ( https://facebook.github.io/immutable-js/ ) and Quill is powered by Parchment ( https://github.com/quilljs/parchment ).

I've been creating a hobby text editor for myself and have tried almost every text editor library on the planet, I think Draft and Quill are the best.

jc4p··on Spotify is writing massive amounts of junk data to storage drives
Based on what I read in the suggested manual fixes in the thread, their SQLite db is constantly being VACUUM'd.
jc4p··on Weebly hacked, 43M credentials stolen
I wrote a post about this a while back: http://kasrarahjerdi.com/2016/08/on-developer-hiring/

Basically I like job listings that include _specific_ information about the role at the company. Maybe that means listing some of the hard challenges the other people on the team have worked on recently, maybe it just means listing the frameworks and libraries they're using, but anything to help me differentiate their Android role from someone else's Android role.

jc4p··on Weebly hacked, 43M credentials stolen
Perhaps I should've gone in more detail. I'm not upset about them wanting people who are proficient in git, I'm saddened that the job listing doesn't mention anything about what a Senior Android Developer does at Weebly.

The only Android related things on the job listing are proficiency with the IDE (Android Studio) and generic "frameworks".

I am an Android engineer, I clicked this job listing earlier today when it was on HN because I was interested in it. From the perspective of a listing that tries to get a good funnel of candidates coming in, it does nothing for me.

Would you apply to that job listing? I spend a lot of my day to day helping companies optimize their job listings, especially when they have high view numbers but low application click through rates, so this is a pet peeve.

jc4p··on Weebly hacked, 43M credentials stolen
That job listing is just so sad. Who starts a senior android role's requirements with "git workflows"?
jc4p··on More than 90% of ‘genuine’ Apple chargers and cables sold on Amazon are fake
I have spent more than 15 hours on the phone with Amazon and UPS customer service in the last month.

I cancelled my Prime membership (after 10 years) last week after spending 2.5 hours on the phone trying to figure out where a package 2 days past it's guaranteed delivery date was and if it was going to arrive or if I had to re-buy it.

I have no regrets about it. Everything I bought on Amazon I can buy from other websites, and when I have an issue I don't have to spend hours verifying my name and address with someone whose accent I honest to god can not understand (I am not a native American, it is very difficult for me to understand Indian accents).

jc4p··on Daydream – Google VR
Oculus has been making a phone headset alongside Samsung called the Gear VR for years.
jc4p··on Making ASP.NET apps first-class citizens on Google Cloud Platform
I don't know if I should post this comment or not, but for the record this is one of the HN guidelines I try to abide by the most:

> Please don't insinuate that someone hasn't read an article. "Did you even read the article? It mentions that" can be shortened to "The article mentions that."

https://news.ycombinator.com/newsguidelines.html

jc4p··on How Not to Bomb Your Offer Negotiation
I wouldn't call it sad at all. It's all a game, and these are the people that are playing to win (by their definition of "winning", which is a lot of people's: maximizing monetary gains)

I agree with a lot of what you say (and in fact, I work at a company that doesn't allow negotiations at all and has an open salary calculator: http://stackoverflow.com/company/salary/calculator ) but I wouldn't call it sad at all, I would call it playing the game.

I'm saying without any attempt at being rude: You're thinking way too much like a programmer.

jc4p··on Show HN: Velo – A wireless bluetooth splitter for 2 traditional headphones
Don't override my scroll. I didn't even bother reading the page, I _hate_ when people override my scroll speed and make it 10x slower. Let me read the page at my own pace!
jc4p··on Ask HN: What does an electrical engineer actually do at work?
What's the learning curve on newer tools for someone who has been using EAGLE for years? I'm scared of change.
jc4p··on Grateful Dead Fan Timothy Tyler Has Been Granted Clemency
I think the purest source is this: https://www.justice.gov/opa/pr/president-obama-grants-commut... but that lists a lot more clemencies
jc4p··on Sentry is now sentry.io
(not at all fun) fact: .io is actually TLD with a very checkered history: https://www.thoughtworks.com/mingle/news/2014/07/11/The-inju...
jc4p··on Ask HN: What's the best library for making cross-platform UIs?
+1 on this, I'm having a very pleasant time working on a couple Electron+React apps right now. I've been starting my apps based off https://github.com/chentsulin/electron-react-boilerplate but diverging greatly after getting it running.
jc4p··on Ask HN: What's the best library for making cross-platform UIs?
Yes the windows link above is for Universal Windows Platform apps which isn't what most people think of when they think "windows app". For React Native on desktop I've been bundling my React app into a Electron shell, works pretty well.
← PreviousPage 3 of 18Next →