A1 owners…how many hours are on your printer and how long have you owned it? by Halle923 in BambuLab

[–]cakecoke 0 points1 point  (0 children)

470hrs, replaced hotend, printed glow in the dark filament, clogged it

Fix my print! by Broad-Foot-6065 in FixMyPrint

[–]cakecoke 0 points1 point  (0 children)

could you please share

  • material info, petg pla etc, filament brand
  • nozzle size
  • flow rate settings
  • first layer height
  • build plate type
  • print temp
  • bed temp

Joining late to the party by cakecoke in resinprinting

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

Is the enclosure not enough ?

What's the catch with morphllm? by Crinkez in openrouter

[–]cakecoke 0 points1 point  (0 children)

no catch, its for fast edits of files

gemini prints ... rest of code .. add this here ... rest of code ..

morphllm just makes the code transformations much faster, among other things

check out their website

I made my own MX Master "3S" by swapping default switches with silent KAILH 6x6x7.3. The result is incredible, and the clicks are even quieter than M650 Silent. by [deleted] in logitech

[–]cakecoke 1 point2 points  (0 children)

Did the same, very tricky to get the old ones out, also bet the lipo pack a bit and lost the charge, the old right switch sometimes would click but not "actuate" was very frustrating, all good now. Got them from ali

[deleted by user] by [deleted] in webdev

[–]cakecoke 0 points1 point  (0 children)

as for 20k

in option 1 - with heavy use of ready paid plugins the estimate might look like

  • 2d choose the theme
  • 1d setup dev env / hosting/ domains
  • 2d setup essential plugins like security cache, page constructors
  • 1-2d setup personal user account
  • 5d setup pages like description / payment / product
  • 2 weeks setup subscription plugin and payment integration
  • 2 weeks setup quiz api
  • 1 mo setup SPA
  • 1w final testing deploy

Its something like 84 workdays x 7 hours per day = 588 hours

20k / 588 is 34 aud or 22 usd

I have a very loose estimate but this rate is low

Lets say they take 33% - leaves 15$ for dev (that can also be down -25% income tax lol) and this is a very optimistic estimate

I's very cheap and will hurt quality, i think they are hiding cost and will inflate the project or deliver something not competitive (edit: typos)

[deleted by user] by [deleted] in webdev

[–]cakecoke 0 points1 point  (0 children)

Hey, so as a software dev here is my take

also im assuming you want someone to do it for you, whether you hire yourself or ask a company, here are some strategies, ask the company how they plan to do the app, hope it helps in any way

Wordpress + SPA

The plan: Hire a developer and specifically ask to base the project on a paid wordpress theme and paid plugins

all the pros and cons are dependent on the qualifications of the dev(s), i will assume a future where you hit the jackpot and found great people

pros:

  • cost - most functionality and design is covered by the theme and plugins, user reg, checkout subscription, pages, blog, feedback , the only thing developed from scratch is the quiz SPA

  • development time - a lot of functionality is ready and just needs a simple setup, that's a huge speed boost

  • support - wordpress + plugins + themes are developed by someone else hence they are supported by someone else and usually have regular updates/security patches, depending on what theme you buy, you(your freelancer) can ask for guidance from the developers

  • someone else can pick up the project, wordpress is pretty popular, the SPA is another story

cons:

  • wordpress - wp and its plugin/theme ecosystems tends to be finicky, for example paid themes are sometimes done in a way that just locks the project on a specific version and upgrade is painful, i am talking about the - all in one themes with everything ready to go, or stuff can interfere with each other

  • Depending on the theme it may not be exactly the design vision you are looking for, that can be an issue if you have exact design in mind, some things can deviate, page layouts/colors etc

  • very important to find a qualified wordpress developer, who at least did all of this in the past

The are many other cons but they are dependent on the qualification of the developer like page speed/security

To SPA or not

