skysight-inc/HackerNews huggingface dataset:
Supply and demand.

Demand is higher than supply.

Everyone in SF knows that and actually seems to not want to increase the supply.

Strike that, they want the property tax revenue but only from huge, high-brow luxury apartment build-outs. The City has no problem letting the supply at the high end of the market increase.

By stopping any growth in the supply of nominally affordable rentals, the City leadership is pushing people of limited means outside of the city.

Let's see then if the City's limitations to increasing Supply makes sense:

1) low-income people -- like it or not, the vast majority of crime is committed by this group -- are pushed out of the city. That reduces crime. Check, makes sense from the City leadership perspective.

2) Rent control fools the city's renters into voting for more of the same. Landlords cannot profit; take affordable units off the market. Again, the low income types are pushed out of the city. Check. (see #1)

3) Also, by putting these mom-and-pop landlords out of business, rent control eliminates a COMPETITOR for the Luxury Apartment developers -- if there are no low-cost apartments to rent, people have no choice but to pay up or get out. Rent control also pushes up rents at the low end as those units go offline/out of business/converted to condos/etc., leaving fewer units available for low income folks.

The City is acting in its own best interest to:

- limit supply growth of apartments
- put mom and pop landlords with affordable units offline
- thus eliminating affordable units and the low socio-economic status people who create most of the crime problems from the city

And all that pushes up rents to benefit high-property-tax-paying Luxury apartment developers.

The City needs as much property tax revenue as they can get.

"How do we attract luxury apartment developers to boost the City's property tax haul?

- eliminate the low-priced competitors -- and even get the voters to approve it -- by imposing rent control

- reduce crime so Luxury apartment developers will feel they can attract high-dollar customers

- reduce/eliminate the creation of new affordable housing

SF wants property tax revenue. If you understand the above, you know everything.

It's not like the City leaders are going to announce their strategy to voters. Too many low-income/moderate-income renters here in SF.

But you can see the effects:
- high rents due to the gradual elimination of mom-and-pop low rent units (they go out of business or convert to condos)
- no more low-end Supply allowed to be created
- rent control is here to stay (at least until all the low-priced apartments are gone)
GCC/Clang can generate code with tail calls, if you don't mind losing the stack frame. And I don't think they have any issue tail-calling external libraries on the ABIs I know. How are these different?
Sometimes it's really useful to kick off an async function as well, do some other work in the meantime that doesn't require that async function to be done, then await the promise from the async method later on when you do need it to be done.
They're a back alley bazaar. Don't buy power electronics on amazon. Just buy them straight from monoprice and/or apple.
The want of linguistic purity is superfluous, and contrary to how languages develop. In the comforts of daily life polyglots fuse their multiple languages together, creating a new dialect.

I'm no linguist but one can clearly observe this in japanese "Engrish" (which is a real phenomenon abroad, my former sensei had stories of mispronounced English being taught in schools and understood locally), or in hybrids like Afrikaans or Portuguese. Or in any of the regional dialects that spring up in mixed cultures.

"Pure" languages like Esperanto are neat, and I think they can serve a legitimate and useful role at the world's table, but a language that fights impurities has to constantly push against a strong current. (See: French.) Real language is messy -- because if the majority of people break some rule of grammar together, it becomes the new grammar!

