Live data from Hacker News

I bought back my acquihired startup

steveridout.com

51–60 of 105 posts

Re: I bought back my acquihired startup

#51
post #31

Small suggestion: You may want to fix your DNS configuration which currently only resolves readlang.com and not www.readlang.com. This might confuse some visitors (it confused me when I typed readlang and pressed Ctrl+Enter): ~ $ dig a www.readlang.com ; > DiG 9.10.6 > a www.readlang.com ;; global options: +cmd ;; Got answer: ;; ->>HEADER

dig has the worst output I've ever seen in a CLI tool. Fantastically useful when I've bothered to learn it, but it's just not intuitive. I always forget what everything means. What am I looking at here? The _lack_ of an answer section?

Out of curiosity I asked ChatGPT what the output means and this is what it responded :) Maybe this helps you!

This output is the result of using the dig command to query the DNS (Domain Name System) for an A (Address) record associated with the domain name "www.readlang.com". Here's a breakdown of the output:

; > DiG 9.10.6 > a www.readlang.com: This line shows the version of dig being used (9.10.6) and the command executed (dig a www.readlang.com). The "a" argument is asking for the IPv4 address associated with the domain name.

;; global options: +cmd: This line displays global options for the dig command. "+cmd" is a default option that includes the initial command line in the output.

;; Got answer:: This line indicates that the DNS server has provided an answer to the query.

;; ->>HEADER;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 1: This line provides information about the response flags and the number of entries in each section of the response. "qr" means the response is a query response, "rd" indicates recursion was desired, and "ra" means recursion is available. The number of entries in the QUERY, ANSWER, AUTHORITY, and ADDITIONAL sections are 1, 0, 0, and 1, respectively.

;; OPT PSEUDOSECTION: and ; EDNS: version: 0, flags:; udp: 1280: This part shows information about the Extension Mechanisms for DNS (EDNS). The version is 0, and the UDP payload size is 1280 bytes.

;; QUESTION SECTION: and ;www.readlang.com. IN A: This part displays the question section of the query, which is asking for the A record (IPv4 address) associated with "www.readlang.com".

;; Query time: 62 msec: This line shows that the query took 62 milliseconds to complete.

;; SERVER: 2406:3400:41e:5a80::1#53(2406:3400:41e:5a80::1): This line displays the IPv6 address and port number of the DNS server that responded to the query.

;; WHEN: Fri Mar 24 10:06:36 AEST 2023: This line indicates the date and time when the query was executed.

;; MSG SIZE rcvd: 45: This line shows that the total size of the message received was 45 bytes.

The main takeaway from this output is that the domain name "www.readlang.com" does not have an associated IPv4 address (A record) in the DNS, as indicated by the "status: NXDOMAIN" and "ANSWER: 0" parts.

Re: I bought back my acquihired startup

#52
post #31

Small suggestion: You may want to fix your DNS configuration which currently only resolves readlang.com and not www.readlang.com. This might confuse some visitors (it confused me when I typed readlang and pressed Ctrl+Enter): ~ $ dig a www.readlang.com ; > DiG 9.10.6 > a www.readlang.com ;; global options: +cmd ;; Got answer: ;; ->>HEADER

dig has the worst output I've ever seen in a CLI tool. Fantastically useful when I've bothered to learn it, but it's just not intuitive. I always forget what everything means. What am I looking at here? The _lack_ of an answer section?

Alternatively, use dog (https://github.com/ogham/dog)

> dog A readlang.com

A readlang.com. 1h57m12s 139.144.234.197

> dog A someinvalidserver.com

Status: NXDomain

Re: I bought back my acquihired startup

#53

Great post! (However, I just read the entire post and I still have no idea what readlang is.)

Good point! I just made the first mention of Readlang into a link to the website: https://readlang.com It's a web-app and browser extension to help people learn languages by reading texts or websites in the language they are learning, get helpful translation hints and definitions to aid comprehension, and then to practice the new vocab with flashcards.

The concept looks extremely interesting, but (like the vast majority of language learning tools) Albanian is not supported. I might give it a try for German though

Re: I bought back my acquihired startup

#54

I cannot wait to use your website tomorrow. I've been dying for a resource to learn Serbian outside of the only book that exists ( pretty much ) and my own efforts in getting flash cards, childrens' books, etc. together. You're seriously a life saver, I cannot wait to try this out. I wish I had heard of it a year ago. _Thank you_. You have produce a connection to my heritage and ancestry that nobody else has, and I r…

Wow, how is it that there's only one instructional book to learn Serbian? There are many books to learn Norwegian out there (which I'm familiar with because I have learned a bit of Norwegian in the past), and fewer people speak it than Serbian.

