Hacker News new | past | comments | ask | show | jobs | submit | saltymimir's comments login

Finally finish a workable infinite canvas + decentralized knowledge graph project. Been way too distracted with other subplots of the project the past few months.

As for the non-technical stuffs, I'd like to at least breach the 25-minute mark in my 5ks (just under 26 minutes flat is fine). Running's been such a revelation for me this year. Definitely agreed with the idea that avoiding burnout is mostly a matter of doing the inverse of what you do on a regular basis[1].

[1]: https://gwern.net/backstop#burnout


Pleasantly surprised that this site’s still around. I remember seeing this back in college, and it was one of the catalysts that got me into building sites and this career in the first place.

(I’m 30 btw, so this site’s quite old by internet standards.)


These are the slides that are about to be presented (or has been presented already?) by some of the TC39 committee members.

Some genuinely interesting bits about how the committee sees the entire Javascript ecosystem today and what they envision the future will (probably) look like.


Ohh boy, as someone who works on a travel booking, service serving customers in Asia, this problem hits hard. I guess the answer depends on how you plan to handle the names once they got submitted.

I happen to be handing that data over to airlines, which has some of the less forgiving, yet fragmented name requirements. If you handle this incorrectly, your customer can't fly, even after they paid for the flight. And for those who say that this doesn't matter as much: It absolutely does. People do get confused by this more frequently than you think. I've seen people losing an entire trip that they saved for, all because of unclear naming requirements.

The way I deal with this is to provide a country and locale specific name fields. You don't have to detect the geolocation or track the user for this, just let them choose whatever locale setting they want, and give them the "sensible" layout. Here are some examples:

- In Vietnam, we use last name then first name.

- In Indonesia, we use first name, then last name, but also give an option to declare that the person doesn't have a last name.

- In Singapore, we use a single field to input the first name and last name.

Even when you've handled the layout convention carefully, the 3rd party you're handing the data to, if one exists, might not give the same care and attention that you do. In my case: some airlines just haven't gotten around the idea that some people simply don't have last names. When a person with a single name wants to fly, airlines want the customer to use the name for both first and last name (e.g. If the person's name is David, then the airline expects "David David"). If you require First Name and Last Name as the input, and don't elaborate on how to fill them, the customer might simply fill the last name with a dot (".") character. The airlines / any other 3rd party won't accept that. For this, I suggest to detail out the ways in which you handle the data and go talk to your providers, if any.

All in all, it's a pretty tough challenge, and the wisdom around this isn't going to fit inside a single HN post. I do commend you for actually thinking about this problem. Good Luck.


> In Singapore, we use a single field to input the first name and last name.

I have a completely “ordinary” name from a western perspective – first (given), middle, last (family). I live in Singapore, which has a few different popular naming conventions from a few different cultures. I’ve received documents with my name in every single variation possible. I‘ve been Mr First Name, Mr Middle Name, Mr Last Name, and so on. Often I can’t even determine if they have my name correct in their records – it could be recorded correctly but used incorrectly, or it could be recorded incorrectly and used correctly. Sometimes I suspect it’s recorded incorrectly but also used incorrectly in a different way.

Normally it’s not a problem, but like you say, airline tickets can cause issues. I think I’ve been demoted from “check in online” to “check in at a counter because we need to check your paperwork” a bunch of times because my passport doesn’t match my name on my ticket. Often it’s not even the name order – the airline will only sell my ticket with a first name and last name field (meaning I have to drop my middle name, which is on my passport) or they ask for all three and then concatenate first and middle with no space and truncate the last few letters.

Everything would be so much easier if I could just enter my name.


It seems that with things like ticket there should be explicit "as in passport" instructions. Not that people will follow those...


Some people have more than one passport (multiple citizenship) and could use a different one to enter different countries because of visas. The name could be partly different on those passports. But yes, they probably know the passport they'll use since the time they buy the ticket.


I as an example have 2 passports, and my name is first middle1 middle2 last.

One of my passports has my name like that, the other is first middle1 last, so even between passports its not the same, as one of them drops one of my middle names.


I know people hate the idea of all three of world government, government IDs, and reducing people to numbers, but things would be a lot easier if we could just write on forms "I'm person number 15389247652" and let name matching be relegated to historical documents.


As you hinted, we would need a global authority recognized and trusted by everyone at least for name registration and resolution.

About government IDs and reducing people to numbers, most of the threads here are already giving them for granted. We are a number once we're in a database.


Why not just have a single field for "your name as it appears on your identity document"? Or do the various airline systems expect the name to be split into separate fields depending on the locale?

I've always found it weird how broken this is. Some US airlines have separate entry fields for first, middle, and last names. But then they jam it together on the boarding pass as "Last, Firstmiddle" (yes, with first and middle mashed together, and middle lowercased). That of course doesn't match my ID, but I've never had a problem traveling, even when I sometimes leave out my middle name entirely. (I guess I get less scrutiny most places since I'm an American white male.)


> do the various airline systems expect the name to be split into separate fields depending on the locale

