HN user

alinajaf

1,925 karma

I am an engineering manager in Japan.

Posts21
Comments545
View on HN
najafali.blog 3y ago

Moulding Software

alinajaf
1pts0
www.happybearsoftware.com 8y ago

A developers guide to human networking

alinajaf
1pts0
www.happybearsoftware.com 8y ago

A developers guide to human networking

alinajaf
2pts0
www.happybearsoftware.com 10y ago

The Bear Test v0.1

alinajaf
1pts0
www.happybearsoftware.com 10y ago

All estimates are still lies

alinajaf
3pts0
groups.google.com 10y ago

Multiple security vulnerabilities in Rails

alinajaf
229pts62
gist.github.com 10y ago

Training Day

alinajaf
1pts0
gist.github.com 11y ago

Training Day

alinajaf
1pts0
www.happybearsoftware.com 11y ago

How to almost protect yourself from the Rails cookie session store

alinajaf
1pts0
www.happybearsoftware.com 11y ago

Hiring and keeping developers for the rest of us

alinajaf
8pts1
happybearsoftware.com 12y ago

Kickstart Your Developer Career

alinajaf
1pts0
happybearsoftware.com 13y ago

HTTP Transport Basics for Web Developers

alinajaf
3pts0
happybearsoftware.com 13y ago

You are dangerously bad at cryptography

alinajaf
268pts167
happybearsoftware.com 13y ago

Why automated tools won't help you write secure code

alinajaf
1pts0
happybearsoftware.com 13y ago

How quickly check for basic access control vulnerabilities in Rails applications

alinajaf
1pts0
happybearsoftware.com 13y ago

Advice on securing full-time employment for web developers

alinajaf
1pts0
happybearsoftware.com 13y ago

Implementing a dynamically sized array in C

alinajaf
36pts54
happybearsoftware.com 13y ago

No-one Cares About Security (and what you can do about it)

alinajaf
1pts0
news.ycombinator.com 14y ago

Ask HN: Become a freelancer/contractor or keep working on product in free time?

alinajaf
1pts1
najafali.com 15y ago

0 to 15,000 visits in 24 hours: How I did it and what I learned

alinajaf
3pts0
www.cardmonkeyhq.com 15y ago

Show HN: Another Spaced Repetition Flashcard App

alinajaf
2pts3

Senior management at a Japanese tech company, 2 kids, most of my daily life in Japanese here. Can confidently talk circles around most N1s.

I agree. I had plenty of strange abstractions and crutches when starting out learning Japanese, and starting in romaji was absolutely fine. While the post wouldn't benefit me now, starting out any useful mental shortcuts to producing Japanese would have been most welcome.

Many of the comments here talk about lifestyle changes, and I think those are key, but there are some, (perhaps rarer) conditions that unfortunately won't be improved.

Trigeminal Neuralgia is one of them. The condition is just... pain. Lot's of pain. More pain than anyone should ever have to go through. When I have episodes, I often feel awe that it's even possible for someone to feel such an incredible amount of pain.

Challenges in life help to shape you, make you who you are. But I do feel that this particular challenge was one where it would have been nice to have learned the same lessons some other way. I hope sincerely that treatment based on this research can help.

I don't know much about how a developer should try to build a secure application from the get-go. I don't think I've ever worked on or assessed a codebase where that plan worked.

I did the challenges years ago when you had to email in for them. Since then I can count at least five occasions where having done the challenges has allowed me to identify vulnerabilities in real-world crypto. I was usually able to recommend fixes that in theory made those codebases more secure. This is keeping in mind that I'm at best a hobbyist security researcher and just barely a professional developer.

I think there are about seven or eight people on Earth that I would trust to securely implement cryptography in their code. For the rest of us I'm happy with doing the best we can with libraries that make that easy (NaCl), and otherwise trying to find ways to break the thing. The cryptopals challenges help you do that, so that's where I'd recommend a developer start.

This is a fantastic comment. I'd love to hear more about your experiences and any other insights you have about musical practice.

Since you program too, do you think there is much crossover? Some analogous form of practice that makes you a more effective coder?

I'm usually working with one client at a time, but as you surmised spend considerable effort keeping the sales pipeline bubbling. Haven't had any time without work for the past couple of years unless I wanted it.*

