Better HN
topnewbestaskshowjobs
Log inSign up

nulltype

738 karma · joined Oct 15, 2013 (13y ago) · 478 submissions

Submissions

comment 10y ago · link · parent

The Let's Encrypt certificates seem to expire after 90 days. I wrote up some example code in Go so you can automate the process of issuing these certs here: http://goroutines.com/ssl

It does not require CSRs, but uses your DNS provider to complete the challenge. You do not need to run anything on your production servers.

92.

Generate Free SSL Certs in Go(goroutines.com ↗)

4 points · by nulltype · 10y ago · discuss

comment 10y ago · link · parent

Yeah they list a lot of requirements on this page: https://github.com/google/open-location-code/blob/master/doc...

Oddly I don't see redundancy (error detection or better yet, error correction) in there but it seems to be an important part of human language. They do make an effort to reduce symbols that could easily be confused at least.

comment 10y ago · link · parent

Having the city on there is maybe more readable in many ways. The other thing that sets this apart from what3words is that what3words won't give out their word list as far as I can tell. This could be because they have taken $5 million in funding.

comment 10y ago · link · parent

The most basic is, of course, printf debugging to a console or logging service. You could also connect over a network socket and inspect the current state of the unikernel, or do any sort of debugging things. This sounds the same as remote debugging now, the only difference is that the debugger agent would have to be implemented as a library (or hypervisor feature) rather than as a separate process. Erlang is supposedly fancy enough that you can do this sort of stuff with just the builtin tools.

It also seems like you could debug the unikernel like any other process if you run it as a VM on your machine. Except of course you can run any, say, x64 unikernel, instead of only programs built for your OS.

comment 10y ago · link · parent

Well hopefully your VMs are at least as well isolated as a linux process is.

comment 10y ago · link · parent

I use Go on App Engine and have never been able to SSH or GDB those machines. Nevertheless, I am still able to debug issues in my app.

I admit that debugging is easier on platforms where you get more control.

comment 10y ago · link · parent

Hallelujah!

comment 10y ago · link · parent

I'm pretty sure bullshit is relative. I think cooking and driving are both bullshit, but there are tons of people who love both of those.

comment 10y ago · link · parent

My bad, the comment system stripped my newlines. Fixed the post.

comment 10y ago · link · parent

If you have a mac (Yosemite), it looks like you want to add " UseRoaming no" under the "Host *" line in /etc/ssh_config (as root). You can test it before and after with this:

ssh -v -T git@github.com 2>&1 | grep Roaming

debug1: Roaming not allowed by server <- bad

ssh -v -T git@github.com 2>&1 | grep Roaming

(no output is good)

comment 10y ago · link · parent

The thermostat at my place works great. That wasn't enough to keep the heater from breaking for about a week around Thanksgiving.

comment 10y ago · link · parent

The guy who wrote that post definitely has technical skills.

comment 10y ago · link · parent

My favorite quote from the C++17 specs (https://isocpp.org/files/papers/D4492.pdf):

"""

The note was written for committee members, but “escaped into the wild.” Here are a few comments from the web:

• http://www.reddit.com/r/programming/comments/33us7z/what_wil... up_on_c17_goals/

• http://forums.theregister.co.uk/forum/1/2015/04/27/c_daddy_b... ections_for_v17/#c_2500733

• https://news.ycombinator.com/item?id=9441245

As you see, people outside the committee also have strong opinions. Those opinions can depart radically from the ones I hear in the committee and from reality.

"""

comment 10y ago · link · parent

This doesn't seem to be a requirement with esofund

comment 10y ago · link · parent

If you think his abstractions are bad, you should see object oriented programming.

comment 10y ago · link · parent

So Python 2 did not have super obvious string handling. One of the odd things that they seemingly could have fixed pretty easily is to change the default encoding from 'ascii' to 'utf8'. That would have fixed a bunch of the UnicodeDecodeErrors that were the most obvious problem with strings: http://www.ianbicking.org/illusive-setdefaultencoding.html

If they had to make Python 3 anyway, I think the main thing they were missing is that they should have added a JIT. That makes upgrading to Python 3 a much easier argument. If the only point of the JIT was to add a selling point to Python 3, that probably would have been worth it.

comment 10y ago · link · parent

It is a bug. But I think the point Facebook is making is that it is impolite to exploit the RCE bug and then access other systems.

comment 10y ago · link · parent

We can include an emergency bike in the trunk so you can still get where you are going.

comment 10y ago · link · parent

I guess if you're going to argue against MVC, you have to figure out what MVC means first. The original MVC isn't the same as many of the popular MVCs we have today:

https://github.com/ciscoheat/mithril-hx/wiki/Rediscovering-M... https://heim.ifi.uio.no/~trygver/2007/MVC_Originals.pdf

comment 10y ago · link · parent

It is certainly odd, but I'm guessing this is more about price discrimination. I think price must be greater than or equal to cost at some level, but certainly not proportional to it.

comment 10y ago · link · parent

Frameworks exist for that reason. I don't think that means every framework has to be MVC.

comment 10y ago · link · parent

Distributed and highly available systems are pretty interesting but something I've noticed is that it's really surprising how much you can get done with a centralized system (say a single redis instance) and how much easier it is. Some of the cloud VMs can run for years with only transient issues (GCE live migration is neat).

High availability is really cool as well, but I recently learned that world of Warcraft has apparently had <97% uptime for years due to weekly maintenance. That leads me to reconsider just how necessary those additional nines are. It seems like a lot of services would be better off optimizing for, say, operational efficiency than uptime. Doing server upgrades and rolling out patches when you have a multi hour maintenance window sounds waaay easier than live updates to your servers.

Of course it depends entirely on the service you are running, but I'm still impressed that a service as large as world of Warcraft can work fine with that level of uptime.

comment 10y ago · link · parent

I think people often combine remote with asynchronous. You can have people who work 3PM to midnight in the office, when everyone else is working 9-5 and it can be annoying for communication.

I like the idea that those are separate things and when people hire remote engineers they should go for engineers in the same time zone or ones who want to work synchronously wherever they are.

comment 10y ago · link · parent

It sounds like they can cause issues for marine life: https://en.wikipedia.org/wiki/Plastic_particle_water_polluti... such as just physically choking them or leaching chemicals.

It may be a good idea to not run the experiment of "what happens when we coat marine life with a lot of plastic beads" because it could be really expensive to clean up if we find out it's bad later on.

comment 10y ago · link · parent

CFLs also supposedly have a shorter life than incandescents if turned on and off frequently.

comment 10y ago · link · parent

I think you mean you'd trade exceptions for that.

comment 10y ago · link · parent

Why doesn't rpc over http work out well in practice?
12345
16