skysight-inc/HackerNews huggingface dataset:
JavaScript Charts Comparison
If you take such assumptions when writing production software, good luck.

You need to program based on what the man page says and it's clear even in linux that it can still return a NULL when overcommit is turned off.
> Storage is not free

No, but you're paying the bill for your own tracking. Much easier to spend other people's money.
Are you actually implying that information gathered by security services has been used to derail someone's presidential campaign, even in the era of the worst of such abuses? Because that's what the OP is worried about, ostensibly. And it's silly.
In Europe consumer prices must be displayed including VAT. Example: Apple TV costs 79€, which is 65,83€ plus 20% VAT. If you're a supermarket for business (like office supplies), then you might exceptionnaly be allowed to display the non-VAT price in a bigger font than the total price.
IFE systems do show telemetry data from aircrafts' EICAS, though -- things like ground speed, altitude, temperature, etc.

I'm not sure on the specifics since Boeing has kept silent about the whole debacle, but I do wonder whether the IFE and avionics are airgapped on all aircraft, and whether you could exploit them if they aren't.
I think one uses goto's for two sometimes three reasons.

1. Sometimes one feels the need to abuse exceptions. But C doesn't have exceptions. So one abuses the old goto instead.

2. Sometimes the code is far more readable if you use a goto to short circuit a complex block of code. Which will become insufferably more complicated if it has to say keep track of a trivial case. if(this and not trivial case) else this and not trivial. if(case a and not trivial case) else {if not trivial case)

3. You can use long jumps to do exception handling stuff. I've never had to actually do this.

One comment. I remember trying to read ancient code that abused goto's mostly because the programmer was desperately trying to fit everything into 4k of prom in languages that didn't support structured code. That was the kind of stuff Dijkstra was bitching about, not uses 1, 2, and 3. And actually since C has always had modern control structures goto just is not abused much in practice. Probably the opposite.

Side note.

int my_var = 3;
my_var = "abc";

Just usually generates a warning when compiled. If run my_var will usually get loaded with the address of "abc". If you follow it with the statement

printf("my_var=%s\n", my_var); // this will throw a warning

It'll print 'my_var=abc'
ZeroMQ merely solves exposure of sockets as queues. In all distributed systems, there must be a set of known hosts, or discovery becomes tedious. DNS is an easy way to solve this.
That's what I meant. It covers a good ~95% of all ads. Have any extras register for security exemption. Makes sense to me - in the context of not screwing the user over constantly.
I wish I had this before I started on my novel:

Once upon a time there was ___. Every day, ___. One day ___. Because of that, ___. Because of that, ___. Until finally ___.
It sounds like more than a just a "style" disagreement.

In the discussion of C strings, the author is arguing that Zed's arguments are nonsensical, maybe even objectively wrong. I write a lot of C, and the author is right in this case about C strings and undefined operations. In C you must arrange your code so that you always supply valid input to functions, there is no way around it, and it is perfectly safe once you do so.

I'd rather see discussion of the actual arguments, rather than complaints about the article's tone. :)
I enjoyed your slide very much. Can you make another slide that contrasts C and Rust?

Since presumably Rust has major improvements on both of this cases : Memory & Pointers
Will Silicon Valley or Hollywood Solve Wall Street’s Churn Problem?
I guess now that it ran out something very bad will happen and after that the section or something worse will be active again and will run forever. ("we can't cancel it, remember the time we didnt have it and something bad happenend?")
Uber Hires Its First India President to Lead Its Business in the Country
Good pount that there are different flows, like buying a house where there is no VAT.

Note that dividends are taxed at the corporate level (IS, 15.5%), then the recipient must pay his income tax on top. The rest of your calculations is correct.
Deliberately missing the issue. Forget his future presidential campaign.

How about every future presidential candidate? The existence of a panopticon corpus of information on them which is only accessible to a certain group, grants power over them to that group. In the Internet age, the NSA's policy of tracking everyone is functionally vetting and accumulating blackmail material not just on presidential candidates (where our scrutiny veers towards the ridiculous), but on anyone who ever wants to enter into any position of power. No human being, much less human organizations, could remain uncorrupted by that level of influence over power for any duration of time.

