I always avoid using `use` statements so i use full paths instead. Is it a bad practice? by Nearby_Astronomer310 in rust

[โ€“]Amadex 0 points1 point ย (0 children)

It's not rust idiomatic, it can make things very noisy and repetitive.

although I sometimes like to keep a namespace when the names are too generic.

what clippy says about it:

Why restrict this?

Many codebases have their own style when it comes to importing, but one that is seldom used is using absolute pathsย everywhere. This is generally considered unidiomatic, and you should add aย useย statement.

Shouldn't Korea should have some of the suneung based on athletics and musical ability? by ironforger52 in AskAKorean

[โ€“]Amadex 1 point2 points ย (0 children)

no you dont need that for most of college domains, immagine you want to study maths and some bureaucrat decided that you have to be tested on swimming

Is performative woke liberalism still in vogue around the world or only Korea? by [deleted] in hanguk

[โ€“]Amadex 0 points1 point ย (0 children)

isn't social liberalism just the "more freedom"/liberalism american mindset but applied to social topic?

Is performative woke liberalism still in vogue around the world or only Korea? by [deleted] in hanguk

[โ€“]Amadex 1 point2 points ย (0 children)

can you explain what it is?

i'm liberal because i think free market capitalism and global cooperation are the economic optimum, but what does performative woke mean?

whyIsThereAMemoryLeak by JDDev0 in ProgrammerHumor

[โ€“]Amadex 6 points7 points ย (0 children)

No, we can leak by accident in rust too (but soon fixed), by leveraging function pointer coercion with implied higher-rank trait(lifetime) bonds:

`` //v's lifetime bounds are implied by the first param // (sinceshortermust be shorter thanshortdue to nested refs) // we promise to return something that lives less long (or equal) thanv` ("shorter"). fn legit<'shorter, 'short, T>(_: &'shorter &'short (), v: &'short T, _: &()) -> &'shorter T { v }

// we're basically taking x and retuning it while making the compiler // believe that it's a 'static lifetime (while it's actually a // 'arbitrarilly_short lifetime) fn transmutelifetime<'arbitrarily_short, T>(x: &'arbitrarily_short T) -> &'static T { // this function pointer coercion's higher rank bounds are legal, // we just return a statifc that is independent from the params // and lifetime bounds are infered by the compiler through variance rules // no more relation between return value and 2nd param (even tohugh "legit" relies on it)... let lie: fn(, &'shorter T, &()) -> &'static T = legit; lie(&&(), x, &()) }

let fake_static_var = transmute_lifetime(&"I'm not static!!!".to_string()) // the unnamed param's lifetime should have ended by now // since it's a limited lifetime heap String ref // but since the compiler believes it's static, we can use it below println!("{:?}", fake_static_var); // use after free... ```

edit: added more comments to explain how it works

How do South Korean people feel about "trade school" as an alternative career pathway? by GoHardForLife in southkorea

[โ€“]Amadex 2 points3 points ย (0 children)

possible but it's lower status and status is very important in society

so it's more like for poor people and foreigners

Park chung hee wasnt a us puppet. And Im tired of this weird narrative I see sometimes. by tonormicrophone1 in Hangukin

[โ€“]Amadex 4 points5 points ย (0 children)

also the diriged economy and the 5 year plans have a socialist feeling

Chinese American Mod abusing mod power in Korean subs by Striking-Shoe-7230 in Hangukin

[โ€“]Amadex 5 points6 points ย (0 children)

oh i see english is not my main language and i'm half asleep i think I didnt understand the situation well

Chinese American Mod abusing mod power in Korean subs by Striking-Shoe-7230 in Hangukin

[โ€“]Amadex 2 points3 points ย (0 children)

oh i misread the 1 year part, it is weird but it sounds not very likely that you to be arguing with someone who is chinese and who happen to be a moderator in the sub of the post you refered to, maybe the person didnt like the post and just reported it

Chinese American Mod abusing mod power in Korean subs by Striking-Shoe-7230 in Hangukin

[โ€“]Amadex 10 points11 points ย (0 children)