Also, those examples of 'pure' Modern English were ugly/crude-looking/inelegant :(
Let's call it AmazonFresh
>No, you're not a good programmer because there's no challenge any more. You're a bad programmer because you've lost sight of the context of your work.

I think you're being more than a little naive here. A very large portion of the software work that actually pays is, on a personal level, total BS. It's about helping a business do something boring in a much more efficient way than ever before. Or providing a service electronically that used to be done via snail mail. Or providing a way for bored people to make their commute bearable.

You can try and dismiss this as "turd polishing" but the reality is that if it was easy anyone would be doing it. I'm never going to be passionate about the product my company makes, but I still have the self respect to not produce terrible code that burdens my coworkers (and ultimately the customers).

In short: it isn't all about robots, spaceships and self-driving cars and stuff for most programmers. But we still gotta get to work.
There is something to be said about the UI approach of R's Shiny interface. As a scientist with limited budget for dedicated IT development, I can focus on creating the content and the UI can easily be built to access it functionality.
Hi, perhaps adding some examples to your landing page might make people take the next step to trying the demo. Also is it open source? Can the forms be self hosted? What makes it different from other form sites?
Perhaps someone who has a better grasp of the standard can correct me, but as far as I can tell, your interpretation is correct and the given example is not undefined behavior.

From 6.5.2.1 (Array Subscripting) of the C11 draft:

"A postfix expression followed by an expression in square brackets [] is a subscripted designation of an element of an array object. The definition of the subscript operator []
is that E1[E2] is identical to (*((E1)+(E2))). Because of the conversion rules that apply to the binary + operator, if E1 is an array object (equivalently, a pointer to the
initial element of an array object) and E2 is an integer, E1[E2] designates the E2-th element of E1 (counting from zero)."

From 6.5.6 (Additive Operators):

"When an expression that has integer type is added to or subtracted from a pointer, the result has the type of the pointer operand. If the pointer operand points to an element of an array object, and the array is large enough, the result points to an element offset from the original element such that the difference of the subscripts of the resulting and original array elements equals the integer expression. [...] If both the pointer operand and the result point to elements of the same array object, or one past the last element of the array object, the evaluation shall not produce an overflow; otherwise, the behavior is undefined."

To me, those sections together read that there should be no overflow as long as i is smaller than the length of `points` + 1, and thus no undefined behavior. Does anyone have another interpretation?
Agreed. I've yet to find anything remotely as fast as the Picasa app (even running under Wine) for organizing photos. The gap is somewhat filled by the rise of SSDs (even slow apps are faster when disk speed increases) - but I would've loved for them to open source the thing rather than kill it off.

Of course, real desktop apps goes against the need for all content to be in the Google cloud where it can be mined by Gooogle, so I'm not surprised. I guess Total Information Awareness makes for great ad sells.
I've wondered if it's because poor people instinctively reach for the cheaper looking brand. I've done that during the times in my life when it was necessary. I've also occasionally found that the cheaper looking brand isn't actually the cheapest brand, and wondered of someone's been capitalising on that instinct.
That sounds like the app is badly implemented, really.

Yeah, it really is badly implemented, but the blame for that lies in part with Android for making it so easy to write apps that break. It would have been perfectly easy to write the code so that it returned "GPS signal lost" for location, "no contacts" for contacts, "SD card is empty" for storage, "no phone call in progress" for phone, etc. In fact, modders of Android have been doing that kind of thing for years. It's truly astonishing that Google got this so wrong when there are so many better examples.

Because it's a completely new API and it shouldn't have to, apps should check the return code to see if the permission was denied or not.

Sometimes an app should believe the permission was granted when it actually wasn't, because of the aforementioned bad (or even malicious) apps. Maybe you have to use a particular app in order to control the lights in your house, or your car, or to chat with someone who refuses to use anything that doesn't have a permission list a mile long. Privacy controls are useless if the true control is still in the hands of the app.

Are you talking about denying permissions to apps that don't support the new-style permissions natively, perhaps?

No, I'm not, but clearly old-style permissions could have been reimplemented as forwarding calls to a new-style API that returned blank data if the user chose blank data for that app's permission, just as privacy mods for rooted phones have already done.
Navigating Responsibly
and what reason it had to jump on alibaba?
tfw when "complete" has degrees. sigh.

I'm 99% super confident that this is an almost optimal solution.
The Incremental Garbage Collection of Processes (SIGPLAN 1977)
Source code, pfft. Is this not hacker news? ;)
How should I begin investing real money as a student?
What exactly makes this 'lightweight' as described? Are there some metrics to back this up? I.e. How much memory cold, querying and modifying a database, how many different languages / technologies does it utilise? How large is the install? Etc...
One important fact one should keep in mind: This particular case is likely pushed forward because the suspect is accused (morally, and not even in a legal/formal way, as the article mentions) of a particularly abhorrent crime. It's always Child-Pornography and Terrorism.

Once it will become standard practice to force people to decrypt files or harddrives, expect being compelled to unlock your computer for suspicion of owning pirated files, "whistleblown" documents or GPS logs of traffic infringements :-(
Wouldn't this be a classic case where you'd encyst the nonstandard code in a library, making it simple to swap out the implementation if required?
Interesting side note. In a previous life back in the 90's, I worked in the (civilian) nuclear power industry. I came across some old company reports from the 80's for selling nuclear reactors to Saudi Arabia for desalination and not electrical power generation. I asked my boss about it because he was around at the time and he said the Saudis were serious but the numbers just didn't work out. I think the main problem was fouling of the tubes used to boil off the water leaving behind all sorts of dissolved mineral and salt deposits. Chronic cleaning or replacing the tubes killed the economics.
Without a miracle, it seems like a bit of a lost cause.

I see some pretty glaring reasons why Python has not taken off in writing GUIs, especially on mobile.

1. The Python runtime is not very easy to embed on iOS and Android, and the sheer number of bindings needed to make it worth doing is immense.

2. Python's runtime is completely and utterly incapable of threading. Threading being almost essential to any decent user interface, this whole idea falls flat.

3. If the other two problems weren't enough, Python's single-threaded performance is really not great either. On resource-constrained systems (think phones) this hits doubly hard.
Sticky fingers: The rise of the bee thieves
Yeah, now say all of this to the modern JavaScript community
I thought that they all ("all", excluding prototype hardware) used the same physical connector (a 15-pin ZIF connector). As far as data lanes and such, I'd assume that the Pi-Zero will take its cues from the non-compute-module Pi's and run 2 lanes of data on interface 1.

edit: Ah, OK. So it's a fine-pitch side-mount connector. I didn't realize that it actually uses different hardware.
Electronic New Patient Registration Form- an Eco Friendly Software
Or one that mistreats their customers.

I bought mite spray for a plant. The ad showed it come in a sprayer but it didn't; just a normal bottle. I told amazon that the product page was inaccurate, but that I had a spare sprayer bottle so I didn't care. They still refunded the purchase price and told me to keep it.

I lost a shipment of nearly $200 of books: USPS said it was delivered but I didn't receive it. Amazon send me a replacement shipment via 2-day for free with zero hassle. When the first shipment showed up weeks later, I emailed amazon. They gave me a coupon for returning them.

Amazon has proactively refunded movie purchases because they detected streaming issues. It was my wifi router acting up.

UPS -- not amazon -- had trouble delivering a gift and I had to talk to a customer service agent at amazon. Amazon gave me two free months of prime for UPS's mistake.

While I wish they would kick knockoff electronics vendors off their site, it's hard to say that amazon doesn't take care of their customers.

I'm averaging over 60 orders per year with virtually no hassle. I click and stuff shows up at my doorstep. It's like living in the future :D
Or all of the OEMs out there who do this out of habit...

I guess don't do upgrade-installs to 8.1 (though I haven't advocated doing those just about ever).
Post your Raspberry Pi 3 overclocking config
Can you post your overclocking config.txt for RPi 3 board?
Good thing malware doesn't have administrative privileges.
Yeah, when they shipped first raspberrys the demand was in millions. Now because Zero is so small and cheap, everyone who needed pi for tinkering will order several zeros, including me. The only thing which prevented me from getting one was lack of camera connector.
I live in Milan, Italy. A few months ago I had to call 112 (our 911 equivalent) after witnessing a bad car accident while looking outside of the window. The dispatcher on the other side of the phone gave me my location (which was 100% correct, both street name and number) and asked me to confirm.
I suppose this was possible thanks to E112 [0], but I am not 100% sure.

[0] https://en.m.wikipedia.org/wiki/112_(emergency_telephone_num...
Visual programming system such as Scratch eliminates spelling as a source of frustration for younger kids and especially those whose native tongue is not english (on which the syntax of most programming languages is based on).

The logic of programming however, exposes the developer to exactly the same mental processes as programming with a typed language would. I've watched my son programming Scratch and I can guarantee even the typical the bugs are there in same form as in C++. "Why is this not working - oh, I need to initialize this variable not here but inside this loop" and so on.
The point of a house brand in most supermarkets is to appeal to bargain-hunting buyers. The most important part of the branding, then, is to communicate that the product is no frills.

Dated-looking branding probabky actually helps with that, which may be why even when store brands are new or updated, they are bith plain and dated-looking from the start. This also means that they don't really have a lot of reason to.keep them "fresh" most of the time.
What's going on with the zalgo text? Is this an aesthetic choice, or is this a legitimate rending issue?

http://i.imgur.com/tryjhMi.png
That has been my observation as well. It's quite useful as an segregator for local information. Probably because of the character limitation. I think there's a psychological positive to it as in "well I only have to type about 140 characters" (said the event organizer, police pr person, town hall person etc.)

The change will be nice because it'll hopefully be easy to parse the metadata for attachments (images, url) and it should be more elegant to handle them in general than regexping them out.
Maybe, but I would think they also risk their housebrand becoming really stale.
I mean, while the contents might be the surplus/castoff from a branded producer (so quality-wise not bad), the bland packaging induces the product to languish unnecessarily and even become a liability if it doesn't move(limited space for goods).
politics and the english language is my favorite essay, thanks for reminding me of it.
The problem with defending the purity of the English language is that English is about as pure as a cribhouse whore. We don't just borrow words; on occasion, English has pursued other languages down alleyways to beat them unconscious and rifle their pockets for new vocabulary. -- James Nicoll (originally posted to Usenet!)
I'm going to push back a little further on this. Closures are fundamental to JS and widely known about and used. Crockford, too, is famous in JS circles, as is the talk you mention.
This article only talks about one aspect of the larger problem in UI Development - the webification of everything.

It's good that we've finally been able to agree on a common set of tools to make UIs, it's just too bad it had to be this one.

The HTML/JS/CSS/DOM mess is a pretty terrible solution that we seem to be stuck with.

History is peppered with UI authoring tools that were better but stewarded by companies that held to tight licensing that stunted their growth. Hypercard, delphi, adobe flash (and FLEX - which looks a lot like react), even unity has more intuitive wysiwyg UI tools that could have proved versatile with the right stewardship.

The difference is vertical integration. These companies made their tools complete solutions and often went so far as to put virtual machines on everything to interpret them correctly every time.

The article's author touches on the license problem with python's own pretty damn good QT lib.

If only someone could find a way to make a good tool without fucking up licensing.
> IMHO all this could be done automatically by language.

Not backwards-compatibly. You'd need to make every function async and every value a future/promise (semantically at least, then optimise most cases back to sync somehow, which incidentally means possible behavioural changes based on what the optimiser manages or doesn't manage to syncify).
True that :) Yes, dialects change even from my hometown to the next, which is at about 30 km. They have a similar but different word for "Thursday", for instance. Not to mention the change in accents within the same province.

This kind of richness is going to get lost as fewer and fewer people are taught the dialect of their own region (I reckon many parents think it is "uncool" or something), but I'm getting off topic :)
Cycles (the blender raytracer) is actually licensed under the Apache License v2.0 -- https://code.blender.org/2013/08/cycles-render-engine-releas...

It is being implemented into Rhino at the moment and already has had a release into Poser
Closures aside, a somewhat significant difference between the two is that the generator would yield each value in the sequence, whereas yours would just return a single value from the sequence. Which might be perfect, depending on the use case, but they're not quite the same.
Because apps are not really good for you. They were exciting and new for a while, and those days are gone. You've either found your set of apps and settled with them, because they are finally working, or you just simply got tired of trying out stuff for the sake of trying out stuff.

Also: http://www.theverge.com/2015/3/17/8103593/golden-krishna-bes...
There's an interesting point here right at the end. The solution to most problems that are most often tackled with jail time isn't jail.

The war on drugs is the classic example. If a government doesn't want people abusing substances, that's fine, but the solution isn't jail sentences. It's addressing why people abuse them in the first place.

Jail is too often used as a rug to sweep those we disapprove of under. It's easier and quicker than trying to actually solve the problem, but it's also far less effective and more expensive in the long run.

It's high time society made a concerted effort to try and help people from these sorts of backgrounds, rather than demonising them in the media, and castigating them in the political arena. Rehabilitation, education and support are far more effective tools than jail for many crimes.
Rails 5 allows to inherit queue adapter for each job
Haven't even thought about what Qualys does or why they are doing this for free, just went to the site anytime I needed to verify SSL configuration status.

Such a fabulous service without asking for anything in return. Such a tremendous contribution in raising the awareness and enabling people to make their configurations more sure.
The memoized version does not even remotely work.

a = fib(5);
for (i = 0; i < 7; ++i) console.log(a.next());

gives the expected

Object {value: 0, done: false}
Object {value: 1, done: false}
Object {value: 1, done: false}
Object {value: 2, done: false}
Object {value: 3, done: false}
Object {value: undefined, done: true}
Object {value: undefined, done: true}

But then

b = fib(3)
for (i = 0; i < 5; ++i) console.log(b.next());

gives the completely wrong:

Object {value: 1, done: false}
Object {value: 0, done: false}
Object {value: 1, done: false}
Object {value: 1, done: false}
Object {value: undefined, done: true}
I would like to see more discussion about the speed of Python for user facing applications. Users can perceive delays of upto 100ms ( http://stackoverflow.com/questions/536300/what-is-the-shorte... ).

# time yum

real 0m2.147s

user 0m1.276s

sys 0m0.772s

# time apt-get

0.00s user

0.00s system 91% cpu

0.004 total
I think it is very smart to go after Facebook Groups. To me that looks like the sticky feature of Facebook that makes people keep using it and it brings in people not really using the service. If you want to keep up on the activities in your own or your kids soccer teams, you have to be on Facebook. Groups is the feature that will keep us on Facebook for the next 10 years.

But to me Spaces seem to take the usual too complicated approach from google. Making a new text post is two clicks away before you can start typing? Both Google search and youtube get more prominent positions then text when creating posts. They call it a group sharing service, so maybe they did the right thing and maybe this is what their mvp should be.

Feature requests:

- Events, and add to users calendar if they rsvp.

- Integration with google docs. And let it sync/control the permissions from within the spaces app.
Deconstructing 30 Year Stock Market Returns
Interesting. Looks normal for me on Chrome 50.0.2661.102m, Win10.
Absolute vandalism. A public good has been built through a long term investment, but because it cuts against the interest of the commercial backers of a political party (commercial backers who have had every opportunity to grow a similar, competing, asset), the asset is wilfully destroyed. The politics of vandalism.
The R2D2 reference is funny. The original Star Wars movie really is that old.
Gboard: Search from your iPhone keyboard
This is how you break backwards compatibility.
"Having animals and colorful bricks is okay, so long as we're not in conflict with what is actually fun about w
that is being taught here..."

The concept of 'fun' is highly personal. Surely you are not suggesting there is only one way to enjoy using a computer :)

"Programming is fun because we can control the machine, and make it do things... magically, at our whim, with the right combination of instructions."

I think you are creating a value statement that is not universally true. My son enjoys programming because he can draw himself a character and the program the character to respond to key presses. The machine between him and the program is irrelevant to him.
I am not sure how I would even write this bug.