skysight-inc/HackerNews huggingface dataset:
> This is the code that gives us the classic buffer overflow vulnerability all because checking for a length isn't elegant.

The few characters it would take to check length didn't effect this API, it was just part of the decision to use null terminated strings instead of storing lengths.

>Also, how does this code work if what one of those pointers points to are declared volatile? What if both pointers point to volatile things?

I can't imagine any way in which volatile would cause problems. What are you pondering? strcpy doesn't take volatile pointers anyway.

> What happens if one of those pointers crosses through 0 because it rolled over from max?

That's just a very specific type of buffer overflow. strcpy is the wrong function to use in such a scenario.

> Thanks. I doubt you could have provided a better example of the precise problem.

strcpy is for very specific situations. Writing it in a simple way isn't the problem. It's not like it's even theoretically possible for strpy to avoid overflowing. It doesn't have enough information, only two pointers.

In short, this is a bad API, it is not a bad implementation.
Yes, and most often it's clearly warned about, up to the point where lines are completely burried in type-casts, just to shut up the (well meaning) compiler. Because, you know, we thrive for 0-warning compilations!
The gender is irrelevant. The same would go for an expecting father. I don't think it is wrong for investors to discriminate on the basis of the priorities and time commitments of founders. On the contrary, I think such discrimination is crucial.
Commas and colons are unnecessary clutter in JSON, that's what they should change, not adding more complexity in exchange for nothing (dangling commas at the end? please). Quotes inside keys and values should also be optional unless they contain spaces.

JSON should be simplified (if any), not made it more complicated.
I have two daughters, I strongly believe that women are very talented, in particular communications, management and focus are their strengths where they can easily outplay their male competition but I dislike this women movement everywhere.

Women do not need special treatment, they are not disabled. They were enough women making stellar careers for years. Such events make women feel disabled.

But I know that many weak protagonists jump on this trend because that's the only way they can get attention (Jessica Livingston, Sheryl Sandberg and many more).
Flash is more alive than ever.

Facebook video, Google Street View, half of YouTube - it's amazing to me that Google allows this to go on (or maybe they're just strategizing against mobile platforms they don't make native apps for).

Also, almost every video player these days outside of the biggest companies. I recall trying to watch some US govt streaming stuff recently that didn't work.

We must continue the fight. The lack of HTML5 street view is particularly telling, imho.
Man I hate Flash. But for all the shit it gets, I can't help but be grateful for it. Because of Flash, we've had easy to use video on the Internet for a decade. It's 2014, and browsers still can't do video as well as Flash.

Yes, it's time for Flash to die. But it really stepped in and moved the web forward when the browsers and W3C were too slow. It deserves an honorable discharge.
> I would think that the willingness to suffer or die because of your beliefs is a reasonable piece of evidence that the beliefs are genuine.

Surely you didn't mean to say "genuine", assuming you understand the meaning of the word. You may have meant "sincere". But "genuine" implies that the belief is true, which is a property not necessary for a belief to be sincerely held, and that contradicts the meaning of "belief" as a view held without regard for the evidence.
Just as I was finally breaking free of the mindset of actually eating all I can at all-you-can-eat buffets...
why do you need colors at all?
Movie theaters are in no way limited by law to certain MPAA rated films. That would be a gross violation of the 1st amendment.

The industry has more subtle ways of controlling theater owners.
tl;dr

Stop being an asshole.
Is it okay to install it without an invitation?
>> "Fully 34.5 percent of the female founders who have launched companies out of Y Combinator have had significant others as co-founders"

An interesting statistic. Does anyone know why this is the case?
Slightly tangential, but related: on windows, Agent Ransack is an awesome program for searching through files/directories. It has a great UI, is quite fast, and has all the features you could want (regexes on filename and/or file contents, search history, etc). It is really helpful for doing quick lookups to see where methods/classes/variables are being used in the codebase.
Please edit the title to include 2010, so others can at least avoid the slow realisation as they read the article that this is not a contemporary analysis.
That's awesome - I normally wear glasses and I wear contacts to ski and I'm now getting to an age where reading ski maps with my contacts in is getting to be a problem.

It has the huge ski areas in the Alps - I noticed the new "Vertical Experience" run at Meribel in the 3V which I'll need to add to the To Do list.
All I wanted to point out is how legacy computer use[1] shapes your understanding, and how candid introductory courses can bounce against that like a rubber ball.

[1] growing with computer as a user, what amaze you is what you can perceive : gui, games, external devices. Which are all designed to amaze. When you get to know how computers are made, your first desire is to reproduce these things. Abstraction, expressiveness aren't on your map yet.
They probably don't know the answer or can't legally tell you. I wouldn't be surprised if most answers the call center gives are "Sorry, we don't know/can't tell you".
Possibly this (opening an infoline) is something required by Japanese law for every company filing for bankruptcy. Just guessing though.
Another one to anticipate in the FAQ: "will MtGox provide last known balances in fiat and BTC and account transaction histories?"

Presuming that .csv files and screenshots would constitute proof of claims in a court of law is unbelievable.
Most logical answer is because they don't know. By delaying statement, they're probably hoping to buy enough time so that they can actually answer those questions.
Elsewhere in the thread I agreed with this point. The profit-maximizing action for the investor to take would have been to hide his feelings of disappointment from the founder, and quietly alter his process and raise the bar for women or try to assess the likelihood of them becoming pregnant.

He screwed up and spoke honestly for a moment. That makes him human, not an asshole.
Thanks for being so considerate. I'm not sure if I worded it poorly or if my opinion itself is so controversial. How about this?

"I know this conference is clearly targeted to women, but it's interesting and inspiring to all (aspiring) founders, so I recommend men don't let themselves be put off by that"
Sorry I missed the talk! Did it get videoed? They usually are.
London Haskell Meetup:

http://www.meetup.com/London-Haskell/
In my sentence, "genuine" modifies "belief," not the thing that is believed. I believe this is common English usage. "Genuine belief" is a common phrase with the meaning I intended, as in "I hope you don't genuinely believe that."
Anyone who has money (either fiat or btc) in mtgox is essentially now an unsecured creditor and mtgox seems to be in bankruptcy protection / proceedings. You wouldnt get answers out of any other company in bankruptcy or insolvency, everyone will just have to patient until the Investigators/Administrators have finished their audits and have a restructure plan in place.
You need to consider the times you don't eat your leftovers and the times you ate your leftovers because they were there and still ate the other meals you would have without having the pizza

In business, inventory is expensive, especially if you end up throwing it away.

http://mobile.businessweek.com/articles/2013-07-31/american-...

3.27 million unsold cars sitting on the tarmac.

That's two weeks total US car sales, and 10 of the top selling 20 are Japanese marques

http://online.wsj.com/mdc/public/page/2_3022-autosales.html

Producing more than twice what you sell makes no sense unless your metric is cost of production per car rather than sales per car produced
Your first and second sentences contradict each other - if hard work is necessary up to a certain threshold, then hard work is correlated with success.

If working harder was correlated with mega success, then the winners would be easy to pick out

The fact that a predictor is correlated with outcomes does not mean it is the sole predictor.
Being amazed by software development
If japan is anything like other countries, there will likely be a date set for a creditors meeting, and the call center will simply be instructing people to attend the creditors meeting to have their questions answered.
The only decent port on Russian territory is Novorossiysk. That and Sevastopol are the the Russian Navy's only warm water ports.
YouTube is ~99% HTML5 in my Firefox profile that lacks a Flash plugin and is in the http://youtube.com/html5 trial. It's still somewhat lacking because Firefox stable doesn't enable Media Source Extensions yet, but that should be fixed in a few months.

