« first day (1576 days earlier)      last day (3261 days later) » 

12:02 AM
@Optimizer yes, I have activated them, but I only use them rarely (apart from s which I use all the time)
I have a feeling @Doorknob is a keyboard shortcut power user though
 
I have that feeling as well.
 
12:30 AM
Anyone with some Pyth experience know how I might write something like [m.group(1)+m.group(2)for m in re.finditer(r"(\w).*(\w).*\2.*\1",e,16)]
I can't really seem to find any re.finditer in the documentation
 
It's not
Pyth doesn't have full regular expressions.
 
ah thats a shame
 
You'd have to do it manually, unfortunately.
 
hmm that will be tricky
 
Well you can call regular Python stuff, right? I don't know Pyth at all but I seem to remember seeing that you can surround something with $ maybe and it'll be Python. Maybe I'm making that up.
 
12:34 AM
That is true. Only works offline, though.
 
I think so
hmm
 
Well there's your finditer.
 
theres also the matter of the m.group(1)
 
I strongly doubt it will be shorter than writing it in straight Pyth, though.
 
would I have to use $$ for both
 
12:35 AM
Or, you know, just do it in Python.
 
I already have python code but since the vast majority was itertools type stuff I though it would be a good fit with Pyth
 
Ah
It's definitely doable in Pyth, just not as a direct translation.
 
mm yeah
 
12:53 AM
@isaacg: Has anyone every told you how awesome a job you did with Pyth?
*ever
 
Not in so many words. Thanks.
 
:)
It must be really cool seeing a bunch of folks here using this language that you came up with and implemented. Even I, a notoriously poor golfer, have toyed with the idea of learning Pyth. You've made a lasting impact on our little community.
I'll stop all the gushing now.
 
1:09 AM
"You've made a lasting impact on our little community" Much to the detriment of my poor little C code... :P But seriously, @isaacg, Pyth is cool.
really cool.
 
Thanks, it really means a lot.
 
1:22 AM
I really want all of the awesome people here to know how awesome they are.
 
and I'm building the next version of Pyth, which is even awesomer!
 
Nice work, orlp!
 
Yeah, Pyth 5's going to be amazing.
 
Maybe I'll do Pyth 6 and screw it all up.
 
I have dibs on Pyth 7
 
1:36 AM
I'll make Pyth 4.5 and throw everyone for a loop
 
Pyth 6 will be rewritten in Julia, Pyth 7 will be rewritten in C.
 
Pyth 8 assembler.
 
Pyth 4.5 will consist entirely of bounded loops.
 
Pyth 9 raw binary.
Pyth 10 will be uploaded directly to our brains.
 
