Large Codebases and Frameworks (SWE)
Software engineeringPosted 2 days agovia Himalayas, a remote job board
- Work type
- RemoteOpen worldwide
- Experience
- Not stated
- Pay
- $60–120 an hour
- Posted
- 2 days ago
Skills it mentions
Add your skills to see which ones you have.
About the job
Opportunity Snapshot
Pay: $60–$120 per hour
Commitment: 10+ hours per week, flexible schedule
Location: Remote, anywhere in the world
You'll need: Recent hands-on experience shipping substantial changes in large codebases or frameworks, and public work we can look at (GitHub, merged pull requests, or similar).
Your tasks: Solve and review real software engineering tasks and explain your decisions.
About the project
You already know what it takes to change code you didn't write in a codebase with years of history. This project pays $60–$120 an hour for that same judgment.
micro1 is working with a client that builds and tests AI models on real software engineering work. Experts do the same task the model is tested on: they work out the correct solution, or they check someone else's.
What you'll do
- Make or review changes in large codebases and frameworks: find where a change belongs and what it can break.
- Decide if a change is correct, complete, and safe to merge.
- Trace bugs and regressions to their root cause.
- Review other experts' solutions and say if they are right or wrong.
- Write a short explanation of each decision so someone else can follow your reasoning.
- Deliver work through the project platform within agreed deadlines.
What we're looking for
- Recent hands-on work, ideally in the last 12 months, shipping changes in a large codebase (internal or open source) or in a major framework.
- Strong coding experience in at least one mainstream language.
- Public work we can look at: GitHub, merged pull requests, published packages, or similar. Early-career engineers (0-2 years) with strong public work are welcome.
- Experience reviewing code and tracing bugs to the root cause.
- Experience with AI tools or AI evaluation is a plus, not required.
- Advanced English.
This is not a fit for people whose work is only small scripts or prototypes, or who no longer write code.
How it works
- Apply and answer a few short screening questions about your experience.
- Complete the software engineering interview with our AI interviewer. It's a voice conversation about your hands-on work, with nothing to write or upload. A completed interview is the fastest way to be reviewed for this project.
- Get approved after a review of your background, public work, and interview.
- Start working on tasks through the project platform.
Originally posted on Himalayas
Interested?Large Codebases and Frameworks (SWE) at micro1
Apply on Himalayas (opens in a new tab)The job ad ends here
Interview questions for this job6 with answers, on Software engineering practice
Interview questions for this job
The ad names no skills we have questions for, so here is what Software engineering interviews usually cover: Software engineering practice.
What is the meaning of single and double underscore before an object name?Software engineering practice
Single Underscore
In a class, names with a leading underscore indicate to other programmers that the attribute or method is intended to be be used inside that class. However, privacy is not enforced in any way. Using leading underscores for functions in a module indicates it should not be imported from somewhere else.
From the PEP-8 style guide:
_single_leading_underscore: weak "internal use" indicator. E.g.from M import *does not import objects whose name starts with an underscore.Double Underscore (Name Mangling)
From the Python docs:
Any identifier of the form
__spam(at least two leading underscores, at most one trailing underscore) is textually replaced with_classname__spam, whereclassnameis the current class name with leading underscore(s) stripped. This mangling is done without regard to the syntactic position of the identifier, so it can be used to define class-private instance and class variables, methods, variables stored in globals, and even variables stored in instances. private to this class on instances of other classes.And a warning from the same page:
Name mangling is intended to give classes an easy way to define “private” instance variables and methods, without having to worry about instance variables defined by derived classes, or mucking with instance variables by code outside the class. Note that the mangling rules are designed mostly to avoid accidents; it still is possible for a determined soul to access or modify a variable that is considered private.
Example
>>> class MyClass(): ... def __init__(self): ... self.__superprivate = "Hello" ... self._semiprivate = ", world!" ... >>> mc = MyClass() >>> print mc.__superprivate Traceback (most recent call last): File "<stdin>", line 1, in <module> AttributeError: myClass instance has no attribute '__superprivate' >>> print mc._semiprivate , world! >>> print mc.__dict__ {'_MyClass__superprivate': 'Hello', '_semiprivate': ', world!'}From Stack Overflow: asked by Ram Rachum, answered by Andrew Keeton (CC BY-SA 4.0)
Is it OK to have multiple asserts in a single unit test?Software engineering practice
I don't think it's necessarily a bad thing, but I do think we should strive towards only having single asserts in our tests. This means you write a lot more tests and our tests would end up testing only one thing at a time.
Having said that, I would say maybe half of my tests actually only have one assert. I think it only becomes a code (test?) smell when you have about five or more asserts in your test.
From Software Engineering Stack Exchange: asked by Restuta, answered by Jaco Pretorius (CC BY-SA 3.0)
Which hashing algorithm is best for uniqueness and speed?Software engineering practice
I tested some different algorithms, measuring speed and number of collisions.
I used three different key sets:
- A list of 216,553 English words 🕗archive(in lowercase)
- The numbers
"1"to"216553"(think ZIP codes, and how a poor hash took down msn.com 🕗archive) - 216,553 "random" (i.e. type 4 uuid) GUIDs
For each corpus, the number of collisions and the average time spent hashing was recorded.
I tested:
- DJB2
- DJB2a (variant using
xorrather than+) - FNV-1 (32-bit)
- FNV-1a (32-bit)
- SDBM
- CRC32
- Murmur2 (32-bit)
- SuperFastHash
Results
Each result contains the average hash time, and the number of collisions
Hash Lowercase Random UUID Numbers ============= ============= =========== ============== Murmur 145 ns 259 ns 92 ns 6 collis 5 collis 0 collis FNV-1a 152 ns 504 ns 86 ns 4 collis 4 collis 0 collis FNV-1 184 ns 730 ns 92 ns 1 collis 5 collis 0 collis▪ DBJ2a 158 ns 443 ns 91 ns 5 collis 6 collis 0 collis▪▪▪ DJB2 156 ns 437 ns 93 ns 7 collis 6 collis 0 collis▪▪▪ SDBM 148 ns 484 ns 90 ns 4 collis 6 collis 0 collis** SuperFastHash 164 ns 344 ns 118 ns 85 collis 4 collis 18742 collis CRC32 250 ns 946 ns 130 ns 2 collis 0 collis 0 collis LoseLose 338 ns - - 215178 collisNotes:
- The LoseLose algorithm (where hash = hash+character) is truly awful. Everything collides into the same 1,375 buckets
- SuperFastHash is fast, with things looking pretty scattered; by my goodness the number collisions. I'm hoping the guy who ported it got something wrong; it's pretty bad
- CRC32 is pretty good. Slower, and a 1k lookup table
Do collisions actually happen?
Yes. I started writing my test program to see if hash collisions actually happen - and are not just a theoretical construct. They do indeed happen:
FNV-1 collisions
creamwovecollides withquists
Read the rest at the sourceFrom Software Engineering Stack Exchange: asked by Earlz, answered by Ian Boyd (CC BY-SA 4.0)
Why is IoC / DI not common in Python?Software engineering practice
I don't actually think that DI/IoC are that uncommon in Python. What is uncommon, however, are DI/IoC frameworks/containers.
Think about it: what does a DI container do? It allows you to
- wire together independent components into a complete application ...
- ... at runtime.
We have names for "wiring together" and "at runtime":
- scripting
- dynamic
So, a DI container is nothing but an interpreter for a dynamic scripting language. Actually, let me rephrase that: a typical Java/.NET DI container is nothing but a crappy interpreter for a really bad dynamic scripting language with butt-ugly, sometimes XML-based, syntax.
When you program in Python, why would you want to use an ugly, bad scripting language when you have a beautiful, brilliant scripting language at your disposal? Actually, that's a more general question: when you program in pretty much any language, why would you want to use an ugly, bad scripting language when you have Jython and IronPython at your disposal?
So, to recap: the practice of DI/IoC is just as important in Python as it is in Java, for exactly the same reasons. The implementation of DI/IoC however, is built into the language and often so lightweight that it completely vanishes.
(Here's a brief aside for an analogy: in assembly, a subroutine call is a pretty major deal - you have to save your local variables and registers to memory, save your return address somewhere, change the instruction pointer to the subroutine you are calling, arrange for it to somehow jump back into your subroutine when it is finished, put the arguments somewhere where the callee can find them, and so on. IOW: in assembly, "subroutine call" is a Design Pattern, and before there were languages like Fortran which had subroutine calls built in, people were building their own "subroutine frameworks". Would you say that subroutine calls are "uncommon" in Python, just because you don't use subroutine frameworks?)
BTW: for an example of what it looks like to take DI to its logical conclusion, take a look at Gilad Bracha's Newspeak Programming Language and his writings on the subject:
From Stack Overflow: asked by tux21b, answered by Jörg W Mittag (CC BY-SA 4.0)
What's the difference between a method and a function?Software engineering practice
A function is a piece of code that is called by name. It can be passed data to operate on (by the parameters) and can optionally return data (the return value). All data that is passed to a function is explicitly passed.
A method is a piece of code that is called by name that is associated with an object. In most respects, it is identical to a function except for two key differences:
- A method is implicitly passed data to operate on by the object on which it was called.
- A method is able to operate on data that is contained within the class (remembering that an object is an instance of a class - the class is the definition, the object is an instance of that data).
(This is a simplified explanation, ignoring issues of scope etc.)
From Stack Overflow: asked by willc2, answered by Andrew Edgecombe (CC BY-SA 4.0)
What is the STAR method, and how do you use it to answer?Behavioural
Use the STAR method to prepare for interviews and to show your skills and experience on a CV or application form.
What STAR stands for
- Situation - the situation you had to deal with
- Task - the task you were given to do
- Action - the action you took
- Result - what happened as a result of your action and what you learned from the experience
When to use STAR
You can use the STAR method in your:
- CV
- cover letter
- application form - usually in a further information section
- interview
How to use STAR
You can use the STAR method to structure the examples you give to questions, especially in interviews.
A job description lists the skills and qualities the employer is looking for. You can use the STAR method to show how you meet these.
It can help to look at common interview questions when preparing.
When using STAR, remember to:
- use examples that work for you - these could be from work, home or volunteering
- keep examples short and to the point
- try to get your points across in a conversational way so as not to appear too rehearsed
- be prepared to answer follow-up questions about the examples you give
Example 1 - leadership skills
Tell me about a time when you have shown leadership skills.
Situation - in my previous digital marketing job, the company wanted to get more people to sign up to a newsletter which was not receiving a lot of attention.
Task - my job was to find a way of getting more people to sign up.
Action - I organised a meeting with other members of the marketing team to come up with creative ideas, and I led the social media campaign to generate interest in the revamped newsletter.
Result - over a period of 3 months, there was an 25% increase in sign-ups to the newsletter and the approach I took was used by the management team in other departments.
Example 2 - teamwork
Tell me about a time you have worked as part of a team?
Situation - when I was at school, I was part of the netball team. We needed to raise funds to buy more equipment for the team.
Task - my job was to work with the rest of the team to set up a bake sale to raise money.
Action - I took the lead and found out who wanted to help with the bake sale. I then held a meeting so we could work out dates and what tasks each person would do. I made sure that we were all clear what our role was and everyone who wanted to, got a chance to get involved.
Result - the bake sale was a success due to the team all pulling together. We raised £200 and were able to buy new equipment for the netball team.
Example 3 - problem solving
Give me an example of when you faced a problem at work. How did you handle it?
Read the rest at the sourceFrom National Careers Service: interview advice (Open Government Licence v3.0)
