skysight-inc/HackerNews huggingface dataset:
>old canard about caching the length of an array when iterating over it

I think there are still places where you need to do this (please correct me if wrong, or mention some other cases):

- when iterating over DOM nodelists in JS (why doesn't the browser cache this as well?)

- if using strlen in C/C++ (for the latter, you should use string.length() instead).
Python 3 in Science: the great migration has begun
> If you buy organic

Where I come from, organic crops means no pesticides / insecticides except natural ones. What would make food grown with pesticides "organic"?
What are your thoughts about Esterel[1]?

[1]: http://en.wikipedia.org/wiki/Esterel
> Let's take a more generous example where the GP contributes 5% of the fund. After 10 years of 2% fees, the GP has put in 5% and taken out 20%, so their net contribution is essentially 15%.

Unless I'm misunderstanding what you're saying, I think you're confusing the carry and the management fee. you can't add/subtract those percentages, because they're not representation the same base quantity (ie, they're percentages of different things).

EDIT: Nevermind, I read "the GP has put in 5% and taken out 20%" as referring to a hypothetical carry of 20%.
This sounds like you are actually tired of uppity employees who don't know their place.
> Without grasses or other groundcover, erosion is certain.

Spraying herbicides is actually the less disruptive method for fighting weeds. The other option is tilling the soil, which leads to much higher erosion.
I believe carry is only paid when capital is returned to investors (anything else doesn't make sense). Besides a (portfolio company) liquidity event I think the only other typical time capital is returned is possibly at the maturation of the fund. I guess in theory you might have a portfolio company paying dividends or other unusual situations, I don't know how those are handled.
You could implement looping by implementing an instruction, say 'JMP', that takes an 'address' as a parameter that modifies the ip. Branching can be implemented similarly with an instruction called 'BNZ', which takes two parameters, a register and an address, which changes the ip to the given address if the register is non-zero. SUB would be useful so you can subtract a register from itself to branch if equal. Other routes include using the top of the stack with your operations and branching, so you can stick to one parameter in the above instructions.
What's good in defaulting to http?
rya.nc is also actively using the certificate he generated. :)
A quick read through the article seems to indicate that a lot of the opposition to it is due to the fact that it is a patented crop, and will no longer be grown by locals.
"If you take all that money in with a massive string like that attached.."

Not to mention, this happens when you already have outside board members from your previous round of investment. So it's not just one dumb CEO making the deal, it's aided and abetted by (presumably wiser and cannier) prior investors. Yeah... that part rang the most untrue in that whole scenario.