If these policies are not changed, eventually it takes almost negligible amounts of misuse before the NSA or parties within the NSA are quite literally running the country & the world. It takes perhaps a solitary bad actor in the organization with this level of information to merely tip the balance in favor of bureaucratic survival, shift one election or pop an adultery scandal in the way of one board member on one telco. It would require a fanatical level of self-scrutiny and belief in the norms of liberal democracy to self-police against these durable incentives, and obviously that doesn't exist.

Maybe having access to everyone's Instagram account and Google search history doesn't immediately sway the balance of power in 2001, but every year that our country doesn't cut out this brain tumor, it gains more power over us; Our odds of retaining some semblance of control over this organization drop. Quite soon, there won't be any technology-phobic individuals left in our positions of leadership. That day, control over this corpus of information will become a fulcrum that can move mountains.

In writing _1984_, contra to many interpretations, Orwell wasn't afraid of the concept of tyranny. We have had many tyrannical governments before, and documented their rise and fall. He was terrified of the singular notion that the novel power of technology and panopticon surveillance, might create a powerbase which was functionally immortal, a tyranny that could never fall to dissenting calls for change; That maybe technology had made the power of 'dissent' obsolete. If that comes true, we lose the power of self-determination forever.
American Universities Are Addicted to Chinese Students
Tips for Writing Great Chart Captions
Working, and "easy to use" isn't the same thing. For one thing, this is a gratis compiler from MS.
It does sound a bit like the KISS principle[0] and the UNIX design philosophy[1].

[0] http://en.wikipedia.org/wiki/KISS_principle

[1] http://en.wikipedia.org/wiki/Unix_philosophy
I'm always fascinated by these simulated sounds. Is there any resource for simulating other instruments like trumpets and drums?
That's true, there are many legitimate reasons for women to be standing up for men in that way. Even so, a male centered movement is bound to stand up for men's rights in a more complete way, simply because then men have their own voice.
You have a couple of options with make under windows.

There are native versions of make. Where you are using dos shell commands to do stuff. MinGW provides Posix compatible native commands. (you can use ls, cat, etc commands). You can use msys which gives you a Posix compatible build env. Finally something like Cigwin provides both a Posix compatible build env and Posix compatible runtime as well.
The creation of the modern laptop
Ok, now this piece of crap of an article is exactly WHY I am going to learn C the hard way.
Obviously, not the only reason, but certainly one of them.
Some people have empathy and integrity.
it's basically a tool for mining a web site.
Replace "president" with any political position, even ones outside of the US.

I'm not actually worried about MY presidential campaign. But if there is a close race, there is always the "we have the candidates ebay/amazon browsing history from 2009" or "those text messages he/she sent to their secretary" option that could dramatically change history.

The potential for abuse is too great to not have limits on data-retention.
> Do you have a reference for this?

