skysight-inc/HackerNews huggingface dataset:
That's not a disclaimer, that's an ad. And you've posted that same link what, 10 times in the last month?
To view this video, you must disable your ad-blocking software
Use cases of Todoed on chrome web browser
I'm not sure about CZMQ, but I assume what you eat is that you don't want to run code from a development branch that's rapidly changing. That's not necessarily what master is in all projects. The master branch is sometimes used as the latest stable release.
It is getting beyond a joke.

The US government et al should really classify these as banks and force them to address the same privacy, disclosure, fraud prevention etc regulations.

The potential of Bitcoin as something your grandparents could one day use is constantly being undermined by these cowboy operators.
Please forgive the naivety of my question, if these space craft move at 4 to 16 km/second why is a few mm/second discrepancy (6 orders of magnitude difference) a 'major anomaly'?
Isn't a programming language both? Sure the goal is arguably to communicate some process for the computer to perform in a machine-readable way. But I can easily write two valid semantically equivalent programs which produce equivalent code when fed to a standards compliant compiler. However, one of these programs may be much more readable to a human because it follows an established set of coding practices. Perhaps a better word that standards would be "conventions" but either way, most programs also need to be read by humans at some point.
Exactly the kind of code I make.

I use C for performance.... as an extension for python that have a GC and a GIL.
But more than never, I first use numpy (fortran) because it is dazzling fast and has specialized tricks of digital signal processing availables (ifft).
And I do C after the profiler says to do so. When needed. If needed.

Most of the dynamic data structure (message sent with zmq) the config, the parsing are better handled in python.

And since I do as much sloc / day in C and python ...

(1 python loc = 6 C loc)

I code 6 times faster.

And I don't have the headeaches of the dependency management

I am totally okay with C, but when doing distributed system more often than never you also multi-threading. And C is not builtin for thread safety, it is harder.

So I C some masochisms at work here.

And I am pretty sure I am not the only coder thinking this book is full of pedantism and of advices not to be followed and it is empty.

How did such a poor news made it to the top?
San Francisco has gotten so expensive that New York is cheaper.
I agree, I love the article for the construction details. The design and build process is fascinating to me. Best thing is just to ignore the 'heirloom' description and enjoy the laptop for what it is.
Another day in bitcoin land. Sorry for your losses!
Marine biologists crowdsourced a facial-recognition algorithm to identify whales
I'm surprised it turns out to have an ARM processor - I wouldn't have guessed that it would need active cooling. When you consider that many phones would use this same CPU, in a smaller package with less airflow and smaller heatsinks, it seems even more surprising that a fan is required here.
For me, the Raspberry Pi comes close. It's a limited machine, the specs are the same for everyone with your model and there's plenty of scope to make it do impossible things if you apply yourself.
I somehow find this story way more interesting than netflix's contest to pick movie recommendations.

Even better how they will use it for rescuing them.

I wonder if it could be done for other animals we write-off as "all the same" like birds.
I think the main takeaway is: Writing code for asm.js/webassembly is not easy, and there might be a serious porting effort from existing C++ code. But I think that's nothing really new for C++ developers, differences in data types, OS APIs (e.g. for networking), allowed threading models, allowed exception handling already exist in a lot C++ target platforms. When you look at the embedded market it gets even worse. What I mean is that writing cross plattform C++ code is never easy, and that's not due to webassembly.

Still webassembly will be very helpful for some applications or even only libraries which have very high performance requirements. And porting some existing desktop applications might be easier than completly rewriting them to JS. But I guess for most websites and webapplications [transpiled] JS will be the more productive choice.

I found the "there is no main loop" comment not that fair, as I think javascript is one of the few languages which has a mainloop (aka eventloop) already built in. It's not a spinning loop like what you would build in a C++, but continously enqueing the main loop iterateration handler in setImmediate or similar should give the same result.
Apple May Be on Hook for $8B in Taxes in Europe Probe
Upgrading Your Website for Yahoo
Bitcoiners have an interesting understanding of the word "insolvent." Insolvency simply means more liabilities than assets. That is a natural state for many businesses; debt is a thing which exists and can be used responsibly. (Imagine a SaaS company which takes out a loan for $100k to acquire customers and has $10k in bank at any time. That company is insolvent. This is perfectly compatible with normal operation -- assuming no cash flow issues they happily service the loan, operate the business, and make payroll.)

