Hacker Newsnew | past | comments | ask | show | jobs | submit | bigstumpy's commentslogin

There is also C++


Iow it probably wouldn’t compile with an actual C only compiler, but by and large it looks more like C than like C++?


If you specifically asked for the best moves, presumably it would recite moves that correlated with won games, not just common moves.


This is the most epic hardware Google has ever created.


Do you have problems with long build times? How do you mitigate them?


Build times for this library haven't cropped up as a first-order concern. Using GHCI and `stack test` for the dev workflow has been fast enough (though could always be better).


Why do you say ducted fan?


Or ground effect? Rotor craft have a nasty ground effect, not a nice one, IIRC.

It looks like a big multi-rotor with a saddle and pontoons. These are so simple that they'll probably work well enough.

Battery life is an issue that's not going away quickly.


> Rotor craft have a nasty ground effect, not a nice one, IIRC.

I was wrong about that. Thanks to nradov above for correcting me.


Kitty Hawk | Mountain View, CA | ONSITE | Haskell Software Engineer

Kitty Hawk is a Silicon Valley technology company dedicated to moving people more quickly and efficiently through personal flight. Our engineers, scientists, hackers, and creatives have invented and innovated technical and regulatory solutions for self driving cars, human powered helicopters, revolutionary wind power vehicles, and other world record-setting aviation achievements. We break stuff, in a good way, because we're here to get things done and help humanity push forward. Join us, let's have some fun.

Kitty Hawk’s R&D team is currently flight-testing a variety of aircraft with autopilots written in Haskell and code-generated to C. Our simulation environment, ground station, and optimization code are written in Haskell, and all components are either currently open source or will be released once they stabilize.

We are looking for a software-engineering focused person with experience or interest in simulation of dynamic systems, control systems, robotics, aerospace, or estimation. Your initial responsibility will be helping to maintain and expand the simulation and control environment. We are a small team which designs/builds/tests/flies in rapid iteration, so you’ll be energetic, adaptable, independent, and a fast learner who can make sound engineering judgments with limited information.

more info: https://jobs.lever.co/kittyhawk.aero/89a6630b-4210-4a4a-89d8...


I don't get it. According to the github history there was a hello world commit in 1972, conversion to C in 1974, conversion to ansi-c in 1988, then the next commit was the first go specification in 2008.

Git was written in 2005.

What did these hello world commits have to do with go? Why are they in the git history?


It's a joke.

It's a joke basically saying "First, there was B, and it looked like this. Then, there was C, and it looked like this. Finally, there was Go, a new evolution of our work".

The git dates were clearly faked and created entirely for the purpose of this joke.

If you wanna know how to edit dates, this blog does a slightly better job than the `git-commit` man page: https://alexpeattie.com/blog/working-with-dates-in-git#chang...


Too bad Go is not a C replacement, if anything it would be Rust.


It's a spiritual successor by the same "good old boys" club of Rob Pike, Ken Thompson, etc though.


This is the first "Hello World" program, written in 1972 by Brian Kernighan, in the "B" language.

I guess they decided to include a history of "Hello World" as the path to Go.

See https://en.wikipedia.org/wiki/%22Hello,_World!%22_program#Hi...


> According to the github history there was a hello world commit in 1972

> Git was written in 2005.

Not sure about this specific case, but it isn't uncommon to migrate from another version control system (e.g. Subversion) to Git while maintaining the past history.


Subversion was (to my surprise) only released in 2000, so you'd have to migrate from something even older -- perhaps CVS (released in 1990)? RCS was released in 1982, so you might have migrated from that. SCCS was released in 1972, so they MIGHT have used it, and kept those migrations going. But my guess is they fudged the git history as some weird type of historical documentation of where these languages came from?


My oldest photo in Google Photos is from 1994.

My oldest email in Gmail is from 1996.

My oldest file in Google Drive is from 1998.

All of which pre-date their current storage (and some of which pre-date the company that created the current storage).

None of which is as important as anything in a VCS in terms of wanting to keep history intact.

BTW: If any Google engineer is present: Gmail search over mail older than a decade is terrible. Just terrible.


Well, if it was migrated to Subversion from CVS on the day Subversion came out, that gets us back to 2000.