In all serious, Pyth implemented in another language would be cool. Probably doable in any c-like language. (We're removing $).
 
1:37 AM
a ton of work though
there's so many overloads
 
I had thought about making a golfing language based on Julia.
But I don't understand things, so I probably won't.
 
You understand things!
 
Like bread!
 
Only when it's crummy, though.
 
What about when it's yummy?
 
1:39 AM
Geese don't understand why they like breadcrumbs. They just start eating it and think, "wtf am I doing"
 
"My entire life has led to picking up these annoying little crumbs with a beak."
 
I would imagine that the thoughts of geese are less existential.
HONK. Bread. HONK. Chase that guy. HONK. I'm a huge jerk.
 
HONK. Let's flap my wings just to watch the little kids run away.
 
My entire browser history yesterday was just Google Image searches for "goose chasing people"
 
I think it's time to stage an intervention.
 
1:43 AM
I've begun to adopt the goose persona.
I'm a huge jerk and I chase people in the park just yelling, "HONK"
 
The first step is realizing you have a problem.
 
Maybe I should switch to a mongoose.
 
I can't find many images of mongeese (mongooses?) chasing people.
 
They don't chase people because people have noticed that mongooses scare the crap out of lions and eat snakes.
People maintain a safe distance.
 
That sounds like an underestimation of human stupidity.
I would hug that mongoose.
 
1:50 AM
The article associated with that picture said that the mongoose bit one of the lions on the nose.
I would probably forego the hug.
 
I'd bite a lion's nose too, and people hug me... Sometimes...
You know, a little lion.
 
That's animal cruelty, bro. The WWF would be sad.
 
Just a nybble...
 
"Nybble"?
 
1:57 AM
mongoose -> mongeese?
 
Quoth the Wikipedia: "The plural form is mongooses, or, rarely, mongeese."
 
ox -> oxen
mongoose -> mongeesen
 
box -> boxen
 
That sounds German. Perhaps Martin would have some insight.
 
I believe the German would sound more like "Bochzen"
 
2:01 AM
in Dutch
doos -> dozen
 
Oh right, @orlp, you're in a Dutch speaking country, right?
 
@AlexA. I'm in the Dutch speaking country :)
Dutchland.
 
Nobody else speaks it?
 
No, but the Netherlands is the main Dutch speaking country. (Dutchland is a joke)
"Dutch" in Dutch is Nederlands
 
Quoth the Wikipedia: "Mainly the Netherlands, Belgium, and Suriname; also in Aruba, Curaçao, Sint Maarten, as well as France (French Flanders). mainly Western Europe, today also in Africa, South America and the Caribbean."
 
2:04 AM
We may need a "Quoth the Wikipedia" bot...
 
what?
Dutch ( Nederlands ) is a West Germanic language and the native language of most of the population of the Netherlands, and about sixty percent of the populations of Belgium and Suriname, the three member states of the Dutch Language Union. Most of its speakers reside in the European Union, where it is spoken as a first language by about 23 million people and as a second language by about another 5 million. Dutch also holds official status in the Caribbean island nations of Aruba, Curaçao and Saint Maarten, whereas Dutch or dialects assigned to it continue to be spoken in parts of France and Germany...
it works just fine
 
What do you mean?
I Googled "which countries speak dutch" and copy/pasted the top result.
 
no I was referring to the wiki bot
 
Right, but you get the article. I was just quoting a piece.
 
I just think we need a bot that randomly quotes the first sentence of a wikipedia article.
 
2:07 AM
Where's the dev when you need him...
 
You'll be vaguely understood in South Africa too
 
Isn't Afrikaans similar to Dutch?
 
Yes - derived directly from it
 
@AlexA. yes
have to thank slavers for that
 
... :|
 
2:16 AM
Turning that frown upside down doesn't help at all D:
 
Just makes for heavy eyebrows
 
|:(
 
|:)
 
:|/
 
c|: )
Hat?
 
2:17 AM
|:( looks like a frowning person with a furrowed brow. |:) just looks like someone with a unibrow.
 
3:06 AM
@Calvin'sHobbies
 
@AlexA.
 
@Calvin'sHobbies Hey what's up
 
I'm about to post BBBF. Just going to read through a couple more times.
 
OOH
Nice
I just now saw your meta comment. Gotta sandbox the comments.
 
3:25 AM
I really think you should have capitalized on the whole "flock" aspect by making the challenge revolve around geese.
 
It always comes back to geese.
 
@AlexA. You can have a Goosebot entry and satisfy your craving
 
I just wish I actually liked geese.
 
 
Avatar fraud
 
3:35 AM
I'm a Canadian goose. We're a little more polite than those American geese.
I might need to go to goose rehab.
 
0
Q: Should we flag questions with incorrectly accepted answers for moderator attention?

orlpTake for example this question. The top answer is pretty great, and as such it has received a lot of votes. But it is not the winning answer. Should we flag such questions for moderator attention? If not, what else should we do?

 
holy shit?
does a goose have teeth on its tongue?
that's fucking hardcore
 
Hahaha
 
3:49 AM
I have a feeling that Martin and Doorknob would be annoyed by a barrage of custom mod flags for old challenges with new answers.
 
@AlexA. should we make you a moderator?
and attach breadcrumbs as a bribe to every flag?
 
Yes
 
@orlp And have our chat renamed The Nineteenth Goose? I don't think so.
4
 
I should probably detach from the goose persona a bit.
 
@MartinBüttner Say, how did you become an owner of this chatroom? I remember you were before you became a mod but I don't think you always were.
 
3:56 AM
He won it in a fight.
 
4:09 AM
Nooo someone beat me to the first +1 on the new CH challenge.
 
@Calvin'sHobbies I didn't know you made minecraft videos
 
2
Q: Bot Building Bot Flocks

Calvin's HobbiesIntroduction This is an interactive king-of-the-hill contest where the controller is fully contained in a Stack Snippet at the bottom of the question. The controller automatically reads the answers and plays through games. Anyone can run it at any time directly in their browser. The mechanics o...

 
@orlp They're impressive
 
I only made one youtube video, ever
it's a minecraft one though :P
 
@orlp Yep. I'd like to make more someday
 
4:11 AM
that smelter is still the best design out there though :P
 
