skysight-inc/HackerNews huggingface dataset:
Today I'm announcing the release of FireLite, a very simple C# TCP socket server/client library.

The purpose behind this project is to power an online game I am developing, so I will be continuing to work on and improve FireLite alongside developing a custom server/client based on the FireLite.Core library.

I built this because I couldn't find a simple implementation of TCP sockets that included a client library too, most of the projects out there are just servers or just clients. Either that or they were overly complicated and opinionated.

FireLite makes no assumptions about what you want to transfer over the network. It simply writes and reads bytes. It is up to you to decide what you want to send. For a starting guide there are two sample apps. One "SimpleServer" that sends strings over the network, the other "JsonPacketServer" which sends JSON objects over the network.

Hopefully this will be useful to some people out there!
The Solution to All of Your Life's Problems
Energy storage megashift ahead, battery costs set to fall 60% by 2020
Thank you!

> act slightly wonky when it doesn't.

I would hope so. Autoplay videos are fraught with discrimination: "live in a country where bandwidth is expensive? Fuck you, have an autoplay video."

I hope browsers move toward having autoplay as default "off" in the future.
They're expensive because they're illegal, it creates an opportunity for arbitrage.
I seriously believe that Ubuntu is not the best decision. SUSE and Redhat have much better support and services.

More people know Ubuntu and is why they use it.
Does HTTP have exceptions? No, it has error codes and error messages. gRPC is a protocol. Implementors can choose to use exceptions or not, but that choice is tangential to the actual protocol.
You've got to draw the line somewhere. There's always situations where having more people/resources would have made the difference between life and death. In an ideal world, you've have a fire station on every block, dedicated traffic lanes just for emergency vehicles and you'd use a helicopter to get someone to the hospital as quickly as possible when it might be slightly quicker than regular ambulance transit.

It just not reasonable to use that many resources in 1 in a million scenarios like you are mentioning (where a 1-2 police officers and 2 EMTs couldn't handle the situation, the person calling couldn't provide enough information to determine whether fire fighters were needed and making it to the hospital 5 minutes sooner would have made a significant difference in the outcome of the victim)

Per the article, only 1.5% of the incidents the SFFD responded to involved fires and they had a budget of 330 million dollars. How much money could be saved by using police and EMTs in those situations? (and used in more effective programs that are actually going to help the homeless get off the street).
> If a designer (or whoever decides) chooses [whatever] it's because...

Sorry, but you are not the authority on the reasons why competent professional designers (or whoever) chose anything. (and I'd argue thtat most professional web designers are bound by many, many requirements that they can't even change, like having intrusive advertising, javascript, tracking and plugins)

Everybody has a right to their opinion and obviously a lot of people don't like the way the web is being "designed" or else we wouldn't have scores of plugins used by millions of people to block or change things they don't like.
So the author just replied below claiming that it wasn't PR hit. I don't actually believe that, but on the off chance that this isn't a PR hit then it has to be something worse: he did a bunch of googling, saw a spate of news stories about the death of AV (thanks, PR guys!), and was like "hey, the story here is the death of AV... I have a news hook!"

In other words, it was self-pwnage. He did the PR firm's work for them, and nobody at that firm even owes him one.

Also, whatever I might speculate, I do know this for a fact: a screenshot of that article is going on a PowerPoint slide and will be victoriously displayed in a meeting at some point soon.

Edit: Also, I wanted to stab myself in the eye when I read this howler:

"Because Netflix, a well-known innovator in the tech sphere, is the first major web firm to openly dump its anti-virus, FORBES has learned. And where Netflix goes, others often follow; just look at the massive uptick of public cloud usage in recent years, following the company’s major investment in Amazon Web Services."

So everyone uses "the cloud" (whatever that is) because Netflix uses AWS. I don't remember the last time I saw a reach like that on a site like Forbes.
Google is like a convenient highway that everyone takes to work: just because there are other routes (DuckDuckGo) it doesn't mean people will take them, and regulatory framework has to, in absence of a legitimate competitor (Japan prefers Yahoo! for some reason), treat Google as a functional monopoly.

Standard Oil held down prices which was good in theory for customers, but it was devastating for competitors and their employees, who spent like any other consumer. Europe's attitude towards Google isn't very free-market minded, but they are asking what kind of society they want, rather than having the economy as the be all and end all of their values.

EDIT: If you're going to downvote without explaining why, then you haven't really helped the conversation, you just made yourself feel less insecure about your own opinion.
Did a deathbed confession reveal the location of Nazi gold train?
I can't even get enough time to do Nim, Ember 2, and Rails 5.
> When undeveloped countries start developing faster

But will they? If you look at G-7 vs non G-7 markets over any reasonable time frame, what evidence makes you expect that non G-7 revenues will come anywhere close to G-7 revenues on a per customer basis? And given how stringent the EU is on privacy concerns, perhaps EU revenues will forever remain significantly lower than US revenues on a per-customer basis.
I don't think there's much spin on the article to be honest. The article is mostly giving backstory on moot and 4chan or talking about "reprehensible" things that happened/originated on the site.

> The article calls these "the good times", though.

Actually the "good times" quote is the author referring to moot's "Summer of Chris", or his time away from the site.

> The stuff highlighted in the article...is really mild compared to all the nasty stuff that happened before, like someone posting photos of girl they just murdered

From the article:

"Though Poole does find some 4chan posts 'reprehensible' — like when a murderer posted photos of his victim on the site..."

> If leaking nudes of celebs and gamergate was really what made moot give up on 4chan, it would be much more interesting to read the longer story, what changed in him throughout the years that made it no longer acceptable for him to be the admin of the place that hasn't really changed during his tenure.

I think the site did change over the years. And I think the article even tries to make this point. I think the idea is that the sort of fappening/gamergate stuff wasn't there in the beginning. While the site has always been full of tastelessness and cruelty, I think it was the acts like this that drew a lot of attention and forced moot to confront 4chan's users. And that confrontation created the conflict and stress that finally drove moot away from the site.
... all I have to say is... I LOVE SCIENCE!
"We" is "infrastructure teams at Google". You apparently work there too, my username is the same.

RCU is an overloaded name; it's both a family of implementations of epochs, and a pattern for using epoch-like systems. The name literally refers to the latter (a read-mostly RWlock setup where we don't bother protecting the read side of a data structure, but _copy_ and atomically update access to the data, using epochs to dispose of the old version safely) but is often used to describe the whole system (tracking quiescence and determining when disposal is safe.) One could easily use the kernel's RCU (our my userspace one) to build a data structure like this.
Creator here. Here's the description:

"This app lets you track how many minutes you've gone without doing a certain habit that you either want to build or remove. You simply enter a habit like "eating junk food," "smoking", or even positive things like "flossing". You'll be told how many minutes you've gone since doing the activity, so you can try to either minimize the time for good habits or maximize it for bad habits. See if you can beat your all-time best!"

I built it using the Ionic Framework, which is awesome!! It lets you write an Angular web app and uses web views to render it as a mobile app for both iOS and Android. I don't have an iOS developer account but if people like this then I'll go and upload it to iOS too.

I was inspired by those step counters that show incremental progress. There are apps like chains.cc which let you track things day to day, but it's way more fun to see something uptick every day. Would love your thoughts!
You are entirely correct and it is too bad I did not delete my comment in time. Here I am with an intense dislike of bogus criticism on HN and yet perpetuating some. Sleep before you post...
Sad and frustrating. Not only will this deter future donations but it once again highlights adults behaving badly. Given Newark's track record, the money should have been:
-given to a foundation to manage
-restrictions should have been placed on how the money could have been utilized
-Newark as a whole or individual schools or community partnerships should have been required to submit spending plans
-A grant writer could have been hired to leverage this gift far beyond the $200 million as there are probably any number of federal, state and private grants that could have been pursued to
- some measurement of the impact of the various initiatives that were funded from the gift should also have been tied to funding
What Newark can not do is cry poor mouth again.
Phone: iPhone 6 : base : iOS9 beta : since release : had a 6 plus, hated the size, switched to T-Mobile from ATT and turned in the + for the 6

