teleren/devto huggingface dataset:
Being a developer in 1998 was so cool and fun
Tags: oldskool, history
Published: 2022-11-01 13:02:49

I started writing code in 1986 as a kid. My first program was in BASIC on a Commodore 64 with a tape drive: 10 BEEP 20 GOTO 10. Made my father proud. Annoyed my mother with the constant beeping.

In 1998, I was writing code in Delphi. It was great. The Delphi language was cool, better than VB6 at the time, so many built-in components. I was developing Windows applications internally for a company that did vibration monitoring on large machines.

The systems back then were simpler. The UI was less sophisticated, so we didn't use any third party frameworks. We didn't use a lot of abstraction / design patterns, we just made it work and changed it later if it needed changing, because it was easy to change the code because it was so simple (but harder to roll out because we released code on floppy disks). 

Fixing bugs was so much quicker, because there were not as many layers - there was the UI and the code that handled the UI. That's it. 

Now in 2022 I am writing software doing ETL for a company that does grocery analytics. There is a UI written in Angluar, then a C# API with a controller, which sends a mediator message, which is handled by a handler, which calls a service (potentially in another API), which calls it's dependencies to get things done, and then finally calls a repository to save things. Sometimes we have different APIs for each part, sending messages via RabbitMQ and NServiceBus. So many layers, so hard to trace bugs. 

Now we write code with less coupling and it is more able to handle business logic changes easily without breaking the rest of the code because it is abstracted, and we have unit tests to test changes have not broken existing code. I see why these things are good, but they have a cost in terms of productivity and developer frustration.

In 1998 I had to know Delphi and it's database to be good at my job. In 2022, I have to know C#, SQL Server, Azure, Docker, Html/CSS, JSON, Http, Anguar/React/Vue. I also have to know how to use many third party C# and UI framework components and how to do units tests in front end and back end. 

Honestly, I felt more productive, and less frustrated as a developer, back in 1998, when everything was simpler.

Perhaps there is value in making things as simple as we can, and only making them more complex when they need to be, instead of doing it because it is considered industry practice to do so.

Topic idea came from reading this post on Hacker News...

What was being a software developer like about 30 years ago?
https://news.ycombinator.com/item?id=33403174
Using MindsDB to Predict Microsoft Stock Prices
Published: 2022-10-31 21:01:30

Ever wanted to be the Oracle like the Delphic one and use it to predict stocks in your portfolio? Can't take to the past but with MindsDB you could take a shot at predicting the future via this simple tutorial. 