@Calvin'sHobbies There's a typo in your answer on that new challenge. You said "it" instead of "is" in the pseudocode, like first line.
 
maybe we should make a PPCG minecraft server someday
 
0
A: Sandbox for Proposed Challenges

randomraRearranging Words code-challenge grid string You should write a program which receives two words as input and outputs a sequence of movements which rearrange the first word into the second. You should use as few moves as you can. Both strings will contain only lowercase letters and the second ...

 
> excessively long (auto) – Community♦ 7 mins ago
2
Q: Bot Building Bot Flocks

Calvin's HobbiesIntroduction This is an interactive king-of-the-hill contest where the controller is fully contained in a Stack Snippet at the bottom of the question. The controller automatically reads the answers and plays through games. Anyone can run it at any time directly in their browser. The mechanics o...

^ unsurprisingly, that was autoflagged as "excessively long." :P
 
4:18 AM
@Calvin'sHobbies I don't understand the purpose of the wall
 
bot can only move to air cells neigboring walls, and hence have to move them around to reach goals in midair
 
sure, but carrying a wall makes that negligible
what's the strategical purpose of having walls in the game?
 
@MartinBüttner Not the "official" SE shortcuts, no. I already use Pentadactyl on Firefox.
 
right now, the best strategy simply seems to spread bots out so that my average time to get to a spot is as small as possible
 
Well, you can only move so fast by a grab-move-place procedure. Entries will need to be creative walls to get to the goal first
 
4:22 AM
oh, so you are expecting build-walls-for-fast-travel bots?
 
And enemy bots can be trapped underground or in midair and stuff
 
@edc65 Congratulations on reaching 10,000 reputation!
11
 
applause
 
More applesauce
 
so, it sounds like the best bot will be the one that 1. avoids traps, 2. spreads out bots, and 3. builds highways in its spare time (hopefully in a manner that is tough for enemies to use)
 
4:26 AM
@Doorknob Does his name appear as "@@119715" in the right side star bar for anyone else? :O
 
@AlexA. Yes, superpings are broken on the starboard. :P
 
What is a "superping"?
 
It's a moderator tool that allows you to ping a user in chat even if that user hasn't ever visted the chatroom (or has visited too long ago to be "normally" pingable).
 
@NathanMerrill Probably, though I'm not sure. Tailoring entries to do different things for different enemies will also be a part of it.
 
It also creates a chat account for them if they don't already have one iirc.
 
4:28 AM
@Doorknob He's in here right now!
 
@Calvin'sHobbies yeah, but that's true of every KoTH
 
For extended BBBF discussion, there's a chatroom.
 
The first time I saw you use that acronym, I thought you were devising some strange variant on BrainFuck.
 
@AlexA. Ah, heh, he's the only one one the second row of users in the sidebar so I didn't notice when I quickly skimmed it. No superping necessary then.
 
@NathanMerrill Well we'll see how it goes. Whatever happens, I don't think an optimal solution will be trivial.
 
4:33 AM
@Calvin'sHobbies I'll agree with that
 
 
4 hours later…
9:03 AM
Recursive factorial using only anonymous lambda in Python: (lambda a:lambda v:a(a,v))(lambda s,x:1 if x==0 else x*s(s,x-1))(10)
 
I think you are in the wrong chatroom
THIS. IS. CODE-GOLF!!!!
 
@Optimizer are you trying to optimize this chat room?
 
you are trying to deoptimize it.
 
call me Deoptimizer
 
only if you change it to that
 
 
1 hour later…
10:36 AM
@Doorknob thanks
 
@Calvin'sHobbies Through a long and bureaucratic election process:
Jan 9 at 18:58, by Doorknob
@MartinBüttner Thanks! I'm busy at the moment, but since you're obviously not going to abuse power or anything...
 
10:53 AM
Has anything been done with the d'hont method? I couldn't find anything in the search... if not, I'll have a challenge later...
 
11:50 AM
0
Q: It's election time!

rcrmnIt's time... to count the votes! Today there are local elections in my entire country. Here, the number of seats for each party is decided using the D'Hondt method. Your goal is to implement a program or function that will decide how many seats each party gets, in the shortest amount of bytes. ...

 
@Calvin'sHobbies I find the term"line of sight" a bit misleading for a square. how about changing it to "field of view"?
 
Bizarre challenge idea: approximate a black and white image using only the <kbd> tag and excessive non-breaking spaces. Could it work?
 
12:09 PM
@Calvin'sHobbies also is the memory string 256 bytes or characters?
 
