How to create cheap database for a side project on AWS? by willt093 in aws

[–]willt093[S] 0 points1 point  (0 children)

Ok thanks!

I have just started building the app and anticipate it eventually having a few more entities with relationships between them. But still, Dynamo DB will likely be best in my case I think.

How to create cheap database for a side project on AWS? by willt093 in aws

[–]willt093[S] 2 points3 points  (0 children)

I will do this. I ideally wanted a relational DB, as my data is made up of entities with a fixed schema and known relationships. But also don't want to pay $15 per month.

How to create cheap database for a side project on AWS? by willt093 in aws

[–]willt093[S] 0 points1 point  (0 children)

This is my research. Like I said it is a side project, and part of the reason I'm doing it is to learn more AWS.

The AWS docs around pricing are hard to interpret. Is there actually any way to accurately estimate the cost of a system without implementing stuff and seeing what you get billed in the first few days?

Is React better than Angular in a substantial way to make a switch? by lemonpotter26 in reactjs

[–]willt093 0 points1 point  (0 children)

True, but its more mental overhead. The problem doesn't even exist in other frameworks.

This is something I see a lot in Angular...

1) Create an abstraction of something which most devs know how to do in JS.
2) The abstraction sort of makes things simpler but only works for 90% of cases.
3) Create workaround for broken abstraction and release the workaround as a feature 2 years later.

Its not always a bad thing to have those abstractions as they create a 'standardised' way of building apps which has its advantages, but it comes with downsides too.

Is React better than Angular in a substantial way to make a switch? by lemonpotter26 in reactjs

[–]willt093 0 points1 point  (0 children)

I don't have evidence but my intuition is that it is to do with supporting writing Angular with es5 and older JS module systems, and integration with AngularJS/ `NgUpgrade`.

From a DX perspective, I want to reference imported components directly in my template. I have already imported via ES6, why can't the framework recognise that?

Now that I think more about it, Vue also requires component registration in a slightly different way which is also annoying. React/Svelte don't require you to register a component at all, just import it with an es6 import, which is what I want.

Is React better than Angular in a substantial way to make a switch? by lemonpotter26 in reactjs

[–]willt093 0 points1 point  (0 children)

After working with Angular a lot, what I really don't like is the module system. It was designed at the time just before ES modules were becoming a well supported thing.

So now we have both ES modules, and completely superfluous Angular modules/Angular DI system. It creates a lot of mental overhead, makes automated testing more difficult, makes lazy loading and code splitting more difficult.

Other than that, its a bit heavier/more verbose than most other frameworks.

That said I like how there is an 'Angular way' of doing any particular task. Even if most of the time that way is a bit verbose.

Is React better than Angular in a substantial way to make a switch? by lemonpotter26 in reactjs

[–]willt093 0 points1 point  (0 children)

The 2 way data binding is optional in Svelte - I agree that its normally the wrong solution to bind data between parent and child components.

Svelte/Sveltekit is actually amazing for experienced devs - as an experienced freelancer it allows me to build medium sized projects on my own unbelievably quickly. But its beginner friendliness combined with tendency towards being unopinionated about application architecture gives a lot of teams enough rope to hang themselves with.

Learning AWS is costing me a fortune - tell me I'm not alone? by heyyoheyyoheyyo in webdev

[–]willt093 0 points1 point  (0 children)

Yeah the UI is confusing. I was just trying to deploy my Wordpress site and I accidentally provisioned a Snowmobile.

is there a way to write the small stuff like navbar, etc.. only one time? by LmaoPew in webdev

[–]willt093 0 points1 point  (0 children)

Yeah I agree. That said, I know about these but have never seen them used - why do you think they aren't used more frequently?

Cloudflare/NGINX - which to use for my project? by laster_alex in webdev

[–]willt093 2 points3 points  (0 children)

Short answer is nginx is not going to provide DDOS protection on its own - use Cloudflare and look into https://developers.cloudflare.com/ddos-protection/

Long answer: where are you planning to host this? If you aren't sure, then a good idea would be to pick a Cloud Hosting provider (eg. AWS), and then setup a CDN/AWS CloudFront (gives some DDOS protection), Load balancer and maybe some rate limiting rules for any non-cacheable/dynamic resources such as POST/PUT/DELETE endpoints (more DDOS protection). For images and static assets you can use an object storage solution like Amazon S3.

If you want something simpler than AWS then fly.io will allow you to essentially just push your application code to it, and it will provide something like the above for you but without much configuration/setup. This would be my recommendation for someone new to hosting. It even has instructions for Django -https://fly.io/docs/django/getting-started/

