Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Jan 22 2019 16:30
    jcchalte commented #567
  • Jan 15 2019 14:44
    Tigraine commented #564
  • Jan 15 2019 13:45
    CZEMacLeod commented #564
  • Jan 15 2019 11:23
    twenzel commented #564
  • Jan 15 2019 09:32
    Tigraine closed #564
  • Jan 15 2019 09:32
    Tigraine commented #564
  • Dec 28 2018 00:28
  • Dec 19 2018 18:19
    petersmm commented #548
  • Nov 27 2018 08:07

    twenzel on master

    Fix typo in description (compare)

  • Nov 26 2018 11:27

    twenzel on master

    Updated Nuget key (compare)

  • Nov 23 2018 15:38
  • Nov 16 2018 16:56
    rcollette commented #283
  • Nov 12 2018 20:00
    CZEMacLeod commented #283
  • Nov 10 2018 05:12
    rcollette closed #283
  • Nov 04 2018 08:28
  • Oct 30 2018 20:30
    petersmm commented #548
  • Oct 30 2018 20:30
    petersmm commented #548
  • Oct 30 2018 07:56
    twirpx opened #567
  • Oct 24 2018 21:09
    twenzel commented #524
Mordechai Zuber
@M-Zuber
at work its all just regular desktops.
I guess the downside of web dev is no cool hardware lying around for testing :laughing:
Lauri Kotilainen
@rytmis
We had the old MBP for testing web sites on OS X Safari :)
I'm not quite sure yet where my usage of the MBP will settle, but it's a fun device to lug around: it's lightweight, its battery gives me 8h of operation unless I'm running a VM and generally things just feel smooth.
For now.
Ask me again in a couple of months, and I'll have found all the weird bugs and inconsistencies... :)
Mordechai Zuber
@M-Zuber
yeah my lenovo weighs a ton, but the battery is decent (and since its windows I don't need a vm :smirk: )
Lauri Kotilainen
@rytmis
I used to love Lenovo
The last two I've had have been cursed.
My W520 had a bug where I'd put it into sleep mode, and when it woke up, it'd go to an endless boot loop. Power fail -> auto-reboot -> bios -> power fail ...
This W540 I've got has been fairly OK, but the graphics drivers are just... WAT.
I fire up the twin monitors, and it takes a full minute until both of them have a picture that doesn't go "power save -> no signal -> flash picture -> no signal -> power save" and so on.
And the touchpad on the W540 is so bad, Lenovo decided to make a new revision of the hardware that reverted that. Unfortunately, I'm stuck with what they put in the first rev.
Mordechai Zuber
@M-Zuber
Ouch sounds real bad
Lauri Kotilainen
@rytmis
Lenovo support had me reinstall a vanilla windows on the W520 before they came in to swap the mobo. Which didn't help...
Maybe it was a battery firmware thing. I dunno.
Mordechai Zuber
@M-Zuber
i've never had endless loops (fingers crossed) but sometimes I have to reboot it a few times (G70)
Lauri Kotilainen
@rytmis
Also, the W520 had so bad insulation on the speaker cables that the cables melted.
The only way to stop the boot loop was to yank the battery. :P
Oh, and I almost forgot: on the W540, if I put the machine to sleep when it's in the dock & resume when it's not, the display never wakes up. Again, battery yank...
Mordechai Zuber
@M-Zuber
The worst experience I've ever had with a laptop was an HP that the wires inside the charger where insulated with a gap and then another sleeve on top
It felt like it was designed to eventually have crossed wires. But instead of giving into their tricks of buying a new one, I opened it up and added a bunch of electric tape :smile:
Lauri Kotilainen
@rytmis
Real-life mcgyver
Mordechai Zuber
@M-Zuber
You have def convinced me not to get another Lenovo though :grin:
Lauri Kotilainen
@rytmis
I dunno... I seem to be the only one at our company having a tough time with them.
We did have another instance of the power loss/boot loop issue, though.
The last Lenovo I really loved was my own T61p.
Lauri Kotilainen
@rytmis
Regex is hard, mmkay
Took me approx 30 minutes to come up with the right regex to match unicode ranges. And to figure out why I was matching the more obscure cases incorrectly.
@Tigraine Has anyone written up a tutorial on how to integrate dynamic vars from a database with the dotless http handler?
Daniel Hoelbling-Inzko
@Tigraine
@rytmis What do you mean with dynamic vars?
I always suspected that it's easier for people to get the vars in their ASP Page and append them as variables to the Querystring. Executing Database calls during the CSS compilation seems like a not so good idea to me..
Lauri Kotilainen
@rytmis
@Tigraine pretty much what you thought it was. Having a style sheet that brings in customisations from a database.
I don't think the compilation part is the problem, though. If we design the process to be "get vars" -> "process LESS" (so that it's clearly a separate step), it should be pretty predictable. However, the caching story is what concerns me the most.
Lauri Kotilainen
@rytmis
less.js even supports LESS imports that require a http download -- those are going to be a killer for compilation time, but if they do it, I don't see why we wouldn't.
Lauri Kotilainen
@rytmis
For 2.0, I'm thinking about doing a bunch of API reworking.
First, I'd love to get rid of the Expand<Foo> calls by making the Evaluate method return an IEnumerable<Node> and treating the results accordingly.
Second, I think the evaluation stack needs to be re-thought a little bit.
Lauri Kotilainen
@rytmis
Well, now. I reworked the API so that every Evaluate call returns an IEnumerable<Node>. While working through that change, I also eliminated a bunch of weirdness regarding e.g. mixin guards -- now, when a guarded call results in nothing, it no longer produces a spurious empty line.
Lauri Kotilainen
@rytmis
I really dislike the fact that e.g. Ruleset has a lot of conditionals based on the type of the node being evaluated. That stinks.
Ideally, the Node itself should know how to evaluate itself given the current environment.
Lauri Kotilainen
@rytmis
Extend in particular is implemented in a really incongruous way.
Lauri Kotilainen
@rytmis
These weird corner cases keep tripping me up. Ideally, Ruleset.Evaluate should be "return new Ruleset(Selectors, new NodeList(Rules.SelectMany(r => r.Evaluate(env))));", but there's a lot of historical cruft that needs to be sorted out before that can happen.
Lauri Kotilainen
@rytmis
Variable evaluation in particular is tricky. I'm working towards a world where variable definitions are evaluated as the first pass of evaluating a ruleset, and evaluating the value stores it in the current env.
That way, lookups should become noticeably cheaper, and eventually I hope to get rid of Env.Frames entirely.
Lauri Kotilainen
@rytmis
Have I mentioned how much I dislike the regex-based parser already? Having semicolon-separated argument lists in mixin calls is really hard to get right. I spent about an hour on Friday cooking up a regex that would reliably let me detect them. It worked -- except in one case, where the tokenizer has helpfully already recognized the first argument as a quoted string, and hence only matches against that string so it's difficult if not impossible to work with the surrounding context.
Daniel Hoelbling-Inzko
@Tigraine
@rytmis Should I merge this? dotless/dotless#484
Lauri Kotilainen
@rytmis
Yes, if it looks good. Merge it to develop instead of master.
Lauri Kotilainen
@rytmis
Ping @Tigraine
See above :)