12:23 PM
Characters, as I just test that mem.length <= 256
 
k
can walls and bots occupy the same cell?
because I occasionally see grey cells with red/blue borders in the visualisation
 
No. From spec: "Bots can only occupy air cells." and "A cell occupied by at least one wall-carrying bot has a small wall-colored square drawn over it."
 
oh, that makes sense
 
While wall carrying, all the bots can occupy the same cell, so in theory you could suddenly produce up to 8 wall blocks in one turn
 
12:34 PM
Little unexpected things like that make me keen to see what strategies show up
 
And theoretically, each team could get 1000 points.
But that's a bit trickier than your scenario
 
That one's over my head...
I can't see how you could influence the position of the goal appearance even indirectly
 
12:56 PM
(conversation was continued in BBBF chat)
 
 
4 hours later…
5:10 PM
@isaacg If you want to give the election challenge a try. There's a algorithm called Jefferson method, which yields the exact same results. And the implementation in Pyth is only 14 bytes.
The only problem is the breaking the ties randomly.
which might be really ugly.
 
5:29 PM
I'll give it a look.
 
5:44 PM
I think the Jefferson method also has a precision issue. I can't get it to work easily on something like
5
3,6,1
 
0
A: Sandbox for Proposed Challenges

PhiNotPiSuper Smash Bots king-of-the-hill This is an idea for a KOTH based off of the Super Smash Bros video game series by Nintendo. The basic mechanics of this KOTH would be an every-man-for-himself battle between a large number of players simultaneously. Players can execute a variety of moves, lik...

 
@isaacg
The reason why Jefferson method doesn't work for 5 3,6,1 is, because there are multipe valid results.
The output 1,3,1, 2,3,0 or 1,4,0 are valid.
 
Right, and the tricky part is choosing between them. I get it now.
 
6:01 PM
Yeah, if you divide the votes by 1, you will get [6,3,1] which are too many seats and if you divide by 2, you will get [3,1,0] which is less than 5 seats.
Btw, my 14 byte code is this: ` f>vzsJm/dTQ1J` (space at the start)
But of course it generates an infinite loop when called with 5 6,3,1.
 
Right. I think I've got something
If you generate all possible divisions, e.g. [6,3,1], [3,1,0] ..., then take the best one before optimal, and just randomly distribute the rest of the seats, does that work?
No, because it might give a seat to someone with no votes at all
 
I just came up with a voting-themed KOTH.
Sandbox post slowly incoming.
 
POP CON KOTH ?
KOTP ?
KOTV ?
 
It's a thing where the programs vote for (hypothetical) "candidates." Each entrant has different "payoffs" for each candidate's victory, and must vote for which candidate should win. The candidate that wins determines the payoffs everyone gets. The main point of the challenge is its use of the plurality voting system (option with the most votes wins) and how voters are often forced to vote for a candidate that they don't really like in order to prevent greater losses.
It's going to be a pretty simple, and thus I hope successful, idea.
 
6:49 PM
Sounds good. How will people figure out who the stronger candidates are, though? Repeated trials?
 
@isaacg A large number of elections will be held, but I'm thinking each will have different candidates. Voters, however, will know the running total for the election so far.
 
7:03 PM
actually, I'm going to make that information a little more available.
You will know the summed payoffs of the group, and your personal payoffs, but not the other individual ones.
 
0
A: Sandbox for Proposed Challenges

PhiNotPiStrategic Voting, The Game One of the most common voting systems for single-winner elections is the plurality voting method. Simply put, the candidate with the most votes wins. Plurality voting, however, is mathematically unsound and is liable to create situations in which voters are driven to...

 
0
Q: Number of right cyclic shifts to give the biggest number

user241506I am preparing to coding interview and I met this task today: You are given 30-bit unsigned integer N. A right cyclic shift of N by K bits is the result of performing a right cyclic shift of N by one bit K times. Leading zeros may appear. For example: the right cyclic shift of 9736 by one bit...

 
7:32 PM
0
Q: The polyglot challenge!

theonlygustiA polyglot is a program which can be run by several different language's interpreters/compilers without failing. For example, the stackoverflow 404 page contains a polyglot which runs in Python, Perl, Ruby, C, brainfuck and befunge, each time printing 404 to stdout. Now, my challenge is to cr...

 
8:18 PM
0
Q: Check if number N is within possible combinations of a sorted array of numbers

