[OT] Memory usage and Web (WAS: Re: Digger 1.0)
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
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
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
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
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
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
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!)
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
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
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
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
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
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
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
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!
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
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?
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
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
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
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.