Software Engineer II, Fullstack (Ads Platform)
Full-stackPosted 8 weeks agofrom Affirm's own hiring page
- Work type
- RemoteIn the US and Canada
- Experience
- 5+ years
- Pay
- $133k–183k a year
- Posted
- 8 weeks ago
Skills it mentions
Add your skills to see which ones you have.
About the job
At Affirm, we exist for the moments that matter—giving people a clear, predictable way to pay over time, with no hidden fees, no surprises, and no tradeoffs on what matters most.
Our Marketplace is continually evolving to deliver a deeply personalized shopping experience that seamlessly links consumers with merchant partners. By leveraging machine learning alongside rich consumer and merchant data, we aim to simplify and streamline the customer journey around everyday and major purchases with tailored brands, products, deals, and offers. In tandem, we are advancing our Ads Platform which is a key technology that empowers merchant partners to strategically deploy their budgets and reach targeted consumers for maximum incremental impact.
What You'll Do
- With the support of your team’s tech lead and manager, you will break down larger projects into individual tasks, deliver them in multiple phases, and collaborate with others to ensure timely delivery of your work.
- You will support your peers and stakeholders in the product development lifecycle by collaborating with product management, design & analytics by participating in ideation, articulating technical constraints, and partnering on decisions that properly consider risks and trade-offs.
- You will support the operations and availability of your team’s artifacts by creating and monitoring metrics, escalating when needed, and supporting “keep the lights on” & on-call efforts.
- You will contribute to a sense of community on your team by engaging in growth and development activities such as participation in the interview process.
What We Look For
- You have a total of 1.5+ years of experience as a software engineer.
- You have experience shipping web apps using declarative UI frameworks like React.
- You have experience designing, developing and launching APIs at scale using languages like Python or Kotlin.
- You have mastered taking a simple problem or business scenario into a solution that interacts with multiple software components, and executing on it by writing clear, easily understood, well tested and extensible code.
- You are comfortable navigating a large code base, debugging others' code, and providing feedback to other engineers through code reviews.
- Your experience demonstrates that you take ownership of your growth, proactively seeking feedback from your team, your manager, and your stakeholders.
- You have strong verbal and written communication skills that support effective collaboration with our global engineering team.
- This position requires either equivalent practical experience or a Bachelor’s degree in a related field.
Base Pay Grade - L
Equity Grade - 5
Employees new to Affirm typically come in at the start of the pay range. Affirm focuses on providing a simple and transparent pay structure which is based on a variety of factors, including location, experience and job-related skills.
Base pay is part of a total compensation package that may include monthly stipends for health, wellness and tech spending, and benefits (including 100% subsidized medical coverage, dental and vision for you and your dependents). In addition, the employees may be eligible for equity rewards offered by Affirm Holdings, Inc. (parent company).
CAN base pay range per year: CAD $133,000 - $183,000.
This remote role is open only to candidates residing in Alberta, British Columbia, Manitoba, New Brunswick, Newfoundland and Labrador, Nova Scotia, Ontario, Prince Edward Island, or Saskatchewan.
Remote-first with flexibility built in
Affirm is proud to be a remote-first company. Most roles can be done from almost anywhere within the country of employment. Some positions may occasionally require in-person work at an Affirm office, and a few are office-based due to the nature of the work. All new hires will be invited to attend an in-person onboarding experience.
Benefits designed for you
Our benefits reflect our commitment to care, transparency, and flexibility. Here are a few highlights:
- Health coverage at no cost: We cover 100% of premiums for employees and their dependents.
- Spending stipends: Monthly stipends support your tech setup, and the ability to choose health and wellness options that are right for you.
- Time off to recharge: Flexible time off and generous holiday calendars help you rest when you need to.
- Own a piece of what you build: Our employee stock purchase plan (ESPP) lets you buy Affirm stock at a discount.
We’re committed to providing an inclusive interview process, including accommodations for candidates with disabilities. If you need support, we’re happy to help.
For positions based in San Francisco or Los Angeles: Affirm considers qualified applicants with arrest and conviction records, as required by law.
By clicking "Submit Application," you acknowledge that you have read Affirm's Global Candidate Privacy Notice and consent to the use of your personal information as described.
1 more opening for this job
Affirm posts this job once per place or skill set. Pick the one that fits you.
Interested?Software Engineer II, Fullstack (Ads Platform) at Affirm
Apply on company site (opens in a new tab)The job ad ends here
Interview questions for this job6 with answers, on Machine learning, React, Python and 1 more
Interview questions for this job
For the skills the ad mentions: Machine learning, React, Python and Kotlin.
What is the "dying ReLU" problem in neural networks?Machine learning
A "dead" ReLU always outputs the same value (zero as it happens, but that is not important) for any input. Probably this is arrived at by learning a large negative bias term for its weights.
In turn, that means that it takes no role in discriminating between inputs. For classification, you could visualise this as a decision plane outside of all possible input data.
Once a ReLU ends up in this state, it is unlikely to recover, because the function gradient at 0 is also 0, so gradient descent learning will not alter the weights. "Leaky" ReLUs with a small positive gradient for negative inputs (
y=0.01xwhen x < 0 say) are one attempt to address this issue and give a chance to recover.The sigmoid and tanh neurons can suffer from similar problems as their values saturate, but there is always at least a small gradient allowing them to recover in the long term.
From Data Science Stack Exchange: asked by tejaskhot, answered by Neil Slater (CC BY-SA 3.0)
What are Pure Components?React
Pure components are the components which render the same output for the same state and props. In function components, you can achieve these pure components through memoized
React.memo()API wrapping around the component. This API prevents unnecessary re-renders by comparing the previous props and new props using shallow comparison. So it will be helpful for performance optimizations.But at the same time, it won't compare the previous state with the current state because function component itself prevents the unnecessary rendering by default when you set the same state again.
The syntactic representation of memoized components looks like below,
const MemoizedComponent = memo(SomeComponent, arePropsEqual?);Below is the example of how child component(i.e., EmployeeProfile) prevents re-renders for the same props passed by parent component(i.e.,EmployeeRegForm).
import { memo, useState } from "react"; const EmployeeProfile = memo(function EmployeeProfile({ name, email }) { return ( <> <p>Name:{name}</p> <p>Email: {email}</p> </> ); }); export default function EmployeeRegForm() { const [name, setName] = useState(""); const [email, setEmail] = useState(""); return ( <> <label> Name:{" "} <input value={name} onChange={(e) => setName(e.target.value)} /> </label> <label> Email:{" "} <input value={email} onChange={(e) => setEmail(e.target.value)} /> </label> <hr /> <EmployeeProfile name={name} /> </> ); }In the above code, the email prop has not been passed to child component. So there won't be any re-renders for email prop change.
In class components, the components extending
React.PureComponentinstead ofReact.Componentbecome the pure components. When props or state changes, PureComponent will do a shallow comparison on both props and state by invokingshouldComponentUpdate()lifecycle method.Note:
React.memo()is a higher-order component.From ReactJS Interview Questions & Answers (MIT)
What is the difference between @staticmethod and @classmethod in Python?Python
Maybe a bit of example code will help: Notice the difference in the call signatures of
foo,class_fooandstatic_foo:class A(object): def foo(self, x): print(f"executing foo({self}, {x})") @classmethod def class_foo(cls, x): print(f"executing class_foo({cls}, {x})") @staticmethod def static_foo(x): print(f"executing static_foo({x})") a = A()Below is the usual way an object instance calls a method. The object instance,
a, is implicitly passed as the first argument.a.foo(1) # executing foo(<__main__.A object at 0xb7dbef0c>, 1)With classmethods, the class of the object instance is implicitly passed as the first argument instead of
self.a.class_foo(1) # executing class_foo(<class '__main__.A'>, 1)You can also call
class_foousing the class. In fact, if you define something to be a classmethod, it is probably because you intend to call it from the class rather than from a class instance.A.foo(1)would have raised a TypeError, butA.class_foo(1)works just fine:A.class_foo(1) # executing class_foo(<class '__main__.A'>, 1)One use people have found for class methods is to create inheritable alternative constructors.
With staticmethods, neither
self(the object instance) norcls(the class) is implicitly passed as the first argument. They behave like plain functions except that you can call them from an instance or the class:a.static_foo(1) # executing static_foo(1) A.static_foo('hi') # executing static_foo(hi)Staticmethods are used to group functions which have some logical connection with a class to the class.
foois just a function, but when you calla.fooyou don't just get the function, you get a "partially applied" version of the function with the object instanceabound as the first argument to the function.fooexpects 2 arguments, whilea.fooonly expects 1 argument.ais bound tofoo. That is what is meant by the term "bound" below:print(a.foo) # <bound method A.foo of <__main__.A object at 0xb7d52f0c>>With
a.class_foo,ais not bound toclass_foo, rather the classAis bound toclass_foo.print(a.class_foo) # <bound method type.class_foo of <class '__main__.A'>>Here, with a staticmethod, even though it is a method,
a.static_foojust returns a good 'ole function with no arguments bound.static_fooexpects 1 argument, anda.static_fooexpects 1 argument too.print(a.static_foo) # <function static_foo at 0xb7d479cc>And of course the same thing happens when you call
static_foowith the classAinstead.print(A.static_foo) # <function static_foo at 0xb7d479cc>From Stack Overflow: asked by Daryl Spitzer, answered by unutbu (CC BY-SA 4.0)
Place cursor at the end of text in EditTextKotlin
Try this:
UPDATE:
Kotlin:
editText.setSelection(editText.length())//placing cursor at the end of the textJava:
editText.setSelection(editText.getText().length());From Stack Overflow: asked by Manu, answered by Marqs (CC BY-SA 4.0)
What is the difference between off-policy and on-policy learning?Machine learning
First of all, there's no reason that an agent has to do the greedy action; Agents can explore or they can follow options. This is not what separates on-policy from off-policy learning.
The reason that Q-learning is off-policy is that it updates its Q-values using the Q-value of the next state $s'$ and the greedy action $a'$. In other words, it estimates the return (total discounted future reward) for state-action pairs assuming a greedy policy were followed despite the fact that it's not following a greedy policy.
The reason that SARSA is on-policy is that it updates its Q-values using the Q-value of the next state $s'$ and the current policy's action $a''$. It estimates the return for state-action pairs assuming the current policy continues to be followed.
The distinction disappears if the current policy is a greedy policy. However, such an agent would not be good since it never explores.
Have you looked at the book available for free online? Richard S. Sutton and Andrew G. Barto. Reinforcement learning: An introduction. Second edition, MIT Press, Cambridge, MA, 2018.
From Cross Validated: asked by cgo, answered by Neil G (CC BY-SA 4.0)
Do you have any weaknesses?Behavioural
You should be honest when answering questions on your weaknesses. Say how you're working to improve them.
ExampleQuestion - "Do you have any weaknesses?"
Answer - "I struggle with time management on projects. To make sure I stick to the time frame I'm creating a timetable of steps at the start of each project".
From National Careers Service: interview advice (Open Government Licence v3.0)
Similar jobs
- Founding Software EngineerClera, San Francisco Bay Area, on-siteToday
- Full-Stack Developer, Music & AudioMelotech, Remote in the US +2Today
- Full Stack DeveloperSCA Pharma, Remote in the USToday
- Senior Full Stack Software EngineerSharetec, Remote in the USToday
More like this: Full-stack developer jobs in the USA (448) and Remote Full-stack developer jobs in the USA (243)