Desktop : 27 inch iMac : core 2 duo base config : OS X 10.10 : 10 year? : size of screen for programming, connected to a HP 27inch wide screen for 2nd monitor

Laptop : 13 inch Macbook Pro : i5 base config : OS X 10.11 beta : 9 months : portability / freelance

Router : Apple time capsule : base 2tb : 3 years? : dumping place for anything and everything

Watch : Apple Watch : 42mm aluminum : since release : love the workout tracking and notifications, never leave the house without it

Headphones: LG HBS 730 : white : 2 years : hand free bluetooth speakers and microphone that don't fall out of my ears and no cord to get tangled when moving around, i wear them everywhere I'm doing something active

Car: 2014 Acura RDX : base AWD : black on black : gets me to work and back, meet with freelance clients, etc... love the size and power but even with AWD, kinda sucks in the snow (snow tires fixed this) (is a car a gadget?)
A few things:

- Most people who write shell scripts really don't want to write a 'ps' or 'ip' (or for non-Linux, 'ifconfig') replacement. On the other hand, Python and Ruby have libraries that talk to /proc and the network ioctls directly.

- most shell script authors don't even use bash arrays, and higher level data types don't exist. It's hard to represent a C struct in shell. C libraries are therefore exposed to shell scripts by scraping their stdout.
while HHVM has a little bit of popularity I don't think Hack is really popular. But good for them if it works.
Google uses Search as a secret job interview tool
Google's Chrome to start auto-pausing Flash ads on Sept. 1
From Pony Express to Amazon Drone: The History of Delivering Packages
Before government policy shifts enough to transition the DEA to that role, there will be full legalization. Once we're that liberal, you'll be buying your molly/heroin in regulated pharmacies, not from sketchy dealers who are willing to let you inject rat poison.
Anything is possible (crystal balls are notoriously unreliable), but in the linked forum, Mr. Alexandrescu says Facebook is not backing away from D:

"Facebook is and continues to be a D user, the last project I was working on (and is ongoing) uses D, and there's more use in smaller internal projects. But there is no stronger involvement for the time being."

http://forum.dlang.org/post/qnfbjzpldfhqsfqclqdx@forum.dlang...
Slightly off topic, but are the documents created by YC for YC companies open source? Specifically, the agreements beyond just the Articles of Incorporation?
You're not sure what the point is, but you still believe you can present a good summary of it? One might suggest that if you know you don't understand something, the odds of being able to present a good summary are slim. There's more to summarising something than removing words.

On the plus side, kudos for saying "summary" rather than tldr.
The DEA is currently what I would call to be "nanny government". It exists to limit your options and punish you for certain choices, in the name of your safety and in the name of "public order".

My vision for the DEA is more libertarian, shifting its functions to information gathering and dissemination rather than forceful modulation of the citizens.

We don't need a nanny government to keep us safe, we need the quality information to decide for ourselves what "safe" is and what margins of safety we are willing to tolerate. This works for some things but not others, obviously.
Modern projects [Discount]
Game devs will 'never' switch to D or anything different from C++, it's a standard in the industry for the past 20 years, everything is built around it.

Edit: yeay the downvote bandwagon, you should go to a AAA studio and ask about C++.
As a junior Python dev myself, these things proved invaluable:

- Building a good resume. This will be different form someone with more experience but creating a nice looking, well edited resume that focuses on the qualities @MalcomDiggs highlighted.

- Network. Go to Meetups, find out if there is a startup week or something similar in your area. This is very helpful for finding jobs and gives you a chance to meet and learn form more experienced people.

- Don't make job sites your only avenue of search. I have had extremely poor results with them and have had far more luck with HN jobs postings.

