skysight-inc/HackerNews huggingface dataset:
This may suit the author's style and that's great. But I strongly disagree with several of these. Calling them "rules for good code" just seems like a lot of hubris.

> 0. Use Git and Github. I'm not going to dignify this with a non-zero number. If you aren't using git and github.com then you are already making excuses for doing it wrong

Okay? I'm glad you found a tool that works for you, but there are plenty of others. And he's not saying "use source control". He's literally saying that no other tool is good enough.

> 2. Make it Open Source

I don't wanna. Doesn't make my code bad.

> 3. Always Be Making APIs

This is extremely web centric. For web specifically there's a case to be made here, but he certainly didn't make it

> 4. Don't Document the Code

I guess don't ever work on a team of more than two then.

> 6. Better is the Enemy of the Good [...] Do not optimize your code. Aim for "OK" and then stop

That may work for your project, and maybe every project you've worked on. But it won't work for an airplane's safety systems.

> 9. Make Portable Code [...] Your code should run on every box there is

Why? Everything else he's talking about is very web-centric, so let's assume that. Don't you control your whole stack from metal to OS then? Why bother making it super portable when you know everything about the system that will be running the code? You have all of the same upsides of programming for a game console. You're in one of the few environments where you can use all of your platform's features. Use them!

> 10. Lie to Your Management [...] When they demand schedules, plannings, designs, and architectures, lie to them

I don't even know where to start here.
Memebox (YC W14) Is Hiring for Engineering and Design
C compilers generated so bad code that games only started using it in home computers instead of Assembly during the mid-90's.

On workstations and mainframes there was hardly any difference to other heigher level system programming languages. In fact C prevented many compiler optimizations due to its aliasing and decay of arrays into pointers.
Ummm, I run a small business, and I take advantage of intellectual property rights. Of course, you have no idea who I am, so why would my rights matter to you?
Is there anywhere I can traceroute to / test upload & download speed? I'm on a 10/1 connection, and I can only use about .5 of that 1 before my connection is completely tanked. (Thanks, Australian Governments). If I could do a trickle upload and write some good scheduling, I'm definitely moving to BB2 - from Glacier.
Previously: https://news.ycombinator.com/item?id=10262682
No difference from just around the corner of the Twitter building.

This isn't a homeless man crapping problem, it's an insufficient bathroom infrastructure problem, and yes most mid to large size American cities have it. Which is exacerbated by laxative type drugs. 'Hello Alcohol, Hello Heroin, I'm talking to you two.'
Any election outcome where politicians who fail to oppose this, whether Democratic or Republican, are out of office and replaced with those of a different party, is the path to making this better.

If you keep throwing the bums out -- and don't tell me that's impossible, no matter how many ads they buy they can't directly control what vote gets cast -- eventually you'll have bums in office who have a better sense of self-preservation. There's a very smart epigram along the lines of, the way to get good policy is not to elect good politicians, because such beasts hardly exist or get corrupted fast: it's to give bad politicians an incentive to act good. Let's give our bad politicians a nice strong incentive to oppose the surveillance state, hey?
The correct answer is to never use programmatic ads.

Ever.

If you own a site, just curate a set of ads on your site that actually enhances your sites appeal. A fashion site should have matching fashion ads. A tech site should have matching tech ads. A local site should have matching local ads. Reach out to advertisers to get these ads. Never use an algorithm. You, as an editor, should be better than the algorithms. Ads are supposed to be useful to your audience, instead of being annoying. People buy fashion magazines - filled with 600 pages of ads- and Sunday newspapers BECAUSE of the ads. They should want to visit your website as well because of your ads.

The worst thing you can do for your site is to place out-of-context ads in the middle of your site. Can you imaging if Vogue.com decided to place Flash SSD ads on their site? This is how you destroy an audience, and as a publisher, your number one concern should be to grow your audience.

Once you curate a set of ads for your site, you'll find that click-through rates and conversion are far higher than random programmatic ads. You should know your audience, and the kind of ads that would appeal to them. Mark ads as content in your CMS. This avoids ad-blockers.

