skysight-inc/HackerNews huggingface dataset:
I certainly think that language definitions should include a standard parsed format in addition to their human-friendly syntax. This can just be an s-expression representation of the normal, concrete syntax, without any transformations applied. This way, we don't have to build language-specific rules for precedence, offside/significant-whitespace, fixity, etc. into every tool for that language.

Implementations (compilers and interpreters) should include tools/modes for converting between these two representations, and should support running programs written in the parsed format in addition to those written in the human-friendly syntax. This isn't asking much: the difficult part is parsing the human-friendly syntax, which implementations must already do.

The benefit is that we don't end up with a mismatch between what the compilers/interpreters accept, and what the other tooling accepts (linters, formatters, doc generators, static analysers, search engines, syntax highlighters, use-finders, go-to-definition, refactoring tools, etc.). This would, incidentally, allow people to read and write code as s-expressions, but that's not the point; it's just about representing concrete syntax as closely as possible (plus arbitrary annotations, e.g. for line numbers, etc.), whilst exposing the structure in a machine-friendly way.

This would also make it much easier to make new tools, extend existing ones, and improve practices, e.g. like syntax-aware diffing, standard code formatting (i.e. tools like this one), version-control-friendly representations, tree-based editors, more powerful navigation in editors and IDEs, etc.
Can we just not? I'd prefer to avoid all that mess again ... hopefully, like the ever-impending tech bubble (ie. .com 2.0), the threat of a bubble will temper investors enough to slow growth to healthy-ish levels
You pass the event handler from the parent component to the child component as a prop.
I'm not blaming the victim, I'm appealing for a more nuanced viewpoint than "fuck Wall St." There are at least 2 sides to every loan - the originator and the borrower - and it helps to examine dynamics on both sides of the table.

Is the book in the US generally stacked towards originators? Certainly, as I argue, with financial literacy being so low, most home-owners wanting to do anything to avoid moving, and family/community ties dissolving. Hell, I went to business school and read 10Ks for a living, and can still barely manage to figure out all the terms and conditions on my credit cards.

I just want to point out that alternatives (usually uncomfortable, but often necessary) do exist to taking on opaque loans.

How does someone get into a situation where they are "leveraged to their eyeballs with rents"? Sometimes it's purely out of necessity (need to be close to sick family, within commuting distance of work, keeping a rent controlled unit) but otherwise most people in the US generally have a choice of where to live and how much to pay in rent. I could live in the city and pay 1.5x what I'm paying now to live in the suburbs in an unorthodox situation, but I don't because then my rent would be >30% of my annual income.

Maybe I'm wrong and I'm one of the lucky, shrinking few who still has this option, the option of mobility than once made the US great? Because I'm young and employable?

Also, if a homeowner considers their home an "investment" that means they should be willing to liquidate that investment at some point when it makes financial sense to do so. People get sentimentally attached to their homes, which is not true of most "good" (read: fungible/liquid) investments.

We're definitely both against fraud, but unfortunately these government programs that make life better for some by subsidizing mortgages, home renovations, tuitions, etc. can and will always be gamed by unscrupulous individuals. Question is - is the payoff to society (higher homeownership, literacy, energy efficiency) worth it?
I've found that http://musicforprogramming.net/ is also good working music, which I found from that same thread you mentioned.
Datanyze (https://www.datanyze.com/) has built a nice business doing this. You can learn a lot from understanding what software a company is using on their website. It's especially useful for generating sales leads.
You could have paid it but still filed a complaint against the officer. Doubt anything would come of it but maybe still worth it?
I came to this thread to find exactly this information. Thank you for your post. HN never fails me
Hi, I'm on the Dart team.

The people who work on dartlang.org do try to make it search friendly, of course, but I don't think anyone on the team takes TIOBE very seriously.

According to their chart, C lost half of its popularity in 2016, and Delphi is more popular than Go and Objective-C.

I could be wrong, but I think the spike in Dart's popularity recently is mostly because there was a world championship in "dart" (the pub game) recently.

The primary goal of the TIOBE index is not to accurately measure language popularity, it's to increase the popularity of tiobe.com. And, at that, they're doing a great job.
Correct. The ECHR is overseen by the Council of Europe and the final court of appeals is the European Court of Human Rights in Strasbourg. However under the Treaty of Nice all EU members are bound to ratify and abide by the ECHR, and under the Treaty of Lisbon the EU itself is expected to ratify it (though that's on hold after concerns raised by the ECJ).

The EU also has the Charter of Fundamental Rights of the European Union. The final court for that is the European Court of Justice (or Court of Justice of the European Union) in Luxembourg. The ECJ is a EU organ, and appeals instance for violations of EU law in general. As such, since the ECHR is party of EU law by treaty, the ECJ also handles cases that involves the ECHR.

Once the UK leaves the EU, it will no longer be bound by judgements of the ECJ, but it will be bound by judgements of the ECHR.

The UK Human Rights Act sets out the obligations for the government with respect to the ECHR. The ECJ obligations I believe are indirect via the European Communities Act 1972, which gives EU law and treaties primacy over UK law.

Indirectly, leaving the EU does make it legally possible for the UK to withdraw from the ECHR, but that would still mean leaving the Council of Europe as well, but that's unlikely - it would put it in company with Kazakhstan, Belarus and the Vatican City as the only European states which are not CoE members (the Vatican is an observer).
> what does it matter whether it's because they were on Drug A or Drug B or talking on their phone?

It matters if he is charged with an applicable law, and if that applicable law makes any sense

I think we are arguing that he wasn't charged with an applicable law, no matter if 20 other crimes were committed, the state messed up its case.
This particular build cost, hmm, $6, plus $3 for the bus (I'm assuming you have the three wires already).
It's preferred, though there are exceptions.

Otherwise please use the original title, unless it is misleading or link bait.

https://news.ycombinator.com/newsguidelines.html
Do not confuse corruption with overpaying yourself or ganging up to extort money. Those are legitimate political/gang activities
Location: La Paz, Bolivia

Remote: No

Willing to relocate: Yes (USA, Germany) need visa sponsorship

Technologies: C#, Go, Python, Linux, shell/bash, Oracle SQL, PL/SQL, Data Modeling, Data Warehousing, Data Analysis

Résumé/CV: on request

Email: ZGFuaWVscmJAbGl2ZS5jb20=

9+ years experience in development.
Managing Systems
The "container/presentational" component pattern is completely optional. If you want to write components that both fetch and display data, that's entirely up to you. Dan Abramov, who wrote the most widely referenced post discussing the topic ([0]), recently said that he somewhat regrets writing it because many people have assumed it's a strict rule that must be followed ([1]).

That said, it _is_ a very useful pattern, and can help with conceptual management of components. I have links to a number of additional articles discussing this pattern as part of my React/Redux links list ([2]).

[0] https://medium.com/@dan_abramov/smart-and-dumb-components-7c...

[1] https://twitter.com/dan_abramov/status/802569801906475008

[2] https://github.com/markerikson/react-redux-links/blob/master...
I think the problem is developers running apt-get install mongodb and assuming all other considerations, like a firewall, are somehow magically taken care of, then patting themselves on the back for not needing a sysadmin.
Someone could just as easily say you are presenting a negative spin on a tech company you dislike. It doesn't make for very interesting or productive discussion.
I can't tell you why, but I suspect a reluctance to do anything new.
NASA has a culture of safety and redundancy ad nauseam because people are indoctrinated into it, not because their hires have an innate proclivity for it.

It is not fair to judge Lattner's ability or commitment to safety based upon Xcode and Swift. One of these predates him, the other is the result of his decisions (no doubt) but also countless decisions of others, including those above his pay grade at Apple.

Xcode is basically the evolution of something designed for NEXT. Swift is a solution to various problems in application development. I'm not aware if he (et.al.) had real time processing or safety critical devices in mind with 3.0.2.
There are no serious chronic medical conditions in my family and the ACA has been a lifesaver for us, the only reason we were able to start our last company. That's because before the ACA, no individual health insurance plans were available to our family at any cost, due to "do-not-cover" lists (for instance: our daughter, now a teenager, had an unexplained seizure when she was 4 years old). There were millions of families in the same situation.

Further: as an employer, I'm aware that what I pay for an ACA silver plan is ballpark comparable to what we paid as employers for family coverage in our small group plan. The ACA plan is more expensive, but nothing resembling twice as expensive.

The ACA has not been a disaster for individual entrepreneurs. It has been anything but.
You could just wear ear muffs and mostly solve the noisy office problem. I wear them when I'm not listening to music and have improved my productivity and happiness at work. (And this is at a cubicle office which is still quite noisy.)

http://www.3m.com/3M/en_US/company-us/all-3m-products/~/3M-P...
Hex values and color picker now in Google Search
I don't think it is a good idea to drag Redux and Flux into the discussion when someone asks a basic question about React.
By passing down callback functions as props. One of the basic patterns of React is that parents communicate to their children by passing down data as props, and they also pass down callback functions that a child can execute to communicate upwards.

There's a great article that describes various component communication patterns at http://andrewhfarmer.com/component-communication/ .
Could just leverage up on some 30 year treasury bills for at least 9% annually.

3-4x leverage will get you that.
Also rats don't like to be in boxes. You meant cats.
While I'm not taking a side, what I believe OP was referring to were 'Prevailing Wage Laws' that prevent the city from using contractors that are paid below the set union wage. If the cites are unable to reduce one of the two main drivers (labor costs) then it makes infrastructure projects more expensive for repair and maintenance.
That's good to read but sadly that's a different point to the one I was making. Google would break a lot of legitimate emails if they make the changes to GMail that the GP was proposing. This would be an unattractive solution to Google as they are effectively breaking their "mail client" (in the broader sense of the term) in relation to their competitors and the benefits are limited to a specific type of phishing attack. So when Google way up the risk of annoying their customer base vs the securing them: this particular fix is unlikely to score high enough in the latter category to be worth the risk to the former.
You know what always left me the most pissed about the whole thing. My truck being left a complete trashed mess. It took me 15-20 minutes to get it back to 90% organized.

I had tapes and CDs (remember those) thrown out of their cases, my clipboard for work was broken, my flashlight was opened and the batteries thrown about.

Had he been respectful of my things, it would have just been a laughing matter about how I used a "drug dealer's" driveway to turn around, but instead he ripped apart my truck looking for god only knows what, just to drive off without helping put anything back in its place.
Few simple rules for good coding(my 15 years experience)
One former employer doubled up but only if the parties were opposite "early bird" vs "night owl". My officemate left work at 2 every afternoon to pick up the kids (even in the summer, whatever), then VPNed in from home, and I abused flex time to a level of almost working 2nd shift, so we each had nearly private offices for at least half the work day. It was a small office, couldn't have been more than 10 ft on a side, but remember we didn't need endless collaboration and meeting spaces because we had offices, so the net real estate used was less than cubes or open offices. Also it was cheaper because cubes or open offices falling apart is just being cheap, but a 150 year old building falling apart is financially valuable "character"

Flex time with small group office is nearly ideal. I can spend hours a day with the door closed concentrating or meeting, or hours a day working as a team, it just seems ideal.

Its like the difference between college dorm life with a roommate or two, vs military barracks grid array of 50 beds packed together.
That's great news !

I'm quite disapointed by the decision regarding GHC8, though. Overloaded record labels adresses a problem which the community was quite annoyed with, for instance.
> the component approach means that both HTML and JavaScript code live in the same file.

Something about this makes me want to facepalm and wonder why we bothered with separation of concerns, when React just undoes all of that.
It's dependent on the officer. In Ohio, you can be charged with a DUI automatically if you refuse the breathalyzer. I'm not certain if this extends to the roadside test. My original comment was more that you might be able to refuse the roadside test, get arrested, and then agree to take the breathalyzer at the police station so you'd have stronger evidence.

The roadside tests are only accurate to a certain degree, whereas a properly calibrated breathalyzer provides much stronger evidence.
I was taught in high school, that its basically the same here. Though with every election, the incoming politicians make a big deal of replacing various department heads. Its the main reason that government jobs are intended to be unioned and tenured, ie, to protect them from political whimsy. But expect that to come under fire in the next 6 months, unfortunately.
Active Memory Defragmentation Added to Redis
The news here isn't that the justice system in California has corruption problems and an "us against them" mentality. It's that they're not even ashamed to let the world see that.
Yes, it does. In the Grunt config file they use to build the package, they specify jQuery version >= 1.9.1 and less than 4.0.0.

Source: https://github.com/twbs/bootstrap/blob/v4-dev/Gruntfile.js#L...
yeah but we all do this everyday to the designers
My first app after bootcamp
My co-founder Joey and I started Baron Fig 3 years back on Kickstarter making analog products. At the same time, we always wanted to make an app to capture and organize your notebooks.

We tried every way possible to not program it ourselves. Made a few versions using contractors. Problem for us it was slow, expensive, and couldn't make changes fast.

I tried learning myself watching videos online, but didn't feel I was learning fast enough. Ended up finding an iOS bootcamp in NYC (TurnToTech). Spent 4.5 months splitting my time between a full time bootcamp and helping to run our full line of physical products! (paper notebooks, pens, leather cases)

After 6 months of working on the app, we finally released it today. Its been quite a journey and learned a ton. If anyone wants to check it out, can take a look at our site.

https://www.baronfig.com/pages/codex
> Working remotely is one solution, but many companies don't think it would work for them.

The problem for me is, I need to be generally around people during the day. I want to be able to work productively but have people to talk to face to face when I leave my office, go to meetings, lunch, etc. I don't dislike people and couldn't tolerate being too isolated. I just want a few walls around me.
Why do you have an `extern crate foo` line inside a module that I'm assuming (because of the `self`) is part of crate foo? You shouldn't need to `extern crate` inside that crate itself.

One thing that might be confusing is that `main.rs` is the entry file of binary crates, while `lib.rs` is the entry file of library crates, and a project can contain both a binary and a library crate. The binary crate then does need to `extern crate` the library crate.

We've been working on a new version of the book, if you have time, I'd love if you would take a look at the new chapter on modules [1] and file PRs or issues on the repo [2] if it's still confusing or leaving you with unresolved questions!

[1] - http://rust-lang.github.io/book/ch07-00-modules.html
[2] - https://github.com/rust-lang/book
> Does it have good editor integration for autocompletion and linting?

Yes, we have full IDE support in IntelliJ with auto-complete, go to definition, find references, and all the other navigation stuff you expect from a modern typed language.

Similar features are integrated into most other editors too, though I'm not as personally familiar with them. I know we have a lot of people using Dart with Sublime, Atom, Emacs, and Vim.

> Is debugging painful? One of my favorite things about JS is Chrome Dev Tools.

There's debugger integration into IntelliJ and Atom. If you're using the dev_compiler[1], it generates human-friendly JS that you can step through, and also generates full source maps[2]. That all works really nicely with Chrome Dev Tools.

The VM also includes a really powerful profiler/debugger[3] that you can connect to with a browser to poke around and see what's going on in your running program.

[1]: https://github.com/dart-lang/sdk/tree/master/pkg/dev_compile...

[2]: https://www.html5rocks.com/en/tutorials/developertools/sourc...

[3]: https://dart-lang.github.io/observatory/
To be clear, `extern crate foo` refers to the compilation artifact, not the source of foo.
> Any city planned and developed before cars...

Before cars and before skyscrapers! The model of town you're talking about doesn't scale well.
It's not Javascript, it's a data URI that renders an HTML page.
The app economy was the revolution.
I'm sure they'd like to, but you can't do that over HTTPS without installing a certificate on the system. Many companies do that for HTTPS interception.
15 mins of human labor per test doesn't sound cheap but I guess you can get the patient to do it themselves.

A bit curious, why is a cheap centrifuge hard to build? It seems like a pretty simple device and motors are pretty cheap.
So glad I cashed out the little BTC I had at $1,060/BTC a few days ago.
That's true today, but we're integrating strong mode into the VM and dart2js right now. Soon, the whole platform will have full support for it and all of the benefits you get from a sound type system.
I think it's more of a case of assuming that the database wouldn't expose itself to the internet at large, because why would it? It's like buying a new car, and checking for holes in the gas tank before rolling off the lot.
Joey here. Major props to Adam from learning iOS/Swift and publishing Codex in less than a year. Let us know what you think, always looking to improve.
It looks like Builtwith only has a few predefined technologies. NerdyData can search for any string in HTML or JS files on millions of websites and do regular expression searches as well.

Here is an example search that can extract the IDs from Google Analytics code on websites into a downloadable list https://nerdydata.com/search?query=UA-%5Cd%2B-%5Cd%2B&regex=...
I feel like that http://s9.postimg.org/8991d98un/95_defrag.jpg
After hearing about many people wrongfully convicted of crimes, I think some DAs are inclined to prosecute if they believe they can win the trial (rather than if they absolutely believe the person is guilty). It doesn't necessarily matter if the case is strong or weak or if there are other plausible alternative explanations for the circumstances. DAs advance their careers by winning cases and locking people up, not by arresting people and then dropping charges. The incentives can encourage DAs to prosecute an iffy case they think they can win even if they are not totally convinced that the person is guilty.
What about the HTML emails you receive in your inbox everyday ? I don't see much difference between Bootstrap div hell and tables in terms of semantics.
> StrongTowns is claiming that infrastructure maintenance alone costs the same as leveling the entire neighborhood and rebuilding it all from scratch at retail pricing every 30 years.

This doesn't seem that surprising to me. Replacing existing utilities in place is far more expensive than laying them in the first place because you have to do it without cutting off everyone's access to water/electricity/whatever while you do it. Plus you have to work around other infrastructure and houses and dig up roads etc. And it's difficult to coordinate utility replacements so you do this stuff once for gas and later for water and again for the sewer.

On top of all that, infrastructure is just terribly expensive. Price out laying a driveway. Now imagine scaling it up by maybe 10x just for the section of road in front of your house.
> most European countries have been working hard to destroy this model

No. Most European countries have been working hard to improve their economy.
The website is exactly what a programming language website should be. Syntax and features front and center.
There's a bug in the quicksort implementation example (it assumes all values in the list are unique).
Sushma Swaraj warns Amazon after e-commerce firm sells doormats with Indian flag
> This doesn't make sense, a function is accessing a local variable of another function that has since been popped off the stack!

That's only weird to you because C doesn't do it.

For someone starting in one of those languages, it simply makes sense that I can use any variable in scope. (Stack allocation? What is this sorcery you speak of?)
that's pretty much what everyone wants. the problem is it's expensive.
8 tools every UX designer needs in 2017
Apple resolves MacBook Pro battery life issues found by Consumer Reports
Motors need power, not having (much) power at hand is often one of the first problems helpers in such situation have, so something which doesn't need power is a huge boon.
Hm, I'm still confused about what you're trying to do :-/ If you're trying to use something from tokio_core in your own crate, in neither place will `use self` do that, like you had in your first example... it would be `use tokio_core::foo::Bar`... and the `self` was the only difference between the binary and library, so I'm not sure what the paper cut is exactly.
In the environments this would be used Labor is cheaper than and probably more available than electric power. This could also be built on site rather than trucked in, all you need is the knowledge of how to build it. In some instances, this kind of tool may be the only way to meaningfully accomplish testing.
It's not: https://diybio.org/2012/06/11/dremelfuge-classic/

But presumably this could be for regions in which even those materials are difficult to obtain.