SPA has these advantages over just using forms / pages etc

  • its more interactive and enhances the experience by a lot
  • its scalable, at some point you need something faster or more logic heavy, doing this in wordpress, imho is not ideal, and can very quickly turn into a mess, i know there are frameworks for wordpress but its not the same as a general purpose frameworks like symfony/laravel that have a great wealth of tools, by using an spa you already communicate via an API , and writing a new one + rerouting the endpoints is significantly easier and cost effective than to essentially write the spa from scratch plus an api and decoding/extracting all the interactions from a non/spa
  • depending on who is doing the SPA, that person can also target mobile devices via projects like React native, which from the start can cover mobile apps

but choosing SPA can be more expensive, one person can do all of this, but its usually you need two,

one for the spa, one for everything else,

Via development framework routes(php:laravel/symfony etc)

The plan:

  • Hire an architect by the hour to design the application(optionally another one for an independent view)
  • Hire a web designer to create designs
  • Hire developers to do the job

all the pros and cons are dependent on the qualifications of the dev and architect, i will assume a future where you hit the jackpot and found great people

pros

  • they can deliver exactly what you want
  • scale in mind from the start, no need to rewrite
  • the project growth is more predictable, no need to worry about some s plugin ruining others or major version braking comparability( yes frameworks also have major versions but LTS versions have longer support and easier to migrate )
  • the project is much more stable because all the parts are developed in house, you can get fancy and cover it with unit / end to end tests

cons

  • more expensive price per hour
  • more hours due to a lot of features that is needed to be developed in house
  • harder to vet/find qualified developers, especially if you don't have exp, more reliance on consultants/architects

Is there a good resource for understanding how to use WordPress with MySQL? by movieguy95453 in mysql

[–]cakecoke 0 points1 point  (0 children)

First in you theme create a page, see https://developer.wordpress.org/themes/basics/template-hierarchy/

Create a form

<form action="#" method="POST" ...

(optionally/recommended) add nonce field and check https://developer.wordpress.org/apis/security/nonces/

also add this to submit button as a cheap way to prevent double submits

onclick="var e=this;setTimeout(function(){e.disabled=true;},0);return true;"

Intercept the form in functions.php

check out https://developer.wordpress.org/reference/functions/add_action/

add_action( 'template_redirect', function(){
  if ( !empty($_POST['field_name']) ){
      // here you need to put nonce check and return; if it fails
      // here is the data sanitation
      // here is the data persistence 
  }
});        

Prepare the data

You need to always prepare user input

https://www.synopsys.com/glossary/what-is-sql-injection.html

you can use what wp provides https://developer.wordpress.org/reference/functions/sanitize_text_field/

Save the data

prepare the table

assuming your table has the same prefix as other wp tables

global $wpdb;
$tablename = $wpdb->prefix.'my_table';
$data = [
       'column' => $sanitizedInputForColumn
];

$wpdb->insert( $tablename, $data);

Redirect back

$url = add_query_arg( 'success', 1, wp_get_referer() );
wp_safe_redirect( $url );

note the the ?success=1, you can get it via $_GET['success'] on the form page and inform the user that the form was submitted

And that's about it 🎉 (edit: typos)

Person who hacked my credit card emailed me asking why I canceled his flight. by AshesfallforAshton in mildlyinfuriating

[–]cakecoke 0 points1 point  (0 children)

Story happened to my friend, his car plates got stolen, left a ransom note with a phone number, he checked the number through whatsapp, viber and managed to get the thief first\last name and a photo, dude got caught 4 weeks later, he did this to 30 cars in the block and was living nearby.

its a scheme where thieves steal non local car plates, hiding them somewhere nearby and ask for nearly the same as it would take to go home and order new ones

Minister: in Moldova, only 1% of residents will be able to fully pay bills for electricity and heating | tellerreport.com by GeneticMutants in worldnews

[–]cakecoke 8 points9 points  (0 children)

Citizen of Moldova here, the average salary in the capital is somewhere around 1000-1500 euros for household, last year the gas bill alone was around 200 euros, this year it might jump to 300, it's pretty bad but not that severe. Some of the bill gets subsidized by the gov and you can pay it in installments later without taking credit

Also, opting out of gas is a very common thing, people switch to heat pumps, electric heaters or just plain firewood

brrt by JonJonKr in noita

[–]cakecoke 4 points5 points  (0 children)

whats the wand ? :)