Samer BunaFor sorted array of integers X = [x1, x2, x3, ....] where x1 < x2 < x3, ... And integer Y Check if Y has a possible 1 or more integers in the array X that add up to equal the value of Y Test Cases: X: [3,5,8,9], Y: 5 => true X: [3,5,8,9], Y: 24 => true X: [3,5,8,9], Y: 6 => false

 
8:53 PM
0
Q: Take first letter of each word, leave spaces and punctuation.

CthanatosShrink each word in a string of group of strings to single letters delineated by spaces or punctuation. Example- I'm a little teapot, short and stout. Here is my handle, here is my spout. When I get all steamed up - hear me shout! Tip me over and pour me out. Becomes- I a l t, s a s. H i...

 
9:14 PM
New Meta Posts is spamming us!
 
main posts*
 
err.
 
Both were closed within a matter of minutes.
I guess I should start working on the Strategic Voting controller.
Any opinions on it before I get started?
 
yes. Is PiNotPhi your evil twin brother ?
 
Should I make a PiNotPhi account?
 
9:29 PM
Is it your alter ego ?
 
No, not currently.
 
9:39 PM
wow, we have never done Celcius - Fahrenheit conversion ?
 
9:52 PM
0
A: Sandbox for Proposed Challenges

randomraPacking Wood Pieces code-golf packing There are two pieces of wood. Both consist of a straight body and some extra blocks below the body. An example piece with extra blocks at (0-indexed) positions 1,4,7,9,10: XXXXXXXXXXX X X X XX The piece can be represented as a 01 binary sequence with ...

 
I'm thinking of making the Strategic Voting into a Java-class-based KOTH.
Basically because that's what I can do.
 
@PhiNotPi if you assume everybody votes randomly there will be probably a fairly simple mathematical formula for optimal play
 
if int is called a number, what is float called ?
fraction ?
 
number
 
so numbers can be float too ?
 
9:56 PM
@PhiNotPi but the votes won't be totally random so that might not be an issue
@Optimizer yes, even complex or surreal or anything
 
integers are numbers
 
The votes won't be completely random. Part of it is that you will know the total payoffs of everybody, so you can try to guess what the people after you are favoring.
 
but numbers aren't necessarily integers
 
floats are also a representation of numbers
not all numbers are necessarily floats
 
@PhiNotPi total payoff is minimal info, that will be very close to 33*players
if I understand correctly
 
10:02 PM
Actually.... I think, if none of the other players use the current vote counts as a voting factor, then there probably is a straightforward (maybe not "simple") mathematical formula to determine who to vote for.
 
yes, that's what I tried to tell initially :)
total payoff seems to fluctuate decently even for 20 players:
 
... because "vote randomly" and "vote for your highest payoff" give identical vote distributions, since people's highest payoffs are random.
 
   +/(|:%+/)?3 20$0
5.73872 6.4418 7.81948
6.37761 7.15095 6.47144
5.91341 7.0117 7.07489
7.81492 5.83478 6.3503
@PhiNotPi yes
 
If it fluctuates enough, then the assumptions "vote randomly" or "vote highest payoff" could actually lead to different conclusions.
Because in the second case, you can use the current vote counts to estimate what the people after you will vote for.
 
0
A: Sandbox for Proposed Challenges

OptimizerTemperature Converter code-golf This is a byte sized challenge where you have to convert an input temperature in one of the three (Celcius, Kelvin and Fahrenheit) to the other two. Input You would be provided with a temperature as a number followed by a unit (separated by space) and your outp...

 
Anonymous
10:09 PM
Hello everybody
 
@PhiNotPi even if you can't see the total payoff you could use the previous votes to estimate what the next players vote for
because they use the votecounts to determine what to vote for (highest or second highest payoff for them)
 
Anonymous
is anybody here well versed in perl? (I asked around in SO first, but most people there only do JS or you know, languages that became popular after 2005) (also, code golfing is the last bastion of perl programmers anyway)
 
I have Perl installed on my computer, so I'm probably the most qualified in the room. :)
 
Anonymous
hahaha
 
@Optimizer I don't think it's too trivial. Edited somethings on the post.
 
10:16 PM
What's your question?
 
