News for hackers. Stuff that matters.

theswan

Re:Ask HN: Who is hiring? (April 2018) on Monday April 02, 2018 @05:59PM (#16739788)
Samsara | Product, Infrastructure, Mobile, Site Reliability, Security Engineers | San Francisco, Onsite

Build aws for physical infrastructure.

Samsara was started by the founders of Meraki and has a small, tight-knit engineering team that's quickly growing. We are looking for people who love building and seeing their code get used by customers.

Our backend is powered by golang/graphql/grpc and our frontend applications use react/react native/typescript.

Apply/more info at https://www.samsara.com/jobs

Re:Show HN: Generating GraphQL servers for Go on Sunday February 11, 2018 @11:06PM (#16356453)
At Samsara our golang graphql implementation (https://github.com/samsarahq/thunder) works this way. We write out resolver functions using plain old go types and use some reflection magic at startup to compute the graphql type information.

Our docs are a bit spare at the moment, but this means with code like:

  type User struct {
    Id int64
    Name string
  }

  func rootUser(ctx context.Context, args struct { id int64 }) (*User, error) {
    // ...
  }

  schemaRoot.FieldFunc("user", rootUser);
We can derive the graphql SDL types automatically (looking at the arguments and return values) and use them with other graphql tooling, but it saves folks time from writing out a separate schema and keeping it in sync.
I think this is something that graphql implementations are still trying to figure out. At work (samsara.com) we use a time-based batch[0] for our queries to help with n+1 issues in our graphql server.

Separate branches of the the graphql query are handed to independent goroutines. When batchable rpcs (to the database, or other services) occur, we delay execution by ~1ms and wait for any other rpcs of the same type (and keep delaying for up to ~20ms). This works pretty well for our more expensive field resolvers. We've also thought about ways to examine and track the execution of the goroutines (similar to the facebook/dataloader approach), but the time-based batches have worked pretty well for us so far.

We also aggressively cache queries and rpcs so that the same data is not expensive to fetch across different branches of a query.

[0] You can see the batching implementation here: https://github.com/samsarahq/thunder/blob/master/batch/batch...

Re:Ask HN: Who is hiring? (May 2015) on Friday May 01, 2015 @03:20PM (#9473892)
Clara Labs (https://claralabs.com/, YC S14) - San Francisco, Engineering, Full-Time

Clara is building the simplest possible interface to getting work done. Every person on our team is involved in the thinking that creates their work - full stack in the broadest sense of the term. This means identifying, owning, and driving projects to completion.

We believe shipping early and frequently builds better products. An extreme example: we scheduled thousands of meetings entirely manually for our first Clara customers before building any software at all.

Accepting human dependency is the fastest way to building useful machine intelligence. The failure of intelligence products to date has fundamentally been a failure to build trust. It is the consequence of unreliability and lack of focus (think: Siri). Conversely, Clara has delivered a highly reliable, focused, and useful natural language interface from day one.

We’re looking for frontend, backend, and machine learning engineers to join our early team. Check out our full descriptions for each role [1], and feel free to ping me directly at [email protected] if you have any questions!

[1] https://jobs.lever.co/claralabs/

Re:Ask HN: Who is hiring? (April 2015) on Wednesday April 01, 2015 @02:20PM (#9305674)
Clara Labs (https://claralabs.com/, YC S14) - San Francisco, Engineering, Full-Time

Clara is building the simplest possible interface to getting work done.

Every person on our team is involved in the thinking that creates their work - full stack in the broadest sense of the term. This means identifying, owning, and driving projects to completion.

We believe shipping early and frequently builds better products. An extreme example: we scheduled thousands of meetings entirely manually for our first Clara customers before building any software at all.

Accepting human dependency is the fastest way to building useful machine intelligence. The failure of intelligence products to date has fundamentally been a failure to build trust due to unreliability and lack of focus (think: Siri). Conversely, Clara has delivered a highly reliable, focused, and useful natural language interface from day one.

We’re looking for frontend, backend, and machine learning engineers to join our early team. Check out our full descriptions for each role [1], and feel free to ping me directly at [email protected] if you have any questions!

[1] https://jobs.lever.co/claralabs/

Re:Ask HN: Who is hiring? (February 2015) on Sunday February 01, 2015 @03:50PM (#8981601)
Clara Labs (https://claralabs.com/, YC S14) - San Francisco, Engineering, Full-Time

Clara is building the simplest possible interface to getting work done.

Every person on our team is involved in the thinking that creates their work - full stack in the broadest sense of the term. This means identifying, owning, and driving projects to completion.

We believe shipping early and frequently builds better products. An extreme example: we scheduled thousands of meetings entirely manually for our first Clara customers before building any software at all.

Accepting human dependency is the fastest way to building useful machine intelligence. The failure of intelligence products to date has fundamentally been a failure to build trust. It is the consequence of unreliability and lack of focus (think: Siri). Conversely, Clara has delivered a highly reliable, focused, and useful natural language interface from day one.

We’re looking for frontend, backend, and machine learning engineers to join our early team. Check out our full descriptions for each role [1], and feel free to ping me directly at [email protected] if you have any questions!

[1] https://jobs.lever.co/claralabs/

Re:A look inside Facebook's source code on Wednesday December 17, 2014 @12:58AM (#8761260)
Equally interesting/appalling: private keys on github

https://github.com/search?p=4&q=extension%3A.key+BEGIN+RSA+P...

Re:The Books We Talk About (and Those We Don’t) on Saturday October 04, 2014 @01:48PM (#8410006)
Hmm, GoodReads seems to be an imdb for books.

I'd be more interested in a format more suited toward discussion/annotation - like what you'd get out of a good college-level literature course.

Re:The Books We Talk About (and Those We Don’t) on Saturday October 04, 2014 @01:35PM (#8409968)
Tangentially - I consistently find myself wanting to discuss a book I've read, but unable to do so for lack of others who're in the same position.

Are there places on the internet for good discussion around individual books?

Re:Stellar on Thursday July 31, 2014 @02:05PM (#8115855)
Where do the 10 microstellars go? Are they actually destroyed?
The problem there probably wouldn't be the node.js code, rather, the library has a dependency for mp3 encoding with LAME (used on the Sonos end for streaming), which I've found hardware like the raspberry pi sometimes has trouble with.
Re:Minimum Viable Block Chain on Monday May 05, 2014 @01:20PM (#7699763)
Re:Hacking Sonos on Wednesday April 23, 2014 @11:28AM (#7634566)
Thank you! Would love further feedback (stephen at stephenwan.net) if you find yourself having any problems using it. The code is very-much early stage, so there are some issues to squash.
Re:Hacking Sonos on Wednesday April 23, 2014 @11:27AM (#7634555)
Thanks! Behind the scenes, I've written an node.js component that's able to talk to OS X/iOS devices (https://github.com/stephen/nodetunes) via AirTunes and stream in raw audio data. From there, AirSonos converts the audio into a "radio" stream that Sonos can understand.

The code is still very much 'alpha-stage' at the moment; functional but not completely consistent yet. I'm planning on doing a writeup with further progress!

Re:Hacking Sonos on Wednesday April 23, 2014 @05:28AM (#7632990)
@por and @berberous -

Does audio play at all even when the error happens, or completely doesn't work? I've noticed that sometimes it occurs but the streaming still works fine.

"strange error flushing buffer" is emitted from one of the dependencies, the lame encoder - I'm currently looking into the issue..

Would love to diagnose this further, via github or stephen at stephenwan.net.

Re:Do Men Suck At Friendship? on Wednesday April 23, 2014 @01:52AM (#7632369)
Tangential point - what does the phrase "any dish?" mean?
Re:Hacking Sonos on Wednesday April 23, 2014 @12:09AM (#7632040)
Very cool!

I bought a Play:3 a few months back and was also dissatisfied with the given OS X/iOS apps - I'm currently working on enabling AirPlay support for Sonos devices. (http://stephen.github.io/airsonos/)

Would love feedback from any Sonos users!

Re:Ask HN: Idea Sunday on Sunday April 20, 2014 @02:35PM (#7617933)
Had this very probably on Friday - wanted to learn more about what was new with the SpaceX launch and ended up spending a couple hours on Wikipedia.
Re:They say “nothing will change” on Wednesday April 16, 2014 @01:05PM (#7599010)
Thanks for this!

Just nabbed https://github.com/stephen was inactive since 2008.

Re:Ask HN: Are you using Atom Editor? on Monday April 07, 2014 @02:04PM (#7548155)
What editor were you using previously, and what in Atom made you switch over?
Re:Game servers: UDP vs TCP on Tuesday April 01, 2014 @01:04PM (#7509802)
In re the sections on "hiding the lag" - Bungie (the guys behind the original Halo games) have a pretty cool presentation on how they hid lag in Halo Reach.

http://downloads.bungie.net/presentations/David_Aldridge_Pro...

Re:Airbrb.com #coworking on Tuesday April 01, 2014 @03:34AM (#7506670)
Looks like they've been sitting on this joke for a while.

  Updated Date: 2014-03-28T14:26:39-0700
  Creation Date: 2012-02-20T19:27:58-0800
http://www.networksolutions.com/whois/results.jsp?domain=air...
Re:Square Market Accepts Bitcoin on Monday March 31, 2014 @05:26PM (#7504311)
Makes me wonder - would we ever get to a point where it's in Square/Stripe/Coinbase/et. al's interests to contribute mining power to help their own transactions along? Or is that pretty much taken care of by transaction fees?
Re:Square Market Accepts Bitcoin on Monday March 31, 2014 @04:54PM (#7504093)
How is Square/Stripe getting around the issue that most exchanges wait for 6 confirmations before a transaction is accepted? Are they ignoring the risk of a double spend and just going ahead once a transaction has propagated to the network for mining?
Re:Apple's Mistake (2009) on Tuesday March 04, 2014 @10:17PM (#7345040)
In a way, I think Google really did orphan "Android," the open source project. Key parts of the current Android experience (Google Now, Google launcher, music player, Hangouts/Messaging, etc.) are now closed source and only available to OEM parnters who sign with Google (http://www.tested.com/tech/android/458759-android-44-kitkat-...). The AOSP equivalent components are painfully ancient.

This has happened over the last few years as Google began exercising more control over the platform and secure a better experience; now - there's Android, the somewhat orphaned OSS, and Android, the Google experience OS.

Re:Alcatraz – Package manager for Xcode 5 on Monday March 03, 2014 @02:15PM (#7335738)
Interesting that just a little bit ago there was an article on software installation security (albeit from a different angle).

Theoretically speaking, is it safe to curl and install something via plain http:// and no checksum verification?

Older »