Curating ads is how advertising has always worked, and will continue to work, after all these programmatic garbage goes away.
Duplicate of https://news.ycombinator.com/item?id=10263075
Honestly, Cassandra's Jepsen didn't set a high bar:

https://aphyr.com/posts/294-call-me-maybe-cassandra/
Malvertising campaign targeted the Forbes Website, million users at risks
A Beginner’s Guide to Deep Neural Networks [video]
going pretty strong i gather from someone who works there - they did get acquired though a while ago
Thank you. I think that's a fair representation of your marketshare. When you say 'started', what exactly do you mean? Used trials versions, previously engaged, or full time active members?
Also less crowded, I think. I take the bus, for both reasons.
Not sure of what model you have in mind, but simultaneous doesn't seem appropriate: there is definitely a notion of sequence of operations.

For example, applying the X operator followed by the Y operator on a quantum state |ѱ> can be written as:

YX|ѱ>

(You don't need to know what X and Y are for the purpose of this example, but think matrix multiplication, X "touching" the state before Y.)

RE books, this is a good one: http://www.michaelnielsen.org/qcqi/QINFO-book-nielsen-and-ch...
Application Weezchat: le bon choix pour les rencontres en ligne
Agreed, but which architectural features are you referring to?
Considering what we've heard about not-so-airgaps in Chrysler's hacked ECU + onboard entertainment systems, would it be so far-fetched that other systems would be used to game testing, if only ECUs were mandatory to be open? ;)
We call that feature "drive seeding" and it is requested often. Realistically I don't think we'll get to implement it in the next few months, but maybe in the 6 month timeframe?
Don't tell us here on hackernews or any other geek forum. Go to a RNC or DNC event. Go convince Trump and/or Hillary that corporations and rich people should pay 1950s-style tax rates. Go sit in front of wealthy old people and suggest socialism for the benefit of the young. Go tell the afraid and well-armed that they need to spend less money being so afraid and well-armed. Make sure to bring your running shoes.
Uber & Twitter are next to each other, beside the tenderloin. A block away from the tenderloin is nastier than 19th st oakland BART and lake merrit.
I agree with your point on audiobooks. I have been doing it myself for a while too, but I always find myself wondering afterwards how this is not helping me to be a better reader.
So it appears that the new iPhone is considerably faster than my laptop and I am probably more likely to upgrade my phone this year than my laptop.

So ... any way to offload heavy computations to my phone?
And I totally would have agreed with the author of this article if the tl;dr of the article was just the first sentence you wrote.

Unfortunately, sanity did not prevail today.
Unfortunately, the 'rookie move' is a fair assumption. Even if there was a small possibility of conflict: Your IP is your company and these things should have been covered.

It's a sad lesson and an emotional mistake. You didn't owe the employer/managers anything and should have cut all ties to the company especially since these projects are somewhat related.

You are both good guys for wanting to help out and it sucks that things got twisted up. I hope things work out well and I wish you all the best.
They're around. Try to find a barber who works "by appointment only."
I haven't tried the Android app, but on an iPad the app experience vs the web-experience is like night and day for doing math problems.

You can easily draw your calculations anywhere on the screen, and when entering final results, you handwrite it, making square roots and fractions so much easier.

It is much more fun to do math problems on the iPad app than any other way I've tried.
A Few Tips to Make Distributed Teams Work Well
What possible reason is there not to open the source for these apps?

