skysight-inc/HackerNews huggingface dataset:
> where in the HTML spec does it say that the interior of pre is parsed differently?

I was wrong about that. I had a vague memory of putting HTML inside a PRE tag once and having it come out as if it were escaped, but apparently I hallucinated that.

> A major example is that the Vim editor uses pre for formatting syntax colored code to HTML (when you do that with :TOhtml).

OK, I stand corrected on that too.

> If we are parsing HTML (to Lisp objects or whatever), we should preserve the exact whitespace. The reverse generation should regurgitate the original whitespace.
> If we take the license to eliminate newlines, then we ruin pre. The fix is simply not to do that.

Right.

Actually, I just realized that I mis-read the example. I saw <br /> and thought it was </br>. (Maybe the OP edited it?) In any case, the example now reads:

<pre>
<span>one
</span>
<br>
<span>two</span>
<br />
</pre>

And you can render that in sexpr syntax as:

(:pre "
" (:span "one
") "
" (:br) "
" (:span "two") "
" (:br) "
")

This is a particularly bad example to demonstrate here because the whitespace in the code plays badly with the whitespace in the HN markup. But I tried running this code and it does work. Here is the output copied-and-pasted verbatim from my listener:

<pre>
<span>one
</span>
<br />
<span>two</span>
<br />
</pre>

Note that both BR tags are rendered as <br />.
People might just destroy the robot for fun though.

http://www.iflscience.com/technology/hitchhiking-robot-manag...

I haven't thought through the economics on these systems, but there are enough startups working on it for me to think it must be a larger market than I realize. I wonder what the overhead is (how many robots you need to meet demand), how quickly they can deliver, and what other limitations they have (temperature control, weather resistance, ability to traverse stairs/elevators).

At what point do these machines become cheaper than humans? I understand that they are likely meant to be a supplement as opposed to a replacement, but until they can compete with humans there's not much of a business.
There are setups where there isn't room, I promise. The one I saw there wasn't the first or last one I had seen.

For example: http://www.supermarketnews.com/sites/supermarketnews.com/fil...

Note the width of the cart vs the width of the aisle. Imagine a longer line where everyone has a cart. This happens to be an Aldi, a German owned chain that operates in the US.

Usually, there's some alternate exit, this time there wasn't.
Because a field of wheat isn't uniform. The goal is to make all the wheat perfect, but nature foils that by spoiling some of the wheat with mold/fungi; other parts of the field may grow over soil that has a higher heavy metal content. As truckloads of this non-uniform wheat are processed, the machinery sorts the grains to get a mostly uniform end product, rejecting grains that fall outside of an acceptable threshold.
http://www.brendangregg.com/blog/images/2017/files_linux49.s...

That's all the files and subdirectories, and multiple levels of subdirectories, shown _at the same time_. Without needing to navigate in and out of directories.

If there's a way to do this using ncdu, then I've failed to find it. Screenshot please.
I thought Stallman didn't like his videos on Youtube?
I mean the other sensors should be able to make their own big industries as well. Sorry about that.
To be fair <div /> is a function when converted from jsx to js
If that is the only kind of problem your company works on then it is a great question to ask just that problem. I like to ask a wide variety of questions to make sure I don't just target someones strengths or weaknesses.
Good eye. Should be corrected now.
Ok, so stop using ad supported sites, and convince everyone else to do the same, and the problem will simply go away.
Perhaps those conservatives now understand how it feels to be the people that liberals are always trying to protect.
Computer coding as a foreign language? Florida lawmakers again push the idea
Wait, does the library have problems or not?
There is alot we don't know about both general intelligence and what traits specifically makes a chess player good. Certain kinds of reasoning help, but so does the discipline to study and remember many different chess positions and then apply those to the situation at hand.

There's nothing in science that says women should be worse at it than men, or that there aren't enough good women who play chess, and could crack the top 100. We just don't know is the bottom line and anyone who says differently probably has an agenda.

Separate tournaments were added as way to get more women playing than anything else as the sport has alot of educational value even if it's not the only way to develop those same intellectual "muscles". Hopefully, it will expand to the point where enough good players of both genders come in and we finally see more women at the highest levels. But that may not happen.
BTW, here's my ncdu screenshot:

--- /mnt/src/6/linux-4.9-rc5 ---------------------

401.7 MiB [##########] /drivers
135.6 MiB [### ] /arch
37.3 MiB [ ] /fs
35.3 MiB [ ] /include
34.4 MiB [ ] /Documentation
32.2 MiB [ ] /sound
27.6 MiB [ ] /net
13.4 MiB [ ] /tools
7.5 MiB [ ] /kernel
5.9 MiB [ ] /firmware
3.6 MiB [ ] /lib
3.4 MiB [ ] /scripts
3.3 MiB [ ] /mm
3.2 MiB [ ] /crypto
2.3 MiB [ ] /security
1.1 MiB [ ] /block
880.0 KiB [ ] /samples
424.0 KiB [ ] /virt
[...]

I don't see subdirectories.

Linux source is here: https://www.kernel.org/
I live somewhere not mentioned in the article but we have tactile paving too. I have never once seen a blind person using it (no, I am not blind myself). On the other hand I did see construction workers installing it, and it seems to take quite a bit of extra effort.

So I wonder: are these things useful to people other than the tile makers, for whom government mandated special tiles are undoubtedly a fantastic revenue stream?
> OSX became the uber tech junkie's OS of choice, but with Apple's recent shenanigans these savvy enthusiasts and devs are also starting to use Windows again.

I believe that hipsters/nerds migrated to Apple for two things: build quality (most laptops these days STILL are made of plastic, and well as someone who often eats near his machine or operates it with pizza-greasy fingers I can say that an Apple laptop just doesn't give a sh.t while all my Windows laptops end up looking very indecent after a year), and battery lifetime.

The latter is the most important: Apple with its ultra tight control down to the tiniest chip on the motherboard can tune the performance in ways that cannot ever be achieved by either Windows or Linux, with 6+ hour usage times being the norm. Windows laptops with this usage time usually are way more than expensive than Macbooks, are heavier than a piece of granite rock, or a combination of both.
That doesn't sound like a very nice thing to do. I wonder if capitalism is to blame, as I would certainly blame capitalism, or good old fashioned egotistical rivalry that I'm told was common in many areas of life then between the USSR and the US.

I'd say that feeding humans or even livestock is more important than profits. Or at least, it ought to be.
Go's success is attributable to the fact that it is the first compiled language in a long time which is backed by a major company and has managed to deliver a simple and enriched experience compared to the old company backed compiled languages.

1. Fast compilation is a killer feature.

2. Ease of deployment, as a self contained executable (static linked), is a joy.

3. Channels are a revolutionary concept to every programmer who had only touched mainstay languages.

4. Type inference is a revolutionary concept to every programmer who had only touched mainstay languages.

5. Go's syntax is less verbose than all other earlier mainstay languages. Such as how public/private is handled through casing, and not having to type public or private.

6. Go's structural typing is a revolutionary concept to every programmer who had only touched mainstay languages.

7. Everything that's new in Go to a programmer who had only touched mainstay languages before it is not there in Go as an extra set of features, but the only thing for them to use. This greatly focuses them on learning those new features. Also, non of the features are too radical to throw them off completely.

8. All the tools for Go, are built by the team behind Go.

9. Go's battery included, and has a great selection of modern standard libs.

When compared to Java, Go lacks very little, and brings a lot to the table. Generics are probably the biggest omission, but that's probably going to make it in the language eventually.
With just images/text it'll be very hard to track/target people - especially if the image is served from the same website hosting the content (and made to be truly impossible to block). Not to mention ad companies dont seem to care about making it super impossible for ads to be blocked.
You basically need to do deals with companies wanting to place ads yourself if you want to get away from the normal ad practices (please do tell me if im wrong) - which is just impossible as a small website
Free speech is not the right to speak freely in any venue for any reason. Your comparison of Berkeley activists tactics to terrorists is weak; like comparing script kiddies to international bank hackers to drum up fear.

Is your intent here to justify the existence of this watch list?

The first amendment lists a specific purpose for free speech - for the public to redress grievances to the government.

Do you not think that this watch list will curtail free speech infinitely more than what you're complaining about? By monitoring protests and reporting legal political action to employees, you can implicit discourage political protest - which IS a legally protected form of free speech.
The 51 Year Old Friendship: Arnold and Franco
It is a central feature to the Harry Potter universe that technology is overlooked, because magic. That is why everything looks rather antiquated on the surface, because all the advances are made in magic and nobody bothers with other stuff that is perceived to be less effective or important.

Almost every building is rather precariously built and even absurd in details, because there is no value put in structural engineering, you just magic it all together.

Why ever would they use the Internet? They all perceive their own culture to be superior, and all their advances are bound up in magic.
I agree. Redux resolves a lot of his criticisms thats why I really didn't get why the author dismissed it so quickly:

"For example, besides the four facets above, the state management problem of React is non-negligible. If we introduce a third-party library such as Redux to deal with the state, the framework would become tangled and the number of layers would increase."

Given how widely used Redux is with React I would have expected him to expand on this point some more and provide a meaningful critique. It's a shame that the other parts of his series have not yet been translated into English. Perhaps he elaborates on what he means by the above statement.
Patent troll sues Netflix over offline downloads
IDE functionality, similar to what godef/guru for Golang offer. But I'd settle on any mostly working jump-to-definition tool for Ruby/Python/Java that can be integrated with Vim/Emacs.
The Designer’s Guide to Responsive Logos
Extremely doubtful, considering how much negative PR they've gotten on their new line of MBPs because of this... The costs must far outweigh the benefits.
FTFY:

FTFY:

FTFY:
Doesn't stop Android adoption.
Snap looks like it’s Google Cloud’s biggest customer
Data Science and DevOps: A Success Story
As far as online games go, Starcraft seems to on the less toxic side in my experience.
Thanks! Yes, this was my first real FPGA project (good for learning!), I'm still exploring all the possibilities. For example, only around 25% of the LUTs of the FPGA are currently used, so there is even room to put a simple CPU in there, or simple shaders.
Advertising. Definitely first party data for targeting. An advertiser takes some data from its CRM, sends it to the big social sites and google, and then uses the list to target those folks specifically or create look-a-likes. Actual cross device targeting (because people are logged in), extremely personalized and relevant.

This is coupled with a move away from cookies[0].

0. https://adwords.googleblog.com/2017/01/making-youtube-better...
Meta Reinforcement Learning (RL²) in Tensorflow
While you're going bananas on the pros of flame graphs, a significant con is that most of the names are unreadable. In your example, the legible information is not much more than what 'du -skh linux-4.9-rc5/*' would give you.
Mark Fisher's talk about how capitalism makes it seem like the only game in town [0]

David Pearce on abolishing suffering [1]

Jurgen Schmidhuber "Universal AI and a formal theory of fun" [2]

Slavoj Žižek on "signs from the future" - also ties into [0] a bit because at one point he mentions how excess capital was found to actually reduce the efficiency of certain creative tasks [3]

[0] https://www.youtube.com/watch?v=deZgzw0YHQI

[1] https://www.youtube.com/watch?v=_VCb9sk6CTc

[2] https://www.youtube.com/watch?v=fnbZzcruGu0

[3] https://www.youtube.com/watch?v=Nb-wbaSUMAY
LegalZoom is a fine way to get started. It's not that expensive and they will do it correctly. Best to not waste too much time on it and focus on the business.
The sad part is it's still really just a FizzBuzz. I get resumes from lots of people with really great backgrounds who just can't write simple code. I'd love to ask more interesting, varied questions but three out of four candidates don't have the tools to solve those.
Haven't read the article, but as a blind person myself, nope. Much of the infrastructure designed to "help" us is so inconsistent, non-intuitive or broken that I don't bother using it, far preferring my own skills and knowledge of my surroundings.

For instance, I have an audible signal near my house. Sometimes it works. Sometimes it doesn't. Sometimes one side of the street works, and which side that is varies from day to day. In Austin, we have a variety of signal designs with no standard placement and, in some cases, a non-intuitive pattern of beeps which you can only learn by listening to the traffic patterns and correlating them with the sounds. So, in short, if I walk up and press a button, I have no indication whether that button will give me an audible signal, and historically giving me a signal is no indicator of getting one in the future. I feel truly sorry for anyone who actually needs the things. For my part, traffic never lies unless you get a bad driver, in which case an audible signal wouldn't save you anyway.

Thanks for reading my mini-rant on the fucked-up state of shit to "help" blind folks. :P
¯\_(ツ)_/¯

Good question. Only Ryan knows.
> It's because you've not presented an effective argument.

Um, no, in fact one of the points you might learn from talking to different people is that most of them are irrational in some way or another. It's part of the human condition.

> And the reason the left is practically universal in higher education the same reason why the left side of the spectrum is represented pretty much universally across every other government in the developed world: Education forces you to consider things larger than yourself and your little tribe.

I don't buy this for a second. Like the article says, many of the staff are openly left, and have been since the 70s. And look, you assume I'm right leaning. I've always considered myself left or maybe centrist. But since college, that has definitely weakened, as I've travelled and worked with people of all political orientations. So yeah, the kids are wrong, and I am/was one of them - but it's not their fault. I'm agreeing with the article.
For a quite similar approach of observing/binding variables to GUI objects, have a look at Qt/QML.
I had this exact idea almost a year ago:

https://github.com/m1el/du-flamegraph

find $1 -type f | xargs -n32 -d'\n' -- du -ab \
| awk -F'\t' '{print $2" "$1;}' | sed 's#/##;s#/#;#g' \
| flamegraph.pl --title "Disk usage" --countname "bytes" \
--nametype "file" --width 1900 --minwidth 0.05

... and tested it using linux sources:

http://m1el.github.io/du-flamegraph/linux-sources.svg

http://m1el.github.io/du-flamegraph/illumos-gate.svg

http://m1el.github.io/du-flamegraph/dota2.svg
It was <br> and <br /> for my example (</br> isn't a valid tag). The point that I was getting at was that <br> and <br /> self-closing tag are represented differently (<tag>, <tag />, and <tag></tag> are all different) in a parsed SGML data structure (though they both are equivalent in the HTML DOM tree in the browser).

This is why you would need separate tags to emit them properly with an S-expr syntax (tag), (tag/), and (tag)(/tag) in my example.
The new development is that the software to run your own Heroku is becoming open source and easy to operate.

From an "I just want to get my app deployed" perspective it may still be best to just use Heroku. But from a "new developments in the field" perspective, the fact that I can rent a few machines and have my own Heroku microcosm for small declining effort is pretty cool.
Your original comment made it seem like individual passengers would be targeted.

It's growing increasingly clear that you're not engaging in good faith. Instead of providing any evidence of this actually happening, you continue to insist on snark and vague accusations.

> a) there is no "sterile transit" in the US

There isn't, but that is completely immaterial: an international flight is extremely unlikely to include only a single non-American. In such a situation, it's absurd to claim that CBP would board and arrest a single non-American.

Your Quora link doesn't support your point. It makes it clear that there are sane procedures in place (ideally, passengers never deplane) and that CBP doesn't board planes and arrest people for accidentally entering the US.

Until you can provide a single example of this actually happening (someone being arrested for illegally entering the US after an emergency landing), I'm going to stop engaging with your FUD.
map doesn't do any magic behind the scenes, it goes through a sequence exactly once.

Can you given an example where map might increase algorithmic complexity like that where the imperative version would not?
I suspect most people can differentiate between job requirements. For instance, I can play basketball in a loud gym, but have trouble doing math there.
It very clearly was set up to be the first of a series.
millions of flies can't be wrong
Laws are rarely fully or evenly applied. Even if the law says something must be done it might still not be done. For example there are many thousands of people every year who are not allowed to be in the US but who self-identify as working in the US by paying income tax.

By your logic they would be deported. Mostly, they are not.
Makes me wonder, how many kinds of CEOs are there? How portable are the different kinds? For example, how would Kalanic do at running GE? To what extent does the success depend on the founding CEO vs. a succeeding CEO?

I'd guess that successful founding CEOs vary in personality and style quite a bit and succeeding CEOs are more consistent. But that's just a theory...
Sure, but its very widely used in conjunction with React especially in larger projects. I think its fair game for critique in that context. Also, the author of the article specifically called out Redux:

"For example, besides the four facets above, the state management problem of React is non-negligible. If we introduce a third-party library such as Redux to deal with the state, the framework would become tangled and the number of layers would increase."

I like Redux but I think the actions/reducers structure can be a little cumbersome to follow at first.
I've noticed the same thing on Reddit in subreddits where women make up 50% or more of the population. When I'm posting in these communities, I tend to be given the benefit of the doubt and receive a lot more supportive or cheerful replies instead of walls of text/sarcasm/"well, actually". It's made me unconsciously change my posting habits.
While there's a certain truth to the statement that Neo-Nazis are somewhat more common in East Germany, that's not really the whole story.

West Germany also has its fair share of Neo-Nazis and closet racists, the biggest difference being that West Germans had a couple of decades more time to "tone it down" compared to East Germans.

In West Germany many people, to this day, have very negative sentiments towards Eastern Europeans, Eastern Germans included. They are just more careful about how and when they voice them, something the East Germans haven't quite mastered to the same level yet.

Mostly due to an element of curiosity because "darker skinned people" simply had not been that common in the Soviet states, so they are rather blunt on such topics in comparison to West Germans who have learned to "hide" it a little bit better.
"The rise of platforms like Bandcamp and Patreon, and the abundance of high quality free/inexpensive tools and guides is raising the bar for quality in independent music"

No easy solution here, what is the ^Bandcamp of concert venues^? [0] Is there a venue problem of, "Where do you play?"

[0] I know the solution is a political one due to land usage, sound restrictions and venue size.
How toxic is this to our health & environment. I recall, early 1980's, living in NY, Queens Village (208th street), they tore up & paved my street with this nasty, hot, sticky smelling oil sheet. The smell was horrible & lasted days. But it was fun riding my bike on a newly paved road.. It was especially fun watching the guy in the green elf rollers-skates, skating down my street, performing. Ahh..
You can click to zoom, but in the default output I wouldn't call it a significant con anyway. It's usually (not always) an advantage.

Take that ncdu output above: "/drivers" is visible in the flame graph, whereas "/virt" is not. It's only printing the names of the largest rectangles -- the ones you care about, helping draw your attention to where it should be drawn.
I think the value in such a comment is placing it within a timeline of the person's life. It wouldn't make sense to relate a story from 1982 and mention it relative to Jobs' death, but discussing an event that occurred months prior seems appropriate. Imagine it in the same context as "prior to his second tenure with Apple".
I really liked this article because it was a concise demonstration of the 'known' solution problem. A while ago[1] there was a discussion of what folks from the 19th century thought the world would be like in the 20th century. The common theme is that the futurists could never anticipate a change to a technology they didn't have any experience with. The rise of communications as a means of linking people together was completely missed, even by the Dick Tracy types who had wristwatch phones. Why? Because not only did it communicate like everyone had experienced (telegraph, telephone) it persisted with bulletin boards, MUDS, Facebook, and Twitter.

That is why I always try to ask a question my Dad suggested I ask when looking a future predictions, "What is so common place that they can't see it changing?" That is so difficult to do. Things like "What would the future be like if there literally was no disease and any physical injury could be patched up quickly?" Or "Energy is suddenly free?" or "Lie detection becomes infallible?" etc. Very tough to do.

[1] https://news.ycombinator.com/item?id=13101643
I don't run interviewing.io, so in all honesty I have no idea what they are doing to fix it. But hopefully they do fix it.
I have to say I find this piece pretty disappointing. Slightly smug throughout, which is easy in retrospect, with approximately zero to add to the conversation. The thesis seems to be: The future is hard to predict, and even if you can, it's hard to get the timeline right. No shit. Is this what VCs do with their spare time? Remember granddad and contemplate uncertainty?