Take that out, and the rest of the story is basically a parable explaining what liquidation preferences mean. Is there any VC that would do a deal without 1x liquidation pref?
> (most stuff I write has a long life,

Facebook is 11 years old now; Google is 17, and I'd bet there's a line of code somewhere in both of them somewhere there that hasn't been touched in 10 years.

> I don't do web stuff)

Feel free to pigeonhole yourself like that, but I've learned not to overlook large swaths of industry because it's not 'serious'.

Reading research papers? Both Google and Facebook have been writing research papers in many areas, including Computer Vision. As you point out, you need humility to take the time to understand what's come before you, but you also need the hubris to say "we can do better". In the case of FaceNet (Google) or DeepFace (Facebook), much better than state of the art a few years ago.
You know there is something called Enthought (started by Travis) right ?
Ask HN: What can I do to improve social skills?
I am 29 yrs old, software engineer , work for a well known company. Sharing trait with other engineers I am extremely introverted.

I feel comfortable talking with colleagues and know few people. I want to improve my social skills but I have noticed that I just can't initiate conversation with strangers. I bath twice, run 3k each day, smell nice sp hygiene is not a question.

End goal is to expand my network and connect with large number of people. I am not on Facebook or twitter but use LinkedIn. My goal is also to find a soul mate. Unfortunately I am still single and never had relationship.

What are tricks and tips that worked for you? How did you come out of introvert personality ?

PS - I am also bald and now shave my head. Not sure if looks affect people's judgement but I have noticed sometime people avoid talking to me altogether.
> You will find hiring managers that literally have no idea how or why your options could be worth anything, and it's worth knowing when you're dealing with them.

Here's a different perspective for you to consider: most founders or hiring managers at early-stage startups don't have the ability to convince a reasonably skeptical person why the company's equity will ever be worth anything. It's basically a matter of faith. Most startups aren't going to have an outcome that delivers wealth to employee shareholders. You either believe that the company has the opportunity to defy the odds or not.

You say you are learning a lot, will have a good deal of responsibility and like your co-workers. In other words, it sounds like you're pretty happy and pleased with the prospect of continuing your employment with the company. A lot of people, even those who have maximized their compensation, are unhappy in their jobs, so you have something money can't buy.

This doesn't mean you shouldn't protect your financial interests and ensure that you're fairly compensated. But ask yourself what you stand to gain or lose from taking negotiations down a path that will ask your employer to convince you that whatever equity it offers you could be worth something.

The most important part of any negotiation is to determine what it is you want and need. Far too many people fail at negotiations because they don't do this. As a result, negotiations become focused on things that don't matter. You might win such a negotiation, but still come out a loser.

You like the idea of minor equity stake, ostensibly because you want to feel invested in a business that you're excited to be working for. If that's the case, you could do a lot worse than to pick a number, and tell your bosses you're really excited about the company's prospects and want to feel invested in its success. Chances are you'll have a far better outcome than putting your bosses on the spot and demanding that they predict the future.
These were featured in Greg Egans fantastic book Diaspora [1]. I can't recommend it enough

[1] http://gregegan.customer.netspace.net.au/DIASPORA/DIASPORA.h...
[the $200m ad spend] was included in this scenario as a stand-in for any number of ways that a company could burn through a lot of cash

Right, and my point applies regardless of the way that the company burnt through $200M: If you burn through that much cash without results, you don't deserve to walk away from the company with anything.

If you're focusing on what the fictional company did with the money, as opposed to the very real terms under which it acquired the money, you may want to re-read the piece.

I read the piece. I disagree with it. I see nothing wrong with the amounts invested or the preferences, and something very wrong with the fact that $200M was wasted.
Agreed. I wrote a simple virtual machine, and the most interesting thing was writing the compiler that would read my "assembly", and spit out the bytecode. Including handling labels and jumping instructions.

My VM was very simple, and I've not touched it for a while, but the whole thought of how to handle branching was what made it more interesting than other similar toy systems.

https://github.com/skx/simple.vm
You posted a link to a 30-year-old event, and for which there was an hypothesis that it could be linked to the genetic modifications of a rapeseed.

As far as counter-examples go, that doesn't seem particularly strong.

EDIT: Actually, the "new" seed they are talking about is 00 rapeseed (AKA Canola), which is not a GMO, since it was bred naturally: http://en.wikipedia.org/wiki/Canola

The GMO versions of Canola only appeared years after that event.
The automobile is rapidly becoming less and less of "a thing", especially in the Bay Area, and cities should get out in front of it.
Practically speaking non-controlling non-preferred equity of a private company is worth only whatever value those higher up the food chain assign it out of goodwill. Controlling interests can structure liquidation largely however they want...e.g. they can sell to themselves at a nominal price or they can sell their stock into a round and buy a Ferrari. Hollywood accounting happens outside of Hollywood.

There's nothing to be gained by forcing your way into equity unless you are funding. You're not and recognition that there are sound business reasons for a negative response to a request for equity is not a sign of lacking sophistication.

If it's on the table take it. If it's not figuring out the business reasons why is immensely valuable.

Good luck.
I'm always amazed how many people who would balk at a single corporation controlling their operating systems are amazingly complacent when it comes to corporations copyrighting and controlling their food supply.
I'm not. 2% of X * 10 years = 20% of X. The GP contribution is 5% of X. Net contribution is -15%, regardless of fund performance.
I wonder why eBay is using the log function?
I notice their site doesn't show any pictures of snow melting.

Snow melting systems that work are available.[1] The power requirements are well understood, and the documents linked have tables and calculation rules. The second document[2] is for electrically powered snow melting.

The big win on power consumption is good controls. Both a snow sensor and temperature sensors are needed, or huge amounts of energy go into heating cold, dry concrete.

[1] http://www.viega.us/xbcr/en-us/Viega_S-no-ice_Snow_Melting_S...
[2] http://www.pentairthermal.com/Images/EN-RaychemElectroMeltSn...
"there are over 20 chemicals commonly used in the growing and processing of organic crops that are approved by the US Organic Standards"

http://blogs.scientificamerican.com/science-sushi/httpblogss...
which is how pre calculators you used to do it by hand using Log tables
You say this but there's a huge difference of the typical enterprise storage solution and what the internet giants require. Only recently are those vendors realising this...
This is very cool. I'd be interested to see more data interaction and how to call a Go function from Rust.

I implemented a similar experiment with Haskell and Rust[0]. It does some simple math and also passes a Haskell callback function into Rust code. Unfortunately, I think we lose quite a bit of information by passing through C code (e.g. Rust's parametric polymorphism).

[0] - https://github.com/creichert/haskellrustdemo
(Careful, it will not compile with rust 1.0 beta (use of unstable library feature 'libc')).
I like my init system to be an init system. However, the scope of systemd seems to expand monthly. I mean, you get an ntp client, a dhcp client, a logging system, and they apparently want to expand into containerized applications? I'd rather have a project with a smaller, well-defined scope.
Everything I thought I knew about water in California is wrong
Mutt Tips and Tricks
"Older homeless expected to die off soon" - SF Gate, 2013.

"The number of homeless people in the United States is expected to plummet over the next decade as indigents who fell prey to crack and hard times 30 years ago die of premature old age. ... This is the population that was created in the "big bang" of homelessness in the early 1980s, when multitudes of people fell through the safety net during a severe recession or became hooked on the then-new, cheap version of smokable cocaine. The economy recovered later in the decade and the crack epidemic eased, but many of the people who became homeless stayed homeless, growing middle-aged on the streets."

"The recession of 1981-82, and President Ronald Reagan's slashing of affordable housing funding to the poor by three-quarters, are fresh in the memories of many of those who have white hair and push shopping carts. Most started out poor, but they say opportunities to climb upward dwindled in their youths."

[1] http://www.sfgate.com/bayarea/article/Older-homeless-expecte...
The 5 best 3D printed Mother’s Day gifts
Take dancing classes.

For ballroom dancing you already need to have a partner, more or less, so maybe better look into Salsa. Or Swing dances from the thirties (Lindy Hop etc.).

Don't go there with the goal of finding your "soul-mate". Actively resist that and say to yourself that you will not obsess over any of the girls there.

Give yourself small quests: tonight I'm asking two different women to dance with me. Tonight I'm going to strike up a conversation with at least three people, at leadt one of which is male. Stuff like that.
I get what you're saying, and the VCs definitely do have a pretty sweet deal no matter how you cut it, but I still don't think it's fair to add those together directly.

Ostensibly, the 2% management fee goes to the firm and is intended to cover operations, business expenses, and overhead, rather than individual compensation for the partners. On the other hand, the money they put in does come from them individually (and the carry goes back to them individually as well). They're not supposed to be using the management fee to compensate themselves personally in the way that -20% + 5% would imply.

I won't pretend that there aren't partners and/or firms who abuse this, but that's not the way it's intended to work. And if they don't use that fee to cover all necessary operations first[0], it constitutes outright fraud and the LPs would sue.

[0] And there are a lot of expenses - running a venture firm may be lucrative in the long run, but in the short run, it's expensive!
That's great, we have an app that can't be tested with Selenium, Sikuli looks promising.
So people should not negotiate? Should not value themselves highly, because of severe risk that they'll lose every opportunity? I should hope not!
If you thought that was nuts, check out this anti-subway video produced by Beverly Hills NIMBYs on behalf of the Beverly Hills High School:

https://www.youtube.com/watch?v=81tihdzaecc

This is the same high school that has a huge active oil derrick in the middle of campus:

http://www.nileguide.com/destination/blog/los-angeles/2010/0...
Besides, you're reasoning about this on a faulty premise. This is a common misconception that people outside the industry have regarding HFT. Let me assure you, often the decision making is trivial, the answer to the question of what to do can be quite obvious. Then it's more about who can do it faster, and that's all about the plumbing. Which he stole.
I was curious, so I briefly looked at job listings on usajobs (the govt job site), and rough descriptions of the organization of patent examiners.

They are divided by disciplines, most or all of which require 4 year degrees and some experience in the discipline. "Software" would fall under electrical engineering, there is no specific computer science discipline, I imagine in part because there are no software patents, only "on a computer" patents.

I also noted that they append "I.T." to their jobs that would seem to have a focus on software.

The thing that mostly struck me is that these are four year technical/science degree requirements, and these people are the first line of anything you might call "defense" against aggressive patent lawyers. Yes, a patent is touched by more than one kind of person in the PTO, including lawyers, but it doesn't sound very adversarial to me.

Observations apropos of nothing in particular.
If someone doesn't want to negotiate at all, it's because they're trying to get the best of you.

That said, to negotiate effectively, both sides have to be willing to walk away. It's the fundamental premise.
From the article: "Of course, the start of the war had been shaped by a Nazi-Soviet pact to carve up the lands in between their borders. Then Hitler turned against the U.S.S.R." Yes, that has a lot to do with why the Soviet Union's undeniable role in the eventual destruction of the Axis armies doesn't always encourage citizens of other Allied countries. Some of us remember that the Second World War might not have started in Europe (it had already started in Asia, really) if the Ribbentrop-Molotov Pact[1] had not been agreed to by Stalin and Hitler.

[1] http://www.ushmm.org/wlc/en/article.php?ModuleId=10005156
Today I'm grateful ⋆ misssfaith
Core FP Concepts slidecast
One of the core hasura devs here. 'hasura-db' is a wrapper over postgres. The idea is to provide a very neat json api to talk to postgres with a permissions model. However, you still have the raw access to postgres. So, you can always fire up a django/rails/etc app and connect to your postgres instance and implement any custom functionality that can't be done using hasura-db's json api.

Coming to your question:
Since the underlying db which actually stores your data is postgres, you get all the power of a relational database. With hasura-db you get a 'monogodb' like document api. So, hasura-db + postgres tries to capture the best of both worlds.

Since your data is (designed to be) completely normalized in postgres, 'hasura-search' integrates with elastic search to create denormalised documents for efficient full text search in a declarative way. So, hasura-search esentially listens to any changes to your data in postgres and builds denormalised documents that are inserted/updated/deleted into elasticsearch. So, your elasticsearch data stays in sync with your postgres data in real time without any effort from your side ! Deployment will be at least as easy as on Heroku.
> Shouldn't there be a diagonal up/right light/dark green line between 5 and 8?

Yes.
> But ask yourself what you stand to gain or lose from taking negotiations down a path that will ask your employer to convince you that whatever equity it offers you could be worth something.

If you're going to be the head engineer in a startup, shouldn't you be having this conversation anyway as part of your job?
Rooftop is great for medium and low density residential. Higher density residential and industrial and it starts to get difficult.

The municipality here is in the process of disposing of their ~30 MW power plant (mostly coal + oil peaker), that serves ~20,000 people. Rooftop would handily meet summer needs, winter heating is another question (there is space, it would be too costly). A nearby mill has a 100 MW natural gas plant and occupies considerably less area than is served by the municipal plant.

US power plant data is here: http://www.eia.gov/state/maps.cfm
The US was never threatened by Hitler, so no, the Soviet Union did not save "the world."

Moreover, had Hitler won, the Third Reich would have come inevitably to the same end as the USSR---probably more quickly. Slavery to the state, with no valid goal, is not a workable system.
As a perl developer, have some feedback on why i stopped using Fedora five years ago, fleeing to anything remotely more sane:

You guys actually thought it was a good idea to include Perl, but make the unilateral decision to cut out pieces of the Perl core just so the damn thing can fit on a cd-rom, forcing Perl developers in bad corporate environments to deploy Perl core libraries manually.

Not that you're alone in that, but you and your ilk will always have my ire and negative feedback to execs on that until you learn to behave and make amends.
Ah, well that's a very different concern. And yes, I agree with you entirely. The idea that a company could secure an investment this large before producing a solid product with a clear path to market is...problematic. And so is the idea that the "founder" of this lunatic non-entity is entitled to anything. The lesson about terms aside, this entire scenario seems like an analysis of moral hazard.

But speaking of massive ad buys, I can't remember which VC noted that start-ups feeling the need to go this route tend to flame out far harder and faster than those that are savvier about their whole approach to marketing (i.e., those who treat marketing as an intelligence-gathering operation, and feed the results of their analysis to competent sales teams).
hasura-db is built on top of postgres. It provides monogodb like document api.
> What you're not understanding is that when we describe something as "monolithic" (or "modular") we're talking about if the design[2], not the number of binaries it happens to compile into. This is about minimizing complexity, and the way to do that is to break the problem into small pieces, while clearly and rigorously defining the interconnections between those pieces (an area that necessarily involves higher complexity).

Designs don't run under PID 1, or any other PIDs. Binaries do. You can't both complain about how insecure systemd is because it has a lot of code under PID 1, and then claim that the size of the code actually running under PID 1 is irrelevant.
Brands Need an Effective Instagram Strategy
SOA Has Roots in Agile and Functional Programming
The title suggests that Hasura is a platform for developing Haskell apps. It is not true. Hasura is language/framework agnostic. The core parts of Hasura are built using Haskell.

Edit: If the op can remove the word 'Haskell' from the title, it would be great.
50% over 10 years is less than the stock market average. Take away the fund management fees + interest, and investors get a measly 2% per year. Why would anyone put money in such a fund? Is this a realistic scenario or did you just use these numbers to round out the example?
Hmm, interesting thought, how much would we learn about a computer by a combination of stress testing and heat-mapping?

I'd say, quite much. I'm sure there would be no problem to figure out at least a few layers of memory, the existence of a separate GPU, the fact that it has a limited capability of concurrent computation and that most computation occurs at a very minor part of the CPU etc. Then, if we also figured out that the CPU is based on a lot of small transistors that'd probably give some insight as well.

But this would obviously not be nearly enough to build our own computer with capabilities similar to a modern computer. That'd require a lot more detailed knowledge and advanced equipment

I'd say neuroscience is somewhere at the beginning of the mapping process, certainly not nearly enough to construct our own brain, but still very informative on the subject of how the brain functions.
Asphalt is cheap, but not really that durable. 3-5 years in you generally see some cracking and should start matence. 5-7 years you generally need some patches and 15-20 you need to replace the surface. Though that's assuming good conditions and reasonable traffic patterns in some areas you need to resurface within 10 years. Concrete on the other hand generally lasts twice as long.

From a material perspective glass is much closer to concrete than asphalt. Ex: http://en.m.wikipedia.org/wiki/Glass_brick the point being glass withstands sunlight and the elements without issue, it's being driven on that's going to be an issue. And luckily that kind of stress is much easer to simulate in a lab vs weathering.

PS: That or ice which can handle heavy loads with little issue.
Yeah, or even before scrubber, just a way to tell how far through the track you are. But scrubber would work well too.

Logging in would be cool, or someway to see what would be in my feed. Often I start my day just playing my feed on SC to see all the new stuff coming in.

Likes are perfect, exactly as you have them.