I also see an HTML5/WebGL (?) Street View in the new Google Maps.
I think it's mildly offensive to both sexes to present the lack of female founders in this way. To women is says; all you lack are role models and community support. Which has a 1950s, "even a woman can do it!" Ring to it.

To men, it reinforces the idea that women are being kept down by men. Maybe that's true and I'm simply not getting invited to the meetings where men gather to conspire to keep women down and out of the board room. Or maybe that doesn't happen and the real reason there are fewer women in the very high positions is a result of something else.

There is a vocal minority of dick heads out there who hate women and happen to be in tech. My guess is that they hate women for the very reason you would expect a "geek/nerd" to hate women; because girls ignored them, and were probably mean to them. The power balance in school between boys and girls goes a long way to explaining the animosity between some men and women in my opinion.

If I were asked to organise a talk to encourage women to become founders, I would ask an expert in risk assessment to speak, because we know it to be true that women are more risk averse than men. And that is why there are more male founders AND more male prisoners. To talk about anything else is just pretending there are no real, measurable and relevant differences between men and women. And I don't see how that helps anyone.
Why do people keep equating DRM with proprietary? Granted, it does allow for lock-in, but it depends on who's doing the lock-in. I don't think the case has been sufficiently made that DRM is bad in and of itself. I am all in favour of open standards, no vendor lock in, I'm in favour of open source and free software. Let me reiterate just so there's no confusion, I use Ubuntu on the desktop, I use Gentoo on the server, I have an Nexus phone and tablet. However, I fail to see how DRM is bad in and of itself. I would prefer if all software was done in the open but I don't think proprietary software is evil or morally bad. I think it increases the likelihood of harm to the user somewhere down the line but I don't think the harm is inevitable. In the case of DRM I think the harm is even more remote, what do you think?

Side note: what irks me is multiple formats ... Say I'm, an old timer, I've bought an album on vinyl, I figure that should give me some deduction when CD comes out or digital only or DVD-audio or whatever, I think making people purchase the same content on different formats over and over again at full price with no discount and not taking into account that you've purchased that album before is unfair!
I have no idea about the average person, or how you would even measure or quantify what it means to "actually" believe something you claim to believe. I suppose you could say the same thing about any belief system, even empiricism or scientific rationalism. How do you prove that you "actually" believe in anything?
You completely missed the point about it being about more than happiness. If you want to run a college admissions program on the theory that significant extracurricular accomplishments offer no value, are mere happiness-generating distractions and that maximum study time is the sole key to academic fitness, be my guest.

It would in fact be silly for a school to run such a program, if only because the data on achievement so strongly opposes it. Same for entrepreneurship and parenting; the median founder age is 40 and older age correlates with success[1]. No doubt many of these older, more successful founders are parents.

Of course we're not talking merely about study time or even parenting, but an attitude and complex of poorly reasoned arguments calculated to keep women disadvantaged. This is beyond silliness; it is chauvinism masquerading as (pseudo) intellectualism.

[1] http://techcrunch.com/2011/05/28/peak-age-entrepreneurship/
Download Atom without invite
The issue about sharing your algorithms is minimal in this case. Most search engines are using standard frameworks. Google doesn't share their algorithms but StackOverflow doesn't add any specific magic to it.

Regarding how do you know where to route a query, it is an issue but not so great in this case. The article doesn't talk about having a two tiered search for every web site. If it has a two tiered search for the top 100 sites that is enough to challenge Google (the main point of the article) and making 100 searches and filtering them in the 2nd tier it's not difficult.
To be precise, the group routinely has members which become pregnant and raise children. I didn't mean that the group has members which routinely become pregnant and raise children.
>> "I think it's amazing that people would debate whether to fund a company led by a hard-working mother when nobody questions the logic of funding a company run by someone who worships a malevolent invisible sky wizard."

How is that comparison at all valid?

