Trending Feed

Front End Developer ·

As a still new-ish developer, I find that sometimes I run into these obscure bugs, that seemingly should have been caught. For example:

Trying to access an object property by it's name, only to find out all properties are named and ordered by their index. Then having to figure out when that happened.

TypeScript helped me with this, but beyond that it helped me become a better developer by enforcing more strict rules around my code and alerting my to things I might not have thought about.

If you are a JavaScript Dev and up for a bit of a challenge and change of pace, I would strongly recommend TypeScript.

The fact the code "self-documents" is also really helpful. So you know exactly what is supposed to be going on in your code.

I still have plain JavaScript in my stack, because sometimes TypeScript doesn't like playing nicely with others (say for example with Node/ Express.js projects using an ORM that has its own Typing).

READ MORE
9 upvotes·2 comments·874 views
armful
armful
·
May 12th 2022 at 4:01PM

Glad to have you on team TypeScript!

·
Reply
Jack Heaton
Jack Heaton
·
May 13th 2022 at 4:01PM

Cheers!

·
Reply
Tech lead @ AccountIQ at Bambora·

We searched an effect monad to replace scala.concurrent.Future and move our tech stack away from 'Scala as better Java'.

The requirements for the replacement were:

  • Battle-tested & documented;
  • Type-safe;
  • Fiber-safe (not leaking concurrent resources).

ZIO was picked for the following reasons:

  • ZLayers (with zio-magic) that enabled us to structure the application & do DI in a functional way;
  • Typed error channel for safer handling of business-logic exceptions;
  • Built-in Scheduler and retries / cancellation;
  • Steeper learning curve when compared to cats-effect.
READ MORE
4 upvotes·680 views

Render is just a simplified frontend for AWS. You don't save any money in the long run and it closes a lot of doors for you if you want to use Infrastucture as a service like Terraform or Pulumi. If you only have one service you want to deploy and you're sure your stack won't grow then maybe I could recommend Render.

READ MORE
3 upvotes·1.5K views
Senior Software Engineer at KMW Reisen GmbH·

We use Redis as common in-memory cache for our distributed php processes. Since it also provides message-queue functions and was already in our stack, we didn't use an alternative like RabbitMQ for async handling. We have a multi-instance setup (configured via Ansible) on our maschines. High-Availaibility is configured via Redis Sentinel and HAProxy. The HAProxy-HAProxy setup is also responsible for SSL encryption. We could not use twemproxy since not all commands our application uses are supported.

READ MORE
4 upvotes·1.7K views
Principal Software Engineer at AtCore Tech·

LXD based on Linux Containers is simple to install, use and is extremely flexible. I automate all my solutions using the Pylxd module which allows complete control over LXD container creation and configuration including networking and proxies etc.

LXD supports cloud-init which makes templating the base package, user and configuration painless.

Each LXD instance is a full Linux instance so setting up multiple tasks/processes via the standard systemd of each instance is quick and easy.

READ MORE
5 upvotes·1.5K views
Web Designer & Developer at Self-employed·

This will be weird. I have pretty aggravating ADHD that makes project organization and planning tricky. I was finding myself torn on how to sort my React components and the resources they require in a manner that made sense to me, but it resulted in a lot of projects being re-initialized repeatedly because "it's not quite right".

Vue destroyed that anxiety with its single-file component (SFC) model and composition API. When a single .vue file can pack its relevant requirements into a script, template, and style tag, I no longer need to consider how dependencies need to be organized. I just write exactly what the component needs into the file, and save it wherever I require it.

As for static assets, Vite helped with this by defaulting root paths to the /public folder, keeping my imports short and my assets away from my code.

My current portfolio project uses /src, /src/components, and /src/modules for the Vue parts, and /public contains my logos, images, stylesheets, etc. The level of specificity has helped me compartmentalize my tasks and make the development process feel manageable and digestible, no matter how large it gets.

READ MORE
10 upvotes·1 comment·6.9K views
Jack Heaton
Jack Heaton
·
May 13th 2022 at 4:20PM

I was looking into using Vue, and also have experienced similar feelings about project organization in React (and Next.js for that matter).

