-1 byte thanks to Erik the Outgolfer (replace 10
with ⁵
)
15r1×€9,5+“£Ȧ“¡^’d⁵Dj€€”.j€⁾- Uz⁶ZUj@€⁾||
“¡ẹƭgụḌẊṘgYƊxyẓṡƝçƤ5ȥṭ’ṃ“.| '-”s7ŒBs5j¢Y
Try it online!
How?
15r1×€9,5+“£Ȧ“¡^’d⁵Dj€€”.j€⁾- Uz⁶ZUj@€⁾|| - Link 1, body: no arguments
15r1 - inclusive range(15,1) = [15,14,...,2,1]
9,5 - pair nine with five = [9,5]
×€ - multiply for €ach = [[135,75],[126,70],...,[18,10],[9,5]]
“£Ȧ“¡^’ - list of base 250 numbers = [941,345]
+ - addition = [[1076,420],[1067,415],...,[959,355],[950,350]]
d⁵ - div&mod 10 = [[[107,6],[42,0]],[[106,7],[41,5]],...,[[95,9],[35,5]],[[95,0],[35,0]]]
D - convert to decimal lists = [[[[1,0,7],6],[[4,2],0]],[[[1,0,6],7],[[4,1],5]],...,[[[9,5],9],[[3,5],5]],[[[9,5],0],[[3,5],0]]]
”. - literal '.'
j€€ - join €ach for €ach = [[[1,0,7,'.',6],[4,2,'.',0]],[[1,0,6,'.',7],[4,1,'.',5]],...,[[9,5,'.',9],[3,5,'.',5]],[[9,5,'.',0],[3,5,'.',0]]]
⁾- <space - literal ['-',' ']
j€ - join €ach = [[1,0,7,'.',6,'-',' ',4,2,'.',0],[1,0,6,'.',7,'-',' ',4,1,'.',5],...,[9,5,'.',9,'-',' ',3,5,'.',5],[9,5,'.',0,'-',' ',3,5,'.',0]]
U - upend (reverse each) = [[0,'.',2,4,' ','-',6,'.',7,0,1],[5,'.',1,4,' ','-',7,'.',6,0,1],...,[0,'.',5,3,' ','-',9,'.',5,9],[0,'.',5,3,' ','-',0,'.',5,9]]
z⁶ - transpose space filler = [[0,5,...,5,0],['.','.',...,'.','.'],[2,1,...,5,5],[4,4,...,3,3],[' ',' ',...,' ',' '],['-','-',...,'-','-'],[6,7,...,9,0],['.','.',...'.','.'],[7,6,...,5,5],[0,0,...,9,9],[1,1,...,' ',' ']]
Z - transpose = [[0,'.',2,4,' ','-',6,'.',7,0,1],[5,'.',1,4,' ','-',7,'.',6,0,1],...,[5,'.',5,3,' ','-',9,'.',5,9,' '],[0,'.',5,3,' ','-',0,'.',5,9,' ']]
U - upend = [[1,0,7,'.',6,'-',' ',4,2,'.',0],[1,0,6,'.',7,'-',' ',4,1,'.',5],...,[' ',9,5,'.',9,'-',' ',3,5,'.',5],[' ',9,5,'.',0,'-',' ',3,5,'.',0]]
⁾|| - literal ['|','|']
j@€ - join €ach (reversed @rgs) = [['|',1,0,7,'.',6,'-',' ',4,2,'.',0,'|'],['|',1,0,6,'.',7,'-',' ',4,1,'.',5,'|'],...,['|',' ',9,5,'.',9,'-',' ',3,5,'.',5,'|'],['|',' ',9,5,'.',0,'-',' ',3,5,'.',0,'|']]
- effectively ["|107.6- 42.0|","|106.7- 41.5|","|105.8- 41.0|","|104.9- 40.5|","|104.0- 40.0|","|103.1- 39.5|","|102.2- 39.0|","|101.3- 38.5|","|100.4- 38.0|","| 99.5- 37.5|","| 98.6- 37.0|","| 97.7- 36.5|","| 96.8- 36.0|","| 95.9- 35.5|","| 95.0- 35.0|"]
“¡ẹƭgụḌẊṘgYƊxyẓṡƝçƤ5ȥṭ’ṃ“.| '-”s7ŒBs5j¢Y - Main link: no arguments (using "..." below to represent lists of characters)
“¡ẹƭgụḌẊṘgYƊxyẓṡƝçƤ5ȥṭ’ - base 250 number = 1694125525350532761476179586378844141697690917975
“.| '-” - literal ['.','|',' ',"'",'-']
ṃ - base decompression = ".------| | '-. .-' -'---. - | - |-- | '--"
s7 - split into 7s = [".------","| ","| ","'-. ",".-' -","'---. -"," | -"," |--"," | "," '--"]
ŒB - bounce (vectorises) = [".-----------.","| |","| |","'-. .-'",".-' - '-.","'---. - .---'"," | - | "," |---| "," | | "," '---' "]
s5 - split into 5s = [[".-----------.","| |","| |","'-. .-'",".-' - '-."],["'---. - .---'"," | - | "," |---| "," | | "," '---' "]]
¢ - call last link (1) as a nilad
j - join = (using "..." below to represent mixed-type lists from the result of ¢)
= [".-----------.","| |","| |","'-. .-'",".-' - '-.","|107.6- 42.0|","|106.7- 41.5|","|105.8- 41.0|","|104.9- 40.5|","|104.0- 40.0|","|103.1- 39.5|","|102.2- 39.0|","|101.3- 38.5|","|100.4- 38.0|","| 99.5- 37.5|","| 98.6- 37.0|","| 97.7- 36.5|","| 96.8- 36.0|","| 95.9- 35.5|","| 95.0- 35.0|","'---. - .---'"," | - | "," |---| "," | | "," '---' "]
Y - join with newlines = :
.-----------.
| |
| |
'-. .-'
.-' - '-.
|107.6- 42.0|
|106.7- 41.5|
|105.8- 41.0|
|104.9- 40.5|
|104.0- 40.0|
|103.1- 39.5|
|102.2- 39.0|
|101.3- 38.5|
|100.4- 38.0|
| 99.5- 37.5|
| 98.6- 37.0|
| 97.7- 36.5|
| 96.8- 36.0|
| 95.9- 35.5|
| 95.0- 35.0|
'---. - .---'
| - |
|---|
| |
'---'
13The shape reminds me more of a pregnancy test ._. – Magic Octopus Urn – 2017-04-26T19:08:52.583
1
@carusocomputing Inspiration. But hey, maybe she doesn't have a cold, but is just pregnant? This could of course be good or bad…
– Adám – 2017-04-26T19:12:16.9272@Adám is there anything you don't have a source for :P? – Magic Octopus Urn – 2017-04-26T19:13:36.687
3@carusocomputing That he puts in a huge amount of effort. Maybe all that he does is really easy for him. Did he ever mention it being hard? – Adám – 2017-04-26T19:18:01.687
2
I've found proof of Dennis busy with life chores, but google comes up empty for all this PPCG nonsense haha.
– Magic Octopus Urn – 2017-04-26T19:25:41.700I dare you to add citations to every word in this post ;) – Beta Decay – 2017-04-26T19:31:12.193
8Aww, hope she gets well. Anyways, I'm giving a +100 bounty to who makes a functional thermometer! :P – Matthew Roh – 2017-04-26T22:55:14.220
1@SIGSEGV I'm in. – Adám – 2017-04-26T22:55:53.467
1@Adám O_o that includes sneaking in Dennis' house and secretly attaching a thermometer on his daughter :\ – Matthew Roh – 2017-04-26T22:57:30.063
4
@SIGSEGV Try it online! - Source
– Adám – 2017-04-26T23:11:01.623...Why isn't there Dennis:The language yet though? – Matthew Roh – 2017-04-27T13:33:20.153
5@SIGSEGV it'd be a menace. – Magic Octopus Urn – 2017-04-27T18:05:47.610
@SIGSEGV So Jelly? – dkudriavtsev – 2017-04-27T19:04:30.730
@Nobody You should consider making "make a functional thermometer" a separate question. Depending on specs, it might be like 44 bytes in Mathematica... – Mark S. – 2017-08-12T16:42:29.033