Better HN
topnewbestaskshowjobs
Log inSign up

macando

777 karma · joined Sep 14, 2017 (9y ago) · 310 submissions

Co-Founder of Go Stellar - a full-service digital agency specialized in React and Node.js development & UI/UX design.

go-stellar.com

You can find me here: twitter.com/endphrame

Submissions

comment 7y ago · link · parent

Why do we need elaborated backend structures? A bit of SQL in stored procedures on top of a DB is good enough all the time. It's way less overhead. Heck, why don't we just let the users get what they want by giving them access to a SQL prompt. We could eliminate the UI completely.

comment 7y ago · link · parent

If you love React and being super productive nothing beats Gatsby + TailwindCSS + Netlify CMS/Hosting.

comment 7y ago · link · parent

SEEKING WORK | Sarajevo (Bosnia & Herzegovina, Central European Time) | Remote 3-person team of senior software engineers and designers here. We all have 10+ years of experience working for Fortune 500 companies and several acquired startups. Comprehensive knowledge of:

• JavaScript/TypeScript, React, Redux, React Native, CSS, Node.js

• Clojure, Elixir

• PostgreSQL, MySQL

• Sketch, Adobe XD, Figma

What we can do for you:

• Design & Build an SPA/PWA/Mobile MVP on a solid foundation so it's smooth sailing once your userbase starts to grow.

• Scale up a team that has an overflow of work or wants to add certain tech to their stack.

• Revitalize an existing app. Solve design, scalability, stability and performance issues.

• Consult on domain specific topics like banking, real-time trading, payment processing and PCI DSS.

Sectors: FinTech, MedTech, EduTech, Social

Website: https://go-stellar.com

Email: hello@go-stellar.com

comment 7y ago · link · parent

Being an engineer means finding/building the best tool for the task at hand. Sometimes it feels great to write a short and effective snippet of code instead of examining how some bizarre API works.

comment 7y ago · link · parent

You use whatever works for your case. When I hear parsing with regex I always think of this legendary Stack Overflow answer :) https://stackoverflow.com/a/1732454

comment 7y ago · link · parent

For some reason regular expressions have the lowest expiry date in my mind's cache. I had to relearn them at least 10 times. Watching that famous Udemy programming course where regex is explained in great detail with examples and state machine diagrams didn't help.

comment 7y ago · link · parent

Just googled to see if 'sleeptech' is a thing. And yes, it is. This is where we spend 1/3 of our lives after all.

comment 7y ago · link · parent

I always wondered whether imperative languages feel more intuitive to most programmers because they are:

a) Inherently simpler and require no prior advanced knowledge of math.

b) They are the default in every curriculum and once your brain is wired that way everything else seems counter-intuitive.

I remember in the first grade of my elementary school we were taught basic algebra and how sets work (union, intersection etc). I understood both concepts but I couldn't relate sets to the outside world. Like why do I even need this. Maybe new programmers feel this way about functional languages and Haskell.

comment 7y ago · link · parent

SEEKING WORK | Sarajevo (Bosnia & Herzegovina, Central European Time) | Remote 3-person team of senior software engineers and designers here. We all have 10+ years of experience working for Fortune 500 companies and several acquired startups.

Comprehensive knowledge of:

• JavaScript/TypeScript, React, Redux, React Native, CSS, Node.js

• Clojure, Elixir

• PostgreSQL, MySQL

• Sketch, Adobe XD, Figma

What we can do for you:

• Design & Build an SPA/PWA/Mobile MVP on a solid foundation so it's smooth sailing once your userbase starts to grow.

• Scale up a team that has an overflow of work or wants to add certain tech to their stack.

• Revitalize an existing app. Solve design, scalability, stability and performance issues.

• Consult on domain specific topics like banking, real-time trading, payment processing and PCI DSS.

Sectors: FinTech, MedTech, EduTech, Social

Website: https://go-stellar.com

Email: hello@go-stellar.com

comment 7y ago · link · parent

Pretty much this. It's especially true in startups where new features and edge cases pile up really fast. Solve a new edge case manually in the beginning (like adding a simple field instead of a smart calculation, like you mentioned) and work from there. It might turn out, in a few months, that that new feature nobody uses anyway so it's dropped. This is easier if you obey: 6) Think at product level

221.

Photoshop is a city for everyone: How Adobe endlessly rebuilds its classic(2013)(theverge.com ↗)