Thanks for sharing this, it's a helpful take!

·
Reply

I've used JS in one form or another in almost every web app I've worked on for the past 10 years. Usually frontend but have also used it in a server-contexts like with nodejs.

Projects:

  • Robot control system (front and backend)
  • Personal websites
  • Validation software frontends
  • Workspace microservice (nodejs)
  • Many more
READ MORE
6 upvotes·8.9K views
CTO at WebBoss Ltd·

I was looking for a new IDE that could do everything I needed in one place easily. I needed GIT and FTP integration, plus MySQL to manage and view databases. I found PHPStorm to be the best for all this after trialling a few different platforms (like Sublime Text), and preferred the way PHPStorm worked and functioned.

READ MORE
7 upvotes·1 comment·11.2K views
Richard van Beelen
Richard van Beelen
·
May 1st 2022 at 6:11PM

PHPStorm is the best choice, on the left side you have your local project, on the right side your online project incl. your database. At the bottom of your screen terminal options for both local and server. You can easily drag and drop files from the local project to the server on the right.

Adding new tables or columns to your database is very easy, add, edit and view databases and tables as you are used to with PHPMyAdmin. What also makes PHPStorm great is the immediate display of errors with a clear explanation, it helps you to replace the wrong codes automatically, it also gives you advice or a better and cleaner way. Very useful especially if you want to get your PHP project ready for PHP 8.1+, at the bottom of the screen you can easily switch between PHP versions and see immediately what can be improved.

PHPStorm is definitely recommended, with PHPStorm you do not need other programs and tools like Filezilla, PHPMyAdmin, git tools, PowerShell / Putty, ect. anymore. Everything is there and ready to use right after installation, you can however install additional plugins like Tabnine. You don't really need more, PHPStorm is so great that it makes things much easier and your projects will be developed much faster.

The only drawback compared to VScode is that PHPStorm demands a lot from your computer in terms of memory, but this also varies by project and setting. PHPStorm is the best choice for any PHP developer/scripter but also for developers/scripers for both JS/NodeJS, HTML, CSS/SCSS and even Python.

For those who haven't explored PHPStorm yet, give it a try. Of course everything takes some getting used to at first but eventually you will discover the power and luxury of PHPStorm, it will really save you a lot of time and you won't want anything else, good luck!

·
Reply
Software Engineer at Mixtape Bot·
Migrated
from
NGINXNGINX
to
TraefikTraefik

With Traefik, I can now proxy services with 4 simple labels on a Docker container. I don't have to copy files and replace the URL anymore. With Traefik, I also don't need to restart it to add/update/remove proxies, which is really nice, as with Nginx I would have to do that every time I made a change.

READ MORE
6 upvotes·1 comment·12.1K views
Charlie Nguyen
Charlie Nguyen
·
April 20th 2022 at 12:16PM

good news, thanks!

·
Reply
Lead Application Architect at TekPartners·

Full disclosure; I worked for both Telerik and Infragistics in Developer Relations for these projects. From my point of view, neither is a clear "winner" in this space. Kendo has some nice features and Ignite doesn't have and vice versa. We ended up picking Kendo because we needed to settle on one of these, and most of our clients already owned Kendo because it came with some other Telerik product. That's it. It could have very easily gone the other way, but Telerik kinda won the ground war here, so...

