Readit News logoReadit News
jcoffland commented on Why Is This Website Port Scanning Me?   nullsweep.com/why-is-this... · Posted by u/BCharlie
jcoffland · 5 years ago
Port scanning localhost from a webpage has been possible for a long time and does not require websockets.

http://jsscan.sourceforge.net/

jcoffland commented on Lord of the io_uring: io_uring tutorial, examples and reference   unixism.net/loti/... · Posted by u/shuss
cesarb · 5 years ago
If you have a clone of the Linux kernel source tree, you just have to look at the history of the include/uapi/linux/io_uring.h file. From a quick look here: everything up to IORING_OP_POLL_REMOVE came with Linux 5.1; IORING_OP_SYNC_FILE_RANGE was added in Linux 5.2; IORING_OP_SENDMSG and IORING_OP_RECVMSG came with Linux 5.3; IORING_OP_TIMEOUT with Linux 5.4; everything up to IORING_OP_CONNECT is in Linux 5.5; everything up to IORING_OP_EPOLL_CTL is in Linux 5.6; and the last three are going to be in Linux 5.7.
jcoffland · 5 years ago
This article concurs. https://lwn.net/Articles/810414/ io_uring was first added to the mainline Linux kernel in 5.1.
jcoffland commented on Ask HN: My Open-Source project is on eBay. What should I do?    · Posted by u/jcoffland
johnnyo · 5 years ago
GPL allows you to change the name.

I'm not aware of an open source license that prevents someone from renaming the software to whatever they want.

jcoffland · 5 years ago
There isn't any open source license that prevents me from not liking it either.
jcoffland commented on Lord of the io_uring: io_uring tutorial, examples and reference   unixism.net/loti/... · Posted by u/shuss
jcoffland · 5 years ago
Maybe I just missed this but can anyone tell me what kernel versions support io_uring. I ran the following test program on 4.19.0 and it is not supported:

    #include <stdio.h>
    #include <stdlib.h>
    #include <sys/utsname.h>
    #include <liburing.h>
    #include <liburing/io_uring.h>


    static const char *op_strs[] = {
      "IORING_OP_NOP",
      "IORING_OP_READV",
      "IORING_OP_WRITEV",
      "IORING_OP_FSYNC",
      "IORING_OP_READ_FIXED",
      "IORING_OP_WRITE_FIXED",
      "IORING_OP_POLL_ADD",
      "IORING_OP_POLL_REMOVE",
      "IORING_OP_SYNC_FILE_RANGE",
      "IORING_OP_SENDMSG",
      "IORING_OP_RECVMSG",
      "IORING_OP_TIMEOUT",
      "IORING_OP_TIMEOUT_REMOVE",
      "IORING_OP_ACCEPT",
      "IORING_OP_ASYNC_CANCEL",
      "IORING_OP_LINK_TIMEOUT",
      "IORING_OP_CONNECT",
      "IORING_OP_FALLOCATE",
      "IORING_OP_OPENAT",
      "IORING_OP_CLOSE",
      "IORING_OP_FILES_UPDATE",
      "IORING_OP_STATX",
      "IORING_OP_READ",
      "IORING_OP_WRITE",
      "IORING_OP_FADVISE",
      "IORING_OP_MADVISE",
      "IORING_OP_SEND",
      "IORING_OP_RECV",
      "IORING_OP_OPENAT2",
      "IORING_OP_EPOLL_CTL",
      "IORING_OP_SPLICE",
      "IORING_OP_PROVIDE_BUFFERS",
      "IORING_OP_REMOVE_BUFFERS",
    };


    int main() {
      struct utsname u;
      uname(&u);

      struct io_uring_probe *probe = io_uring_get_probe();
      if (!probe) {
        printf("Kernel %s does not support io_uring.\n", u.release);
        return 0;
      }

      printf("List of kernel %s's supported io_uring operations:\n", u.release);

      for (int i = 0; i < IORING_OP_LAST; i++ ) {
        const char *answer = io_uring_opcode_supported(probe, i) ? "yes" : "no";
        printf("%s: %s\n", op_strs[i], answer);
      }

      free(probe);
      return 0;
    }

jcoffland commented on Ask HN: My Open-Source project is on eBay. What should I do?    · Posted by u/jcoffland
johnnyo · 5 years ago
Just because they are selling something on eBay doesn't mean they are violating the GPL.

They are allowed to take your code, modify it, and sell it.

If the CD they are distributing contains their modified code, or a link to where it can be downloaded, then I think they would be in the clear.

jcoffland · 5 years ago
Right, but they must retain the original copyright notices and provide the source code. I'm asking the person who bought the software to verify if this is the case.

I don't mind so much someone selling my software on a CD. What I do mind is that they changed the name to trick the buyer. Perhaps I should be using a different license.

jcoffland commented on Coronavirus outbreak makes lobsters so cheap that sellers face a fatal blow   bloomberg.com/news/articl... · Posted by u/JumpCrisscross
rolltiide · 5 years ago
I think its really interesting how most people imagine expensive things taste better just because they are expensive, specifically lobster, caviar. They exist in scarcity right now and thats the only distinction as there are longer periods of time where they weren't "delicacies" but still tasty parts of a meal.
jcoffland · 5 years ago
Sorry, but I love caviar. In fact any sort if fish roe is good. It does not have to be expensive. In Russia they eat fish roe/caviar on buttered bread for breakfast. It's really good.
jcoffland commented on If nearly all Airbnb reviews are positive, does that make them meaningless?   academia.edu/30544981/If_... · Posted by u/r_singh
jcomis · 5 years ago
I've written a few negative reviews that were totally honest. They never made it to the profile. So yeah, pretty meaningless.
jcoffland · 5 years ago
I had the same experience. I called AirBnB and they acted like it was a really strange occurrence and they would look into it. My review never appeared on the host's page. I have zero trust in AirBnB.
jcoffland commented on Seattle-Area Patient With Coronavirus Dies   npr.org/2020/02/29/810722... · Posted by u/erentz
jcoffland · 6 years ago
One person has died in the US. It's not time to panic. I expected more logical comments here.
jcoffland commented on SMD reflow with a blowtorch (2016)   lab.whitequark.org/notes/... · Posted by u/luu
Animats · 6 years ago
I thought that was Jeri Ellsworth. Thinks things through from first principles. But no, it's a another red-haired woman who thinks like Feynman.
jcoffland · 6 years ago
> it's a another red-haired woman

Why is it significant that this post was from a woman or that she has red hair? This comment sounds like a backhanded compliment, at best.

u/jcoffland

KarmaCake day4419January 29, 2015
About
I started contracting software development in 2002. Mainly I develop embedded systems code (in C) and simulation systems (in C++). I've been coding for the Folding@home project since 2007 and have been working on an Open-Source 3 axis CNC simulator called CAMotics since 2011.

* http://cauldrondevelopment.com/ * http://folding.stanford.edu/ * http://camotics.org/ * http://joe.coffland.com/

I live in Petaluma, CA. If you're in the area, send me an email. I'm always up for a coffee or a beer and interesting conversation.

View Original