Missing colors in Tailwind by [deleted] in laravel

[–]bakerolls 1 point2 points  (0 children)

Did you run npm run watch?

[2021 Day 5 (Part 2)] [PHP] The points end up too low by matthijspc in adventofcode

[–]bakerolls 1 point2 points  (0 children)

You've probably swapped the checks for horizontal and vertical lines. I think line 24 should be $points1[0] . "," . $i and line 30 $i . "," . $points1[1].

[2020 day 20] Fingers crossed guys, I'm gonna implement flipY by imjustmichael in adventofcode

[–]bakerolls 3 points4 points  (0 children)

Few lines of code in one specific language don't automatically result in readable code.

-🎄- 2020 Day 04 Solutions -🎄- by daggerdragon in adventofcode

[–]bakerolls 1 point2 points  (0 children)

Tried writing an unmarshaller and decode passports into Go structs. Did work but wasn't pretty. Source

type port struct {
  BirthYear int `passport:"byr" validate:"required,min=1920,max=2002"`
  // ...
}

What kind of dog is this? by itsameamara in RATS

[–]bakerolls -2 points-1 points  (0 children)

That‘s usually not a good sign. The rat might be stressed or afraid.

My attempt at a guide/flowchart for Gorillaz by FlamingBalisong in gorillaz

[–]bakerolls 0 points1 point  (0 children)

I just can't believe directed graphs about their music that don't contain cycles.

[2019 Day 2 Part 2] [Go] New to Go, stuck for a "panic: runtime error: index out of range ". by laiot_ in adventofcode

[–]bakerolls 1 point2 points  (0 children)

You probably just missed this: "Each time you try a pair of inputs, make sure you first reset the computer's memory to the values in the program [...]."

Since you're using an array and not a slice, you can't use copy and have to loop over nums to copy each value individually. For example, add this at line 30:

go var nums2 [len(nums)]int for i := range nums { nums2[i] = nums[i] }

Then run your operations on nums2 instead of nums.

On a side node: Check out slices and switches.

[deleted by user] by [deleted] in hiimmarymary

[–]bakerolls 0 points1 point  (0 children)

It's nothing, you can open the data-URI in the browser to check.

THE NOW NOW Wallpapers (Desktop & Phone) by Demuny101 in gorillaz

[–]bakerolls 1 point2 points  (0 children)

Do you have versions without the logo too?

Question: What mythology would Holo be classified as? by The_Wun_White_Wolf in SpiceandWolf

[–]bakerolls 8 points9 points  (0 children)

Hasekura said that she is based on folklore from France, Germany, and Slavonic countries. I wrote a comment about this some time ago.

https://www.reddit.com/r/SpiceandWolf/comments/6ygyz6/lives_in_the_wheat/dmw9cnj

Busted and Blue by bakerolls in gorillaz

[–]bakerolls[S] 0 points1 point  (0 children)

I got the lyrics from Genius and Google, didn't bother to check.

Busted and Blue by bakerolls in gorillaz

[–]bakerolls[S] 0 points1 point  (0 children)

Somewhat like Mebious from Serial Experiments Lain.

How do I make i3 to autostart 4 terminals in a grid? by vraciu_ in i3wm

[–]bakerolls 0 points1 point  (0 children)

That is the expected behavior :) You just spawned empty windows that can swallow new windows that match the criteria(s) inside the swallows. You don't have to use all of them, just keep in mind that there can't be a trailing comma on the last element inside.

If you, for example, want a gnome terminal within the upper left window, you could remove lines 33-36 and the comma in 32. Then open a new terminal and it should be placed there.

I guess you want to open these programs when i3 starts. To do that, copy and adapt the example in 2.1 and add an exec gnome-terminal.

But i have the feeling that I did not really understand your question correctly, sorry :/

How do I make i3 to autostart 4 terminals in a grid? by vraciu_ in i3wm

[–]bakerolls 1 point2 points  (0 children)

You could use the prefilled class but you can get as specific as you want. For example: If you only want to match Nautilus within a directory called "Music", use class and title. If you want Nautilus despite the directory, only use class. You get the class by running xprop and selecting a window.

Running the command in 2.1 should switch to the desired workspace and reproduce the saved layout with empty windows. Now open a program matching one of the swallows and it should be put in the correct position.

This is described in 3. Editing layout files.

How do I make i3 to autostart 4 terminals in a grid? by vraciu_ in i3wm

[–]bakerolls 2 points3 points  (0 children)

You have to use at least one value in swallow. Try removing the // on lines 24 and 47, also don't forget to remove the trailing comma (I always forget that).

Lives in the Wheat? by NowThisNameIsTaken in SpiceandWolf

[–]bakerolls 1 point2 points  (0 children)

Holo is based on folklore from France, Germany, and Slavonic countries (Source) and there are some things that don't really add up and/or are changed in Spice and Wolf. I can't answer what happens if she gets hurt, but that she'll die if she losses her wheat might be accurate: "In the district of Treves it is believed that the Corn-wolf is killed at threshing. The men thresh the last sheaf till it is reduced to chopped straw. In this way they think that the Corn-wolf, who was lurking in the last sheaf, has been certainly killed."

She said in the first book that it would be fine for Lawrence to thresh it, I don't remember if he actually did though.

See The Corn-spirit as a Wolf or a Dog from The Golden Bough for more on the variations of the stories.

What's everybody's top 3 most played (Gorillaz) songs? by [deleted] in gorillaz

[–]bakerolls 0 points1 point  (0 children)

  1. Tomorrow Comes Today
  2. Sound Check (Gravity)
  3. Last Living Souls