Anonymous
well... I have a little problem, it's a typical usecase for perl but I simply don't know how to begin tackling this problem (Also, I haven't written a line of perl for a year now)
 
Anonymous
I need to parse a table (haha how common, been there, done that) but I just don't know how to begin using HTML::TableExtract on this almost a mess of a table
 
Anonymous
here's an example table... it's a mess
 
Anonymous
what I want to produce out of that table is, for example, a nice array with all the grades (under the "NotaX" headers) of a given subject (say, "Matemáticas")
 
Anonymous
10:20 PM
but it's just too unstructured, and that, coupled with how long I've been out of touch with writing code in general... I just can't begin tackling this
 
I... honestly don't know if I can help at all, sorry.
 
Anonymous
hahahaha
 
Anonymous
@PhiNotPi is that table just too bloody complicated?
 
That, and I'm not actually that good at anything involving Perl modules.
 
Anonymous
@PhiNotPi but, as a programmer, in any language... how would you tackle that table?
 
10:26 PM
0
Q: Write a self replicating program that stops replicating after "printing" "Hello world!" with the filenames

micsthepickWrite a self replicating program, in the source code filename H., manually compile and run or just run if your chosen language is dynamic, and it should then just create a new source file, e., with the same exact source code, and automatically compile/run that new program, which makes the new sou...

 
I just copy-pasted the page into a Google Spreadsheet. :) Probably won't solve your problem, though.
 
Anonymous
@PhiNotPi i also tried doing =ImportHTML() into google drive lol
 
Anonymous
but it's as unstructured as it can get
 
To the close voters of ^^^^, [code-golf] is an objective primary winning criterion.
 
@PatoSáinz I'm trying to test some stuff out right now.
 
Anonymous
10:39 PM
@PhiNotPi wow, thanks!
 
10:52 PM
I just ran a program... and it gave no errors. Progress is being made.
 
Anonymous
@PhiNotPi you're a good samaritan
 
Anonymous
then i'll just extend it with whatever other datagrabbing I have to do from that table
 
It also didn't give any output either, but that's just a side effect.
 
Anonymous
hahaha
 
Anonymous
@PhiNotPi not to be confused with:
 
Anonymous
10:53 PM
In computer science, a function or expression is said to have a side effect if, in addition to returning a value, it also modifies some state or has an observable interaction with calling functions or the outside world. For example, a function might modify a global variable or static variable, modify one of its arguments, raise an exception, write data to a display or file, read data, or call other side-effecting functions. In the presence of side effects, a program's behavior may depend on history; that is, the order of evaluation matters. Understanding and debugging a function with side effects...
 
It did something!
I got the Nota1 column out of the table.
 
Anonymous
@PhiNotPi all of the Notaones or does it know that there are categories of notaones yet?
 
Anonymous
also, thanks haha
 
Here was the code. I manually downloaded the HTML and put it in a file. There's probably some way to get directly it off the website.
use strict;
use warnings;
use LWP::Simple;
use HTML::TableExtract;

my $raw_html = do {
    open my $in, '<', 'tabletestdoc.html'
        or die "Can't open file: $!\n";
    local $/ = undef;
    <$in>;
};

my $te = new HTML::TableExtract( headers => ["Nota1" ] );
$te->parse($raw_html);

 # Examine all matching tables
 foreach my $ts ( $te->table_states ) {
   print "Table (", join(',', $ts->coords), "):\n";
   foreach my $row ( $ts->rows ) {
      print join( ',', @$row ), "\n";
   }
 }
 
Anonymous
@PhiNotPi haha i had it in a file too, no worries
 
Anonymous
11:04 PM
@PhiNotPi thanks! I'll give it a go
 
Google is the ultimate friend of any programmer. Most of that is copy-pasted from perlmonks.org perlmonks.org/?node_id=367971
 
Anonymous
@PhiNotPi google is the ultimate friend... it's just that I thought this table was such a special snowflake that no existing example would be adaptable into it
 
What you would do next is replace the print statement with something that puts that column into an array.
 
Anonymous
@PhiNotPi i'll see and update you on it
 
Unfortunately I do not see a way to select a single row, only a single column.
 
Anonymous
11:11 PM
@PhiNotPi damn
 
@PatoSáinz Actually, there might be a way.
Maybe this?
TABLE METHODS

The following methods are invoked from an HTML::TableExtract::Table object, such as those returned from the tables() method.

rows()
Return all rows within a matched table. Each row returned is a reference to an array containing the text, HTML, or reference to the HTML::Element object of each cell depending the mode of extraction. Tables with rowspan or colspan attributes will have some cells containing undef. Returns a list or a reference to an array depending on context.
...
 
Anonymous
11:28 PM
@PhiNotPi yea I just saw that in metacpan
 
Anonymous
might work
 
11:53 PM
Well, no KOTH work was done today.
 

« first day (1576 days earlier)      last day (3261 days later) »