What is [MindsDB](https://mindsdb.com/)?

MindsDB is a SQL-based tool that can be used to create and train time-series machine learning models directly from your database. With MindsDB, data teams and data analysts can use their data to build, train, optimize, and deploy machine learning models that provide meaningful insights for real-world problems.


![Delphi Oracle](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/z9ge7jx8g5n4z1kh0c0w.png)
[img source](https://brewminate.com/wp-content/uploads/2018/04/041118-37-Greek-Greece-Oracle-Delphi-History.jpg) 
**Setup**
Start off with you using the MindsDB Cloud Editor (create your free MindsDB Cloud account [here](https://cloud.mindsdb.com/register)) to create and train your time series prediction model.

**Get your Dataset**
Download [data set](https://www.kaggle.com/datasets/berkayalan/microsoft-stock-data-between-2015-and-2022?resource=download) from Kaggle for our demo to work with Microsoft stock prices : 

![Kaggle Data set](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/sdq15e9mb2xs2vflplsq.png)

**Upload your file into MindsDB**
You can either load from a database or a file. We'll go with file in this demo. 
![MindsDB Data Load](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/yfh55i5pqnv30fgj8xrr.png)

**Check your data**
Sanity check your data loads up fine with a simple select query. You can use limit to have only a few records load.
 

![Select data](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/6xn3rskvbgnpolubxspq.png)



**Create a Predictor Model**
Tap in the following syntax to get MindsDB to kick off the predictor model. Depending on the volume of data, this could take some time and you might see a "training" error if you query earlier than it is completed. 
![Predictor Kicked off](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/tuqdszbc1bysnhxkl1xu.png)

**Data Insights**
You can also quickly glean at the data insights generated visually to give you a quick look into the trends for the data sets you have pulled in. 
![Data Insights](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/bkv164mft1aql58c755c.png)


**Run a Query for an extrapolated Dates to see the magic**
Since our data set is till July 2022, let's try a more recent date like 30th October 2022

![Final results](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ps2sdnyjiehqf5c8vqgw.png)

With that last step, we have successfully created and trained Using historical data, we can easily try to predict the future. Hopefully my stock broker ain't reading this. 

MindsDB makes machine learning simple, intuitive, and extremely effective! Do you have something interesting you’d like to forecast? Head to MindsDB and start training your model today!
Modern react + recoil + tailwind based Cocktail Db Application [Showcase]
Tags: javascript, react, recoil, beginners
Published: 2022-11-01 12:58:39

{% embed  https://youtu.be/EQv7vtb1wCI %}
# Modern react based Coctail Db Application

Hello everyone i have built this application, Checkout and do let me know How is it.

[Features (YT)](https://youtu.be/EQv7vtb1wCI)
[Source code](https://github.com/kritik-sah/coctaildb)
[Features (🔴Live)](https://coctaildb.vercel.app/)
## Installation

Clone this Repo

```bash
  npm install
  
  npm start
```
    
## Documentation

[Video Documentaion (YT)](https://youtu.be/EQv7vtb1wCI)


## Authors

- [@Kritik.sah](https://kritik.cryptolancer.in)


## 🚀 About Me
I'm a Kritik Sah, I will become a full stack developer on web2 , web3 and build awesome apps that will sove humans problems.


## Acknowledgements & respect

 - [TheCocktailDB](https://www.thecocktaildb.com/)
 - [React](https://beta.reactjs.org/)
 - [React Router](https://reactrouter.com/en/main)
 - [Recoil](https://recoiljs.org/docs/introduction/installation)
 - [tailwind Css](https://tailwindcss.com/docs/installation)
 - [React Icon](https://react-icons.github.io/react-icons)
 - Also checkout there interactive document...
Go job offer
Tags: go
Published: 2022-11-01 12:53:27

Hello My company (app : picnic.zone) searching for Go developer with up to 3 years of Golang  Experience.
if you interested you're welcome to contact me giorgidalakishvili@picnic.zone 

Picnic Go Developer
Picnic is a rapidly growing, venture backed startup based in Silicon Valley. We have built a mobile social application that serves as the gateway to hobbies, passion points, and interests – the “operating system for interests”. We have grown to over a million users within 2 months (faster than early Snapchat, YouTube, or Music.ly [Tiktok]), have better usage than leading social networks, and present an opportunity to positively impact socialization for a generation and beyond, shaping the internet and giving a taste of community to gen z. We’ve closed a fundraising round and are looking for talented, hardcore software engineers to lead our product scaling and growth.
We're looking for all levels of Go developers with full time availability to help us build a new backend with room to scale to millions more users. Our current legacy backend runs on GCP and serverless Firebase. However, our rebuild will require experience with Golang and Kubernetes.
You'll be part of a small, distributed team of developers (mobile + backend) and will be assisted by the rest of the team and guided by our head of engineering for any support you'll need along the way. We reward productivity and welcome any feedback (technical and otherwise) to improve the working environment for everybody on the team.
We're looking for full-time availability starting as soon as possible. We pay highly competitively and are happy to accommodate any payment form preferences. We also incentivize with both cash and equity arrangements for our remote engineers.
Qualifications/Responsibilities Include:
●	Ideally a few years of experience of experience with back-end engineering for a senior position
	○	Experience with app development / support
	○	Experience with cloud platforms and analytical tools
	○	Rebuilding and maintaining app to sustain 10-100 million users
Required Technical Skills include:
•	Golang
•	Dockers
•	Knowledge of CI/CD
Recommended Technical Skills include:
•	Backend: Firebase, MongoDB, PostgresDB, Redis
•	Interactions: gRPC, GraphQL, REST, Kaffka
•	Infrastructure:  Docker, k8s, Google Cloud Platform 
Business requirements:
●	Full time work hours
●	Looking for a long-term working relationship
●	No agencies/dev shops, only individuals
Timetroopers.io, the new Doodle
Tags: showdev, webdev, devjournal, startup
Published: 2022-11-01 12:47:49

I released a side project called [Timetroopers.io](https://www.timetroopers.io/), a **Doodle like** that makes it easy to find common dates with other people.

Being a big fan of the **Lean** philosophy, I delivered an MVP version that solves the problem: finding dates in common.


![App screenshot showing common dates](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/rgdprtyse9kh6dkixzpe.png)

It's a minimal version: French only, no editing, no deleting, not yet responsive, etc... 

What's next?

- Translate the app into **English**
- Make it **responsive** for mobile

Follow me to see the evolution of the project!
Learn about The Best Full-Stack Development Companies
Published: 2022-11-01 12:29:03

Are you the one who is looking to hire a full-stack developer and have no clue how to do that? We have a list of companies allowing you to outsource highly experienced and skilled machine learning developers based on your project requirements.

Let’s discover all **Full stack development companies** one by one below:

 
**1.Peerbits :**
 
Peerbits is a five-year-old, international web development company. They devote themselves fully to the project's execution. The programmers are well-known for their work in software, mobile, and web development, and they provide their clients with inventive solutions. The developers are using cutting-edge technologies to get results while being creative and straightforward.


**2.Horizoncore Infosoft Pvt. Ltd.:**

An international development firm that offers business solutions and IT services is called Horizoncore Infosoft Pvt. Ltd. They strive to address any issues raised by clients wherever in the world. They offer a range of services, including big data solutions, cloud solutions, large-scale corporate transformation, and online and mobile application development.
 
 
**3.Bacancy Technology:**

Bacancy Technology is considered a top-listed [Full stack development company](https://www.bacancytechnology.com/full-stack-development) based in Ahmedabad, India.  We have a team of 80+ Full stack developers with an average experience of 5 to 6+ years in providing Full stack web solutions. You can hire full-stack developers from us who all have hands-on experience using the latest tools, programming languages, and technologies to build a best-in-class quality web application for your business.

**4.Pixel Crayons :**

It offers its services globally thanks to cutting-edge app and software development technology. They are known for their SLA-driven strategy and use the agile development process. They excel at completing projects on time. Their offerings include mobile app development, IoT development, software development services, and e-commerce solutions.

## Conclusion:

Thus we can say in our observations these are the top _Full-stack development company_ to hire developers for your business needs. Now it is time for you to find the most suitable company for you based on your project requirements.

Hope you liked it!
Four rules for successful blockchain testing strategy
Tags: blockchain, testing, rule
Published: 2022-11-01 12:15:22

With new technology comes new problems and challenges. [Learn how to test your blockchain applications properly](https://aqua-cloud.io/rules-for-building-a-successful-blockchain-testing-strategy/?utm_source=devto&utm_medium=article&utm_content=post&utm_campaign=share
) to ensure they're as secure and seamless to use as possible.

But building a successful blockchain testing strategy is not rocket science. In fact, it's pretty simple. Here are the rules you should follow:

1. Draft your blockchain testing strategy early.

It is important to have a game plan for QA when building on blockchain. Blockchain testing should be even more important than it usually is. Even small-scale efforts, without a game plan, are inefficient and chaotic. You will not save time by rushing this stage of development at all.

2. Pick your foundation wisely.

As you test blockchain, you realise there are user stories that require extra work before they can be tested. Luckily, blockchain's preference for wide availability extends to development solutions as well. For example, Hyperledger Fabric, Populus, and Ethereum Tester alternatively. 

3. Choose the right test management tool.

The defects that you find should be stored somewhere. You need a separate tool with some street credibility and flexibility, and it should not be a sealed box that relies on the developer for support. You need to be able to build custom integrations with third-party software yourself.

4. Incorporate specialised tests.

Blockchain testing is complex. Regardless of the platform you chose to base your blockchain app on, you have to make sure that nodes receive data correctly and in chronological order. Nodes should not be able to lose connection with the network, which means the blockchain integrity cannot be affected. Additionally, the blockchain access permissions should be on point so malicious actors will not ruin your solution.

_Thank you for your kind attention!_

---

If you want to follow my testing learning journey, follow the "Software Testing Talks" groups I created on Reddit and Linkedin. I share the most interesting QA discussions I find on the web and insights I get during testing work and studies there.

I am also happy to hear your feedback, suggestions, or ideas about what you would like me to write more about. Don't hesitate to text me if you want to say hi or discuss something.
App shows debug even when debug mode disabled in .env and config/app.php
Tags: php, laravel, azure, app
Published: 2022-11-01 12:11:49

Laravel  9 shows debug even when debug mode disabled in .env and config/app.php
Have upgradet to Laravel 9 and after deploy to 2 Azure app service, I can see that  one of them shows debug.
It is the same code that is pushed to these to Azure app and  therefore config/app.php is the same.
And "APP_DEBUG=false" is set to false in .env
Why deboug is shows in one of them?
Thanks in advance
What is CORS and How to handle it?
Tags: javascript, webdev, programming, opensource
Published: 2022-11-01 12:09:51

Do you know what is CORS and how to fix CORS errors? 

CORS restricts any clients(domains) get access to your server!

All modern browsers are honest enough and handle such a situation themselves. Especially if we’ve integrated js in our code, the browser will never allow us to access the cross-origin requests unless we allow it!

When working on the application, whose backend and frontend rely on different origins, we will be forced to configure CORS headers.

Appropriately setting CORS will save you from security vulnerabilities at an earlier stage. 

Also, enabling appropriate CORS allows us to set and get custom request/response headers.

Dangerous-looking CORS errors are actually dangerous for unauthorized clients and saviors for us!

For detailed implementation, check out [original post.](https://blog.canopas.com/how-to-handle-cors-errors-with-examples-aaaada378d0a)
How To Test Console Log
Tags: javascript, testing, tutorial, webdev
Published: 2022-11-01 12:00:00

We all love `console.log` to debug our applications. If something is not working as expected, we throw in a console log to see what's going on. Besides for debugging purposes, we can use this information also for our tests. In testing, we usually call a function with a certain input and expect a certain output. Sometimes it can be useful to also test the intermediate steps that happened between the start and the end of the function, for example to check if the warnings and errors were logged correctly.

## Test Console Log
In Jest, we have two ways to verify that `console.log` was called as we expect it to be. First, we can mock the function with `jest.fn()`, which temporarily replaces the original console log function with a dummy function. However, I personally prefer the second option of using `jest.spyOn()` to intercept function calls to the console log and track them. This does not change the original behavior of console log, that means we still see the messages printed to the console.

```ts
// function to be tested and imported from somewhere else  
function someComplexFunction() {
  console.log("some important message");
  console.log("some other message");

  return 42;
}

// test case for someComplexFunction() 
describe('Test someComplexFunction', () => {
  test('Console log should have been called', () => {
    const logSpy = jest.spyOn(global.console, 'log');

    someComplexFunction();

    expect(logSpy).toHaveBeenCalled();
    expect(logSpy).toHaveBeenCalledTimes(2);
    expect(logSpy).toHaveBeenCalledWith('some important message');
    expect(logSpy.mock.calls).toContainEqual(['some other message']);

    logSpy.mockRestore();
  });
});
```

With the mock object returned by `jest.spyOn()` we can perform various checks. For example, we can check whether console log was called, how many times it was called, and with what message it was called. Also, we can use the `logSpy.mock.calls` object to check each individual call to console log and in what order it was made. At the end of the test, we need to restore the original console log function with `logSpy.mockRestore()`. This will ensure that there are no side effects in other tests.

Finally, when we run the tests with `jest`, we see that all tests passed. 

![Jest Test Summary](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/3et3ybtezvkbp82oi0qz.jpg)

Additionally, we see the output of the console log statements of our `someComplexFunction` test. If we want to hide these messages from the test summary, we can completely replace the console log function with an empty mock b adding `.mockImplementation(() => { })`. Now, no messages will appear on the console.

```ts
// replace console log with an empty mock function
const logSpy = jest.spyOn(global.console, 'log')
    .mockImplementation(() => { });

// do some tests...    
// no message will be printed to the console

// restore original console log
logSpy.mockRestore();
```
First Project Java script
Tags: javascript, css
Published: 2022-11-01 10:54:54


---
Add todo function Delete todo function 

[](url)https://mohammadazzuz.github.io/Javascript-ToDo-List/


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/5mg0kwkv5ymk8jnu7h43.png)
Kraken clone script: Create a professional crypto exchange
Tags: web3, solidjs, javascript, tutorial
Published: 2022-11-01 10:54:39

The demand for cryptocurrencies is increasing day by day due to the seamless transaction speed and security, hence crypto businesses are skyrocketing these days.

Therefore in this growing market of cryptocurrencies, one of the important places where transactions take place is in a crypto exchange. In exchange, there are millions of transactions every minute, and the number is growing tremendously.

One such popular exchange is Kraken, Kraken is a user-friendly exchange, it has a significant user base due to its amazing user experience. It also offers speed and security.

In this growing market, starting a crypto exchange is a brilliant idea because you can build your brand and trust amongst the users. But starting your own crypto exchange is not simple because it needs a lot of time and investment.

But if you can build an exchange in less time with low investment, wouldn’t it be amazing to grow your business? So that is why you need a Kraken clone script that helps you to build your own crypto exchange with less effort and time.

Why clone script is the best solution?

Clone script can be used to create a crypto exchange at an optimal cost and it is easy to use, it is pre-tested and free from bugs, and offers a lot of customizations.

Clone script is a software that is pre-developed and it has no errors and can be readily used to create the exchange. 

It is the best way to develop your own exchange it reduces the development cost and generates better returns on your capital.

Some of the best features of the Kraken clone script are:

Instant Deployment
Low Cost
High Security
Quality Tested
Bug Free

Considering the factors above, it is easy to start your own crypto exchange by using the Kraken clone script. So why wait? Build your brand in the crypto business by starting a crypto exchange now.

If you need more information about the clone script, refer to this article >>> [Kraken clone script](url)

Contact us for more information: 

Whatsapp - 9500575285
Skype - live:hello_20214
Git Commands Every Developer Should Know
Tags: git, github, programming
Published: 2022-11-01 10:54:07

Hello cousins and cousins, how are you?

Come check out these quick git command tips.

I believe you should use some of these commands every day.

1. git init
This is the command used to initialize a project as a git repository.
2. git remote add origin
This is the command used to add or connect to a remote repository.
3. git remote
This is the command used to view connected remote repositories.
4. git status
This command is used to view the status of files in your local repository.
5. git add
This command is used to prepare modified or untracked files.
6. git reset
This command is used to remove files.
7. git commit
This command is used to commit tested files and provide a confirmation message after testing.
8. git push -u origin
This command is used to push committed files to the GitHub repository.
9. git fetch
This command is used to fetch the most up-to-date version from your local repository. It checks for new files or new branches.
10. git pull
This command is used to take the information you just fetched and pull it into your local repository. It updates your local repository to the most up-to-date version.
11. git branch
This command is used to view the branch you are currently on.
12. git merge
This command is used to merge two branches. To do this, enter the branch you want to inherit the changes from.

Which of these commands do you use the most in your daily life, and if you felt high from any command, leave it in the comments.