- As for technical skills learning at least one framework is probably a good idea. There are tons of them to choose from in Python but learning at least one pretty well will make learning other ones easier. You should be familiar with PEP-8, data structures, yield vs return, comprehensions and a good handle on the built ins. Having a strong grasp on the fundamentals will make learning easier.
In general VCs may view this negatively, but traction trumps everything. If you can prove that you can execute and that you may be onto a billion dollar opportunity then investors will tolerate essentially anything.

Compared to other teams you may need to be further along (in terms of traction) to prove that you can work well together.
If you can configure the DNS servers directly or via DHCP in the network settings of the device, then you can take control of how domains get resolved at that level.

In fact I've (unintentionally) bypassed site-blocking on some public networks, just because I configure my devices to use public DNS servers instead of whatever the DHCP provides.
You don't need write access to the target. A symlink is simply a file with a special attribute set, so all you need is the ability to write to the symlink's location (as opposed to its target).

e.g.:

$ mkdir secrets
$ ls -l
drwxr-xr-x 2 ajf staff 68 28 Aug 15:17 secrets
$ chmod -rwx secrets
$ ls -l
d--------- 2 ajf staff 68 28 Aug 15:17 secrets
$ touch secrets/foo
touch: secrets/foo: Permission denied
$ ln -s secrets lies
$
Digitial Mapping Projects of History
It works--ish for Asia->US and back. I still find myself waking up around 3am local every so often for the next week or so however. And 3pm I need to get up and walk around for about 15 minutes or I find myself drifting off.
I have a ton of public-facing servers on the Internet, running RHEL, Debian, Ubuntu, FreeBSD, and, yes, there's even some Windows machines in our datacenters (fortunately, I don't have to touch those and haven't logged into a Windows box in years). My personal machines (at home and in the datacenter) run RHEL, FreeBSD, OpenBSD, and Debian and my work laptop/workstation runs Ubuntu. My e-mail ends in @gnu.org and I don't work for a "Big Enterprise, with Big Serious Enterprisey Stuff". I work for a "Small-ish ISP, with Small Not-Serious un-Enterprisey Stuff" that ranges from web and mail servers to monitoring systems to file servers to RADIUS & TACACS servers. I started with Slackware in 1996, jumped to Debian soon thereafter and used it exclusively for about 10 years before "branching out". Now, I just use the Best Tool For The Job(TM). I also avoid making blanket statements about groups of people based on their software choices.
You're right, of course. As policies, harm reduction can't coexist with harsh enforcement.
Ask HN: Referral to CPA or lawyer for state sales tax and -income tax matters?
I've been asked for a referral to a CPA or lawyer who is an expert in determining when a (U.S.) cloud-based software company (SaaS, I believe) must pay (1) state sales tax, and (2) state income tax, for license- and maintenance sales to customers in various states. Any recommendations?
Replications often don't happen, because it's not considered "new," and who wants to pay for something that's not new? Who can get accolades and titles and journal articles and tenure and HIGHER IMPACT FACTORS out of the drudgery of replication?

There are a lot of science popularizers out there who focus a lot on the power of science, and its ability to self-correct. And given their audience, it's probably a good message to get out there. It's a lot better than most other approaches we've had throughout history. But I think they can give the wrong impression of science (often spoken of as SCIENCE!!!! with exclamation marks) as this process delivered to humanity on stone tablets from on high, and with a little too much trust in the idea that "the arc of science is long but it bends toward correctness."

Science is a frustratingly, painfully, agonizingly human process, made up of people in various organizations, with their own lives and goals and objectives. It's a process where there's been enough of a correlation between what its participants want, and what accuracy/truth/improvement demands, that it's worked pretty well so far, and it gets good results eventually. But there are also perverse incentives in organizations and personal failings in its participants. Things like funders' quest for short-term results, the desire to only back proven winners, the drive to publish or perish, etc etc.

Goodhart's law: "When a measure becomes a target, it ceases to be a good measure."

