skysight-inc/HackerNews huggingface dataset:
Yep 3->5 is a typo.

r4 could be zeroed, but I was lazy and assumed that as long as it's greater than zero it doesn't matter (since it's always compared to zero).

Instruction 4 should be cmp(3,4) to force a jump to 9.

EDIT: Although thinking about it, it doesn't make much difference. It has the same effect as doing cmp(0,4) since you know r4 > 0 and r0 == 0.

Thanks!
And since you're so vociferous, I'm sure you'll do some good research and write it up for us, right? :)
Github != Git

There is a type mismatch. Github is a webservice with a RESTful API. Git is a tool for building distributed databases with an emphasis on availability rather than consistency.

If you have a project under Git source control and the only version is on Github then the project uses a remote repository but is not distributed. If you have a local repository in addition to one on Github then your project is distributed and in the event of a network partition (for example if Github goes down or your ISP goes offline) then the Git database is still available because you have access to the local repository.

Now suppose you have six developers on the project and each has a local repository and uses the repository on Github as a remote repository. If Github goes down, then the network is partitioned in a way that keeps the developers from seeing each other's work...though each developer still has their local repository available. The important point is that Git doesn't require a hub and spoke configuration. The six developers can each have access to the five repositories of the other developers plus Github. Though it could be a bit messy for systematic merging to achieve reasonable consistency, such a configuration would be robust in the face of partition.

A perhaps more practical possibility is to have a nearby Git server as a remote repository as well as Github and perhaps another server out on the interwebs...say on AWS...to provide redundancy against partition.

There are really two strong features of Github which Git facilitates. Internally, it provides a team with a remote backup. Externally, it provides an organization with content distribution. However Github's centralized nature [it even has the word "hub" in it] makes it something less than a content distribution network and when it goes down it serves to illuminate the reasons that large long running open source projects mirror their content.
Not sure if you've ever heard of Carmax, but it's designed to be the opposite of what you experienced.

I used them to basically order the car I wanted over the internet. I browsed their site, found the cheapest one in their inventory, and paid to have it shipped to my local Carmax. They called me to let me know the car was there and I went and test drove it. The price was set, so no haggling, and just friendly service. It was the best experience and probably the only way i'll buy a car again.

Check it out next time... it really was surprisingly good service...

ps. I've had the car for 6 years and ended up being an overall terrific buy...
Those were exactlY my grievances with react as well i was practically hoping somebody builds a smaller sane version of react. It could be cool if this would use html / shadowdom components instead of jsx, but i havent checked out the src yet (is there a link?)
Americans do benefit from torture and murder - in addition to rendition, colonialization, mass propaganda, and all the other things I mentioned. They benefit in monetary and security terms.

I am not claiming that this is justification. I do not think it is right or just. But I will defend the fact that on the other side of torture is expediency and quality of information, which America benefits from. This is not something that justifies the actions in the face of morals. But it is a real world fact.

If there are no incentives to torture, to assassinate, to surveil, to colonialize, to propagandize - is your claim that these things are done out of pure unadulterated evil, wrong done for its own sake? That they are not done for their benefits, despite and in the face of their immorality?

Americans benefited and continue to benefit from America's torture, rendition, murder, assassination, surveillance, propaganda, colonialization, etc in real terms. Again, this doesn't mean it was a good or moral thing to do.
x86/x64 -- http://web.itu.edu.tr/kesgin/mul06/intel/instr/rep.html
> Buying a car is war, and if you approach it that way it can be quite amusing.

Lol why is buying something a war? I've gotta say, things can seem pretty backwards sometimes in the US.
You might have to leave the planet.

Every country with the ability has it's citizens under surveillance.

Some of my clients are in counter-terrorism roles in my country ( Western, democratic ) and they confirm that they have extensive extra-judicial surveillance abilities.
how do you know if a car has a problem that's not easy to detect? i've had friends selling their cars right after when they discovered there was some weird problem with their cars, and since I don't really know cars I'd be interested to know how I can not get scammed when buying used car
Certified pre-owned may have a warranty, but the "certified pre-owned" part is just a fancy way of saying used. And there's often nothing "certified" about them at all. A friend of mine in CA just purchased a "certified pre-owned" Honda 2 days ago... quite a bit of extra cash for a "182 point rigorous checklist" they do to ensure the car is in great working order. Over a dozen of those 182 points were skipped. So, all kinds of things marked as verified working that are just broken.
Hi!
Just like your fire extinguishers tests, you should also test your database failover procedures.
Yes. Facebook.
Your story exactly covers the house buying process in Auckland, New Zealand. "What's do you think it is worth" is usually the first thing that is said. This is in a market with 20% appreciation in the last year, and still the agents behave disgustingly. Who else can say their industry has that sort of price inflation?
anaesthesiologist here..

agree that this machine is probably safe for giving sedation. colonoscopies inhabit a grey area where you can do them with benzodiazepine sedation but they are better with propofol, the only issue being with propofol is you have to be on the ball to titrate the infusion as things progress. A machine is quite capable of doing this.

for surgery requiring full general anaesthesia you do need someone immediately on hand (doctor or nurse-anaesthetist) who is an airway specialist because if you lose your airway you generally don't have long to re-establish it before the patient dies.
I'm not a believer in kids=cars and I don't like to see it propagated, even if it's true for many Anericans. There was a feature in the New Tork Times in the last few weeks about how rapidly cargo biking is gaining popularity with families. I ride to school with my older child and there are half a dozen other families doing the same thing. Globally it is absurd to suggest that children require cars. It is a uniquely American perspective.
MarkLogic Joins Billion-Dollar Club with New Funding
Things are changing all the time I hear, you can't judge Windows 10 if you tried one release. Maybe you should wait and give the final version a go when it comes out. I don't run it on a tablet so I can't tell you for sure what changed but I read user comments saying that the latest releases fixed a lot of the tablet mode issues.
Thanks for the detailed explanation, @brudgers. It helped!
The most interesting thing about the benchmarks is that they show some pretty amazing IPC. The P6-based Pentium M was known for its high IPC, but this 500MHz Elbrus core is more than 50% of the speed of a 1GHz Pentium M. The floating-point results are even better, although perhaps not surprising due to having 4 FP ALUs.

Another set of benchmarks containing an Elbrus is at http://www.7-cpu.com/ and also shows extremely good IPC efficency - it achieves 1.2 MIPS/MHz/core for compression, which is better than all the other non-x86 in that list, and somewhere between Haswell's 1.18 and Ivy Bridge's 1.24.

If they could scale this up to a newer process, they'd probably be equal to if not surpassing Intel's current x86 performance.
> I'd like to see a polished common configuration API.

https://xkcd.com/927/
Been working on https://fris.bi for a while - it's a WebRTC group video chat app.

Would love anyones feedback!
Coffee and tea are usually made with boiling or close-to-boiling water. Water in an open container at sea level simply can't get much hotter than 'boiling'. The argument that the coffee was 'too hot' seems specious. Instead, the design of the cup is the more important issue - the company was serving hot coffee in a cup that was prone to failure.
I thought Google was running containers in kubernetes? AFAIK you can install Kubs on VMs
The Way of Testivus [pdf]
So, there's three "official" grammars for Rust? The one in the documentation, the reference grammar (that serves as documentation and testing) - and the actual grammar, used in the reference implementation? No wonder there are inconsistencies...

Sounds like paring it down to two: a reference/testing grammar that is well documented; perhaps written/maintained with a literate programming tool and the actual implementation is a good idea. Kill off the "only documentation" grammar and/or merge it with the larl-one.
[Disclaimer: I am just some person on the internet with an opinion and full enough of myself to share it]

My gut tells me that you'll probably be better off financially pulling the plug and liquidating than taking the terms typically offered to a firm that is about to go under. Two weeks is rarely likely to be enough time and anyone interested in the assets can sit back and wait for the opportunity to purchase them in the near future. There's not much upside to taking them as collateral on a loan in a non-equity transaction. Anyone optimistic enough to sink money in will probably want something sweeter (e.g. a share of future revenue) plus the assets as collateral to compensate for the risk. Such a person will be in a position to drive as hard a bargain as they want. There's just no time to obtain multiple parties and negotiate from strength.

The four years spent building the business are sunk costs, and if the business is about to die it's often better and less painful to kill it off and start again than drag out the suffering.

Good luck.
Is there a guide for using any of these algorithms with a trivial online (i.e. real time) dataset?
> But if you think negotiating is unfair, well, yeah, of course it's unfair. File that next to "The Spurs lost" and "I'm not married to a supermodel."

So you accept and encourage car salesmen to take advantage of people with poor negotiating skills (or people that are easily manipulated)? Do these people deserve to have their money taken from them, or does their lack of skill mean that they shouldn't be buying a car at all?
It's part of an old set of laws that were put in place to protect dealers. It kept a manufacturer from selling a market to a dealership, allowing that dealership to expand the market in the area for them and then moving into that market on their own.

Meaning, Ford sells a dealership the Los Angeles region. The dealer spends money advertising how great Fords are in the local market. Sales go up. Ford decides to open its own dealership in Los Angeles and compete directly with that dealership.

The law was useful a long time ago. However, it shouldn't apply to manufacturers who don't have dealerships that need protection. Entrenched businesses are using that law to keep out competition.
Yep, even the longevity argument is no longer valid - where are the local guys who will support my Mitsubishi and Suzuki after the respective manufacturers pulled out of the US market?
This is great... but I am torn because, as someone who has spent a lot of time with databases, I feel like there are many mistakes that can lead to confusion.

First, it's not teaching standard SQL, it appears to be teaching MySQL. That means any user who tries out any other system will immediately run into confusing error messages about the double quotes. Not ideal, and totally unnecessary -- sticking to standard SQL should work reasonably well in MySQL anyway (at the beginner level, at least).

Second, in the section "Creating Tables and Inserting Data", the teacher jumps into surrogate keys immediately. Again, I feel that is unnecessary and will just lead to confusion. The beauty of a relational database is that it connects with the real world; and having arbitrary numbers floating around destroys that beauty.

I really hate to criticize, because I really support the effort. Hopefully my feedback is useful.
This is insane, even from just watching I couldn't really keep up.. not to make it sound less impressive, but it's interesting how the timings of the levels/bosses are pretty similar
I used to write code for Nortel, and heard all about "comfort noise". When I discussed it with senior engineers I understood it was only transmitted when the line would otherwise be quiet. It's not superimposed on existing noise.
Ask HN: Any tools to make presentations like “The Secret Lives of Data”?
http://thesecretlivesofdata.com/raft/

Are there any existing resources for creating animated presentations like that with relatively little effort compared to just forking this project and hardcoding all nodes and interactions for each part like it seems they did here?

I've seen concise notations for generating simple protocol diagrams and thought I'd test my luck in case it's possible to do an animated demonstration like this without the verbosity that a fork of that exact project would entail.

Thanks!
Also for people who don't want US backdoors in their hardware.

I can imagine that quite a few companies outside the US are going to build some of their core IT around this CPU. The CPU price is quite low if you consider what the data is worth.
I quite like immutable infrastructure. It means you have a rollout/roll back with a flip of a dns/connection.

However I see a lot of things about docker and think two things:

1) most people really wany a mainframe
2) shared filesystems really are brlilliant.

Let me unpack that:

a mainframe provides a massive amount of hardware, a hypervisor and scheduler. This means that you can control a bunch of isolated processes through one one system easily. Something that you can't really do in docker yet (fleet/kubernetes arn't there yet. in a mainframe you can use a single script to control an entire system)

Quite a lot of web config management is about shipping packages to different machines. Almost all of this config, and therefore complication can be removed by using a shared filesystem.

For example we have many version of java. For some reason they are in seperate repos. This means that if you want to change version (openJDK to oracle etc) you have to change config. With a shared file system, in the $PATH, you'd just say oracalejava-1.8 $programme or java-1.7 $programme

If you make your deploys to a similar shared filesystem, then to change config is basically a case of ssh machine, kill old process, launche new process. Job done.

This makes each machine a dumb execution system, minimal state is contained in each node.

With NFS coming to AWS, that'll be the model for my new infrastructure. the reason why? because it works. In HPC thats how we've been managing high scale workloads for years.
http://typedrummer.com/oo3oc4
“Entanglement is the fabric of space-time,”

Could this also be rephrased as "separation is illusion" ?
After reading the job description presented by the author I have to disagree to a degree. It states:

> Deliver engaging, innovative prototypes, and contribute to front-end development of our products.

That looks like development to me. Not as a primary role but development nonetheless.
According to the article it's more like studying a computer and realizing it has clock cycles, where all the circuits are synchronized by a global clock. It's a very interesting finding.
I am pretty sure you can't actually construct such a type (at least not at the moment) so Rust sort of sidesteps the question.
>>I don't understand, though, why there is this idea that direct sales would result in a better deal.

