skysight-inc/HackerNews huggingface dataset:
> construction of a suburb 50 miles away may make an existing neighborhood worthless

That would only happen if that suburb were being built in an existing flood plain. Ontario's policies aren't just about being near cities, it's the whole province.

The little I know on the topic is because I married a water resources engineer. Her previous job was up north of Toronto, working at a conservation authority, telling developers that no, they can't build at all on that part of the land and also the part they can build on, they must add additional stormwater management ponds.

The entire province is working to protect everyone.
Diwali Stock Picks for Muhurat Trading
Oh, I agree, they'll never do it. It's sort of like gun control in America- it's too late to actually do things right, but at least the rest of the world can show Texas how it is done right.
This is par for the course with Chris. Super strong opinions about things with little room for those of anyone else.

I've been to a few meetups that Chris was present at and I have to say I was always somewhat surprised that he fancied himself a great teacher because I've found him to be impatient, condescending, and completely lacking empathy. I don't mean to say he's impossible to learn from (I am aware of people who site him as a reason they know some topic very well), just that in my experience teaching hundreds of people of varying skill levels he is not someone I would put in front of students.
Makes me think the best way to do it is to have an associated non profit. Very few projects would have the draw for that though.
If they are regularly burning out key executives, then I'd say we should definitely be reading into that. That's a sign that the operation isn't sustainable in the long term, or at least will plateau at lower levels of performance than it otherwise could hit.
I wonder how many are other bots? Also, Klout still exists?
I also grew up in and still live near this area. I’ve seen the Barker Reservoir flood at least half a dozen times. When I first moved to Katy it didn’t cause much of a problem. It didn’t have a through road and only had a gun range in it. It is definitely insane to me that more study isn’t done as Houston and it’s suburban areas grow. Katy now effectively bleeds from west Houston to the next small town west(Fulshear) with all of that prairie and old rice land now covered by homes and businesses. My parents live on the far west side of Katy and their street didn’t even flood. My fathers rain gauge measured 38” of rain fall the weekend of Harvey. Something needs to be done to rectify the flooding in Houston.

That said I’ve a friend who now has been flooded 3 times in three years. He lives near Addicks Reservoir in bear creek. You have to stop rebuilding at some point.
Substituting JavaScript with HTML
I identify with this story massively.

Particularly the attitude towards dogs. Dog is dog human is human and everyone is happier for knowing their place.

Dogs get babied a lot in the US and get very confused as to their role.

We get gushing admiration of how well 'trained' our dogs are. The dirty secret is they've had barely any conscious training from us, it is an attitude, energy, "I'm the leader here" approach that they respect and understand.

Dogs will train dogs too, if you have one older, well behaved dog the others will copy.

This goes very far, the copying, we had a new puppy who's only other dog to copy in the house was old and had gone deaf thus he didn't bark at random noises, even thunder and lightning he barely reacted to, walking past other barking dogs etc., no probs - he couldn't hear them!

The puppy copied this - she could hear of course but she saw the I didn't react, the older dog didn't react and we calmly continued thus that was what she did.

The older dog has now passed away (aged 16!) and she is the oldest dog aged 2 now, we have a 1 year old rescue we just got from the hurricanes here in Houston and he whilst skittish at first from mistreatment by humans (had to dock his tail someone had put a rubber band round it and cut the blood flow off, regrow all fur from mange) he picked up the way to act from the older dog and from us.

A third 'generation' displaying the behaviour started by a dog dead a year.
> 0 based is due to programming iteration.

I think it makes sense for enumeration in general to begin at 0. It's a mapping from the natural numbers after all, and zero is the most natural number!

What makes you think of programming iteration as a motivation for zero-based indexing?
One of the most mindboggling thing about the recurrent 0- vs 1-based indexing discussion is how incredibly rarely that difference is ever used programmatically in Julia. Most of the large julia packages are programmed in a way that doesn't care whether the array is 0 or 1 based. It is important in some other languages, and then I just think people are happy that this is something that everybody can agree to disagree on. I don't think the discussion is very productive though.
So people should be given a choice - either accept a government set amount to buy up your property and to help you relocate or pay for your own repairs. Why should other people keep paying to rebuild homes in flood plains?
Apple co-founder is ready to revolutionized tech world again with Woz U
Not at all. First, electricity is much more expensive than the price they put in their estimate. Second, a computer running at 100% CPU uses much more electricity than what they accounted for.
That is an interesting reversal of the causality, though if selection is involved, there would be a genetic change in either case, so sorting out the cause could be difficult.

Do people see droopy ears as more friendly? I guess it indicates that the animal is not particularly alert, and so unlikely to be on the verge of aggression.
People don’t vote based on facts. They vote based on identity and feelings. Democracy for Realists has an explanation at length.
Answer: "Dependent on circumstances and cost"
"Frankly, the mafia exists because some people don't trust the government or outside/remote political power to gain influence on them. So this way corruption allows people to take back things they think are owed to them."