I guess it's a little like the slow, slow process of natural selection. Given enough time, you can get some pretty impressive, complex stuff out of it, but you can also get stuck in a local maximum for millions of years.

I don't know what the solution is. Perhaps it would be nice for graduation requirements for master's/PhD programs to require attempted replication of some existing works -- but then there's the risk of selecting things that are easy to replicate. Or maybe some mandatory percentage of research grants going toward a common replication pool. Setting up a good incentives structure is hard, because any institution that constrains itself by following new rules "for the good of science" will find itself falling behind in comparison with institutions who only work on the new exciting stuff and get more of the media attention.

I feel fortunate that I'm in computer science, where a lot of our work is inherently easily replicable due to the nature of code (of course, once it gets into user studies there's so much wiggle room that the same problems arise), and I always appreciate when a research group releases testable, compilable, documented code alongside their papers. I'd like to see that sort of practice be more mandatory in CS, but when official prestige comes from journals only, the incentive structures don't reward CS researchers for making maintainable, understandable code -- just code that gets the results and pretty pictures. Academic code is infamous for being poorly-architected.

----

Along some of these lines, it's always a good read to go through Feynman's "Cargo Cult Science": http://neurotheory.columbia.edu/~ken/cargo_cult.html
Have you taken this offline? Can't get to it at all right now.
No need for a fallback in Chrome, and it'd be exempted under the tiny transport plugins exemption too.
What do you mean by tech background?
Herbert Hoover was an engineer before he became president.
Check out Real Python: https://realpython.com.

The second half of the second course and the third course cover intermediate to advanced material.

(Note: I am the co-counder/author).
How so? People complain, on others' behalf, about minwage jobs yet offer no particular solution other than: force the min wage up, causing inflation and unemployment.

I'd love to see someone open a McDonalds-like fast food restaurant that paid $20 or $25 per hour, plus decent benefits, and make a profit. If it were possible to do, why can't anyone do it?
How to make decisions, stick with them, and be productive
This is he. AMA!
A lot of ADTRW moved because SA had draconian policies against so much as discussing stuff like piracy, sexy anime babes, etc, except to condemn it and talk about how you're totally not into all that stuff.
It's (a). If you get substantial food while you were starving, your body will guess that this time of the day is a good one to be awake at, in case the food source is available every day at the same time.

So a solid breakfast after a short period of fast resets the internal clock.
I concur. Many people have an insufficient understanding of contracts - especially concerning the difference between refusing a service, and failing because of an error.

An inherent requirement for any contract language is a signal to refuse a service if the pre-conditions are not met (for example, refusing to withdraw money because of insufficient funds in an account).

The most pragmatic solution to this inherent feature of contracts are typed (checked) exceptions - anything else is a less robust, incomplete solution.
Some file uploaders have a tiny flash backup today - and some of the ones from just a few years ago where little more than a button image with a flash backend.

http://caniuse.com/#feat=filereader
I'm under the impression that you haven't read, at least fully, my reply.

> Sorry, but you are not the authority on the reasons why competent professional designers (or whoever) chose anything.

That's why, after the portion you quoted, I added an addendum: "If he did not, or he is not aware of the downsides, then it's a matter of incompetence, not web design".

> Most professional designers are bound by requirements that they can't change, like having intrusive advertising, javascript, tracking and plugins

... and that's why I added, exactly in the portion you quoted, a parenthesis stating "or whoever decides". How could it be clearer?

If "whoever decides" decided for any of these options, it's because he considered it outweighed the "cons" (so, by design), or he didn't considered the "cons" (so, by incompetence).
Anatomy of a Program in Memory (2009)
Here's a timeline: journalist speaks to Netflix, Netflix says it's ditching anti-virus, journalist gets further comment, reports. Don't be mad Jon. It'll all be OK.
Infographics: A Look at Whatcha Reading?
TOP 5 WEDDING GIFTS VOTED AS THE BEST
True -- is there a better term for the comma usage illustrated in the two Jane Austen quotes?