HNHacker News
TopNewBestAskShowJobs

janzer

2,178 karma · joined December 6, 2009

submissionscomments
janzer··on ELIZA is Turing Complete
A one character typo seems more likely, than a non-standard date format for two dates in the future being used as timestamps.
janzer··on Show HN: Mako – a full Bitcoin implementation in C
Mako is also a fairly popular python template library.

https://www.makotemplates.org/

janzer··on Why AM and Eurisko Appear to Work (1983) [pdf]
There was a brief discussion/effort to reimplement Eurisko on LessWrong about a decade ago[0], of course it rapidly devolved into whether such effort would promote the end of the human race.

[0]: https://www.lesswrong.com/posts/t47TeAbBYxYgqDGQT/let-s-reim...

janzer··on What it was like developing for NES back in 1990
My guess is the trick is needed four times per frame. For every field you need it once to start the static portion drawing, then once more to stop.
janzer··on Starlink Ground Station Map
There have already been USAF flight tests of starlink https://en.wikipedia.org/wiki/Starlink#Military_user_tests
janzer··on Ask HN: Why are 5 inch USB floppy drives so uncommon?
Basically just technology improving over time. Just looking at wikipedia, 5.25" was introduced in 1976 not clear at what capacity but it fairly early on settled into 360KB. The 3.5" was introduced in 1982 at 720KB with 1.44MB broadly used by late 1980's. The Zip drive was introduced in late 1994 with 100MB capacity and was later expanded up to 750MB. But by that time CD-ROM technology with its cheaper media and less proprietary nature was very much replacing the magnetic based portable storage media.
janzer··on Look Up Unknown Phone Numbers Using Facebook Reset Password
According to https://www.twilio.com/lookup 1.5 cents per lookup, would be 1 cent without the carrier information.
janzer··on We rebuilt Corewars and used it to teach Computer Science students in India
Also of note is that in some regions it is apparently common to run the power to the fixture itself, then extend down to the switch. Which means there will always be hot wires at the fixture unless the circuit is shut off.

My experience with this comes from people who were from the southern US and who found it very weird and even at first insisted it was "wrong" to run the power to the switch then to the fixture. My theory on where this comes from is that this is a result of most homes in that area being built on slabs and so the power feeds are generally run through the ceiling. Whereas locally most buildings have basement/crawl spaces so the power feeds are generally in the floor then run up the wall to the switch and extend from there to the fixtures.

janzer··on Pinecil: Portable USB-C RISC-V soldering iron
I'm guessing that it is this one https://www.electronicdesign.com/technologies/analog/article...

Unfortunately it looks like all the figures are 404 on the article, fortunately IA seems to have them https://web.archive.org/web/20201112004309/https://www.elect...

Edit: Bit of a funny aside; the editor who wrote the subtitle incorrectly identifies the P in PID as "Peripheral" even though the article correctly states it is "Proportional" in the fourth paragraph.

janzer··on Stripe Checkout
The blog post[1] (which seems like a better link than the landing page) says, "Today, we’re adding support for coupons, tax rates, and two new payment methods".

1. https://stripe.com/blog/checkout

janzer··on The ‘-ize’ have it (2012)
That may be more true than most realize.

https://www.bbc.com/culture/article/20180207-how-americans-p...

janzer··on Accidentally Turing-Complete
While rather more dense, I find Gwern's article/list[1] a bit more extensive (although missing a few from this list), while also having some interesting commentary on security implications.

[1] https://www.gwern.net/Turing-complete

janzer··on Detroit's salt mine: City beneath the city
Just a note that while there are[1] 3 transmission lines of 14, 14 and 28 miles in the UP, the lines themselves were mounted on (essentially) telephone poles. The end of each line does have 1 to 3 miles of buried horizontal ground wire though and an array of 100 to 300 foot deep bore holes.

[1] or at least were; the project was shutdown in 2004 and while the paths of the antenna lines still seem to be visible on satellite photos[2] it looks like the lines themselves may have been removed.

[2] The transmission station itself is at https://goo.gl/maps/q5BwduBqbBpAaf1L9 with the 28 mile antenna segment running roughly north south just to the west, one 14 mile segment running east-west a little to the north of the facility and the second to the south.

janzer··on One million lines of code ought to be enough for anybody
Just want to note that is only a proposal which:

* The steering council decided that they will make the final decision on it directly. [1]

* Their has definitely been a less than enthusiastic response from the python devs overall and some of the steering council members specifically, including GVR [2]

[1] https://mail.python.org/archives/list/python-dev@python.org/... [2] https://mail.python.org/archives/list/python-dev@python.org/...

janzer··on An Astronaut Accidentally Called 911 from Space
Well, you could drive straight up for the 4 hours just so you could wave as it passed you going 70+ times faster than a formula one race car. Alternatively after the drive you can have the worst car accident in history.
janzer··on Why Can’t We Find Planet Nine?
The difference in definition between a planet and a dwarf planet is just that a dwarf planet has not cleared debris from it's orbit. So not directly dependent on the mass, diameter etc.

I'm unsure why the further would orbits require a larger size though; my guess is something to do with longer, slower orbits needing more mass to get rid of the debris.

janzer··on Incident Command for DevOps: Learning from the Fire Department [video]
For anyone wanting to dig into the ICS the authoritative introduction is the NIMS IS-100[1] course. Be aware that it's your standard government produced course, i.e. not entertaining in any way but generally manages to get the point across.

