Re: Meson support for Mir and Lubeck

2018-09-09 Thread Russel Winder via Digitalmars-d-announce
On Sun, 2018-09-09 at 21:22 +, 9il via Digitalmars-d-announce wrote:
> 
[…]
> Looks like that only betterC projects are good enough to become 
> Debian packages. Generally because of the have stable C ABI that 
> does not depend on D compiler version at all.

I do not follow the logic here at all. Any and all projects with a CMake,
Meson, SCons, even Make build be Debian packages. Many Debian packages depend
on specific versions of things like GCC runtime or LLVM. The Debian packaging
system allows for many versions of libraries to co-exists. Thus supporting
multiple versions of Druntime and Phobos is possible.
   
> 
[…]
> > I only worry about potential name clashes with Mir (the display 
> > server) in Ubuntu ^^
> 

This is going to be a naming problem. Debian has many of these sort of naming
clash and usually it is best for the smaller, newer project to accept that
they need to choose a non-clashing name. Recent example the Mu editor, but
there are many instances of this. D's Mir needs to choose a name that doesn't
clash with Canonical's Mir.


-- 
Russel.
===
Dr Russel Winder  t: +44 20 7585 2200
41 Buckmaster Roadm: +44 7770 465 077
London SW11 1EN, UK   w: www.russel.org.uk



signature.asc
Description: This is a digitally signed message part


Re: libmir: recent updates

2018-09-09 Thread Shigeki Karita via Digitalmars-d-announce

On Sunday, 9 September 2018 at 17:24:49 UTC, 9il wrote:
Mir Algorithm http://mir-algorithm.dub.pm  - v2.0.0, new 
ndslice API, bitwise accelerated mir.algorithm.iteration, new 
mir.bitop module


Mir Optim http://mir-optim.dub.pm - v1.1.0, full rework of main 
LM loop, two times faster then Alglib for calibration of 
multiple curves.


Mir Random http://mir-random.dub.pm - v1.0.0, upgrade ndslice 
API


Mir http://mir.dub.pm - v2.0.0, upgrade ndslice API, `range` 
for n-dimensional random variables.


Asdf http://asdf.dub.pm - v0.2.5, null support for associative 
arrays (John Colvin)


Part of this work has been sponsored by Symmetry Investments 
and Kaleidic Associates.


http://symmetryinvestments.com
https://github.com/kaleidicassociates

Best,
Ilya Yaroshenko


great. numir (numpy like helper functions library) also supports 
mir-algorithm v2 today


https://github.com/libmir/numir/releases


Re: Meson support for Mir and Lubeck

2018-09-09 Thread 9il via Digitalmars-d-announce

On Sunday, 5 August 2018 at 02:36:29 UTC, Matthias Klumpp wrote:

On Saturday, 4 August 2018 at 18:23:15 UTC, 9il wrote:
The Meson Build system [13] support was added to the following 
Dub packages:


asdf [1] - JSON serialisation library
cblas [2] - CBLAS header for Dlang
lapack [3] - LAPACK header for Dlang
lubeck [4] - High level linear algebra library
mir-algorithm [5] - Core algorithm library and a home for 
Dlang multidimensional array package - ndslice

mir-blas [6] - ndslice wrapper for CBLAS
mir-lapack [7] - ndslice wrapper for LAPACK
mir-linux-kernel [8] - Linux headers for Dlang
mir-optim [9] - Optimisation framework
mir-random [10] - Advanced random number engines and random 
distributions

[...]


Neat! This will allow us to package Mir for Debian. At the 
moment, there is nothing using Mir in Debian (obviously) and 
nothing using it is planned for packaging, but adding it might 
be useful still, since it can also - with some limits - be used 
from non-D code.




Looks like that only betterC projects are good enough to become 
Debian packages. Generally because of the have stable C ABI that 
does not depend on D compiler version at all.


Maybe we can pack Mir Optim, what is the proper way to do it?
Its features:
 * stable betterC API/ABI, C/C++ headers
 * two times faster then Alglib for multiple (heavy) curve 
calibration (recent release)
 * allows to use user specific threads through C API, while free 
version of Alglib is strictly single thread.


I only worry about potential name clashes with Mir (the display 
server) in Ubuntu ^^


Interesting, say libmir-optim(-dev) (I don't think we will have a 
lot of betterC packages)


Re: Meson support for Mir and Lubeck

2018-09-09 Thread 9il via Digitalmars-d-announce

On Sunday, 5 August 2018 at 02:42:43 UTC, Matthias Klumpp wrote:

On Saturday, 4 August 2018 at 18:23:15 UTC, 9il wrote:

[...]
The packages have been tested in a real world project on OSX 
with `$ meson configure -Ddefault_library=static/`.

[...]


Hmm, shouldn't this be `meson --default-library=static ..`?


Both options are valid, but it seems that your variants works 
better for projects with third dependencies. Thanks)


libmir: recent updates

2018-09-09 Thread 9il via Digitalmars-d-announce
Mir Algorithm http://mir-algorithm.dub.pm  - v2.0.0, new ndslice 
API, bitwise accelerated mir.algorithm.iteration, new mir.bitop 
module


Mir Optim http://mir-optim.dub.pm - v1.1.0, full rework of main 
LM loop, two times faster then Alglib for calibration of multiple 
curves.


Mir Random http://mir-random.dub.pm - v1.0.0, upgrade ndslice API

Mir http://mir.dub.pm - v2.0.0, upgrade ndslice API, `range` for 
n-dimensional random variables.


Asdf http://asdf.dub.pm - v0.2.5, null support for associative 
arrays (John Colvin)


Part of this work has been sponsored by Symmetry Investments and 
Kaleidic Associates.


http://symmetryinvestments.com
https://github.com/kaleidicassociates

Best,
Ilya Yaroshenko


Re: [OT] My State is Illegally Preventing Me From Voting In The Upcoming 2018 US Elections

2018-09-09 Thread Neia Neutuladh via Digitalmars-d-announce
On Sunday, 9 September 2018 at 09:34:31 UTC, Nick Sabalausky 
(Abscissa) wrote:
1. As most United States citizens are implicitly aware (though 
the government assumes NO responsibility to ensure citizens are 
aware of this), to vote in a United States of America election 
and have the vote legally *count*, a United States citizen MUST 
vote on the exact day of elections, from the exact location 
determined to be the correct voting location for said citizen.


In Ohio, early voting begins 10 October:

https://www.sos.state.oh.us/elections/voters/voting-schedule/

Some areas have vote-by-mail as the default. This increases 
turnout for non-Presidential elections from abysmal to merely 
shameful. In these areas, you don't need to go to a specific 
location (though there are ballot drop-off locations if you don't 
want to trust your ballot in the mail).


Re: [OT] My State is Illegally Preventing Me From Voting In The Upcoming 2018 US Elections

2018-09-09 Thread Abdulhaq via Digitalmars-d-announce

If you're serious then why not request an absentee ballot?

Just out of curiosity, how does posting this info here help you 
in any way?


Re: [OT] My State is Illegally Preventing Me From Voting In The Upcoming 2018 US Elections

2018-09-09 Thread Ola Fosheim Grøstad via Digitalmars-d-announce
On Sunday, 9 September 2018 at 09:34:31 UTC, Nick Sabalausky 
(Abscissa) wrote:
I sincerely apologize for the OT, but AFAIK, I don't have 
anywhere else to post. Please rm/delete/ban/etc... as 
appropriate, I take full responsibility. This is a (potentially 
inappropriate) "CYA" (Covering my "A 55") posting, so please 
delete/rm/ban/etc. as necessary, if applicable.


It works if you just write "smugglers" without "cv" for street 
name, but why are they making it so difficult? I just get a card 
with voting location in the mail.


Precinct and Polling Location:
293A/1 - WILLOUGHBY CITY 3A
IMMACULATE CONCEPTION CHURCH
37940 EUCLID AV



[OT] My State is Illegally Preventing Me From Voting In The Upcoming 2018 US Elections

2018-09-09 Thread Nick Sabalausky (Abscissa) via Digitalmars-d-announce
I sincerely apologize for the OT, but AFAIK, I don't have anywhere else 
to post. Please rm/delete/ban/etc... as appropriate, I take full 
responsibility. This is a (potentially inappropriate) "CYA" (Covering my 
"A 55") posting, so please delete/rm/ban/etc. as necessary, if applicable.


https://semitwist.com/articles/article/view/my-state-is-illegally-preventing-me-from-voting-in-the-upcoming-2018-us-elections

I am a 36-year-old, legal resident of Willoughby, Lake County, Ohio, 
United States. I have been a legal resident of this county for most of 
my life, and a legal resident of this state for my entire life, since 
the day I was born (an event which is also documented to have occurred 
in Willoughby, Lake County, Ohio, United States). I have never been 
arrested (nor convicted) of a felony, nor a misdemeanor. Yesterday 
(September 8, 2018), I (along with most of the city) received the 
following letter in the mail:


http://semitwist.com/Ohio_Letter_Front.jpeg
http://semitwist.com/Ohio_Letter_Back.jpeg

Note six things:

1. As most United States citizens are implicitly aware (though the 
government assumes NO responsibility to ensure citizens are aware of 
this), to vote in a United States of America election and have the vote 
legally *count*, a United States citizen MUST vote on the exact day of 
elections, from the exact location determined to be the correct voting 
location for said citizen. This correct voting location is determined 
based on the citizen's address of residence (ie, the mailing address 
where they live). Or at least, this is my best understanding based on 
what I've been told as a natural born citizen of the United States. If 
there is any inaccuracy, it has never been communicated to me either 
directly, nor through any school I have ever attended, nor any mail I 
have ever received, nor anyone I have ever had any contact with.


2. The exception to #1 is by voting through an absentee ballot (which 
comes with its own additional set of regulations and conditions which 
will invalidate the ballot).


3. I have NOT received any other correspondence, besides this exact 
letter, which gives me any information regarding the correct location to 
vote nor how to find the correct location to vote.


4. The letter does NOT tell me where I am supposed to go to vote. 
Instead, it tells me to use the website "www.myohiovote.com" to find out 
where I am supposed to go to vote.


5. If you go to "www.myohiovote.com" (with JavaScript enabled), it 
redirects to "https://www.sos.state.oh.us/elections/voters/";


6. The current Ohio Secretary of State is Jon Husted (Republican): 
https://en.wikipedia.org/wiki/Jon_Husted


Here's the clincher: On said website, "www.myohiovote.com" (ie, 
"https://www.sos.state.oh.us/elections/voters/";), via the one and only 
link to "Find My Polling Location", if you select my county (Lake 
County) and provide my address[1], the only response the [clearly 
badly-designed] website provides is "Based upon the data input, no 
records have been found. Please modify your search criteria."


[1] The official street name is precisely "Smugglers Cove" (That's 
correct, no apostrophe. And yes, the street name is unintentionally 
hilarious.) For privacy purposes, I obviously won't provide the exact 
house number, but given basic Internet map searching abilities, it 
shouldn't be difficult to come up with a valid four-digit house number 
beginning with "3".


I have already informed both the website and the Secretary of the 
State's office (via both email and via the website itself, via 
https://www.sos.state.oh.us/secretary-husted-office/contact-our-office/contact-us-agency/) 
of this problem. We'll see what, if anything, comes of it. I will update 
as I receive any information.