News for hackers. Stuff that matters.

danik

Re:Tell HN: The site was offline. What changed? on Thursday June 12, 2014 @05:16AM (#7882495)
When developing and testing new features/bugfixes? Unless the bug is directly tied to production data I have no idea why you would have to use production data for that. I'm not saying don't do it on a staging server, but you don't develop on the staging server.

Right now I have a vagrant box where the VM images is on a DMG and all data is NFS mounted from the same DMG onto the VM, which is kind of the worst scenario I can think of. The testing database is around 2GB and the source+data files etc is ~200MB, just because I actually do need to fix a bug related to a portion in the production data. What's slow is the CPU, and that is still doing fine. It's not the disc even though I'm abusing it this way. That's on a 2011 macbook, 16GB, 400GB SSD.

HN is a small piece of software which should be easy to write tests for, 2GB db and 200MB source/data-files should be more than you'd ever need to work on something like HN. If you want to stress-test, test fs speeds etc you cannot do that on Mac OS X anyways since you're not running Mac OS X in production.

Changing the specs of a piece of software in order to make development more easy seems totally backwards. You're developing for production, not the other way around.

And at last, why not simply add a case-sensitive partition to your Mac if speed is such a big problem?

Re:Tell HN: The site was offline. What changed? on Tuesday June 10, 2014 @12:55PM (#7873718)
It isn't an argument. DMGs are fine for development and testing and they can be made case-insensitive. Or you could just, you know, create a separate partition.

If the DMG speed is too slow for development and running tests(not testing with the full live dataset) you are doing something wrong.

That's a very weird view of things. Do you really think this rule exists without a reason? Why not just follow the rules and turn your devices off, it's not going to hurt you, but a crash could.
Re:Edward Snowden is Almost Broke on Wednesday November 13, 2013 @12:12PM (#6726595)
I'd assume he would. First of all it could be a risk not to and second, why wouldn't he?
Coding is nothing like literacy. You don't have to be able to code in order to live in a modern society but you have to be able to read and write. There is no, or very little, point for the majority of people to learn how to code.
A fingerprint is an identification, not a passphrase. On top of that a fingerprint is very easy to obtain (especially on an iPhone where it might even by ready available on the button that reads it). A PIN on the other hand is a passphrase. The fact that a fingerprint is very unique doesn't mean that it isn't easy to discover and replicate or that it's difficult to use a copy of it.
Re:Why PHP Was a Ghetto on Wednesday April 20, 2011 @05:02AM (#2465859)
The user comment on php.net consists mainly of bad advices with errors in the examples.
Sure me and my friends talk shit about people that has been exposed doing stupid things on the internet, but we do it in private. We don't ridicule in public. I think that's the difference.
It's not that I don't see that happening but it's always from people I don't know and never talked to in real life or on the internet.

I have this strong feeling it's a loud minority. It's the same with real bullying, the bullies think they behave normal but the majority think they are bullies.

edit: changed majority to minority:)

> Most of us are Internet bullies now, some of us more active than others.

Yeah right. Most people I know aren't, and most people I discuss with online aren't either.

I'd say the reality is that the blog author belongs to a minority of people acting like bullies and now he tries to defend his behaviour by saying 'everyone else does it'.

Re:A Built-in Web Server For PHP on Thursday March 03, 2011 @04:48AM (#2283444)
It's not trivial to work with apache since it's an old bastard designed to run as a system service. It's fine for production but during development and testing it's a pain in the ass.
Re:Why Does College Cost So Much? on Sunday February 20, 2011 @11:11AM (#2242158)
I know why politicians do that, but why do people do it here on ycombinator?
Re:Why Does College Cost So Much? on Saturday February 19, 2011 @10:39AM (#2239184)
Taxes are higher, but you don't have to pay for private insurances, healthcare etc. to the same extent.

I don't know why people keep bringing up the level of taxes, it's not important or interesting. What's important is how big part of your salary you need to spend on necessities like government, schools, roads, healthcare and pension. That's what should be measured.

Re:Why are you people defending Apple? on Wednesday February 16, 2011 @09:10PM (#2229364)
Another Apple Records? Isn't that a trademark issue? hehe...
Re:What if Hudson loses its plugins? on Wednesday February 16, 2011 @08:06AM (#2226196)
I don't know. I mean, if you feel Oracle treated you like shit you can behave like this if you want to. To be the bigger man can be noble and all but blowing off some steam is pretty healthy.
Oh please. You can't just make up your own definitions of words and then use those definitions in discussions. There is a definition of what a company is, and it's not 'people it consists of'. The wikipedia article about Company is actually quite correct.
A company has no feelings, no concept of regret or remorse, it simply lacks consciousness. Without this you cannot have morality. A chair, an action, not even an animal can be moral or immoral.
Companies are not some organic-made-out-of-people creatures. Where did you get that idea? Seriously, why do you think that?
A company can't be immoral, no more than an axe can be immoral.
> there is however a moral obligation to not lie to your customers.

Why do you believe that? A company has no moral obligations to its customers in any way.

Re:Sweden Seeks to Detain Assange on Thursday November 18, 2010 @09:32AM (#1917841)
Here we reserve that for when the president, secretary of state or someone relevant in foreign affairs says or does something, not a prosecutor.
Re:Sweden Seeks to Detain Assange on Thursday November 18, 2010 @09:12AM (#1917780)
It doesn't work like that in the USA either, does it? If a official of the government, say a judge in a city, does something do you have headlines saying USA did it?
Patent trolls are not the problem, the problem are the laws and structures that makes it possible for them to exist. For a company it's perfectly fine to do whatever it takes to make money, it's up to society to prevent companies to do that.
Re:When did you last use one of these? on Friday June 11, 2010 @07:48AM (#1423532)
Here in Sweden they've converted some of them to wifi accesspoints, and some got a phone re-installed. I like that, that's clever.
Although I understand your points the AdWords and search issues is googles problem. People pay for a product with flaws in it and google is selling, not Mahalo. Mahalo has the freedom to do whatever they want with their pages and they can't be held responsible for what google in it's turn does with them.

Now, stealing other peoples work, that is obviously Mahalos doing and should be a case for the court.

I'm not really sure what the point with this article is. Mahalo spams google - so what? It's up to them to do this and up to google to prevent it. Business is business, even on the internet.

Re:Euro MPs block bank data deal with US on Monday February 15, 2010 @08:09AM (#1126482)
Governments does not really need to care for other governments laws, that's the difference. So it's neither illegal or a crime as long as a foreign government is concerned.

And yes, governments and borders go hand in hand.

Re:Euro MPs block bank data deal with US on Thursday February 11, 2010 @10:36AM (#1117799)
What do you mean? First of all that was Germany, so 'EU governments' does not apply in that case. Second it is a big difference between buying information about your citizens and selling information about you citizens.