skysight-inc/HackerNews huggingface dataset:
I personally prefer using data structures as html as long as I can, then rendering the html to a string at the last moment. This has the advantage of being able to use the entire programming language on the html-y data.

In Clojure there are a bunch of tools for doing this. One is hiccup, it's for server side html rendering. You can define a function that returns a Clojure datastructure like so:

(defn greeting [person]
[:h2 (str "Hey, " person)])

Then:

(greeting "Paul")
;=> [:h2 "Hey, Paul"]

and:

(hiccup/html (greeting "Paul"))
;=> "<h2>Hey Paul</h2>"

There are also tools for doing this in clojurescript. My favorite here is called Reagent (http://reagent-project.github.io/). It's a minimal wrapper for react.js that appeals to me because I can focus on my code since there's less to know compared to Om.
It's nowhere that complicated.

Everyone likes to feel special/superior. There are many ways to do this. Easy ways are money and power. If you are smart, you can win arguments.

If you aren't any of these things, you can be superior in other ways. You can feel morally superior to those 'millionaires and billionaires'. You can save the planet or the animals, which those others for all their money/power/specialness don't care as much about (or so you tell yourself).

You can become a shameless hedonist. Those corporate fuddy duddies would love this lifestyle, you see, but they are cowards even though they are rich, right?

In every case it's about being unique or on top of those things or making a mark that will last. Special. Valuable.
Actually, Firefox supports h264 nowadays. Cisco bought a license to the patent, and gave it to Mozilla for free, so they can freely distribute an h264 decoder.
> Have you been to a European city, somewhere built before cars?

Ahh, Paris. Well-known for its cramped boulevards.
It's a hodge-podge of semi-accurate statements about very minor trends (minor in employment terms) and inaccurate statements that it's hard to critique. Check this partial paragraph with my thoughts as I read it:

"Meanwhile, algorithms are writing most corporate reports [What? what kind of reports are we talking about? At first I pictured those glossy end-of-year things for analysts, but maybe not, anyway - citation needed!] analyzing intelligence data for the NSA and CIA, [Analyzing? Or just winnowing hopefully significant items from oceans of chaff for real analysts to look at?] reading mammograms [OK, valid hit], grading tests [then why are teachers and professors always still bitching about the time they spend grading?] , and sniffing out plagiarism [valid, but only a minor adjunct to a professor's grading life]. Computers fly planes—Nicholas Carr points out that the average airline pilot is now at the helm of an airplane for about three minutes per flight [False impression, there has to be an awake and alert trained pilot at "the helm" 100% of the time regardless of the autopilot]—and they compose music [BAD music that nobody but a few academics ever listen to and that certainly does not sell] and pick which pop songs should be recorded based on which chord progressions and riffs were hits in the past [? that would explain a lot about current pop...]. Computers pursue drug development—a robot in the UK named Eve may have just found a new compound to treat malaria [yes there are interesting machines that try thousands of molecules to find ones that might work, but that in no way displaces any human bodies; these are NEW discoveries that wouldn't be made otherwise]—and fill pharmacy vials [as pick-and-pack machinery has been doing for decades]...

This article is a mess.
Yeah, I figured someone would respond that way. I have a feeling that the more process that lies around making such fixes...the more likely the system is likely to be under performing (and or broken) long term.
And JavaScriptCore actually has very solid API, if not simpler.
This is a pretty big deal for me. MuJS is a non-starter if I can't even use it in GPL'd software (let alone copyfree-licensed software; my preference for my own projects is the MIT license, so being able to include something without having to change that - as duktape offers - is ideal).
My silly theory is that this is economically driven- why compete with senior devs in technology x, when you can choose new tech Y and be just as senior as everyone else to managers and recruiters?
From the small cross-section of lower income people I personally knew while working for a factory, there were several people held back by their record, several held back by various substance abuse issues (including some issues which were ongoing and others that led to direct problems at work/getting fired), and at least one person born to a well-off family who was completely unable to support himself due to various anger/substance issues.

The longer-term employees (i.e. the most responsible of the bunch, due to selection effects) were, in general, able to move up a little. Their kids have some hope of ending up with much better jobs than their parents. They really were moving on up and I did what I could to help those I could help that happen.

The less responsible folks were drinking away their paychecks for the most part. Several of them migrated to other, similar jobs after weeks or months after failing to show up to work after getting paid a few times. This is a common enough occurrence that people have little doubt about what a no-call, no-show means in those circumstances on average and they do not permit such things to become regular.

I'm hopeful that better access to internet education will allow the more industrious among those who have been trapped by their circumstances to move beyond them. But education is part of the problem for most of them. In spite of having completed high school, for the most part, a lot of them were simply unaware of all the great things on the internet these days that could help them.

But... that's true for a lot of people, not just the working poor. I mean, just the other day, I was telling a lifestyle business owner of all the simple things he could do to expand his business online (most of which I learned from reading patio11). It's surprising what teaching someone a few searches might enable.
30 days with swift – Day 10 – Finally programming
dot files are pretty nice to have [1]. Also see EmacsForOSX.com. Know the Readline shortcuts for editing most textboxes. Run $ man open to read about opening apps from the command line.

[1] https://github.com/mathiasbynens/dotfiles
I actually disagree with the entire premise of this article, and the sentiment of that premise.
This seems to be a thinly veiled attempt at censoring free speech; "you hurt my feelings, therefore you are not allowed to talk."

Frankly, I'd much rather have someone like Linus chew me out, because at least it's an honest and clear criticism. The tech industry prides itself on being an open and transparent environment, and I don't think that should change because someone's feelings got hurt.
Protocycler recycles plastic bottles into 3D-printing material
Requires some focused effort to understand the two tools - "Create List" and "Prioritize Colleges" - correctly. But easy to use thereafter. Excellent!
This? http://www.gamedev.net/topic/280347-is-darkbasic-pro-the-bes...
I actually gave fish a try after you recommended it. I can't use it in my workflow :(. Virtualenv has a bash script to initiate the environment and fish's incompatibility with bash scripts makes it impossible for me to work with it.
Firefox ships their own decoder now, Cisco donated a license of the MPEG patents to Mozilla.
That's funny, because NYC has the longest-running rent control program in the country.
Coming from the Artifex people, I suspect MuJS will be used by MuPDF to implement PDF embedded JavaScript forms.
In theory, and on a lan, yes, UDP is trivial to spoof.

However spoofing UDP packet source IP address is very hard on the open internet due to egress filtering.
The pricing confuses me a bit - as a user, I would have very little sense as to how many API requests or how much storage I would need for an eCommerce app. Why not price simply as a percentage of all processed transactions (in addition to the payment gateway commission, of course)
I'm personally not a fan of Lua at all (nor am I a fan of Javascript...).

That said, there are plenty of other options out there. Even for JS embedding, there are projects like duktape that already address this need (supposedly; I haven't personally used duktape in any of my projects).
Anecdote: I am an independent game developer who views git-annex as unproven, but who would also love to get away from Perforce. However, Perforce is free for up to 20 users, and right now my side project has one other person working on it - $400 for a year of GitLab is a non-starter.

More generally, I am curious how many of the "larger organizations" to which you refer in this context (clients interested in git-annex) are in the games industry, and how seriously interested your company is in trying to cater to that industry's needs? (Lots of game engines enjoy built-in first class support for Perforce due to how established it is in that vertical.)
> You have a VERY rosy eyed view of what cities were like before the car. What they were actually like is rivers of mud mixed with horse manure. There were just as many roads before as now, except they were very dirty.

I was actually worried my point may come across like this and considered clarifying, but I figured it would be obvious with even a moment's thought that I'm not suggesting literally reverting to exactly how roads were before cars. The only point I was making with respect to the way roads were used was that they were closer to public spaces than the situation we have now. Roads today are reserved pretty much exclusively for vehicles: just try dawdling or having a conversation on a major street in any city to see what I mean. If you RTFA, Hamburg is planning to replace the massive amount of space wasted by roads with green spaces. Relying on things like underground subways or elevated monorails or (much much much smaller than roads) bike paths means we can have the best of both worlds: undo the disastrous damage that cars did to city planning and public spaces without giving up the incredible benefits of streamlined transportation that cars enabled.

> Absolute nonsense. Go read some history, or even fictionalized accounts. Roads were never public spaces like you imagine. They were roads, and carts and horses routinely road right over people who didn't get out of the way.

Absolute nonsense. Go read some history, or even fictionalized accounts. Roads were public spaces almost exactly as I described them, since what I said was that vehicle traffic existed alongside people strolling and standing and doing whatever the hell else. As I mentioned above, we'll even be getting rid of the vehicle-induced downsides of these previous spaces (the mess and the danger), since vehicle traffic will be completely excluded from the road-replacements being described in the article.

We're lucky enough to have video from the early 1900s[1], which shows exactly what I mean about roads essentially being extensions of the way sidewalks are today (+ vehicle traffic), as opposed to the "all vehicles except for crosswalks" style we have today.

By the way, I notice that the only thing you addressed in your entire response was nitpicking (an inaccurate interpretation of) my unimportant supporting comment about how roads previously were. As I said before, the only thing I was alluding to was the fact that they were space that you could actually use, spend time on, play on, etc, as opposed to the reserved-for-cars and much-more-dangerous-for-pedestrians streets we have in the modern era. I can only assume you fully agree with the _actual_ point of my comment, which is that talking about giving up the advantages that efficient transit has bought is either disingenuous or idiotic, since that's not what's being discussed.

[1] https://www.youtube.com/watch?v=IJfTa5SjDCY
Stupid article. Example, referring to the dictator game: "Rational economics would say the poorer person should keep more for themselves, the richer person should give more away." No, rational economics says the dictator should keep it all. If he really wants to give some of it away, it's better to give it to a person of his choosing after the experiment is over rather than giving it to an unknown person in the course of the experiment.
Just depends on the context... for oltp production environments, might not be so great in a lot of cases.

However if you have users building up dynamic queries, etc it might be really nice to fail gracefully if they go overboard, or if there is some temporary condition that is preventing an optimal execution plan. Better than chewing up all of your resources in any case.

I think this could be really helpful in test environments as well.
Wonder if this is some kind of a hoax... Sounds a bit too good to be true to me. I would love to know How does the colouring work and what does it cost? If you throw in legos and whatnot how guaranteed is it to work with manufacturer X printer? Doesn't different plastics have different properties and don't these properties change if the plastic is melted over and over again?
P5tweets
75% of the rental stock in SF is rent-controlled! Yet the city is "unaffordable." There are no statistics on how many of those people make salaries that can afford market rate... but in my experience as a property manager I more often than not saw people with totally middle-class jobs benefiting from it - not poor people.

Why should someone who banks 80k a year get to keep a $700 apartment in the Marina? That is the problem with rent control.
This is awesome. I was planning on doing custom boxes for us someday, but I put it off because of the headache of dealing with existing companies in the industry. Excited to use Pakible, and to be able to test out different designs without sending a freaking fax (or 20 emails).
11 year old gets suspended for not Marijuana
I might do something like React JSX, maybe called ERX. I do think it opens up a hole though in doing business logic the wrong place. I know in Elixir it might be easy to do with the meta programming stuff.
Because the assignments, section material, grading infrastructure, handouts, teacher training material, and institutional knowledge for this class are all built around Java when the class switched over in the early 2000s. In the past, couple years the process of changing just one assignment out of the six or seven assignments was difficult for everyone involved (teaching staff and students). Changing the entire class would require monumental effort, and it would have to be driven by a majority contingent of the half dozen professors / lecturers involved in the introductory CS community at Stanford.

Given that the class has been successful at teaching programming methodology to tens of thousands of beginner students over the past decade there's no pressing need to restructure the entire course, even though everyone does acknowledge that Python or some other language could be better for new students. It's basically like any other large software project, yeah it could be rewritten from scratch and modernized to make small gains, but if it ain't broke, why fix it, especially when the professors and TAs have other projects that have far more interest in, like this paper.

Also one thing that many people don't know is that CS106A actually changes the language environment as well as providing a modified version of Eclipse to remove some of the less useful overhead in Java (for example removing main, and the beginner confusion surrounding keyword static, arrays and arguments). Also there's a much simpler introductory class called CS105/101 that uses Python.

Source: I taught sections and managed the TAs for the introductory classes over the course of four years while I was a student at Stanford.
All those highways were put in with taxpayer money. And the parking at the other end is the fault of building codes. If developers had to pay for all the highway to their new subdivisions, the market would look very, very different.
Can't find any way to contact you guys, so hopefully you'll read it here. On OSX Chrome v 41, the 'Subscribe to your free one month course' button extends a decent amount beyond the pink box on the right side.
I moved to the Boston area from Minneapolis... I miss the warmer, less snowy weather.
is domestic violence caused strictly by meanness? would it be reported equally as likely between the rich and poor neighborhoods?

IMHO domestic violence has complex roots and it wouldn't be beneficial to try and draw any conclusions by finding correlations with one variable.
That was such a small part of the article I don't think it's even worth calling out. Sibling comment mentions the relevancy to the actual graphic, that's probably all it is. Author also called out her own negativity previously. This isn't "men shouldn't be so negative". It's "we as frontend developers shouldn't be so negative". Context.
Crooked or Straight: Creating the ideal posture in 18th-century Britain
Silk Road's Main Moderator Pleads Guilty
I'm counting from when I dropped out of college and started working full-time. Maybe only 21 years ago, it's a little hazy now. I'd been writing code for seven or eight years at that point.
In general, we try to avoid technical debt and instead take on functional debt, cutting features and falling back to workarounds where they exist.

When dealing with a technical-debt-laden code base, it's important to communicate to the people who set the priorities that changes become more time consuming and buggy as the code continues to be added upon. I did this at my last job and they understood the risks and impacts. They determined that they would give me the time to make changes, but not to refactor. My estimates just got longer and longer and business went on as usual. At least I wasn't held to unrealistic deadlines.
I've always been suspicious of these types of broad psychology studies. They always seem to make claims that go beyond what their data says.

Laboratory experiments where the people know it's an experiment don't seem like they should be able to say things like "rich people act meaner." There's just so many variables that could be different--for example rich people might be more competitive and a lab environment makes them feel more like they're playing a game than dealing with real wealth and well being.

For the car experiment, he's not really looking at rich people, he's looking at people who choose to buy an expensive looking car and live in the Bay Area. Notably, there are a number of people who live in the bay area, are quite wealthy, and drive a car that doesn't show off their wealth. He also says "hundreds" in the video when his paper[1] says 152, notably with n=5 for those with a car rated 1. The methodology also states that they didn't actually record the car type, they just guessed based the cost at the time based on what they saw.

They claim the observer was blind to the study's hypothesis, but the task was to record on a scale of 1-5 how expensive he or she thought the car was and whether they stopped for a pedestrian. It doesn't take half a brain to figure out what the hypothesis they were testing was.

[1] http://www.pnas.org/content/109/11/4086.full.pdf+html
Hm,that's interesting. I wonder why the OED doesn't mention this source in its earliest usage:

http://en.wikipedia.org/wiki/Jaywalking#Origin_of_the_term

EDIT: In case that sounded sarcastic or like I didn't believe you, I'm actually curious about how they're so far off in their "first usage".
1. Rotate developers every milestone.

Group A: Codes and takes care of product tasks
Group B: Investigates, Research and writes Test code.

Important!:

Make sure you set a vision for the team and always remind them of it through inspirational material so their "extra" work/research naturally tends towards it (aka: don't make google's mistake, bunch of innovations going nowhere; hence all the close products).
A large proportion of browsers won't auto-play video, but will auto-play GIFs, so that rules out many uses.

Also, I'd bet that video tags eat memory. A web page with ten animated GIFs might make the user puke, but a web page with ten auto-play videos will likely make the web browser puke :)
I put GitLab on a personal server a week or two ago for some stuff, and I'm sorry to say it but the overwhelming takeaway from that experience was watching it hog memory and spawn what felt like a million processes which somehow lingered for days after uninstallation until I noticed them. This thing runs one process, idles at 0.0% CPU, and is blazing fast in <450MB memory - when all you want is a nice git GUI for a small group it seems pretty perfect.
does anyone have information about how we "saw"/imagined earth before images were taken from space?
How about Chicago? [1]

There is always the impulse to torture suspects for any law enforcement agency. We need to act as citizens to ensure that torture and the outsourcing of torture are treated as the grand criminal matters that they are. Anyone in the chain of command who participates in or tolerates torture needs to face charges.

1. http://www.theguardian.com/us-news/2015/feb/24/chicago-polic...
You're answering specific questions about your product, nothing wrong with that.
The well-known fact that torture doesn't work is covered in so many places that I find it very unlikely that someone could be truly ignorant of these facts.

Regardless, the utility of torture isn't relevant.

We don't torture in modern societies because we're not ignorant tribal warlords. You don't torture people for the same reasons you don't use nuclear weapons, VX gas, or some sort of weaponized virus: they are cruel, have nasty side-effects, and escalate the conflict.

Also... failure to understand this basic concept implies some sort of inability to empathize properly; in such cases, it may be a good idea to seek the advice of a trained mental-health professional.
Probably not if the headline has to be phrased as a question. :)

Instead of (or perhaps in addition to) the greenspaces Hamburg is proposing, I have an even cooler idea: turn them into lazy rivers[0]. I'd be totally down with commutes involving calm, aimless drifting on flotation devices.

[0]: https://en.wikipedia.org/wiki/Lazy_river
What about customizations like foam or polystyrene inserts? Is the design process just limited to the box itself?
I'm sorry, what? Why should you be able to vote on a government that doesn't have jurisdiction over you?

Remember that SF is an anomaly. Generally it's the wealthy in the suburbs and the underprivileged in the city. Suburbanites voting on urban policy (in general) is the last thing you should support if you are concerned about privilege.
Well, that's just Oracle being Oracle. They did the same nonsense with Opensolaris, if I recall correctly.
I have been told that's only used for webrtc. playing <video> tags uses ffmpeg on linux or media foundation on windows.
Are you insinuating that LOC should equal pay for said code in some way? That's a terrible idea and has proven to lead to bloated and bad codebases. We should be glad that they are OS-ing this at all, they don't have to and not all clients would even let them.
The paradigm of woman as private property has been losing popularity, obviously. We have to recognize that the "newer" constructions of womanhood are not necessarily positive.
I'm pretty sure this isn't a thing, at least as far as Google is concerned. At least, I work there and live in SF and have never heard of it.

Pay is higher in the Bay Area due to high cost of living, like for most companies, but I've never heard of a housing-specific "stipend" or anything like that.
I would say an absolute pre-req for moving from Amazon to own servers would be tooling like VCAC or OpenShift to give people a nice self-service experience.