## How do I make a chart based on labeled values in Google Sheets?

I have a simple data set with nine values in Google Sheets. (Link here, screenshot follows.) How do I make this into chart based on distinct values in the first two columns. (Mockup follows.) I tried choosing the range A1:C10 in different combinations as the data range, to no avail.

• I can concatenate Columns A and B, if that helps.
• It would be nice to have distinct colors based on Column B, as in the mockup.
• It would be nice to label the numerical values, and even better if the labels can reflect different units, as in the mockup.

## Efficient way to import a sequence of data labeled with a parameter value

Suppose we have a number of data in `.m` format, which are labeled with the value of a parameter $$c$$, for example, c=0data.m, c=0.2data.m, c=0.4data.m, c=0.6data.m, c=0.8data.m, c=1data.m, …

Now, we need to import these data and assign them to `solc0`, `solc2`, `solc4`,…, `solc10` for batch processing. I use the following `Do` loop with `ToString`:

``````Do[solc<>ToString[i] = << "C:\Users\c="<>ToString[i/10]<>data.m", {i, 0, 10, 2}]
``````

which generates lots of errors. Can anyone point out what I overlooked? Thank you.

## Graphics – Create a binary tree in which nodes are labeled according to the specified rule

I want to draw a binary tree in Mathematica in which the nodes are labeled according to a certain rule. Indeed, a rule determines whether a node has a left child, a right child, or both. And then I also want to label each node according to a rule. How do I do that? I can do this fairly easily in programming languages ​​like Java / Kotlin. But Mathematica has the advantage of a nice drawing and that's what I want (plus the rules are math equations, etc.). How could I do that?

For example, suppose it is a BST and a random function generates the values. And the name of each node is a random letter, followed by the order in which that node was added, such as "c7".

## Plotting – How to create a labeled categorical heat map in Mathematica

Given the data: {{1.4, 0}, {0, 1.0}} I can create a heat map with

DensityHistogram [{{1.4, 0}, {0, 1.0}}, {1}]

However, the ticks are not informative. The heat map must show the actual labels for each column and row. I need something like:

How can I achieve this? I tried to resize the container, but the numbers and checkmarks remain. it just changes their distance.

## Plot – add a zero checkmark labeled 0

I don't know if it's possible with `Ticks`. Here is one way to achieve the desired result `Frame` and `FrameTicks`::

``````plot1 = Plot[2*x, {x, 0, 1}, Frame -> {{True, False}, {True, False}},
FrameTicks -> {{{0, 1}, All}, {{{0, "0"}, 1}, All}},
``````

``````plot2 = RegionPlot[{x >= y}, {x, 0, 1}, {y, 0, 1},
Frame -> {{True, False}, {True, False}},
FrameTicks -> {{{0, 1}, All}, {{{0, 0}, {0.5, "a"}, 1}, All}},
``````

## Coding Style – Is It Bad To Break Out Of A Labeled Block In Java?

I sometimes write Java code that looks like:

``````success: {
fail: {
if (...) break fail;
// some code
if (...) break fail;
// some code
if (...) break fail;
// some code
break success;
}
// failure handling code
}
``````

Is this bad practice? I could extract this to a method that returns one `Optional`Then call this method from the main method, but I'm worried that it will affect performance.

## cPanel / WHM Reseller in Los Angeles – WHITE LABELED, IMMEDIATE SETUP AND RELIABLE SUPPORT! RackNerd

RackNerd introduces infrastructure stability, what everyone wants! RackNerd is led by industry experts who offer IaaS (Infrastructure-as-a-Service), private cloud solutions, DRaaS (Disaster-Recovery-as-a-Service), load-balanced solutions, flexible colocation, virtual private servers and advanced DDoS- Offer Mitigation Services – are managed by a team with decades of experience in managed services, data center operations and infrastructure-as-a-service. RackNerd focuses on customer success, growth and the vision of global expansion. The company has grown steadily and continues to offer high quality hosting services at competitive prices.

We use only the most reliable hardware for corporate servers to ensure that your infrastructure is stable. Every customer deployment is unique. For this reason, we recommend that you contact our sales team to discuss your requirements and goals, and we will help you develop the best environment for your business-critical applications. Including the most competitive prices, of course!

We are available in different ways:

WRITE US AN EMAIL: sales@racknerd.com
GIVE US A CALL: 1 (888) 881-NERD
CHAT WITH US: RACKNERD.COM

Not only do we have experience of what we do, we are a steadily growing web hosting company that not only meets, but exceeds your expectations. For this reason, you should choose RackNerd as your web hosting provider. Understanding what customers want and putting them first is why we are a success.

=====================================
NEW & AVAILABLE: RackNerd Reseller Hosting – 40 GB
=====================================

40 GB SSD storage space
2TB monthly transfer
50 cPanel accounts
Free SSL certificates
CloudLinux Powered
Softaculous Script Installer
LiteSpeed ​​web server
Free daily backups included
cPanel & WHM control panel
Labeled in white – end users believe you own the server!
Only \$ 14.59 / month, \$ 0 setup fee

=====================================
NEW & AVAILABLE: RackNerd Reseller Hosting – 100 GB
=====================================

100 GB SSD storage space
Unlimited monthly transfer
100 cPanel accounts
Free SSL certificates
CloudLinux Powered
Softaculous Script Installer
LiteSpeed ​​web server
Free daily backups included
cPanel & WHM control panel
Labeled in white – end users believe you own the server!
Only \$ 22.59 / month, \$ 0 setup fee

=====================================
NEW & AVAILABLE: RackNerd Reseller Hosting – 200 GB
=====================================

200 GB SSD storage space
Unlimited monthly transfer
150 cPanel accounts
Free SSL certificates
CloudLinux Powered
Softaculous Script Installer
LiteSpeed ​​web server
Free daily backups included
cPanel & WHM control panel
Labeled in white – end users believe you own the server!
Only \$ 36.59 / month, \$ 0 setup fee

Don't see a configuration that fully meets your needs? We are always here to answer questions and or to help wherever we can!

WRITE US AN EMAIL: sales@racknerd.com
GIVE US A CALL: 1 (888) 881-NERD
CHAT WITH US: RACKNERD.COM

## Domain Name System – How to write a middleware DNS server labeled "I don't know the answer, ask this name server".

I am implementing a middleware DNS server (I know, I know, I probably shouldn't) to create a DNS based service discovery (like Kubernetes) for my infrastructure.

I am currently using a go-based DNS library and it has been running smoothly so far. I am using this server `localhost:53` of all my machines (by overwriting the `nameserver` in /etc/resolv.conf).

All DNS questions in my infrastructure go through this custom DNS server I wrote.

I want to deal with this middleware DNS server:

• local domains (e.g. `*.foo.local.`): No problem here.

• external domains (e.g. `example.com.`): Forward (NOT proxy or recursion) the clients to the original `nameserver` the machine (e.g. the original value that I save in /etc/resolv.conf)

In order to implement the last point above, I have to answer DNS queries as follows: "I don't know the answer to this message, query this other name server". Is there something that customers recognize?

So far I have tried to answer with `rcode: NOERROR` and send `NS` RRs with
the IP address of the original name server in the response area. That didn't work (customers don't understand).

(I can implement recursion in my DNS server, but I prefer not to.)

Aside: I have found that some public DNS servers (not all like 8.8.8.8 or 1.1.1.1) actually respond with a "permission section" pointing to other name servers.

For example, here is the Comcast's DNS server (75.75.75.75) that responds to a .dev domain search by sending it to Google Domains name servers:

``````dig +norecurse @75.75.75.75 ahmet.dev.

; <<>> DiG 9.10.6 <<>> +norecurse @75.75.75.75 ahmet.dev.
; (1 server found)
;; global options: +cmd
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 21419
;; flags: qr ra; QUERY: 1, ANSWER: 0, AUTHORITY: 5, ADDITIONAL: 11

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 512
;; QUESTION SECTION:
;ahmet.dev.         IN  A

;; AUTHORITY SECTION: