javascript: I use vscode with the node, but it doesn't show my codes in js in the output, I use the runner tbm code

I decided to learn javascript in a course, so I downloaded the node and vscode, installed everything correctly, put the code in the broker, then when I run a simple code like console.log (& # 39; Hello, World & # 39;), no nothing appears in the output. the running node appears and etc., down there it should look like the message, n appears. what to do? please help me

My custom background codes appear when I try to view my website

I created subcategories using custom HTML tags in static content> background editor> Text Block. For some reasons when I tried to see my website. I checked the subcategories that I created and all I see is the actual custom Html codes.

Can I buy source codes developed by others?

I am a programmer interested in buying already developed software to avoid developing it again. Is there a website where I can locate sellers?

GC

coding theory – ternary error correction codes

Let's define Trianry ECC as a code that your code words can be defined by $ {xyz f (y, z) f (x, z) f (x, y) | x, y, z in mathbb {F} _2 ^ m } $ for some function $ f $.

Is there a good known bug fix code that is trinary?

Such a family of LDPC codes would be best.

Is there any reason why it won't be good (in terms of distance, rate)?

It can be useful in a construction that I have. I just wanted to make sure it's not known before I dive in.

Thank you

I can create world class powerpoint presentations and generate QR codes for you. for $ 20

I can create world class powerpoint presentations and generate QR codes for you.

I can create world class powerpoint presentations for your company with very short response time.

Also, I can create QR codes with multiple colors and a logo embedded inside.
I can create QR codes for url, email, location, phone number, social media link and youtube link.

.

Exceptions Vs Return Codes (C #)

I recently started a job where we don't use exceptions at all (C ++). Each function returns a status code or an object that contains a value and status code. It seems to work quite well, but it also has some limitations.

I am starting a new side project in C # and am curious to use exceptions vs return codes. I was thinking of using a library like https://github.com/altmann/FluentResults, but I am having a hard time deciding if there is any advantage. In the end, it is only returning strings and different kinds of errors; basically exactly what exceptions already do. It seems like some kind of hacky replacement for Exceptions with better performance.

In my work, the code won't compile if it doesn't properly handle the return value of a function, so it inherently forces the caller to handle or increase the error, but with C # you can easily ignore the return value that It means that the callers were not able to correctly handle the errors that can lead to an exception anyway.

The other problem I have with using return codes now is that your code has to have a strange combination of return code handling and exception handling unless you allow each exception to go all the way to the top.

Consider the following two examples. The code is a simple function that returns a relatively simple / expected error.

 public async Task DoSomeFunction(string input)
        {
            if (!await IsValid(input)) throw new InvalidInputException();
            return 4;
        }
public async Task Foo()
        {
            try
            {
                await DoSomeFunction();
                // Do Something on Succcess
            } catch (InvalidInputException e)
            {
                // Do Something with the error.
            }
        }

Based result code:

 public async Task> DoSomeFunction(string input)
        {
            if (!await IsValid(input)) return Result.Error(Status.InvalidInput)
            return 4;
        }

        public async Task Foo()
        {
            result =  await DoSomeFunction();
            if (result.OK)
            {
                // Do Something on Succcess
            }
            else if (result.Status == Status.InvalidInput)
            {
                // Do Something with the error.
            }else
            {
                return result;
            }
        }

The exception-based solution seems much more concise and elegant, although it is less effective and runs counter to the recommendation not to use exceptions for "expected" errors. On the other hand, results-based implementation is naturally more messy (eg. Task>)

Also, some of the Microsoft .NET Core libraries return results (for example, https://github.com/aspnet/Identity/blob/master/src/Core/IdentityResult.cs). It seems like good practice, but I need someone to convince me why it isn't just a hacky alternative to exceptions.

What is the best solution here? Do they adhere to the result codes, exceptions, or a combination of both?

XenSpec – Dedicated server offers – Discount codes up to 37.5% off! – Low box

Jacob from XenSpec has sent offers for the LEB community on dedicated servers. Discount codes will be provided with each dedicated server offer.
They will offer dedicated servers at an extremely good price, backed by excellent support services and a well protected network.

Your WHOIS is public (domain creation date confirmed in 2017) and you can find your ToS / Legal Documents here. They accept PayPal, Bitcoin and credit / debit cards through Stripe as payment methods. Alipay and WeChatPay will also be accepted in the near future.

This is what they had to say:

“XenSpec is a hosting company founded in 2017, with locations in Chicago and Los Angeles. We provide dedicated servers, placement, VPS and custom solutions. Our goal is to provide our services with the best possible support to all our customers! Our Chicago location is based on the CoreSite CH1 data center, and our Los Angeles location is based on CoreSite LA1 facilities. These diverse locations allow us to provide minimal latency to customers in the Midwest of the United States and the West Coast / Asia. "

These are your dedicated server offers:

Single Xeon L5630

  • 32 GB of RAM
  • 2x 480 GB SSD
  • 15 TB – 1 Gbps uplink
  • 40 Gbps DDoS protection
  • 5 IPv4 addresses
  • IPv6 block of any size (/ 48, / 56, / 64)
  • No installation fees
  • Discount code: RSF7815FLQ
  • It cost: $ 45.00, Now: $ 40.00 / month
  • (ORDER)

Xeon single storage server E3-1220

  • 32 GB of RAM
  • 2x 256 GB SSD
  • 2 hard drives of 3 TB
  • Additional RAID at no cost
  • 15 TB – 1 Gbps uplink
  • 40 Gbps DDoS protection
  • 5 IPv4 addresses
  • IPv6 block of any size (/ 48, / 56, / 64)
  • No installation fees
  • Discount code: SXAVD7S81M
  • It cost: $ 80.00, Now: $ 50.00 / month
  • (ORDER)

Dual Xeon E5-2630v2

  • 64 GB of RAM
  • 2x 500GB SSD
  • 15 TB – 1 Gbps uplink
  • 40 Gbps DDoS protection
  • 5 IPv4 addresses
  • IPv6 block of any size (/ 48, / 56, / 64)
  • No installation fees
  • Discount code: 6CJQZ20JR7
  • It cost: $ 75.00, Now: $ 50.00 / month
  • (ORDER)

Data center details and test files after the break!


NETWORK INFORMATION:

CoreSite CH1 – Chicago, Illinois, United States

IPv4 test: 23.160.192.21
IPv6 test: 2602: fea7: 10 :: 21

Test file: https://chi.lg.xenspec.com/1024MB.test

CoreSite LA1 – Los Angeles, California, United States

IPv4 test: 158.51.96.3
IPv6 test: 2602: fea7: 100 :: 3

Test file: https://la.lg.xenspec.com/1024MB.test

OpenVZ Nodes:

– Intel Xeon E3-1240v2 or higher

– 32 GB of RAM or more

– 4x 1TB Samsung 860 Pro SSD

– LSI MegaRAID Hardware RAID10

– Dual 1 Gbps uplinks

Let us know if you have any questions / comments and enjoy!

design: choice of the right "open source" license for codes

In terms of programming, what defines open source?

With regard to licenses, the definitions most frequently referred to are the Open Source Initiative (OSI) open source definition or the Free Software Foundation (FSF) free software definition.

The only restriction I want to have is that if someone, including companies, wants to make a profit, turning it into a SaaS or "Software as a service" implemented in a public cloud, they must first acquire a commercial license.

What it describes is not an open source license and is likely not to meet the requirements in both the OSI definition and the FSF definition. Although you may have a commercial product that is also released under an open source license, an open source license would not restrict the free distribution of source code or derivative works. An open source license cannot prevent commercial use.

There are licenses designed to make it difficult for people to benefit from open source. A good example is the general public license of Affero. This license requires that the software accessed through a network (as in the case of an SAAS application) have the corresponding source code available for end users. So, if someone took their software and created an SAAS application, they would have to release the code and any of its modifications to the users.

Double licensing is also a way to avoid this. For example, a business client may want to host the SAAS application and not publish any changes it makes. The software may be available under two or more licenses. In exchange for payment, the software can be delivered to a customer under a different open source license or even a custom license that would not require them to release the source code to their customers.

set theory: is the isomorphism between codes and natural numbers valid for codes of infinite length?

A bit string is a code representation, analogous to the binary representation of natural numbers. Job definition: any finite bit string of variable length is a valid code.

Remember that the code 0 not equal to 00So we cannot say that a code is a natural number … But we can use an invertible function that translates codes into numbers.

Any set of codes can be assigned to a set of natives by adding the bit 1 prefix: the code 00, for example, is assigned to the 100 Natural number.

It works well when the set is finite, and there is no problem extending it to infinite sets. We can say that "all finite codes can be assigned to ℕ".

But by extending this definition of code for a set with finite and infinite length codes? Can we use the same "bit" 1 prefix "mapping rule?

In other words, can we say that "all codes can be assigned to ℕ"?

laptop – Alt codes on touch numeric keypad

I have an ASUS Zephyrus laptop and this model does not have a suitable numeric keypad, but the double trackpad has one.
That is, I am having trouble inserting Unicode characters using Alt-Codes.

Pressing Alt + Code Number it does not work correctly It works if I press the numbers (all at the same time) and then Alt, but not the other way around (as it should be)