Re: Deadcode: A code editor in D
On Friday, 16 January 2015 at 21:19:08 UTC, Jonas Drewsen wrote: I have been working on an editor written in D for use with D for some time now and have made a blog post about it. Any feedback or suggestions are welcome. http://deadcodedev.steamwinter.com Thanks Jonas This is pretty sweet dude, keep us posted on the development.
Re: Deadcode: A code editor in D
On Friday, 16 January 2015 at 21:41:39 UTC, ketmar via Digitalmars-d-announce wrote: On Fri, 16 Jan 2015 21:32:32 + Jonas Drewsen via Digitalmars-d-announce wrote: It is currently only compiling on linux and I haven't tried to start it there. It is based on libsdl so I don't see much trouble in getting it to work. so it's using it's own ttf renderer (or SDL_ttf)? ah, too bad for me. :-( It is using SDL_ttf to render glyphs to fontmaps. I use these together with opengl in the text layout engine to get the final result. I'll probably open source it when it is out of beta. may i ask why don't you go with open source from the start? i'm not insisting on anything, i'm just curious. It started out on my own github server with a lot of expermentation that didn't make sense to share and it just wasn't a priority to open source it before it was ready.
Re: Deadcode: A code editor in D
On Saturday, 17 January 2015 at 01:07:14 UTC, MattCoder wrote: On Friday, 16 January 2015 at 21:19:08 UTC, Jonas Drewsen wrote: I have been working on an editor written in D for use with D for some time now and have made a blog post about it. Any feedback or suggestions are welcome. Neat and nice use of the libdparser! In fact I'm writing a editor for myself and I will do something like this too. I used most of last year just getting the gui framework, resource management, animation framework, text editor etc. working. Integrating libdparser after that only took a couple of days. If you are writing an editor yourself you can definitely get to similar state by using existing gui libraries etc. I didn't go that route partly because of the NIH syndrome and partly because I wanted a gui framework that would feel familiar to web developers for styling. Do you have some info/link to your editor?
Re: Deadcode: A code editor in D
On Friday, 16 January 2015 at 21:19:08 UTC, Jonas Drewsen wrote: I have been working on an editor written in D for use with D for some time now and have made a blog post about it. Any feedback or suggestions are welcome. Neat and nice use of the libdparser! In fact I'm writing a editor for myself and I will do something like this too. Matheus.
Re: DConf 2015 discounted hotel rooms now available
On 1/14/15 4:26 PM, Andrei Alexandrescu wrote: https://twitter.com/D_Programming/status/555471499893944323 They're available through May 12, but the number of rooms reserved is reserved and first-come-first-served, so book soon. Many thanks to Chuck Allison for facilitating this! Thanks Chuck, I got my hotel room, can't say I'll miss the Aloft prices :) Note: I didn't realize this originally, but when I booked my flight, the prices are much higher than they should be, and less availability. I realized the reason why -- Monday is Memorial Day in the US, just about everyone has it off. Just a heads up to those booking travel. BTW, because of the less choice, I had to fly in Monday to avoid getting there at 12 am Wednesday. I'll be there all day Tuesday if anyone wants to hang out. -Steve
Re: Deadcode: A code editor in D
On Fri, 16 Jan 2015 21:32:32 + Jonas Drewsen via Digitalmars-d-announce wrote: > It is currently only compiling on linux and I haven't tried to > start it there. It is based on libsdl so I don't see much trouble > in getting it to work. so it's using it's own ttf renderer (or SDL_ttf)? ah, too bad for me. :-( > I'll probably open source it when it is out of beta. may i ask why don't you go with open source from the start? i'm not insisting on anything, i'm just curious. signature.asc Description: PGP signature
Re: Deadcode: A code editor in D
On Friday, 16 January 2015 at 21:23:49 UTC, Vladimir Panteleev wrote: On Friday, 16 January 2015 at 21:19:08 UTC, Jonas Drewsen wrote: I have been working on an editor written in D for use with D for some time now and have made a blog post about it. Any feedback or suggestions are welcome. http://deadcodedev.steamwinter.com A completely unhumble request: Please change the name :) Deadcode is the Internet nickname of my good friend David Ellsworth, who is also a D programmer, and with whom I have attended DConf 2013 and 2014. As there is already a Deadcode in D, a second one is a name collision :) I'll give it a thought.
Re: Deadcode: A code editor in D
On Friday, 16 January 2015 at 21:25:09 UTC, ketmar via Digitalmars-d-announce wrote: On Fri, 16 Jan 2015 21:19:06 + Jonas Drewsen via Digitalmars-d-announce wrote: I have been working on an editor written in D for use with D for some time now and have made a blog post about it. Any feedback or suggestions are welcome. is it working in GNU/Linux? and will the source code be available? It is currently only compiling on linux and I haven't tried to start it there. It is based on libsdl so I don't see much trouble in getting it to work. Funny because linux used to be my only OS for many years until I got my current job where we don't use linux in general. I'll probably open source it when it is out of beta. /Jonas
Re: Deadcode: A code editor in D
On Friday, 16 January 2015 at 21:19:08 UTC, Jonas Drewsen wrote: I have been working on an editor written in D for use with D for some time now and have made a blog post about it. Any feedback or suggestions are welcome. http://deadcodedev.steamwinter.com A completely unhumble request: Please change the name :) Deadcode is the Internet nickname of my good friend David Ellsworth, who is also a D programmer, and with whom I have attended DConf 2013 and 2014. As there is already a Deadcode in D, a second one is a name collision :)
Re: Deadcode: A code editor in D
On Fri, 16 Jan 2015 21:19:06 + Jonas Drewsen via Digitalmars-d-announce wrote: > I have been working on an editor written in D for use with D for > some time now and have made a blog post about it. > > Any feedback or suggestions are welcome. is it working in GNU/Linux? and will the source code be available? signature.asc Description: PGP signature
Deadcode: A code editor in D
I have been working on an editor written in D for use with D for some time now and have made a blog post about it. Any feedback or suggestions are welcome. http://deadcodedev.steamwinter.com Thanks Jonas
Re: Heady House Hunting with D
On Wednesday, 14 January 2015 at 03:46:39 UTC, Philpax wrote: Hey everyone, I recently wrote a blog post about how I used D/vibe.d to help find a new house. I haven't publicized it anywhere else yet, so I'm looking forward to what the D community has to say! You can check it out here: http://philpax.me/blog/heady-house-hunting-with-d D made it easy to model the problem and quickly crunch through it; I'm pretty happy with how quickly I was able to get decent results. It's not the most idiomatic of code, but D's flexibility meant that I could concentrate on the concept instead of the implementation details. Heh, I wrote something similar (much much simpler) to find the best hotel for DConf 2013. The program extracted the hotel's geographical coordinates, and then queried the Google Maps API to find the one that had the shortest public transit time assuming we wanted to arrive at 8:30 AM. Since then, I started doing it for all important purchases - TV, AC unit, laptop... The laptop program used a score model like yours. The biggest issue is that it's hard to find accurate information on household hardware, especially since there are a myriad models for each tiny European market. Here's the hotel program (list.txt is a list of booking.com URLs): http://dump.thecybershadow.net/2ebca3f47b801aed0104585f60b9587e/scan.d By the way, does your blog have a RSS feed for D posts? Then I could add it to Planet D.
Re: Heady House Hunting with D
On 2015-01-14 03:46:38 +, Philpax said: I recently wrote a blog post about how I used D/vibe.d to help find a new house. I haven't publicized it anywhere else yet, so I'm looking forward to what the D community has to say! You can check it out here: http://philpax.me/blog/heady-house-hunting-with-d Cool stuff! I saw this: "With real data, this produced a list of ~40 houses with all relevant information included" Well, my company is doing a mathematics based pricing analysis based on properties (an enhanced multi dimensional regression analysis approach). See: http://www.nlpp.ch So, if you want to see how the prices shouldbe and which criteria drives the costs, let me know. Houseprices would be a nice showcase I wanted to do for some time. -- Robert M. Münch http://www.saphirion.com smarter | better | faster
Re: trimcheck, dhcptest, RABCDAsm
On 1/16/15 7:56 AM, Vladimir Panteleev wrote: Over the past few years, I've released a few programs written in D which I've never announced here before, since they were not targeted at D programmers. Some of them seem to have caught on with some degree of popularity. After seeing the recent DMD download stats, I thought to check the stats for my downloads, and was pleasantly surprised to find them higher than I expected. So, it's probably as good a time as any to post about these programs here. Perhaps someone can find something useful in their source code, or use them as examples of D code in the wild. [snip] Nice work, shared: https://www.reddit.com/r/programming/comments/2sn2cm/three_utilities_written_in_d/ https://twitter.com/D_Programming/status/556125342835159040 Andrei
trimcheck, dhcptest, RABCDAsm
Over the past few years, I've released a few programs written in D which I've never announced here before, since they were not targeted at D programmers. Some of them seem to have caught on with some degree of popularity. After seeing the recent DMD download stats, I thought to check the stats for my downloads, and was pleasantly surprised to find them higher than I expected. So, it's probably as good a time as any to post about these programs here. Perhaps someone can find something useful in their source code, or use them as examples of D code in the wild. 1. trimcheck This is a Windows program which attempts to provide an easy way to test whether the TRIM command reaches your SSD. It is useful for testing various driver/firmware versions and RAID configurations, as the TRIM command may or may not be properly forwarded at each layer to the next. trimcheck has been featured on a few hardware news websites, including The SSD Review and TweakTown. trimcheck currently consists of a single .d file, 468 lines long. It is not a very complicated program, and uses few D-specific features, though the scope statements were a welcome aid in cleanly handling Windows resources. trimcheck is licensed under the MPL 2.0, and gets about 200 downloads per day. https://github.com/CyberShadow/trimcheck 2. dhcptest dhcptest is a cross-platform DHCP client and testing tool. Although it started out as an interactive test tool, a stream of feature requests have also grown it into a non-interactive DHCP client (which prints received replies, as opposed to applying them onto the host system's network configuration). dhcptest currently also consists of a single .d file, 711 lines long. std.format's capabilities were useful for presenting sent and received data, but otherwise it is also relatively simple. dhcptest is licensed under the Boost Software License 1.0. The Windows binary is downloaded about 50 times every day. https://github.com/CyberShadow/dhcptest 3. RABCDAsm RABCDAsm, one of my oldest D projects, is an ABC (ActionScript Byte Code) assembler and disassembler. ABC is the bytecode format used in .swf files for compiled ActionScript 2 and 3 code, and in the Adobe Flash runtime, interpreted by the ActionScript Virtual Machine. RABCDAsm currently consists of 10 programs across 20 modules, totaling 8488 lines of code. It makes use of several D features, including compile-time reflection and code generation for automatic toHash/opEquals/opCmp/toString implementations for its numerous data structures. RABCDAsm has been included in the REMnux Linux distribution ("A Linux Toolkit for Reverse-Engineering and Analyzing Malware"), and is also available as an Arch Linux package (rabcdasm-git). RABCDAsm is licensed under the GPLv3 or later. The Windows binary package is downloaded about 20 times per day. https://github.com/CyberShadow/RABCDAsm 4. Very Sleepy This is not a D project, but I would like to include it here as well. This is a fork of the Very Sleepy polling Windows profiler, previously maintained by Richard Mitton, with a number of improvements. Although it still chiefly targets C/C++ programs, I've used it for (and improved it to work better with) D code: it should work well with D programs compiled with PDB debug information (which you can create with DMD using -m64, -m32coff or Rainer's cv2pdb program). The profiler is licensed under GPLv2 or newer, and enjoys a steady trickle of 3-4 downloads per day. https://github.com/CyberShadow/verysleepy
Re: D port of the Dynamic Window Manager (DWM)
Great, will need to experiment with it a bit!
Berlin Meetup
In case someone hasn't seen the post in the D general group, we have organised a social meet up for D programmers in Berlin Germany next week. It will take place on Friday the 23rd of January from 17:00 to 19:30 at the Melbourne Canteen (http://www.melbournecanteen.com/). The idea is to have a chat about whether people are keen to take part in regular events and what form these events may take.