The wrinkle is when you're insolvent and also a financial institution, which has been a critical failure mode since the Medicis.
The other author, Kevin, has compiled it with GWT, but the performance was terrible: http://pc-emulator.appspot.com
TAG Heuer Connected Press Conference
Recruitment video done right
Boilerplate for creating libraries with ES2015
Cross out the word "hacker", because it's become so used and abused that it's now a filler word; it means something different to everyone. Some people define it as "person who can write a computer program", some people use it in the Stevn LEvy sense, some people use the ESR definition, some people just use it to mean anyone who is unconventional. It has become a phrase that means a different thing to everyone who hears it, without even realising it; much as when a politician says "our common values", and everyone interprets it differently without realising it.

So tell us what mindset you mean, without using the word "hacker".
> How much of the front-end code being written now, will be able to be easily understood and maintained in ten years time, after the trendy fads have come and gone?

Eventually, the kind of virtual DOM will move to either some standard API (via a way of committing changes in a transactional manner) or into the next iteration of the DOM API itself, so yes, none of the VDOM libraries will survive the next 5 years.

For now, VDOM libraries are a necessary evil, not some revolutionary concept like many people seem to try to make us believe.
It was this kind of demo-scene programming in which DHH was utterly uninterested in.

"I had a bunch of friends who I loved dearly, but in many ways were exhibiting all the traditional programmer stereotype themes of being just overly focused on things I didn't think mattered and at that time programming perhaps also was a little bit different. Growing up, programming was assembler and C. I had a lot of friends in what was called the ‘demo scene’, which is mostly an European thing where you had all these guys on the Commodore 64 and on the Amiga writing these really awesome visual displays of various kinds, and all that stuff was usually in assembler. I had absolutely zero interest in learning or doing anything with assembler, it just didn't make any sense to me at all.

I only really got interested in programming when I stumbled across languages that made sense to me on the level that makes sense to me, which is at the very least high level languages like Java, PHP, or whatever have you, anything that's above the “I have to dick around with pointers” or I actually have to move memory spaces around; that stuff has absolutely zero interest to me at all.

I didn't start programming until I was in my late twenties, and even then I didn't start programming because I wanted to be a programmer. I started programming because I wanted a few programs. And that was apparently the easiest way to get there because the other way of getting programs is that you actually have to talk to programmers, which is surprisingly painful at times. I found that the easiest way was just to pick it up and learn it myself."

Source: http://www.transcribed-interview.com/dhh-rails-david-heineme...
Oh Bitcoin.
How would that weigh up against the possibility of recovering the funds?
So, let's look at the design.

Drupal wants end-users (not limited to developers) to be able to create new types of entities, add fields to those entities and store complete revision histories for those entities as they are created and edited. This should be achievable within a GUI and without needing to edit code by hand. It also wants developers to be able to distribute code that give these end users new types of fields to use.

It achieves this by creating two new tables for each additional field. One table stores just the current value of the field, and the other table stores the historical values of the field in previous revisions. An entity like a 'blog post' with three fields will therefore have a base table plus three additional tables for the current values, and a revisions table with three additional tables for the historical values. When loading an entity, these field values can be loaded via SQL joins, or (depending on the field type) via additional queries.

As this is expensive, entities can be cached, and the next attempt to load the entity will pull the complete object from memcached, Redis etc., and this is how most production sites would do it. Obviously in the case of zero caching, where you have entities with many fields (say, 30) and where you need to load many entities, you can quickly end up with many queries - hundreds or even thousands! But almost all of those go away with caching enabled.

Is this a bad design? It would certainly be possible to make the database schema line up better with the entities, which would reduce the number of queries - a single 'blog_posts' table could be queried, rather than hitting the 'node' table and then the additional field tables. But you would lose a lot of the end-user flexibility - the ability to define new entity types, add and remove fields or reconfigure those fields (changing their size or even their cardinality). Instead of adding new tables, you could add and remove columns from an existing table, but this brings other problems - your tables can become very large, and altering tables containing existing data is slow. Mutating a single table when you want to add/remove a field is a more dangerous tool to expose to an end-user than just adding/removing additional tables.

If only developers can do these things, then yes, you would expect to design your tables for optimal performance. There's a large body of knowledge on SQL optimisation that a developer would be able to bring into play. But if this requires giving up the ability of end-users to modify entity types via the GUI, it no longer achieves the original design goals. Drupal trades off best practice database design against delivering certain tools to end-users, and mitigates the performance impact with a fairly robust caching system. To me, that's good design, given the constraints.

You might argue that Drupal's design goals are wrong, or that those design goals make Drupal inappropriate for some use cases, but I don't think any of that makes it a fundamentally bad design.

EDIT: fixed some grammar in the db schema description
(IANAL)

