skysight-inc/HackerNews huggingface dataset:
int a[100];
int *p = &a[50];
a[0] = 666;
printf("%d\n", p[-50]);

Remember that x[y] in C just means *((x)+(y)). You can offset pointers with positive and negative offsets so long as the resulting pointer remains within the bounds of an object.

(EDIT: formatting so HN doesn't misinterpret code point U+2A.)
One implementation of a single-event-upset testbed that I worked with used the valgrind infrastructure to inject faults in running code, purely in software. (Example: http://www.sts.tu-harburg.de/research/fitin.html, earlier work: http://dus.jpl.nasa.gov/projects/solar/Papers/granat-abft-sv...)

Your larger point is right: some commenters are giving up on problem analysis or solutions "because the problem is hardware". That implication does not follow. Perhaps people are too used to highly abstracted software systems?
So you are saying SpaceX is the EA of rockets?
ThingieQuery: $19 SQL IDE for Excel
The Lost History of the Jargon FIle
This headline is really misleading.

TFA is about the "Autonomic Logistics Information System" (ALIS) system used to automatically order replacements parts and schedule service, NOT the plane itself.

It's grounding the plane because they can't schedule maintenance and order parts correctly now that they're moving to this new system, not because the plane itself is buggy. The planes have been flying (mostly bug free) for over 10 years now.

A lot of people here are using this to scapegoat C++, but although the plane is written in C++, I don't think the ALIS is...
Seems like most of it is written in C++, while some parts reused from F22 is in Ada 83. This was done "due to programmer availability" according to Wikipedia (links the article cite for that claim are dead).
Your father might be dead or suffering today. It is impossible to be certain about the natural course of a disease after you intervene. I'm glad your father is doing well, of course, but we should be cautious: stories like this one tend to bias people towards treatment with what is technically a false representation of facts. I hate to seem pedantic, but accuracy is crucial in discussions like this.
ugh.. every single jenkins discussion devolves into someone plugging their CI system.

Yes we know there are alternatives to jenkins.
Obviously. Real men and women know CLI apps are binary executables, and should be written in C, C++, or, perhaps, Go.
Choosing C++ is certainly a red flag in this context, which is why I pointed it out.
It's particularly acute in California. The East Coast has many denser areas. California has a stunning lack of density given how many people live there and want to live there.

The DC area is right there with wealth with SF and Silicon Valley and is more educated. While still being rather expensive, it's much cheaper than SF and Silicon Valley. Why? Much better density and land use. Not only is the District adding 100,000 housing units a decade, Arlington, Alexandria, Bethesda, Silver Spring, etc. have downtown areas with density that are Metro accessible and more are being built and added to.

And we still deal with NIMBYs out here! Everyone does. But you have to put rules in place that limit their influence. People need to live somewhere. Density is good for the environment (and California has major issues with air quality in certain areas).

These are all things that people in California understand, but NIMBYism is carried out at the local level, and there aren't strong enough land use laws in place to brunt their force.

Every metro in the country would love to have a huge influx of white collar companies and workers. The idea that this is the fault of tech companies or tech workers is ridiculous. The problem is very poor land use policies, and people are taking out their frustration out on individuals just trying to work and live, when the real problem is not being addressed at all.
I really like the README in this project. I had a lot of questions (especially going to production and extending GraphQL myself) which are answered in the README. https://github.com/calebmer/postgraphql/blob/master/README.m...

But I don't know how to do it yet.
Your Team’s Culture Is Alive, and It’s Built by You
That is amazing:

> ALIS does not have redundant infrastructure: ALIS’s current design results in all F-35 data produced across the U.S. fleet to be routed to a Central Point of Entry and then to ALIS’s main operating unit with no backup system or redundancy. If either of these fail, it could take the entire F -35 fleet offline.

That sounds like a movie plot [Independence Day] (or Battlestar Galactica)!

So, the enemy jams comms or shoots down satellites, and a F-35 squadron deployed to a base on the other side of the world can't do maintenance? An aircraft carrier is attacked and its antennas are destroyed, and they can't do maintenance? The enemy breaks into or takes offline the Central Point of Entry over the Internet (oh, but it's airgapped, of course...), and the entire F-35 fleet around the world can't do maintenance? (Or can't do it at the level required to maintain combat readiness.)

Am I misunderstanding something here?
It's not about selectivity in general. It's about companies not testing for relevant skills when they interview.

Reciting the implementation of some obscure algorithm from memory is entirely irrelevant to the daily job of a software engineer. Being able to do that does not make you a good software engineer, and most good software engineers cannot do that.

They do these "programming trivia" style interviews because it makes them feel clever and superior to the interviewees, and because it's a lot less work for them than conducting an interview that actually probes what level of software engineering talent the candidate has.
They are using this C++ dialect:

http://www.jsf.mil/downloads/down_documentation.htm
For the people who are surprised that anybody could have a problem coming up with these solutions on the spot. What do you guys do all day that has you implementing these CS algorithms so often that you've effectively memorized them
They were working in a cockpit factory. They had many other options for charging their phone in a USB socket, and they still chose to charge it by plugging it into the cockpit. Your solution, in this situation, already existed and people still plugged phones into the cockpit.

Why would they NOT do this, under your system? If I can plug my phone in right where I am, in the cockpit, or somewhere less convenient for me, why would I not just do it where I am, in the cockpit? There are no penalties for it, so why wouldn't I do it?
Tamao Nakahara: Building Successful Developer Communities
I think cruising around space on the Enterprise is pretty meaningful life. But how would a more realistic living 20 years on Mars in a 100x100 foot dome do the same? The exploration part would wear off after maybe 2 weeks.
You have to be very careful with that attitude.

When I interview candidates, I state up-front that I care less about the solutions than the steps taken to reach one. It's okay to ask for help or hints when confronted with a previously unfamiliar problem. But if I need to provide too much help, teach the use of basic tools (whether they are logical patterns or universal utilities), and even then getting to A solution requires excessive hand-holding, I will hold that against you.

Also, I will happily invert a question if needed. Showing one way to solve a given problem, I would expect a qualified candidate to be able to point out where it could be done differently.
To Be Continuous: Ep. #18, DevOps 2.0
Without exception huh? That's a ridiculous statement, and I'm guessing you come from a privileged enough background that you don't appreciate all the benefits you gain by living in a highly regulated society. I for one am perfectly happy about the ban on lead paint. And requiring folks to disclose asbestos if they know about it. An unregulated market decides all kinds of awful things - slavery is very desirable from a pure market standpoint. Or employing poor kids to repair textile mill machinery - you can always fire them for incompetence when they lose an arm or leg in the gears.
When actual results differ from what our intuition tells us, we call it "counter-intuitive".

When this happens, it could mean that our intuition is right and reality will eventually conform to how we think things should work.

But more often, it means that there is more going on than we understand, so we should calibrate our thinking to correspond with what is actually happening.

You're free to wait for the territory to change to match your map. As for myself, I find it's more profitable to update my map to match the territory.
Send them to Detroit or Cleveland or any other rust belt city suffering from a lack of jobs.

There is no such thing as too many jobs. And any area that is turning away jobs is going to find itself in for a world of hurt.

Always look to the future. Always embrace more jobs. Because the good times aren't around forever.
If that happens we better hope it never escalates to physical conflict at any scale. Google "hypervelocity kinetic weapon" then factor in that adding a hydrogen bomb warhead wouldn't be much harder and would give it that much more punch. Have fun deflecting an inbound going 500k mph.

Interplanetary war between players that advanced would be a really fast path to extinction.
I imagine that's easier said than done in some scenarios, perhaps even the majority.
Deep ocean trenches are as bad or worse as the surface of mars.

Inside the core of the Earth seems as bad or worse.
I highly doubt there is a correlation. The financials were "bad" for Wall Street... But for the vast majority of the employees, I doubt they will lose sleep over a 9% drop, on what will most likely be a one-off for Apple's quarterly reports.
The Interaction of Things – Not the Internet – Is What Makes the IoT Smart
> we have some hardware that requires 800mA at peak to run. Even many 1A USB supplies

I've been doing this for 30 years now. My rule is. Power supplies? Derate by 50% or you will be sorry. That power IC that says it's good for 1.2A? Yeah read that as 600ma.

Capacitors are the same way, rated for 16 volts? Try 10 volts. If you look at capacitors specs you'll often see MTBF at rated voltage and temperature of 2000 hours which is three months.
AIS is generally limited to line of sight, as the signals simply don't carry. (AIS was designed to be a high-frequency report over relatively short distances; carrying was never a design goal.) However, there are providers for ship AIS data which have satellites listening for the radio broadcasts over open water.

https://en.wikipedia.org/wiki/Automatic_Identification_Syste...

http://www.orbcomm.com/en/networks/satellite-ais
That's a lot of analysis for something that some art directors just decided to go with because it looked good, or spring boarded from previous designs...
Actively working with it now, seems fine to me, maybe you're using an old version of the design support lib?
You are preaching to the choir: I have quit jobs in the past because they were not serious about doing good work.

But my "clear conscience" doesn't help the overall situation.

How can we make the industry as a whole less bullshit? That's the question that I want answered.
In games we HAVE to push things forward, we HAVE to innovate or seen as a copy of an existing product. That being said, that's what "Pre-Production" is all about, answering the questions that are new to this project.

In the piece it says something about "needing more windows", that isn't what I'm talking about. That's just poor game design at the outset.

I was refused an interview once because they were looking for the exact person who had done a hit title, he "obviously knows what he's doing". The product in question was 2 years late and 1.4 million over budget. I said: "I can do that...". I think the game industry is unique in that we're often hired, or not hired, based on how famous the title was that we worked on last.
F-22 did have some howlers (the computers crapping out when they flew across an international dateline rings a bell) but as someone who casually follows high tech stuff including military equipment I don't remember anything on the scale of the issues they are having with the F-35.

I think a lot of it comes back to scope creep, the F-22 was designed for one branch by one branch to do one thing well, the F-35 was designed for multiple branches by multiple branches to do a bunch of things somewhat well.

It's an absolute bear of a programme.
I'd love to read the details on what you did, and I'm pretty sure plenty of others here would, too.
Man, comments on that article are certainly ugly. I wonder why subsidies for Solar/EVs are viewed so negatively while ones for farming/oil/etc are almost ignored.
Predatory lending as a service.
What's that do to the guys who are competing clean?

And just who would be on that short list? Like the commenter to whom you reply, I too used to be into cycling. Paid for streaming all the races. Used to race myself, and was a race official. But one after another got popped. I used to say that if Jens Voigt ever tested positive, I'd quit watching the sport, because I thought him to be the epitome of the hard-working rider who gets by on hard work and talent. Now I'm pretty sure Jens is on the juice, too. Hell, amateurs are getting popped for doping in Grand Fondos, where there's no money and no one gives a shit. Yeah, I'm going to smear the whole sport, because it's demonstrated to be dirty top to bottom. Go read A Dog in a Hat, about an American's time low-level racing in Europe. In that author's experience, everybody dopes. Doping defines cycling, IMO, and it's been that way for years.

So I don't pay any attention the sport at all and watch MotoGP instead. Because playing the game of "who's clean and who's not" is not why I watched the sport. Sure, the sprinkling of clean riders get caught in the downward spiraling revenues, but that's not my problem.
Just realised how silly it is for the CEO to think that we gain more over the competition by working in isolation with a small team, than we do by collaborating with people who are highly unlikely to actually be interested in our niche. I'm going to have to thoroughly explain how this open source thing works, over a beer or three.
Is the OpenPGP thing supposed to inspire confidence?

Given OpenPGP's use of custom KDFs [1], weak default hash functions (SHA1) and questionable ciphers (CAST5? really?), it certainly doesn't for me. While none of this falls under the "completely broken" category, it certainly could be better... My main concern with anything using OpenPGP is that it only takes one of these things to fall before a deep compromise is possible. There's a reason many cryptographers are anti-cipher choice.

It'd be quite possible to write similar using NaCl/libsodium and achieve a higher margin of security.

[1]: http://tools.ietf.org/html/rfc4880#section-3.7.1.3

EDIT: It seems my knowledge of this may actually be dated, GPG at least has shifted away from many of these defaults

https://lists.gnupg.org/pipermail/gnupg-announce/2014q4/0003...
I'm not sure. If that was true, colonization of America by Europeans would not have succeeded. If they succeed to put up some bases and a workable, extensible agriculture (honestly I doubt I will see that within my life time), colonists will come - and bring in or have their children there.
I am suggesting the frontend developers developing using angular/react code do not require to implement graph search algorithms.

What algorithms have you seen in practice in web frontends? I have seen nothing even minor, not even binary search or bublle sort.
There's no law that says everything a company does must be profit-motivated. Even if there are investors. Even if it's publicly traded (though SpaceX is not), although in that case you must often make your intentions clear in advance to shareholders.
>> Also your flippant, dismissive attitude on quite important CS concepts wouldn't take you far.

Please try to avoid this. We can discuss without resorting to attacks.

>> "There's no point in testing for X or Y because ... e.g. we won't need X or Y to perform the job we are being tested for"

That's what most people are arguing for I think, so I agree with you there.

>> not being able to recognize what BFS even stands for in the first place is enough to raise a red flag anywhere.

By doing this you are throwing away developers that have made their respective companies millions in revenue. It's not hypothetical. One day, a non-CS trained developer will come across a tree and use it. And then they'll learn.
A perfect visitor’s pass?
Learning Ada is easier than learning to write reliable software. If language experience is the barrier to ‘programmer availability’, then management is Doing It Wrong.
You'd think that supply would rise to meet demand.

Being a public defender in a free market would be an attractive career: the stability of a public servant, and the lucrative nature of a skilled job requiring high intelligence.

Of course, we don't have a free market; we have a lawyer's guild with a set yearly intake of applicants.
The gist of a convo with IT when I needed to work around some parameters:

"Hey IT dept. I understand the reason for our network restrictions, but we have a lot of data that we need to get to [some endpoint] using [some method]."

"Sorry, we can't relax the restrictions. You have to work within the parameters."

"But the parameters do not allow me to complete my job."

"Sorry."

I'd love to work within the parameters, but when IT won't budge, you're stuck with the least preferrable method.
> they open source to get PR, build a community; I hope that helps and it's not their last resort

It's not that: Microsoft acquired Xamarin earlier this year [1].

Xamarin is also holding a conference [2] right now, so I suspect this announcement is part of that.

Edit: Yes, it was. [3]

[1] https://news.ycombinator.com/item?id=11169215

[2] https://evolve.xamarin.com/live

[3] https://adtmag.com/articles/2016/04/27/xamarin-evolve-16.asp...
I don't see humans volunteering to live in those places either. Deep ocean at least has some way to sustain life. Mars has NOTHING.
Win-at-all-cost is itself a derived consequence of https://en.wikipedia.org/wiki/Adversarial_system and there are pros and cons
Good that you put some balance in his/her overly rosy picture. Hope he/she learns a bit from this.
It's usually Ada.
I think you are correct, it is just that it is actually required that you do charge interest.

However, I worked with a woman who was Jewish. She showed up in a new car one day and we went for a ride.

I asked her how and when she went and got the car.

She said "oh I got a loan from the Jewish community" or something to that effect.

I inquired what that meant; she said that she was able to get a loan from some Jewish social circle and she didn't have to pay interest because she needed someone else from the Jewish circle who was willing to back her and pay the loan of she failed to pay.

I didn't ask what the consequences were if she failed to pay - but she just mentioned that "if you know Jewish people... Getting money isn't hard"
Hmm, its possible. I tried installing via NuGet and also the component store when that didn't work, but I'll just give it another shot, thanks!
I think one of the problems I've seen with hiring technical workers is that - anecdotally - they have higher rates of depression and/or suicidal tendencies. I think it's the reason why successful modern tech companies try to push the image that above all else, it is important your coworkers become your friends. Investing into mental health is obviously important, but making coworkers watch dogs for concern of their friends is probably equally important
The thing is, when you get there you are essentially living in a small prison cell. At least until there is enough infrastructure to move around in. But your activities are still limited to about what you can do sitting in a little room in front of a computer.

Just thinking about some small things, such as going swimming, or riding a bicycle on a path through the woods. Or hiking / camping, or driving a sports car along a twisty mountain road.
Same thing in say the Linux kernel, where gcc removing a NULL pointer check actually created a vulnerability: http://lwn.net/Articles/342330/
Because WSJ.
Yahoo reaches deal with activist Starboard
Not if you've been dipping into options...financial equivalent of playing with fire
Minecraft on Gear VR is available now for $6.99
Ah! There is a big difference, I believe between subcontracting LEO for NASA and a frikin Mars mission.

Since so far everything is done for NASA I don't have a problem with it. NASA, like any giant government agency subcontracts out a lot of work to various parties. The whole "Military-industrial complex" thing. In the case of LEO where it's NASA controlled but privately contracted SpaceX is awesome because they are bringing down the cost of launches to LEO. This saves us, the US taxpayer $$$.

The frikin Mars mission is different because from what I understand SpaceX is going with or without NASA. That's the difference between an Apollo mission, where the Saturn V was developed by Boeing and others, and Boeing just going alone.

Personally, I think this legislation is a bad idea and is a direct attack on a global common. It will be interesting to see how this holds up internationally. Its almost like the US saying to the world we open up waters in the middle of the Atlantic (international waters) for resource extraction by any of our corporations. Try and stop us.
I wonder how long it would take for you to realize you really miss Earth?

Knowing you'll be confined to a closed space for years (assuming no return capabilities on the initial mission), even the awesome research you'd be doing will probably start to look very bleak.

Just send robots and control them from Earth...
Well I will most certainly agree there is "publicly accessible" source,

It's not just publicly accessible, it's MIT licensed with a patent grant. You could take the code, modify it in literally any way you want, wrap it in a commercial product and resell it. It doesn't come more free or open source without actually being public domain.

What you're asking for appears to be some sort of 'super open source' where not only are free to view, modify, and distribute your code, but also have to a right to have your code merged into the mainline of the code. What you're asking for goes well beyond the four freedoms.[0]

[0] - http://www.gnu.org/philosophy/free-sw.en.html
As someone who both has done business in Denmark and in the US I am always reminded how relative it all is.

So yes it's burdensome but it shouldn't be something that you as a business owner should deal with. You have lawyers and financial advisors and staff for that when your business become too complex.

On the flipside you have access to a huge huge market which every other country in the world is envying.

The problem is that because employees don't have proper representation as most unions have been wiped out, or have too much representation through too powerful unions, the government is forced to go in and implement regulation.

Denmark have something called the Danish model which basically ensures that the employers and the unions on their members behalf negotiate the basic terms only with the government as an intermediary.

It's not perfect and it's showing signs of erosion because unions across the world are loosing the battle against the employers. But it would probably be a good thing for the US system to implement something like that on a state basis.
Yeah, there seem to be a few names that are overused for completely different projects. Mir, Dash, Unity
Because someone with large quantities of money wants it that way. The comments are probably astroturf.
> When I asked the Vimeo’s recruiter for a feedback — no reply, haven’t heard from him ever again. Feedback is too much to ask for these days, apparently.

Corporate feedback is mostly BS. And the rare line from bozo recruiters offer little of substantive value. It's safer for him to say nothing at all.