skysight-inc/HackerNews huggingface dataset:
but what if it sets of some sort of chemical reaction, Venus does not have a atmosphere like earth, so he asteroid would hit its bare face, perhaps setting off some sort of volcanic reaction? Just saying, as I don't want us to be on the blind side of the fence.

Clearly, the whole system is our domain, and we should be know events like this are not to be ignored, as they are way bigger than your average metropolitan housing millions of you and me.
>it struck me just how lucky i am to work with decent programmers. where this kind of thing is considered quality work, not "showing off".

My rule of thumb is I can write “clever” code if I make sure it would be easy to debug for me or anyone else. This usually includes indented logging for anything complicated, good choice of variable names and plenty of debug assertions that would fail with a meaningful message if something went wrong.

When the deadline comes and you're dealing with an obscure bug in a clever code that looks right but is difficult to reason about, you'll be damning it.
I wrote a static-site generator, and I wanted to be able to allow users to deploy new instances easily.

To do that I wrote some code that parses a __DATA__ block for lines like:

mkdir foo
create_file foo/bar.txt <<EOF
..
This is the file content
..
EOF
mkdir bar
..

The process was very simple and allowed me to bundle up the "master template" files in one simple to understand resource.

[1] - https://github.com/skx/templer
[2] - https://raw.github.com/skx/templer/master/lib/Templer/Site/N...
Is there any must-haves in this collection?
Well yeah. Except you can't ask for a given type of hardware, you can only ask for a certain instance type, right?

Basically the picloud model is you do a "cloud" call, and that runs on some instance (usually shared, picture a single instance doing some number of picloud calls in parallel) at some point in the future.

The sticking point for them was that the same instance type was backed not only by different CPUs, but by some subset of instances whose CPU capability advertising was broken.

It does actually break "instance type equivalence" for people running real code. I think Amazon will fix it though.
"Credit card" doesn't mean "buying on credit" even in countries where it's the normal way to pay for online purchases. When you open a checking account at virtually any bank, you're issued a Visa or MasterCard debit card that deducts from your account when used. Websites don't really know or care whether the card you present is a credit or debit card -- if it's got the Visa/MC logo, it can be charged as if it was a credit card either way.
You've missed the point a bit. Perhaps having everyone speaking English would be helpful -- but what if everyone spoke only English? Would the world then be better off?

With respect to this question, I think natural language is a very good analogy. And so is biological evolution. Diversity, exploration of thought, and experimentation with expressiveness are very important aspects of having and using different programming languages.
I consider myself decently smart, but I can't figure out the axes on that chart.
Both are relatively trivial. Trading an if for an indirection is not necessarily "better", it's an option.

As I said before, both ways are textbook basic singly linked list deletions. Linus' version does the dummy pointer implicitly. Generally doing things like that requires an extra moment to realise what's going on.

The smartass idea that "anything that is understandable is equally understandable" simply falls flat in the face of reality.

To claim one piece of code to be better than another you need a more scientific argument than "avoiding an if" if you add something else (an indirection) instead.
Building a Website You Can Sell in 2013
JavaScript is the only mainstream programming language that has multiple competing production-quality implementations.

I think this rarity helps to ensure that work is done to improve the runtime, from both an ease-of-development and a performance perspective, while also keeping the set of what works pretty stable.
Does Browser Sniffing Still Have a Place?
Actually, that was my first thought when I heard it. My second was to assume that it was a gay relationship. It wasn't.
I'd forgotten sinatra let you do this, I remember it being really nice for a small simple app with a couple of templates.
Government goes to market wanting to sell ~6b of bonds at as low an interest rate as they can achieve. So if the market buys at 1% they take it, if the market only offers 7% then they take it (if it is below the rate threshold at which they won't sell)

If the Gov doesn't sell enough then it defaults as most debt buys are in part to pay off old debt, we saw this within the Eurozone where Spain has to buy at a much much higher rate than it would like.

Rothschild can simply refuse to buy below a set rate, and if the Gov needs their money at that rate then they buy. But it is not really demanding a higher rate?

(I am not an asset manager)
In Portugal my bank has a system which works very similarly to iDEAL from what I saw in the site. It's very rarely used. The system that most people use is a different one on which you create a virtual credit card for some given amount and use those credentials when paying. It's much cleaner, it ties with your personal bank account, and you don't need to actually own a credit card or pay fees. As soon as the payment is processed the card gets invalidated and no further charges can be made. Pretty sweet.
It's not so much "no avx". It's "we said we had avx, but we don't".
In any situation, you don't want to be the lone wolf of honesty. Your company or team needs a culture of honesty. It's simpler than you realize. Have a conversation, make an event out of it. Say, "Look, for this to work, we have to be outspoken and honest. Our success depends on it. It will be uncomfortable at times. It will be frustrating at others. But there's no reason to invest this much, to work this hard, just to stop short of honesty. If you can take a startup, you can take honest feedback. And we should all expect a ton of it."

The TechStars program does this really well. They promise you brutal honesty. They tell you to brace for it. You are guaranteed to be told when your idea sucks. You can see this in practice each week as the teams present their pitches. Because honesty is the expectation, the quietest guy in the room will raise his hand and say, "For the first ten minutes, I had no freaking clue what you were talking about." Ouch! But the permission was there. The guy wasn't a jerk, he was embracing the culture. And you know what? It needed to be said.

In the early days, Rackspace had a saying: "Bad news first, full disclosure, no surprises." More than a slogan, it was permission to be honest. People would say, "It sucks to bring this up, but as we say, bad news first and full disclosure..." Again, amazingly effective.

People want to be honest. And in the end, they want you to be honest, too. There just needs to be permission.
As quite a good few things in ruby are. Having never really learned perl, I keep discovering them anew in ruby first :-)
I can definitely see the potential of this, and would love to contribute. I'd go even further and suggest the ability to collaborate on side-projects, think github with broader project types. The hard (and fun!) part would be to devise a minimal set of functionnalities to power such variety of projects.
bringing home the boyfriend/girlfriend to meet the parents or whatever you want to consider normal first steps in expressing your sexuality

