News for hackers. Stuff that matters.

longlivedeath

Re:Rent control isn’t working in Sweden on Thursday August 26, 2021 @01:32PM (#28317886)
as opposed to market-allocated
Re:Rent control isn’t working in Sweden on Thursday August 26, 2021 @10:09AM (#28315176)
UK has lots of politically-allocated housing too, but its main problem is that it's not adding enough new stock because of the restrictive planning system.
> European doctors will never prescribe this officially

Google "hormone replacement therapy".

I think that you've invented a heap array.
Re:Dmitry Rogozin on SpaceX Crew Dragon Launch on Wednesday June 10, 2020 @12:07PM (#23478674)
Not exactly surprising to people familiar with the output of the Russian foreign ministry, unfortunately.
A century ago it was the world's 10th wealthiest state per capita. Right now it tops the list of the upper middle-income group, so is almost a high-income country, and per capita is richer than, for example, Russia.
i.e. basically everyone
Re:San Francisco Bubble on Friday January 29, 2016 @03:17PM (#10998159)
> otherwise around 10 USD

wat? it's 1.5$ actually

http://www.systembolaget.se/dryck/ol/heineken-153603

Re:GitHub blocked in Russia on Wednesday December 03, 2014 @09:22PM (#8697560)
> Russian government is done anyway (economic situation will finish it in a few years)

Wishful thinking. Cf. how the economic situation has finished Kim Jong-un.

Re:Message threading (1997-2002) on Sunday September 08, 2013 @08:58PM (#6351283)
I read the title as an epitaph.
Re:C++11 and Boost - Succinct like Python on Thursday November 01, 2012 @09:30PM (#4730781)
Is there a C++ IDE that can figure out the function signature after you have written something like

_ f(_ a, _ b, _ c) { YOUR; CODE; HERE; }

?

Re:C++11 and Boost - Succinct like Python on Wednesday October 31, 2012 @09:12PM (#4725696)
> it is considered good practice to add types as documentation to top-level constructs

But with type inference your tools can do that for you (e.g. C-u C-c C-t in haskell-mode).

Re:Show HN: A visual explanation of Fisher–Yates shuffle on Thursday January 19, 2012 @04:49AM (#3483817)
Thank you, now I see. Here's my version:

    shuffle :: (ChoiceMonad m, Eq a) => [a] -> m [a]
    shuffle [] = return []
    shuffle elems = do 
      x <- choice elems
      xs <- shuffle (x `delete` elems)
      return (x:xs)
Re:Show HN: A visual explanation of Fisher–Yates shuffle on Monday January 16, 2012 @06:59PM (#3473169)
I find it a bit hard to see how to reinterpret your Python code in the list monad. Can you post a Haskell version of this function?
Re:Sorry state of dynamic libraries on Linux on Monday January 16, 2012 @06:17PM (#3473053)
Have you looked at Google Breakpad? They have some support for this:

http://code.google.com/p/google-breakpad/wiki/LinuxStarterGu...

Re:Fear of Ignorance on Tuesday November 29, 2011 @02:16AM (#3289461)
> Hayek's Economics In One Lesson

s/Hayek/Hazlitt/