If direct sales were possible, dealerships would have to offer better prices or go out of business. If I could order a Honda Civic from honda.com directly for $20k, that gives me a good base bargaining position in the dealership. As it is we have the nebulous concept of the MSRP, which isn't very helpful.
Two ways of declaring JavaScript functions
Khan Academy is using SQLite (because there is a JavaScript version of it)
kibwen, this whole reply should be an FAQ somewhere if it isn't already. Nice precision!
Because they are enums done right. Enums in C and many other languages are often just a helpers to define integer constants (or abused in this way) and can be evil.
Hibernia Express comes in at around $300 million according to the linked PDF on the Hibernia site:

http://www.hibernianetworks.com/corp/wp-content/uploads/2013...
The Legal Fight to Put Whatever You Want in a 3D Printer
We could also do network analysis on the graph of people reporting other people. If there are any strange, unnatural patterns, they could be ignored. But if Jonny has been reported by 10 people in the last month, and those 10 are unrelated to each other, that would be compelling evidence Jonny is not behaving well. The system can still be gamed if a group of people are organized online to report targets (like 4chan does DDOS attacks). Fortunately, in order to report someone one would need to disclose his identity. On 4chan there is radical anonymity, by contrast.
I think that should be in the actual guidelines as linked at the bottom of the main page.
How to use encryption and authentication correctly
Maybe the teacher believes that learning how to read a textbook is a useful skill and that in the age of the internet students are not developing it sufficiently to effectively evaluate the strengths and weaknesses of alternative approaches. It might be possible that the teacher wants to expose the students to the higher level concept that History and Science have literature and are not just dead collections of facts.

