skysight-inc/HackerNews huggingface dataset:
> I've been saying for a while that NYC should cecede from New York State. We send more money Upstate than they send down,

Much as I'd love for key NYC infrastructure (namely the MTA) to be free from the grips of Albany, this would never work. New York City is so intrinsically dependent on infrastructure from the surrounding areas that it would be a nightmare to try and negotiate that across state lines. Negotiating water rights alone would be an absolute mess.

> we still aren't allowed to run the socialist utopia most city residents actually want

Uh, no, "most" residents of New York City don't want a socialist utopia.

Just because four of the five boroughs voted for Obama in 2008 doesn't mean NYC is some bastion of radical left-wing thought. Let's not forget that the city voted Bloomberg in three times.

(If you really want a deeper analysis, you might want to note that New York City politics is also influenced by people of color to a degree that no other major city in the US is. While they tend to vote reliably for Democratic candidates, black and Latino voters are empirically far less liberal[0] than their white counterparts in the Democratic party).

[0] Ignore the op-ed itself; the graph halfway down the page illustrates the data very well: http://www.nytimes.com/2015/07/09/upshot/what-the-hispanic-v...
While very informative and interesting, I don't think your comment really engages with my point. I never mentioned Erlang or functional programming. I'm just talking about data serialization. Namely, that sending JSON or XML over the air isn't "totally crazy".

Again, the vast majority of mobile data isn't JSON or XML. If mobile bandwidth was a Californian drought, video would be alfalfa farming. JSON would be taking a long shower: maybe you feel a little bad, but it doesn't matter. All the short showers in the world can't make up for the huge volume of water (bandwidth) used by alfalfa (video).

Obviously, if you have a billion users, trade-offs change and it can make sense to use esoteric or bespoke protocols. But even for Facebook, using JSON isn't crazy. It's just inefficient. And Facebook didn't switch to FlatBuffers for the bandwidth savings. Their primary goal was to improve loading times for their local cache. Had FlatBuffers required 10% more network traffic than JSON, they likely still would have made the switch.
Apps barely making use of multicore? Maybe in your web world.

We would not have been able to ship the apps we've shipped were it not for being able to exploit shared state concurrency.

... and yes, I think the Facebook app is making heavy use of multicore and SIMD; multicore directly, and SIMD by way of the heavily optimized native frameworks shipped with the device.

I've previously made of NEON to get ideal performance out of critical path file decoding on lower end devices, where having those additional CPU cycles available made the difference between stuttering and smooth UI.

Stop trying to fit native apps into a box you've defined to match your web-centric experience, where low expectations are simply the norm.
> This is effective enough to the point where nefarious carriers have asked users to install configuration profiles to add the carrier's root certificates, which are used to modify and inspect what should be private traffic.

It makes me wonder if the NSA isn't also whispering "that would be nice" into the carriers ears.
Seattle to pay poet to live in a bridge
Um... you can get the "reactor pattern" (I really hate SV rebranding of stuff that's existed forever by another name) with gen_event and gen_server in Erlang.

The pattern isn't special or strongly correlated to node.js
> Why would the public be in an uproar about using patent protections to keep low-quality vaccines out of the market

For one thing you don't need patent protections to keep 'low quality' vaccines out of the market. To my knowledge, that's what government regulatory bodies like the FDA are for.

> while otherwise making the license available at no cost?

Even if this was the case, I'm sure that Salk knew that if it was patented, that this would be only temporary (with no guarantees on reasonable pricing in the future); and it would be an unnecessary and immediate roadblock to helping people.
> The right way back then would probably be to design a reference system and release schematics and other design information.

The interesting choice is to release a fully open design with a solid implementation for your own hardware but also one for the competitor's hardware that meets every part of the spec but you've spent no effort to optimize.

Then everyone starts with your API because it gives support for the largest variety of hardware out of the gate and only supports the competing proprietary API if the project has the resources and the performance difference can justify it.

Which puts the competing hardware vendor in a tough spot. Either they do the work to optimize the open API implementation for their hardware, essentially guaranteeing that the open API wins, or they don't and users of software that supports only the open API start to avoid their hardware.
Like Spencers' ten commanments except with calls to unspecified external practices, less funny and ultimately not really actually for programmers
It would also make the censors' job easier.
> Basically set cell height and width to 1 and you have a pixel grid. Use formulas to drive values which drives conditional formatting.

I was expecting something like this when I read "Excel spreadsheet artist" in the title.
Mailinator is interesting and cool—I'm definitely going to use in the future—but it seems like just an inbox, not a way to send a message. Is that right?
> RSA works by raising numbers to a large power and then finding the remainder when divided by a big number.

Not necessarily. A common value for the exponent is 3. I don't think one would consider that a large exponent.
Show HN: Repo badge to count your repo badges
Any reason why we don't have several of these at all points?; or do we and I just do not know about it? - p.s. love the site, thank you
With tax litigation the issue is that you have to prove you didn't simply shift money and accounting briefs around, and the only way to realistically prove it is to show all the statements in the time period that you'd required to keep them (I think that's the last 6 years).

The government basically comes to you and says they think you owe X, and you have to prove that false to their satisfaction. The more data you give your CPA to work with, the better.
Are you the same guy from the article comments?

Granted, the Author should have been clearer about it, but BPG's is not mean to replace MP4 even though he juxtaposed them, it's about BPG's potential replacement for GIF.
Cabal (Haskell) too.
Has anyone tried playing around with the image? It's very slow. You must have great patience to draw anything like that. That alone is something to applaud.
That brings me way back. Any love for PostNuke out there anymore?
Yes, and the New York and Miami drug wars of the 1980s were consequences of the escalation of the law enforcement War on Drugs in the 1980s, including the targeting of cocaine in that war in the 1980s.
see http://irclog.whitequark.org/ for a few channels used. This particular selection is around linux on various ARM boards and phones.
A CEO once told me how he (legally) manipulated the books to "get the numbers Wall Street was looking for". The stock tanked. Evidently he was only fooling himself.

A CEO might be able to hide poor results for a quarter or two, but the investors always catch on.
Thank you for this. I see now how my wording was unclear, but this is exactly what I had meant. Sorry for the confusing word choice.
This could make for a really interesting data visualization.

There are probably lots of things we do as programmers that are insignificant in the context of our own systems, but are so culturally ubiquitous that they add up to an enormous impact globally. I wonder how even things like different application architecture would consume different amounts of power. Or,is there a side effect of shifting computation to the client side of causing more energy to be consumed from dirtier sources, if, say, data centers tend to draw from cheap and clean hydro power.
Agreed. Everyone loves gof design patterns, but the real gems for practitioners start a couple level below in abstraction: code complete basically shortcuts you five years of experience and Fowler refactoring + patterns of ea ground yourself in making what it's needed and not what it's dreamed
He has tutorials on how to draw in Excel here in Japanese: http://www2.odn.ne.jp/~cbl97790/kakikataHSK07.htm
Not many people know that Schrödinger wrote a a paper involving a dog, and to show solidarity with a fellow scientist, opted to model the dog after a subject of Pavlov's experiments. I called the UIUC library to ask if they had a copy of the paper just a few months ago, but I couldn't remember the title of the paper. The researcher that answered told me, "That sure rings a bell; I'm not sure if it's here or not, though."
A quick google search found http://www.hackernewsletter.com/ and http://www.hndigest.com/
If apps were using multicore all over the place, the hardware vendors would have responded by increasing the number of cores on the CPU as they planned to. Instead, they didn't, because people aren't using it.

I don't see any particular use the Facebook app would possibly have for multicore. Image and video decoding perhaps, but browsers already multithread those.

The point about native frameworks making use of SIMD applies equally to the SIMD that the browser engine components internally use.

Finally, I've been writing native code almost exclusively for the past five years.
Erlang's pattern matching allows a great many things to be done in a declarative style. For some problems you end up with a lot of pattern stuff and not all that much "normal" code. Or you pattern match through what would ordinarily be a lot of flow control statements, for each case writing very simple code to handle that one thing.

Since Erlang isn't a declarative language in the larger sense, that's my guess what he meant.
for me, Andre Norton
Web browswer crash prank – CrashSafari.co gone viral
I try and push devs to do

pip freeze > requirements.txt

Which has a similar effect.
Is there any similarity between "tag-length-value" and netstrings (1997)?
Depends on what you call "main thread" - maybe he's saying worker thread that's doing the "main code" shouldn't be doing GUI
How sure are you about that?
We use it for group chat. We're a bit of dinosaurs, I know.

While there I also join channels of projects I'm interested in, for instance #pcbsd, #fedora, #chef. Obviously we're on freenode.

IRC is free and works on any platform. It's old, but for our needs works great.
I used to joke, in the context of virus scanning, that I could give you a more accurate progress bar, but the scan would take twice as long...
Any chance for an epub?
Sure you can. As I explained above.
> many surgical instruments are disposed after use

What do you mean "isn't true", what about the ones that aren't disposed of?

Since some are disposed of, that means I should somehow not worry about that ones that aren't?

And that picture is misleading.
I am not talking about APIs.
Sorry, if that's all the above post was trying to say, I apologize. That's just not all I read, though.
Clean Metadata Tags from Word Docs Attachments Before Sending Email from Outlook
I honestly think it was, given the pile-on and sarcastic ending.
I like to keep it simple.
VMware Confirms Layoffs as It Prepares for Dell Acquisition
Although the article may not have made it clear, OSC is designed primarily to pass around control signals, rather than arbitrary, non-contextualized data. Control signals have inherent meaning, like "fast-forward <n> seconds", "set color to <x>", etc. The important distinction is that "set color to <x>" (a command) is distinct from "{ 'color': 'x'}" (non-contextualized data).

The layout of controls is hierarchical in the protocol; each control has an associated endpoint, which looks very much like a unix file path. For example, to unpause an audio player, you would send the message "/player/is_playing/set t" (or f, to pause). If you wanted to control the bands of a 10-band equalizer, you could implement that as "/player/eq/band/4/amp/set 0.5" (there are certainly other ways to approach it too).

If you want to send control signals to multiple parts of the audio player at the same time, you could use a "bundle" composed of a separate message for each parameter you're altering. All the messages will then be handled simultaneously.

Because of this, data does not need to be hierarchical. If you really want to, you can consider the endpoints to be "keys" and the control data to be "values" in a hierachical key -> value map, just to prove that everything you could do with hierarchical data is still possible using OSC. But I would encourage you to not think of it in that abstraction because the fact that OSC is built to pass messages, and not non-contextualized data is a large part of what differentiates it from other protocols like json streaming.
The demo page has some serious z-order issues. (FF 43)
Great stink of 2016: Milpitas Sewage Plant and Alviso Dump.
gRPC seems like a good alternative.
In actual reality, if you start clicking thru Sadun's links, you'll see that SE-0001, SE-0020, and SE-0015 are already in the language as of 2.2, SE-0002 and SE-0004 are marked as "accepted", and SE-0007 is scheduled for swift 3.0
GM Mosquito Enlisted in the Fight Against Zika
UDP is certainly faster than TCP, no question about it, because of different levels of quality of service. However, coding for both is similarly simple, given the same requirement for short receive-only message. TCP session has nothing to do with the complexity. The complexity comes in how to do process() in parallel.

A receive-only message can be handled in TCP:

server_socket = create_and_listen_on_socket(..., MAXCONN)
while True:
csock = server_sock.accept()
msg = csock.recv()
csock.close()
process(msg)

A UDP loop has similar steps, minus the accept and close. The complexity to use threads or async to run process() is the same for UDP and TCP.

For a normal data volume remote command protocol, the simple TCP loop is more than adequate. Just set a reasonable MAXCONN to queue up client connection requests, which can drop connections if there are too many requests, just like UDP dropping packets.

Edit: I don't believe lock can be avoided in Sonic Pi server when handling concurrent incoming commands, whether it's written in Erlang or not. Sonic Pi I believe has a single audio device, which makes it a shared resource. Concurrent access to a shared resource has to be managed with lock somewhere along the call path. In that case a single thread TCP server is perfectly fine, serving as a lock as well.
The startup that’s making a big, expensive bet on a Super Bowl ad this year
> cultural knowledge and norms required to become aware of, and then signal competency to, YC.

If the core problem is the poor's lack of skill in signally competency, how would it matter if the application was online or not (e.g. a mail in form)?

I feel that YC programs that target specific minorities also already try to account for this issue in an efficient way, though I may wrong.
If you're the first hire, who were the old developers you're cleaning up after.
Gotta say - Well done.

I'm a remote guy and have been for over 10 years (different companies) and being a part of a community targeted at "just remotes" is something I've wanted for a long time.

The site is polished; extremely so for something "brand new". It was a joy to write my first two posts, setup my profile and read literally everything on the site this evening. Little things like the activation e-mail not ending up in my spam folder in GMail (which seems to happen with every "Show HN" activation message) make me believe you've got a bit of experience doing things like this.

There haven't been that many forum/HN/Reddit-style sites that I've actually been excited about -- I'll be checking back in frequently and I hope you manage to build up an active community as a result of the work you've put into this.
> New York City politics is also influenced by people of color to a degree that no other major city in the US is

Washington, DC?
> so many state governors doing things like ... enabling the Flint water crisis.

Beware of simplistic narratives. It now looks like Flint took on the very tough job of water treatment as a jobs / stimulus program[1] -- something they turned out to be completely incompetent at -- and also as a way to resolve a pricing spat with Detroit over water supply.

As well the Michigan DEQ shoulders a lot of the blame for covering up the issues.

1. http://reason.com/blog/2016/01/25/the-flint-water-crisis-is-...
What was the fake reason for not reading-the-freaking-article yourself?
Usually if I have a problem I can have some nightmare of going through the same futile steps of solving the problem. Next day, I'm pretty much ready to try some different approach.

Before I sleep I pull out a notebook and scribble down ideas of what things to do and such - there I might come up with an idea to use later on. Usually some problem and possible solutions. Sometime at that phase I think of some novel approach to solve some other problem.

I find a lot of the aha moments in my dream only sound great while in the dream. Mainly scientifically impossible in real life...
The things I have to do to read an email sent to me by my government
Yes, all over the place, explaining the business reasons behind the algorithms, or why some code was put in place to resolve a specific browser oddity (usually with dates and versions so we also know when it can be removed in the future). We also use comments to indicate when code is written to follow a specific decision from the CEO, and was not just an arbitrary design choice by us coders.

In short, we make sure that a coder can read the code and understand not just the code, but how it fits into the larger business.
71 year old improv piano streamer gets 40k+ viewers and plays requests
After seeing the light with Ada I never want to go back - indexing based on enums, modulos, etc. just makes so much more sense (as long as you're using something strongly typed)
For reporting actual, demonstrable GPS constellation errors only (not equipment or user issues):

mailto:pnt.office@gps.gov

via http://www.gps.gov/support/contact/

(Folks at shops like Trimble and Garmin already have contacts within their respective orgs, so employees should try to work with their channels where possible.)
Nothing against IDEs as i have used many in the past. Once i started working with a large number of distributed systems, having VIM or Emacs foo became sufficient.
Someone should make a Minecraft clone out of this.
Sure, but if you attempt to criminialize my recording of said observation in a shared database, you are violating my freedom of speech to protect your privacy. It's not immediately clear which is worse.
Nyuzi is a Swahili word for threads.
Word (by default) puts shapes in a static/relative position line with text and makes it hard to move shapes around without changing the text wrapping setting for individual shapes.

Excel (by default) puts shapes in a absolute position that can be freely moved around and repositioned.

PowerPoint does the same thing with shapes but there isn't a grid to draw on top on.
I know this will not be a popular answer but if your program is too complicated to understand in a text editor I think you might have a problem.

I will however use an IDE if I'm inheriting a project that I can hardly make sense of.
I now may take solace in the hope that most of these awful comment threads are just the same person arguing with themselves!
Social Media planen und automatisieren mit Mass Planner
In the life of
Fwiw it seems like Fb moving away from Json had little to nothing to do with size of the data.
You seem to have a pretty typical use case that we're targeting. One thing to understand about Kudu is that it doesn't run queries, it only stores the data. You can use Impala or Drill, they'll figure out the locality and apply the aggregations properly/push down the filters to Kudu.

Did you initially pick ES over systems like Impala because of the lack real time inserts/updates when used with HDFS?

BTW, here's a presentation that might help you understand Kudu: http://www.slideshare.net/jdcryans/kudu-resolving-transactio...
> Washington, DC?

Okay, though I guess it depends on your definition of 'major city'. D.C. proper doesn't even have 1/10th the population of NYC; it's smaller than even El Paso, TX and Charlotte, NC. It doesn't even break the top 20 largest cities in the country.

Though more importantly, D.C. is unique politically because it's not awarded the rights of a state, and therefore not protected from the federal government the way literally every other city in the US is. (Even San Juan, Puerto Rico, has more autonomy from the federal government in some ways than D.C. does)
They should have kicked ass on product. Instead they got caught with their pants down at the Vive announcement.

And PSVR is going to be competitive with the Oculus recommended spec machines, which are 3-4X as expensive, due to smart choices in panel (less nominal resolution but more sub pixels saving 25% of performance for comparable quality; 60fps reprojected to 120Hz, saving another 33%). Both choices combined give it nearly a doubled performance boost relative to the hardware it is running on, allowing a similar quality of experiences for potentially close to a third of the total cost.

And Oculus won't even have motion controllers until potentially the end of next year.
I couldn't agree more. This a sure path to disaster and unhappiness. Fixing code requires understanding what it is doing in all except the most basic examples.

Unless you have a firm set of tests, or strict API constraints defined, don't ever follow this rule. It will only lead to a sad tail of how you created this huge bug that deleted all the customers data because you though this Boolean wasn't used anymore, so you removed it. It makes for a funny story, but a really bad couple of weeks.
Yes, I had once asked GJS about that exactly that story, and he confirmed it (though maybe not the exact words).
Sure, maybe at a company with enough resources to throw at code quality, but this is Walmart we're talking about.
The polish, the forums at least, are probably due to using what looks like Discourse to power the discussions.
Plus Ecc memory and dual graphic cards for the pro. Bu if your software is multi-core I guess its the way to go, but if your just using 4 cores, the iMac 5k is pretty competetive if not faster[1] and significantly cheeper.

[1]http://barefeats.com/imac5k.html
There's a big difference between an app that 'uses a WebView' to render specific pieces of content or clicked links, and an app that is basically a thin wrapper around a WebView. Can you clarify whether your ~85% number is referring to the former or the latter?
Disassembling and patching a binary is a completely different thing from porting software to a different OS without access to the source code.
How to Get Five Planets into a Single Photograph
Note that it's not just something you can open in Excel it works in LibreOffice 5 as well flawlessly.
Absolutely fascinating, thank you for sharing! Do you have any resources you could share to learn more?