Re: Thoughts on replacement languages (Reddit + D)

2015-01-11 Thread Bauss via Digitalmars-d
On Sunday, 11 January 2015 at 14:03:05 UTC, Adam D. Ruppe wrote: Reddit seems to have a constant stream of random project in Go posts. There was one this week that was a command line websocket and it was like 40 lines of code. Come on. I'm tempted to start posting every little thing I write

Optimizations and performance

2016-06-08 Thread Bauss via Digitalmars-d
D definitely needs some optimizations, I mean look at its benchmarks compared to other languages: https://github.com/kostya/benchmarks I believe the first step towards better performance would be identifying the specific areas that are slow. I definitely believe D could do much better than

Is C++ trying to be like D?

2016-03-19 Thread Bauss via Digitalmars-d
Looking at C++14 and the proposed features for C++17 - https://en.wikipedia.org/wiki/C%2B%2B17 It looks a lot like C++ is trying to become similar to D. I believe that shows D's design pattern has been superior to C++'s from the start and there's no way C++ will ever be able to implement the

Re: Is C++ trying to be like D?

2016-03-21 Thread Bauss via Digitalmars-d
On Sunday, 20 March 2016 at 22:49:28 UTC, Walter Bright wrote: On 3/20/2016 3:48 PM, Walter Bright wrote: Walter was replaced by a D9000 computer years ago. He was jeopardizing the mission. Or was he.

Re: Defer in D

2016-03-20 Thread Bauss via Digitalmars-d
On Sunday, 20 March 2016 at 14:11:11 UTC, Nick Treleaven wrote: On Saturday, 19 March 2016 at 23:16:40 UTC, Xinok wrote: I took a quick look through Phobos but didn't see anything similar so I wrote this as a proof of concept and to elicit discussion. This also works should the function

Re: String lambdas

2016-04-30 Thread Bauss via Digitalmars-d
On Saturday, 30 April 2016 at 16:02:02 UTC, Bauss wrote: On Tuesday, 26 April 2016 at 17:58:22 UTC, Andrei Alexandrescu wrote: [...] An alternative to string lambads could be something like a shortened version of lambdas like consider [...] %1 and %2 should be %0 and %1 and also the <

Re: String lambdas

2016-04-30 Thread Bauss via Digitalmars-d
On Tuesday, 26 April 2016 at 17:58:22 UTC, Andrei Alexandrescu wrote: https://github.com/dlang/phobos/pull/3882 I just closed with some regret a nice piece of engineering. Please comment if you think string lambdas have a lot of unexploited potential. One thing we really need in order to

Re: Researcher question – what's the point of semicolons and curly braces?

2016-05-02 Thread Bauss via Digitalmars-d
On Tuesday, 3 May 2016 at 04:24:37 UTC, Adam D. Ruppe wrote: On Tuesday, 3 May 2016 at 03:48:09 UTC, Joe Duarte wrote: [...] You realize your bias is showing very strongly in the wording of this question, right? I don't agree the naked version is clean at all. [...] Praise this

Re: module std.stream is deprecated - Will be removed by phobos version 2.070

2016-05-01 Thread Bauss via Digitalmars-d
On Friday, 11 September 2015 at 20:29:56 UTC, Vladimir Panteleev wrote: https://github.com/D-Programming-Language/phobos/pull/3631 Apparently it was decided at DConf 2015 to remove std.stream and friends from Phobos. But these modules have been left untouched (i.e. they're "stable") for a

Re: Better mixin error messages

2016-04-17 Thread Bauss via Digitalmars-d
On Sunday, 17 April 2016 at 21:23:58 UTC, Timon Gehr wrote: mixin(generate()); pragma(msg,generate()); That's not a solution to the problem, because you will be printing ALL mixins and not just the ones causing compilation errors.

Better mixin error messages

2016-04-17 Thread Bauss via Digitalmars-d
Can there please be implemented something to retrieve the generated mixins that causes compiler errors; like perhaps a flag you pass that will print all mixins with compiler errors? Sometimes when you create highly dynamic mixins it can be hard to identify errors in them, because you might

Re: Better mixin error messages

2016-04-17 Thread Bauss via Digitalmars-d
On Sunday, 17 April 2016 at 21:59:38 UTC, Timon Gehr wrote: On 17.04.2016 23:49, Bauss wrote: On Sunday, 17 April 2016 at 21:23:58 UTC, Timon Gehr wrote: mixin(generate()); pragma(msg,generate()); That's not a solution to the problem, because you will be printing ALL mixins and not just

Re: Better mixin error messages

2016-04-17 Thread Bauss via Digitalmars-d
On Sunday, 17 April 2016 at 23:10:38 UTC, Adam D. Ruppe wrote: On Sunday, 17 April 2016 at 22:08:55 UTC, Bauss wrote: Like I also said this does not apply to normal mixins but usually very big mixins composited of multiple mixins and template mixins. Why are your mixins so huge? But yeah, I

Re: D is crap

2016-07-04 Thread Bauss via Digitalmars-d
On Monday, 4 July 2016 at 09:37:41 UTC, Chris wrote: On Sunday, 3 July 2016 at 04:37:02 UTC, D is crap wrote: [snip] I seriously don't know what to make of this post. It's a random compilation of complaints made about D over the last couple of years that lacks depth and useful information. As

Re: proposal: private module-level import for faster compilation

2016-07-22 Thread Bauss via Digitalmars-d
On Wednesday, 20 July 2016 at 07:50:13 UTC, Timothee Cour wrote: typo: s/dmd -c -o- -deps A.d/dmd -c -o- -deps B.d On Wed, Jul 20, 2016 at 12:45 AM, Timothee Cour wrote: [...] I believe private import is already reserved. It's being used 618 places inside of

Re: D is crap

2016-07-03 Thread Bauss via Digitalmars-d
On Sunday, 3 July 2016 at 04:37:02 UTC, D is crap wrote: Sorry, I've spend the last month trying my best to get simple shit done. At every turn there is some problem that has to be dealt with that is unrelated to my actual work. Be it the IDE, debugging, the library, or user shared code, it

Re: Possible bug in skipOver() from std/algorithm/searching.d

2017-01-24 Thread Bauss via Digitalmars-d
On Sunday, 22 January 2017 at 11:20:18 UTC, Danny Arends wrote: On Sunday, 22 January 2017 at 10:30:14 UTC, Stefan Koch wrote: On Sunday, 22 January 2017 at 10:01:09 UTC, Danny Arends wrote: On Sunday, 22 January 2017 at 09:55:49 UTC, Danny Arends wrote: Hey all, I encountered some

Re: A better way to deal with overloading?

2017-01-27 Thread Bauss via Digitalmars-d
On Thursday, 26 January 2017 at 00:02:03 UTC, Profile Anaysis wrote: Many times we pass compound types(non-primitives) as arguments to functions. [...] This is going to be a no from me. It's just another syntactic sugar that doesn't really have a purpose, but more syntactic confusion. We

Re: How do we make dub more useful?

2017-01-16 Thread Bauss via Digitalmars-d
On Saturday, 14 January 2017 at 18:14:42 UTC, aberba wrote: On Saturday, 14 January 2017 at 11:02:51 UTC, Joakim wrote: There were two recent posts by a new Rust user about how he's finding that language, that got a lot of attention on their reddit. In the latter post, he mentions D as a

Re: What about an identifier that is an mixin

2017-01-15 Thread Bauss via Digitalmars-d
On Friday, 13 January 2017 at 21:32:49 UTC, Daniel Kozák wrote: Daniel Kozák napsal Pá, led 13, 2017 v 10∶29 : André Puel via Digitalmars-d napsal Pá, led 13, 2017 v 10∶15 : One thing that I miss sometimes when doing meta programming is being

Re: std.traits vcs __traits

2017-01-16 Thread Bauss via Digitalmars-d
On Sunday, 15 January 2017 at 12:53:04 UTC, Nordlöw wrote: Why is there both http://dlang.org/phobos/std_traits.html and the builtin https://dlang.org/spec/traits.html ? Should we modify std.traits to make use of __traits? I've noticed measurably faster compilations with __traits instead

Re: std.traits vcs __traits

2017-01-16 Thread Bauss via Digitalmars-d
On Monday, 16 January 2017 at 11:20:16 UTC, Nordlöw wrote: On Monday, 16 January 2017 at 09:09:34 UTC, Bauss wrote: I thought it already did that. I hope this can be a thing so std.traits actually makes use of what's build-in, rather than attemtping to apply the same logic that arleady exist

Re: std.traits vcs __traits

2017-01-16 Thread Bauss via Digitalmars-d
On Monday, 16 January 2017 at 11:54:23 UTC, Stefan Koch wrote: On Sunday, 15 January 2017 at 12:53:04 UTC, Nordlöw wrote: Why is there both http://dlang.org/phobos/std_traits.html and the builtin https://dlang.org/spec/traits.html ? Should we modify std.traits to make use of __traits? I've

Re: Fast hashtable

2017-02-28 Thread bauss via Digitalmars-d
On Tuesday, 28 February 2017 at 17:57:14 UTC, Andrei Alexandrescu wrote: This is of possible interest: https://probablydance.com/2017/02/26/i-wrote-the-fastest-hashtable/ -- Andrei That's really interesting.

Null references and access violation

2016-09-14 Thread Bauss via Digitalmars-d
Can someone riddle me this, why D gives an access violation instead of ex. a null reference exception? Like let's say you have a field that's a class and you forget to give it a value. Now that will cause an access violation, but generally access violations are an indication that you're

Re: Should #line create a new namespace ?

2016-09-24 Thread Bauss via Digitalmars-d
On Saturday, 24 September 2016 at 07:14:47 UTC, Basile B. wrote: When the file is specified, Shouldn't #line create a new module ? === module m; int a; #line 0 "other.d" int a; === Currently this is not allowed, but what's the value added by the filename then ? Debugging

Re: PDF generation in D?

2016-11-13 Thread Bauss via Digitalmars-d
On Thursday, 10 November 2016 at 23:42:46 UTC, Daniel Kozak wrote: Dne 10.11.2016 v 23:30 Karabuta via Digitalmars-d napsal(a): Hello community, does anyone have on something for PDF generation in D? I may need a PDF generation library in a vibe.d project I'm working on. :) It depends what

Re: Is this a bug? Initializing immutable fixed size arrays

2016-12-12 Thread Bauss via Digitalmars-d
On Monday, 12 December 2016 at 06:43:52 UTC, Shachar Shemesh wrote: The following compiles fine: immutable char[5] array = x"01 02 03 04 05"; [...] This doesn't seem like a bug: immutable ubyte[5] array = x"01 02 03 04 05"; This however does: immutable ubyte[5] array = cast(immutable ubyte

Re: Happy December 13th!

2016-12-13 Thread Bauss via Digitalmars-d
On Tuesday, 13 December 2016 at 10:48:23 UTC, Walter Bright wrote: What a great day to be alive! Just feeling really blessed today, and hope you all are too. You as well! It's a pretty good day isn't it?

Re: All function attributes possible with "@"?

2016-12-15 Thread Bauss via Digitalmars-d
On Thursday, 15 December 2016 at 03:56:56 UTC, Jonathan M Davis wrote: @ is ugly. # is ugly. Both add unecessary characters. Aesthetically speaking, it would be _way_ better ts have them all be keywords, but we didn't want to have that many keywords. - Jonathan M Davis I agree with the @ is

Re: All function attributes possible with "@"?

2016-12-14 Thread Bauss via Digitalmars-d
On Wednesday, 14 December 2016 at 12:00:04 UTC, ketmar wrote: On Wednesday, 14 December 2016 at 09:51:00 UTC, Joseph Rushton Wakeling wrote: [...] exactly the kind of logic that made c++. [...] This. This. This.

Re: D Future...

2016-12-30 Thread Bauss via Digitalmars-d
On Friday, 30 December 2016 at 09:49:27 UTC, keito940 wrote: If you improve the standard library, everything OK? If... Next Version Request. Add To The F Sharp Like Pipeline Operator(D Language Pipeline Syntax is BAD.) & SML(C Language Compatible) Like Function Syntax Like Maybe Monad

Re: D future ...

2016-12-30 Thread Bauss via Digitalmars-d
On Friday, 30 December 2016 at 11:32:50 UTC, aberba wrote: On Friday, 30 December 2016 at 06:22:40 UTC, bauss wrote: [...] Yeah. I meant a subset. But widgets will not follow the DOM query syntax, it should use class attributes. .button { border-color: red; } .container { ... } auto

Re: D future ...

2016-12-30 Thread Bauss via Digitalmars-d
On Friday, 30 December 2016 at 13:26:15 UTC, Bauss wrote: On Friday, 30 December 2016 at 11:32:50 UTC, aberba wrote: [...] Yeah it kinda follows classes right now already. It follows a little different concept, where it's based on selectors and not classes. So you give your component

Re: D future ...

2016-12-30 Thread Bauss via Digitalmars-d
On Friday, 30 December 2016 at 13:56:30 UTC, Getald wrote: On Thursday, 29 December 2016 at 21:41:45 UTC, aberba wrote: Styling is similar to CSS but different. Wished someone would just go for a full blown CSS parser. CSS has proven its more capable and loved for client side

Re: What are you planning, D related, for 2017 ?

2017-01-03 Thread Bauss via Digitalmars-d
On Monday, 2 January 2017 at 15:16:31 UTC, Basile B. wrote: Write your plan here, and let's take a rendez-vous next year, to check those plans !! My plan is to get enough time to be able to work on this and making it stable enough for production: https://poisonengine.github.io/poison-ui/

Re: Dlang remote junior developer jobs

2017-01-09 Thread Bauss via Digitalmars-d
On Sunday, 8 January 2017 at 22:34:33 UTC, eugene wrote: Hello, everyone, could you share, please, your knowledge, where can i search D lang remote junior developer jobs? Currently there are barely any employers who require D programmers. If you really want to work with D outside of hobby,

Re: D future ...

2016-12-29 Thread bauss via Digitalmars-d
On Wednesday, 28 December 2016 at 12:33:58 UTC, Satoshi wrote: On Wednesday, 28 December 2016 at 12:03:53 UTC, YAHB wrote: Just think to your strategy and try to be wise. Even Qt sources are available. There's at least 10 ways to waste a freelance commercial project. Qt is out of dated crap

Re: D future ...