No. Mafia exists because the state is too weak to enforce property rights and personal safety of the citizens, so a local thug (or a band of thugs) take advantage of it. Most people would prefer not to pay the Mafia but they don't want to be shot by mafia thugs.

"As long as people are happy enough, everything is good."

This could be said to justify literally any horrible act.
Has this feedback reached Chris? How did he react?
USDCHF: Risk Builds Up on the Upside
The `length(linearindices)` and no `size` etc are for a short transitory period while packages are ported to the indexing-based-non-reliant framework.
I'd agree... there is a lot of toxic gray-beardery here.

His argument for why he dislikes Go and Javascript is ostensibly "they are easy to grok"...

I don't think this presentation was made out of ill-will or spite, but I think this presentation leaves little room for the mediocre; and frankly if a field is devoid of mediocre performers, you end up with a handful of gray-beards in a code cloister.

This is where, I think, the programmer mentality and the human empathy understanding are out of balance, and lead to false truths about how humans ought to behave.

I sorta like his point about contributing upstream, but again, I think that he neglects the fact that that isn't a straight-forward process to someone new to a language. He brings up that "the Rust community is welcoming", but (a) that doesn't really apply to most communities and (b) especially when you're just starting and haven't had too much exposure, you probably haven't witnessed (or realise you have witnessed) a bug in the 4 (often mature) standard libraries you regularly use.
Those costs don't go to zero without compliance - there would either be costs to manufacture with sufficient medical quality or people would be getting shoddy drugs (which is a human cost). Blackmarket drugs get cut or replaced or just have random terrible things mixed into it all the time so I am skeptical of zero-compliance cost drugs.
What an incredible milestone. Really glad to see the team still updating this after so many years.
s/text/tax/
We need UL listing for security on IoT devices.
> This post was all about how I make it work without a full-blown IDE [...]

And if you left it hanging on your blog, I wouldn't bat an eye. I've written
such posts myself. But yet you bragged about this trivial, uninsightful matter
by submitting the post.

> [...] not separating views from logic and basically just spaghetti sauce-ing it all the way is what I was referring to when I meant 2009.

Dude, you have just a couple of months of experience, there's high chance that
you have never seen typical code from 2009. Plus, your own code is probably
as much crap as what you've quoted. You haven't seen enough long term
development to bash anybody's code yet.
People not viewing the information we want them to view? Why not make your good information mandatory, and prohibit the bad information!

Facebook didn't do anything to democracy; the electorate has always been mostly simple salt-of-the-earth, common-clay people [1]. The kind of people who've been swayed by yellow journalism before, and would eagerly spread completely fabricated rumors about candidates amongst themselves.

The article also rings hollow when talking about how "no one could have seen this coming" since evidently Russia, the Trump campaign, and Beitbart (and, honorable mention, Scott Adams? [2]) had all managed to see it coming. Instead, I suspect the author is simply bitter about the fact that Clinton was unable to buy as the same kind of impressions as Trump, despite spending twice as much.

[1] https://www.youtube.com/watch?v=KHJbSvidohg
[2] http://blog.dilbert.com/post/161777338226/russia-hacked-our-...
I... why? There was no need to compare this talented guy with an over-the-top, megalomaniacal and egocentric scientist from a sci-fi cartoon.
iPhone 8 Specifications and Pricing
It seems to me, that, even accepting Russian interference, to say that the interference was strong enough for explaining the results, instead of other factors, is just ridiculous, and the burden of proof should be in the proponents of that theory.

It seems to me, that people all around 'the West' is angry because 'the establishment' have failed then. Instead of changing their ways 'the establishment' have decided to find a scapegoat and, in fact, blame the system. When democracy don't give the results we want, we are not so democrat anymore.

The result of this discourse, the subtext, is: "see what they voted? how they dared to vote outside the program? you can't trust voters anymore". That sounds like a very dangerous message to me.

By the way, as a non American, I think that the irony of USA complaining about interference on internal electoral processes is really high.
Anti-trust is a kludge that proves something went awry. We shouldn't have to go through a manual process of breaking up the power brokers, especially since government and big corporations frequently get into bed together. We should design systems and processes that are self-healing -- systems that allow sufficient natural competition that the eventuality of a monopoly virtually never occurs.

It's like a computer system. Yes, if you write corrupted data back to the database, you can manually go in there and do your best to rectify it, restoring pieces from backups, etc. But the strong emphasis should be on designing the system such that corruption is a near-impossibility.

Copyright and network protections are so excessive and far-reaching, it's no wonder we're seeing this re-centralization.
Oh, it does? I've taken to saying that "zero-based indexing – that's how Julia broke my heart", because at the time, I didn't get the impression that there was anything else in sight. How do I index based on zero?
That's cool. I managed to whistle:  00 @@`@@@@@@```@@@ @@`@` ` `
I was consulting once for a large company when one of those came down. A manager I was working with really cared about his team, and it bothered him that he had to lay off one person for basically no good reason besides corporate politicking. He pushed against it for a while, but when they wouldn't relent, he laid himself off.

That didn't totally make sense, as they still had to find a manager for his team. But since the whole layoff was arbitrary, it didn't have to make sense. His whole team stayed.

I always thought it was a baller move. And looking at LinkedIn, he's had a solid career since, so it clearly didn't hurt him any.
Flood insurance can be revoked in the way you describe but it is a federal matter not a Texas one.
Maybe he's working onboard a navy ship?
8 Ball Pool
Speaking as a person who could have gone down the path of becoming an accredited engineer but chose physics, and who has a number of friends who chose the accreditation path, I disagree.
> I don't think 30 years will see a machine that can make dinner by gathering ingredients from a supermarket, driving home, and preparing the meal.

Really? Why not? Once or twice, if we cherry-pick its performance, or reliably?

This is really surprising to me.
> But - one could look at the totality of those who are fired - and find that 'most of the vocal union bakers' were let go.

I don't object to statements like that. Your proposal actually make some attempt to quantify proportionality. The article did no such thing: "pro-union workers were among those fired this week." It doesn't say "mostly pro-union workers were fired" or "most vocal pro-union workers were fired." It isn't reflecting someone else's opinion. It's just an attempt to fit a narrative around zero evidence. If they had interesting evidence, they would report that instead!

> It doesn't prove anything - but it looks pretty bad, doesn't it?

No! Because they didn't actually make any interesting statements of fact. Just that some pro-union employees happen to be among the 1% of fired employees, like you would expect in a population of hundreds.

> And it would be irresponsible for the journalist to say 'Musk specifically targeted Union advocates' unless they had some pretty good evidence that this were true. Which would be very hard.

But they are suggesting it anyways. I think that is similarly irresponsible.

Probably they don't want to spend the time gathering statistics before they rush to be the first to publish on this story, but in preliminary reporting like this, I think they should be hesitant to suggest a narrative they haven't made any attempt to confirm.
Worth noting that it is possible to have threads without the complications of concurrent modification. You just need to pass things between threads as immutable values. Tcl does it this way (prior to having threads added, it used only an event loop, like JS).
No one has mentioned it thus far, but this could be huge for the Essential Phone, they are now on a real network.
Texas is a non-recourse state [1].

In a non-recourse state if you default on your mortgage the lender cannot come after you personally for the remaining balance. All they can do is foreclose and then sell the house. If what they get from the sale is less than what you owed, the lender eats the difference.

I would have expected the mortgage companies to have been on top of this, either not lending for homes in that area or requiring the borrowers to have flood insurance.

[1] along with Alaska, Arizona, California, Connecticut, Idaho, Minnesota, North Carolina, North Dakota, Oregon, Utah, and Washington.
Nice - I gave it a try, and found that I had forgotten how to do something that was once automatic.

I still recall when I realized, as a kid, that the middle six are in rainbow order.
I thought the presence of a ninth planet that wasn't Pluto was already more-or-less accepted.

Here's an article (citing Caltech): http://www.science20.com/news_articles/planet_nine_not_pluto...

> mass about 10 times that of Earth and orbits about 20 times farther from the sun on average than does Neptune (which orbits the sun at an average distance of 2.8 billion miles)

which is definitely "far beyond Neptune"
This is such a ridiculously inefficient means of raising money, for everyone involved. What would it take to just get people to pay for the services that they use, out of gratitude?
Leetcode has 695 public questions. If you can memorize so many questions and answers over a week, you deserve to be hired.

Most of their questions are trivial anyway.

https://leetcode.com/problemset/all/
Once a question is submitted, the AI engine automatically recommends a list of relevant experts/potential answerers to the questioner to choose from. As a user you can choose who you want answers from. In addition the system also pushes the question to relevant users based on their interest graph.
The system then also sorts the recommended answers based on its quality.
@attractivechaos I don't know how to reply to your last reply, so I'll do it here. 1:length(A) is bad because it's using a standard construction for intervals of numbers, but using it for indices. We don't want to get rid of it because 1:5 or 0:0.2:1 is something that is very common and necessary, but I don't see how to tell one that they should instead use eachindex(A) except through proper docs. 1:length(A) is so common in MATLAB though that I am sure people will carry it over, and I'll PR to their library to fix it. I'm not sure how to fix a knowledge issue like that.

You're not understanding generic types and its relation to (1). There's only one way to access an array: getindex. That's the function that's called with A[i]. However, you can use an immutable to put a thin (zero-cost) wrapper over an array, and define dispatches to getindex to do whatever you need it to do. So it's both implicit syntactically because the user just does A[i], but it's explicit because the user has to choose a different type. getindex is then usually inlined and then compiled according to the type, making it a thin abstraction over the implementation.

There are iterators which don't have a size or length. You can write generic algorithms which require an AbstractArray which HasLength and query at compile time for things like that and throw appropriate errors (those are called traits).

There is still a lot of development to do here, but the basics like this are pretty much solved except when new users treat Julia like MATLAB, but I'm not sure how anyone could control for that.
I think the idea would be accepted more if the websites using this were more transparent and would give some kind of warning before actually mining using your own resources.
I think you have a point. The idea that the programming language and its standard library are lego bricks, and you have to find ways to assemble them into something resembling your problem can be hard to communicate.

I've certainly seen people - smart people who'd previously written very complex things in Excel - just go completely blank at the stage when it comes to turn a task into a computer program. You really have to drill the breaking the problem down into smaller and smaller parts stage.

But I'm only partly convinced.

People really do struggle with syntax early on. Not remembering it, but spotting mistakes. Seeing some opaque error message and not having any idea that is
connects to a missing ;})] really frustrates people. Especially since your brain is automatically editing away the syntax for you as you read.

Also sometimes it's really hard to convince people that formatting their code sensibly will help them with syntax.
Yep, exact same experience here when I purchased my home in the Dallas area.
Time to stop being a California employer. Signed, A California Employer.

Explanation:

I know this is an immensely defensible “right thing to do” law in the eyes of its supporters. But the incremental impact is far greater than our friends in Sacramento might suspect.

Not because of this law alone, but because of the constant barrage of nit-picky (or worse) directives from State, County, and local government — and the Courts.

Everything has a second and third order effect. Everything is wonderful until it isn’t.

And of of course when things aren’t wonderful anymore, “they” are to blame.
Corruption Allegations Shake German-Israeli Cooperation
Seems to me this conversation really leads to nowhere, but you just bashing me more. If you actually read the post, you could see I wrote that "I don't have anything against IDE's per se, but for my use case they always feel like an overkill." Did you notice the "for my use case" part? Probably not.

I don't know where you took the information that I have "just a couple of months of experience", which is a complete fabrication, but this is a free world and all, so while I do not agree with what you are saying, I support the ability to say it 100%.
Most of the stack (when I closed) was a mortgage contract which was marked up as a uniform contract, plus what must have been one page per year of the finances for each payment. I double checked some key terms, but mostly relied on it being a uniform contract.

Everything else was short and readable, but there were a lot of them.
Could you clarify what's insane about the variable scoping in R? I'm a bit too close to R so I'm afraid I'm oblivious.
> Teaching is not the problem. Anyone can pick up a free online book (I like to recommend SICP or HTDP) and learn everything they need to be a professional programmer.

That is true, and it is a very good thing indeed.

However IMHO there is an important thing missing: Feedback for your mistakes. This is something that every good education should have: an examination of your results, and feedback on what to do better. Especially in CS, it is very easy to produce something that technically works, but is error prone, fragile, inefficient, broken, hard to understand or maintain, etc... These are all things you do not learn without human feedback.

Technically you can give that human feedback to yourself, by reading the stuff you wrote 6 months earlier. That takes at least 6 months for every iteration though :-)
That's a pretty silly thing to say, and I really don't see the need to use such charged language.
As comments on the video are disabled, I'll state here that this guy's body motion was making my dizzy. I had to occlude him with another window to watch the video.
According to:

http://gcc.gnu.org/install/prerequisites.html

"versions of GCC prior to 4.8 also allow bootstrapping with a ISO C89 compiler and versions of GCC prior to 3.4 also allow bootstrapping with a traditional (K&R) C compiler."

So you might need to build tcc -> gcc 3.3 -> gcc 4.7 -> gcc 7.2
African oligarchs built the same wealth plundering structures as colonialists [pdf]
The Dodos should have feared us. We don't even hate Dodos, but we killed them all anyway.
In my experience, the fundamental reason why most programmers are bad is because they don't have experience running real companies. The ones who do can consistently make the correct technical decisions almost every time even they have zero knowledge or experience with whatever problem they are trying to solve beforehand.
I don't think I completely disagree with your overall point, but:

> Nobody fails CS101 because they can't remember the syntax of function definition

I knew a couple people who cited essentially this reason as why they dropped their CS major: they found it really difficult to write anything that even compiled and couldn't deal with syntax errors like missing semicolons and whatnot.