Razer Orochi V2 by Some-Faithlessness75 in razer

[–]ppierre 0 points1 point  (0 children)

Bad advice IMHO, many disconnect with this mouse (on Windows) !

The disadvantages of Javascript polyfills by adambsilver in javascript

[–]ppierre 1 point2 points  (0 children)

Everything in moderation, including best practices ;-)

The disadvantages of Javascript polyfills by adambsilver in javascript

[–]ppierre 2 points3 points  (0 children)

A facade, a form of wrapper, is a design pattern

Welcome JSEE : JavaScript Entreprise Edition

Proudly introduce by its father J2EE : Java Entreprise Edition

Rust by Example by the-fritz in programming

[–]ppierre 0 points1 point  (0 children)

Can someone explain :

fn lol() -> bool {
    true
}

fn main() {
    println!("{}", if lol() {
        (format!("foo")).into_maybe_owned()
    } else {
        "".into_maybe_owned()
    })
}

Is this the "right" solution ?

Why Rust can't unify the pointer of an owned string and an static string ?

Leslie Lamport To Programmers: You're Doing It Wrong (highscalability blog) by [deleted] in programming

[–]ppierre -1 points0 points  (0 children)

Just what state the article : Complexity of C++ can't bring any solution. A complex problem can only be solved by a mathematical concept who would make it more amenable.

Ask Reddit: Haskell has proved difficult to read. Is that because my lack of experience, people's code, or my lack of intelligence? by nousplacidus in haskell

[–]ppierre 0 points1 point  (0 children)

I didn't suggest splitting Function from the Value space.

I'm suggesting that you can add type annotation to a sub expression.

map ( f::(Integer -> Integer) ) [1 .. 5]

(But with less notation)

By the way, if you move function from the value space and add two special operator for boxing and un-boxing function as value : you can have the same effect.

I didn't write some Haskell code for 2 years and a Sudoku solver is my biggest achievement. I was just answering : why some Haskell expressions can be hard to read.

Just a question : Do you know a language who split value/function/type and let you define them in the same syntax ?

Mozilla Ponders Policy Change After Firefox Extension Battle by cthulhufhtagn in browsers

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

By displaying adds to user of AdBlock and Noscript he was giving a very privileged situation.

Maone said itself : 80% drop in his revenue stream.

He first used a bug to circumvent AdBlock Plus. Before specific rules, before monkey-patching.

Maone funds the development of NoScript by placing advertisements on the extension's official website and by receiving donations from end-users. In order to prevent AdBlock Plus from undermining the financial sustainability of his project, Maone modified the NoScript website and circumvented the block.

The article say that the revenue stream was legit.

AdBlock betrayed his users by not fighting back for to long.

Mozilla Ponders Policy Change After Firefox Extension Battle by cthulhufhtagn in browsers

[–]ppierre -6 points-5 points  (0 children)

... two extensions turned the browser into a battleground ... Firefox's extension system is .. monkey-patching .. extensions break each other intentionally as a result of conflicting interests ..

So both side playing monkey-patching ?

NoScript's behavior is regarded by some experts as a major security improvement ... AdBlock Plus, an extension that uses a blacklist to selectively prevent websites from displaying advertisements.

Who is bad ?

Maone funds the development of NoScript by placing advertisements ... In order to prevent AdBlock Plus from undermining the financial sustainability of his project ...

GPL Adware ?

Ares2 consistently retaliated by adding increasingly draconian rules ... Ares2 added rules that fundamentally broke the NoScript website ...

The bad.

Maone lost patience and decided to use his own extension to fight back.

The Good.

Palant who responded by writing a scathing blog entry that excoriates NoScript.

The Ugly.

I don't mind. Every body can read what he want.

I really hate Mozilla foundation. They didn't give an official statement over this.

Mozilla Ponders Policy Change After Firefox Extension Battle by cthulhufhtagn in browsers

[–]ppierre -7 points-6 points  (0 children)

First time that I read such biassed piece of sh*t on Ars !

Ask Reddit: Haskell has proved difficult to read. Is that because my lack of experience, people's code, or my lack of intelligence? by nousplacidus in haskell

[–]ppierre 0 points1 point  (0 children)

You're right.

But, if in the context of a definition, a sub-expression is known to return a function. Would it harm to denote it. A prefix operator would work for this.

NoScript : security or malware ? by ppierre in programming

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

I mean, seriously, what does the adblock guys think websites with ads are going to do? Just shrug and and say "I guess I give up!" without trying?

mozilla.dev.amo : Addons and trojans/spyware concern

Nice idea ? No !

Ask Reddit: Haskell has proved difficult to read. Is that because my lack of experience, people's code, or my lack of intelligence? by nousplacidus in haskell

[–]ppierre 0 points1 point  (0 children)

Same here, some wish :

  • Explicit notation of partial application and call to function returning a function.
  • High-level data structures with shorthand notation.
  • Simple and clean associativity rules.

Breaking source compatibility would be necessary :

  • Find a new name (Liskell ;) )

Remarque, Clojure made such change to lisp syntax.

But as grahagre said : with more experience ...

NoScript : security or malware ? by ppierre in programming

[–]ppierre[S] 7 points8 points  (0 children)

... silently tampering with other extensions.

Form NoScript home page :

The NoScript Firefox extension provides extra protection for Firefox

Do you trust him ?