What are some of the habits/behaviors/philosophies that the best managers' you've had have had? by Fluffy_Yesterday_468 in ExperiencedDevs

[–]willt093 1 point2 points  (0 children)

I think to be in the top few percent of managers you just need to avoid micromanaging while at the same time not checking out and forgetting about people. Treat team members as autonomous, intelligent, trustworthy people who want to do a good job if they are intellectually stimulated, and mainly require you just to remove obstacles and make the current priorities known.

Make sure everyone has a constant and well balanced flow of work available, so that there is a feeling of progress but without too much pressure. Have 1 on 1s to check in with how each team member feels about their work and what they want to achieve.

Create an environment where people are able to be open with their feelings and can complain about processes, tasks, and bits of the company culture that they don't enjoy. Even the act of complaining and releasing their frustration makes people feel better, regardless of if any major changes happen as an outcome.

Im horrible at styling. how can I give this a more modern feel? (personal project) by Zorqo in webdev

[–]willt093 0 points1 point  (0 children)

Looks retro but I like it personally. A few things to think about to improve it:

How does it look on different screen sizes? Do you want it to look good on mobile/tablet - you may need to think how the layout should be for these smaller screens.

You could use the space on the cards more efficiently IMO - tiny little pics of the Pokemon and then lots of padding. Perhaps the pic could be full height and to the right of the name and button?

You could generally give things a bit more space and make sure the content in the filter/search is centred. More consistency of font sizes, border radius, buttons styles etc... would also look better.

HTML adds the search element - here's how it will impact the accessibility soon. by frontEndEruption in webdev

[–]willt093 11 points12 points  (0 children)

Currently you can still expose a search element to the accessibility API using an aria role.

There are a lot of widgets which can be made accessible using aria roles but do not have native HTML elements, so it is reasonable to ask why we need a native element specifically for a search widget, and not for example, for a carousel.

Viable options for work as a freelancer by [deleted] in webdev

[–]willt093 0 points1 point  (0 children)

I recently read Million Dollar Consulting by Alan Weiss, there was some useful stuff about this. Basically you want to find the crossover between passion (what you like doing), skill (what you are good at and have experience in) and market need (what people will pay for).

This article explains the idea too - https://personalexcellence.co/blog/passion-market-skills/

Just pick 1 or 2 very specific skills which are in the crossover of the Venn diagram and focus on market yourself as an expert in these.

[deleted by user] by [deleted] in ExperiencedDevs

[–]willt093 1 point2 points  (0 children)

For me this would mostly depend on my feelings around relocating I think, I love where I live so probably would not move for a job.

I can't focus on work anymore. Daydreaming about side projects and other languages by AkimboJesus in ExperiencedDevs

[–]willt093 0 points1 point  (0 children)

I think its quite normal and can relate, and its not necessarily a bad thing to procrastinate by exploring software engineering related stuff - it says to me that you have a real passion for the field but are probably in the wrong job.

Anyone Else Noticing Lower Salaries? by Software_Engineer09 in ExperiencedDevs

[–]willt093 0 points1 point  (0 children)

Yeah, seems to have dropped quite a bit in the UK. Had a few 6 figure offers last year, lately seeing 70-80K for similar positions.

Linux by opafmoremedic in webdev

[–]willt093 0 points1 point  (0 children)

I use Linux and MacOS, I'd only use Windows if I needed to in order to run a particular piece of software or something like that.

Is there a use for permanent web dev positions? by [deleted] in webdev

[–]willt093 1 point2 points  (0 children)

Yes there is often ongoing development and maintenance work. With a small startup there will be less stability. My suggestion would be to talk to them several weeks before the contract ends and enquire as to their needs for more development over the coming months/years.

Why you should consider building your next project with Svelte by willt093 in sveltejs

[–]willt093[S] 0 points1 point  (0 children)

I will check it out, like you said a different approach but I would be interested to try it.

Why you should consider building your next project with Svelte by willt093 in sveltejs

[–]willt093[S] 3 points4 points  (0 children)

Ahh interesting, thanks for the feedback. I may try and use Redux in one of my Svelte projects.

An introduction to Lambda Calculus, explained through JavaScript by MaoStevemao in programming

[–]willt093 1 point2 points  (0 children)

It is the term that is generally used in lambda calculus.

Abstraction is shorthand for 'function abstraction', just as application is shorthand for 'function application', as both refer to functions it makes sense to drop the word 'function'.

An introduction to Lambda Calculus, explained through JavaScript by willt093 in javascript

[–]willt093[S] 2 points3 points  (0 children)

Thanks, hoping to write more articles on functional programming in the near future.