Having said that, the only tool we really use is the grid (the rest of them are no better than Flowbite/HTML5/etc. controls. And even then, we really need to be leveraging the advanced functionality of the grid before telling the client they'll have to buy a support license.

READ MORE
4 upvotes·1K views
Security Software Engineer at Pinterest·

Security team builds services, solutions and tools for teams within Pinterest to manage accesses of critical production resources as well as facilitate adding authentication, authorization and accounting within critical production micro-services. Issuing identities to > 130k AWS EC2 instances, using them to make authentication and authorization decisions high bandwidth critical traffic flow conditions while services communicate in a mesh, requires a great deal of performance and stability. GoLang provides exactly that. Also primary engineering skills in Security team need not to be fully familiar with complex programming logic requires in Java/Kotlin while avoiding the pitfalls on runtime failures or uncertain behavior using Python in production leads us to GoLang

READ MORE
8 upvotes·25.5K views
Needs advice
on
Vue.jsVue.jsReactReact
and
AngularJSAngularJS

I love Node.js and MongoDB (A database that goes well with Node). I will use it for embedded systems and backends for web apps. I have questions for frontend JS:

  1. Which front end JavaScript framework is good for web apps

  2. Which front end JS framework is good for PWAs(progressive web apps)

Backstory: I experimented with Javascript. Built lots of things with it. I want to organize my Javascript toolset by seeing which tool is useful when(e.g. use Angular for enterprise, use Vanilla for fun, etc.)

READ MORE
5 upvotes·18.2K views
Replies (4)
Recommends
Vue.js
React

I have a view that Angular js changed its design patterns too frequently and messed up while trying to be too obsessive. Vue 3 is simple powerful, high performance and brings the composition API that also brings overall simplicity. It can be done using pure JavaScript and in my view that's a plus point in development, if you are experienced developer and avoid type mistakes etc..

Most other frontend frameworks support Vue. For e.g. Ionic..

The server side rendering can bring magic of SEO friendly sites while being single page application.

READ MORE
8 upvotes·16.8K views
Recommends
Vue.js
AngularJS

I've been using AngularJS and Vue.js extensively and can recommend AngularJS in a more enterprise environment and Vue.js for personal projects. AngularJS has, in my humble opinion, a lot of boilerplate code, which is useful keeping things organised in a team setup. Vue.js has a more minimalistic approach.

READ MORE
6 upvotes·16.7K views
View all (4)
Head of R&D & Partner at SYNDIKAT7 GmbH·

Primarily for the exchange between a frontend client and a backend system. Powerful tools for integration into frontend applications (written with React or Angular, ...), a possibility for exposing a playground, self-documented API, powerful query language (for instance, the app decides which information is needed). You can do this also with Jersey or other similar solutions but (most of the time) then you need to define your own query language on top of HTTP.

READ MORE
5 upvotes·15.5K views
Founder at BinksDev Software·

The tool I was hosting was a relatively small NodeJS application which utilized the Spotify API - it was meant to be very low maintenance, but still required intervention (to renew certificates, restart the Node app when it crashed, etc). It was also using old NodeJS frameworks that were either deprecated or very outdated.

I made the decision to migrate the service to Google Cloud Run, and change the underlying database from MySQL to RavenDB, for performance and ease-of-use reasons. The move was relatively easy - the only challenge was around migrating from old libraries I was using to perform REST requests, and of course adjusting from a password authentication system to client certificates

I chose to migrate to RavenDB for their advanced dashboard, which allows you to monitor databases, queries, and cluster node performance. Working with RavenDB has been a much smoother and user-friendly experience compared to MySQL.

Hosting the application in Cloud Run, rather than on a dedicated Linux VM, meant that costs were drastically reduced (from £10/month for an AWS EC2 micro instance to £0 for Cloud Run). The serverless architecture means you're only paying when a request is made to the URL - for a small service such as mine, this was a life saver.

Best of all? I get advanced monitoring statistics from Google Cloud, showing me exactly how many requests I get per day, how much memory/CPU is used, and how many container instances are active to serve traffic. When an error occurs, Cloud Trace keeps track of the exception, the line it occurred on, and how many times the error has been seen.

I knew this migration would lead to a low-maintenance solution that I was hoping for, but I didn't realize how low maintenance it would truly be - I haven't needed to even look at the service since it was migrated, aside from checking I allocated enough cores/memory to the containers.

READ MORE
5 upvotes·17.6K views
.Net Developer at Exe Software·
Needs advice
on
Next.jsNext.js
and
.NET Core.NET Core

I'm looking to develop a website. My current plan is to use ASP.NET Core 5 web api for backend and React for front end. But not long ago I hear of Next.js and that it is capable to have all backend inside Next.js. If so, is it still worth using .Net + React (or some other combination of frameworks).

READ MORE
6 upvotes·15.5K views
Replies (5)
Sr. Site Reliability Engineer at OneDegree·

Knowing the requirement of the website and the resource you have will help you find the best tech stack.

If you are very familiar with ASP.NET and some Javascript, but you are eager to build a website quickly, I will suggest you to go with your first plan, even vanilla Javascript or jQuery for the front end side.

In the other hand, you are willing to learn Javascript deeply and try the most famous React.js Framework Next.js, and you are not in a hurry to build this website, I will suggest you to use Next.js for both front end and back end, it is stable and community friendly that you can discover a lot of resource.

READ MORE
5 upvotes·13.9K views
Recommends
Next.js

My personal opinion: Next.js. It's so easy to use if you already know React. Its backend abilities are awesome, with better support for SSR (server-side rendering) than any cross-language framework combo could do. It's fast, reliable, and can tightly integrate with any backend you could want. If you're also really set on .NET, you could create a .NET backend and use Next.js to make the API calls and server-side render the results for better SEO. I've used it multiple times, and it has never disappointed. However, as a disclaimer, I've never used .NET, but I love React.

READ MORE
4 upvotes·5.2K views
View all (5)
Chose
ES6ES6
in

ES6 bring us many cool features. Arrow function allow us to write a pure function instead of traditional function which play a role of class constructor. Promise and async make it possible to write async code with sync way. Many other features I can't list all here, but as a modern front-end developer, use ES6 in our development is a necessary thing.

READ MORE
5 upvotes·24.3K views

I have to start automation from scratch for a webapplication that is developed using angular framework. I'm planning to create a framework with python for selenium, and use python with selenium for creating test scripts, but not sure how much time it might take and what challenges are there. So I'm looking for any existing framework/tool that can help me in E2E testing of my application.

READ MORE
2 upvotes·24.6K views
Associate Director Engineering at Sunstone Eduversity·

We did a lot of POC on this topic, Had multiple discussion between our developer a lot of R&D , Then we made our mind. Flutter community is going better day by day, and a support of calling native code is going to help you achieving anything that you can't do in flutter. Hot Reload is really hot. And one of the good reason is it's web support.

READ MORE
3 upvotes·27.1K views
Freelance Developer at Correira Web Services·

I chose stack overflow because I am on this website 24/7 while working on any project. The community is the best and they have almost any issue you can think of! The discussion and examples are great for working through and understanding the why behind the answers rather than simply working code being spit back at someone who asks a question.

READ MORE
8 upvotes·1 comment·31.5K views
Catalin Radoi
Catalin Radoi
·
May 2nd 2022 at 9:57AM

What would be the alternatives? :)

