Skip Navigation

Posts
2
Comments
450
Joined
2 yr. ago

  • The airline's booking process is fairly standard except for the seat map which highlights seats occupied by women with the color pink. This information is not visible to male passengers, according to the airline, CNBC reported.

    What's to stop a man from claiming to be female to see the map of where women are sitting, and then booking an adjacent seat themselves?

  • I felt the same when reading that book, and I never finished it because following the rules he suggested produced horrible code.

    If memory serves, he also suggested that the ideal if statement only had one line inside, and you should move multiple lines into a function to achieve this.

    I once had to work on a codebase that seemed like it had followed his style, and it was an awful experience. There were hundreds of tiny functions (most only used once) and even with an IDE it was a chore to follow the logic. Best case the compiler removed most of this "clean" code and the runtime wasn't spending most of its time managing the stack like a developer had to do.

  • Oh, that's LAN - I thought you'd put ian and I was trying to get the joke. Stupid sans-serif fonts.

  • It's naïve to think that marketers have any interest in doing things ethically, unless there's a legal or business reason to do so.

  • I know of it because Helix uses it, and it works really well.

  • If you need to refer to a key with ~ or / in its name, you must escape the characters with 0 and ~1 respectively. For example, to get "baz" from { "foo/bar": "baz" } you’d use the pointer /foo1bar0.

    I guess they're using ~ for escaping since backslash is already escaping text content, not that you'd see it very often in keys.

    Having magic values instead of using ~~ and ~/ feels ugly.

  • It's far from my field, so I'll have to take your word on that!

  • [Making cracks visible is] helpful, but what would be ideal is a way to not just find the cracks, but to fix them.

    That's what the article says, they're hardly implying it's nonsense. Or are you saying that the self-healing is nonsense? There are examples of self-healing materials, like Roman concrete.

  • I don't know that I agree - it's worth researching these things because if it works that's great and that paper proves that other people are working on the visibility problem.

  • Nope, it's still great on Windows. Perhaps they went to Linux since it's still Windows-only.

  • Good article, apart from talking so much about choosing a language for the user and ignoring the Accept-Language header, which exists solely for this reason.

    Most websites seem to ignore this header and just show you whatever their geo-ip says.

  • True, the article does say that

    [the local sheriff] placed a sign at the end of the driveway warning people to stay away from the house and to call him with questions.

  • The farm should put up a sign or plaque at that spot that they can point their official and vigilante visitors at.

  • Where are you getting that from? The article you're commenting on say otherwise:

    France’s state railways company SNCF called the overnight disruption a “massive attack aimed at paralyzing the high-speed line network.”

    Similar article from The Standard

    They were focused on the TGV high speed train network which covers the whole of France, and which is particularly busy at this time of year.

    Eurostar’s Brussels-Lille-London trains are not affected.

  • I don't know enough to know how correct your pedantry is (technically or not), but to explain the meme it made sense to go through the symbols in the order you see them. I never got any points from the proof questions in exams anyway.

  • When all you have is an imaginary hammer, everything looks like a rotation around the imaginary unit circle.

  • Do you want something that runs on your NAS or from another computer? What OS(es) are you using?

  • I'm thinking more like using a CMS or Wordpress by people who don't consider themselves developers.

  • In another video [...], young settlers are seen tampering with the village’s water pipes as soldiers look on. The military said soldiers helped repair the pipe soon after.

    They just let it happen but cared enough to fix it afterwards? This is the kind of excuse I'd expect from an eight-year old.

  • I wouldn't be surprised if there's some service that gave out shortened links by default and people just used those everywhere. Lots of people are clueless about how URLs work, and authoring HTML often means filling in a form.