If I understand/remember correctly, IS-100 and 200 are the required courses on ICS (along with 700, 800 for NIMS itself) for all frontline firefighters on any fire department wanting to receive federal money.

1. https://training.fema.gov/is/courseoverview.aspx?code=IS-100...

janzer··on All U.S. National Parks Are Free to Enter on Sunday
National Heritage Areas (NHAs), while administered by the National Park Service, are not National Parks. To quote from the NPS website[0]:

NHAs are not national park units. Rather, NPS partners with, provides technical assistance, and distributes matching federal funds from Congress to NHA entities. NPS does not assume ownership of land inside heritage areas or impose land use controls.

[0] https://www.nps.gov/articles/what-is-a-national-heritage-are...

janzer··on Confessions of an Ex-Prosecutor (2016)
From what little, and indirect, contact I've had with the US criminal justice system my impression is most defense lawyers are paid for by the state (e.g. the public defenders office).

A quick search turns up this[1] report from 2000 that says:

Over 80% of felony defendants charged with a violent crime in the country’s largest counties and 66% in U.S. district courts had publicly financed attorneys.

Having said that, the report is from 2000 and it seems the data is from the mid to late '90s. So things may have changed since then but I don't see any evidence of that.

I'm not sure that combining the prosecutor's and public defender's office would work, but having a system where the lawyers end up switching between prosecution and defense cases does seem like it may help avoid pushing them into extreme views for either side.

1. https://www.bjs.gov/content/pub/pdf/dccc.pdf

janzer··on Halite II Programming Contest Launched
While last year was a very abstract theme, this year follows a space combat theme somewhat hearkening back to the aichallenge.org Planet Wars.

The contest is open source and github repo for the contest can be found at https://github.com/HaliteChallenge/Halite-II

janzer··on How Differential Steering Works (1937) [video]
To be clear, I'm pretty sure the narrator in these films is not Jam Handy. There is an interview with Mr. Handy himself here https://www.youtube.com/watch?v=AlDdE3Q5BWM

Possibly interesting sidenote, to this day a large number of the audio/visual and staging companies in the Detroit area can trace their lineage back to the Jam Handy Organization. Although I have a feeling we may now be a generation far enough removed that many of them may no longer know it.

janzer··on Toyota Research Institute head says full autonomous driving is “not even close”
> remember human vision is 570+ megapixels

This seems to come from http://www.clarkvision.com/articles/eye-resolution.html

But that number is a calculation of the maximum resolving power of the human eye filled across a 120 degree field of view. The fovea is the only portion of the retina that actually attains that acuity and it encompasses roughly 2 degrees in the center of the retina.

There are roughly 120 million rod cells and 6 million cone cells in the retina. The rod cells for color vision and cone cells for low light. As each individual rod cell is primarily sensitive to one of red, green or blue they match fairly well to the rgb channels of a pixel. So the eye could be considered to provide data roughly equivalent to a 40 megapixel color image and grayscale 6 megapixel. So ~5 times a 4k image.

Edit: And even that actually over estimates the amount of data the brain is actually processing. A 4k 60 fps video is handled by 6Gbps and the human optic nerve only has roughly 8.75Mbps of bandwidth.

janzer··on FBI never examined hacked DNC servers
Before anyone else is confused while reading the article, this was published January 4th.
janzer··on Red-light camera grace period goes from 0.1 to 0.3 seconds, Chicago to lose $17M
At least in Michigan yellow lights certainly have legal rules enforcing them, from MCL 257.612 (b):

    If the signal exhibits a steady yellow indication, vehicular traffic facing the signal shall stop before entering the nearest crosswalk at the intersection or at a limit line when marked, but if the stop cannot be made in safety, a vehicle may be driven cautiously through the intersection.
And I know of at least one case of someone getting a ticket, challenging it in court and losing after failing to stop for the yellow light.

Edit: Found the relevant Illinois law 625 ILCS 5 Sec. 11-306 (a)1.:

   Vehicular traffic facing a steady circular yellow or yellow arrow signal is thereby warned that the related green movement is being terminated or that a red indication will be exhibited immediately thereafter.
So still legally defined but it seems in Illinois the yellow is simply a warning signal and does not include a requirement to stop.
janzer··on Rust on AVR: Safer microcontrollers almost here
A PDP-11 is the classic example of a microcontroller. ;)

Here's a picture of the model used for the Therac-25 the PDP-11/23 http://www.physics.purdue.edu/~jones105/pdp-11/images/IMG_28...

janzer··on First ‘water-wave’ laser created
A bad css reset file seems to be the problem. It sets `vertical-align: baseline` on just about everything, including the sub and sup tags. Then never sets sub and sup back to anything reasonable.
janzer··on Chernobyl’s Hot Mess, “the Elephant’s Foot”, Is Still Lethal (2013)
(2013)
janzer··on Halite: An AI Programming Challenge
Any language that can read and write stdio is supported.
janzer··on Halite: An AI Programming Challenge
Congratulations on your launch and I hope you enjoy running it. It can be a lot of fun and quite the challenge at times. This looks like a very nice spiritual successor to the ai challenge ants contest.
janzer··on RevDB, the Reverse Debugger for Python
The reason I posted this is that RevDB just had its first beta release, and now I just found the official blog post announcing that release. So probably better than the above url would have been this, https://morepypy.blogspot.com/2016/09/revdb-released-v541.ht...
← PreviousPage 2 of 6Next →