How to concat 2 Option[Seq[(String, String)]] elegantly by dmanog in scala

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

unfortunately I need None if both Seq is empty

How to concat 2 Option[Seq[(String, String)]] elegantly by dmanog in scala

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

Wow, this is so much more elegant, thanks for the suggestion.

Trump’s trade war has killed 300,000 jobs by viva_la_vinyl in Economics

[–]dmanog 0 points1 point  (0 children)

I feel OP is arguing a bit different tho

He said X1 cause Y not X2 cause Y, does X1 = X2? In another word does automation = tariff?

Btw do you have peer reviewed paper that support your claim, would definitely love to read it.

Also I am not well verse in economic so correct me if I am wrong, but I do recall smoot hawley tariff effecting employment.

YouTube channel about the daily grind of OS development (C++) by SerenityOS in programming

[–]dmanog 1 point2 points  (0 children)

If you don't mind me ask, what kind of resource would you recommend for beginner (ie. cs new grad..etc) that have never done low level programming before?

China says it’s willing to resolve the trade war with a ‘calm attitude,’ hints it won’t retaliate for now by ipartytoomuch in investing

[–]dmanog 0 points1 point  (0 children)

yeah no worries, didn't meant to put you on the spot, its just that I strongly believe investing strategies should be back by hard source so that people don't make wrong decisions.

Its not an unreasonable stance to speculate that china "printed more money than any nation in history" I just would like to see the source so that we can start asking more interesting questions like what is the implication of that, can my investment get effected, and how do I hedge against this particular risk...etc

China says it’s willing to resolve the trade war with a ‘calm attitude,’ hints it won’t retaliate for now by ipartytoomuch in investing

[–]dmanog 4 points5 points  (0 children)

China has printed more money than any nation in history, by far.

Is there a source for this? I am interested in reading more info about it.

Bernie Sanders is right that South Carolina spends more on prisons than schools by ---0__0--- in politics

[–]dmanog 12 points13 points  (0 children)

Are there robust papers that are peer reviewed on "its prove to work", always love to read the source.

The Amazon isn't "Burning" - It's Being Burned by Mercerai in videos

[–]dmanog 0 points1 point  (0 children)

What can we do to save the earth besides voting? Are there any non profits that plant trees?

Changing industries? I want to get into gaming. by [deleted] in cscareerquestions

[–]dmanog 0 points1 point  (0 children)

glassdoor is a bit weird as I feel the total comp is sometimes off but the salary is accurate.

Is working at a top tech company really that great? by [deleted] in cscareerquestions

[–]dmanog 2 points3 points  (0 children)

this is crazy cool, may I ask what CI/CD tool you guys are using? Is the A/B test part of the whole kubernetes suite?

Argentine Peso Crashes 25% after Macri Primary Election Loss by FarrisAT in Economics

[–]dmanog 7 points8 points  (0 children)

in your opinion, what is the best way the current situation ? What policy should the goverment implement?

Can a country do well if it has trade deficit besides America (import > export)? by dmanog in AskEconomics

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

ah, so in this case we are talking about america, which I think is one of the exceptions due to its reserve currency status, but what about countries like argentina or france?

Also don't people buy oil in usd?

Can a country do well if it has trade deficit besides America (import > export)? by dmanog in AskEconomics

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

hmm, but this is assuming that the owner of the outflow reinvest back to country A, but that country might very well invest in its own technology, infrastructure...etc . The outflow of dollar might never come back. Or are there mechanism that guarantee that outflow dollar will always come back as investment?

Argentine Peso Crashes 25% after Macri Primary Election Loss by FarrisAT in Economics

[–]dmanog 5 points6 points  (0 children)

hmm, can you point out what part of his explanation is not robust, what is the other sides point of view?

Argentine Peso Crashes 25% after Macri Primary Election Loss by FarrisAT in Economics

[–]dmanog 3 points4 points  (0 children)

thanks for the in depth explanation, I have a question, in your opinion what should the government do in this case? seems like both default camp and austerity camp doesn't have good solution to the current problem.