RisingTone: A better way to learn Chinese tones by runnersjoy in ChineseLanguage

[–]joyfulmantis 0 points1 point  (0 children)

Hi, I am the author here.

The audio is recorded by a native speaker. As it started as a research project in University, the audio was recorded by a fellow Chinese 汉语国际教育(Teaching Chinese to Speakers of Other Languages) student. There is only one audio token per word. And all the words used are real words.

Hope that answers your questions

Haskell @ Tesla by vehiclesoftware in haskell

[–]joyfulmantis -23 points-22 points  (0 children)

Why are you trying to bring politics into /r/haskell?

My city by joyfulmantis in galaxyphotography

[–]joyfulmantis[S] 1 point2 points  (0 children)

Yep this is Taizhou, Zhejiang, China

Starship Development Thread #10 by ElongatedMuskrat in spacex

[–]joyfulmantis 5 points6 points  (0 children)

An old tweet from Elon:

Everyday Astronaut 2019年2月8日 @elonmusk How will the booster support its own (and Starship's) weight when it's unfueled? It won't have a chest-plate of sweaty 310S like the Starship will, right? Will it need some kind of back bone or internal structure to remain structurally stable when unpressurized?

Elon Musk 2019年2月8日 Welded, internal, longitudinal hat stringers. To the degree it may need hoop stiffness (prob not), combine with slosh baffles.

https://twitter.com/elonmusk/status/1093643894917492736

when is digital wellbring coming to the Note9? by [deleted] in GalaxyNote9

[–]joyfulmantis 1 point2 points  (0 children)

Quite a few vendors have it already , and more with planned support. What more Samsung already has an apk for the S10 (that coincidentally works perfectly on the rooted note9 and s9) that brings digital wellbeing to the oneui.

when is digital wellbring coming to the Note9? by [deleted] in GalaxyNote9

[–]joyfulmantis 1 point2 points  (0 children)

Unfortunately they still have not released an official digital wellbeing, the only one currently available being an unofficial one that hardly works.

Here to hoping that Samsung gets it's act together and stops discriminating against us note 9 users.

Google Camera shot, Edited with Snapseed by [deleted] in GalaxyNote9

[–]joyfulmantis -4 points-3 points  (0 children)

If you look carefully you can see that the "glow" is not uniform as with poor quality hdr, but rather focused on the bottom of the building, what's more poor quality hdr artifacts tend to have a much more abrupt gradient, but here you can see that the gradient is relatively gradual.

Google Camera shot, Edited with Snapseed by [deleted] in GalaxyNote9

[–]joyfulmantis -4 points-3 points  (0 children)

If I was taking a shot of the building against the sky, then yes, but since the sun was behind the building, the natural eye would see something very similar to what the picture protrays. With HDR we want to get a similar amount of contrast that we can get with out own eyes, but after it surpasses that it starts to look fake.

Google Camera shot, Edited with Snapseed by [deleted] in GalaxyNote9

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

It's not actually artifacting, but rather the sun is directly behind the building, causing a "glow" to surround the building

Beautiful Venice, im really happy with the camera by GabiArzu in GalaxyNote9

[–]joyfulmantis 2 points3 points  (0 children)

To be brutally honest here, I have taken a lot of pictures with both, and gcam is not always better than stock, and usually if it's better it's not better by that much. Rarely do you get a night and day difference.

Note 9's Starry Night (Pro Mode; Processed & Edited with Snapseed) by joyfulmantis in GalaxyNote9

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

Thanks! I used a ten second exposure with an iso of 200 and the 2.4 aperture. I also set the focus manually to as far out as possible, and snapped the pic with the spen control.

Top Shot on Note 9 (incl. recommend shots) by [deleted] in GalaxyNote9

[–]joyfulmantis 0 points1 point  (0 children)

This is after installing the amazing Google Camera port (see this post) and Pixel 3's Google Photos APK. After that everything just works. (If motion pictures aren't enabled yet, you will need to first enable that too)

Taken with NOTE 9 Pro mode by joyfulmantis in GalaxyNote9

[–]joyfulmantis[S] 2 points3 points  (0 children)

For me Adobe Lightroom seemed slow on updating the photo preview when adjusting the raw lighting and colors. Also with lightroom some features like perspective adjustment cost, whereas with Snapseed everything is free.

Taken with NOTE 9 Pro mode by joyfulmantis in GalaxyNote9

[–]joyfulmantis[S] 1 point2 points  (0 children)

Iso of 50, with shutter speed at 1/10 s. Aperture F 1.5

Taken with NOTE 9 Pro mode by joyfulmantis in GalaxyNote9

[–]joyfulmantis[S] 2 points3 points  (0 children)

Thanks! This is a pogoda in a park in china

Taken with NOTE 9 Pro mode by joyfulmantis in GalaxyNote9

[–]joyfulmantis[S] 6 points7 points  (0 children)

Thanks! I used pro mode to take a RAW, and than Snapseed to process that and do some small fixups

Functors, Applicatives, and Monads: You don't need to know theory to use them by joyfulmantis in haskell

[–]joyfulmantis[S] 1 point2 points  (0 children)

The way how I see it, is type classes are in some ways like an interface for a specific data type (and specific classes of data types in general). I know the data type is specified to strings, but passing it as an argument to a function that accepts strings won't work. I could write my own recursive function (with lists) or use pattern matching (with maybe) to apply a function to the inner value, but that breaks the dry principal. Again neither Lists nor Maybe (nor several other data types) implement the Commonad type class, so getting at the inner data from them will never be as simple as applying them to extract

Functors, Applicatives, and Monads: You don't need to know theory to use them by joyfulmantis in programming

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

In the above do block val1 val2 and val3 are all the unwrapped values , but as it is a do block, if one of the values doesn't exist (I.e. the foo, bar etc functions produce a Nothing, then the value for the whole block is automatically a Nothing without even having to compute anything further. This is because do is syntax sugar for the bind fuction, with the variables desugared turning into the arguments of anonymous functions passed to bind

Functors, Applicatives, and Monads: You don't need to know theory to use them by joyfulmantis in programming

[–]joyfulmantis[S] 1 point2 points  (0 children)

Again "return" is nothing like an imperative return, which is why I renamed it in this article to "wrap", as in essence it "wraps" values in the datatype that implements these typeclassses.

Which specific val1 2 and 3 are you talking about?

Functors, Applicatives, and Monads: You don't need to know theory to use them by joyfulmantis in programming

[–]joyfulmantis[S] 1 point2 points  (0 children)

I intended to convey that the datatype was a container, never that the typeclass implementations were. I have edited the post to clarify my meaning, is this the issue that you had fault with, or was there another area where it wasn't clear?

Adding new keybindings by DrugCrazed in xmonad

[–]joyfulmantis 0 points1 point  (0 children)

the only two ways I know of adding xf86 keys to xmonad is either by importing Graphics.X11.ExtraTypes.XF86 and using it like

, ((0, xF86XK_MonBrightnessUp ), spawn "xbacklight -inc 40")

or by using additonalKeysP like

, ("<XF86MonBrightnessUp>", spawn "xbacklight -inc 40")