BogusIKnow's comments

BogusIKnow | 10 years ago | on: Support of OpenBSD pledge(2) in programming languages

Idea looks really really nice.

Not sure how some edge cases (?) are handled. For example if a database server goes down, my app that uses pledge needs to open another socket to another server. Reload of changed configurations?

"Unpledge" then pledge again? Whitepaths?

BogusIKnow | 10 years ago | on: Congratulations You’ve Been Fired

"She was 35, had been with the company for four years, and was told without explanation by her 28-year-old manager"

What's the fuzz about the ages? Age discrimination by NYT author?

BogusIKnow | 10 years ago | on: Corporate Media Gatekeepers Protect Western 1% from Panama Leak

"There is no mention at all of use of Mossack Fonseca by massive western corporations or western billionaires – the main customers."

Such as strong claim ('main customers') would be nice to be substantiated.

Also the author needs to show the data is there.

If this is the map (linked in another comment), and it main customers were not cut out, then it doesn't look as it has a lot of e.g. US content.

https://briankilmartin.cartodb.com/viz/54ddb5c0-f80e-11e5-9a...

BogusIKnow | 10 years ago | on: Corporate Media Gatekeepers Protect Western 1% from Panama Leak

If you quote these, then why not the more completly:

"CPI reports receiving foundation support from a number of foundations, including the Sunlight Foundation, the Ethics and Excellence in Journalism Foundation, the Ford Foundation, the John D. and Catherine T. MacArthur Foundation, the John S. and James L. Knight Foundation, the Omidyar Network, the Open Society Foundation, and the Pew Charitable Trusts.[31] The Barbra Streisand Foundation reports that it has funded CPI." -Wikipedia

And from their website: "Recent ICIJ funders include: Adessium Foundation, Open Society Foundations, The Sigrid Rausing Trust, the Fritt Ord Foundation, the Pulitzer Center on Crisis Reporting, The Ford Foundation, The David and Lucile Packard Foundation, Pew Charitable Trusts and Waterloo Foundation."

From the reporting:

- Fat Cat Hotel: How Democratic High-Rollers Are Rewarded with Overnight Stays at the White House.

- Windfalls of War, a report arguing that campaign contributions to George W. Bush affected the allocation of reconstruction contracts in Afghanistan and Iraq

- CPI's report, Who’s Behind the Financial Meltdown?,[45] looking at the roots of the global financial crisis

- Tobacco Underground, an ongoing project tracing the global trade in smuggled cigarettes

(All from Wikipedia)

BogusIKnow | 10 years ago | on: Ubuntu on Windows

It is funny how in your head, one image of a company is replace by another over time. It does not happen instantly, but with more and more actions by the company (open source .NET, Ubuntu on Windows,...) the image changes over time. I found that fascinating watching myself change the image of MS in my head.

BogusIKnow | 10 years ago | on: Thread pools: How do I use them?

Something not so obvious for beginners: Java/Scala does not use all the available memory. If you get out of memory problems with the 10gb data set and you have much more RAM available, you need to tell Java/Scala to increase the Heap.

BogusIKnow | 10 years ago | on: Thread pools: How do I use them?

As is sometimes the case, people start with the wrong abstraction (thread pool) and then optimize it.

Java/Scala streams look like they would solve most of the problems in the post on their own.

e.g. Java streams

http://radar.oreilly.com/2015/02/java-8-streams-api-and-para...

    private void runParallel() {
      trades
      .stream()
      .parallel().forEach(t->doSomething(t) );
    }
Java/Scala has a hierarchy of concurrency abstractions, from high level to low level:

Streams, Parallel collections, Futures, Actors, Fork/Join, ExecutionContext/ExecutorService, Threadpools, Threads, synchronized, Barriers, Atomic values and many more.

BogusIKnow | 10 years ago | on: Banned by Amazon for returning faulty goods

If you follow electronic forums or photo forums, for many people it's common practice to order new electronic or photo toys and return them, with no intention to ever buy them. They boast how clever they are.

All the rest of us then receive "new" articles from Amazon that have been opened, played around and returned by these people.

Tell tale sign in the article:

"[..] said the majority of items he returned were high-value electronic items that had failed. He had chosen to cancel problematic purchases rather than wait for Amazon to simply exchange the item."

He had no intention to get an exchange, because he had no intention to ever buy those articles.

BogusIKnow | 10 years ago | on: Adam

Especially the second part with the humans looked very real.
page 1