I should probably point out that "maximising my billable time" isn't really an important goal for me as a freelancer, so we're likely talking about a different business model. You'll hear this a lot from patio11 and tptacek, but overwhelmingly, my goal is to provide as much business value to my clients as possible and charge accordingly.

You don't necessarily have to position yourself as a content marketing/CRO/Security/Sandwich-making consultant to do this, just find a way to make or save your clients buckets of cash and you can charge them whatever you want.

*: That makes me sound like some sort of rockstar freelancer, but in reality I'm a boringly average Rails developer. I get and keep clients by working really hard on sales and treating existing, long-term clients like my family's financial security depends on them (hint: it does!).

For work that actually requires me to crack open a terminal, it's as you described i.e. in the vast majority of cases it can probably wait until the next week they've booked. In the rare case that they're losing money thanks to inaction or if the problem is directly due to an error I made, then I'll fix the thing so that it's in a working state right now and work on a longer-term solution in their next slot.

I bill weekly. Clients can book time in increments of one week. Each week costs a fixed amount, though I give clients a 10% discount for pre-payment in full, cleared in my bank account before work starts.

Snarky but true: implementing this was roughly as hard as reading a comment by tptacek about billing weekly, deciding that I bill weekly, and then telling all existing clients and future clients that I now bill weekly.

Green Arabia 12 years ago

This is of course fine for white people visiting from overseas that don't look like they should know what they're doing.

There are some types of non-muslims (open apostates) that would be putting themselves in real physical danger by entering your average mosque in Islamabad and praying. We have a local ex-muslims meetup in London and stories of threats + actual physical violence from family and "community" are more common than not.

It also goes without saying that if there's no women's section and you have a vagina, you're shit out of luck.

Bill weekly, offer a 10% discount for 100% pre-payment or you take at least 50% of the initial engagement up front. That cuts out clients for whom you've either a) not demonstrated enough value to or b) weren't going to pay you anyway.

That always confused me too. In the UK Asian typically refers to South Asian. In the US I think if you called us South Asians and what you're currently calling Asians East Asians it might make things a little less confusing.

I'm not much of an old timer, but here goes...

I make my money primarily by building software for small businesses and startups. I charge about £2500 a week for this, and am booked about 50-75% of the time. This is supplemented by the occasional workshop where I teach developers about web application security through the lens of RoR applications, which net me about £5k a pop depending on how well they sell. I have one employee who I'm training up to take on some client work for me so that I can focus on drumming up new business and building products that will provide a sustainable income that isn't linked to the amount of time we put in.

I do work part time as a developer in a start up and can't help feeling i'm building a dream for someone else.

Some people are bitten by this bug and some aren't. I know perfectly good career developers who are content to turn up, do a good days work and get a regular pay check at the end of every month. If you ever do start your own business and go out on your own, you too will long for the days when you could do the same and have guaranteed monthly cashflow.

but i can't help feeling that the current university paradigm of work hard, good grades, get a job seems to be bit of a misnomer unless you're happy building things to make others wealthy whilst you earn £30,000 a year?

In this market, after a few years you'll be doubling to tripling that salary. I know a guy who's been on the job two years and cleared £65K. That's not at a city IB, just a plain old startup. It was only a matter of time before London developer salaries caught up with what you might get in the states.

I've accidentally run into Andrew at various points in my career, he's a very smart and capable guy, I always come away having learned a lot from him. He already knows basically everyone in the London startup scene, so I'd wager that anyone who has a burger with him will have more to gain from an hour of his time than the other way around.

Git is described as not being crypto

Git has plenty of crypto in it, namely GPG (for signing tags), SSH and SSL (for transport). Using off-the-shelf crypto like this doesn't strike me as "inventing your own crypto".

people assume it is resistant to malicious attack

Exactly what's the threat model here? I can't conceive of a malicious attack that exploits gits reliance of on SHA1 as a message digest that doesn't also require write access to your filesystem.

I think your argument stems from the fact that SHA1 is deemed insecure and therefore anything associated with it must also be insecure. As I said in the previous thread, git doesn't use SHA1 to make any of the guarantees that cryptography is typically used to make.

It's usage is to prevent accidental corruption in the everyday usage of git (the sort that mercurial appears to have been prone to in the past), not to protect against a malicious adversary with write access to the filesystem.