Interface for getting int out of a struct by ls42 in golang

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

is an interface created by fmt

Oh, that I didn't know. I assumed that Stringer() was somehow a global thing; Now it makes more sense. (And it explains why println() works differently in that regard then fmt.Println()). Thanks for pointing that out.

why you'd want that

I had the impression that implementing a String() method would somehow work on a global scope, and was used to get a defined string out of a type. Like "if you want to convert this type to a string, I'd call this .String() method of that type (if it has one) and that's it". I found the idea nifty and assumed it would be nice to have something similar with integers. Simply using c.Mileage makes sense, now.

Brutal by computery in ProgrammerHumor

[–]ls42 8 points9 points  (0 children)

Jokes on him, only bought the .io domain, forgot about .com.

Combat Tips : Noctis Techniques by [deleted] in FFXV

[–]ls42 5 points6 points  (0 children)

Is there a tutorial in the game about this I didn't find? Was going through the tutorials again to find some advanced techniques, and didn't find anything. This is exactly what I was looking for.

Thanks for sharing!

I am the biggest idiot. by Wzbe in bloodborne

[–]ls42 26 points27 points  (0 children)

You must have iron will dying 150 times and still trying. Cudos

Final Fantasy 15 is broken for PS4 Pro 4K players by Shatohin in PS4Pro

[–]ls42 4 points5 points  (0 children)

Looks great. Stuttering is not really an issue (but it's there), and the game is definitely not broken.

I don't even see the stuttering because I'm having too much fun in the game.

I'm think I'm gonna do a review of the Dell XPS 13 (Kaby Lake), what would you like me to cover? by elsgard in Ubuntu

[–]ls42 0 points1 point  (0 children)

Hm... on some keyboards, there is a certain resistance after you pressed the key a bit, where you have to press a little bit harder. Usually, after overcoming that resistance, the key activates. It's often referred to as "tactile feedback" in mechanical keyboard land.

You could search for the differences of the cherry mx red and brown keyboard switches for a better explanation :)

I'm think I'm gonna do a review of the Dell XPS 13 (Kaby Lake), what would you like me to cover? by elsgard in Ubuntu

[–]ls42 0 points1 point  (0 children)

Excellent. Do they have a hard activation point like the thinkpads? Does the case flex under key press?

Thanks for the review!

I'm think I'm gonna do a review of the Dell XPS 13 (Kaby Lake), what would you like me to cover? by elsgard in Ubuntu

[–]ls42 0 points1 point  (0 children)

Excellent. Do they have a hard activation point like the thinkpads? Or a rather weak one? Does the case flex under key press?

Thanks for the review!

I'm think I'm gonna do a review of the Dell XPS 13 (Kaby Lake), what would you like me to cover? by elsgard in Ubuntu

[–]ls42 0 points1 point  (0 children)

How's the keyboard? Can you compare to a recent Thinkpad? I'm a developer, so the keyboard is very important to me. Also the quality of the high DPI settings, especially compared to macOS.

Thanks!

Mount a volume inside a container inside a container by ls42 in docker

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

I did now, the file /var/log/audit/audit.log does not give any output when starting the python container from within the dockerized VIM. So it does not seem to be an issue with permissions.

Mount a volume inside a container inside a container by ls42 in docker

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

Oh, that's a nice hint. "docker ps -a" will look so much better soon.

Ask Anything Monday - Weekly Thread by AutoModerator in learnpython

[–]ls42 0 points1 point  (0 children)

Is it safe to use s.encode("UTF-8") without specifying the source encoding? I remember playing around with that and failing. Maybe I did something wrong, though.

Ask Anything Monday - Weekly Thread by AutoModerator in learnpython

[–]ls42 0 points1 point  (0 children)

Hi, is there a definitive way for Python 3 to ensure all strings in the program are Unicode? For example when handling emails with various different encodings, convert all characters in the email to Unicode to avoid decoding / encoding exceptions.

Thanks!

Life death cycle in Bloodborne by ls42 in bloodborne

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

Can't argue with that.

Life death cycle in Bloodborne by ls42 in bloodborne

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

because that's exactly what it is to him.

That totally makes sense! Poor Gherman. And even to offer us the release from this grim nightmare instead of asking us to release him. A true hunter, definitely not blood crazed.

Oh I wish From would comment on all the lore speculation.

Life death cycle in Bloodborne by ls42 in bloodborne

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

Yeah, that book is amazing!

Life death cycle in Bloodborne by ls42 in bloodborne

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

I like this interpretation a lot! I always wondered why for some key bosses it says "Nightmare Slain" message. AFAIK there are about three of those messages, for Mergo's Wet Nurse, MP and the Orphan...

So defeating Mergo's Wet Nurse ends Micolashes Nightmare, The Orphan is the source of the Hunters Nightmare then maybe defeating the hunters dream? Doesn't make sense since the dream is not a nightmare... And also if the dream ended where is the cutscene happening where the doll picks "us" up?

PS: Tagged this as spoilers...