If it was migrated to CVS from RCS on the day CVS was released, that gets us back to 1986.

If it was migrated to RCS from SCCS on the day RCS came out, that gets us back to 1982.

SCCS showed up in 1972, just in time for this commit.


I have projects on github older than git thanks to cvs2git and svn2git. They can convert history:

https://github.com/sumdog/MplayerBuddy


I guess they just edited the dates for fun.


I wasn't aware Windows had better security than Linux. Do you have a source for this?


They got the code signing right very early on. ALSR is still better than on Linux (I think). The whole privilege isolation thing is neat. Feel free to google it, this shouldn't be news.

Just to be clear: Linux is doing fine. OS X is a hell of a lot worse.

---

I forgot to say what I actually wanted to say: I said security features, not overall security. Linux is FOSS.


OS X has code signing and a I think you mean ASLR not ALSR. Further OS X has ASLR the SAME YEAR as Windows (2007) according to wikipedia [0]:

> Windows

> Microsoft's Windows Vista (released January 2007) and later have ASLR enabled for only those executables and dynamic link libraries specifically linked to be ASLR-enabled. For compatibility, it is not enabled by default for other applications. Typically, only older software is incompatible and ASLR can be fully enabled by editing a registry entry "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management\MoveImages", or by installing Microsoft's Enhanced Mitigation Experience Toolkit.

> The locations of the heap, stack, Process Environment Block, and Thread Environment Block are also randomized. A security whitepaper from Symantec noted that ASLR in 32-bit Windows Vista may not be as robust as expected, and Microsoft has acknowledged a weakness in its implementation.

> Host-based intrusion prevention systems such as WehnTrust and Ozone also offer ASLR for Windows XP and Windows Server 2003 operating systems. WehnTrust is open-source. Complete details of Ozone's implementation is not available.

> It was noted in February 2012 that ASLR on 32-bit Windows systems prior to Windows 8 can have its effectiveness reduced in low memory situations. Similar effect also had been achieved on Linux in the same research. The test code caused the Mac OS X 10.7.3 system to kernel panic, so it was left unclear about its ASLR behavior in this scenario.

> Mac OS X

> In Mac OS X Leopard 10.5 (released October 2007), Apple introduced randomization for system libraries.

> In Mac OS X Lion 10.7 (released July 2011), Apple expanded their implementation to cover all applications, stating "address space layout randomization (ASLR) has been improved for all applications. It is now available for 32-bit apps (as are heap memory protections), making 64-bit and 32-bit applications more resistant to attack."

> As of OS X Mountain Lion 10.8 (released July 2012) and later, the entire system including the kernel as well as kexts and zones are randomly relocated during system boot.

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


I do mean ASLR. I even tried to correct it, but I spelled it wrong again ...

They all have ASLR, but the Windows implementation is supposed to be better than Linux' (even if it's just a little). Anyway, they're both better than Apple's. The details really do matter here.

---

By the way: Linux plays a very odd role here because it's also run on servers. Might be an unfair comparison.

---

You really shouldn't google for these things (for the same reason you shouldn't listen to me either). Having said that, this source seems alright: https://www.cert.org/blogs/certcc/post.cfm?EntryID=191

Make sure to have a look at the Reddit discussion as well.

Another good example for this is how /dev/urandom is implemented in Linux and FreeBSD/OS X. They both have it but it's not quite the same.

---

Also note that the reason MS invests more into security than Apple does is because of their painful history. Makes all the sense in the world, doesn't it?

---

Here's another one: https://en.wikipedia.org/wiki/Comparison_of_operating_system...

Note that Capsicum and SELinux aren't used that much (unfortunately). I don't know if Apple's sandbox is "inspired by" Capsicum. I also don't know why the MS sandbox isn't listed there. What's the feature called that gives each app it's own System32?


Do you have a source on that? I'm googling for differences in implementation and the benefits and downsides of them but I'm not finding much, I may not be searching for the right thing though.

Edit:

Found this but it's from 2011 so probably out of date: http://www.theregister.co.uk/2011/07/21/mac_os_x_lion_securi...


I'm pretty sure that's the air exploding as the round pushes it out of the way


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: