skysight-inc/HackerNews huggingface dataset:
"Lexical coloring" or "Lexical color-coding" would be even more appropriate.

However, you are slightly wrong, depending on the coloring engine and language.

The syntax coloring algorithm in Vim handles nested syntax. (To what extent is up to the developer of the syntax file.)

You can see some of that at work here: http://www.kylheku.com/cgit/txr/tree/tests/011/txr-case.txr

(This is being colorized by invoking Vim out of Apache on-the-fly.)

Here we can see that a Lisp dialect is embedded in a special-purpose language. The functions and operators of the Lisp dialect are colored green, but those in the special purpose language are purple. This is worked out even in situations when the are the same symbol. E.g. both languages have a "do" operator.

Vim doesn't handle nesting with a formal context-free grammar. Rather, it allows named regions to be defined, and highlighting matches can be declared as occurring only in specific regions. Regions can also be in regions. You can get very accurate coloring; but it can also be slow at times.
Because HN is focused on high signal to noise?
Are you suggesting the video is fake? I think your intuition is wrong.

To address your comment more directly, I don't see any information theory type limit immediately applicable here for finding xyz coordinates using echolocation. That's done in a variety of contexts.
Clinton's Private Server Undermined Open Records Act
I thought this was an interesting comment[1] in the context of AWS:

>If the .ru site sent 404s for nonexistent users and 451s for real ones, you'd be able to gather potentially useful information. It's like if I go to bad-porn.com and type your email into "forgot my password", it should neither confirm nor deny the existence of your account, simply tell me the request was received. In any event if delivery of the requested resource is legally prohibited, why would I go to the trouble to determine whether the resource exists?

>A final analogy: 10 year old enters US gas station: "Have you Marlboro 100s, menthol?" gas station attendant (without checking whether or not he has this particular brand/style of cigarette): "get out of here, kid. [HTTP/1.1 451 Unavailable For Legal Reasons]."

Amazon will similarly return 404 for S3 assets which exist but which you don't have the right to see. Annoyingly, they will also do the opposite of the cigarette analogy in the AWS console: they will gladly let you walk though the whole process of configuring and launching an EC2 server and only reject you at the very end because you don't have permission. Hence my "AWS bar joke":

http://blog.tyrannyofthemouse.com/2016/02/some-of-my-geeky-t...

[1] https://news.ycombinator.com/item?id=4100526
More apt would be getting caught making moonshine and getting denied a job at a distillery. The point is the same. Prior bad judgement may result in diminished future outlook.
Of course I was paying rent, what a ridiculous assertion.

You can all construct all kinds of fictional scenarios where someone can be literally occupied for all 168 hours of every week, but we both know that the overwhelming vast majority of people have 20 hours a week of time. I have two small kids now and work full time and still have 20 hours over the course of the course to week to do things. "Life is busier" just means there are other things you choose to prioritize higher.
The idea that engineers should build lego blocks without knowing what they're going to be used for is questionable at best.

A better idea imho is to have small crossfunctional teams where scientists and engineers work together to build only what they need with short iteration cycles.

If everyone involved doesn't have at least a broad perspective on the end-to-end purpose of what they're working on, they're probably going to build the wrong thing.
Which is an insanely single-minded view. Wealth is created in all sorts of ways. Culture can never be automated. Fashion is never finished. Food is never finished. Movies, music, art, dance, they are always in a state of transition from one trend to the next.

And they make tons of cash.
What precedent are you talking about?
I think the desired term is "to cut one's teeth on." It refers to how babies' teeth are aided in erupting from the gums by chewing on something tough. "Grinding one's teeth" is used to indicate being under an unpleasant level of stress.
I'm not familiar with most of the games in this list. My personal entry would be Gravitar (https://en.wikipedia.org/wiki/Gravitar). Asteroids-style controls, limited fuel that you have to replenish by hovering above the ground and beaming up fuel, and all the terrain has strong gravity.
Read Sutt's paper, then decide if he didn't fix the performance problem. I haven't gotten around to it yet, so I'm not sure, but apparently $vau-calculus has some interesting properties.
Here activists called legalization the new prohibition because of all the regulations like no dispensaries within a X distance from each other, a school, church ect so drove them out or cemented monopolies for the existing dispensaries which can raise prices. Then they created high barriers to entry with massive licensing fees and other regulations. This of course spawned online purchasing and delivery business models that's worked well for now, until more regulations on delivery.

One problem with the distributor in this story is he is constantly getting high off his own supply while in care and control of a vehicle which makes nobody want to work with him. That's heatbag behavior asking for problems. His comment on firearms about pulling out a gun during an argument is also something only heatbags do, the guys with side arms on the farm he went to are only armed to deter getting jacked for their product not win arguments.

You can't have a record and operate a dispensary here either, which was designed to keep bikers and other org crime out but they get around this by partnering with somebody that has a clean record.

Also wondering why the guy in Colorado can't apply for a pardon if it was only for teenage possession. Friend in Seattle did that to erase his record and open a weed business.
It would really suck to engage in real estate speculation and then have the value of my investment skyrocket until I sell it for a large sum of money. I sure hope that doesn't happen to me one day!

Buying low and selling high, how awful.
> The preference function (or oracle) can return a truth value without you necessarily having insight into its inner workings.

Is this preference function implemented on a computer, or is it just a person giving you seemingly random answers in response to whatever you tell them?

> People "know it when they see it" without necessarily being able to define it.

That path leads to hell.

> After a solution has been found, then you can write tests.

what exactly would you test? Tests make sense when you want to check that your implementation conforms to a certain set of logical rules, but where exactly is the logic in the process you outlined?
Fair enough, though 40% seems a pretty broad swath tbh - honestly a lot SV work is not brainiac academic CS work, it's UI making, etc.
Right? I don't have any science, but I'd wager the amount of dopamine released by crossing out a line on paper is significantly greater than hitting `t` (right?) in org.
Fair enough

> I don't think this is really an issue. Just because someone is a Python expert doesn't imply that the person doesn't know its good and bad parts. If anything they might understand the limitations even better and know when it's time to switch.

While I completely agree with you, in theory, I've never actually experienced this. My anecdotal experience with people who tend to become experts with a specific language has almost always been them trying to force it for every single use case.

I'm hoping my personal experience is less indicative of the industry in general but I really have no data to go off of beyond it.
PoC||GTFO 11 [pdf]
Python3 + hug: A great platform for API development
In this case I don't agree with it being Socialism. The "oil" belonged to the people... not the government. So the people get the money. The thing is they came to depend on it, and obviously the price is in the shitter. So the dividend should be cut. It should be based entirely on how much the State is making off the resource of the people. If it goes away, the people should be prepared.
Small recommendation for folks looking to use JS for Windows development (I understand this is just a runtime, but people may be inclined to combine these two things): do not use WinJS for any reason. It's undoubtably the worst UI "framework" I've ever used. Completely inflexible (HTML and styles defined in private and inaccessible methods, swallows events, monolithic functions) and riddled with bugs and incomplete features. Really surprised it's an official Microsoft project. I don't mean to disparage the developers of it, but it's really bad. Don't use it if you value your time or peace of mind and plan on customizing it in any meaningful way.
Yes and yes and it's perfectly fine in my opinion.

It seems to me that programming language count is overvalued in online discussions on e.g. HN or reddit.
The argument is that each extra programming language makes one a better programmer and it's one's duty to learn as many as possible.

However, this is not realistic:

* becoming fluent is a language means knowing the style, idioms, libraries and ecosystem and very importantly delivering software created with that language. It will take years to reach this level (see Norvig's essay about learning a programming language in 10 years).

* knowledge has a half-life: not using a language means that your knowledge will slowly become obsolete, one will forget library usage patterns, etc. This can happen very fast for e.g Javascript or slowly for e.g: C.

* a programming language is a very complex tool and it's really hard to be and remain fluent in (my estimate) more than three languages at the same time. As an example, I've already forgotten a lot of Java and a lot of Android in less than 9 months - I can ramp up pretty fast, a few weeks, but I won't be anywhere near the level of productivity of a full-time Java dev. I have the feeling that most devs that know many languages know them well enough, not inside out.

* learning languages will take away time that can be better spent learning other important topics such as architecture, people skills, domain-specific topics, etc.

Finally there's personal preference. Some people like X, have specialised in it and would like to use it as much as possible. Why shouldn't they? If you invest years of your life in something, you don't switch unless you have a good reason.

As long as one is successful using this strategy, I don't see anything wrong. Software engineering isn't supposed to be a fashion show - we should use what works and switch only when there's a need.
This is when German comes in handy:

- Können sie? (are they able to?): yes

- Darfen sie? (are they allowed to?): some say yes, some say no
A very apt analogy for the red-green-refactor cycle. I previously called it “flailing around” [https://news.ycombinator.com/item?id=11180589], but “guardrail programming” is better and catchier.
Petcube App 3.0 iOS Update Promises a More Rewarding Experience
You should post some examples of highlighted literature to see if different writing styles look different because of the syntax highlighting.
Well on FreeBSD you can toss it into a jail with iocage and get snapshots, clones, easy HA with vrrp or CARP. Not replication per se. But for a lot of people that works just fine and is incredibly easy to automate and accomplish.
Why do you think people getting a UBI would just sit on their asses? If I didn't have to work for a living, I'd be writing or making music all day or something like that.
Wow is that ever a click-baity title for an article primarily about difference in perspectives between classes.
If they are publishing a paper, their methods (including custom source code) are ready for release for peer review. Ftheit software sucks, thet should not rely on it for scientific results.
Podcast: Leslie Lamport on Distributed Systems (2014)
My mistake, I may have been misremembering DSSSL
Word choice is problematic:

"vanillify" (exceedingly rare, new jargon "to make bland" doesn't even show up in google ngrams) is too similar to "vilify" (to demonize) to use in a context of "to un-demonize". https://books.google.com/ngrams/graph?content=vanillify&case...

"face of" or "poster boy for", rather than the mixed-up "poster face for". https://books.google.com/ngrams/graph?content=poster+boy%2Cp...

But then, just because nobody says it that way isn't a reason not to...
Uh yeah no shit, it's a reference to that novel.
This is exactly why we created Newman (https://github.com/postmanlabs/newman/). Hitting every endpoint of our API gives enormous confidence when deploying it to production.

(Disclaimer: I work on Newman as a part of my day job)
Could you do something like this?

1. Add a text input as another view outside the UIWebView

2. Translate the frame of the input off screen so it's not visible

3. Wire up the input with the webview to mirror focus with the webview text input (maybe a combination of UIWebView executing JS, and the web content passing redirects back to the webview delegate that get interrupted by webView:shouldStartLoadWithRequest:navigationType:)

4. Pass the text input back into the webview from the text view delegate method textView:shouldChangeTextInRange:replacementText:
Chaining (async) operations in Swift and Java
What you say is likely very true, but has no bearing on this one man's case. This one man was found guilty and is now paying the price. Some will call foul. Some won't. I don't argue the fact that race relations in the US haven't been pretty and that many people were unfairly treated or even falsely convicted, but this particular man was found guilty of a crime he did commit and is now paying for his crimes. It doesn't matter that his white counterparts did the same and are selling legal dope. They didn't get convicted. This is the crux, not what's fair. He's a convict, they are not. Fair or not, he needs to move on and make something of himself before he becomes afoul of the law again and really ruins his life beyond what damage is already done. Nothing stops this guy from learning how to code and selling his software to the legal dope industry if he wants to be involved that badly.
There is nothing more soul sucking than writing, maintaining, modifying, and supporting ETL to produce data that you yourself never get to use or consume.

I'm not sure I get why writing ETL code for data you'll never consume is any more soul-sucking than, say, refactoring JS code for a website you couldn't begin to care about (and which will never be properly re-designed anyway); or even doing "thinker"-level work but for an industry you couldn't begin to care about (advertising), etc.

In other words, what most developers of whatever technical stripe do for a living.
“A democracy requires accountability, and accountability requires transparency.” - President Obama: First Day of Office.

Flash Forward 7 Years Later and the Democrats are About to Nominate the Least Transparent and Unaccountable Person since Nixon, while the Republican Party is trying to figure out a way to prevent the person with the most votes from becoming the party's Nominee.

The Illusion of Democracy, has proven to be nothing more than a veil to appease the masses.
50+ Free SEO and site reviewing tools (unlimited use and no account needed)
> Taking an altogether different meaning not fitting the context.

My comment was referring to the fact that the article is about black people being excluded from this new business opportunity.

From the article:

> For now, he explained, California plans to decide whether drug felons like the Distributor can participate in the medical market on a case-by-case basis...White males tend to do better when it’s subjective.

It was a pun to highlight/explore the question: do people feel prefer having white people sell marijuana? In this case my interpretation of the questions was "do you want a black face as the poster for an industry white males are taking over?"
Well, nor do I have a proposed solution by way of regulation for the problems caused by gentrification and income inequality. At this point in the discussion I'm just saying that there are deep problems with "free market" rental housing. That doesn't imply that what's needed is a quantitative system of regulation. You could also, for example, just appropriate the houses from the landlords, right?
What if there was a catastrophic event, like asteroid heading for earth estimated to destroy all life on the planet. and one NASA scientist figured out how to stop it for sure using math formula. But he died suddenly of heart attack. Saved the formula in the Notes app on his iPhone. And now NASA asks Apple to break encryption, so they can access the formula and stop the event that will destroy the planet. Will Apple comply in this case? (I think they will)

What if asteroid is estimated to take out only one country ?(they probably will comply)

One city? Small village? Just one person?

Not trolling, I'm all for privacy and support Apple.
Blacks can't get away from the various hells of the world

I believe this is known as the racism of lowered expectations.
Most of the world recognizes the Guy Fawkes mask as the symbol of Anonymous now.

In fact, I'd say the Nov. 5 plot immortalized his ideas and spread them far wider than their original audience and circumstance.

I'd say the gunpowder treason is far from being forgot.
I don't know that I fully agree; I leave my Vim instance open for literally days at a time in a tmux session, which works somewhat as my "IDE". Much as I've heard I'm only supposed to do this with "real" IDE's, I have yet to really notice a single drawback.
I also think a qualifier like: 'legal' immigrants would give the story more credibility.
A Remote Developer Is a Happy Developer
There is also no anthropogenic climate change according to the scientists that many GOP congressmen love to cite.

There are an overwhelming number of organizations, companies, universities, and other institutions that have talked about the benefits of a less restrictive immigration system. You willfully chose to ignore all of them, and pick the ones that fit your false, preconceived, prejudiced beliefs.

Do you realize that what people like you are advocating is exclusion and severe restriction of immigration? It's very nativist, xenophobic, extremely right-wing and anti-progressive. Most of your ancestors would not have made it into the United States under the current system.

I've commented in more detail about this here: https://news.ycombinator.com/item?id=11312557
Obama is right - it is an increasingly terrifying world. But I'm more terrified of hugely powerful centralized governments with the ability to get to any person, anywhere in the world than I am a group of poorly organized, illiterate goat herders 4000 miles away.

Just remember the US government is directly responsible for the deaths of more US citizens every year than all terror groups in the world combined over the last decade. Which is a more realistic threat to the average American - being killed by a police officer or being killed by a terrorist?
Your intuition is probably wrong: off-the-shelf consumer-grade microphones can typically gather 44.1-96k samples per second at 16-24 bits per sample. That's a lot of potential information.

Also, consider that your ear/brain apparatus estimates object positions and occlusions from audio signals all the time.

Also also, the eighteen-wheeler problem is vastly different from the finger problem, as the latter is smaller, slower, and closer to the microphone, each by 1-2 orders of magnitude.
Its Whales All the Way Down
Most audio streaming apps have terrible UI across platforms. Spotify and Saavn are the only ones that are satisfactory and useful and I end up sticking with those.

I am ready to not listen to artists I like if they're going to make me jump through hoops and cause frustration just to listen to them.
Missed this in the article, but how are you actually turning on/off the lights after this controller sends a "turn on" signal?

Is this basically right : You have some separate receiver that the light or other accessory plugs into, which senses the MQTT signal sent from the controller unique for its channel, and turns on its connected accessory? Were those receivers custom designed as well?
There's Basically No Way Not to Be a Gentrifier (2014)
Motor Vehicles Increasingly Vulnerable to Remote Exploits
While I agree with the fact that most JS is not performance critical (which was kinda my point)

I'm interested in where these interpreters are, as Mozilla has had a JIT for ages (for example) ... if they kept their interpreters about surely it would be just for non-jit compilation targets?
I thought it nailed a lot of dynamics at my last gig as well. Of course, I joined for the challenges of scaling and wrote an ETL framework in Rails (that was a mixed bag but very instructive) and then got bored after I realized how small our data really was. Then I left for Google and all my data went up by two prefixes.

I do love reading an article that supports my contention that ETL is the Charlie Work [0] of software engineering.

0 - http://www.avclub.com/tvclub/its-always-sunny-philadelphia-c...
4 days left to submit your Ember Community Survey response
Felony's where meant to mean something, but it's become a meaningless label.

Give it 20 years and do 5mph over the speed limit could easily be a felony. Hell you have likely committed a few hundred felony's of one type or another. (3 per day is BS, but several a year is common.)
TDD, for me, is great at the very start. I get the nice high-level bits done, they're clean, and they get things working perfectly from the start.

But then I want to start moving fast, trying new things, I don't know exactly how I want to go about implementing things. I end up passing on tests for a while, until I hit that next threshold - then can go back; make tests for what I wrote to catch up, and then repeat.
It's less "heavy"; more concretely it's less of a parallel world like GWT. It's not tightly coupled to its own standard library like GWT, and it's more amenable to integrating with (javascript-)native libraries.
From an information theory perspective, think about the number of samples. Even 22Khz yields a tremendous number of individual points.
Fair enough. I stand corrected.
If you've ever spent time working "among the people" - like, in a factory, or running a cash register, or cleaning toilets - you'd know that most people aren't smart enough to "build wealth for themselves."

In fact, most of them (and likely also you) are alive only because modern society is full of rubber bumpers and safety nets. I don't mean things like Social Security - I mean things like grocery stores and municipal water.

This isn't a bad thing, and it doesn't mean those people aren't good, or not worthy of basic human care and comfort. After the robots take their jobs, we need to give them a guaranteed basic income or they'll be dying in the streets.

There's nothing arrogant about acknowledging that - I think it's arrogant to assume that every person is smart enough (like you) to take care of themselves in a shockingly changed economy.
No I don't believe that the correlation goes the other way. I think that people knowleadgeable of logic, problem solving, statistics and other things are very capable of understanding society. Maybe they are sometimes more technical than emotional but in the end it is a good thing. Good decision can't be based solely on emotion.
Nothing. This is not some kind of mandate. What the general public gets out of it is that, for sites nice enough to use it, the viewer will know why they cannot view something. The alternative is for them to not know why.
CartoDB's pitch deck used to raise a $23M Series B round from Accel Partners
Doubt it. You gain nothing but end up hurting regular people that have enough shortages already.