Re: Sociomantic's short DConf2016 video

2016-05-24 Thread Bauss via Digitalmars-d-announce

On Tuesday, 24 May 2016 at 11:06:45 UTC, Leandro Lucarella wrote:
For the ones that missed it (and the ones that didn't too), 
here is a short video about the conference.


https://vimeo.com/167235872


Looks amazing. I hope, I can get to join the next one! :)


Re: Diamond - MVC / Template engine

2016-05-25 Thread Bauss via Digitalmars-d-announce

On Wednesday, 25 May 2016 at 12:29:03 UTC, Kagamin wrote:

On Tuesday, 24 May 2016 at 14:57:03 UTC, Bauss wrote:
Note: If you have a better suggestion, feel free to come with 
one :)


I'd say do what razor does: raw output should require extra 
syntax. Weren't templates created in order to not build html in 
code?


So you suggest to switch them around? :)

@=value; will become encoded and @$=value; will become raw?

That could work out.


Re: IDE - Coedit 2, update 6 released

2016-05-27 Thread Bauss via Digitalmars-d-announce

On Thursday, 26 May 2016 at 23:44:21 UTC, Basile B. wrote:
Mostly because an important feature of the library manager was 
not compatible with DUB > v0.9.24. Otherwise almost nothing.


See https://github.com/BBasile/Coedit/releases/tag/2_update_6 
for the changelog and the binaries.


Is there anyway to get dark theme?


Re: IDE - Coedit 2, update 6 released

2016-05-28 Thread Bauss via Digitalmars-d-announce

On Saturday, 28 May 2016 at 13:08:55 UTC, Basile B. wrote:

On Friday, 27 May 2016 at 17:49:18 UTC, Bauss wrote:

On Thursday, 26 May 2016 at 23:44:21 UTC, Basile B. wrote:
Mostly because an important feature of the library manager 
was not compatible with DUB > v0.9.24. Otherwise almost 
nothing.


See https://github.com/BBasile/Coedit/releases/tag/2_update_6 
for the changelog and the binaries.


Is there anyway to get dark theme?


If the native UI of the operating system has a dark theme then 
Coedit will have a dark theme too. You just have to adjust the 
highlighter attributes, like here:


http://imgur.com/sKCB1Vz


So there's no way to do it through the editor? Like I don't use a 
dark theme in my OS, but I do like my editors to be dark.


Re: IDE - Coedit 2, update 6 released

2016-05-28 Thread Bauss via Digitalmars-d-announce

On Saturday, 28 May 2016 at 21:55:58 UTC, Basile B. wrote:

On Saturday, 28 May 2016 at 20:39:18 UTC, Bauss wrote:
So there's no way to do it through the editor? Like I don't 
use a dark theme in my OS, but I do like my editors to be dark.


I confirm. Dark theme only available if the OS widget set has 
one.


That's a shame, damn. May I suggest some proper theme 
configuration that isn't bound to OS then?


Re: PowerNex - New release of my D kernel

2016-05-31 Thread Bauss via Digitalmars-d-announce

On Sunday, 29 May 2016 at 23:15:13 UTC, Wild wrote:

Hey!

I have new release of my D kernel called PowerNex.
This release should be a bit more interesting than the last one 
that I release back in November 2015.


This one contains a working memory manager, a custom TTY 
renderer, BMP image renderer, a VFS, etc.

More information is in the Github release.

https://github.com/Vild/PowerNex/releases/tag/v0.1.0-ALPHA
The Github release also have a precompiled ISO.

The project is fully open source and located at 
https://github.com/Vild/PowerNex under the MPLv2 license.


Hopefully someone will find this interesting.
All feedback is appreciated.

-Dan


This is really amazing!


Re: Facebook is using D in production starting today

2016-06-04 Thread Bauss via Digitalmars-d-announce

On Saturday, 4 June 2016 at 00:41:33 UTC, Meta wrote:
On Friday, 11 October 2013 at 00:36:12 UTC, Andrei Alexandrescu 
wrote:
Today I committed the first 5112 lines of D code to Facebook's 
repository. The project is in heavy daily use at Facebook. 
Compared to the original version (written in C++) we've 
measured massive wins in all of source code size, build speed, 
and running speed.


In all likelihood we'll follow up with a blog post describing 
the process.



Andrei


Since this thread has been brought back to life anyway, does 
anyone know if Facebook is still using D now that Andrei has 
left?


Most likely, I mean why would they start to discard it?


Re: 4x faster strlen with 4 char sentinel

2016-06-27 Thread Bauss via Digitalmars-d-announce

On Tuesday, 28 June 2016 at 03:58:23 UTC, Jay Norwood wrote:

On Tuesday, 28 June 2016 at 03:11:26 UTC, Jay Norwood wrote:

On Tuesday, 28 June 2016 at 01:53:22 UTC, deadalnix wrote:
If we were in interview, I'd ask you "what does this returns 
if you pass it an empty string ?"


oops.  I see ... need to test for empty string.

nothrow pure size_t strlen2(const(char)* c) {
  if (c is null || *c==0)
 return 0;
  const(char)* c_save = c;
  while (*c){ c+=4; }
  while (*c==0){ c--; }
  c++;
  return c - c_save;
}


Why not just do

nothrow pure size_t strlen2(const(char)* c) {
  if (!c)
return 0;

  ...
}


Re: DlangUI 0.9.0: Console backend added

2016-09-13 Thread Bauss via Digitalmars-d-announce

On Friday, 9 September 2016 at 11:21:07 UTC, Vadim Lopatin wrote:

Some screenshots (from dlangui example1 app):

  http://i63.tinypic.com/2wn1bg9.png
  http://i66.tinypic.com/142yctx.png
  http://i64.tinypic.com/snlc08.png
  http://i64.tinypic.com/2n16vcw.png



Good job, but why do people still use tinypic in 2016, when 
things like imgur exist that are a 1000 times faster to use, no 
dirty ads and images won't magically be taken down someday.


Re: New user, even she does not know yet

2016-09-30 Thread Bauss via Digitalmars-d-announce

On Monday, 26 September 2016 at 12:06:58 UTC, Daniel Kozak wrote:

https://onedrive.live.com/?authkey=!AEQ5lsngH-Oe3DA&id=87E57DF7155C89C9!24197&cid=87E57DF7155C89C9


Congratulations


Re: D IDE - Coedit 3 first beta

2016-11-27 Thread Bauss via Digitalmars-d-announce

On Tuesday, 22 November 2016 at 23:38:53 UTC, Basile B. wrote:
- Changelog: 
https://gist.github.com/BBasile/5dfb21fd6bd5848922867633eb4136f5
- Github release page: 
https://github.com/BBasile/Coedit/releases/tag/3_beta_1


Note that this announce is short on purpose. It's a 
pre-release, however I've build the usual binaries, see second 
link.


You want to test, you see something not quite right ? The only 
way to get it handled is: 
https://github.com/BBasile/Coedit/issues


a+++


Is themes still based on the theme of your OS or can you choose 
themes yourself? I remember asking this question a long time ago 
in regards to getting a dark theme, but back then it was based on 
whether your OS was a dark theme or not.


Just curious.


<    1   2   3