Hacker Newsnew | past | comments | ask | show | jobs | submit | more jhomedall's commentslogin

Certificates from Let's Encrypt are free.


Thanks man, but I don’t remember asking anything?


Wow, I had no idea. Thanks for the heads up.


Many Common Lisp implementations allow you to dump the program state to an image, which can then be loaded later.


What do they do about open file descriptors?


Store the path, position and open mode. Pipes will fail. Dynamic modules (shared libs) are also tried be re-opened.


Both DCS and Falcon BMS (actively maintained fork of Falcon 4) have fully clickable cockpits. You can also use keyboard shortcuts, of course.

Falcon BMS example: https://www.youtube.com/watch?v=_mU2d3PbD78


It most likely sounds difficult to understand because you are not familiar with it. Try working through the first few exercises in SICP; you'll see that it can be quite straightforward.


As someone who's spent many, many hours proving things in Coq, I concur with the original post--pointfree stuff is usually much less easy to read than the same function with named variables. A lot of that comes down to not being able to tell what's going on at all if you don't already know the arity of the functions you're using.


There are plenty of people working hard and making sacrifices who will never be well-off financially. Good work ethic is an advantage, but does not guarantee a good life.


A lot of forensic science, such as hair analysis, bullet casing analysis, and bite mark analysis, is either partially or entirely bunk.

- https://www.washingtonpost.com/local/crime/fbi-overstated-fo...

- https://www.sciencemag.org/news/2016/03/reversing-legacy-jun...

- http://www.bostonreview.net/books-ideas/nathan-robinson-fore...


They do in WSL2, as I understand it.


Try it out... install Ubuntu using WSL2. Install docker using apt-get. See that it doesn't work without the Docker Desktop install for Windows and a special integration. Try running podman or other container-based solutions and see that they don't work.


Having followed the instructions from https://docs.docker.com/engine/install/ubuntu/, I was able to get this working fine. This is without Docker Desktop installed. It probably would have also worked with the version from distro repository.

  zed@ZED-PC:~$ sudo service docker start
   * Starting Docker: docker                      [ OK ]
  zed@ZED-PC:~$ sudo docker run hello-world
  Unable to find image 'hello-world:latest' locally
  latest: Pulling from library/hello-world
  b8dfde127a29: Pull complete
  Digest: sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519
  Status: Downloaded newer image for hello-world:latest
  
  Hello from Docker!
  This message shows that your installation appears to be working correctly.

The full output for 'docker run' was much longer, so I've snipped it down to size


Are you even on Windows? This is with WSL 2, as you can systemd doesn't work as expected in WSL2. This is a known issue. If systemd is working for you, then you are doing something magic:

  sudo systemctl start docker
  [sudo] password for u3332:
  System has not been booted with systemd as init system (PID 
  1). Can't operate.
  Failed to connect to bus: Host is down
https://stackoverflow.com/questions/55579342/why-systemd-is-...


From that link (permalink to answer: https://stackoverflow.com/a/61887923) :

> Nowadays you can try:

> sudo service docker start

> when using WSL2, if you are running on windows version 2004 or higher (I assume).

Which is what I did in the listing above.


  sudo service docker start
  [sudo] password for u3323:
  docker: unrecognized service


Did you install docker from their own PPA linked in the instructions above, and are you on Ubuntu 20.04 with WSL2? Those are the only steps I took.

e:

  ver
on 'cmd' also shows

  Microsoft Windows [Version 10.0.19042.928]
if that helps

e:

Everything except the service start, which I had to find in that StackOverflow thread. We've hit the max comment depth, so I couldn't response to you directly.


Are you referring to the install instructions for Ubuntu? No where does it mention running the commands:

  sudo service docker start


If you run the Docker daemon manually, it works just fine. I'm running a container on it right now.

It's not a problem with Docker on WSL 2, but a problem with the way WSL uses its own init system instead of systemd, while some Ubuntu packages are packaged for a systemd system.


If you roast an onion for long enough, the flavor completely changes and it becomes quite sweet.

See: https://www.youtube.com/watch?v=xV9spqCzSkQ or https://joythebaker.com/2015/01/whole-roasted-onions/

Garlic can be roasted in similar manner.


F#, Kotlin, Python, Nim and many others all seem to get by fine without semicolons as statement terminators.


In Python, a newline is a token and serves as a statement terminator.

What I'm referring to is the notion that:

    a = b c = d;
can be successfully parsed with no ; between b and c. This is true, it can be. But then it makes errors difficult to detect, such as:

    a = b
    *p;
Is that one statement or two?


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

Search: