« first day (1924 days earlier)      last day (3216 days later) » 

01:00
@quartata I've golfed packages down to pkgs
@Downgoat Uh, why?
@Quill is there a way to run fs.mkdir as sudo?
You could do modules or libs
@quartata why not?
@Downgoat no idea
01:00
@Downgoat You run sudo
@quartata I'll probably just call it cpmlibs
@quartata I wish it was that easy
@Downgoat That's redundant though
right now it just prompts the user to run cheesecloth with sudo
which is dumb
Well generally package managers need root...
But what I meant was you could do system("sudo mkdir /usr/share/cheesecloth")
01:02
@EᴀsᴛᴇʀʟʏIʀᴋ 510 :P
not dead yet :(
Now I'm trying to get the worst score
I think I got lucky on my first run
@CᴏɴᴏʀO'Bʀɪᴇɴ oh that's simple
@CᴏɴᴏʀO'Bʀɪᴇɴ hmmm. ?
01:02
always go for the shallowest node
(least deep)
I wonder if a KotH could be based off of this...
@CᴏɴᴏʀO'Bʀɪᴇɴ the shallower the node killed, the deeper the tree its parent creates
@quartata I think it's better to use a built-in command to make directories rather than joining strings to make commands to be evaled
01:03
Well, I assumed you were just creating cheesecloth
But seriously, I don't know of any package manager that doesn't run as root (unless you're installing to .local/share)
Just throw an error if you aren't running as root (easy getuid)
@quartata no I'm creating directories to store packages
@Downgoat OK.
OOH OOH...would it be possible/feasible to create a KotH pair where one is for Hydras and the other is for Herculeses?
01:04
@El'endiaStarman like red team, blue team?
Something like that, yeah.
or you write two programs
and you play everyone twice
@quartata right now it throws:
An error occured creating the cpmlibs directory:
    EACCES
Perhaps attempt running this script with 'sudo'?
Splitting into two challenges allows people to write only one or the other. It'd be like a fusion of CnR and KotHs.
@Downgoat Perfect
01:06
@Maltysen Shallowest normal head? or just shallowest in general?
Wait, is that just the default error?
@El'endiaStarman sounds fun. now who wants to write the controllers? ;P
@quartata that's what it outputs if something returns a permission error
Oh, OK.
@Maltysen I can Sandbox them and explicitly say that anyone can execute the idea.
01:09
Hmm. Is there a provably optimal strategy for either side? That might damper the koth idea, especially if it's not hard to implement.
Yeah, I was wondering that too.
It should be possible to devise some variant that allows for non-trivial strategy.
Well, manually finished (the whole way manual) in 1118.
i hate life
Title idea: Nobility and Peasantry of the Hill: Hydra vs Hercules
you guys are running away with my link?
yet no one starred it so other people can see it on the starboard :(
Stars are for important things, like "ROASTE D"
3
01:12
I had to scroll to find out what they were talking about. It was horrible I tell ya.
@AlexA. I'm pretty sure that one was starred because of the special formatting. :P
Did somebody say KOTH?
2
@orlp Well, I just starred it, but it's not showing up. :/
@PhiNotPi Yeah. CnR fusion with KotH for this.
function step(){
	Array.from(document.querySelectorAll("#nodes > [class^='head']")).reduce((p, c) => p.y1.baseVal.value > c.y1.baseVal.value ? p : c).dispatchEvent(new MouseEvent('click', {
		'view': window,
		'bubbles': true,
		'cancelable': true
	  }));
}
setInterval(step, 5);
Worst-score program :D
01:14
@CᴏɴᴏʀO'Bʀɪᴇɴ The autoplay is worse
1
Q: I'd like to say a [word] or two about this tag

Dr Green Eggs and Ham DJWe have a tag: word I see no value in this tag. Here's from the wiki: Use this tag for: Challenges involving generating words Challenges involving using words Challenges involving manipulating words Or other cases where words are a large part of the challenge. Do not...

[class^='head']
@MarsUltor really? I'm intentionally trying to score poorly
@Quill what?
@CᴏɴᴏʀO'Bʀɪᴇɴ what's that for?
@Quill it's a query selector
01:15
@CᴏɴᴏʀO'Bʀɪᴇɴ what does that selector do? I know what querySelector is
@Quill it looks for all elements that contain the word head
if you're looking for an element with class head, you can use .head: #nodes > .head right, well, if the class only contains the word head, then that's okay
^
> 22018 head so far
@CᴏɴᴏʀO'Bʀɪᴇɴ noice program. :P
no, no optimal strategy for hercules
only good strategys
@CᴏɴᴏʀO'Bʀɪᴇɴ can you change your code to pick the top heads?
01:19
@CᴏɴᴏʀO'Bʀɪᴇɴ *starts with
@EᴀsᴛᴇʀʟʏIʀᴋ sure. switch the > to a <.
@MarsUltor ah, right
$= is ends with, *= is contains
oh right
that makes sense, regex
Got it in 722 heads (top element)
609
How have I been an SE member this damned long without figuring out how to vote on tag synonyms? Someone help.
01:22
Ok, nvm. Figured it out, and I just don't have the score necessary.
I completed it in <300 heads
@PhiNotPi Lucky you. 700-800 seems to be the manual average.
My strat: out of the deepest nodes, pick one with a brown neck if possible, else pick one with a green neck.
That being said, this is something where a single random event can add 100s to the count.
0
Q: Find a maximal rectangle

ZgarbBackground I want to buy an plot of land and build my house on it. My house should be rectangular, and as large as possible; however, the available plots have lots of rocky areas that I cannot build on, and I'm having trouble fitting a potential house on the plots. I want you to write a program ...

@Geobits I also don't know how .-.
01:28
> Hercules has cut 382147 heads so far.
is Gödel incompleteness theorem the most important result in math?
@PhiNotPi That does seem to be a good strategy. 210 heads!
@AlexA. Go to the tag page for the target and hit the 'synonym' link. It takes you here, where you can vote on any proposed ones with teeny, tiny vote arrows.
@orlp Definitely one of the top three.
@Geobits Awesome, thanks!
It has 0 votes? o_O
01:30
@orlp Very likely, if by "important" you mean "overthrowing the very foundations of the field".
2
258 heads
I have a good strategy:
> Try not to get mad
Get very mad
@AlexA. I tried, but I don't have the clout in that tag.
works every time
Oh right
01:32
@El'endiaStarman From what I can tell, this is similar to the proof that Ackermann's function always terminates: it's strictly decreasing by some kind of lexicographical order.
@Quill heh
user image
2
that's a small rug and a large vacuum
Well, he's doing everything naked, too, but sure. The small rug is the weird part.
@Geobits what're you talking about? he's wearing a tie in the first panel :P
Same strategy and I'm already at 244 heads and this just happened:
RRRG!
At least the particular tameness of this hydra will play into my favor now.
01:37
Can anyone running el captain run node -e "console.log(require('os').release())" and tell me the output?
Aaaand all dire necks eliminated.
At 329 heads cut off, the hydra is dead!
Still a good strategy, then.
@PhiNotPi that's what I did
@Maltysen Plot twist: His only plan for the tie is as a noose.
310 that was a waste of my time
And yet, you couldn't help yourself.
01:42
answer by a new user:
1
A: 1, 2, Fizz, 4, Buzz

RuteNLJavascript, 64 bytes for(i=0;++i<101;)console.log((i%5?'':'fizz')+(i%3?'':'buzz')||i)

yeah
I reviewed.
Why is this being VTCed? the winning criterion is code-golf, as tagged?
@Quill lol FizzBuzz
?
@Phrancis can you write VBA in a text editor (e.g. notepad++) and run it?
Not write in the IDE?
@EᴀsᴛᴇʀʟʏIʀᴋ Why not? its still just a text file
idk
but a fizz buzz answer said he couldn't shave off certain spacing because of the editor
01:51
oh
Surely you can turn off the auto-formatting though.
(just don't ask me how, unless you want a straight-from-google answer)
Anybody know of any programming classes designed for advanced (read: fluent in language) coders?
hopefully for python
@EᴀsᴛᴇʀʟʏIʀᴋ Good question, but I don't know the answer
Also, just wrote this
declare @i int=1 while(@i<101)begin print case when @i%15=0 then 'FizzBuzz' when @i%3=0 then 'Fizz' when @i%5=0 then 'Buzz' else cast(@i as varchar(3)) end set @i+=1 end
01:54
Do you code VB well though?
read: golf well
169 bytes
@EᴀsᴛᴇʀʟʏIʀᴋ I code as little VB as I can help it
@Phrancis garden hose
^ I just wrote that
@EᴀsᴛᴇʀʟʏIʀᴋ You're gonna be hard pressed to find one, you're probably better off doing whatever project pops into your mind or doing CS tutorials
I thought you were a VB person.
@Quill yeah
01:56
@EᴀsᴛᴇʀʟʏIʀᴋ Loads of colleges like MIT and Harvard post their entire CS course material online nowadays. You could follow along with a course at your own pace.
not my idea, apparently the powers that be in my life need proof of my programming skills but not golfed code... :(
@HelkaHomba ooh
Usually only intro CS courses use Python though
Or at least it seems that way
hm
what languages would they use for more advanced courses?
There's probably a data structures course in Python on the interwebs you could try. That would be a logical next step.
01:57
Java
Why would they use R in a computer science class?
I think I used python for an upper level compilers course
I don't think CS degrees in the US teach C anymore
(I say, not having a CS degree)
My university uses Java and C++ mostly.
@AlexA. they do
@AlexA. Do they even teach the S part? :P
01:58
or well
@AlexA. u serious? But what about all the low level algorithms?
often it's C++
but we used C for our system class
@Maltysen I think they moved to Scratch for those.
Most of the programs I've seen use Java almost exclusively
@EᴀsᴛᴇʀʟʏIʀᴋ do a bunch of pretty looking Python projects or make a library or something if it's for a portfolio
@AlexA. I did some C, even low level MIPS
@Geobits ._.
@AlexA. I can confirm this is false, I am learning C at the moment
for school, hopefully get out of "intro to what is computer" in public school next year
@AlexA. idk
why not?
@EᴀsᴛᴇʀʟʏIʀᴋ public schools are pretty nice with CS and allowing you to skip

« first day (1924 days earlier)      last day (3216 days later) »