News for hackers. Stuff that matters.

jcoffland

Re:Why Is This Website Port Scanning Me? on Wednesday May 20, 2020 @11:31AM (#23248078)
Port scanning localhost from a webpage has been possible for a long time and does not require websockets.

http://jsscan.sourceforge.net/

This article concurs. https://lwn.net/Articles/810414/ io_uring was first added to the mainline Linux kernel in 5.1.
There isn't any open source license that prevents me from not liking it either.
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;
    }
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.

Ask HN: My Open-Source project is on eBay. What should I do?

I just find out that my GPL'ed CNC software, CAMotics is being sold on EBay. The seller clearly made modifications and I don't see any way to access the modified source. Isn't this a license violation? Has anyone else had this happen to them?https://www.ebay.com/itm/CNC-simulator-software-for-CAD-CAm-milling-machine-or-router/113808167909Real software: https://camotics.org/

( Read More... | 7 comments | 6 points | on HN )
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.
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.
Re:Seattle-Area Patient With Coronavirus Dies on Saturday February 29, 2020 @01:59PM (#22452258)
One person has died in the US. It's not time to panic. I expected more logical comments here.
Re:SMD reflow with a blowtorch (2016) on Wednesday February 19, 2020 @02:11PM (#22368903)
> 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.

Re:Lasersaur – open-source laser cutter on Monday February 17, 2020 @01:49PM (#22349629)
No closed loop stepper support at this point. We are taking about making a driverless version of the Buildbotics controller which you could pair with any external driver or closed loop steppers.
Re:Reasons not to become famous on Sunday February 09, 2020 @02:32PM (#22283851)
By definition, most people don't need to worry about becoming famous and its consequences.
Re:Lasersaur – open-source laser cutter on Saturday February 08, 2020 @02:24PM (#22277786)
An LASER cutter is a really productive device to have around. It's very easy to create 2D parts.

Another way to go Open-Source for a lot less money (~$1500) is to buy a K40 on EBay and refit it with a Buildbotics controller.

The other day I needed a faceplate for an outlet with a circular 240v US dryer plug and a two port 120v US plug. I couldn't find anything at the hardware store that would work but I found drawings for the junction box and plugs online. After an hour or two with LibreCAD and CAMotics, I was ready to LASER cut my faceplate from 1/4" poplar. I was really happy when it fit exactly the first time. Now I keep looking behind the dryer to admire my handiwork.

Disclaimer: I'm a creator of CAMotics and Buildbotics.

We play that too. Bluetooth or crazy.
Re:Captcha.nsa.gov on Monday February 03, 2020 @01:39PM (#22227384)
I believe this has to do with which Akamai server ends up handling the page request.
Re:Captcha.nsa.gov on Monday February 03, 2020 @01:36PM (#22227350)
Re:We sell advertising, not search results on Tuesday January 21, 2020 @01:41PM (#22109972)
This is what Google used to be like. They have fallen a long way from this high ground.
Re:Every Google result now looks like an ad on Tuesday January 21, 2020 @01:33PM (#22109890)
"Don't be evil" used to be Google's company moto. It was downgraded to being just part of the code of conduct.
Re:The Internet of Beefs on Monday January 20, 2020 @02:28PM (#22101423)
HN is pretty good at moderating discussions. Which is the main reason I come here. Still, I've seen plenty of beef only thinking here and I too have been guilty at times.

It can be quite frustrating when you make an observation about someone's comment only to have them automatically assume you were in disagreement. It's good to assume a generous interpretation. Since tone is so hard to gauge on the Internet, discussions quickly devolve otherwise.

Re:A watershed moment for protein structure prediction on Monday January 20, 2020 @01:07PM (#22100771)
Folding@home is working on a different problem. Folding@home finds the path a protein takes to arrive at its final structure, not just the final structure. One of the main goals is to understand protein misfolding or where on the path things go astray to result in disease.

After all these years, we are still at it. New methods are regularly evaluated and the simulation software is being refined all the time.

Re:Firefox Multi-Account Containers on Tuesday January 14, 2020 @03:04PM (#22048689)
Nice. Now my wife and I can both stay logged in to our email. I've wanted this feature for 15 years. Now, bring multi row tabs back and FF will be awesome again.
Re:Firefox 72.0 on Tuesday January 07, 2020 @10:09PM (#21987905)
The only feature I really want FF to bring back is multi-row tabs.
Re:Counterfeits on Amazon cost Warren bird feeder business $1.5M on Wednesday December 25, 2019 @08:32PM (#21881510)
Customers saying "this has changed recently" means little. For example, I found such reviews for a pet flea product. When I investigated further I found similar reviews both very recent and going back 4, 6 and up to 8 years. Perhaps there are random bad batches but I suspect that part of the problem is the perception that a product is different. People often fail to recognize other factors such as changes in their own usage patterns, or in this case, changes in their local flea population.
Re:France to Raise Pollution Tax on SUVs and Trucks to €22k on Monday December 23, 2019 @04:28AM (#21862447)
The bullshit is that politicians continue to only take action against consumers when the real polluters, corporations and the military, continue to go unchecked because lobbying pays.
Re:The case for working with your hands (2009) on Thursday December 19, 2019 @10:14PM (#21841467)
> I've been thinking about wood CNC myself. What kinds of tools are used these days?

Check out the https://buildbotics.com CNC controller and the https://CAMotics.org CNC simulator. Both are Open-Source. These are my projects.

Re:The case for working with your hands (2009) on Thursday December 19, 2019 @10:10PM (#21841450)
You should check out https://tplang.org/ It's Open-Source and part of the https://camotics.org/ CNC simulator. TPL is JavaScript with built-in extensions that make generating GCode programmatically and visualizing the results much easier. Disclaimer, I am the author.
Re:Show HN: Kong – Physical Cryptocurrency on Wednesday December 11, 2019 @05:09AM (#21761092)
What's to stop someone from passing many duplicate notes?
Broken ankles are another common low speed injury for new riders.
Re:Ask HN: Best way to create a landing page? on Thursday December 05, 2019 @05:21AM (#21711256)
How about pug.js for HTML templating and Stylus or Less for the CSS. Then just generate a static site. Static sites are fast and fast is always good SEO.

Older »