2 points · by macando · 7y ago · discuss

comment 7y ago · link · parent

In the story the Zahir is a coin so I associated it with zero. That's my interpretation. It can be wider and more philosophical.

comment 7y ago · link · parent

Bingo! Above the fold is the more common term. I usually call it "landing area" and the whole thing I call "landing page". Naming is important :)

comment 7y ago · link · parent

One of my favorite writers. In his collection of short stories the two opposing math concepts are mentioned:

The Aleph - A point in space through which the whole universe can be seen and comprehended.

The Zahir - An object that has the power to create an obsession in everyone who sees it, the obsession so strong that after a short period of time everything else disappears.

The A and The Z. Infinity and Zero.

comment 7y ago · link · parent

Maybe we are talking about 2 different things. I want to stretch the image to the bottom of the visible area not to the bottom of the site. If the height of the parent is 100% and that parent is the site itself and it's 5000px high (because the rest of the content made it that high) then setting the bottom to 0px will stretch the image's height to 5000px.

comment 7y ago · link · parent

And set the height to what? Using percentages means 100% relative to the parent. What if the whole site is the parent and that site is 3 screens high? I haven't found the way to make it work without relying on vh or JavaScript.

comment 7y ago · link · parent

If you have a site that's N screens high and you want to set the height of a div (i.e. an image) so it covers the whole landing area (what the user sees when the site loads) then this code won't help. You have to use vh

comment 7y ago · link · parent

And no way to test it with the address bar visible in the Chrome emulator. So it's all nice and dandy until you actually load the site on a mobile device.

comment 7y ago · link · parent

|Harry Roberts - 10 Principles for effective Front-end Development|

https://www.youtube.com/watch?v=8adsZeMQjGQ

Beyond languages and frameworks. One of my favorite speeches on development which I periodically rewatch. It will make you a better developer in general.

1. The simple option is usually the best

2. Reduce the amount of moving parts

3. Understand the Business

4. Care less, care appropriately

5. Pragmatism trumps perfection

6. Think at product level

7. Do not design systems around edge-cases

8. Do not make decisions based on anecdotal evidence

9. Don't build it until you've been asked for it

10. Expect and accommodate change

comment 7y ago · link · parent

I can't recommend Effective Java enough. Even if one hates Java with passion. I haven't managed to find a better book on how to design an API in any language. It learned me to think about the consumers of my code all the time (even if I'm the only author on a given project) The chapters on exceptions, defensive coding, generics are brilliant. The whole book is written in an effective manner. Dense with information, short and still readable. The second best: Eloquent Ruby. Brilliantly written and mature. Instead of hyping everything up, the author elaborates the downsides of each described technique and power tool.

comment 7y ago · link · parent

This is completely normal. Flexible layouts in any UI system are difficult. I was surprised that the authors of all the popular CSS books and courses usually skip or barely cover that part. Apparently they know it's a topic difficult to explain with short snippets of CSS and HTML. Too many moving parts, especially with dynamic content. In the end, you learn by doing it.

comment 7y ago · link · parent

I've just done it. You're right.

comment 7y ago · link · parent

This is awesome! Clearing some of the challenges without having to Google for the right selector feels good =) Congrats to whomever made it.

comment 7y ago · link · parent

Outstanding. I learned the Flex layout by playing this simple game: https://flexboxfroggy.com/ (from the same author I believe). I wonder if there are examples of learning through playing a game that are as effective as these two.

comment 7y ago · link · parent

The missing context: I think that some of the practices used by startups are not inherently better but just performed in front of a much more tolerant and loving audience. If we are talking about big nasty systems full of legacy code - what's the point in rolling out code 5 times a day and making things marginally better. The time would be much better spent proving business value to the decision makers and doing one major refactoring of a core module that is making users miserable. And that takes time.

comment 7y ago · link · parent

I'm a fan of React but I posted the link because this time the author actually used React for many years. Usually, people criticizing it are still learning and are frustrated by React's vast and fragmented ecosystem stemming from its open nature.

237.

Why We Should Ditch React [video](youtube.com ↗)

39 points · by macando · 7y ago · 31 comments

comment 7y ago · link · parent

https://slatestarcodex.com/

If you're into long intellectual essays on deeply investigated obscure topics you won't find a better place. I opened it once or twice. The community is surprisingly active.

1
7891011