Nope. It seemed like too trivial a result to try to publish it (though maybe someone has -- I don't know).

> the observable universe is in one of at least 2^X possible states

That's right, but it completely misses the point. Yes, your computer has 2^(2^35) possible (maybe "potential" would be a less misleading term) states, but the number of states that it will ever actually be in is bounded by the number of clock cycles the computer undergoes during its lifetime. If your computer runs at 1 GHz continuously for 10 years, it will have been in at most ~10^17 = 2^56 states. In the lifetime of the universe, your computer will only ever be in a tiny tiny fraction of its potential states.
A faster s3cmd
> ...being a Jerk is kind of a must have to move forward. If you are a software engineer at a SF startup, not so much

At least in the companies I've worked at (outside SF), if you don't step up you will just be taken advantage of and put on the sidelines. Want to be lead on the new project coming up? Don't want your boss to expect you to work this weekend? Unless SF is full of hippies in charge, it's going to be exactly the same there.
Yup. For my company website I made sure that most pages require just a single request to render: CSS is inlined and (small) scripts are loaded at the bottom of the page. This means that even when hosting it on a crappy host, without a CDN, you get stellar page load performance.
McBryde Allerton Botanical Garden – Photo Tour
"My point is that the cap is mathematically equivalent to a liq pref, but worse, it's one that is applied up front (before a liquidation event, so its a conversion pref)."

A conversion cap is not worse than a liquidation preference.

A conversion cap doesn't require the company to return cash to an investor. A liquidation preference does. The latter impacts the ability of the company to operate.
Not the GP but we were using Erlang with great joy for the backend of Soundrop before the product was discontinued: http://techcrunch.com/2014/11/13/rip-spotify-apps-rip-soundr...

We still use it for our new product (marketing tool for the music industry) but while it certainly works for us, we no longer have to support tons of simultaneous connections to our servers. The backend tech could almost be anything.
Oktob.io – The Arabic blogging platform
WOFF is simply gzip plus a header. This works well for OTF fonts where the format is already heavily optimised for low size. However TTF files don't compress as well, particularly the 'glyf' table whic contains the outlines and typically accounts for a large percentage of the file size. WOFF 2 adds a preprocessing stage which rewrites the glyf table into a more compact format prior to gzipping.
Maslow's Hierarchy of Needs is useful to point at in this sort of conversation: http://en.wikipedia.org/wiki/Maslow%27s_hierarchy_of_needs
Maybe it's just my impression, but this article tries to make it sound like they should have addressed this from the beginning.

Looking back, it's doubtful that a secure version up front would have worked. Routers were pretty feeble back then, and getting them to verify crypto signatures for advertisements would have been a non-starter.

This is especially true since there are still many issues with the secure replacements when it comes to key distribution issues, manipulating path costs, etc. With all of the modern crypto we have now, it's still a non-trivial problem to solve.
Shameless plug, a while ago I wrote a micro rest api (ghost.py + flask) to take screenshots and optionally upload them to S3: http://gedrap.github.io/lightshot/

It still needs some extra work to be production ready though, please feel free to email me or create a github issue if you think it might useful for you :)
The Nintendo NX Could Have an Android OS?
I'd like to hijack part of this discussion and ask, if any of you know about a good modern c programming book.

Because I'd like to read the K&R C destructuring book, not just a removed chapter at the end of the book :-)

I somehow thought that notion, that K&R C is somewhat outdated in their code examples is widely accepted (biggest gripe is little to no input sanitation, afaik (?)), so a book about "this is what we learned about c in past 30 years" would be splendid :-)
This post was written before the time of Sketch (Bohemian Coding). A few designers I respect swear by the tool, and as a developer I'm all for it since it respects the way web works. It is a vector-based application, and everything you do in it can be represented in CSS (they even have a 'Copy CSS' function), and if not, complex shapes are available as SVGs.

If you're a designer using Sketch, I would love to hear your experience with it, and also any thoughts you have on how it has influenced your workflow.
well, it's not surprising web apps are slow. as an example, 1dash1.com mentioned above: 57.480 lines of JS across 8 separate domains. and the result? site is loading slow (at least on my 500MBit/s fiber connection) and the browser is executing a lot of stuff, most of which is not really efficient or time sensitive (or required). this is how most sites does it, it has to be better ways.
Motivasi Kegiatan Kepemudaan, KNPI Adakan Youth Creative Expo
Some languages, eg. BASIC, used goto's instead of functions. It is easy to see how this can lead to a horrible mess of spaghetti code.
Haven't seen it pop up yet. Most of us post screenshots on that channel where I set it up. Will check the code to see why.
freakin' amazing! thank you so much for sharing! :D
Dang, nearly every single DSP effect I've ever dreamed up and intended to create is right there as a free VST download. Thanks for the link to xoxos!
Here's How You Can Reserve Your Free Upgrade to Windows 10 Right Now
When I was shooting bows, if you did things properly, you wouldn't hit your forearm. The problem is if you blow chow and don't notch the arrow properly. Or the notch blows out. Or the arrow shatters when you let loose. Then the string will hit your arm. I got hit once with a 35lb bow. I don't want to get bit by a 60-70 lb bow string nohow no way.
In the C code I've written, I've found there's really one major, common use for goto: stack unwinding. It usually looks something like

