News for hackers. Stuff that matters.

batina

Correct! I don't get why people are scared of writing native applications. It's not that hard.
Re:Bitbucket is down? on Thursday October 25, 2018 @04:10AM (#18299311)
I get "Internal Server Error" when I try to access it.
Re:Atlassian is Down on Friday March 02, 2018 @10:45AM (#16502364)
This is becoming a common thing for bitbucket? Think I will be switching to GitHub.
Re:Facebook turned on face recognition silently on Tuesday February 27, 2018 @12:39PM (#16475790)
Nope, I'm in Europe and got it. Try using this link:

https://www.facebook.com/settings?tab=facerec&section=face_r...

Re:Facebook turned on face recognition silently on Tuesday February 27, 2018 @12:33PM (#16475710)
Mine defaulted to on... hmmmm

"You control face recognition. This setting is on, but you can turn it off any time, which applies to features we may add later."

Re:Ask HN: How do you watch technical videos? on Thursday January 18, 2018 @03:47PM (#16181259)
I play them at 1.5x or 2.0x of normal speed and pause them to take notes when needed. Then, when I get to use that code in real life I just re-watch parts that are related to my task.
Re:Many packages suddenly disappeared on Saturday January 06, 2018 @04:15PM (#16087497)
There are over 700 comments on this issue on GitHub. It is turning into live chat room.

https://github.com/npm/registry/issues/255

Be part of the history :)

EDIT: there are now over 1100 comments/memes.

That is why I'm reverting back to WinForms until something better comes along. No proper data binding support but I can live with that.

I'm just hoping that Microsoft, or somebody else, will create a cross-platform GUI toolkit.

Re:Show HN: The 8 hour diet web app on Wednesday April 12, 2017 @05:13AM (#14095998)
This is just intermittent fasting. You can read more about it at http://www.leangains.com/ or watch Fasting Twins videos on YouTube.
Re:Show HN: Poxi – A Hackable Pixel Art Editor on Monday February 27, 2017 @02:45PM (#13747268)
RANT: No disrespect, but why is everyone using words like hacker, hackable, etc?! Are they supposed to sound cool? Or, maybe I am too old to understand it? :)
Once in 5 years.
Re:Design and Implementation of a Win32 Text Editor (2005) on Monday December 05, 2016 @04:03AM (#13104233)
You can still use Uniscribe in Windows 10 but as you said it has been superseded by DirectWrite (used in Microsoft Word, WPF, etc).
Re:Having a ‘work spouse’ makes you happier? on Friday November 18, 2016 @08:00AM (#12986396)
Couldn't be more true!
Re:.NET Framework – What's New in C# 7.0 on Thursday November 17, 2016 @08:06AM (#12977065)
I know about Fody but I don't think it would help with custom logic inside setter (not just PropertyChanged call).
Re:.NET Framework – What's New in C# 7.0 on Thursday November 17, 2016 @08:04AM (#12977055)
I don't think its possible with data annotations because there will me more complex logic in setter then I described.

I would just like to see get working like in auto-implemented property (without backing field) but setter to be manually implemented (with value keyword).

Also you can use propfull snippet for full property implementation.

Re:.NET Framework – What's New in C# 7.0 on Thursday November 17, 2016 @02:57AM (#12975346)
Pattern Matching with Is Expressions

Awesome! Greatly reduces "ugly" boilerplate code like this:

    if (control is TextBox)
    {
        var textBox = (TextBox)control;
        textBox...
    }
Also, it would be great if Microsoft could make full properties in another way so that you do not have to write a backing field for it. Something like this:

    public string LastName
    {
        get;
        set 
        {
            if (value == "Batina")
                RaisePropertyChanged();
        }
    }
It would make code more cleaner.
Yes, that would be awesome!
Haha, exactly what I did :)
Re:WinRT demystified on Thursday September 15, 2011 @11:49AM (#3000806)
Great explanation. Can't wait to finish downloading Windows 8 to start playing with it.

Asynchronous API that will really make a difference for the end user, right? There won't be any more waiting for UI to unfreeze :)