English ship Nonsuch (1646)
Nonsuch was a 38-gun fourth rate frigate of the English Navy, built by Peter Pett I at Deptford Dockyard and launched in 1646.[1]
History | |
---|---|
![]() | |
Name: | HMS Nonsuch |
Ordered: | December 1645 |
Builder: | Peter Pett I, Deptford Dockyard |
Launched: | 1646 |
Fate: | Wrecked, 1664 |
General characteristics | |
Class and type: | 34-gun fourth rate frigate |
Tons burthen: | 418 44⁄94 bm |
Length: | 98 ft 0 in (29.9 m) (keel) |
Beam: | 28 ft 4 in (8.6 m) |
Depth of hold: | 14 ft 2 in (4.3 m) |
Sail plan: | Full rigged ship |
Armament: | 38 guns of various weights of shot |
Nonsuch was wrecked in 1664.[2]
Notes
- Winfield 2009, p. 91
- Lavery 2003, p. 159
gollark: Okay, this might fix it, pushed.
gollark: If the issue is what I think it could be, then it's accidentally dropping? data on the threshold of the rolling counter region incorrectly.
gollark: ```nimproc pollTargets(ctx: Ctx) {.async.} = for row in ctx.db.all("SELECT * FROM sites"): var (id, url, rollingTotalPings, rollingSuccessfulPings, rollingLatency, rollingDataSince) = row.unpack((int64, string, int64, int64, int64, Option[Time])) let res = await ctx.pollTarget(url) let threshold = getTime() # drop old data from rolling counters if rollingDataSince.isSome: for row in ctx.db.iterate("SELECT status, latency FROM reqs WHERE timestamp >= ? AND timestamp <= ? AND site = ?", rollingDataSince.get, threshold, id): let (statusRaw, latency) = row.unpack((int, int)) rollingTotalPings -= 1 rollingLatency -= latency if statusRaw <= 0: rollingSuccessfulPings -= 1 # add new data rollingTotalPings += 1 rollingLatency += res.latency if int(res.rtype) <= 0: rollingSuccessfulPings += 1 ctx.db.transaction: ctx.db.exec("UPDATE sites SET rc_total = ?, rc_success = ?, rc_latency = ?, rc_data_since = ? WHERE sid = ?", rollingTotalPings, rollingSuccessfulPings, rollingLatency, threshold, id) ctx.db.exec("INSERT INTO reqs (site, timestamp, status, latency) VALUES (?, ?, ?, ?)", id, getTime(), int(res.rtype), res.latency)```This is the core algorithm.
gollark: Actually, æææææ who even knows.
gollark: The boundary conditions could be wrong on this query.
References
- Lavery, Brian (2003). The Ship of the Line - Volume 1: The Development of the Battlefleet 1650-1850. Conway Maritime Press. ISBN 0851772528.
- Winfield, Rif (2009). British Warships in the Age of Sail, 1603-1714: Design, Construction, Careers and fates. Seaforth. ISBN 9781848320406.
This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.