Hercules27 open jobs

Staff Software Engineer, Full Stack

Full-stackPosted over 2 months agofrom Hercules's own hiring page

Work type
RemoteIn the US
Experience
Not stated
Pay
$100k–300k a year
Posted
Over 2 months agoOpen 2 months
Before you apply: make your resume fit this job

Skills it mentions

Add your skills to see which ones you have.

Interview questions for this job6 with answers below, on TypeScript, React, PostgreSQL and 6 more

About the job

What are we looking for?

Hercules is looking for a senior or staff level full-stack software engineer to help us build the future of AI software development

 

What will you do?

You will build and own features across Hercules including our

  • AI Agent, the AI harness that enables anyone to build powerful full-stack applications

  • App Builder, the interface that makes it ridiculously easy to build, preview, and deploy apps

  • Hosting infrastructure, the backend that's required to scalably and reliably host 100s of thousands of apps

  • SDK, the headless SaaS that users can integrate into their apps like Hercules Commerce, Hercules Auth, Hercules CMS, Hercules Files & Media,

  • Platform, our user friendly experience with enterprise-grade security and reliability

  • Internal AI coding harness, the internal coding harness we have built to 100x our output

 

What skills do we expect you to have?

We expect candidates to be incredibly strong across all of the following areas:

  • Software fundamentals: system design, architecture, data modeling, and API design

  • Code and codebase quality: write clean, maintainable code. Work effectively in monorepos

  • Product/design sense: track record of independently shipping lots of features to customers

  • SaaS: strong experience with billing (subscriptions, entitlements), identity (OAuth, RBAC, SSO/SAML), product analytics (A/B testing, feature flags), and other popular SaaS features (like i18n, notifications) for large user bases

  • Our core stack: TypeScript, React, containers, Postgres, Redis, and Temporal

  • AI: able to truly 10x your workflow by being on frontier of AI coding

 

What’s Hercules’ stack?

  • Technologies: Typescript, React, AI SDK, Postgres, Redis, Clickhouse, Tailwind, IaC (CDK, Terraform), Docker, Otel, Hono, Drizzle ORM, Temporal

  • Clouds: Cloudflare, AWS

  • AI Models: OpenAI, Anthropic, Google

 

What are Hercules’ operating principles?

Hercules’ operating principles guide how we make decisions every day. We take them very seriously. Most of the principles can be learned on the job, however, we do specifically filter for the following principles in our hiring process:

  1. We ship. We ship fast, iterate, and correct mistakes quickly. Our bias for action speeds up our learning and delights our customers.

  2. We strive for excellence. Doing things well is in our DNA. We have good taste. We get the details right. Our outputs are exceptionally simple and self-serve. We’re proud of our work.

  3. We are hungry. We are willing to work hard and break through walls to achieve the outcomes we want. We are willing to operate at any level to get things done.

 

Is Hercules in-office or remote?

Hercules founding team works in-office in San Francisco (Kearny and Bush). We have a very strong preference for in office. We are open to remote for exceptional candidates who are willing to 1) work in US time zones and 2) travel to the office regularly.

 

What are Hercules’ benefits?

  • Unlimited AI token budget

  • Take what you need vacation policy

  • Healthcare, vision, and dental

  • Daily lunches, dinners and snacks in the office

  • We guarantee you will do the best work of your career here

 

What’s the compensation?

$100k-$300k + equity (variable based on seniority, equity, and location)

Interested?Staff Software Engineer, Full Stack at Hercules

Apply on company site (opens in a new tab)

The job ad ends here

Interview questions for this job6 with answers, on TypeScript, React, PostgreSQL and 6 more

Interview questions for this job

For the skills the ad mentions: TypeScript, React, PostgreSQL, Redis, Terraform, System design, Statistics, Docker and AWS.