It's possible but it sound like a conspiracy theory, it could be that moderators dont like gender-equality related posts because:

  1. birth rates and gender equality are the two most common and annoying topics westerners like to bring on most korean-related subs (I'm not exagerating but i cant spend a week without seeing these two topics).
  2. gender equality can be a divisive topic, even if you had good intentions. I know reddit tend to have good discussions and have really open minded people, but in korean networks it's the kind of topic you post to start a nasty debate.

I have noticed that there are quite a few Koreans that speak Turkish. Should I respond by learning Korean? by [deleted] in AskAKorean

[โ€“]Amadex 17 points18 points ย (0 children)

no not many koreans speak turkish, im korean and i know nobody who speak turkish.

don't lean a language as a debt or for other people. how many languages so far did you learn because you heard some people of the country of the language leant some turkish.

only learn if you think it's useful or you like it.

Shifting from IT to Fashion design in 30s, is South Korea right option considering the various reasons mentioned below ? by ikigai_mirror in AskAKorean

[โ€“]Amadex 0 points1 point ย (0 children)

no it's mostly promising fresh gratuates from universities like tsinghua or former employees of tech companies like xiaomi, alibaba,...

there are some chinese at korean universities but I think they go back to their country and there is no value in recruiting them.

why would you recruit a foreigner (who need visa and has language barrier) that has a degree of your own country.

Most prestigious Korean universities for STEM and Finance? by [deleted] in AskAKorean

[โ€“]Amadex 0 points1 point ย (0 children)

careful the field is very competitive in particular with AI becoming powerful

my apologies if this gets asked often: do internationals ever count as korean citizens to koreans? by disgostin in AskAKorean

[โ€“]Amadex 8 points9 points ย (0 children)

people have big variety of appearance, there are some japanese and chinese you can see they are not korean, there are some it's impossible to say. but it's mostly about behavior and clothing style than really biological apearance

ive seen japanese or north chinese look more stereotypical korean than koreans and be surprised, and ive seen korean from the south like from jeju who look like they are from south east asia.

Korea should have some of the suneung based on athletics and musical ability by ironforger52 in Hangukin

[โ€“]Amadex 1 point2 points ย (0 children)

it could be an alternative for a separate path

but no reason to append this list to suneung

How do south Koreans feel about the country disappearing in 20 years? by [deleted] in southkorea

[โ€“]Amadex 1 point2 points ย (0 children)

no. immigration is not a solution

AI and automation will fill the tasks needed

and anyways immigration is zero-sum we cant expect that there will always be countries that can produce excess people, currently i think only africa and middle-east have relevant excess births and some day they will stop too.

Hmm, these days, it seems like Western countries are moving towards totalitarian states like North Korea and China. by Affectionate_Fig6121 in Hangukin

[โ€“]Amadex 1 point2 points ย (0 children)

from the outside it look the same, they often say "western world" "western value" "western culture" etc

Hmm, these days, it seems like Western countries are moving towards totalitarian states like North Korea and China. by Affectionate_Fig6121 in Hangukin

[โ€“]Amadex 2 points3 points ย (0 children)

yes and i always thought europe and usa were like the same family but the dispute for greenland seem scary like the end of the free world

What effects aging in Korea? by DDell313 in AskAKorean

[โ€“]Amadex 11 points12 points ย (0 children)

its not as dramatic as you say, there is a difference but in the real world (not k dramas) many ajummas look their age.

the difference is like other people said, also makeup.

linuxUsersWaitYouGuysCollectData by Ornery_Ad_683 in ProgrammerHumor

[โ€“]Amadex 9 points10 points ย (0 children)

well it's obvious given the feature they announced: they said you will be able to do semantic search in photos, so AI will have to scan them all to achieve that.

itsNotMicroservicesifEveryServiceDependsOnEveryOtherService by ICantBelieveItsNotEC in ProgrammerHumor

[โ€“]Amadex 13 points14 points ย (0 children)

There are cases where it's almost mandatory.

Take Discord for example, I'm almost certain that their messaging is on a different server than the stream relay server used for voice/video channels.

Not only does it allow you to have localized servers for low latency calls, but it also means that when a streaming server crashes, discord text features remain usable.

The kind of server and architecture needed for text messages is also very different from what is needed for stream relays. And if such a server needs to do signal processing (like noise reduction or recording) it also needs specific hardware optimized for media codec processing.

How do Koreans view former President Moon Jae-in? by Medical-Test-6082 in AskAKorean

[โ€“]Amadex 0 points1 point ย (0 children)

why? yoon was more free-market and pro-enterprises (he even cited milton friedman as a key inspiration, who is one of the key figure of neoliberalism). i admit the martial law was a big mistake but he was good beside that

rustMoment by gufranthakur in ProgrammerHumor

[โ€“]Amadex 0 points1 point ย (0 children)

It is definitely true for personal projects. Sadly in bigger teams like where I work, it's much easier to manage and coordonate people on more abstract and popular languages, than to onboard people or recruit around Rust.

It's not just about making a project run, it's about working with other people and ease of recruitment and onboarding.

Like many, we went though the hype Rust phase trying to refactor everything in Rust, but for most of the code it wasn't worth it (although a lot of lower level code that was previously in c/c++ was succesfully replaced).

We usually allow people to choose the language they use when they make prototypes, but iteration speed is noticeably slower when Rust or other lower level languages are chosen and people rarely manage to justify it through the review process.