Unless you have something bizarre in your contract it's unlikely they could sue. Unless specifically stated the fact that you quit wouldn't be counted as company confidential information. Further more given the person you told is a board member of the company it's not clear that anything you told them could breach confidentiality.

Normally most companies have a clause specifically saying you can't claim to work for them after you leave the company.
Cannot agree more with your points. I once thought to explore difference languages can satisfy my curiosity. However it does not work after I run through the official tutorials. I think the key point is to identify a problem and stick to solving it. Along this journey we will find that we have learnt a lot!
Jetpack Joyride Hack 2016 No Survey (Android/iOS)
I loosely followed their guide, yes. I put their PiAware image on the Pi but the hardware is a little different.
> It achieves this by creating two new tables for each additional field.

This is pretty much the epitome of bad design. It creates a nightmare data model. The only advantage is that you can get away with this in the most brain-dead way possible when adding/removing fields without having to create a proper migration.

The goals are fine, it's the implementation that sucks, nothing in the SQL standard would stop you from doing this properly but drupal purposefully chose to throw away vast amounts of performance and interoperability for their end users in return for a marginal speed up in their own development processes, presumably because they simply couldn't think of a better way of doing this.

It's amateur hour, and drupal is by far the worst CMS out there for these and many other reasons.
Perfectly sensible question. I think the important thing here is to consider the size of the anomaly not relative to the speed these craft are travelling but the precision that we can predict & measure their expected speed.

So we're left in a position where there's a difference between the prediction and the measurement, when the measurement is highly accurate. That means something is out, and that might be extremely important for long range flights.

I'm not too sure how to work some of these things out, but it's possible that a few mm/second difference really adds up when you're on an enormous trip. If you're out by 10mm/second here, then your next flyby will leave you even further out, then the next, etc. until you crash into a planet. Cassini was out by under 1 mm/s, but its flight path would have been 2 billion miles. These things travel for years, and can't make too many corrections.

More info on the crazy journey it took: http://www.theplanetstoday.com/cassini_flight_path.html
" nor be deprived of life, liberty, or property, without due process of law; nor shall private property be taken for public use, without just compensation."

Seems pretty mindbogglingly clear to me. Regardless of what the present Justice Department refuses to go after, or what the present Supreme Courts choose to go after, the people practicing these policies are corrupt traitors committing literal armed robbery in defiance of their compact with the People. That sounds like a hyperbolic statement, but it's not.

I'm going to borrow xkcd's analogy at https://xkcd.com/463/

Imagine you're at a parent-teacher conference, and the teacher, out of the blue, assures you that while he doesn't wear a condom while teaching, all his STD testing is up to date and meets the state code as presently written; He has been inspected by the principal for venereal diseases on a weekly basis. He's clean, and your children are safe, no matter what their marks on the upcoming math test happen to be.
I though it was a way to trademark and cash in on the practice of Sociocracy, which dates from the 19th century.