·
Reply
Machine Learning Engineer at FLO HEALTH, INC.·

We train and deploy various ML algorithms to personalize the user experience in every part of the Flo app. While our first models were trained and served in a custom way, it quickly became hard to manage all the complex datasets and entities we deal with.

Therefore we’ve adopted the Tecton Feature Store. Tecton is one of the most advanced Feature Stores on the market. It allows to quickly explore and experiment with new features and datasets offline, while making it easy to serve the exact same data in real-time in a high-load environment.

The key benefits of using the Tecton Feature Store:

  • A clear and unified feature definition framework - less place for bugs and inconsistency between training on historical data and real-time serving

  • The feature definition code is covered with tests, the feature availability and freshness is monitored

  • Online data serving is easy to run and manage - every feature service becomes an API endpoint that is launched with a single command

  • Time-travel - we’re able to obtain the exact historical values of every feature we store and serve - this makes it easy to debug models retrospectively

  • Features are reusable in multiple problems - we can collaborate across different domains, while keeping the same standards for ML engineering for the whole company

Tecton runs on our own AWS infrastructure, using Spark and DynamoDB as offline and online storages accordingly. Tecton was our first step on our way to a scalable, reliable and efficient ML infrastructure at Flo.

READ MORE
8 upvotes·29.3K views
Needs advice
on
PythonPythonJavaJava
and
C langC lang

Actually, I'll add, C++ and C# as well.

