Ember.js SPA made the POS screen, inventory management grids, barcode product search, invoices. Live data refreshes were pushed from the server through ActionCable and websockets using the JSON:API standard. I18n support for front and backend by i18n gem and ember-intl package. SASS, Coffeescript, Babel as assets pre-processors with Webpack.
- bio ainda tá “Elisebot.ai”
- I like the concept of fixing things that are broken, nas not otherwise.
- another famous:
The line of code that’s the fastest to write, that never breaks, that doesn’t need maintenance, is the line you never had to write. — Jobs
- uncle bob puts the role of tests under another spot, like a protection against dynamic Languages: https://www.youtube.com/watch?v=YX3iRjKj7C0
- Just enough code vs doc clarity? Won’t make people practice Code Golf?
- “test code is liability” better title / click bait?
- does it imply tests outside in? Cucumber -> unit? (+1 for mocking is useless) (ok, later you make clearer your preference for black boxes)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# frozen_string_literal: true | |
# How to test: | |
# | |
# ```sh | |
# curl -i -N http://localhost:3000/feeds/stream | |
# ``` | |
# | |
# What I should see: | |
# * the ouput "hello world" 10x separated by a send of each other |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
try | |
set front_app to (path to frontmost application as Unicode text) | |
set c to 3 | |
tell application front_app | |
activate | |
set {l, t, r, b} to bounds of window 1 | |
log {l, t, r, b} | |
repeat until (((b - 150 - 804) ^ 2) ^ 0.5) < 2 | |
set b to b + (150 + 804 - b) / c |
NewerOlder