2016-12-29 Thread bauss via Digitalmars-d
On Thursday, 29 December 2016 at 19:54:43 UTC, bauss wrote: It can be found here: http://poisonengine.github.io/ I apologize I meant here: https://poisonengine.github.io/poison-ui/

Re: D future ...

2016-12-29 Thread bauss via Digitalmars-d
On Thursday, 29 December 2016 at 21:41:45 UTC, aberba wrote: On Thursday, 29 December 2016 at 19:54:43 UTC, bauss wrote: [...] Styling is similar to CSS but different. Wished someone would just go for a full blown CSS parser. CSS has proven its more capable and loved for client side

Re: [your code here]

2016-12-30 Thread Bauss via Digitalmars-d
On Friday, 30 December 2016 at 08:17:54 UTC, Joseph Agiri wrote: Why is the compiler for the D language not downloading from your site. It has not enabled me to be entirely fascinated with the language with confidence. Please correct the challenge. Does it have issues with Windows 7? The

Re: D future ...

2016-12-29 Thread bauss via Digitalmars-d
On Thursday, 29 December 2016 at 22:53:51 UTC, Chris Wright wrote: On Thu, 29 Dec 2016 21:41:45 +, aberba wrote: Styling is similar to CSS but different. Wished someone would just go for a full blown CSS parser. CSS has proven its more capable and loved for client side styling/decoration.

Re: Can vibed be fast as Go or Python?

2017-03-28 Thread bauss via Digitalmars-d
On Tuesday, 28 March 2017 at 07:32:15 UTC, Suliman wrote: I found very interesting Python async framework japronto https://github.com/squeaky-pl/japronto Test show that in some cases japronto may work as fast as Go. Can vibed be competitor (or even better) than Go and Python for

Any news on DIP88?

2017-03-11 Thread bauss via Digitalmars-d
Are there any news on DIP88? Will it be implemented?, when?, is there an implementation currently in development or? https://wiki.dlang.org/DIP88

Re: Compile without generating code

2017-07-07 Thread bauss via Digitalmars-d
On Friday, 7 July 2017 at 11:14:40 UTC, Suliman wrote: On Wednesday, 5 July 2017 at 22:05:53 UTC, Stefan Koch wrote: On Wednesday, 5 July 2017 at 21:58:45 UTC, Lewis wrote: I was reading https://blog.rust-lang.org/2017/07/05/Rust-Roadmap-Update.html, which mentioned that the Rust compiler now

Re: Let's paint those bikesheds^Werror messages!

2017-06-29 Thread bauss via Digitalmars-d
On Tuesday, 27 June 2017 at 14:32:28 UTC, Vladimir Panteleev wrote: - Yes, not everyone likes colors. You can turn all colors off with a command-line switch. Which is?

Re: Let's paint those bikesheds^Werror messages!

2017-06-29 Thread bauss via Digitalmars-d
On Thursday, 29 June 2017 at 14:35:00 UTC, Vladimir Panteleev wrote: On Thursday, 29 June 2017 at 14:33:19 UTC, bauss wrote: On Tuesday, 27 June 2017 at 14:32:28 UTC, Vladimir Panteleev wrote: - Yes, not everyone likes colors. You can turn all colors off with a command-line switch. Which is?

Re: std.process.execute performance without Config.inheritFDs

2017-07-03 Thread bauss via Digitalmars-d
On Monday, 3 July 2017 at 20:34:00 UTC, Ali Çehreli wrote: On 07/03/2017 07:53 AM, Vladimir Panteleev wrote: > That code is pretty old. std.process was changed to use poll when > available over a year ago: > > https://github.com/dlang/phobos/pull/4114 > > Update your D installation? Jonathan

Re: VSCode plugins

2017-07-03 Thread bauss via Digitalmars-d
On Tuesday, 4 July 2017 at 04:49:29 UTC, Manu wrote: If authors of both plugins are active here, I ask; why have 2 separate The same reason there are multiple editors.

Re: Webassembly?

2017-07-06 Thread bauss via Digitalmars-d
On Thursday, 6 July 2017 at 15:34:08 UTC, Wulfklaue wrote: Is there a future where we can see WebAssembly as part of D? Seeing Rusts backbone already producing wasm is impressive. WebAssembly currently does not support a GC ...so it fair the assume that this will be the main issue for LDC?

Re: auto*

2017-07-06 Thread bauss via Digitalmars-d
On Thursday, 6 July 2017 at 23:12:03 UTC, H. S. Teoh wrote: On Thu, Jul 06, 2017 at 10:31:10PM +, Meta via Digitalmars-d wrote: On Thursday, 6 July 2017 at 21:58:45 UTC, H. S. Teoh wrote: > On Thu, Jul 06, 2017 at 09:42:22PM +, Meta via > Digitalmars-d wrote: > > On Thursday, 6 July

Re: auto*

2017-07-06 Thread bauss via Digitalmars-d
On Thursday, 6 July 2017 at 23:51:13 UTC, H. S. Teoh wrote: On Thu, Jul 06, 2017 at 11:50:24PM +, bauss via Digitalmars-d wrote: [...] Let's say you have. auto a = foo(); You have no idea what auto actually is in that case, but auto* a = foo(); You know auto is a pointer of whatever foo

Re: What is your favorite D feature?

2017-06-22 Thread bauss via Digitalmars-d
On Thursday, 22 June 2017 at 00:48:25 UTC, Seb wrote: Hi, I am currently trying to modernize the D code example roulette on the dlang.org front page [1]. Hence, I would love to hear about your favorite feature(s) in D. Ideas: - favorite language construct - favorite code sample - "only

Re: vibe.d on Web Framework Benchmarks

2017-06-07 Thread bauss via Digitalmars-d
On Wednesday, 7 June 2017 at 14:56:56 UTC, Ozan wrote: On Wednesday, 7 June 2017 at 09:44:55 UTC, Ali Çehreli wrote: Is there an issue with the tests? Surprised that vibe.d is not higher in the rating... https://www.techempower.com/benchmarks/#section=data-r14=ph=fortune Ali Same for me.

Enum AA with classes not allowed anymore?

2017-10-07 Thread bauss via Digitalmars-d
I'm aware that the following has always been illegal: enum a = new Foo(); However the following were used to work in older versions of DMD: enum aa = [0 : new Foo("0"), 1 : new Foo("1")]; When did that change happen and what was the reason for the change? I were depending on AA's created

Re: Should we have prettier string printing for exceptions and std elemts?

2017-10-10 Thread bauss via Digitalmars-d
On Monday, 9 October 2017 at 18:52:03 UTC, Petar Kirov [ZombineDev] wrote: On Monday, 9 October 2017 at 17:44:12 UTC, jmh530 wrote: On Monday, 9 October 2017 at 17:19:42 UTC, Petar Kirov [ZombineDev] wrote: Printing the container type, address and length would be most useful default IMO (but

Re: Should we have prettier string printing for exceptions and std elemts?

2017-10-09 Thread bauss via Digitalmars-d
On Sunday, 8 October 2017 at 21:48:05 UTC, Fra Mecca wrote: Hi, I have noticed that there are elements of core and phobos that are pretty ugly when printed via writeln. One example is container.Array, but also exceptions. Should we prettify all of them to have a result similar to the one in

Re: Deprecation message of library functions should state the replacement function

2017-10-10 Thread bauss via Digitalmars-d
On Tuesday, 10 October 2017 at 11:48:48 UTC, Eduard Staniloiu wrote: Hi guys, I've just build druntime on Windows and we are displaying the following deprecation message: src\core\sys\windows\odbcinst.d(157): Deprecation: function core.sys.windows.odbcinst.SQLInstallTranslatorW is

Re: Enum AA with classes not allowed anymore?

2017-10-12 Thread bauss via Digitalmars-d
On Wednesday, 11 October 2017 at 17:40:15 UTC, Jonathan M Davis wrote: On Wednesday, October 11, 2017 17:05:19 Daniel Kozak via Digitalmars-d wrote: so you can try to use static immutable insted of enum Yeah. Similarly, you could just have a regular function that you call at compile time

Re: Will D continu to live after walter death?

2017-10-12 Thread bauss via Digitalmars-d
On Thursday, 12 October 2017 at 15:04:57 UTC, moechofe wrote: What is the wanted lifetime of the project? Is D will manage to pass through time? It is valuable to start a 40 years old project using D? Yes, because the project belongs to the D Foundation and not just Walter himself.

Re: My first experience as a D Newbie

2017-10-12 Thread bauss via Digitalmars-d
On Wednesday, 11 October 2017 at 17:55:18 UTC, Steven Schveighoffer wrote: On 10/11/17 1:42 PM, WhatMeWorry wrote: On Wednesday, 11 October 2017 at 07:23:02 UTC, Peter R wrote: [...] +10  We need a walkthru of how to set up everything. It's like a new cook being give all the ingredients but

Re: Enum AA with classes not allowed anymore?

2017-10-11 Thread bauss via Digitalmars-d
to 2.072.2: Success with output: Hello D Since 2.073.2: Failure with output: onlineapp.d(10): Error: variable onlineapp.aa : Unable to initialize enum with class or pointer to struct. Use static const variable instead. https://run.dlang.io/is/mJqayC On Sun, Oct 8, 2017 at 4:29 AM, bauss via Digitalm

Alternative to __traits(compiles)

2017-10-17 Thread bauss via Digitalmars-d
Could we have an alternative version to __traits(compiles) that will give you the compiler errors? Something like: enum compilerErrors = __traits(compilerErrors, mixin(code)); // compilerErrors should be null if there are no errors. static if (compilerErrors) { pragma(msg, "Failed to

Re: My two cents

2017-10-23 Thread bauss via Digitalmars-d
On Monday, 23 October 2017 at 12:48:33 UTC, Atila Neves wrote: On Monday, 23 October 2017 at 09:13:45 UTC, Satoshi wrote: On Wednesday, 18 October 2017 at 08:56:21 UTC, Satoshi wrote: [...] Whats about this one? auto foo = 42; auto bar = "bar"; writeln(`Foo is {foo} and bar is {bar}`);

Re: My two cents

2017-10-23 Thread bauss via Digitalmars-d
On Monday, 23 October 2017 at 06:05:50 UTC, drug wrote: 20.10.2017 17:46, Martin Nowak пишет: On Thursday, 19 October 2017 at 06:50:12 UTC, Fra Mecca wrote: We miss a build system that is tailored towards enterprises Anything more specific on that? My 2 cent: 1. dub needs ability to work

Weird behavior with "this T"

2017-10-19 Thread bauss via Digitalmars-d
Can someone explain the behavior of the following to me? With a base class like this: abstract class Foo { string[] members; final: this(this T)(T child) { import std.conv : to; foreach (member;

Re: My two cents

2017-10-24 Thread bauss via Digitalmars-d
On Monday, 23 October 2017 at 21:42:03 UTC, Atila Neves wrote: On Monday, 23 October 2017 at 21:14:18 UTC, bauss wrote: On Monday, 23 October 2017 at 12:48:33 UTC, Atila Neves wrote: On Monday, 23 October 2017 at 09:13:45 UTC, Satoshi wrote: On Wednesday, 18 October 2017 at 08:56:21 UTC,

Re: Looking for a job in USA

2017-11-28 Thread bauss via Digitalmars-d
On Tuesday, 28 November 2017 at 02:54:31 UTC, codephantom wrote: On Tuesday, 28 November 2017 at 02:32:58 UTC, Joakim wrote: Yes, I was only talking about your statements about there not being a moderator and implying forum posts couldn't be deleted, as should be clear from the rest of what I

Re: Thoughts about D

2017-11-27 Thread bauss via Digitalmars-d
On Tuesday, 28 November 2017 at 02:26:34 UTC, Neia Neutuladh wrote: You might try reading my first post. Java: 140ms to print "Hello world" D: 50ms to turn a 400kb subtex document into an epub You're not measuring what you think for the Java program. Did you calculate the runtime and JIT

Re: D jobs?

2017-11-25 Thread bauss via Digitalmars-d
On Saturday, 25 November 2017 at 13:16:19 UTC, Tofu Ninja wrote: Are there any places to look for D jobs? It seems really hard to find anything online. I got a really crappy job doing C++ and hate it to bits. Also if anyone is in the bay area and is in a position to higher maybe check out this

Re: Deploying D web servers

2017-12-17 Thread bauss via Digitalmars-d
On Sunday, 17 December 2017 at 17:06:32 UTC, cloutiy wrote: Hi, In the Javascript world there are services that provide a quick and simple means of deploying websites. I've used things like surge.sh, netlify. I'm sure there are many others. Is there something similar that exists for the D

Re: Is it possible to request a code review?

2017-12-12 Thread bauss via Digitalmars-d
On Wednesday, 13 December 2017 at 03:15:11 UTC, IM wrote: Thanks! First thing. Generally in D module names are kept lower-case. To give an example your: AbstractTaskRunner.d module tasks.AbstractTaskRunner; Would usually be: abstracttaskrunner.d module tasks.abstracttaskrunner; Of course

Re: What do people here use as an IDE?

2017-11-17 Thread bauss via Digitalmars-d
On Wednesday, 13 October 2010 at 01:58:19 UTC, Michael Stover wrote: Elephant appears dead. Poseidon's activity is extremely low and is still alpha after 5 years. LEDS is even less active, and DDT doesn't have a release yet. What do actual D programmers use? -Mike I use Atom, so not

Re: Looking for a job in USA

2017-11-18 Thread bauss via Digitalmars-d
On Saturday, 18 November 2017 at 01:31:09 UTC, Indigo wrote: On Wednesday, 15 November 2017 at 17:32:50 UTC, Satoshi wrote: Hi, as the title says, I'm looking for a job opportunity in the USA (H1B visa sponsorship required). I'm experienced Software Engineer with a demonstrated history of

Re: Project Elvis

2017-11-10 Thread bauss via Digitalmars-d
On Friday, 10 November 2017 at 12:48:53 UTC, codephantom wrote: On Friday, 10 November 2017 at 12:42:55 UTC, Satoshi wrote: 99% of Windows users couldn't find how to do basic stuff in Linux .. yeah.. imagine if I had said that...all hell would have broken loose. And 99% of Linux users

Re: Project Elvis

2017-11-11 Thread bauss via Digitalmars-d
On Friday, 10 November 2017 at 23:14:50 UTC, codephantom wrote: On Friday, 10 November 2017 at 11:19:39 UTC, Satoshi wrote: You are judging C#, but looks where is D and where is C#. Where is C#? In about 50% of the corporations doing enterprise programming. - good luck porting it to

Re: Project Elvis

2017-11-12 Thread bauss via Digitalmars-d
On Sunday, 12 November 2017 at 04:40:21 UTC, codephantom wrote: On Sunday, 12 November 2017 at 01:00:46 UTC, bauss wrote: I'm tired so I will end my post here. And I'm going to end all my posts here, cause I'm sick of arguing with MSFT fanboys, who want to restrain D's development by tying

Re: TickDuration deprecation

2017-11-20 Thread bauss via Digitalmars-d
On Sunday, 19 November 2017 at 19:29:06 UTC, Jon Degenhardt wrote: On Sunday, 19 November 2017 at 16:02:34 UTC, Jonathan M Davis wrote: [...] [...] 1) Finding the documentation for Duration from the documentation of std.datetime.stopwatch is not quick enough. There is only one link from

Re: TickDuration deprecation

2017-11-18 Thread bauss via Digitalmars-d
On Saturday, 18 November 2017 at 16:17:00 UTC, Jonathan M Davis wrote: On Saturday, November 18, 2017 15:03:05 Timon Gehr via Digitalmars-d wrote: [...] core.time and std.datetime avoid floating point math, because using it introduces errors into the calculations. It does make some sense to

Re: "body" keyword is unnecessary

2017-11-18 Thread bauss via Digitalmars-d
On Saturday, 18 November 2017 at 16:21:30 UTC, Eljay wrote: On Monday, 28 March 2011 at 18:59:03 UTC, Walter Bright wrote: On 3/27/2011 10:35 PM, Jonathan M Davis wrote: [...] Yes, I agree those are the top priority at the moment, now that we have the 64 bit compiler online and the worst of

Re: "body" keyword is unnecessary

2017-11-19 Thread bauss via Digitalmars-d
On Sunday, 19 November 2017 at 08:13:32 UTC, Tony wrote: On Sunday, 19 November 2017 at 08:05:38 UTC, Tony wrote: OK, but how would someone who is looking at: https://docarchives.dlang.io/v2.074.0/spec/contracts.html I wish this board had an edit function. That should be "OK, but how

Re: Zig mentions D in justifying its existence

2017-11-16 Thread bauss via Digitalmars-d
On Thursday, 16 November 2017 at 22:58:32 UTC, solidstate1991 wrote: Often I just don't find a use for them, so I won't make the compiler to do CTFE if it's not needed. Why wouldn't you? It gives less overhead at run-time, giving your application better performance.

Re: What are the unused but useful feature you know in D?

2017-11-04 Thread bauss via Digitalmars-d
On Saturday, 4 November 2017 at 13:27:29 UTC, rikki cattermole wrote: On 04/11/2017 2:14 PM, jmh530 wrote: [...] Okay so: A signature when it is initiated is aware of the implementation it is referencing. Allowing it to change how it behaves for compatibility reasons. An interface is

Re: Proposal: Support for objects in switch statements

2017-11-05 Thread bauss via Digitalmars-d
On Wednesday, 1 November 2017 at 01:16:32 UTC, solidstate1991 wrote: After I started to alter my graphics engine to use the multiple kinds of bitmaps (now using multiple language features, like templates and aliases) on one layer, I noticed that type detection of bitmap objects would be easier

Bug or "hidden" feature?

2017-11-06 Thread bauss via Digitalmars-d
If a function has an UDA you don't need to give the function a return type. Is that a bug or a hidden feature? Example: ``` import std.stdio; struct A { } @A test() { writeln("Called test()"); } @A test2() { return true; } void main() { test();

Re: Bug or "hidden" feature?

2017-11-06 Thread bauss via Digitalmars-d
On Monday, 6 November 2017 at 09:48:39 UTC, Temtaime wrote: On Monday, 6 November 2017 at 09:44:24 UTC, bauss wrote: If a function has an UDA you don't need to give the function a return type. Is that a bug or a hidden feature? Example: ``` import std.stdio; struct A { } @A test() {

Re: Project Elvis

2017-11-05 Thread bauss via Digitalmars-d
On Monday, 6 November 2017 at 00:20:09 UTC, Neia Neutuladh wrote: On Saturday, 28 October 2017 at 11:38:52 UTC, Andrei Alexandrescu wrote: Walter and I decided to kick-off project Elvis for adding the homonym operator to D. It's easy to write in function form: auto orElse(T)(T a, lazy T b)

Re: a linking error very hard to understand and solve...

2017-11-02 Thread bauss via Digitalmars-d
On Thursday, 2 November 2017 at 11:13:34 UTC, Jean-Yves Vion-Dury wrote: Dear colleagues, I cannot solve this compilation issue; the message is ambiguous, in this sense that one of the proposed sulution (line 81) is apparently the one exposed as problematic... Any help much appreciated...

Re: Improve "Improve Contract Syntax" DIP 1009

2017-11-02 Thread bauss via Digitalmars-d
On Thursday, 2 November 2017 at 10:47:09 UTC, codephantom wrote: On Thursday, 2 November 2017 at 09:18:51 UTC, Patrick Schluter wrote: if() in template constraints are similar, so it is nothing shockingly out of character. They are not free floating either as they are part of the function

Re: Project Elvis

2017-11-07 Thread bauss via Digitalmars-d
On Tuesday, 7 November 2017 at 13:36:19 UTC, Atila Neves wrote: On Monday, 6 November 2017 at 19:13:59 UTC, Adam Wilson wrote: On 10/28/17 04:38, Andrei Alexandrescu wrote: [...] C# has extensive experience with this operator and I think it would be wise to study the history of what they

Re: [OT] Windows dying

2017-11-07 Thread bauss via Digitalmars-d
On Tuesday, 7 November 2017 at 20:44:57 UTC, Jerry wrote: On Tuesday, 7 November 2017 at 19:10:50 UTC, bauss wrote: On Wednesday, 1 November 2017 at 18:59:21 UTC, Adam D. Ruppe wrote: On Wednesday, 1 November 2017 at 18:42:07 UTC, Bo wrote: There is a issue with Windows. The whole attacking

Possible change to symbol protection

2017-11-07 Thread bauss via Digitalmars-d
I believe it would be nice if we were allowed to pass symbols we don't have access to into templates, but of course we shouldn't be allowed to use them. Ex. foo.d ``` module foo; private int bar; ``` baz.d ``` template MyTemplate(alias Symbol) { ... } ... import foo; MyTemplate!bar;

Re: What are the unused but useful feature you know in D?

2017-11-07 Thread bauss via Digitalmars-d
On Wednesday, 8 November 2017 at 01:24:57 UTC, codephantom wrote: On Sunday, 25 June 2017 at 23:21:25 UTC, aberba wrote: Can you share feature(s) in D people are not talking about which you've found very useful? How about this feature: i.e. it actually compiles just fine ;-)

Re: Project Elvis

2017-11-07 Thread bauss via Digitalmars-d
On Tuesday, 7 November 2017 at 17:37:42 UTC, Ola Fosheim Grøstad wrote: On Tuesday, 7 November 2017 at 17:27:30 UTC, bauss wrote: Which this operator has already proven to be in other successful languages. Not exactly this variation, but I get your point. On the other hand, so has hundreds

Re: Project Elvis

2017-11-07 Thread bauss via Digitalmars-d
On Tuesday, 7 November 2017 at 16:32:50 UTC, Ola Fosheim Grøstad wrote: On Tuesday, 7 November 2017 at 14:08:07 UTC, bauss wrote: I think we have a problem in this community to always bash down things with "It can be solved as a library.", "I don't see the value of this being added.", "I'm not

Re: [OT] Windows dying

2017-11-07 Thread bauss via Digitalmars-d
On Wednesday, 1 November 2017 at 18:59:21 UTC, Adam D. Ruppe wrote: On Wednesday, 1 November 2017 at 18:42:07 UTC, Bo wrote: There is a issue with Windows. The whole attacking the messenger, the whole idiotic argumentation's that Windows is dying, it is all pure useless trolling the people who

Re: @ctfeonly

2017-12-08 Thread bauss via Digitalmars-d
On Thursday, 7 December 2017 at 06:33:42 UTC, E.S. Quinn wrote: On Thursday, 7 December 2017 at 05:53:06 UTC, bauss wrote: On Thursday, 7 December 2017 at 04:45:15 UTC, Jonathan M Davis wrote: As I understand it, with the way CTFE works, it pretty much can't know whether a function can be

Re: @ctfeonly

2017-12-06 Thread bauss via Digitalmars-d
On Thursday, 7 December 2017 at 04:45:15 UTC, Jonathan M Davis wrote: As I understand it, with the way CTFE works, it pretty much can't know whether a function can be called at compile time until it tries - Jonathan M Davis I think that's the point of the attribute. You tell the compiler

Re: Suggestion: needleless findSplit* methods

2017-12-12 Thread bauss via Digitalmars-d
On Tuesday, 12 December 2017 at 09:17:21 UTC, bauss wrote: On Tuesday, 12 December 2017 at 08:19:39 UTC, Piotr Mitana wrote: Hello, I'd like to make a little suggestion for phobos: enrich findSplit* method family with the "needleless" predicate option. [...] Either do it yourself and

Re: Suggestion: needleless findSplit* methods

2017-12-12 Thread bauss via Digitalmars-d
On Tuesday, 12 December 2017 at 08:19:39 UTC, Piotr Mitana wrote: Hello, I'd like to make a little suggestion for phobos: enrich findSplit* method family with the "needleless" predicate option. [...] Either do it yourself and create a pull-request or go here instead of posting in the

  1   2   3   4   5   6   7   8   9   10   >