There could be so many contributions and innovations from people who want to help with the code.
Honestly, creating an object-oriented version of C that's not C++ would likely result in a language better than C++. C++ is not a particularly good language.
It's exciting to finally see this. Cassandra's strengths were in its distributed architecture (no master, tunable consistency, etc.). The database engine itself has always been a bit of a mess (https://issues.apache.org/jira/browse/CASSANDRA-8099).
What happens if all versions someone has are expired?
Windows has been automagically updating CTLs for a while now. Next one probably doesn't get swapped in until the old expires unless there's actual new entries added to the pre-existing one.
https://www.betabrand.com/blog/34270/make-your-laptop-invisi...
AT&T made UNIX source code available to a few American universities like Stanford, Berkeley, Carnegie...

Some of those students tried their way into the recent workstation market using what they knew from their university. Sun was such case.

Back in those days we payed for development tools, so everyone used to stick with what the OS vendors had, why shell out money for another language that implied the extra effort of writing bindings.

So like the mobile and browser space nowadays, C as the UNIX language was the way to go.

Meanwhile, those university students and professional coders with access to UNIX at the university and work, wanted to be able to take work home.

So C dialects that where able to be used in the tiny home computers started to be developed and distributed over code listing in magazines, books and BBS.

When UNIX eventually took over the mainframes market, C got into the same spot like JavaScript in the browser.

The other languages, just like any systems programming language had their OSes, but they failed against UNIX. And as I mentioned before back then you needed a very good reason to convince someone to pay extra for compilers that weren't part of the OS SDK.
Just plain ADTs instead of trying to mock object semantics.

Edit: Forgot to mention that so far I only used plain C instead of C++ when obliged to do so.
No, because on those languages unsafe is only related to memory integrity.
The one where a candidate like Sanders, who has stood up against government surveillance, takes steps to put a stop to it.
I upgraded from a very obvious laptop sleeve on strap to http://www.pacsafe.com/intasafe-z500-anti-theft-backpack.htm...

Steel wires through the straps, and looks like a backpack. I'm also big enough that unless it is rip and run, or a clear and unambiguous threat to my life, I'm not as concerned, so having a strap which won't break is enough.
There's also the aspect of currency vs goods. If I've understood correctly, bitcoin is taxed as (virtual) goods in Norway, meaning that if you make money from price change, the tax is much higher than it would be for making money off of stock/currency etc (which would be 28% off the profit, or a 28% deduction from the loss). Just because some people would like bitcoin to be a currency doesn't make it so (in the eyes of the taxman).

I'm not sure how/if thaler would change that -- but it's worth keeping in mind that "new" assets will be taxed according to how the government thinks it should be taxed, not according to how you might feel it should be taxed.
How I spent two weeks hunting a memory leak in Ruby
They don't exclusively render server-side because it's tremendously CPU-heavy: https://twitter.com/kadirahq/status/620467416749838336

Over the years, Rails has evolved a lot of ways to do server-side rendering while sharing as much as possible between runs. React isn't there yet, but there's no reason that it can't do the same given enough time.

Until then, in many ways, as a user of a site with a modern JS-enabled browser, I'm providing my own CPU power to render dynamic content, thereby subsidizing the site's cost of supporting older/non-JS browsers with SSR at negligible cost to myself (though I suppose everyone's utility function handles occasional flickering differently). I, for one, don't see any problem with this arrangement.
If they literally stole the assets (source code), that's one thing, but if they just re-used their technical skills and experience - this seems completely legit to me. A lot of successful startups/companies/projects started that way - key people had previous experience in a similar field, in some big enterprises.
That doesn't really explain anything.

I had a read of the article that was linked to from that Quora answer and I still couldn't glean 'evil' from that -- potential to become evil, yes; actively intending to do evil, not so much.
Creating user value versus business value
Nasa Open Datasets
Tom Binh makes excellent MacBook bags
Lessons from a 91-Year-Old Entrepreneur That Are Still Relevant Today
6 Powerful HTML5 Video Players: Full Comparison and Code Samples – FBlog
Not sure how one can both have traceability with merchants and: "However, we also want to stay out of the immediate personal domain, so sharing funds within a family or copying coins between devices should not be subject to monitoring by the state."

I'm guessing this means that you have either "free" trust (help from the thaler system to ensure fair transactions), or "no" trust -- essentially you hand over cash, and hope the other party gives you goods in return?

I have a hard time seeing how you could prevent "anonymous transfer of coins" from one device from the other -- across the Internet (provided the parties are prepared to risk fraud)?
Largely they do.
If I was going to tar and then gpg files, what would be the optimal "chunk size" from your point of view? Say I have 10GB that I'm encrypting and then splitting up, are you going to want 1GB chunks or many more 100mb chunks? (This also raises the question of how much data I want to lose to corruption...)
If all the intellectual property rights went away tomorrow, would you shut down your business because it would no longer be a worthwhile endeavor? (honest question, not sarcastic)
Coding Web Browser for Windows 10 IOT on Raspberry PI 2
2016 Top Trends in Mobile App Development Life
wow! i hope i could go this far! so amazing
They only have a single data-center.

> I ask because I tried Backblaze a while back, and uploads from the UK were very slow.

Curiously from here in Japan, I've managed to clock 80 MBit/s backing up to Backblaze. I presume it all has to do with what kind of international peering your ISP has.
Give this guy access! (Kyle, does that mean Neocities might gain some extra storage capabilities soon? ;))
Best Business Apps on Zapier
Definitely Typed Shouldn't Exist
You seem to imagine that the public overwhelmingly opposes surveillance but politicians are simply ignoring its wishes.

The public is clearly capable of voicing moral outrage: see gay marriage, abortion, and the Black Lives Matter movement. Where are the protests about surveillance? Why haven't the data-driven, opportunistic people who run campaigns identified this opportunity and seized it? Where are the people who care outside of HN and the rest of the internet libertarian community?

If you could find the votes to enact such a strategy in a way that politicians would understand they were being punished for surveillance and not just subject to the irrationality of the American people like they always are, wouldn't it be much simpler to rally those people around support for a candidate that will actually dismantle the national security apparatus?
It starts of by saying there is a video version. Does anyone have a link?
No. ABS detects wheel rotation. Traction and stability control use accelerometers.
This was actually my plan (sort of) for my online sci-fi strategy game Neptune's Pride when I ditched AdSense.

I was going to hand select things on Amazon that my players would be interested in. Science Fiction books, dvd box sets, that kind of thing. Then present them to the players with my affiliate code where I would normally show a google ad.

I didn't fully implement the idea because I think the affiliate rewards are so small I was worried the math didn't make it worthwhile. But I'd still like to try one day.
I'm planning on storing files as encrypted X megabyte chunks (where X is TBD) - would calculating per-chunk and then uploading solve it? There's metadata support which could store original filenames etc.
Object-oriented programming is a paradigm that can be followed in almost any language. If you're creating a conceptual 'object' that stores state and has associated methods then you're using OOP.
Major.Minor
> If they could get away with it, they would demand that you have webcam turned on, to make sure you are human. And to track your eye movements, and your facial expression, and round and round we go.

The window of acceptability needs to shift a couple of times (just a couple) before this happens.

The next few years should amaze indeed.
Basically ditched Java in favor of C++, and used a C++ framework called Seastar.

"The Scylla design, right, is based on a modern shared-nothing approach. Scylla runs multiple engines, one per core, each with its own memory, CPU and multi-queue NIC."

http://www.scylladb.com/technology/architecture/
Only 15 plants in operation have gen-3 passive cooling features and these systems are hardly fail safe.

http://www.ucsusa.org/sites/default/files/legacy/assets/docu...
So, the DTrace language specification and other public interfaces are well-documented. GNU has already reimplemented a bunch of other stuff, so why not DTrace too?
> Bitcoin and others will never succeed because they are too friendly towards illicit behaviour.

Bitcoin will never (fully) succeed because it's too complex for the general public.
If Uber really wants to earn goodwill in Oakland (which is worth thinking about because the local anarchists are probably planning their protests already), it would be worth renovating the exterior of the building too. A lot of buildings in downtown Oakland have beautiful art deco facades that were covered up with ugly concrete facings in the 1950s in a misguided attempt to look more modern. Bringing out some of Oakland's original business history would garner a ton of long-term community goodwill.
> except for online advertisement which has continuously claimed that the only laws that they have to follow is those where the servers are located

I understand your frustration, but a world in which this isn't true sounds really, really complicated. What's your alternative?
Help us test Dibz app- beta test and feedback
Is Your Kid Turning into a Couch Potato?
Do you have document on how to set it up? I'm a newbie with Ionide,fake/paket. May be I'm used to VS too much
I believe the 1922 citation is relevant because it contains specific licensing information for "Happy Birthday", which the source you cite lacks. So the one you cite could have been printed without permission, and wouldn't constitute the Hill sisters abandoning copyright.
First Live-Action Light-Field Movie from Fraunhofer
Yes, I wish more legit companies would move to Oakland
Actually it's easy but the results are pretty obvious...
There's just always been something grating to me about the cadence of Sorkin's "warring dialogue". It's very distinctive and it just rubs me the wrong way, you can always see it on programs where he was a writer. Disappointing because he's involved with a lot of good stuff.
MooKIT: A Lightweight MOOC Management System by IIT Kanpur
Intoxication does not cause hangovers. Dehydration does.
This is on my to-do list. I have friends who take the ferry and it looks quite enjoyable compared to the other options.
DropBox will continue, but it may never expand to the size its owners originally hoped, due to free competition from Google Drive and OneDrive.

At least Drew Houston has avoided the problems of other online storage companies, like Mega's Kim Dotcom.
I wish. I live in a crappy apartment in the bay area. You can park in Sierra Nevada, if you got a remote job:)
Not true at all. Conservative governments often desire things like trade protection tariffs. They may ban 'immoral' things rather than merely tax them differently, but they are still very interested in controlling the flow of money.
Awesome arcticle
Texting people actually gets them to improve their modifiable risk factors
As a side note, USP Marion, in Illinois, now is used as one of 13 medium security facilities to house federal sex offenders and protective custody inmates.
List of Angular 2 related resources
Even if it were being used without permission, the fact that it could be used at all in 1911 suggests that it is too old to be covered by copyright, doesn't it?
The license is Affero GPL, which means you need to open-source your code even if you use it for a service. "Traditional" GPL was effective only while redistributing. That means you would need to go for commercial license whenever you build a service on it. Which in fact is a fair approach for a business model when there is a company behind an open source project. Especially that this time there is no lock-in. You could always come back to Cassandra.
In or out of prison?
Hail to the Pencil Pusher
I could write a better reply, but I'm tired. Sorry if I articulate this poorly. One funny problem with a society based overly on data is that we start deciding things simply by how we analyze the data. Trends become self reinforcing to an extreme and new trends seem more unlikely to occur (because they don't match our models).

