Better HN
topnewbestaskshowjobs
Log inSign up

alex_stoddard

828 karma · joined Sep 10, 2008 (18y ago) · 96 submissions

Submissions

1.

Logic programming is overrated, at least for logic puzzles (2013)(programming-puzzler.blogspot.com ↗)

68 points · by alex_stoddard · 3y ago · 42 comments

comment 4y ago · link · parent

It's an auto-immune disease with complex causality. It doesn't necessarily manifest at birth, the time to develop the auto-immune response and for it to become severe varies. For some individuals perhaps it never develops.

The same propensity to develop a harmful (until my mother's generation invariably fatal) immune response attacking the body's own insulin producing cells might be an advantage to fighting off certain infections (possibly in a different genetic context or living with a different set of environmental exposures).

3.

How to draw S-curved arrows between boxes(dragonman225.js.org ↗)

664 points · by alex_stoddard · 4y ago · 57 comments

comment 5y ago · link · parent

Another very entertaining series, with a much more SF bent, by Eric Flint, with Ryk E. Spoor is kicked of by the freely available 'Boundary'.

https://www.baen.com/boundary.html

(Like 1632 it also has a dreadful cover - actively despised by Ryk I believe).

comment 5y ago · link · parent

I haven't fully grokked it myself. But it relates to the concept and implementation of a Lisp reader.

https://en.wikipedia.org/wiki/Lisp_reader

"Unlike most programming languages, Lisp supports parse-time execution of programs, called "read macros" or "reader macros". These are used to extend the syntax either in universal or program-specific ways."

read-string is a convenience over calling read itself as it will take a string rather than needing you to create a java.io.PushbackReader yourself.

As such read and read-string were implemented as core to Clojure's self interpretation and implementation, not as part of a general safe serialization API.

Unfortunately the temptation was to reach for read-string for de-serialization in general as it was so convenient and in the core. In a dev setting where you control and trust all input that is fine. In other contexts it definitely is not!

comment 5y ago · link · parent

They do specifically say single use plastics where I suppose a lot of applications are in food packaging. It just has to last significantly longer than the food spoilage time to be useful.

comment 5y ago · link · parent

Uninformed speculation: I would hypothesize the mRNA process could react faster to flu mutations, the current vaccines are kind of trying to guess which strains are going to be important in the next flu season. It is also possible the mRNA technology could cover a broader spectrum of flu antigens.

Influenza genetics are weird: https://www.cdc.gov/flu/about/viruses/change.htm

https://www.nature.com/articles/nature06945

https://www.nejm.org/doi/full/10.1056/nejmp0904819

comment 5y ago · link · parent

To me footnotes/endnotes exist as the least bad way of working with supplemental information within the constraints of the _printed_ page (i.e. it can't be dynamically re-rendered).

I want my electronic documents to do it better, with true re-rendering and inline/overlay display on demand. But it is partly a matter of taste, and there is also something to be said for a degree of skeuomorphism.

comment 6y ago · link · parent

Thank you kindly for providing the way to actually do the documented: "You can determine if make contains support for Guile by examining the .FEATURES variable; it will contain the word guile if Guile support is available."

Unix - the documentation is excellent if you already know how to do it...

comment 6y ago · link · parent

This seems like two examples of errors converting decimal fractions to percentages in hacker news in one day.

Very roughly it looks like they should have said 0.1 or 10%.

10% of combinded GDP is very much not an easy investment to make!

comment 6y ago · link · parent

"Under-promotion" - deliberately not changing a pawn into a queen is very rare and the unique properties of the knight do matter tactically. Under-promotion not to a knight can matter because of stalemate. (Most under-promotion is the domain of chess problems rather than games). https://www.chess.com/article/view/a-guide-to-underpromotion

comment 6y ago · link · parent

https://www.xkcd.com/125/

comment 7y ago · link · parent

Maybe I'm contrarian but I was deeply disappointed by The Matrix, mostly because I feel it wasted a fantastic premise and opportunity to explore such issues.

I found its approach to the philosophical issues it touched on was facile and pretentious. A very cool looking movie but it could have been so much more profound.

comment 7y ago · link · parent

It is on my to-read-someday list but Snow Crash was published in 1992!

comment 7y ago · link · parent

Any recommendations for books written post 2000 that might bear comparison to Orwell's "1984" come 2070?

comment 7y ago · link · parent

https://en.wikipedia.org/wiki/Solitaire_(cipher)

  "The Solitaire cryptographic algorithm was designed by Bruce
  Schneier at the request of Neal Stephenson for use by field
  agents in his novel Cryptonomicon, enabling them to
  communicate securely without having to rely on electronics or
  having to carry incriminating tools, It was designed to be a
  manual cryptosystem calculated with an ordinary deck of
  playing cards. In Cryptonomicon, this algorithm was
  originally called Pontifex to hide the fact that it involved
  playing cards."

comment 8y ago · link · parent

Looks like it is implemented in python(2) with use of the stdlib sqlite3 module. https://github.com/harelba/q/blob/master/bin/q

comment 8y ago · link · parent

What are the decent options as of today and from what supplier/retailer? I've been struggling to find exact that - a decent dumb cellular phone.

comment 8y ago · link · parent

Am I correct to assume all the designs are for US Letter paper?

(And not the A4 size common in the UK and elsewhere. http://betweenborders.com/wordsmithing/a4-vs-us-letter/)

I remember the frustration as kid getting a book of designs from the US and having none of them work quite right.

comment 8y ago · link · parent

https://www.cdc.gov/acute-flaccid-myelitis/afm-surveillance....

> All of the AFM cases have tested negative for poliovirus.

comment 8y ago · link · parent

Does the rocket equation still bite to hard if fuel production is outside Earth's gravity well?

comment 8y ago · link · parent

It's nice to see an editor for the BMJ (formerly British Medical Journal) has a sense of humor. I wasn't expecting to see Pratchett T. as the first citation in a (somewhat) serious medical journal article.

comment 8y ago · link · parent

I'm inferring from the article the problem is spatial/temporal resolution of the _radar_ currently being used for speed sensing for adaptive cruise control. There are lots of objects that are stationary and near to the road but not in the path of the vehicle (road signs, overhead signs).

comment 8y ago · link · parent

I believe they made their own "good enough" clock out of a loop in a webworker.

comment 8y ago · link · parent

That is not my understanding. The current use of the word "patent" has become rather ironic compared to its historical meaning.

"Patent" just means "open", in this case openly declared, not secret.

Ideally "patenting" an invention provides an alternative to an inventor hoarding a trade secret that dies with him or his company. The quid pro quo for the public good of making a technology open knowledge is a temporary government granted monopoly.

The ideal and reality seem to have parted company a long time ago...

comment 8y ago · link · parent

But to stretch the analogy a bit further would it be fair to say that impact factor is very like sexual selection for extreme display traits that otherwise are detrimental to the wellbeing of the species?

Yes impact factor matters to current science as practiced but there is plenty of good criticism to show (at least as it is currently calculated) that it is a lousy measure of what is likely to end up being true, reproducible and useful.

comment 9y ago · link · parent

I have only skimmed the paper but one thing I don't see any discussion of is whether komi (the handicap given to white for going second) is correct.

They do say the rules used for all games, including self-play, set komi consistently to 7.5 .

If the strongest AI was consistently winning predominantly with one color it would be an indication that komi isn't fair for the best play.

Of the 20 games released for the strongest play it appears white won 14 times and black 6. I don't think that is enough to be conclusive but maybe komi is too high.

I wonder if different "correct" play at the strongest levels would be learned with a 6.5 komi.

comment 9y ago · link · parent

In my church experience part of the annual general meeting isn't imitating a corporation meeting - it _is_ a corporation meeting. This is because the church has wisely put its earthly assets (mostly the building and operating money) under a corporation.

My experience comes from presbyterian churches which have some highly analogous features to corporations deriving from theology and predating by thousands of years the modern corporation. Thus there is a annual "Congregation and Corporation meeting", which is really two meetings for convenience held at the same time but which are formally started and ended separately. Participation is almost identical save that the "Congregation" can have communicant members that are minors and therefore not legally voting members of the earthly corporation.

comment 9y ago · link · parent

That sounds very plausible. I would be very interested in sources for this. How many accounts of wolves raised as pets exist and when and where have wolves had to be euthanized? Is there a distinction between accounts where the euthanasia occurred before an actual incident of dominance/attack versus after.

comment 9y ago · link · parent

Data on national scale, like the eia stuff you link to, is vital to understanding and debate.

What I realize I don't understand is the meaning of "Generation at Utility Scale Facilities" in the header of the table. What does this exclude and how meaningful is the exclusion?

According to the table, net generation at utility scale has decreased 10% over the last decade. How much of that is driven by non-utility scale generation versus decreased energy usage? (Alternatively non-utility scale generation has outpaced total growth in energy use - I'm ignorant of total consumption data so I don't know what is really going on).

Either way, the numbers do seem to suggest a case for new nuclear generation overall.

1234