skysight-inc/HackerNews huggingface dataset:
This article is awful. Instead of doing actual reporting, which would quickly have unearthed the actual purpose of a "cyber" (gag) - command --- which is to protect the integrity of critical information systems (particularly military and utilities) and to develop mechanisms to deny those capabilities to adversaries --- the writer of this piece contents himself with quips like "commander in geek" and "glasses-wearing general" and "world's most powerful IT guy".

I sympathize with Reason's philosophy in general (though I'm not a libertarian), but isn't a strong military one of the very few things that even libertarians agree we should be letting the government take care of?
Someone should make a site where user's share pieces of code and explain why it's awesome. Allow people to comment etc. I want to read more code, but don't have to time to go find it.
The Half Truths of Mark Zuckerberg
There's a name for that: Unwarranted Self-Importance.
Weird example, but fine, we can reduce the number of modulo operations if that is the one with the 'cost', but that's not very realistic given that we're printing stuff to stdout, but if we take your premise as true and we optimize for the cost of the modulo operator you would get silly solutions like this:

main()

{
int i;
int ncounters = 2;
int counters[2] ;
int presets[2] = { 5, 3};
int n; // number of counters that tripped
int j;
char * strings[2] = { "fizz", "buzz" };

// first time, copy presets to counters

for (j=0;j<ncounters;j++) {
counters[j] = presets[j];
}

for (i=1;i<=100;i++) {
n = 0;	// reset number of counters that have zeroed

for (j=0;j<ncounters;j++) {
counters[j] = counters[j] - 1;

// output relevant string when counter trips

if (counters[j] == 0) {
// separate strings by dashes if more than one counter trips
if (n != 0) {
printf("-");
}
n++;
counters[j] = presets[j];
printf("%s",strings[j]);
}
}
// no counter tripped, just output the number
if (n == 0) {
printf("%d",i);
}
printf("\n");
}
}

Forgive the lack of comments and the hardcoded number of strings.

No modulo operations.

By asking the question that way you'd get solutions that you're not really looking for.
Few people can do logarithms in their heads - and those that can, usually do it using similar tricks. I realize that "doing math in your head" is well on the decline, but it is pretty essential for speedy approximations, which are what many decisions tend to be based on.
while this would be AWESOME, I doubt it's true.
Haha, I've always said, "never let your lawyers run your company".
Wasn't quite as elegant though, and 10 instructions vs 8.
Find out how to minimize the taxes you owe.

Choose a local credit union over a bank.

