HNHacker News
TopNewBestAskShowJobs

tatalegma

34 karma · joined January 20, 2014

submissionscomments
tatalegma··on The best 6 health benefits of sweet potatoes
Please don't post this garbage here. This is off topic.
tatalegma··on Ask HN: How productive are you?
I have similar experiences. Sometimes, as part of a fix for an investigation like this that I'm tasked with, I simply take the three days and build the actual correct solution. Or I build part of it, use it to partially automate what I'm investigating, and then continue to build on it next time a similar investigation comes up. Once I'm done with the better solution, I present it to the people who would use it, and transition them towards using that.

It's not always possible depending on the type of organization. A lot of managers are offended that you would work on something they didn't ask you to work on, even though they would never think to ask you to work on the thing, and even though the thing you work on pays for itself over a short period of time.

Other times I just say fuck it. If you want to pay me to do the same investigation over and over, I'll mentally check out while I collect my paycheck and spend my extra time teaching myself skills for my next job.

tatalegma··on Unit Testing Best Practices in AngularJS | via codeship
Pretty good, thanks for sharing. I'm learning angular and this was really useful to me.

One comment I have is I don't agree with some of the advice about integration testing. Integration testing shouldn't mock anything (except maybe truly external 3rd party stuff like analytics). If your app is interacting with your own internal services, for example to do user authentication, you should interact with a real instance of that service, not a mocked one. This way you don't run into the situation where the interaction between the angular code and the authentication service is broken, but your tests think everything is fine.

I used to unit test extensively, and I still do, but I now prefer integration tests as my primary form of testing. It's more important to me to know that major features that span across modules/service layers are working. Most of the time the low level testing isn't as necessary if I know that things are working at the higher level.

I think mocking in integration tests is a cop out. First, it's by definition not an integration test (but I hate those conversations or blog posts where people haggle over the definitions of "unit test", "acceptance test", "integration test", "smoke test", etc). Second, you should take the time to set up an actual environment that mirrors production as closely as possible, and run integration tests in that environment. This means running integration tests against services deployed to real servers that hit real databases.

tatalegma··on Alternative Project Template with AngularJS (+other frameworks)
Seems interesting but there isn't enough background on what this is. Just a collection of components, or is there anything custom added on top of the collection of frameworks?

The BTC website is pretty bad too, coming from someone who doesn't already know what all those different frameworks do. There is no sample code or "getting started" guide to illustrate what the project does or why I would want to use it. Especially curious about why I'd want this template over others? What are the competitors/alternatives?

tatalegma··on How should I spend my last summer?
This.
tatalegma··on Ask HN: Successful one-person online businesses?
Are you talking about appointmentreminder? I thought that was a single owner, the guy who lives in Japan and who also created Bingo Card Creator?
tatalegma··on How should I spend my last summer?
It sounds like you don't know how to code, so in what capacity are you joining the big tech company in the bay area (what kind of job role)?
tatalegma··on The Flawed Theory Behind Unit Testing
I gained nothing by reading that.
tatalegma··on A Successor to Sagan Reboots 'Cosmos'
I'm sorry, I know the internet loves him, but Tyson will never be able to replace Sagan.
tatalegma··on Bankrupt Mt. Gox Reveals Location of Lost Private Keys
Definitely seems like satire or parody (I never know the difference).
tatalegma··on Why we left AngularJS
Can anyone elaborate on the problems? Are there problems with analytics while using Angular?
tatalegma··on Hipster Dev Stack
FlatWhite.js Cortado.js RedEye.js Americano.js Barrista.js MacBook.js Cuppa.js
tatalegma··on Setting up continuous integration, nightly builds, etc in a .net environment
Did you paste the wrong link? Because that link has nothing to do with continuous integration or nightly builds.
tatalegma··on Why Silicon Valley should settle in Oakland
Sorry I am not super familiar with the neighborhoods. I think of Red Hook and Dumbo as the same for some reason, I am thinking of one neighborhood (with lots of tech companies), but not sure which of the two is the name of it. Apparently it's Dumbo.
tatalegma··on Why there is a lot of programming courses on MOOCs not a one course about Linux?
I agree with you that its very complex, and very widespread, and i could see why you'd want it to be taught. But I still think it's not something that belongs in a university. It's still just a specific instance of a piece of software.

BTW, isn't Firefox is open source? You can replace my exaples with their open source equivalents (LibreOffice, Gimp, etc) and the argument still stands.

A uni should teach algorithms and data structures, networking, threading, etc, not how to use firefox.

Likewise, a uni should teach operating systems, threads, hardware, compilers, memory management, etc, but not Linux.

Even programming languages are generally not taught as ends in an of themselves. Good schools expect you to pick them up as part of the class. For example, the course is about data structures, but you will code in Java, C, and LISP during the semester, and you are expected to pick them up. They may help you a bit in learning them, and give you background on them when you move to a part of the course that switches to a new lang.

tatalegma··on PHP or ASP.net: Did I Do The Right Thing?
Can't automate anything? That's just false. We have our entire build/deploy/test process automated. Hint: even our server build is automated, and gets rebuilt with every code change.
tatalegma··on Why there is a lot of programming courses on MOOCs not a one course about Linux?
Linux is not a course typically taught in universities. For the same reason they don't teach courses on Excel, Word, Photoshop, Firefox, etc.
tatalegma··on How can I hack the gassiness of beans?
There are over the counter drugs you can buy that solve this problem. This post doesn't belong on HN. Also, such a wrong use of the word "hack".
tatalegma··on The Engineer Crunch
Fair enough. I understood that, I was being kind of a dick. Sorry.
tatalegma··on The Engineer Crunch
You used lists and arrays... so you used data structures?
tatalegma··on Why Silicon Valley should settle in Oakland
I don't imagine it ever replacing SV, but supposing a tech scene did take root in the East Bay, where do you think it would be? Think something analogous to "Silicon Alley", AKA Dumbo/Red Hook in Brooklyn, NY.
tatalegma··on By The Time You Give Them a Raise, They’re Already Out The Door
Exactly. Going through this with my employer now. I'm waiting till this coming week to find out what they decide. But if they say no, what they don't know is I have conversations ongoing already that will lead to offers.

If/When I decide to leave there is no counter offer that will get me to stay. For me it's a matter of principle. By the time it gets to the point of counter offers, they've already missed their chance to pay me what I'm worth.

tatalegma··on Ask HN: A question about ethics in Computer Science
Buyer beware.
tatalegma··on Non Tech Founders – Why Do You Not Listen to Tech Advice from Tech People?
In my anecdotal experience non-tech founders are quite arrogant. They exhibit a Randian belief that they are capable of doing everything better than the peons who work for them, and like to dictate to others, especially technical folks, how things should be done. They tend to ignore advice from technical folks.

I don't know. Maybe only two out of the ten I've worked with have not cared and have actually listened to the advice of the techies. In one case, the techies forced them to rewrite everything in a new language for no real reason, and blamed a lot of shortcommings of the old system on the language when it was really a problem of poor implementation. In the 2nd case everything worked out great, and that founder's business is really taking off, traffic still nearly doubling every year. His stuff is running off a single WordPress server.

tatalegma··on Amazon cuts cloud storage prices, Microsoft immediately follows suit
There is a blob explorer built into visual studio. There are also third party ones available, and lots of command line tools similar to s3cmd built by open source community.
← PreviousPage 2 of 2