https://en.wikipedia.org/wiki/Sociocracy
(not to your point but on "If I knew of a decent search function for HN comments"-- just so you know the search https://hn.algolia.com/ is fantastic - I've never failed to find a HN comment)
MyPaint v1.2.0 released
There is PR to thank Linus Torvalds. I hope they merge it https://github.com/thank-you-github/thank-you-github/pull/19...
Genetic Testing for Autism as an Existential Question
Thank you for the answer.

Another one of those questions: doesn't the acceleration of such a fly-by depend in large amount on the masses of the various objects, and if that's correct could this indicate an error in the mass of one of the objects (say, Cassini having a mass (not a weight) 1/1000000 less than we think it does)? And also, could it be indicative of a number of factors all being off by a fraction of the resulting discrepancy, or even two factors where one is a negative and the other is a slightly different positive?
The word "professionally" suffers from the same ailment. To some, it means that you earn your living with it; to others, it is a measure of quality. And what 'quality' means also differs from person to person...
Bla bla wrong.

Mozilla OdinMonkey is used for asm.js, it's a seperate engine in Firefox (https://en.wikipedia.org/wiki/SpiderMonkey ). The general purpose JS engine is SpiderMonkey (TraceMonkey, JägerMonkey). So, Firefox already excutes asm.js faster than general purpose JavaScript due to an different faster implementation. And you can easily imagine that other vendors will follow them with WebAssembly.

Then the only way to get that extra speedup bonus is to compile Javascript to WebAssembly.

Well, let's hope Google realises that crawling web apps based on WebAssembly will consume a lot of CPU cycles and will decrease their rank or not index them at all. This will put an damper so that WebAssembly is only used for SaaS web apps compiled from native C++ and not for the vast amount of general purpose websites as a CEO technique to speed up the page load - which would be a real trojan horse, and dangerous for the web. Maybe I should add "patent pending", so that Microsoft, Adobe et all won't cripple the web.
The“Women in Tech” movement is full of victim blaming bullshit
Can you provide a secondary source with similar claims?
Boredom is extremely important to me, although potentially there is something else at play.

Some of the biggest life decisions I make come at the end of a spell of boredom. Either as a result of too long doing monotonous work, or purposely self-induced, perhaps in order to let my subconscious do all the work and let a solution float to the surface.
> This is pretty much the epitome of bad design. It creates a nightmare data model. The only advantage is that you can get away with this in the most brain-dead way possible when adding/removing fields without having to create a proper migration.

That's a pretty big advantage if you're an end-user who doesn't know how to create migrations. Yeah, you wouldn't do it that way if you were writing the code from scratch yourself, but you're not.

The 'nightmare data model' is only really a problem if you think of SQL as your level of abstraction. If you use the entity APIs, the data model looks fine. The whole point is that you shouldn't be poking around in the DB most of the time (I will admit that this is a principle frequently violated).

Entity storage in Drupal is pluggable, meaning that SQL databases are not the only possible storage. Tightly integrating SQL-specific design patterns would break pluggability (though again I would admit that SQL databases are by far the most common storage engines). Maybe making entity storage pluggable might be a bad idea, but it's not obviously bad design.

I'd imagine that other systems which can use SQL databases as dumb storage (Datomic does this, for instance) will probably not produce beautifully optimised tables and queries, because they're doing their optimisations at higher levels of abstraction. Drupal gives up thinking about tables and columns and instead thinks about entities and fields, which is how efficient caching of these entities is possible in the first place.

Sure, you or I could make something much more efficient by giving up a lot of this flexibility, but then you'd be looking at a different product with different design goals.
Libraries that are not designed from the ground up to be thread safe almost certainly aren't so that's the safe assumption. (And even plenty of libraries that are designed to be thread safe aren't because it is hard to do this right.)
> This isn't really a legit distinction. Describing "the mind" as separate from the body because we don't know how it works is like describing cancer or AIDS as separate from the body because we don't know precisely how they work.

From a scientific standpoint, yes, it's legitimate. We can gather unambiguous empirical data about the brain and the body, the meaning of which different observers will accept, but we cannot do that for the mind.

> All of cancer, HIV, and thought stem from biological processes that we don't fully understand.

Yes, but we can diagnose the first two objectively, so they're much more objective and scientific than what people choose to report about their minds. A microscope image of a pathogen has it all over someone's verbal report that he's sick.

Consider this example -- a trained actor can simulate all the symptoms of Alzheimer's, such that a psychologist will provide the diagnosis (as they regularly do), but that same actor will not get the diagnosis from a neuroscientist using an MRI scanner, because the latter method can produce an objective diagnosis that the former cannot.

> That doesn't mean they are somehow not the body, it just means we don't understand the body.

It's all relative. We may not fully understand the body, but we understand it much better than the mind. This is why psychologists have had to abandon promising diagnoses repeatedly over the decades -- such diagnoses often create a huge public uproar, then they're discredited, then they're abandoned. Psychologists can make a popular diagnosis like Asperger's disappear by removing it from their diagnostic manual (as they recently did), but that doesn't work for cancer and heart disease, because the latter conditions are real.
The Second World War stopped a lot of good things. One of them was Konrad Zuse.
Honestly? Because if I can't sell it, I'll give it away, its something I badly wish existed for my mum over the last few years so if I can't make a living on it I'll host it for free and fund through my current business as a donation.
How our own DNS server helps us bootstrapping our app
Meet the $25 Standing Desk Made of Collapsible Cardboard
Unify helps you understand ur audience so u can make better marketing decisions
It says something if you're using a package called PyCrypto for RNG and that happens to be an insecure approach. You would think with that name it was the right way to do it.
Utter lies. There are plenty of programmers around.
>How would that weigh up against the possibility of recovering the funds?

Maybe you're asking a rhetorical question, but historical precedent suggests the chance of recovering the funds in this sort of crime is really small. There have been tens of relatively big cryptocurrency heists like this, and but only in perhaps three or four cases that I know were funds recovered from the thief

But, to again imagine the Cryptsy site owner's viewpoint, statistics and probability are no match for pure human desperation, so, if we believe the 'hack' story, then a desperate plan based on the ill-advised belief that the funds could be recovered from the thief is not totally unbelievable. Though it sounds even more unlikely because the owner only announced a public bounty yesterday, not 18 months ago when the money was stolen.