Saying that this is "coming out" doesn't make it true.
The JVM still doesn't do tail call optimization but Clojure has a special form, recur, that you can only use in tail position and doesn't use consume stack space. An example: https://gist.github.com/4493547 (loop is like let but works with recur).

A simple one from the standard lib is last: https://github.com/clojure/clojure/blob/master/src/clj/cloju...
If I were gay, and if I came out once, I wouldn't feel comfortable inventing a wife for the sake of a conversation with a cab driver, every single time.
Visualize SASS color functions in real-time without compiling
The fact that all the attention has moved from the original privacy concerns to simply a religious debate, I think, is very telling of why they lost the case.
as far as I know the NYC stop-and-frisk doesn't check your cellphone, but it has stored up a lot of bad will...
Metrics Used in Evaluating Expired Domain Names
One thing that intrigues me about clojure is that it affords some unique benefits, by virtue of being a lisp. For fun I want to try to write a clojure program which generates C code for a tiny game engine. e.g. you run the program, and it spits out .c and .h files which you can then compile and run.

Then, the challenge is to make it generate java code, too. I.e. in addition to the C code, which you can build and run, it also generates that same functionality in Java code, which you can run on JRE. So the game engine itself would be specified in clojure, and yet it would be "automatically implemented" across two very-different platforms! It's a fun challenge, I think. Maybe not doable, or doable only in a horrible way, but still fun.

But the point is this: that's a great example of a problem which would be pretty much impossible in a non-lisp language. In order to achieve that in Python, you'd probably be forced to implement a lightweight lisp within Python.

So that may demonstrate an answer to the question, "Why Lisp?" ... certain problems can be solved only in lisp, or by reimplementing the list-processing concepts of lisp.
I'm a big Lisp dialects proponent but I don't like that article very much.

It's very naive and the author is unexperienced IMHO.

For example the author writes: "I can place the cursor on the name of a function and ask “where is this defined”, and it jumps to the place of the definition, which could be in my own code or in third party code. But I can also ask “where is this function called” or “where is this variable referenced”. This is extremely useful for code refactoring and it beats every “modern” IDE I've seen."

Ouch.

The author doesn't seem to be very knowledgeable of "best practices" and IDEs from the last ten years available in the Java/C# world.

Lisp dialects can really shine in various ways but "refactoring" ain't exactly one area where Emacs (which he mentions and which I do love) beats "modern IDEs".

Apparently the author's only experience comes from old JavaScript development environments and some Perl hacking. He's hardly "connected" with real-word, modern, way of developing software.

His description as to how he's upgrading servers by manually copying binaries also shows he's disconnected from actual enterprise deployment techniques.

Overall it feels very amateurish.

But kudos for picking a Lisp dialect and sticking to it and reaping the benefits of that smart choice...
All ideas respond to work
I don't mean to be presumptuous, but are you straight? Not feeling compelled to tell people about your sexuality is a luxury afforded to people who fit into the norm. It's what LGBT activists would call "privilege", and it's something that we as straight/white/male/other dominant group need to be aware of if we don't wish to alienate minority groups.
And, It's really hard to choose one!
All of 3 dialects has own unique benefits and lacks.
Scientists Mimic Fireflies to Make Brighter LEDs
And widely used in the perl world. It's a good idea for a lot of simple programs.
In the Explanation on Brevity Guild Micro Fighter, you use "i" as the variable, but the code snippet uses "n". I only found this because I was having fun following along! :)
Del Boy knew the solution to all of this...