Bingo. I've had this problem dealing with insurance carriers. They want a very wide degree of name formats, and to make it worse some don't support unicode, some don't support apostrophes, and some don't understand names longer than 22 characters (had multi-hour discussions on exactly which part of the names I needed to cut out in this scenario). They were bewildered that these were problems for data which could include anybody in the US...


There may be multiple identity documents with different names. This particularly happens a lot when the name itself is not written in Latin script and has to be romanized---one of my credit card had a different romanization (that I couldn't control) compared to what was written to my passport (that I had a control). Of course it is also possible that there is no canonical romanization available in any of those documents as well.


Airlines are always weird. I remember myself consistently being FIRST/LASTMR on tickets; all caps, no space, with a slash, no comma. I suppose it's some canonical encoding that everyone working in commercial aviation just knows.


That reminds of an issue with a passenger whose given name ends in the letters "MR".

https://travel.stackexchange.com/questions/149323/my-name-ca...

HN discussion: https://news.ycombinator.com/item?id=21490850


I wonder if you could circumvent some of this with the default first/given & last/family name with two checkboxes to choose the preferred name to be called with. Of course it wouldn't be bullet-proof if you wanted to substring the name, like using only the 2nd part in Vietnamese names, and you probably would have to make filling both of them optional.

Or just having a preferred name and full name, duplicating data but probably it wouldn't be a big deal in most cases.

This would be a nice GitHub project for someone to showcase name inputs in all languages.


> In Singapore, we use a single field to input the first name and last name.

How do you handle this when passing the data to the airlines?


To be fair, if you only have one name, then it is both your first and your last name.


> As with previous Macedonian snake cults, the focus of worship at the temple was on fertility. Barren women would bring offerings to Glycon in hopes of becoming pregnant. According to Lucian, Alexander had less magical ways of causing pregnancy among his flock as well.

Wondering what they are :)



Here's a bookmarklet I've been using to submit HTML page data to a webhook endpoint: https://gist.github.com/theAJFM/c15535c0b7a994b126f41e127466...

It extracts the page's title, the url, and even prompts you to give it some tags if you need some.

You still need to host your own webhook to save it, but that too should be straightforward. Just use firefox's readability.js to strip the bloat elements and save it in your database. You could save it into Airtable like what OP's been doing, or even save it as a file in your cloud storage.


I decided to take a look at the redesigned mobile app after some time not using it. Can't believe how much worse it got.

I don't appreciate their move towards "social" feed sure, but the reader has genuinely gotten worse. I remember that it used to have the options to adjust:

- Line Height

- Page Width

- Text Alignment

- Fonts beyond the defaults (for paid subscribers, which I am one).

In the new app, it was all gone. Yet, I'm still paying the same premium price for it. The web app still has those perks, but it's probably because there hasn't been any update to it for the past 2 years or so.

I haven't had any use for the app for some years now. Like what many say in this thread, it's not that hard to build a system that replaces it well enough. You just need to make it scrape links, turn them to markdown (personal preference), and index the entire content for FTS in SQLite.

Thanks to the OP for reminding me to cancel my subscription. Now I just need to find a way to export my huge pocket archive before the subscription renews.


The magazine has ceased publication, but I really enjoyed reading https://reallifemag.com/.


Was a bit skeptical about how good this was gonna be, but I'm definitely impressed.

The improvements are a lot more apparent on desktop. I love the fact that I can do pretty much anything using the command palette and keyboard shortcuts. Feels like this is the kind of browsing experience that I'm most contend with. The GPT-3 "ghostreader" feature was also great; most of the summary / text generations fulfilled my expectations.

If I have to pick on something: the mobile app browsing experience isn't that much better from Pocket or Instapaper. The scrolling and animation feels a bit laggy in my iPhone. The "ghostreader" feature in the app feels very limited and awkward to enable here as well.


In my (admittedly) brief experience dabbling with asciidoc, I really don't like the opinionated approach on how styles should be injected to the generated HTML output.

Say that I generate a table using asciidoc's built-in syntax, the output will always generate HTML elements with the CSS classes already defined:

    <table class="tableblock frame-all grid-all stretch">
      <colgroup>
        <col style="width: 50%;">
        <col style="width: 50%;">
      </colgroup>
      <thead>
        <tr>
          <th class="tableblock halign-left valign-top">Column heading 1</th>
          <th class="tableblock halign-left valign-top">Column heading 2</th>
        </tr>
      </thead>
      <tbody>
        <tr>
          <td class="tableblock halign-left valign-top"><p class="tableblock">Column 1, row 1</p></td>
         <td class="tableblock halign-left valign-top"><p class="tableblock">Column 2, row 1</p></td>
        </tr>
        <tr>
          <td class="tableblock halign-left valign-top"><p class="tableblock">Column 1, row 2</p></td>
          <td class="tableblock halign-left valign-top"><p class="tableblock">Column 2, row 2</p></td>
        </tr>
      </tbody>
    </table>
For me, this output is needlessly verbose for a setup that uses nothing but default flags. Worse, it doesn't provide much of a leeway to change the classes or even let me use some other ways to style the elements.

I prefer markdown's (and markdoc's) approach to styling, in that it doesn't really try to define any. My take on this is that stylings of the output should be be coupled with the toolings, as opposed to being bolted into the language standards.

edit: formatting


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: