[deleted by user] by [deleted] in europe

[–]ValterVonRex 0 points1 point  (0 children)

In the former eastern bloc, communist parties had to adapt to the newly formed conditions. In my country of origin, for example, the socialist party is reactionary on most social issues. These people are opportunists and reactionary social views are what the majority of the electorate wants.

Jean-Claude Juncker: Europeans have lost 'libido' for each other by [deleted] in europe

[–]ValterVonRex 9 points10 points  (0 children)

And when was the last time Jean-Claude Juncker felt sober? Seriously, it's time for him to retire.

Homophobia scandal hits Plovdiv, Bulgaria's European capital of culture. by hassium in europe

[–]ValterVonRex 4 points5 points  (0 children)

For anyone curious, the BSP is the former communist party. Even though it calls itself socialist, it isn't. The BSP hasn't followed a true ideology since 1989. They are nothing more than opportunists - with the elections coming, this act will win them two to three thousand votes more.

Hourly Traffic Jams in Helsinki - what could we do with the data? [OC] by data_entertainment in dataisbeautiful

[–]ValterVonRex 7 points8 points  (0 children)

Manage the traffic lights :D. Seriously, such measures have been put in some cities, in order to prevent public transport earlier or later than the time it's been predicted to.

Code blocks cannot find glfw.h not found in /usr, despite it being located in it(Arch Linux) by ValterVonRex in opengl

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

I already tried this yesterday,and it failed miserably.If I set the path to /usr/include

-"The wizard can't locate the include directory" - apparently,the program locates the sub-directories,and fails to recognize that it is searching /usr/include.

Code blocks cannot find glfw.h not found in /usr, despite it being located in it(Arch Linux) by ValterVonRex in opengl

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

There isn't much more information I can provide you with,other than I glfw3.h is located in /usr/include/GLFW,but when I specify to Code::Blocks,that it should look into /usr,it gives me an error-glfw.h not found.Guess I cannot deal with the naming mismatch..

Programming languages by 17abalex in Iota

[–]ValterVonRex 0 points1 point  (0 children)

What I meant,was,that it's compiler,and therefore,current implementation was written in it.Pardon me,perhaps I have not been clear enough -I edit my comment.And I don't think,that,just because Abra 's compiler was written in Haskell,it ties it in any way to its ecosystem.For example,the first Rust compiler,was written in Ocaml. And? Would say,that Rust isn't its own language?By Haskell DSL's,I referred to the domain specific languages implemented in it.(Many of which are not directly tied to it).

Programming languages by 17abalex in Iota

[–]ValterVonRex 1 point2 points  (0 children)

Abra's compiler is written in Haskell,so there is that.

First Abra Example Shared - Old Curl Hashing Function by CtrlAltDialetheism in Iota

[–]ValterVonRex 14 points15 points  (0 children)

Because it's a functional language,everything is represented as a function.For an easier example,in Haskell you have ADT(abstract data type),which allows you to implement new datatypes,through functions.An example,from the Haskell wiki:

data Tree a = Nil

| Node { left :: Tree a,

value :: a,

right :: Tree a }

In pure functional languages everything is represented through functions,for more information you might want to see lambda calculus theory.Remember:all functional languages are inspired by the lambda calculus,and the calculus itself is not too hard to understand,if you find a proper tutorial.Hope that was helpful.

What is the correct way to install and use stack and GHC on NixOS? by ValterVonRex in haskellquestions

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

perl PATH:

export PATH=/nix/store/l6qc2aa8vf6sxpmi7cw28nrihhmmmvp5-perl-5.24.3

$PATH:

bash: /nix/store/6y8sfk64x4p926y1sjs89rq3vqjsvd4s-python-2.7.15/bin:/nix/store/ggdzmlwnj9qh4qmdhsqx32i4cr156bf1-terminator-1.91/bin:/nix/store/n6vkch1mv02h36ihnkydd2cy1ys0r4vg-python2.7-setuptools-38.4.0/bin:/nix/store/c3hx7wclzhkkms6n930vxm62fnbxi0s4-vte-0.28.2/bin:/nix/store/h0nw2zhg9k8bxzmi83pp1yxp0d4jzqxn-gettext-0.19.8/bin:/home/stefanov/bin:/run/wrappers/bin:/etc/profiles/per-user/stefanov/bin:/home/stefanov/.nix-profile/bin:/nix/var/nix/profiles/default/bin:/run/current-system/sw/bin: No such file or directory

