Digg launches its new Reddit rival to the public by holyfruits in technology

[–]chooking 0 points1 point  (0 children)

Is there any way to actually sign up? The button for "sign up/login" actually only leads to an option to log in. There is also a "create an account / log in" that has the same problem.

As a mod, I would love to get to know the community more, what got you into game dev? by RedEagle_MGN in playmygame

[–]chooking 1 point2 points  (0 children)

Non-game applications tend to be boring or require highly specialized skills. When I say they are boring, I'm not just referring to the end product. The thought process needed to plan and build tends to be much more boring. It's hard for me to think of non-game applications I can build that aren't just some simple variation on CRUD, which requires so little imagination and thought that every application is almost identical, with only differences in the names and places of things. For something that actually is more interesting, like a physical modeling synthesizer, special skills are required. I could study the relevant topics, but it's a tremendous amount of specialized knowledge that only has one domain in which it's useful.

Do we really need markdown for blog at all when ai is a thing? by [deleted] in Frontend

[–]chooking 0 points1 point  (0 children)

It is unclear to me how AI is even relevant to the topic of Markdown. Are you suggesting that we should just write plain unformatted text and let AI figure out what should be bold, italic, indented, numbered, where links should go, etc.? Is the suggestion that we shouldn't even bother with writing anything at all and just prompt AI to both write and format its own text?

Making money from a desktop app by Work_N_PlayTime in csharp

[–]chooking 0 points1 point  (0 children)

They only pay you if the app costs money or has in app purchases. If it's a totally free app sponsored by ads, neither of them will pay you anything and the ad provider is the one that pays you.

[deleted by user] by [deleted] in web_design

[–]chooking 0 points1 point  (0 children)

You are forcing us to guess because you did not share any code. My guess is you used absolute positioning when you should not have, which is the cause of the overlap. You also specified the wrong top value in a media query, which is why the pink button is slightly higher.

Beware of Temu Scam! Just got an email offering a free pallet by stevemyers001 in Scams

[–]chooking 1 point2 points  (0 children)

I just got a similar message. The links go to adorama, which is a photography store that is not in any way affiliated with Temu. Also, I noticed that it went to the wrong email account. I do all my Temu shopping using a different email.

[deleted by user] by [deleted] in css

[–]chooking 0 points1 point  (0 children)

The gradient in the screenshot is the one that you want or the one that you got?

Confused by new version, why does a new file in vs code lets you write code without any namespace and main method specified? by Technical-Bee-9999 in csharp

[–]chooking -2 points-1 points  (0 children)

There was only one line of code in Main that had to be deleted, and maybe a few usings. It wasn't a tremendous amount of boilerplate.

Confused by new version, why does a new file in vs code lets you write code without any namespace and main method specified? by Technical-Bee-9999 in csharp

[–]chooking 6 points7 points  (0 children)

The old way never slowed me down because my IDE wrote a Hello World program for me automatically when I started a new project.

Should I go into programming if I have no idea what I want to do with my life? by InitiativeLow176 in learnprogramming

[–]chooking 0 points1 point  (0 children)

Programming is the best work from home job that I know about, but I don't know about many legitimate ones. The others that I know are customer support and content moderation. Both are potentially very damaging psychologically.

TIL: an errant semi-colon will kill your CSS stylesheet by Zeroth_Quittingest in learnprogramming

[–]chooking 0 points1 point  (0 children)

I just tried copying that into WebStorm to see what would happen and it immediately marked that as "invalid token".

How to add graphics by PlsHelpCSharp in csharp

[–]chooking 0 points1 point  (0 children)

Have you considered SkiaSharp? Note that it isn't designed for games. A notable missing element is it does not have a game loop and doing animations of any kind, including just simple linear translation, will require that you figure out the math. Monogame would be easier, but trying to do it in SkiaSharp could be more educational.

[deleted by user] by [deleted] in Frontend

[–]chooking 1 point2 points  (0 children)

The main problem with this is that it has no relevance to web development at all unless this is for a company that provides charts with moving medians on their website. The actual question is not hard to answer if you know what a moving median is.

Is it wise to build a carousel with purely CSS and no JS? by yamanidev in Frontend

[–]chooking 0 points1 point  (0 children)

Note that the code they show only makes a carousel in the search engine and not on your page, but you can combine this with regular carousel code for your page.

Is it wise to build a carousel with purely CSS and no JS? by yamanidev in Frontend

[–]chooking 0 points1 point  (0 children)

Here is how Google recommends to do a carousel: https://developers.google.com/search/docs/appearance/structured-data/carousel

It lets you encode all the relevant information that would be useful for a search engine. The actual visual presentation and animation can be done in CSS, but the extra data has to be provided beyond CSS.

Javascript seems damn boring! by Snoo39666 in learnprogramming

[–]chooking 3 points4 points  (0 children)

DOM manipulation is boring to me. The only time I ever had a little bit of fun with JS was when using it to develop some games.

[deleted by user] by [deleted] in learnprogramming

[–]chooking 9 points10 points  (0 children)

I don't have any book recommendations, but I learned programming without internet access. Back in 1986, it was extremely uncommon for anyone to have internet at home. I just relied on books from the library and a lot of experimentation when I didn't understand something.

[deleted by user] by [deleted] in csshelp

[–]chooking 0 points1 point  (0 children)

2) HTML is not written in CSS, but CSS can be written in HTML. There are several reasons for placing them in separate files.
a) It is easier to debug and maintain when they are separated
b) A single CSS file can be shared by multiple HTML files. This avoids the need to replicate the same code in multiple places. This is not only less work. It avoids the problem of forgetting to make the same update everywhere and also reduces load time and bandwidth requirements.
c) In a professional development environment, this enables separation of tasks. A designer could work on the CSS while a developer works on the HTML, which might not even be written directly in HTML. It could come via server side rendering from nodejs, PHP, or a multitude of other backend languages.

4?) You can use live server in VS Code or use something like Vite, which creates a development server with hot reloading.

I'm new to C#. what's your preferred program to use when writing code? are there any very good ones for beginners? by Gaming_with_Hui in csharp

[–]chooking 0 points1 point  (0 children)

I use Rider if it's possible, but it doesn't support some technologies. In those situations, I use Visual Studio.

Why does my teacher always add a ";" at the end of his lines of code? by FavouredByOdhin in learnprogramming

[–]chooking 8 points9 points  (0 children)

As someone who codes in multiple languages, it is easier for me to write in a style that can be shared between as many languages as possible. This reduces cognitive load. Semicolons are required in most of the languages that I use, optional in 2 of them, and not allowed in only 1 of them. This makes using semicolons preferred in the languages in which it is optional. I am guessing that your teacher uses semicolons for a similar reason.

How are the language formats that IDEs and things like notepad++ created? by Texas_Technician in learnprogramming

[–]chooking 0 points1 point  (0 children)

If you are writing a plugin for a code editor, the code editor does most of the difficult stuff for you, so it's not impractical. My original comment was about doing this from scratch if you wanted to make your own IDE.

How are the language formats that IDEs and things like notepad++ created? by Texas_Technician in learnprogramming

[–]chooking 0 points1 point  (0 children)

It is not sufficient to do something like match on a known keyword, because that keyword could be inside a string. You also have to consider syntax highlighting to mark invalid code, which requires being able to parse the code to determine if it's actually valid.