Figure out how you want to change the world. Use OCW, if necessary, to get a general idea of how to do it. (If it's a scientific issue, for example.)

Get to know researchers and PhD students at local universities. Offer individual grants to those with the expertise you need to help you change the world. (Again, science-oriented solutions.)
I do think saying "no" has some negative implications as well, even if the person doesn't take it personally. Like the article says the person would probably just think you (and the rest of society) is a prick.

As I read the article, I didn't really interpret it as he was actually giving out $100 a week, but rather saying that if you gave a dollar to everyone that asked, you could spend a lot of money.

We're also talking a specific week here, not at any given moment. I've never been to WWDC or SF during a big conference but if I was a homeless person looking for a place with a lot of people who is sure to have money, I'd look at the WWDC crowd.
ComScore site tracking now free, offers discounts for startups
Are we ready for a true data disaster?
Can you tell us more about your history? I'm pretty sure it will be very interesting.
Ruby Procs And Lambdas (And The Difference Between Them)
If you really need a title, make it "Quality Inquisitor", "Grand Vizier of Partnerships", "Priest of the Council" or "Czar of All Servers".

That will, at least, make it clear how seriously you take the titles.

If it's a two-man company, one can be the CEO and the other the Chairman of the Board.
Personally, I would buy pay off my mortgage and buy apartments/homes for my siblings/parents and still have money to spare. Being that you are only 20, you probably don't know where you want to live yet but that said, I bought my first place when I was 21. The way I looked at it, my family had always been renters and so buying was a good way to pay myself back for my housing expenses.

After considering a real estate purchase, I would simply park the money in liquid CD's while I consulted and interviewed a fair number of advisers. Don't jump in bed with the first fancy adviser who comes along.
That I have no clue about.
Hogwash.

I have more pc's than ever. Everyone I know has one or two. So now we have multiple copies of windows out there PLUS an android phone and apple device in a household.

Microsoft doesn't have to lose for Google/Apple/Whomever to also prosper. It's not a zero sum game for one computer in a household. Multiple winners, not one loser.
Well, there's another reason for me to keep alive the interest in meditation!
"The PERFECT practice makes a man perfect".
You get raped by default unless you "opt-out". It's become a tradition. Because after all, where's the wrongdoing if you can opt-out, eh? Sometimes I hate the world.
When the startup can effortlessly expense a large shark tank to their office/space without pissing anyone off.

Because to do that, a startup really needs to be successful (roughly according to the points brought up by the article)... otherwise you will be angering your investors who don't have a return or they will regard you as horsing around, your user base will be unsatisfied and regard you as wasting money and time, and money wise you must be pretty profitable, etc.
I find Objectivism and related ideas to be extremely internally self-consistent. (Which for me is a big component of being Well Formed.) But just because something is internally self consistent doesn't mean that it's such a good idea in a given context. The results a given system yields are dependent on the interaction of a number of interdependent social, cultural, and economic systems. (A communist revolution could be a great idea in the face of a corrupt system, but turn out to be a horrible idea over time. Capitalism could result in tremendous wealth generation in one time and place, but in tremendous repression in another.)

This idea should be extended to programming languages and computer systems. The success of Unix, C, Perl, PHP, iPhone OS and many other examples of technology is highly dependent on their interaction with pre-existing user communities and technological infrastructure.
Every time I read an article like this I plan to spend less time online, but never seem to actually manage it.

Tools like leechblock do provide some help in blocking access to the biggest distractions.

I'm working on the meditation thing a little and plan to increase.

Has anyone come up with a good structured approach to getting focus back?
So it's unfair to charge people too cheaply, but not to charge them too much? That seems to be an implication of your post.
Mostly, it's that the intellisense and interactive debugger systems are streets ahead. Intelisense is basically useless on XCode, and the debugger support is a thin UI layer around GDB (which, very often, just doesn't work. The number of times it'll tell me that a variable is out of scope when it's quite clearly right in front of its nose is insane).
So, you either go back to the source and ask for more info, or you take a stab at what is the right thing to do.

In this case that wasn't possible, so I assumed the worst, and I think that simply noting that there is a potential problem there would already score you points with the interviewer because they'd realize you spotted that the specification was incomplete, it didn't tell you what to do in case of invalid input.
I don't mean market as just being purchasers but the overall market of suppliers, consumers, and, of course, regulation.
> I am just a regular guy who spends around $3000 a month

That's more than I earn in two months :(
The iPad specifically, or slate devices in general?