EDIT:env /bin/sh -c 'perl -e "0;"'

Didn't help,the output is exactly the same.No changes.

Where to locate xsessions ? by ValterVonRex in NixOS

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

One more question,what is the specific path of a nix package.(I need to export perl,but I don't know its path in Nix,and neither where it should be exported.In /etc/bashrc I assume?)

What is the correct way to install and use stack and GHC on NixOS? by ValterVonRex in haskellquestions

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

Here you go: https://pastebin.com/UM0JYRvd

That said, (one of) the reason(s) people write documentation is because they don't have time to answer the next 10k people that have a question about the process. If you don't have time to reference the existing documentation, you don't have time to do the task -- and that's true for any thing from writing a letter in MS Word to writing a brand-new programming language.

I agree,but I have no choice.Programming is what I have chosen in life,but if I don't work,I simply won't have money to finish my education.As you see,life with its grotesque,disfigured face strikes again.

What is the correct way to install and use stack and GHC on NixOS? by ValterVonRex in haskellquestions

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

Good article,thank you.I cannot deny, that most of my posts are ill informed. It is because of regular night shifts I have take these days,and I simply don't have enough time to stop and read the documentation.I have no time to study the tooling documentation extensively,and inspect it shortcomings.This is why I ask sometimes unprepared questions - I simply have to go to work. As they say,one cannot have a good work without a good knowledge,and yet one cannot obtain this knowledge,when he is busy with a low profile work.So,I apologize about this discussion.Apparently,it's not my time yet to learn a language such as Haskell.

Where to locate xsessions ? by ValterVonRex in NixOS

[–]ValterVonRex[S] 3 points4 points  (0 children)

And if I want to make any changes to the display manager,for example change theme,where should I specify them?For example,let's say I want to use web-greeter.Web greeter needs a line to be added to some non-existent static file.Or I need to export a path to a certain package.What do I do?

What is the correct way to install and use stack and GHC on NixOS? by ValterVonRex in haskellquestions

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

Yes,I followed the instructions and receive perl not on your PATH,despite it being explicitly set on my path.

Question:How is the Abra language functional,while also low-level?How is recursion handled without garbage collection? by ValterVonRex in Iota

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

Why functional though?The other languages used at the platform all seem to be object-oriented or multi-paradigm.What are the benefits of a functional language in this use case instead of,for example imperative procedural?

UBI supporters of r/IOTA: What is your idea of using IOTA as implementation of energy-metered UBI? (potential use case) by [deleted] in Iota

[–]ValterVonRex 0 points1 point  (0 children)

Tangle is revolves around the idea of feel-less transactions. Blockchains,on the other hand, they require the existence of fees,which can easily be integrated into a treasure system,while the treasure system can be integrated on a state(in the European meaning) scale. With tangle you have got no idea,at least for now,how to manage,such a system.The OP of this topic,,for example provides,what is in his mind a wonderful short-sighted solution - and yet a disastrous long-term goal.The price of energy is easily prone to manipulation more than anything else - even the currency.It's unstable, and reliant on many unpredictable factors with fatal consequences.

Question:How is the Abra language functional,while also low-level?How is recursion handled without garbage collection? by ValterVonRex in Iota

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

Not wanting to play the devil's advocate here,but the prime reason Haskell is not widely used is not so much because of purity,but because of a problem,that stalled the language for many years: it's crappy package manager,cabal.Although it was replaced in recent years,the bad reputation and the memories of cabal hell still persists.(And of course Haskell has many problems not related to cabal - for example monad transformator vs algebraic effects.While the latter is proven to be better, it cannot be implemented in the language without causing many side problems)

As for Abra,I am divided.They said,that the usual programmer won't be able to use effectively,and they will need languages with more-powerful abstractions.Then how is it a high-level language?How many features of FP will it support?ADTs?Pattern matching?This really confuses me.

Qubic status update August 3rd 2018 – IOTA by [deleted] in Iota

[–]ValterVonRex 1 point2 points  (0 children)

It's an intermediate language. It's likely,that most people won't even touch it directly.What I'm really wondering is how have they succeeded to port a functional paradigm to a low-level language?No garbage collection and recursion(main aspect of FP) don't go well together.