"My significant other"
If I'm having a bad day and a stranger asks "how's your day," I don't invent a good day.
I think with "I've never missed a payment and never carried a balance" you're not the tipical joe. I've read some banks can charce excessive rates when people forget (or can't) to pay.
Be careful. Sound advice in any situation. But, most things I have found that are the right thing to do cause physical/emotional harm, at least in the short term.
Well, at the very least their parents don't know. And it's not like all parents accept this easily.
Really? Look at a map of US states, wait, here's one: http://en.wikipedia.org/wiki/File:Samesex_marriage_in_USA.sv...

Gay marriage is legal in only a few states. At the federal level it is explicitly excluded from the "full faith and credit" clause of the constitution. And in most states it is expressly illegal. More so, in some states homosexual acts are technically illegal and in theory punishable by jail time. There are a lot of folks who are extremely anti-gay. Who are publicly against not just gay marriage but the "gay lifestyle" and the very existence and/or acceptance of homosexuality. Not to mention friends and family members. According to statistics, as a gay man or woman you'd have roughly the same chance as a coin flip for each one of your friends or family on whether or not they would accept your homosexuality and consider it "morally acceptable". Those aren't the best odds.

So yes, it's still kind of a big deal.
I'm not a Baptist. Or any stripe of Christian. Or Jew. Or some other checkbox on the list of tolerable beliefs. I live in Alabama. There's a price.

Impeded relationships. Reduced opportunity.

Yet, the emotional harm of lying about who am is significantly greater than what one person can inflict upon another. Because like truth, that harm is permanent.

People inclined to fuck up someone because they are different, don't deserve a free pass. It is their fucking up which is uncivil, not my choice to abstain from praising Jesus before eating chicken fingers at a business lunch.
Where does the double dereference come from in the second case? curr->next and (* curr) both perform a dereference. (If anything, (* curr) will be at least as efficient, if not more, because there's guaranteed to be no offset.)

(Does anybody know how you type an asterisk?)
> This is helped by a great feature of the environment (Emacs/SLIME) which provides cross-referencing tools, for example, I can place the cursor on the name of a function and ask “where is this defined”, and it jumps to the place of the definition, which could be in my own code or in third party code. But I can also ask “where is this function called” or “where is this variable referenced”. This is extremely useful for code refactoring and it beats every “modern” IDE I've seen.

wow, rly? you have this in Eclipse (and probably every 'modern' IDE out there) for every language.
Pricing is based on the value it's providing. It is not a horizontal tool but deeply vertical. We are not competing with price and also not directly with Basecamp or Trello.
Fair enough, it is a bit misleading. I would say " 'instance type' equivalence is broken" rather than "hardware changes underneath".

So picloud stripes (simplifying; I imagine it's a pull model with some load balancing smarts) python "cloud" calls across a variety of instances they have warmed up, but there is an assumption that, say, arbitrary Cython code will work the same way between one m1 instance and another.

That turns out not to be the case. Some (say m1 for argument's sake) instances on Amazon are broken because they advertise the wrong CPU capabilities. So not all e.g. m1s are alike...
I haven't noticed it. I know a guy well into his 50s who says "girlfriend" and she's of similar age.
Essentially every game which does microtransactions does it by implementing a dual currency system, with one free currency abundantly available if you have infinite time to play the game, and one currency which is only available through purchase (or very carefully monitored promotions). You sell the dear currency in odd-numbered lots (to exploit people's inability to do fourth grade math -- sad but broadly true of the industry), for example, 7 dragons eggs for $10, 15 dragons eggs (one free dragon egg!) for $20, etc. Even though this essentially enables you to price your Sword of Pwnage +1 at $1.42 (one dragon egg -- available ingame for one-click with no need to grab a credit card), you'll never actually send a $1.42 transaction to the processor.
Yeah but your day is not something that differs you from the most people, something that many people don't accept, something that you probably have been humiliated for. You're not a “faggot” in high school because you had a bad day. It's something you chose to accept and tell your friends and parents and see some people sneer at you.

I think that pretending to have a wife for the sake of smalltalk feels like going into the closet again, like admitting you must be guilty of something.
Stripe has a great subscription option fwiw.
I can understand that, but I also don't like having to fight with a company rep because suddenly I'm not good enough to talk to.

If they want to assume I'm Mrs so-so, rather than Ms so, partner of Mr so-so, and that gets me better service, then I don't correct them.

If they ask directly, for whatever reason, I don't lie.
You speak with the confidence of a young man. If it's not too intrusive, may I ask your age and gender?
The analogy is crap. One's day is brief. One's relationships, longer. One's sexuality, tends to approach permanence we age.
Bubonic Plague: Is It Still a Threat?
For most of those options I would suggest "friend" covers it. I think "This is my part-time domme" etc is probably too much information.
Agreed, but as a short term solution http://www.readability.com/addons.
There is already a project that translates ClojureScript to Scheme https://github.com/takeoutweight/clojure-scheme from which you can generate C code. Theoretically you could use the generated C code on any OS with a standard C compiler.
Start a Business That Fits Your Idea of Having Fun
That wasn't my point. Of course the board and CEO should be consulted. That's a far cry from having to prepare them from snipers. Vendor politics is poison.
Has potential.

Could you add an "ICE" button on the device to scroll key information - e.g. contact details, medical conditions etc. without having to plug it in.

Also inclusion of personal attack alarm could be additional benefit (e.g. pressing ICE button twice)
Take the test: http://www.okcupid.com/tests/the-polygon-test

From the description:

This test will track three variables, but you may be surprised at what they are.
Just to step back for a moment, it's interesting that /include/linux/list.h in the Linux kernel is a bog-standard linked list implementation. There is nothing particularly clever about it.

Speaking of the word clever, I think some are clutching that a little too proudly. In this context it doesn't mean "more skilled" or "more efficient" or "technically better", it simply means doing something in a particular way because you think it is unique. There is little to no argument to be made in favour of the approach in the linked blog entry, but there are many potential risks with it, not least of which is that it adds one more potential misunderstanding by skilled practitioners. While I love pointers to bits, and love unmanaged, native code, there is a good reason why most environments now trying to reduce their usage, even with the bestest of the bestest developers manning the keyboards.
Venus' does have an atmosphere - and a denser one than Earth, at that.
Ask HN: Preparing slides?
I'm preparing a new talk to deliver, and I've used Prezi before for a shiny slidebuilder.. thing. But I tired of the flash dependency, and untimately, it does a ton of stuff I don't need.

I basically need text and images, but it'd be nice to be in a format I can distribute easily. I'm assuming I'm not the first person to ponder this, so what are you guys using?
Will the US Mint a One Trillion Dollar Coin?
Fundraising, Valuation and Accretive Milestones
"...but I'm willing to learn."
That's the Perl school of thought that basically finished Perl as a language for big projects.

Personally, I have 20 years of C programming experience and I prefer to avoid clever tricks when they add no effective advantage. Making code shorter is not the end-all of programming.

Code is written for people to understand rather than for computers to execute (quoting Sussman). It's fine to strive for efficiency since we're talking about OS development here, but it's not the case in this bit of code really, is it?

What is more likely to confuse a maintainer, an extra level of indirection or an extra trivial "if"? However if you are committed to do all the maintenance yourself, then you can pick as you wish.
It's so easy to compromise, or cover up. I see it all the time in software dev. For every dev who cares enough to pursue an issue diligently to its root cause there are a dozen other devs who are perfectly willing to patch up symptoms of deeper problems or jump to faulty conclusions without bothering to seriously understand what's going on. Everyone wants the quick fix. They want the pain (the bugs, tickets, pages, scrutiny, etc.) to stop.

And it's easy to say that something is "almost done" or "mostly done" when in reality there are huge roadblocks in the way. It's hard to tell people you're struggling with a problem, or that you don't know how to do something, or that you don't know the meaning of a word your coworker just used, or you don't understand exactly what they're saying. It's easier to avoid embarrassment in the short-term even if it makes everything harder in the long-term.
Doesn't look like it. The screenshots of the games are really not very enticing.
Seems to me this suffers from the lack of defining "lie", be it of omission, commission, or in the case of simply remaining silent whether one has committed any act at all.

If I say "the product is GREAT!" when I believe it to be otherwise, then I'm very obviously lying by commission and that's obviously not a good thing. I do however often cause social consternation when I don't engage in the usual "white lie" that is generally accepted as "correct" for many people. "Do these pants make me look fat?" asked by wife elicits a truthful answer, which she's used to but many who witness the exchange are not.

A lie of omission would be something on the order of "is the product ready for market?" with a response of "we've done focus groups and the response was positive" leaving out some useful information like "positive by +.1%", which would be a valuable piece of information to have for the questioner but one in which the respondent does not want to provide since it would probably negate the response.

Remaining silent seems to me often to be none of the above. CEO declares a new initiative, I may at first blush disagree but lacking any real information or thought-out objection, and also understanding that he may have more information than I and certainly a different set of responsibilities, I remain silent rather than blurt out an objection with no real argument with which to back it up. My silence in this instance is neither an endorsement nor an objection.
LinkedIn Hits 200 Million Users Worldwide
That's why I reference politics and religion. Choose your own analogy.
Thats a very good point. Most of my projects were rarely updated after first release. Building them was fun. Updates were mostly in cases when I received mails from people using it, and in some cases I realised a need of a feature (I use most of my creations).
"LOVER"
I hear people keep recommending Stripe, but almost everyone I talk to here in Raleigh, NC says that it is way too expensive. Any thoughts? What is the best alternative that happens to be cheaper?