(IANAE; just a decent metaphor) In algorithmic finance, one way of determining if a stock will do well in the future is if it was doing well in the past -- consistently (momentum portfolio management). Makes sense. These stocks then do better because algorithms then invest in them. As a human, I have a tendency to fuck shit up every now and again. The government may take pity on me, but if I'm looking for a job it's fairly natural to want to optimize for the best employee possible -- based on existing datapoints. We do this already of course, but it's fairly well known what is considered the most significant stuff and what's going to be on display in the future. (Notice how it already influences us to a great extent...)

Then there's a balance of power. In open source most people can make it to a position of power in a project with some elbow grease. We don't always have the luxury of opportunity for power in real life. Also information isn't going to be public domain; somebody has control over it. I'll give a good reason right now: storing and processing that information takes a fuckton of resources; not to mention it's incredibly valuable. Ultimately sacrificing privacy is giving up a piece of the individuals power for unknown or questionable results.
I suspect Art Deco is already popular with Uber's leadership for other reasons :)
whatever this means...
The copyright on all works issued prior to 1923 expired no later than December 31, 1978 if my reading of this PDF [0] from the U.S. Copyright Office is correct. In particular, if the melody had a copyright date of 1893, it would've expired no later than December 31, 1949, because copyrights could only be held for a maximum of 56 years (one 28-year initial term and the potential for one 28-year renewal).

[0] http://www.copyright.gov/circs/circ15a.pdf