Being a mother is obviously going to take up a lot of your time and energy. Startups require a lot of time and energy. Doing both is difficult (although not impossible). Belief in a god is something most people do for an hour on the weekend. It's unlikely to impact the startup at all.
At one point CheckPoint VPN didn't support 8.1, now it does. One of my customers uses it so I held off upgrading. There could well be other apps with similar issues and big corporates would prefer others discover them.
A friend of mine owns a house a few blocks from Facebook. She has had to stay in her house due to shootings and police manhunts several times over the past few years.

The problem is real and I don't blame Facebook for being concerned. Although, it's sadly typical of them to propose their own privately-paid-for police force.
Oh man, that sucks. Don't give up (of course)! Fingers crossed for you to soon finding a replacement.

As one of the co-founders of http://Founder2be.com, an online platform for finding co-founders, I would of course encourage you to give it a try.

Fingers crossed either way and don't give up!
But also your opportunity cost is increased. Now you don't have enough for a drink to go with it, and drinking with you meal increases the nutrients you can absorb.
This is the code that gives us the classic buffer overflow vulnerability all because checking for a length isn't elegant.

Or rather, buffer overflows arise because someone did not think of lengths, and somehow this mentality became ingrained in a rather large number of programmers; this code is perfectly fine if the length of the source string is always less than or equal to that of the destination. I think saying "never use X" is almost always a bad idea, since it discourages reasoning, and not thinking about lengths is what lead to this problem in the first place.

On the other hand, "never use gets()" is more appropriate, since whoever came up with that function clearly never thought of lengths...
The site is not run by Digital Ocean, they have said they will never accept bitcoin. We are basically reselling them :)
Because those are javascript primitive types, which json is built around in the first place. Date is not a javascript primitive, and is therefore not included.

If we need to follow that logic (to include useful non-primitives) we would end up with a clusterfuck of a spec that noone would want to implement.
> Let's hear your proposal for addressing the already segregationist technology industry.

Stop supporting segregationist policies.
I feel like some kind of web luddite for saying this, but does anyone else actually like flash?

yes, people abused it and most flash apps were crap, but now I'm seeing more and more of the same done in css animations/javascript. It's worse too, since most people just do something like jQuery.animate and update the dom every frame.

I personally liked the actionscript 3 graphics api a lot more than javascript + canvas. I did work with it a lot so I could be biased..

The death of a closed platform like flash is good for the future of the web, but some of the hate is undeserved. Hopefully it will have a second life as a desktop app platform.
Indeed. I see SQL comments and Postgres COMMENT ON statements used to send information to applications. Really funny, that....
It's not fair to claim NaCl is restricted to any platform since all implementations now use PNaCl.
SEEKING Freelancer - UK - Web designer.

I've got a photography portfolio that needs a refresh, static HTML preferred, but jquery can be used if you have nice effects.

I've only got about five pages but I'm not so good at the design. I freely admit the budget is low £50-£125. Drop me a mail if you think you might be interested despite that. (UK only because payment by bank transfer is simpler that way.)
> “Learn to program yourself. That is the best advice I could give to anyone non-technical,” she said. In addition, she said, non-technical founders should surround themselves socially with programmers.

For context, she said this specifically about women who were having trouble finding technical hires.
Which country read the most
based on the quote 'Much smarter people have written far more words about this sort of thing; you should read what they have to say.", it seems like this guy is either comparing them to himself or steve jobs
Also interesting is that Mark Karpeles signed it "Representative Director" rather than "CEO". Maybe that's a legal thing (since they're under bankruptcy protection), or maybe he stepped down?
I am not a lawyer myself, but the laws about these things tend to be very specific (what's true for an FDIC regulated bank doesn't carry over to other financial institutions). Discrimination laws tend to exempt startups with less than a certain # of employees.

For instance check this out: http://www.justanswer.com/ca-employment-law/61oi7-small-star...

