[OT] Memory usage and Web (WAS: Re: Digger 1.0)

2014-09-23 Thread simendsjo via Digitalmars-d-announce
On 09/23/2014 04:48 PM, Joakim wrote:
 On Monday, 22 September 2014 at 13:23:33 UTC, simendsjo wrote:
 My guess is the average for developers is ~8GB. 2GB RAM is really not
 enough for pretty much anything these days - the browser alone easily
 chews 3-4GB on moderate use.
 
 You have to admit that this is ridiculous.  I updated to the 64-bit
 Chrome on Windows when it came out and it is a huge memory hog.  Web
 browsers have grown out of control.

It's well beyond rediculous. After I log into my graphical environment
with everything started, ~200MB is used. Launch a browser, and suddenly
~3800MB is used. If it wasn't for everyone hailing the inner platform
effect (usually seen as a bad thing) as the best thing since sliced
bread, many laptops would probably not ship with 4GB standard. But if
your parents want Facebook and Instagram, you better give them a pretty
beefy computer.

Oh... And the CPU requirements is pretty steep too - even my Lenovo T520
(Core i7) is really slow at browsing the web!

Oh.. And did I forget? You have to run a dynamic programming language
that pushes most mistakes easily caught at compile-time to runtime errors.

I obviously don't think The Web™ has made the right choices.
The amount of Javascript hype I see makes me quite ill. An OS? Really?
In Javascript? Seriously?



Re: Digger 1.0

2014-09-22 Thread simendsjo via Digitalmars-d-announce
On 09/22/2014 12:50 PM, Nick Treleaven wrote:
(...)
 Sometimes my Windows machine with 2 GB RAM gets OOM when trying to link
 phobos.lib (I have to close most programs and start again), it would be
 nice if there was a way to continue a failed build without starting from
 scratch.

My guess is the average for developers is ~8GB. 2GB RAM is really not
enough for pretty much anything these days - the browser alone easily
chews 3-4GB on moderate use. I recommend you just upgrade your computer
(or compile on a better iron).



Re: Digger 1.0

2014-09-22 Thread simendsjo via Digitalmars-d-announce
On 09/22/2014 07:28 PM, ketmar via Digitalmars-d-announce wrote:
 On Mon, 22 Sep 2014 15:24:55 +0200
 simendsjo via Digitalmars-d-announce
 digitalmars-d-announce@puremagic.com wrote:
 
 My guess is the average for developers is ~8GB. 2GB RAM is really not
 enough for pretty much anything these days - the browser alone easily
 chews 3-4GB on moderate use. I recommend you just upgrade your
 computer (or compile on a better iron).
 are your primary language is java? i'm asking just out of curiousity.
 

C#. Visual Studio requires quite a bit of memory; but template-heavy D
isn't exactly light on memory either.


Re: core.stdcpp

2014-08-29 Thread simendsjo via Digitalmars-d-announce
On 08/29/2014 07:07 PM, Sean Kelly wrote:
 On Wednesday, 27 August 2014 at 18:06:00 UTC, Daniel Murphy wrote:
 eles  wrote in message news:rixtiaiokrukvqjsf...@forum.dlang.org...

 One such platform exists and is the embedded system, others are the
 linux kernel and the like, and even others are writing D compiler
 back-ends and, yes, druntimes (well, exactly the part that it is
 called phobos-runtime above).

 An embedded system that can support all of D but doesn't have a
 cruntime?  I don't believe it.  If it has a cruntime then providing
 bindings is a non-issue, and if it can't support all of D then
 supporting only a subset (and then being free to exclude core.stdc) is
 inevitable.
 
 There was a D runtime years ago created as a separate project
 around the time that Druntime had its beginnings (as Ares) that
 had no dependencies on standard C.  The creator went by Maide in
 IRC, and she was doing some really cool stuff with it that made D
 work kind of like ObjectiveC.  I don't think it's in development
 any more, but it's probably possible to track it down with enough
 googling.

It's still available at dsource: http://www.dsource.org/projects/ares


Re: [Mono-D] v2.1.18 Parser/Completion/General fixesimprovements

2014-08-13 Thread simendsjo via Digitalmars-d-announce
On 08/13/2014 04:16 PM, Alex wrote:
(...)
 You should've noticed that the installation instruction stuff has been
 moved to
 the D wiki - http://wiki.dlang.org/Mono-D
(...)

Is it just me, or is there something very strange going on with the
wiki? Seems a lot of CSS isn't applied on that page and the front page -
No logo, login, edit etc etc (navigation at the bottom).
Other pages looks fine though.

Just my browser, or is anyone else experiencing the same issue?



Re: [Mono-D] v2.1.18 Parser/Completion/General fixesimprovements

2014-08-13 Thread simendsjo via Digitalmars-d-announce
On 08/13/2014 10:45 PM, Dicebot wrote:
 On Wednesday, 13 August 2014 at 20:27:42 UTC, Orvid King wrote:
 Can confirm. It was OK just a few hours ago though

 It's working fine for me using Opera, although the CSS may very well
 be cached for me...
 
 It has recovered ;)

Not for me. Doesn't work in firefox either (and I'm pretty sure I
haven't visited the wiki ever with firefox).


Re: DConf 2014 Keynote: High Performance Code Using D by Walter Bright

2014-07-20 Thread simendsjo via Digitalmars-d-announce
On 07/19/2014 08:37 PM, Andrei Alexandrescu wrote:
 On 7/16/14, 3:22 AM, bearophile wrote:
 Andrei Alexandrescu:
 http://www.reddit.com/r/programming/comments/2aruaf/dconf_2014_keynote_high_performance_code_using_d/



 Despite Walter is used to pipeline programming, so the next step is to
 also handle failures and off-band messages in a functional way (without
 exceptions and global error values) with two parallel pipelines, here
 named Railway-Oriented Programming. This is one of the simplest
 introductions (and he can skip the slides 19-53) that I have found of
 this topic (that in the Haskell community is explained on the base of
 monads):

 http://www.slideshare.net/ScottWlaschin/railway-oriented-programming
 
 Just read the slides, very interesting.
(...)

Didn't look at the slides, but I remember finding the following article
a very nice introduction:
http://fsharpforfunandprofit.com/posts/recipe-part2/

(...)


Re: DSnips - making D coding awesome in Vim (with GIFs!)

2014-07-18 Thread simendsjo via Digitalmars-d-announce
On 07/17/2014 10:57 PM, Kiith-Sa wrote:
 DSnips is a set of UltiSnips snippets for D (now with GIFs showing each
 snippet in action (image-heavy))
 
 https://github.com/kiith-sa/DSnips
 
 This is an attempt to overhaul the D snippets I got merged to UltiSnips
 (now a separate vim-snippets repository), as the previous snippets had
 quite a few bugs. The snippets should now be easy to use together/chain
 (e.g. an imp (import) snippet places the cursor on the beginning of
 the next line so imp can be used for another import, wrap in
 try/catch places the cursor to be ready to add more catch blocks,
 module license can be replaced by using another snippet inside it, etc.
 
 There are some rather intelligent snippets, e.g. an operator builder
 for opBinary/opUnary/opOpAssign that will generate the skeleton for all
 operators typed in by the user, automatic DDoc Params: generation from
 function parameters, etc.
 
 I want to eventually try to merge this back to the default repository,
 but I'd like some comments/criticism/ideas first. Should any snippets be
 removed? Added? Any problems with the current snippets? (the wrap in
 try/catch in the previous version had issues with wrapping indented
 text, for example)

This looks great! A lot better than my non-pythonized snippets :)


Re: DConf 2014 Day 2 Talk 6: Debugging in D by Iain Buclaw

2014-07-11 Thread simendsjo via Digitalmars-d-announce
On 07/11/2014 05:48 PM, Andrei Alexandrescu wrote:
 Upvote!!
 
 http://www.reddit.com/r/programming/comments/2afm4x/dconf_2014_day_2_talk_6_debugging_in_d_by_iain/
 
 
 https://www.facebook.com/dlang.org/posts/882826745064341
 
 https://twitter.com/D_Programming/status/487623887187083264
 
 
 Andrei

Not on HN?


Re: DConf 2014 Day 2 Talk 4: Reducing D Bugs by Vladimir Panteleev

2014-07-10 Thread simendsjo via Digitalmars-d-announce
On 07/10/2014 11:34 AM, Dicebot wrote:
 On Thursday, 10 July 2014 at 05:27:56 UTC, simendsjo wrote:
 On 07/10/2014 01:22 AM, Nordlöw wrote:
 On Wednesday, 9 July 2014 at 18:26:53 UTC, simendsjo wrote:
 Would it make sense to add them to the dtools repository?

 It's already included there as a submodule :)

 Hidden in plain sight.
 
 Wait what? Are you speaking about
 https://github.com/D-Programming-Language/tools ?

I was mostly thinking about the lack of visibility on the wiki and
homepage. And while dustmite is there, digger is not.


Re: DConf 2014 Day 2 Talk 4: Reducing D Bugs by Vladimir Panteleev

2014-07-09 Thread simendsjo via Digitalmars-d-announce
On 07/09/2014 06:00 PM, Andrei Alexandrescu wrote:
 http://www.reddit.com/r/programming/comments/2a8xf4/dconf_2014_day_2_talk_4_reducing_d_bugs_by/
 
 
 https://www.facebook.com/dlang.org/posts/881813965165619
 
 https://news.ycombinator.com/newest (please find and vote quickly)
 
 https://twitter.com/D_Programming/status/486902390399180801
 
 
 Andrei

Great talk! I didn't even know most of those tools existed!

Would it make sense to add them to the dtools repository?


Re: DConf 2014 Day 2 Talk 4: Reducing D Bugs by Vladimir Panteleev

2014-07-09 Thread simendsjo via Digitalmars-d-announce
On 07/10/2014 01:22 AM, Nordlöw wrote:
 On Wednesday, 9 July 2014 at 18:26:53 UTC, simendsjo wrote:
 Would it make sense to add them to the dtools repository?
 
 It's already included there as a submodule :)

Hidden in plain sight.


Re: DConf Day 1 Talk 6: Case Studies in Simplifying Code with Compile-Time Reflection by Atila Neves

2014-06-16 Thread simendsjo via Digitalmars-d-announce
On 06/16/2014 07:27 PM, Andrei Alexandrescu wrote:
 https://news.ycombinator.com/newest

Why not put DConf 2014 in the title too?



Re: Real time captioning of D presentations

2014-06-03 Thread simendsjo via Digitalmars-d-announce
On 06/03/2014 08:23 AM, Martin Drasar via Digitalmars-d-announce wrote:
 On 3.6.2014 7:55, simendsjo via Digitalmars-d-announce wrote:
 Or because somebody in the production studio decided the music and sound
 effects needed to be at least 2x louder than the dialog. 
 (...)

 I was about to say the exact same thing. I always have to turn the
 volume way down to not blow the roof when some sudden sound effect is
 played, but then I can't hear the voice. I even use subtitles for my
 native tongue if the movie has a lot of sound effects. I'm having a
 really hard time understanding the rationale behind this - is it to
 deafen viewers? To show that it's far from reality so people don't get
 confused mixing fiction with reality?
 
 It's not about deafening the viewer, it's about the costs. The sound is
 prepared for theatres with lots of HQ hardware and for 5.1 sound at
 minimum. The voice goes mostly to the central channel, effects on sides.
 When you have a 5.1 setup, you can turn the volume up on the central and
 down on sides and you will get reasonably sounding movies.
 
 However, nobody in the industry wants to spend money on converting the
 audio from 5.1 to 2, so it's usually left up to a player and it ends how
 you describe it. Also ripped movies suffer from these problems a lot.
 
 Martin
 

I had no idea, thanks. I just thought someone had the idiotic idea it
would be a nice idea to have sound effects a lot louder than voice :)


Re: Real time captioning of D presentations

2014-06-02 Thread simendsjo via Digitalmars-d-announce
On 06/03/2014 06:51 AM, Nick Sabalausky wrote:
 On 6/2/2014 5:16 PM, Jonathan M Davis via Digitalmars-d-announce wrote:
 On Mon, 02 Jun 2014 10:00:17 -0700
 Walter Bright via Digitalmars-d-announce
 digitalmars-d-announce@puremagic.com wrote:

 Captioning also helps people who aren't native english speakers.

 And native English speakers as well. It's not all that infrequent that
 I end
 up temporarily turning on subtitles in a movie that I'm watching,
 because the
 actor didn't say the line clearly enough.
 
 Or because somebody in the production studio decided the music and sound
 effects needed to be at least 2x louder than the dialog. 
(...)

I was about to say the exact same thing. I always have to turn the
volume way down to not blow the roof when some sudden sound effect is
played, but then I can't hear the voice. I even use subtitles for my
native tongue if the movie has a lot of sound effects. I'm having a
really hard time understanding the rationale behind this - is it to
deafen viewers? To show that it's far from reality so people don't get
confused mixing fiction with reality?



Re: Adam D. Ruppe's D Cookbook now available!

2014-05-29 Thread simendsjo via Digitalmars-d-announce
On 05/29/2014 11:51 AM, Jacob Carlborg wrote:
 On 2014-05-28 20:14, Walter Bright wrote:
 http://www.packtpub.com/discover-advantages-of-programming-in-d-cookbook/book



 http://www.amazon.com/D-Cookbook-Adam-D-Ruppe/dp/1783287217

 http://www.reddit.com/r/programming/comments/26pn00/d_cookbook_officially_published_consists_of_d/



 After watching Adam's most excellent presentation at Dconf, I'm sure the
 book will be great! My copy gets here on Friday.
 
 I've already bought the ebook version.
 

Ditto. Just had time to look at the ToC though. Really looking forward
to reading it (and all the dconf talks)


Re: Dconf 2014 talks - when to be available

2014-05-28 Thread simendsjo via Digitalmars-d-announce
On 05/28/2014 05:54 AM, Saurabh Das wrote:
 On Tuesday, 27 May 2014 at 23:48:44 UTC, currysoup wrote:
 On Tuesday, 27 May 2014 at 23:08:01 UTC, Leandro Lucarella wrote:
 Ali Çehreli, el 27 de May a las 10:40 me escribiste:
 On 05/27/2014 09:18 AM, Suliman wrote:

  apparently to stay on top of reddit for awhile.
  Explain plz

 A benefit of releasing the presentations slowly is to enable
 constant exposure to DConf in the coming weeks, as opposed to making
 all of them available and potentially watch interest die in a few
 days.

 I think they should be uploaded all ASAP and then you can do official
 announcements in reddit or wherever you thinks it's best to promote the
 language. But really, introducing artificial waiting time for people
 ALREADY interested and using the language in the name of marketing is
 really annoying!

 I agree 100%. Educating people currently interested is as
 important as marketing.
 
 I actually prefer the slow release of the videos - it gives me enough
 time to digest each talk and discuss it before the next one grabs mine
 and everyone else's attention. I think releasing one video every few
 days leads to much more in-depth discussion on the forum as well.

Agree. I find it nice to have each video gaining some time in the
spotlight and the discussions that follow. Even though I'm so exited I
actually want all the videos at once!


Re: Livestreaming DConf?

2014-05-12 Thread simendsjo via Digitalmars-d-announce
On 05/11/2014 11:15 PM, John Carter via Digitalmars-d-announce wrote:
 The timezones being so different, I'm not sure livestreaming will help
 me... But I do plan to watch any videos of it as soon as they are up.

It's the same problem for all Europeans (and many other), including me.
I'm also looking forward to the videos, but I think livestreaming is a
good thing for those who are able to follow them.


Re: Tkd – Cross platform GUI toolkit based on Tcl/Tk

2014-05-09 Thread simendsjo via Digitalmars-d-announce
On 05/08/2014 06:05 PM, Andrei Alexandrescu wrote:
 
 https://hn.algolia.com/#!/story/forever/0/Tkd

I'm unable to find the HN link. This search shows the reddit link and a
link straight to the forum. I even tried to go through several pages of
newest on HN doing a search for tkd without any luck. Did it get
deleted..?


Re: Tkd – Cross platform GUI toolkit based on Tcl/Tk

2014-05-09 Thread simendsjo via Digitalmars-d-announce
On 05/09/2014 11:32 AM, Andrej Mitrovic via Digitalmars-d-announce wrote:
 On 5/9/14, simendsjo via Digitalmars-d-announce
 digitalmars-d-announce@puremagic.com wrote:
 I'm unable to find the HN link. This search shows the reddit link and a
 link straight to the forum. I even tried to go through several pages of
 newest on HN doing a search for tkd without any luck. Did it get
 deleted..?
 
 We should just link to the post with some remove me characters. E.g.:
 
 https://remove_menews.ycombinator.com/item?id=7716010
 
 You copy-paste the URL, and that should avoid any issues with
 hotlinking, wouldn't it?
 

Thanks. There's no tracking info in the url, so it it's probably the
best way as long as the search site doesn't work as intended.


Re: Tkd – Cross platform GUI toolkit based on Tcl/Tk

2014-05-09 Thread simendsjo via Digitalmars-d-announce
On 05/09/2014 06:09 PM, Andrei Alexandrescu wrote:
 On 5/9/14, 2:44 AM, simendsjo wrote:
 On 05/09/2014 11:32 AM, Andrej Mitrovic via Digitalmars-d-announce wrote:
 On 5/9/14, simendsjo via Digitalmars-d-announce
 digitalmars-d-announce@puremagic.com wrote:
 I'm unable to find the HN link. This search shows the reddit link and a
 link straight to the forum. I even tried to go through several pages of
 newest on HN doing a search for tkd without any luck. Did it get
 deleted..?

 We should just link to the post with some remove me characters. E.g.:

 https://remove_menews.ycombinator.com/item?id=7716010

 You copy-paste the URL, and that should avoid any issues with
 hotlinking, wouldn't it?


 Thanks. There's no tracking info in the url, so it it's probably the
 best way as long as the search site doesn't work as intended.
 
 I thought they track the referrer, no?

But if you go directly through the browser, no referrer is added.

 Anyhow if I go to https://hn.algolia.com/#!/story/forever/0/Tkd the
 story is the second hit.

Ah, I see why I was confused now. Your entry links to the reddit
announcement, not the forums.


Re: dblog.aldacron.net is Clean Again

2014-04-11 Thread simendsjo

On 04/11/2014 03:41 PM, Nick Sabalausky wrote:
(...)

 I haven't looked closely at the other VPS companies, but in my
experience you can't go wrong with Linode. They're amazing. I'm
ultra-critical of freaking everything, and yet I don't have a single,
even minor, complaint about Linode. (But then I'm a control freak, so
VPS is a natural fit for me anyway, so FWIW.)


Been using Linode for ~3 years, but a couple of months ago my node had a 
HW problem and was down for a couple of minutes. In other words - Linode 
is pretty good.




Re: GDC ARM beta #1 (with binary releases!)

2014-03-17 Thread simendsjo

On 03/17/2014 06:11 PM, Andrei Alexandrescu wrote:

Vote up!

(...)

https://news.ycombinator.com/newest (find it and vote it)


Currently here (nr. 184): 
https://news.ycombinator.com/x?fnid=dKZJeV9oxnVX2eOw0VUBlt

If not, search for GDC.



Re: Final version of dlang-fr released

2014-03-07 Thread simendsjo

On 03/06/2014 10:44 PM, Meta wrote:

On Thursday, 6 March 2014 at 21:40:30 UTC, Ali Çehreli wrote:

Yes.

Let me Google for myself... :) I've just found the following forum
post, listing the number of foreign words in Turkish. I don't know how
scientific it is.


http://www.dilforum.com/forum/showthread.php/69676-T%C3%9CRK%C3%87EDE-%C3%96Z-ve-YABANCI-KEL%C4%B0ME-SAYISI?s=4f46575e8a1d4c666908139906fa786e


Arabic 6467
French 5253
Persian 1359
English 485
Greek (actually Rum, more like Koine Greek I guess) 400
German 98
Italian 89
Latin 78
Greek 48
Russian 44
Spanish 33
Armenian 24
Slavic 24
Sogdian 24
Bulgarian 19
Japanese 9
Hungarian 9
Korean 1
Hebrew 7
Mongolian 4
Portuguese 3
Norwegian 2
Finnish 2
Albanian 1

Ali


Wow, second only to Arabic. Do you know why that is? It's not something
that I would expect at all. Even stranger is the fact that there are so
few loanwords from the Eastern European countries that actually border
Turkey.


Doesn't look very scientific at all. We have a lot more than 2 foreign 
words in Norway :)


Re: ApplyYourDLang - A YouTube channel for D introduction videos

2014-02-27 Thread simendsjo

On 02/27/2014 12:51 AM, deadalnix wrote:

On Sunday, 23 February 2014 at 22:07:39 UTC, simendsjo wrote:

The cat's out of the bag..

http://www.reddit.com/r/programming/comments/1ypg91/getting_started_with_d_and_vibed/


We didn't want to announce the site before we had more videos, but it
has found its way to reddits frontpage.


Watching it right now. Basic but really nice !


Thanks. Aimed at beginners to D. Only the first video might be of 
interest to people here, the rest are even more basic and probably 
better suited for people that doesn't know much programming at all.


Re: ApplyYourDLang - A YouTube channel for D introduction videos

2014-02-27 Thread simendsjo

On 02/27/2014 09:25 PM, Jacob Carlborg wrote:

On 2014-02-26 21:23, simendsjo wrote:


The video quality is good, isn't it? Or did you mean the content quality
(which is pretty poor)?


No, not the content, I'm referring to the video quality. Hmm, for some
reason Youtube only displays it in 360p. If I download the video it's
better. It's ok but not great. Why not 1080p?


The audio quality is due to using a laptop microphone. I haven't found a
way to increase the volume without uploading another video though. This
cannot replace the original, so all links would be invalidated.


If you want to do this a lot you should really get a real, external,
microphone.



It's available in 1080p on YouTube. If I plan to do more of these, I 
should probably learn how to edit the videos too rather than using pause :)




Re: ApplyYourDLang - A YouTube channel for D introduction videos

2014-02-26 Thread simendsjo

On 02/26/2014 08:52 PM, Jacob Carlborg wrote:

On 2014-02-23 23:07, simendsjo wrote:

The cat's out of the bag..

http://www.reddit.com/r/programming/comments/1ypg91/getting_started_with_d_and_vibed/



We didn't want to announce the site before we had more videos, but it
has found its way to reddits frontpage.


Too bad the quality of both the video and audio is quite poor. Anything
you can do about that?



The video quality is good, isn't it? Or did you mean the content quality 
(which is pretty poor)?


The audio quality is due to using a laptop microphone. I haven't found a 
way to increase the volume without uploading another video though. This 
cannot replace the original, so all links would be invalidated.


Re: ApplyYourDLang - A YouTube channel for D introduction videos

2014-02-26 Thread simendsjo

On 02/26/2014 09:58 PM, Dylan Knutson wrote:

On Wednesday, 26 February 2014 at 20:22:31 UTC, simendsjo wrote:

On 02/26/2014 08:52 PM, Jacob Carlborg wrote:

The video quality is good, isn't it? Or did you mean the content
quality (which is pretty poor)?

The audio quality is due to using a laptop microphone. I haven't found
a way to increase the volume without uploading another video though.
This cannot replace the original, so all links would be invalidated.


My biggest issue is that it's really, really hard to hear what you're
saying. I thought that YouTube had some way to replace the audio of
videos? Perhaps I'm mistaken.


Several people have reported the issue, but I have no idea how I can fix 
this without uploading a new video though.. YouTube is quite immutable 
it seems.

I've increased the mic boost in the later videos - not that it helps.


Re: dmd 2.065.0

2014-02-24 Thread simendsjo

On 02/24/2014 09:45 AM, Andrew Edwards wrote:

The final release of DMD 2.065 is now available. [1] contains complete
descriptions of all changes, enhancements and fixes for this release.

(...)

[1] http://dlang.org/chagelog.html


Great news! Your changelog link has a typo, and it's not updated for 2.065.


ApplyYourDLang - A YouTube channel for D introduction videos

2014-02-23 Thread simendsjo

The cat's out of the bag..

http://www.reddit.com/r/programming/comments/1ypg91/getting_started_with_d_and_vibed/

We didn't want to announce the site before we had more videos, 
but it has found its way to reddits frontpage.


Re: DUB 0.9.21

2014-02-22 Thread simendsjo

On 02/22/2014 10:44 AM, Sönke Ludwig wrote:

A new final release is ready. This one took a bit longer and has more
changes than usual:

(...)

Thanks for what looks like a great release!


The second feature planned is first class support for Dustmite -

(...)

Mostly welcomed. Dustmite is really great, but every time I use it I have to
read the documentation and try/fail some.


Re: Dgame 0.3.2

2014-02-18 Thread simendsjo

On Tuesday, 18 February 2014 at 11:56:12 UTC, Namespace wrote:
A new version of Dgame is ready: 
https://github.com/Dgame/Dgame/releases/tag/0.3.2


Don't forget to visit the website and the tutorials:
http://dgame-dev.de/
http://dgame-dev.de/?page=tutorial

Also there is now a Work in Progress section where games are 
listed which are written with Dgame:

http://dgame-dev.de/?page=show

There is as yet only one (finished) game of me and a fellow 
student, but I'm sure others will follow.
It is intended to show what is possible and how. Currently it 
consists of only one level, but we're working on it.


I get errors whet accessing the tutorial page:

Warning: include_once(doku/Create_a_Window.html): failed to open 
stream: No such file or directory in 
/www/htdocs/w008cef8/dgame4/tutorial/create_win.php on line 8


Re: DConf 2014 acceptance rate likely under 50%

2014-02-17 Thread simendsjo

On Monday, 17 February 2014 at 13:45:03 UTC, Dicebot wrote:
Both good and bad news. Awesome part is that D community is 
already able to generate that much quality content for a yearly 
conference. Somewhat sad part is that a lot of good stuff won't 
be seen because simply publishing talks is not that encouraging 
as hitting DConf itself :)


There are some internal speculations about possibility to host 
smaller european counterpart of DConf at Sociomantic in other 
part of the year but have no idea if something will actually 
come out of it eventually.


Having a European conference would be great. Traveling to the US 
is very expensive, and there seems to be plenty of European D 
developers out there.


Re: Arch Linux D news digest

2013-11-17 Thread simendsjo
On Sunday, 17 November 2013 at 10:44:56 UTC, Moritz Maxeiner 
wrote:
On Saturday, 16 November 2013 at 12:49:05 UTC, Atila Neves 
wrote:

On Wednesday, 2 October 2013 at 15:14:08 UTC, Dicebot wrote:

Small Archy update:

1) dub has been just adopted into [community]

2) all three compiler phobos versions now provide 'd-runtime` 
and `d-stdlib` meta-dependencies


I think the gdc installation is missing files. I can compile 
simple programs easily enough, but importing core.runtime 
causes this:


/usr/include/dlang/gdc/4.8.2/gcc/backtrace.d:22: Error: module 
libbacktrace is in file 'gcc/libbacktrace.d' which cannot be 
read


And, sure enough, there is no such libbacktrace.d to be found. 
This is problematic since I can't compile anything with dub.


If you installed gdc, did you install libgphobos-devel? 
Without the latter you have neither druntime, nor phobos (and 
as such not libbacktrace.d).


It's a known bug. This file should have been generated by some 
text templating engine. Dont remember where I posted the issue, 
but the maintainer is aware of the issue.


Re: DCD 0.2.0 Released

2013-11-15 Thread simendsjo
On Friday, 15 November 2013 at 23:25:31 UTC, Jacek Furmankiewicz 
wrote:
Hi, I noticed the vim setup requires Vundle, whereas I know a 
lot of folks use pathogen to manage their vim plugins.


is there any particular reason for Vundle over pathogen? Can 
the two co-exist together?


thanks


I installed it with pathogen just fine. Just manually create a 
symlink.


Re: dchip is a D2 port of the Chipmunk2D physics library for 2D games

2013-11-03 Thread simendsjo

On Sunday, 3 November 2013 at 05:08:40 UTC, Andrej Mitrovic wrote:
(...)
DChip[1] is a direct D2 port of the C library without no API 
changes.

(...)

Nothing I have the need for, but very cool nontheless. It would 
be interesting if you wrote about your experience on porting a C 
codebase this size.


Re: D meetup in Minnesota

2013-11-01 Thread simendsjo

On Friday, 1 November 2013 at 16:39:21 UTC, Carl Sturtivant wrote:
And I now see that in the last three or so days we've acquired 
14 new members so far.

(...)

Sometimes I wish I was living in a country with more than 5M 
people and a city with more than 0.6M (and yes - it's our largest 
city by far)..


Re: Funny coverage of the recent reddit/hackernews chatter

2013-10-16 Thread simendsjo

On Wednesday, 16 October 2013 at 07:52:06 UTC, Sönke Ludwig wrote:

Am 15.10.2013 23:17, schrieb Iain Buclaw:
On 15 October 2013 18:59, Tourist grava...@gravatar.com 
wrote:
On Tuesday, 15 October 2013 at 17:47:54 UTC, Andrei 
Alexandrescu wrote:



http://www.fastcolabs.com/3019948/more-about-d-language-and-why-facebook-is-experimenting-with-it

Andrei



Google shows a rise in interest as well:
http://www.google.com/trends/explore?q=d+language#q=d%20languagecmpt=q



Google shows a rise of interest... from Nigeria.




This one seems to be more interesting:
http://www.google.com/trends/explore?q=dlang#q=dlangcmpt=q


Another funny thing: I couldn't get the page to work in Chromium 
and had to use FF :)


Re: Facebook is using D in production starting today

2013-10-11 Thread simendsjo
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


Really exciting news. Endorsement from a big player is probably 
the first step in getting D mainstream. Great work!


Re: vibe.d 0.7.14 and DUB 0.9.12 released

2013-03-22 Thread simendsjo

On Friday, 22 March 2013 at 13:57:52 UTC, Graham Fawcett wrote:

On Friday, 22 March 2013 at 08:46:23 UTC, Sönke Ludwig wrote:
Apart from some fixes vibe.d received some performance tuning 
and
multi-threaded request processing (thanks to Dicebot for 
digging up some

documents of how Nginx does this).


Awesome! I had hoped you would add multi-threaded processing. 
I'm looking forward to playing with this.


How does it work? I added this to HttpServerSettings:
options |= HttpServerOption.distribute

But it doesn't seem to use more threads.


Re: DUB 0.9.11 released

2013-03-10 Thread simendsjo

On Sunday, 10 March 2013 at 08:41:40 UTC, Jonathan M Davis wrote:
(...)
Has anyone else tried to build the new release on Arch Linux? 
Both the dub and

dub-git packages are failing to build for me, giving

== GIT checkout done or server timeout
== Starting build...
== ERROR: A failure occurred in build().
Aborting...
== ERROR: Makepkg was unable to build dub.

And I have no idea what the problem is. If I run the build.sh 
file directly, no
errors print out, but it's clearly returning something other 
than 0 when

running rdmd. Anyone have any clue as to what's going on?

- Jonathan M Davis



I didn't have any problems with dub or dub-git on arch64 using 
dmd 2.062 (also from AUR).


Re: embd 0.1.0 - embedded D

2013-03-06 Thread simendsjo

On Wednesday, 6 March 2013 at 19:17:56 UTC, Sönke Ludwig wrote:
(...)
Actually I plan to start breaking up the vibe-d package into 
smaller

functional blocks at some point (...)


Really looking forward to an std.event/async module :)


Re: Mono-D v0.5.1.2 - Completion/Parameter insight improvements

2013-02-25 Thread simendsjo

On Monday, 25 February 2013 at 15:51:14 UTC, Jacob Carlborg wrote:

On 2013-02-25 16:25, alex wrote:


Yep, that's the one I fixed recently.


Aha, cool. I'll have to give it a try. BTW, is the Xamarin 
Studio IDE free?


Monodevelop have relesed 4.0 now: 
https://github.com/mono/monodevelop/tree/monodevelop-4.0

Mono-D works fine with MD4


Re: Mono-D v0.5.1.2 - Completion/Parameter insight improvements

2013-02-25 Thread simendsjo

On Monday, 25 February 2013 at 16:17:57 UTC, alex wrote:

On Monday, 25 February 2013 at 16:09:51 UTC, simendsjo wrote:
On Monday, 25 February 2013 at 15:51:14 UTC, Jacob Carlborg 
wrote:

On 2013-02-25 16:25, alex wrote:


Yep, that's the one I fixed recently.


Aha, cool. I'll have to give it a try. BTW, is the Xamarin 
Studio IDE free?


Monodevelop have relesed 4.0 now: 
https://github.com/mono/monodevelop/tree/monodevelop-4.0

Mono-D works fine with MD4


Do you know a relatively consistent way of building MD 4.0 from 
scratch and having it 'installed' on one's machine, so with a 
launcher on the desktop?


Like make install, whereas I never tried out where the 
difference is between a normal and an install make..


Not sure I know what you mean. You can just create a custom 
monodevelop.desktop and point to your binary.


Re: vibe.d 0.7.10 released

2013-01-03 Thread simendsjo

On Thursday, 3 January 2013 at 10:40:40 UTC, Chris wrote:
Pretty cool stuff, congratulations. I've had a look at it and 
as I am always looking for alternatives to generally (and 
sheepishly) accepted will do technologies like PHP, JS etc. I 
would like to test and possibly use it for my own web projects. 
Only, it's not 100% clear to me how vibe.d can be integrated 
into existing frameworks / technologies, as when you rent 
server space somewhere. Can vibe.d exist as a standalone 
framework (i.e. as a replacement for PHP) within my own rented 
space or does it need to be installed as a system wide service, 
in which case it is up to the host whether or not to make it 
available?


I'm using dmd and vibe on a Linode server without installing them.
Haven't had a single problem with it.


Re: vibe.d 0.7.10 released

2013-01-03 Thread simendsjo

On Thursday, 3 January 2013 at 11:53:01 UTC, Chris wrote:

On Thursday, 3 January 2013 at 10:57:06 UTC, simendsjo wrote:

On Thursday, 3 January 2013 at 10:40:40 UTC, Chris wrote:

I'm using dmd and vibe on a Linode server without installing 
them.

Haven't had a single problem with it.


Good news, but in this case there may be restrictions depending 
on the provider (i.e. restrictions as to installing your own 
software). What are your experiences with vibe.d?


You only have to download the vibe and dmd zips. As long as you 
can run executables you download you should be fine. I haven't 
installed them myself, just added some symlinks to the 
executables.


I've only created a small vibe site, so I don't have a lot of 
experience with it, but it seems very fast and nice. Doesn't 
force you into a particular way of structuring your site.


Re: User Defined Attributes

2012-11-06 Thread simendsjo

On Tuesday, 6 November 2012 at 10:10:37 UTC, Tove wrote:
Tooo much fun! Argh, _must_ _stop_ _playing_ and actually work 
;(


[int a;]
class A
{
}

class B : A
{
  mixin(__traits(getAttributes, typeof(super))[0]);
}

can't wait to see all the creative uses this will enable!


Or obfuscation :)


Re: D syntax checker for Vim's plugin Syntastic

2012-09-06 Thread simendsjo

On Friday, 8 June 2012 at 15:48:35 UTC, Alfredo Di Napoli wrote:

Hello there,

this is my first post here whatsoever :)
My name is Alfredo and I'm a 24-year-old just-graduated 
computer science guy from Rome, Italy. I've been fiddling with 
D lately, and I decided to contribute to the language in the 
only way I could (for now): due to the fact that I'm only a D 
beginner, my skills are not sufficient to contribute to project 
like Phobos, so I've written a bare-bone D syntax checker for 
Vim's plugin Syntastic. It's pretty basic but it does its dirty 
job. I've tested from Command Line Vim and it works ok, 
conversely on MacVim there are some bugs, but I suspect it's a 
thing related more to Syntastic than to my plugin.
Without further ado, this is the link of my Github fork of 
Syntastic:


https://github.com/CharlesStain/syntastic

I'm waiting for my modifications to be merged to the main repo, 
but in the meantime, for the impatient, you can clone and play 
with my repo :)


Hope this helps!

Best regards,

Alfredo Di Napoli


Is anyone using this on windows? I cannot get it to work. I see a 
window quickly open and close, but no errors are found.


Re: Tiny Redis- a Redis driver for D

2012-07-26 Thread simendsjo

On Thu, 26 Jul 2012 22:29:58 +0200, Adil simplyad...@gmail.com wrote:


FWIW, i've only tested this on Linux with DMD 2.059


Haven't tested it, but it compiles on linux64 and dmd-trunk (2.060ish).


Re: Dpaste - online compiler and collaboration tool dedicated to D Programming Language.

2012-07-04 Thread simendsjo

On Wed, 04 Jul 2012 12:49:11 +0200, nazriel nazriel6...@gmail.com wrote:


Greetings.

I would like to share with you, Beta version of http://dpaste.dzfl.pl/

Dpaste is online compiler and collaboration tool dedicated to D  
Programming Language. It allows to run your D Code snippets directly in  
web browser!




A somewhat unrelated question... Is it created in D? If that's the case,  
what libraries are you using?


Re: Vibe.d 0.7.4 release

2012-06-03 Thread simendsjo
On Sun, 03 Jun 2012 18:43:28 +0200, Sönke Ludwig  
slud...@outerproduct.org wrote:


 - mysql-native: native port of a MySQL client driver that Steve Teale  
has written some time ago - this one could use a maintainer who is  
actually using MySQL...


I have started a cleanup branch:  
https://github.com/simendsjo/mysqln/tree/misc-cleanups
I'll try to work on it during the summer, but I would rather have someone  
else step up and continue the effort :)


Re: D Conference 2012 - Sep 26-29 at the Banker's Suite and Ballroom in Astoria, Oregon

2012-05-25 Thread simendsjo
On Fri, 25 May 2012 15:01:17 +0200, Andrej Mitrovic  
andrej.mitrov...@gmail.com wrote:



On 5/25/12, Simen Kjaeraas simen.kja...@gmail.com wrote:

http://www.ietf.org/rfc/rfc1855.txt


That paper is read as often as the EULA.


And I really doubt anyone but programmers know rfcs exist.
RMS doesn't let people send him documents in proprietary formats - let's  
all refuse to read top-postings with an auto-reply with this link :)


Re: denv - D version of rbenv

2012-05-04 Thread simendsjo
On Fri, 04 May 2012 17:54:11 +0200, Masahiro Nakagawa  
repeate...@gmail.com wrote:



I use rbenv to manage multiple versions of Ruby.
So, I ported rbenv to D.

https://github.com/repeatedly/denv

I tested dmd on Linux and Mac.
(Sorry, I am not GDC and LDC user)

I will port ruby-build If necessary.


Regards,
Masahiro


Sounds very similar to, but more complete than, dvm:  
https://github.com/jacob-carlborg/dvm


Re: Introducing vibe.d!

2012-04-30 Thread simendsjo
On Mon, 30 Apr 2012 17:26:54 +0200, Sönke Ludwig  
slud...@outerproduct.org wrote:



Am 30.04.2012 15:48, schrieb Sean Kelly:

On Apr 30, 2012, at 1:03 AM, Sönke Ludwig wrote:


Am 27.04.2012 16:50, schrieb Sean Kelly:

In _d_throw call abort().  That'll give you a core file.



Thanks, I've tracked it down to an assertion by logging stderr for  
now, but next time I will try the abort method (with __d_assert*),  
because just a call stack without line numbers was a bit sparse on  
information.