Well, I'm into Computer Science since 1996, so I understand a bit of everything plus a lot of different OSs, I study 10 hours per day every day. However back in the 90s we didn't have books or universities about programming, all were passed through if you knew somebody in that profession. Which I did and in that time, he showed me .NET and MySQL, and that offered a lot of jobs also Java. Today you have a lot of options but I'm already discarding new languages as I believe they will jot succeed.

My always dream was to create game, and software. I don't understand all programming concepts and I'm studying all languages at the same time, so I'm heavy loaded. But that keeps me more aware.

I made a choice: use Python for everything but if you want performance, apps, security, compatibility, Multiplatform. What should I choose? The real question here is: which language should I go 100% and that language will teach me all I need about programming BUT without getting lost in that language forever (I discard any Assembly possibility) and one that has full documentation, support and libraries.

In my experience: I found a lot of info for python and java. But hardly I have ever found anything for C lang, C++ and, what about C# (it's only for Windows, is it easy, I saw a lot of documentation). Thanks!!

READ MORE
8 upvotes·18.4K views
Replies (3)
Recommends
Python
Cython

I would go with Python, it is fast to code, readable and very powerful without giving you too much to think about (e.g. memory management). If you're looking for speed, Cython is a fairly good way to get there, since Python is a C-based language it can be compiled to C using Cython and will get you a very significant boost in speed! You can also make use of C libraries if you prefer. The only downside to Cython over Python is that it is compiled and not interpreted, which can make debugging a pain (but you might find yourself doing most of the debugging in Python before switching to Cython). C languages are a bit of a pain to read up on (API, libraries etc.), but Stack Overflow has you covered in most cases!

READ MORE
3 upvotes·258 views
Recommends
Python
C++

Python can be linked with C++ both language are similar in many places (using same libraries or concepts to build libraries) - except memory and static types. C++ is more assembler and have different syntax (need 3x-4x coding more).

If you do engineering it is perfect stack - Java is to slow in coding (4x more code) and little faster than Python - whatever it is hard to mix Java/C++ what is easy Python/C++.

In the most program you do not need super performance but if you need C++ is the best and have rich Object Language much richer than Java and more poor than Python. Python is true object language - everything is object.

Whatever sometimes more important is framework than language for specific use.

READ MORE
3 upvotes·2 comments·13.1K views
Prakhar Vatsa
Prakhar Vatsa
·
March 26th 2022 at 6:49PM

I mean C++ is a superset of C, so might as well use C, am I right? It's just a case of simple bike, automatic car or manual car. python is simple bike, used for town based biking, like for going to school, etc. java is automatic car(like the memory management), while c is manual car(oil changes, motor changing, etc.). It's like comparing honda civic to bugatti chevron. Bugatti chevron is fast and all, but it isn't general purpose, it's purpose is for racing. honda civic is general, and that's what this guy is looking for, i think.

·
Reply
Cezary Wagner
Cezary Wagner
·
March 28th 2022 at 11:57AM

You can use C++/C with Python. Current C++ is not the old one so memory management can be automated whatever memory management in Python and C++ is different. You need understand how both behaves. Pointers, references, stacks, core types - in Python it is simple. Same with int in Python is one type in C++ 8 types for int with overflows.

·
Reply
View all (3)
Full Stack Developer at Synchronosure·

Laravel is so very friendly in coding in backend and has a good documentation and easy to understand. It's also easy and rapid to create application on this framework. The community is also big where you can get a lot of other solutions from other developers. Same as well in Vue Js, its lightweight and very fast to compile and load. The coding is very well structured and clean. PHP has now also the features of strict type rules and Vue Js too since it's now support Typescript.

READ MORE
11 upvotes·1 comment·38.1K views
Shanover Saiyed
Shanover Saiyed
·
March 25th 2022 at 5:09PM

I am in a situation here, could you share your diligence on why have you not picked NodeJS for backend instead of Laravel? I have to change stacks too, a bit confused which one to go for.

·
Reply
Chose
StrapiStrapi
over
SanitySanity

I recently started using Strapi and I see lot more features than Sanity like Authentication. The most important feature that I like in strapi is that it is code to no-code platform. There are no API access limits on Strapi as because it's a localhost website and hosting it online also there is no API access limits... But I'm not saying SanityCMS is bad It's also a great CMS becaused I created a successful blog and a social media website using Sanity. One thing that disappoints me is the API access limits because it 100K/200K I know its lot but eventually it burns out. So it's upto your choice which one you want. For starters I recommend to begin with Sanity then move to Strapi for for big project which have authentication system

READ MORE
4 upvotes·32.2K views

Fast data growth and the importance of data-driven decisions make the data catalog one of the core components of data management. Flo Health adheres to high standards in engineering, including data solutions. The company itself has grown rapidly in recent years, and the accompanying increase in data made it obvious that we needed a solution to issues of data ownership, quality, and discoverability, as well as data governance.

So how did we resolve these issues?

Background and data-related issues:

Data ownership and responsibilities

Most data pipelines and datasets were owned by product teams and data analysts, but some pipelines with complex calculation logic were owned by data engineers. There were also cases that had multiple owners, or none. On top of that, responsibilities for data owners were not clearly defined. This meant that some data pipelines were implemented using best data engineering standards, covered with high-quality tests, and routinely validated, but because other data owners did not consider those things to be their responsibility, that wasn’t happening across the board.

Data discoverability and observability

With growing volumes of data, complex data pipelines, changing data sources, and an increasing number of people dealing with data, data discovery and observability became a challenge. Cases when it was difficult to determine the business context of data, find proper data for analysis because similar data was stored in multiple tables, or understand downstream processes began to appear.

Data trustability and governance

We didn’t have a simple entry point that would let data users both find proper data for analysis and know whether this data is trustable or not (i.e., if it had been tested, by what type of tests, and when it had last been successfully tested). There also wasn’t a centralized place to find all de-identified PII data in the storage or an automatic mechanism to identify potential data noncompliance in terms of privacy ahead of time.

What we needed

So, we needed a single entry point for working with the data that could resolve all our data issues. Of course, we also had high technical expectations:

  • Ability to integrate with various data sources: Glue, Databricks, Looker, etc.
  • Rich data lineage
  • REST API

In addition, we wanted the tool to have a clear and simple UI and UX so that it wouldn’t create constraints in data governance process adoption. Everyone in the company, regardless of technical skillset, needed to be able to easily gather insights from data.

There’s a multitude of solutions on the market:

  • Open-source solutions: Amundsen, DataHub, Magda, Atlas, etc.
  • Proprietary solutions: Alation, Atlan, Collibra, etc.
  • Mono-cloud solutions: Google Cloud Data Catalog, Azure Data Catalog
  • Data observability platforms: Datafold, Monte Carlo

However, not all of them could meet our needs and fit a reasonable budget. You can find an overview of high-level tools here: github.com/Alexkuva/awesome-data-catalogs. To make the decision, our data engineers performed a comprehensive analysis of available open-source and proprietary solutions and agreed to go with Atlan.

What we can do with Atlan

  1. Collect and centralize all the company’s metadata in one place and add necessary technical and business information for each entity (e.g., table, column, dashboard).
  2. Get transparency in data pipelines with the help of automated data lineage across multiple sources.
  3. Achieve clarity on data ownership. All core tables contain the name of the responsible team owner in Atlan. People are also assigned as owners and experts.
  4. Develop a business glossary and connect data with appropriate glossary terms to help users understand the context of data assets.
  5. Integrate our data quality tests with Atlan metadata via REST API to automatically set the status of test executions to a particular table.
  6. Run data profiling functionality to collect base statistical information about the data.
  7. Query all tables directly from Atlan, save and share SQL queries, and collaborate on issues via integrated chat.
  8. Comply with security and confidentiality regulations for data user management via access policies, user groups, and roles.
  9. Auto-detect PII using provided column names and auto-glossary recommendation options.

This isn’t everything Atlan can do — just the functionalities that we’re currently using the most at Flo right now. It should be mentioned that we’ve been using Atlan for a little less than a year, and we’re currently in the process of data catalog adoption among users. So far, we haven’t faced any bottlenecks in the Atlan functionalities related to our needs. I’m excited to see how it goes.

READ MORE
8 upvotes·32.1K views