Our server costs ~$56 per month to run. Please consider donating or becoming a Patron to help keep the site running. Help us gain new members by following us on Twitter and liking our page on Facebook!
Current time: November 5, 2026, 12:06 pm
Thread Rating:
|
Help me with my new website!
|
(February 11, 2018 at 7:18 am)LastPoet Wrote: I explained myself poorly. No way I would be using C or C++ to do webdesign. What I meant was that there could be a tool that in webdesign gave you the range of using templated stuff, but allowed a lot of customization to advanced webdesign. It is not my thing as you might figure, but in native programming both C/C++ are very versatile. Hmmm. It sounds like ASP.NET to me-- I have access to pretty much the entire .NET library-- all the math functions, file functions, string handling, and so on, and all of this can be utilized in pumping out web pages. If you have access to the server's OS (i.e. if you are running the server, and especially if you have a GUI remote to it), there really are no limits to what you can do. I'm running an Azure Virtual Machine (i.e. an online device as opposed to a particular box with "Benjamin" written on a piece of white tape on the front), and I have complete access to the OS. I could definitely write code in C, have .NET helper apps running in the background monitoring files and folders and doing neat stuff. For example, if I were writing code to process large video files that people had uploaded, I might very well decide it was worth going to C++ for that lower-level access to the RAM.
And, not to continue to harp on it, but this is an example of automated unit testing. The main section of my editor has my test class code (ProductTest), which grabs a test Product from my database, and then runs tests on it. Each method of ProductTest is a single test. The bottom pane is where the test results appear once I click the little play button at the top next to the 'Diva' label (the e-commerce site is for a local quilt shop named The Sewing Diva).
As I go, I'm going to run a myriad of these automated tests on my code. This helps eliminate bugs/errors because it forces me to run a test for everything I want to do. It's a bit more tedious than just writing code and hoping it works right off, but it ensures my code is rock solid from the ground up. And, really, in the long run it does save time because errors are caught early, and are up front rather than buried in code.
I'm not sure the words "GUI design" apply.
I was interested in seeing floating point in assembly code, though. When I did assembly way back in the day, you had to do all the encoding for fractional values on your own.
I mean, I've added some fonts, colors and background colors.
As far as I know, most of the modern compilers, using the assemblers such as GAS or MASM, convert the floating-point expressions to hexadecimal representation of the IEEE 754 representations of those numbers. Assemblers such as TASM or FASM will do it for you. Other assemblers, such as NASM or MASM, also will, but not in all instructions (certainly not in "mov", and my algorithm relies on moving floating-point numbers to general purpose registers or to memory being trivial). Or did you have to write assembly for processors without floating-point instructions? RE: Help me with my new website!
May 6, 2018 at 4:51 am
(This post was last modified: May 6, 2018 at 5:00 am by bennyboy.)
There are literally none of the things you mentioned. I cannot see any fonts, colors or background colors.
Are you missing a .css file in your online site that you have on your dev environment maybe? (May 5, 2018 at 12:09 am)FlatAssembler Wrote: I mean, I've added some fonts, colors and background colors. I can tell you the exact chip I learned on: 68B09E. It was 8 bits, with no built-in floating-point functionality at all. You had to learn about the floating-point format and do it all yourself. ![]() You could probably buy one of these for about $5 now and hook it up to an Arduino or something on a breadboard. RE: Help me with my new website!
May 6, 2018 at 10:26 am
(This post was last modified: May 6, 2018 at 10:27 am by FlatAssembler.)
Quote:I cannot see any fonts, colors or background colors.OK, so, you are saying my syntax highlighting algorithm, as well as the CSS rules embedded in the HTML file, don't work in the browser you are using? Which one? Because they work in Internet Explorer 6. To be honest, I haven't bothered to install Chrome and test them in it. Quote:You had to learn about the floating-point format and do it all yourself.Yeah, that's terrible. A few years ago, I tried to make a decimal number to IEEE 754 binary representation converter in i386-compatible assembly (which is a 32-bit CISC processor, but without floating-point instructions). The program basically worked by allocating an array of 256 bytes (each representing one bit in the binary number that can be represented with the 32-bit IEEE 754) every time it had to add or subtract two numbers (and multiplying and division was done by repeated addition or subtraction). That's probably the simplest way (and not efficient at all, it took so much time for it to convert a six-digit decimal number that I lost patience waiting) to do it in assembly, and yet it was 780 lines of code. 780 lines just to load a decimal number into the memory! I often wonder how it was possible to do anything back in those days. RE: Help me with my new website!
May 6, 2018 at 7:29 pm
(This post was last modified: May 6, 2018 at 7:33 pm by bennyboy.)
Oh, okay. The compiled assembly code is nicely color-formatted. For sure, I'm not seeing any other formatting than that though. As for multiplication, I believe it was all done in binary with bitwise << and >> operators or the assembly equivalent. That was a very long time ago, though.
At that time, I was just a kid, so I was mainly working on sprite graphics and simple games, and didn't have to do much math. I never actually DID the floating-point stuff-- at that time, the OS rom was actually copied to the RAM and you could hack it, so I just cheated and used the OS' built-in math functionality. |
|
« Next Oldest | Next Newest »
|
| Possibly Related Threads… | |||||
| Thread | Author | Replies | Views | Last Post | |
| Please give me link voting english website | A-g-n-o-s-t-i-c | 4 | 2912 |
December 24, 2013 at 2:29 am Last Post: A-g-n-o-s-t-i-c |
|
| Website shows bad automated translations: a hoot! | Anymouse | 3 | 3013 |
June 30, 2011 at 9:59 pm Last Post: Anymouse |
|
| Answers in Genesis website hijacks web history! | Tiberius | 31 | 17953 |
December 13, 2010 at 3:32 am Last Post: Minimalist |
|
| Porn Website Sued For Spying On Users | Tiberius | 15 | 11678 |
December 10, 2010 at 5:42 pm Last Post: Violet |
|
Users browsing this thread: 3 Guest(s)



![[Image: 6809registers.png]](https://upload.wikimedia.org/wikipedia/commons/5/51/6809registers.png)