Sorry for failing to be outraged. I don't helicopter my teenager... being challenged by schoolwork is on the list of things I hope for and a great use of technology would be J for mathematics class. Google and Wikipedia were part of the elementary school curriculum.

Good luck.
VMWare Project Enzo Demo
Sure, will give it a try. Thanks!
> I mean its cheaper to rent s3 / the new aws nfs solution or any other s3 like storage solution

Sure if you never pay for bandwidth.
This highlights a further asymmetry in CAP. Yes, P is unavoidable if you have a distributed system. But also, availability is a property of the system when there is a partition. If you're not going to tolerate partitions, what does it mean to be available?
Blue Apron to Raise New Funds at $2B Valuation
Is there a good (say, produced by JetBrains) IDE for Go yet?

Edit: http://plugins.jetbrains.com/plugin/?idea&id=5047
Online learning, if that's what you are trying to do, can definitely be done with Keras. You would basically just feed samples to the model individually or in small batches using the method 'model.train(X_batch, y_batch)'.

If you raise this issue on the mailing list or in the Github discussion, you'll get more help and advice.
"Customary"? For a consultant, you'd normally down-tools as soon as the first invoice is overdue.

Depending on how you packaged up that "estimated 150hrs" originally, you might not (yet?) have an overdue invoice.

Just how bad is "the contract"? Could the client plausibly claim you've failed to deliver on what he's already paid $6700 for? If so, you might need to finish off whatever needs doing to meet your end of the contractual obligation (or be prepared to give some/all of that money back). If the contract was "150hours work, estimated to be sufficient to complete the project", you're fully entitled to stop and ask for more money before continuing (although if it was _your_ estimate, you'll have some questions to ask about why it was so badly out).
I, for one, have heard all of those used. I'm not so sure tech-illiterate people even know what spyware even means.
Sorry to hear about the stressful situation. I rarely cut an engagement short, but there's nothing wrong with doing it. Just decide how many more hours you're willing to put in to do a decent job wrapping things up, and then tell the client you're not available past X date and what you're doing to leave them in a good place. In my experience, professional people have no trouble understanding that. How you communicate is more important than the actual details. No matter how stressed you are, you can be courteous but firm.

One last thing: consulting is NOT "just like [with] employment." The "walk away at any time" bit is there for a reason.
Totally agree about #3. Furthermore, after reading the post, I checked out the website to understand how their business model and core value proposition is different from the other dating sites out there (tinder, okcupid, match, plenty of fish) and it's plainly obvious while it's not an investable idea in its current form. Their core value proposition is that they can provide better matches than automated systems by using skilled people to do the matching. If the skill required is a commodity (like driving or cleaning homes), then there is a potentially scaleable business model, but when it relies on specialized and uncommon skills, it's basically a consulting firm.

The only examples of a successful "consulting firm" that I can think of off the top of my head that has seen any sizable investment is Palantir. Their market may be very small, but each contract is worth so much that there is a huge opportunity. How big is the addressable market of $800/month dating consulting and dating life management? Seems more like a solid lifestyle business than the unicorns that most SV investors are chasing.

The mantra "do things that don't scale" really is about getting traction and growth to get the party started and multiply effectiveness. However, even those things that you initially do that don't scale should eventually be scaleable or else you have a permanent cost center that scales with the business. When your business model doesn't scale you need to rethink the business model.

Are there highly profitable businesses that are consulting firms? Totally. McKinsey, Bain, Booz Allen, Accenture, etc. are all large companies that are profitable and provide consulting services. However, the people investing in those types of business models are not the investors in Silicon Valley. Investors in SV understand software/hardware and using them to increase productivity, providing more value at a lower cost. Unless there is an alternative narrative they are telling investors about how they plan to pivot to something else, I can't help but wonder how such a business model scales to a high valuation in the time scales most venture capital funds have until they need to divest.

Lastly, who on the founding team has professional experience as an engineer? Only the CTO (who has a CompSci degree) has done any software engineering in a professional setting and that was as an intern for 3 months in 2007. Solid personal projects count too, but the CTO has only one repo on github that isn't a fork and it's a basic html/css/js github.io page. I'm not saying that you need to have a strong, experienced technical co-founder to found a successful company, but it's a huge strike against a startup for being investible if there isn't one.

https://www.linkedin.com/in/katiebambino
https://www.linkedin.com/pub/emma-tessler/66/b43/39a?trk=pub...
https://www.linkedin.com/pub/lauren-kay/13/777/392
https://github.com/kbambz?tab=repositories
Detroit, as a city, is neither dead nor gone.