What platform are you on?  You should be getting stack traces.


I get a stack trace with function names but no line numbers (just byte  
offsets). It's Linux/64bit, compiled with -g.


Yup, pretty annoying. Use addr2line.


Re: Introducing vibe.d!

2012-04-29 Thread simendsjo

On Sun, 29 Apr 2012 08:13:40 +0200, bls b...@orange.fr wrote:



There is also a socket based PostgreSQL driver available, but I have  
lost the link and dunno about the status quo.


This? https://github.com/pszturmaj/ddb


Re: Introducing vibe.d!

2012-04-29 Thread simendsjo
On Sun, 29 Apr 2012 10:31:07 +0200, Sönke Ludwig  
slud...@outerproduct.org wrote:



Quote
Additional drivers are easy to port to vibe.d because of the blocking
API - basically the only thing that has to be done is to replace the
socket calls (send(), recv(), connect() etc.) with the corresponding
vibe functions.
EndQuote
 Can you elaborate a bit more ? Maybe using the vibe.d blog.
 Good idea, it will put something together.


Something wrong with the blog engine? The published post doesn't show in  
the list, and it's cut off in the middle without any way to expand it:  
http://vibed.org/blog/posts/writing-native-db-drivers


Re: Introducing vibe.d!

2012-04-29 Thread simendsjo
On Sun, 29 Apr 2012 20:28:38 +0200, Sönke Ludwig  
slud...@outerproduct.org wrote:
It was a bug in the RSS generator. I just added the article without  
content to not forget about it but didn't publish it yet. The RSS  
generator, however, published it anyway.


Yeah, I was pretty quick to find out how to subscribe to the RSS feed :)

Re: Video: Generic Programming Galore using D @ Strange Loop 2011

2012-04-11 Thread simendsjo
On Wed, 11 Apr 2012 21:34:11 +0200, Olivier Pisano  
olivier.pis...@laposte.net wrote:



Le 11/04/2012 18:23, Andrei Alexandrescu a écrit :

http://www.infoq.com/presentations/Generic-Programming-Galore-Using-D

Andrei


Great talk ! I am going to start to feel at ease with those  
is(typeof(...)) constructs ! :)


Olivier


Don't speak too hastily :) I promise you'll be amazed at the complexities  
of the is expression many more times


Re: dmd 2.057 release

2012-01-03 Thread simendsjo

On 03.01.2012 16:07, Alex Rønne Petersen wrote:

On 03-01-2012 15:56, Robert Clipsham wrote:

On 03/01/2012 14:49, Alex Rønne Petersen wrote:

On 03-01-2012 08:49, Caligo wrote:

Considering the rate at which bugs are being discovered and fixed,
would
it be possible to shorten the release cycle, say, every 2-3 weeks
instead of 1-2 months?


Perhaps some kind of experimental releases would be better. It could
help getting new features out to the community (and thus tested) faster.

- Alex


Beta releases are made weeks before an actual release for testing on
this mailing list:

http://lists.puremagic.com/cgi-bin/mailman/listinfo/dmd-beta

Web interface:

http://dfeed.kimsufi.thecybershadow.net/discussion/group/dmd-beta



I mean something weekly or bi-weekly. Beta releases are only made very
close to the actual release.

- Alex


I just asked about this in D, but as there is a discussion here already: 
The auto-tester builds dmd++, why not let the latest binary that 
successfully passed the tests be available for download?


Re: Orange 1.0.0 beta - serialization library

2011-08-21 Thread simendsjo

On 20.08.2011 19:45, dsimcha wrote:

On 8/20/2011 12:50 PM, Andrej Mitrovic wrote:

Masahiro Nakagawa seems to be working on msgpack:
https://bitbucket.org/repeatedly/msgpack4d/


Yeah, this does look quite useful. I tried it a few weeks ago and ran
into a couple showstopper bugs. I filed them and he fixed them, but I
never got around to trying it again.

I actually think that since both are very commonly needed things and
satisfy completely different niches, Orange and msgpack4d might both
eventually have a rightful place in Phobos. Orange would be recommended
when portability and serializing as many types as possible are
important, and msgpack4d would be recommended when speed and space
efficiency are the primary concerns.



Is RIFF considered a good format? I've ran into it when porting C
code, it seems it's also used by Google and probably other companies.
http://en.wikipedia.org/wiki/Resource_Interchange_File_Format


 From reading the Wikipedia article (I knew nothing about RIFF before
this discussion) it sounds like it's in a valley in between two utility
peaks. XML provides maximum portability. msgpack provides maximum
efficiency. RIFF doesn't really provide either all that well.


Agreed. I've worked a lot with RIFF in the past, and it only specifies a 
high level structure by having sections with a known size. It doesn't 
give much over a plain binary file.


Re: D Article Contest - win an iPad2

2011-04-08 Thread simendsjo
I don't see why is it inappropriate of you to comment on them.
Shouldn't the winner be picked by the most votes?
In that case, you have a vote like everyone else, and should also be
allowed to comment.


Re: Mago, a Windows debugger for the D programming language [video]

2011-03-31 Thread simendsjo

On 31.03.2011 20:37, Andrej Mitrovic wrote:

Reddit seems down. Is there a direct link to the video?


http://vimeo.com/21323893


Re: D Article Contest - win an iPad2

2011-03-30 Thread simendsjo
Very nice initiative. D needs more articles and publicity.

Hopefully many people will write articles even if they are know they
are not able to compete for the grand prize - an article written by me
cannot compete with Andrei or Bartosz :)

 2. Digital Mars may submit the article on your behalf to publishers
like DDJ and Artima.com

Where would the articles that's not quite up to that quality standard
go? codeproject.com? digitalmars.com? d-programming-language.org?