I'm not commenting on the rightness or wrongness here .. I think startups are very unique and no blanket statements make sense. For example, if it were a baby food startup or pregnancy app, I'm sure it would be a tremendous advantage to be pregnant or a new mother. (talk about talking to users)
without flash my business would never take off - www.broadbandspeedchecker.co.uk . There is so far no other technology that would accurately show file download progress
Women typically don't want to be founders. The ones that do generally lack the physical and emotional stamina, intuition, instincts, persistence, are too emotional in their decision making, lack natural leadership skills ETC. If all this somehow changes, any year could be the tipping point. Good luck ladies.

Women in general, I think your best bet would be to try to rid the world of all the no talent entertainers (such as Miley Cyrus, Beyonce singers actresses ETC). All these women do is shake their butt or breasts all over and try to sell sex. Speaking of selling sex, get rid of all hookers, strippers, porn stars, nude models, start dressing your teenagers and yourselves modestly (cover up), stop sleeping around, no more one night stands, having 4 kids from 3 daddies, stop stripping down in movies too, doing half naked fashion shows or miss X contests, ETC. You do nothing but lose respect when you do all of this. You think men are pigs for ignoring the fact that you have a good brain in that head and just staring at your chest, yet women doing all of the things I mentioned are why men think like this (a vicious cycle I know).

Do this and I guarantee that you will have a tipping point that is unprecedented. Men will take you seriously and the amount of respect that you get will be far greater than today.

I am not saying that this would guarantee or put you on equal footing as a founder because the skills and desire that is necessary are not common in women. But it would sure help you be taken seriously, and there is not much that is more important than that.
I suppose you would "measure" how they act rather than what they say. If someone says I'm willing to "die for Allah" and then actually becomes a suicide bomber, that's pretty solid evidence.
Flash will probably make a comeback when mobile hardware can support it without burning batteries(I wouldn't count on adobe optimizing it any time soon, making non bloated software isn't in their dna). For all it's faults, flash is an incredibley fully featured authoring tool for 2D multimedia and casual games. Html5 may be technically capable of matching flash functionality, but it's rarely as easy or convenient and requires a ton of wheel re-inventing.
what about a open binary format ? I don't mean bson.
totally agree - I do not see the point in posting (and even worse: upvoting) such outdated links. it would be a different thing if it was regularly updated, but the last update was from nov 2011.
It's the Japanese equivalent of CEO.
I don't think you understand the meaning of the word "routine": a sequence of actions regularly followed; a fixed program.

"Is more likely to become .. " or "more commonly becomes" would make more sense. Nonetheless, what you are getting at (treating individuals as members of a group) is precisely the problem. Treat people as individuals, even if you believe expecting mothers to be a bad investment, don't assume every woman is more likely to become pregnant.
Can anyone explain what is going on here[1]?

1: http://pastebin.com/rmtUxwbu
A bit of a linkbait, since the NSA surveillance covers probably 3 billion people at all times and the LAPD covers L.A. with maybe 5 million people.

So the capabilities of the NSA are around 1,000 times bigger than the capabilities of the LAPD.
Is it??? A guaranteed prerequisite to next advancement in web tech is certainly that it does not come out of one of those 'evil corporations'...
Compilers can't tell if a shared library symbol resolves to null.
Poe's law? Surely...
Well, even the zip was easily distributable. I don't think they really put much effort in licensing.
I guess they make it semi-invite only to get some more hype? Or maybe just to limit the amount of testers..
Any instructions for linux?
It's also easy to block Flash (I have it disabled by default), but not so easy to block JS or CSS animations selectively.

Having done some decompilation/deobfuscation stuff I've worked with the Flash file format directly at the byte level, and it's really quite nice and efficient for its purpose - although you wouldn't see that from the direction Adobe's plugins have taken. IMHO it was good when it was still called Macromedia Shockwave Flash.
Well there's no Linux version out yet, so probably not ;)
Interesting that the call center has been established to respond to all inquiries, as long as you don't ask for information.
Title made me wonder whether it was about NAND flash and SSD endurance at first.
Download Atom editor without an invite