Re: I bought back my acquihired startup

#55
Hey, that's great! I was a Readlang subscriber for a few months last year and often had the thought "why isn't this better?". It even has a place on my (long, cluttered) list of potential ideas to work on. So I'm happy it will be revived and improved!

Also, here's the note from my list on what I wished Readlang would do: "check out how News in Slow Spanish (newsinslowspanish.com/) turns each word into a hyperlink. Hovering over it gives you an instant popup. This is a way better experience than Readlang, which requires you to click each word to get its translation."

Re: I bought back my acquihired startup

#56
post #31

Small suggestion: You may want to fix your DNS configuration which currently only resolves readlang.com and not www.readlang.com. This might confuse some visitors (it confused me when I typed readlang and pressed Ctrl+Enter): ~ $ dig a www.readlang.com ; > DiG 9.10.6 > a www.readlang.com ;; global options: +cmd ;; Got answer: ;; ->>HEADER

Interesting. To save anyone else looking it up, Ctrl+Enter in Chrome, Firefox and Safari (at least) is "Add www. and .com to a site name, and open it in the current tab".

Re: I bought back my acquihired startup

#57
post #50

Earlier quoted context omitted.

dig has the worst output I've ever seen in a CLI tool. Fantastically useful when I've bothered to learn it, but it's just not intuitive. I always forget what everything means. What am I looking at here? The _lack_ of an answer section?

Yes, it's horrible. It helps if you know the actual syntax used in zone files, and yes, it's the lack of an answer section. Alternatively use the short format as suggested by another comment: $ dig a www.readlang.com +short readlang.com. 139.144.234.197 Although now it's a bit too short and you can't see the record types (CNAME, A). Sigh.

When I dig my personal domain name, I get 19 lines of output of which 1 comes from the zone file and contains the actual answer. The rest is mystery meat.

I mean, sure I can decipher that "rcvd" stands for "received" but if I have my timeline correct there never was a time when such character count mattered and dig existed.

Re: I bought back my acquihired startup

#58

Earlier quoted context omitted.

I worked for a tiny, independent project for a giant corporation for a couple of years. It absolutely would have worked as a 2 or 3 person company but it was definitely the wrong place for a dozen engineers as part of a giant corporation. They shut it down, but now I'm wondering whether they would have entertained a small offer to buy it. Probably not, but I guess I'll never know.

Remake it with a clean codebase. Version 2 is always better.

The version might be better but your audience may not have improved enough to justify remaking it.

Re: I bought back my acquihired startup

#59
post #31

Small suggestion: You may want to fix your DNS configuration which currently only resolves readlang.com and not www.readlang.com. This might confuse some visitors (it confused me when I typed readlang and pressed Ctrl+Enter): ~ $ dig a www.readlang.com ; > DiG 9.10.6 > a www.readlang.com ;; global options: +cmd ;; Got answer: ;; ->>HEADER

dig has the worst output I've ever seen in a CLI tool. Fantastically useful when I've bothered to learn it, but it's just not intuitive. I always forget what everything means. What am I looking at here? The _lack_ of an answer section?

It's very verbose by default, but that's when/why you use it. If you just want to know why something doesn't work, you use ping.

    $ ping nxdomain.example.com
    ping: nxdomain.example.com: Name or service not known

    $ ping example.com
    PING example.com(2606:2800:220:1:248:1893:25c8:1946 (2606:2800:220:1:248:1893:25c8:1946)) 56 data bytes
    64 bytes from 2606:2800:220:1:248:1893:25c8:1946 (2606:2800:220:1:248:1893:25c8:1946): icmp_seq=1 ttl=52 time=93.2 ms
If you want a short summary, you use host:

    $ host nxdomain.example.com
    Host nxdomain.example.com not found: 3(NXDOMAIN)


    $ host example.com
    example.com has address 93.184.216.34
    example.com has IPv6 address 2606:2800:220:1:248:1893:25c8:1946
    example.com mail is handled by 0 .
or nslookup (from the same bind9-dnsutils package as dig):

    $ nslookup nxdomain.example.com
    Server:  127.0.0.53
    Address: 127.0.0.53#53
    
    ** server can't find nxdomain.example.com: NXDOMAIN

    $ nslookup example.com
    Server:  127.0.0.53
    Address: 127.0.0.53#53
    
    Non-authoritative answer:
    Name: example.com
    Address: 93.184.216.34
    Name: example.com
    Address: 2606:2800:220:1:248:1893:25c8:1946

If you want to debug DNS, with all the raw data, then you use dig.
Post reply on HN