The former I'm not sure about, the latter, quite possibly. My thinking is that if I were running the IT department in a manufacturing firm looking for ways to bring these devices into my factories, I'd be giving preference to touch-oriented web apps rather than iDevice applications specifically. You retain a bunch of advantages of web apps -- easier and simpler deployments, generally faster development, more choice of languages -- and once the Android tablets start to hit, you avoid locking yourself into a single supplier.
> NO. Static typing doesn't help when speaking about inline caches for virtual calls (most method calls in a typical Java app) ... it only helps on the initial method lookup because you're dealing with a vtable instead of a hash (that's because at least you know the interface at compile-time).

Are you sure? I thought in certain conditions Java could dispense with the vtable lookup even in interpreted land. Not that it matters nearly so much there.

> But to do code-inlining and other such optimizations, the Hotspot JVM only compiles bytecode that has been profiled. That's because jitting itself is an expensive operation and you can't just redo it after you've inferred the conditions of a potential call-site cache, being more efficient to just first interpret that code until you have enough data.

So you're saying the Dalvik JIT does not do this? The reason I said "static typed compilation + JIT" was because, in my reading of the literature anyways, at jit time it could dispense with the vtable lookup if it's seen a stable type signature.

> I still think Java was a poor language choice for Dalvik precisely because methods in Java are implicitly virtual and because you can't have custom stack-allocated values. A language like C# would've been more suitable ... but since its their VM, maybe they'll provide an efficient alternative.

Please no. C# has, unsurprisingly, evolved into an absolute soup of a language. It's a crud-infested nightmare. The only thing saving me from absolute insanity these days is the slow migration to F#.

But really, since our comparison is to Objective C, where all calls are method dispatch which is a slightly more expensive than java calls, I don't think we're losing much. At best, Java is slightly faster. At worst, Java uses the same technique (or is interpreted, but again it doesn't seem to be losing that badly in this mode).
Of all the languages for an adult to learn, English is the least impressive I can think of. Here's why:

1) English language media can be found almost anywhere on earth. Many countries not only have English movies, but also local English language radio stations, newspapers and magazines specifically targeted at EFL learners. My current home, Taiwan, has all of these. A modest number of those resources exist for languages such as Mandarin, Spanish or French in various countries around the world. Materials in Taiwanese Hokkien, on the other hand, are very, very difficult to come by in most places.

2) No matter what kind of racial background you have, strangers in the US, UK and other English speaking places will probably assume you speak English. Not so for an American who moves to Korea, Sweden or Egypt.

3) Even when dealing with non-native speakers of English, it could very well be your best language for communication. When non-German speaking Chinese and non-Chinese speaking Germans do business, they'll likely use English.

4) English loan words are common in just about every major world language, except French. However, French learners of English still have a lot of cognates to help them out since English borrowed them from French.

5) In many parts of the world, English is a high-prestige language. This makes it even more likely that locals will want to use it with outsiders. It also makes it possible and even common for multi-decade expats to still be virtually monolingual English speakers.

6) Many people, including the author of this article have been instructed in English since childhood. However poor that instruction may be, it's still a head start.

If he learns a lower-prestige language for which materials are hard to find, I'll be impressed. Blackfoot and Navajo, for example, are both shrinking language communities. Most of their speakers also speak English (and many prefer to with outsiders). Here's an article about language learning from someone who's had success in those circumstances:

http://www.sil.org/lingualinks/languagelearning/essaysonfiel...
Japanese government plans $2 billion robot moon base by 2020
Wired iPad app sells 24,000 copies in 24 hours
I don't think our IT department would go for it.
"there is a lot of expressiveness in German that has no English equivalent", true for german and for many other languages (no need to mention asian ones where this is obvious).
The word "Zeitgeits" comes to mind too.

And considering this, allyagg, i'm not convinced by your argument about vocabulary size, i've always felt the english vocabulary as quite compact (and thus more convenient to use compared to other more complex languages)...

EDIT: allyagg, a bit of googling proved you right :)
From what i understand, english vocabulary seems more rich of "technical" terms while some other areas are less developed (i would say related to philosophy/poetry concepts for ger and ita for example ), rendering some words in other languages not directly translatable.
http://pick.im
what is the name of your shop?
I abhor all politicians and all forms of fixed political ideology

Political ideologies are imperfect mental tools. Their relevance is highly contextual to a given time and place. Perhaps many politicians become corrupted by this notion, and they forget that there are actually fundamental principles at work in reality. (And perhaps this is why scientists are so bad at politics?)
Because there's an endless supply of oil to make plastics with? I think it will be hard to drag the price of plastics up to match the price of crude as it runs out. Would be interested in an economists view on this though.
That's a good point. The question is, do you stop at 20*20, or do you continue memorizing products of larger and larger numbers? It's definitely the sort of thing where there's an optimum amount of memorization, past which you get diminishing returns.
I've used Odesk.com with good success. Much more individual-developer focused than elance.com or similar (which is full of overseas firms)
Yes, you are 100% correct. What I was trying to say is that overall he is better parking the cash and learning more about how to properly invest a large sum of money vs. just going out to the closest Edward Jones office and plunking down a check.
The Full Story Of How DailyBurn Launched, Got Funded, And Sold
Or you can ask HN because a lot people here have faced similar situations.
1.) Buy yourself a nice Lamborghini.
2.) Take like a month to travel the world and do and see things you've never imagined.
3.) Go sky-diving.
4.) Bitch slap someone then hand them 50$ and walk away
5.) Blast 'Rage Against the Machine' in your new Lamborghini as you do 150 down the highway.
6.) high-speed chase ensues.
7.) bribe police officer.
8.) Scream "Fuck you" as you tear ass outta there
9.) Your Rich Bitch. Do whatever the fuck you want.
10.) Make sure you have as much fun as possible.
11.) If you invest in something your just gonna have the same problem in a few years. too much money and no life.
12.) Last thing. video all the crazy shit you do and put it on Youtube.

Congrats on the American Dream thing... Hope you live it to the fullest.
Yay, finally someone large enough to OUT PATENT the patent trolls.
It's weird. If you look at a lot of startups ("startups"?) in Germany & Austria, you'll find people with a law background among the founders. I haven't yet figured out why this is the case.
Blackboard persists because they sue every competitor out of existence.

They're crap and everyone in academia knows it.
since it's a brand new user

or a regular user who did not want to post under his/her regular username for privacy reasons.
I haven't touched C in the better part of a decade but the algorithm seemed straightforward to me. I'll fake it with some pseudo-C:

http://pastebin.com/UpLNgxKC

Note: I read the entire thread several hours before making this attempt so my results don't represent a good lab environment. Please let me know if I made any major errors.
"killing a year finding the right investment approach while your money makes even a very low percentage rate is, for a 20 year old, a better approach than rushing out ..."

So if you get $5M you should be looking to sacrifice a year from your life? Doh!
VLC 1.1.0 RC with WebM Support, GPU Acceleration and Extensions Released
It might be interesting to try that with "David's Sling" since Stiegler originally wrote it to use an early hypertext, then rewrote it as a novel. (Note, I have not seen the hypertext version, I don't even know if he ever ported it to html).
Simple Tips to Enjoy Hatha Yoga
I thought the same thing. Is it that resistant to spills/splashes?
I think the disruption is in gathering a lot of data about various frustrations caused by apps. this gives the industry a new source of information on their products , that might guide them to different decision.

And they learn from users which actions give better computers. this possibly give them a much larger database of pc optimization options than sysinternals.
You can also check this IAMA at reddit:
http://www.reddit.com/r/IAmA/comments/azgs6/iama_guy_who_sol...
You could set a FollowUp.cc reminder on your emails in the Bcc field, and then it would remind you to FollowUp with them (or set up a filter to automatically Cc or Bcc FollowUp), but to automatically send on your befhalf, any software would need access to your inbox. Not sure if you're willing to give that info out.
Facebook is useless to me. We’re all too connected to really connect.

Exactly. Once again, it's the problem of social flatland. Meeting everyone we know all at once is never conducive to meaningful interaction. It's why, even at a party, surrounded by many people we know, we rarely address the entire group and certainly never carry on a conversation that way.

Social networking will stagnate until someone builds upon a non-flat model.
I've used Odesk.com with good results too, I was very selective.

I looked for individuals as opposed to groups or agencies, I avoided 5 out 5 star (100%) ratings and headed for better than 2 and not better than 4, I chose people who had experience in the technologies I needed, almost invariably they overestimated their ability, but I do that too, that's just human.

I chose people who had been with Odesk at least 6 months and not more than a year or so.

I checked that they were able to speak enough English to understand job requirements, don't expect impeccable grammar, this is after all the twenty first century!

I made very clear the commitment required and we discussed at length the time they would have available and what factors would affect that, every one I worked with had a 'day job', so my arrangement was that they would be required for a maximum of 10 hours in any week and we would agree in advance realistic schedules.

With those caveats in mind go for it, it is an enlightening experience to work with people from around the world, all so far have been honest and hard working, I pay everyone the same wage which is 10% or so above the minimum wage for my country, a rate that I have had to work for numerous times in my life. Invariably their living expenses are lower than mine and all have appreciated the income, I have a freelancer who has emigrated to avoid persecution and another that had 11ft of water through their home but was back online within 5hrs as they had taken the computers to the attic space, instead of a gift of charity I made an advance so they could rebuild their home and the advance was paid of with labour at a slow rate so they could maintain their current commitments.

We live in a global community, and it is truly awesome :)
so, the opposite of http://refactormycode.com/
Please email it using the instructions - I've got too many submissions to go chasing them by hand.

Thanks.
As opposed to sacrificing a year of your life working for a typical salary?
...but isn't a strong military one of the very few things that even libertarians agree we should be letting the government take care of?

A fact, which is often lost in modern political discussions: goals != results. One can oppose a law or program because of poor implementation (or expected poor implementation) even while agreeing with it's goals.

For instance, I favor some banking regulation to reduce leverage and the possibility of contagion. However, I oppose the particular bill currently likely to be passed, because it makes speculation (particularly shorts) more difficult and codifies bailouts/government forced bankruptcy into law. Similarly, I expect the author of this article favors national defense, but opposes this program since it appears to be ineffective and potentially harmful.
SF is dirty where all the startups are: SOMA/Mission. The tenderloin is also grimy. The rest of SF is as clean as any dense city. The neighborhoods west of Divisidero are no dirtier than say, Cambridge, MA.
That's what everyone said about Android phones, but in the end, many people were delighted to get an experience a cut below Apple's as long as the features and pricing were a cut above. It seems there is plenty of room for both approaches.
I got mine on Monday after much debating. Initially I was going to wait for the second generation because I know it will be so much better. In the store, the iPad felt a little heavy and basically like a big iPhone. After a few weeks, I took the "you only live once and it's cheap enough that I'll just by gen 2 if it's really that much better." By last night, I realized this thing is revolutionary, or the start of it. It's perfect for consuming the Internet and other information. The apps make a difference. Instapaper Pro, Good Reader, SimpleNote. I bought Numbers last night and I'm investigating whether Omnigraffle is any good(many poor reviews and a few positive ones and it's $50)

Missing multitasking. Need To keep Pandora running. My only disappointment.
Let's apply this to Diaspora. What if they end up with something that has an active, satisfied user base, which is also small. (Just for the sake of easy calculation, let's say it's 170,000 actual, active users.) Would Diaspora be a success?
Would you be willing to do an interview about your company?
http://mixergy.com/contact
It seems that having investors increases the likelihood that your business will be labeled a failure. If you take $10 million, you have to exit with at least that to be labeled a success. If you take nothing, or just a token amount, and reach ramen profitability, you can exit with any amount and be a success.

It is just like making movies. Spend $200 million on a movie, and it needs to gross at least double that to be a success. Make a $1 million indie movie, and it will be a smash hit when it earns $5 million.
Hey tech brainiacs. Read this, and then come work at one of the many non-profit organizations starving for your intelligence, but unable to attract you because of ridiculous salary imbalances. We'd love to have you...and 60k is about all we'll ever be able to afford...and you'll be happy.
It's about time the best IDE on the market can produce the best apps on the market.
I was more surprised about having a kitchen computer.