970 questions
  • What is the Record type?TypeScript
    1. Can someone give a simple definition of what Record is?

    A Record<K, T> is an object type whose property keys are K and whose property values are T. That is, keyof Record<K, T> is equivalent to K, and Record<K, T>[K] is (basically) equivalent to T.

    1. Is Record<K,T> merely a way of saying "all properties on this object will have type T"? Probably not all objects, since K has some purpose...

    As you note, K has a purpose... to limit the property keys to particular values. If you want to accept all possible string-valued keys, you could do something like Record<string, T>, but the idiomatic way of doing that is to use an index signature like { [k: string]: T }.

    1. Does the K generic forbid additional keys on the object that are not K, or does it allow them and just indicate that their properties are not transformed to T?

    It doesn't exactly "forbid" additional keys: after all, a value is generally allowed to have properties not explicitly mentioned in its type... but it wouldn't recognize that such properties exist:

    declare const x: Record<"a", string>;
    x.b; // error, Property 'b' does not exist on type 'Record<"a", string>'
    

    and it would treat them as excess properties which are sometimes rejected:

    declare function acceptR(x: Record<"a", string>): void;
    acceptR({a: "hey", b: "you"}); // error, Object literal may only specify known properties
    

    and sometimes accepted:

    const y = {a: "hey", b: "you"};
    acceptR(y); // okay
    
    1. With the given example:

       type ThreeStringProps = Record<'prop1' | 'prop2' | 'prop3', string>
      

      Is it exactly the same as this?:

       type ThreeStringProps = {prop1: string, prop2: string, prop3: string}
      

    Yes!

    From Stack Overflow: asked by Matthias, answered by jcalz (CC BY-SA 4.0)

  • Why fragments are better than container divs?React

    Below are the list of reasons to prefer fragments over container DOM elements,

    1. Fragments are a bit faster and use less memory by not creating an extra DOM node. This only has a real benefit on very large and deep trees.
    2. Some CSS mechanisms like Flexbox and CSS Grid have a special parent-child relationships, and adding divs in the middle makes it hard to keep the desired layout.
    3. The DOM Inspector is less cluttered.

    From ReactJS Interview Questions & Answers (MIT)

  • What's the PostgreSQL datatype equivalent to MySQL AUTO INCREMENT?PostgreSQL

    Yes, SERIAL is the equivalent function.

    CREATE TABLE foo (
        id SERIAL,
        bar varchar
    );
    INSERT INTO foo (bar) VALUES ('blah');
    INSERT INTO foo (bar) VALUES ('blah');
    SELECT * FROM foo;
    +----------+
    | 1 | blah |
    +----------+
    | 2 | blah |
    +----------+
    

    SERIAL is just a create table time macro around sequences. You can not alter SERIAL onto an existing column.

    From Stack Overflow: asked by Ian, answered by Trey (CC BY-SA 4.0)

  • Memcached vs. Redis?Redis

    Summary (TL;DR)

    Updated June 3rd, 2017

    Redis is more powerful, more popular, and better supported than memcached. Memcached can only do a small fraction of the things Redis can do. Redis is better even where their features overlap.

    For anything new, use Redis.

    Memcached vs Redis: Direct Comparison

    Both tools are powerful, fast, in-memory data stores that are useful as a cache. Both can help speed up your application by caching database results, HTML fragments, or anything else that might be expensive to generate.

    Points to Consider

    When used for the same thing, here is how they compare using the original question's "Points to Consider":

    • Read/write speed: Both are extremely fast. Benchmarks vary by workload, versions, and many other factors but generally show redis to be as fast or almost as fast as memcached. I recommend redis, but not because memcached is slow. It's not.
    • Memory usage: Redis is better.
      • memcached: You specify the cache size and as you insert items the daemon quickly grows to a little more than this size. There is never really a way to reclaim any of that space, short of restarting memcached. All your keys could be expired, you could flush the database, and it would still use the full chunk of RAM you configured it with.
      • redis: Setting a max size is up to you. Redis will never use more than it has to and will give you back memory it is no longer using.
      • I stored 100,000 ~2KB strings (~200MB) of random sentences into both. Memcached RAM usage grew to ~225MB. Redis RAM usage grew to ~228MB. After flushing both, redis dropped to ~29MB and memcached stayed at ~225MB. They are similarly efficient in how they store data, but only one is capable of reclaiming it.
    • Disk I/O dumping: A clear win for redis since it does this by default and has very configurable persistence. Memcached has no mechanisms for dumping to disk without 3rd party tools.
    • Scaling: Both give you tons of headroom before you need more than a single instance as a cache. Redis includes tools to help you go beyond that while memcached does not.

    memcached

    Memcached is a simple volatile cache server. It allows you to store key/value pairs where the value is limited to being a string up to 1MB.

    It's good at this, but that's all it does. You can access those values by their key at extremely high speed, often saturating available network or even memory bandwidth.

    When you restart memcached your data is gone. This is fine for a cache. You shouldn't store anything important there.

    If you need high performance or high availability there are 3rd party tools, products, and services available.

    redis

    Redis can do the same jobs as memcached can, and can do them better.

    Redis can act as a cache as well. It can store key/value pairs too. In redis they can even be up to 512MB.

    You can turn off persistence and it will happily lose your data on restart too. If you want your cache to survive restarts it lets you do that as well. In fact, that's the default.

    It's super fast too, often limited by network or memory bandwidth.

    If one instance of redis/memcached isn't enough performance for your workload, redis is the clear choice. Redis includes cluster support and comes with high availability tools (redis-sentinel) right "in the box". Over the past few years redis has also emerged as the clear leader in 3rd party tooling. Companies like Redis Labs, Amazon, and others offer many useful redis tools and services. The ecosystem around redis is much larger. The number of large scale deployments is now likely greater than for memcached.

    The Redis Superset

    Redis is more than a cache. It is an in-memory data structure server. Below you will find a quick overview of things Redis can do beyond being a simple key/value cache like memcached. Most of redis' features are things memcached cannot do.

    Documentation

    Read the rest at the sourceFrom Stack Overflow: asked by Sagiv Ofek, answered by Carl Zulauf (CC BY-SA 4.0)

  • Difference between Terraform, AWS CloudFormation and Azure ARM?Terraform
    • Terraform is cloud-agnostic (it can be used with multiple cloud providers)
    • CloudFormation is AWS-propietary
    • Azure ARM is Azure-propietary

    From Tech Vault (Apache 2.0)

  • What do you know about our company?Behavioural

    Employers want to see that you have a genuine interest in working for them by asking questions like:

    • what do you know about our company?
    • why do you think you're a good fit for our company?
    • why do you want to work for us?

    To prepare for questions about the employer, you need to research the company. You should look at their website and 'about us' pages to find out more about their products, services and values.

    Show what you've learned about the company throughout the interview.

    From National Careers Service: interview advice (Open Government Licence v3.0)

Similar jobs

More like this: Full-stack developer jobs in San Francisco Bay Area (141), Jobs in San Francisco Bay Area (9,193), Full-stack developer jobs in the USA (448) and Remote Full-stack developer jobs in the USA (243)