status_t foo (result_t (*result))
{
status_t status = good;

resource1_t r1;
if (failed (status = get_r1 (&r1)))
goto end;

resource2_t r2;
if (failed (status = get_r2 (&r2)))
goto cleanup_r1;

resource3_t r3;
if (failed (status = get_r3 (&r3)))
goto cleanup_r2;

status = get_result (result, r1, r2, r3);

cleanup_r3:
release_r3 (r3);
cleanup_r2:
release_r2 (r2);
cleanup_r1:
release_r1 (r1);
end:
return status;
}

Personally, though, I prefer using C++ and destructors (and, where appropriate, exceptions):

result_t foo ()
{
// Allow exceptions to propagate
auto r1 = get_r1 ();
auto r2 = get_r2 ();
auto r3 = get_r3 ();

return get_result (r1, r2, r3);
}

Exceptions aren't always appropriate, but the C++ still usually ends up a little cleaner. I would love to see something like Haskell's Maybe monad that lets you write code like the above, but returning status information instead of throwing exceptions.
> Working in food service while studying computer science is hard on the spirit.

Been there, done that ;-)

Thanks for the paid internship hint, I'll have a look around for those. I have some of my slightly older projects up on Launchpad, and am looking to joining Github soon.

What freelance work would you recommend? App development, or custom software for businesses?
One of the more profound things I have read in a long time. It seems to confirm a lot of things I have long suspected ...
> I don't think rewriting everything in Go is going to help.

I meant a single Go executable that provides most functionality of a common email server (SMTP, POP3, IMAP, inbox, web admin interface, webmail). (anti-virus, anti-spam, ... would still be external third party processes)

A Go executable would be easy to update and can be compiled for many platforms. Updating a unix style mail server with like a dozens of programs that call each other in a pipeline style way is non trivial - except you do it as your main work. The same goes for the configuration of each component so that everything works together.
I can understand eff celebrating this entirely symbolical event, but cannot understand celebration in the comments. "Aren't allowed to do (for now)", "cannot do" and "won't do" are different things, and only the last two do matter.
I really like the "bang" searches they provide. I agree that their actual search results are not quite as good as Google's, but the ability to search the site I want straight from my browser search bar is brilliant.
Unlike you, I see Esperanto as a remarkable success story. It has survived wars and revolutions and economic crises and continues to attract people to learn and speak it. Esperanto works. I’ve used it in about seventeen countries over recent years. I recommend it to anyone, as a way of making friendly local contacts in other countries.
Between Generation Kill[1], See No Evil[2] and The Afghan Nightmare[3] (and other sources, other wars, other regions), it's hard to see how intelligence is working at all.

In particular [3], which deals with a NATO commander in Afghanistan is telling: Considering the British have been involved in the area for hundreds of years, the US has been involved for decades -- one wonders how one could possibly construct mission parameters that are clearly pure fantasy.

I'm still not sure if it is the result of gross incompetence, or stems from ulterior motives (or a more likely; a combination) -- either way the idea that the intelligence services help prevent wars (at least the parts concerned with sigint) -- is hard to take at face value.

[1] http://en.wikipedia.org/wiki/Generation_Kill

[2] http://en.wikipedia.org/wiki/See_No_Evil_(book)

[3] http://www.riff.it/scheda-film/?id=7515
Top 15 Sites Built with AngularJs
I stumbled across Fish Shell recently, it seems quite interesting. Why do you use that rather than, say, bash?
A Random Walk around the globe in search of robo-advisors
Calling the issue misinformed, ahistorical and overwrought is not missing the issue, it's just calling it that. Instead of reading and citing Orwell, read Bamford. You'll find a history of US security and law-enforcement agencies engaging in things far more illegal than anything that's come to light in Snowden's disclosures.

You'd be hard-pressed to find among them illegal activity directed at suppressing mainstream political opposition. That would be the kiss of death for any such service.

