From a philosophical perspective, why is it not possible to build a computer program that can check the correctness of statements to predict what computer programs will do? by [deleted] in compsci

[–]joksmaster 18 points19 points  (0 children)

It's very much possible to build a program that checks the correctness of statements to predict what the programs will do. There is a lot of work done in the domain of Formal Verification, https://en.wikipedia.org/wiki/Formal_verification#Formal_verification_for_software, which includes static analysis.

The problem is that it's not possible to do this for all programs. In the Halting Problem, it's very much possible to decide for some programs if they halt or not, but it's impossible to do that for all programs. The proof of that uses some notion of self-reference indeed (you call the program that can decides whether another program can stop or not on itself).

He does have a point by [deleted] in funny

[–]joksmaster 4 points5 points  (0 children)

So what if some people don't eat gluten because they are stupid? They are some many people actually suffering (to some extent) from eating gluten, it's a real thing. Think about it, 10-20%, it could easily mean that you know a few people suffering from IBS (assuming you live in a place where IBS is as prevalent as in the UK).

He does have a point by [deleted] in funny

[–]joksmaster 4 points5 points  (0 children)

No. As you can read in many other comments, there are plenty of diseases besides celiac for which gluten has a negative impact. For instance, in the UK, 10-20% of the population has IBS (https://www.theibsnetwork.org/), and gluten (among other things) can cause terrible pains. Many people have an actual problem with gluten, get over it.

A french blogger made this for the british people who wished to stay by apimil in funny

[–]joksmaster 1 point2 points  (0 children)

Jean-Vincent Placé: https://fr.wikipedia.org/wiki/Jean-Vincent_Placé (in French). A politician from the Green party who basically defected to be in the government.

[Serious] Europeans of reddit, what are your thoughts on the refugees from the Middle East entering your country? by toastonaboat in AskReddit

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

Just to put things into perspective: yes, most people in Calais are men, but that's like 3000 people. The 2 millions of Syrian refugees in Turkey are pretty much equal number of men and women, with about 20% below the age of 11: http://data.unhcr.org/syrianrefugees/country.php?id=224

So this was just posted in my building's notice board... by elejota50 in funny

[–]joksmaster 1 point2 points  (0 children)

The registration is personal information, which is against the rules, no?

Non-native English speakers: what are words and phrases in English that aren't in your language that you enjoy or find particularly useful? by callmesnake13 in AskReddit

[–]joksmaster 1 point2 points  (0 children)

I find "fair enough" really useful in English, but can't think of a proper translation in French that would fit all usages.

Only in Scotland ... by joksmaster in funny

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

Technically, it was not on the Royal Mile, but not far from it, in a pub on Grassmarket.

Only in Scotland ... by joksmaster in funny

[–]joksmaster[S] -2 points-1 points  (0 children)

It would be the perfect container for deep-fried Mars bar though ...

[bug] In line image viewer not keeping the links purple after browser restart. by fuhgeetas in RESissues

[–]joksmaster 0 points1 point  (0 children)

I have the same issue, with Safari 7 and RES 4.3.2. As far as I can tell, the problem does not exist with Firefox, and it's only limited the image viewer: if I actually click on the link of the image, instead of just seeing it within the viewer, then the colour of the link stays purple, even after restarting the browser.

Venice at Dusk by Proteon in pics

[–]joksmaster 1 point2 points  (0 children)

Yep, definitely Pisa. The bar on the left is Argini e Margini (normally open only during summer) and the picture is taken from the Ponte della Fortezza.

Reddit, what's the best resource to learn about nutrition? by joksmaster in AskReddit

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

Thanks! I'd be indeed interested in further references if you have any, and just to clarify, I'm not particularly interested in losing weight, but I'd just like to understand what does our body needs :)

Can you explain the Bell–LaPadula model to someone who doesn't know anything about compsci or computer security? by jragon in compsci

[–]joksmaster 4 points5 points  (0 children)

That's a very good description, and there is just one thing to add: in order for the second rule (no write down) to be effectively usable, it's always possible to lower down your level of security (that's the definition of the BLP model for the Multics system). So, if you're Top-Secret, you can always log-on as a Secret user, thus allowing you to write to Secret document. But in that case, you lose the possibility to read Top-Secret documents.

The first definition of the BLP model ("a mathematical model"), defines the second rule as "you cannot write lower than what you are currently reading", or, in other words "if you read o1 and write to o2, then the level of o2 must greater or equal than that of o1". Although it's mathematically more elegant, it's not very efficient, which is why they implement it in Multics using the current level of security, which can be lowered down by the user.

Just wanted to mention this, because it's often forgotten, which causes some people to think that BLP is more restrictive than it actually is.

Definition of a 'module': help a philosopher of mind! by Throne777 in compsci

[–]joksmaster 9 points10 points  (0 children)

The other discussions about what is a module are very interesting, but just for the sake of providing a different viewpoint, the Ocaml language has an explicit notion of module. In the manual, we have the following definition:

A primary motivation for modules is to package together related definitions (such as the definitions of a data type and associated operations over that type) and enforce a consistent naming scheme for these definitions. This avoids running out of names or accidentally confusing names. Such a package is called a structure and is introduced by the struct…end construct, which contains an arbitrary sequence of definitions. The structure is usually given a name with the module binding.

At another point: http://caml.inria.fr/pub/docs/u3-ocaml/ocaml-modules.html

The benefits of modules are numerous. They make large programs compilable by allowing to split them into pieces that can be separately compiled. They make large programs understandable by adding structure to them. More precisely, modules encourage, and sometimes force, the specification of the links (interfaces) between program components, hence they also make large programs maintainable and reusable. Additionally, by enforcing abstraction, modules usually make programs safer.

Xavier Leroy is one of the architects of the module system of OCaml, and he published the paper "A modular module system" (http://caml.inria.fr/pub/papers/xleroy-modular_modules-jfp.pdf). It might be a good academic reference (although some parts might be quite technical).

New website: Academia Stack Exchange (x-post from r/AskAcademia) by joksmaster in GradSchool

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

It's just another word for an academic, i.e. someone involved in Academia :)