It isn't that these things are not terrible or worthy of scrutiny, opprobrium, or if you prefer, outrage. Suggesting that Western liberal democracy is somehow in unique peril because of them or 'because internet' is, and I'll say it again, silly. Western liberal democracy has easily survived a lot worse.
Customer support. A human can then verify the user even if they can only remember a part of the password.
Dear Paul
If this were 2009, I might be shocked, but Slashdot has fallen so far from the top that I don't even care anymore. Such a poorly mismanaged site. The community used to be great in the early 2000's, but we all moved on.
Today, Yahoo changed the pricing for their BOSS search API from free to $1.80 per 1000 queries (the main data source of DuckDuchGo search, and other startups): https://developer.yahoo.com/boss/search/ and https://policies.yahoo.com/us/en/yahoo/terms/product-atos/bo... (the free API "Limited Web" has been discontinued as of June 1st, 2015)
I wonder if this was the last straw the spurred his latest blog post?

http://zedshaw.com/2015/06/01/dear-paul/
They have done the opposite as of today, the changed their BOSS API, the main data source of Duck Duck Go, from free to $1.80 per 1000 queries: https://developer.yahoo.com/boss/search/ (There is a section "Who's using Yahoo BOSS" -> Duck Duck Go, and a "Pricing" section below)
The first attack demonstrated involves spoofing electronic messages from air traffic control. These include instructions to fly to a certain waypoint or at a certain altitude. The pilot can accept these instructions and update the autopilot with the press of a button, which is easier and less error-prone than communicating by voice and entering the data from the cockpit.

Critically, these instructions cannot cause the autopilot to do anything without input from the pilot, nor can they keep the pilot from disengaging the autopilot and flying the plane manually.

The second attack described involves accessing flight control systems by way of the onboard entertainment system. I would be shocked if this is actually possible.
Is it still considered too tinfoily to believe that presidential (and indeed party primary) candidates are already thoroughly vetted by powerful people long before any ostensibly democratic process is allowed to take place?
> the information we are talking about is readily available

This is sidestepping the whole issue under discussion. The purpose of science education is to teach students about the theories in the field, what evidence is available, how it was obtained, how to reproduce the evidence and so on. Creationism is not even a theory since it makes no falsifiable claims so it doesn't make sense in any way to treat in a science class. It belongs in religion or in philosophy classes
Not quite sure what is new here. The MSVC compiler has been available for free for close to a decade at least and command line compilation was available ever since I first used it (in the mid 90s)
Cool, but your last sentence goes too far. There is politics to worry about. Hasn't feminism proven that a non-partisan stance (egalitarianism) is less effective politically than a partisan one? I can accuse you of the same 'vindictiveness' that feminists face when men say that feminism is wrong because it's all about women. It's not wrong, it's politics.
Transferring USD (except in some fairly rare scenarios) is incredibly difficult and time consuming, much more so than bitcoins.
I just read the entire article and I can't find one decent comment about why Zed's teaching methodology is wrong or why he shouldn't be writing a book on C.

All I see is the author fussing about coding style and some such.
This is about 'cracking' - security exploits etc. - rather than a general guide to web programming (which is what I expected).
Not all feminists believe the same things. I've met plenty of feminists who consider their feminist views mainstream and they hardly agreed with one another on many issues considered to be fundamental. Not all MRAs believe the same things. Near as I can tell, the person who said that basically generalized about entire groups of people without really considering that there is probably a lot more variety in the types of supporters on both sides than first meets the idea.
I randomly found this after clicking on that other C link today (Don't learn C the wrong way or something), only to realize that I had no idea what I was reading but to note that it had just been posted.

A quick overview made me realize this would reach the top of HN and that I no longer cared about the argument within. As an industry of people at the forefront of technology, why do we try to hurt each other?
Some Themes and Plugins for Bootstrap
I found this particular point a bit strange as well. We have the same kind of rule in startup land (e.g. "only work on a problem you are truly passionate about") but there are plenty of just fine and successful startups which solve relatively boring/uninspiring problems.