skysight-inc/HackerNews huggingface dataset:
Versioning a database schema is orthogonal to the use of an ORM even though EF is an ORM that also facilitates database schema versioning.
Great advice, and well articulated. I'd add that if someone is coming from angular 1 or even has just built numerous single page apps, they will immediately see the benefit of a single source of truth client side data model.
What is brilliant?
The law states you can get as close to a foot provided you are not interfering with an investigation and filming a police officer or getting close to a police officer is not in and of itself interfering.

Corespondent safety is up to the corespondent, not the police. The police only have a reasonable expectation of safety up to a point. A person filming from across the street and/or well within view of a police officer is in no way endangering an officers safety. Chris intentionally stayed on the sidewalk between the east and west bound lanes of traffic to avoid police interactions and still be able to get video of the checkpoint from a safe distance. The officers had already identified the people recording from across the street as they had sent an officer over conspicuously to get an identification. When Chris started crossing the street the officers immediately recognized the street crossing and preceded to cross themselves from the other direction confronting the video recording. There was no significant amount of traffic on this road due to the time and activists alerting motor vehicles of the checkpoint far ahead. 90% of the traffic was successfully re-routed. There were no arrests for DUI that night and the only reason these checkpoints continue to be operated is for federal funding purposes. If there is no DUI arrests the validity of the authorization of the checkpoint becomes invalid. Theoretically the case should be thrown out if the right motions are made at the right time.

Now it is possible you can get into unsafe positions, but in almost all incidents it is completely safe to get VERY close. That said Chris, JP, and others were prevented from getting close enough to properly document the improperly conducted sobriety checkpoint. Chris tends to stay at a good distance or at least a safe visible distance if he gets closer.

The police did not follow the plan laid out under the superior court for which authorized the checkpoint. The police were in contempt of the order for going outside the checkpoint, putting up closed sidewalk signs, which also hindered the reporting by press of both the arrest and the checkpoint. There were also probably other crimes committed by the police. Notices to quit will be forthcoming and numerous complaints have already been filed against the Manchester police department prior to this interaction.

It's likely a properly brought lawsuit will result in $50,000 damages settlement for Chris and/or New England Cop Chasers as has happened in similar cases of the past. Look up the arrest of Carla Gericke for similar charges (disorderly conduct and resisting arrest, which was really just for filming police):

http://freekeene.com/2014/05/23/fsp-president-wins-federal-c...
This quite frankly is answer to approximately 75% of the complaints that you hear about the React/JS community. Unless you are doing something relatively cutting edge like isomorphic rendering (next.js), you are basically wasting your time if you aren't leveraging create-react-app for your scaffolding.
Ontario to roll out basic income in three cities
Pilates helped me a lot when I restarted lifting a few years ago, especially with improving body awareness and using the right muscles for movement. Try to find an instructor who regularly gives students feedback about if they are doing the movements correctly.

While I do not have personal experience with it, something like tai chi might also help.
The bigger problem is everything that doesn't make it into the landfill, particularly the plastics that get into the water. The oceans have tons of plastic breaking down into smaller pieces that fish and birds and eat.
I added this paragraph:

>The version of the `react` package is generally not relevant for React Native users because it contains very little code (`Component` and `createElement`). The reconciler code is synced to React Native separately. So this an artifact of the different release cycles of RN and React, and doesn’t at all mean that RN apps are using an unstable version of React. This is the same exact version we are using at Facebook in production. I agree it’s confusing though, and we hope to align the release process between React and React Native more closely in the future.
Panic's warnings were in good faith. Cabel's team clearly thought something was permitted, and was simply told "no, you misunderstood" by the review team at Apple.

Uber actively tried to deceive the review team.
There is no absolute that says JSX is a bad idea. It's certainly not been established, and most people who say JSX is a bad idea are people who aren't familiar with the subject matter.

> I was responding to the statement that field experts bear little responsibility to educating the general public on their fields of expertise

My point is that regardless of whether they do (and most of them indeed do, React devs included), you shouldn't be blaming them for "not doing enough" in that regard. It's never going to be enough. That's the thing with experts: They're rare, otherwise they wouldn't be experts in their subject, they'd have the average amount of knowledge. There's always going to be less of them, thus it's harder to educate at scale.
> asking them to convert them to a numeric code, easily retained, and produce copies...

This must be different from any key-cutting system I've ever seen. Any time I've ever gotten keys cut, the machine is setup with a jig, so they put the original on one side, and the blank on the other, and you trace the original against the guide, while the blank gets ground to match. I suppose they could cut an extra, but it'd be hard to do when I'm standing right there watching them.
On a glance, I don't see any support for globbing in regex crate.
Most of the tooling is stable enough that you can lock your dependencies to minor versions (the default behaviour in Yarn/NPM) and only update when you want the new features. There's no need to stay on the bleeding edge unless you want to. I've fallen prey to this myself before, but there's much to be said about just keeping it simple.
Without gc/ms you just don't know what's in your tab/liquid/etc. That being said iirc it takes milligrams to OD on fent which means you'd be pretty safe with tabs. Liquid is another story.

[REDACTED] acquired LSD tartrate, made solution w/ everclear, and then diluted it such that one sip is roughly 4-8ug based on volume. That's the only real way to microdose yourself, although you could cut a tab into 20 pieces (depends on the lay but a skilled lay is evenly distributed. An unskilled lay will have massive hotspots and thus one would need to dissolve the tab in a solvent or cut it into n->infty pieces)
You need to run a WAF like modsecurity in front of any PHP application these days.
If you search for Ben Ledford's arrest record in Sacramento County's inmate records database (http://www.sacsheriff.com/inmate_information/SearchNames.asp...), one of the items he is charged under indeed is PC 32625(A) -- possession of a machine gun.

So, not sure if the news article is necessarily wrong. Clearly there is some prosecutor out there who believes that what Ben Ledford possessed qualified as the definition of a machine gun under California law.
Visit one sometime, they are quite clean actually.
Yup - it's a higher priority to capture visible, infrared and ultraviolet.

Plus, the design of Cassini design of Cassini started in the 1980s and many of the part decisions would have been made then - even then they would have favored rugged, tried-and true technology over anything cutting edge. Actual launch was 1997.
Ever killed a fly because it annoyed you? This is not much different. In fact, this was done for science.
Nasa is showing a lot of imaginary photos through our history. They start to be a tad over pushing things and sometimes I wonder how much is just a photoshop works and make believe "facts"..
Why doesn't Nintendo port old NES/SNES/GameBoy games to smartphones and sell them for $1-$2 each?

They're so much more fun than all these compulsive microtransaction games.
Thanks for noticing! :) I will tidy it up and put it out there soon. I'll let you know after I've done that. :)
Then it's hard to tell where the line between (cyber) warfare and social engineering can be drawn.

Is what Facebook did[1] (does?) warfare? I sometimes like to dabble in hyperbolic alarmism, so I'm inclined to want to say yes.

Maybe it's a sign of progress that we now consider emotional manipulation "war". It's probably less harmful, by all accounts, than slaughtering each other.

1. https://www.theguardian.com/technology/2014/jun/29/facebook-...
Making Java an introductory programming language was a misbegotten idea IMO. I can sort of see the justifications: "it'll make students workforce ready", "it's a modern programming language and teaches OOP" etc. And relevance to industry is also probably why Stanford might be switching to JS.

For me an intro programming language should have one of two qualities. It should either:

a) have simple, easy-to-understand syntax so that students can learn the fundamentals of stitching together a series of logical steps into a working program

OR

b) be low-level so that students learn computers and programming from the ground up. I mean registers and pointer arithmetic and memory allocation/deallocation.

Either is a valid approach. For a) the most obvious candidate (to me) is Python. For b) it's either some sort of assembler language (my first language was 8086 assembler) or C

Java is a "tweener" language; it's not simple enough to teach programming and logic, but not low-level enough for students to understand computers at a basic level.
> "Assault Rifle" is a defined term as well which is basically the same as "machine gun".

The usual definition is quite distinct from the usual definition of machine gun.

> Both require the weapon to be "select fire" which means it can be set to fire more than one round per trigger pull.

Actually, no; the term is "selective fire", and while that's part of the usual definition of an assault rifle (which typically have semiautomatic, burst, and sometimes full-auto modes), it's not for machine gun, and machine guns are quite often full-auto only. An assault rifle also is a weapons that is deisgned to be fired unsupported (though it may also integrate a bipod) and which has a fixed, folding, or telescoping butt stock. While a machine gun may have none of those things, and may be designed to be fired only mounted.

> In actuality, an AR-15 is the same as any other semi-automatic rifle in function.

AR-15 is problematic to categorize, since the original Armalite AR-15 is a selective-fire traditional assault rifle, and other rifles to which that moniker is applied (which is sometimes used as a catch-all for the whole family of variants of that original design, which the US military adopted as the M16 series, and the M4 series) may either also be selective-fire assault rifles or civilian variants of the same design with variations in a few key components that render them semi-auto only.

At the same time, Colt currently markets a subset of it's line of civilian semi-automatic variations of that design as the AR-15 line (which was done after the Federal Assault Weapons ban specifically to take advantage of the AR-15 moniker's association with assault weapons.)

> For example, many states list the AR-15 as an "assault weapon" (made up term with no concrete definition)

Every state that has an "assault weapons" law also gives it concrete definitions. Typically, that's done by identifying both feature sets and a set of named existing weapons which are included (along with any copies or duplicates) regardless of whether they meet the feature sets.
Are there any details on how the fingerprinting worked? And why it was needed?

Not being an iOS dev, after a few minutes of Googling it looks like:

- The blessed way to get a unique device ID is identifierForVendor [1]. Is the issue that this changes when users uninstall/reinstall the Uber app?

- The deprecated way to get an ID that persisted across installs was accessing the UDID directly [2]

Can an iOS dev or someone better informed than I comment?

[1] https://developer.apple.com/reference/uikit/uidevice/1620059...

[2] http://www.macworld.com/article/2031573/apple-sets-may-1-dea...
Maintenance mode just suggests that no one is currently trying to make it any faster.
> Are you sure about the correlation between the two?

No, but can you point to any effective tyrannies where the citizens can freely buy and own guns? It seems as though a universal prerequisite to tyranny is gun control.

> Off the top of my head, the UK, France, Sweden, etc. have been democratic since at least the end of the 19th century.

That's not very long. It turns out that long term democracies are really hard and without constantly reinforcing checks against tyranny, you'll find your country has slipped back into one before you know it. It's happening right now with Turkey.
Yes, it's unlikely and pretty tin-foil-hat, but wouldn't it be nuts if it turned out to be a manufactured black hole? http://accelerating.org/articles/transcensionhypothesis.html

Intelligences could be expected to slowly accrete the mass of their parent star, rather than lifting or collapsing that mass and then inefficiently recreating fusion within the black hole (if the laws of physics even allow the latter, which they may not). In other words, you might absorb your star in a passive and gravitationally-driven process that would look a lot like a low mass X-ray binary (LMXRB) system to external observers, but in which the black hole companion begins as a planet mass black hole on the order of 1000 times less massive than the star companion, which should be a main-sequence star, likely with a spectral class G, like our Sun.

Approximately 100 LMXRBs have been discovered in our galaxy to date, and about 13 of these have been found in the globular clusters, areas at the rim of our galaxy that may not harbor intelligence. They have also been found in many distant galaxies, again often in globular clusters. Few have involved G class stars, and none have yet been discovered with the very high, 1,000:1 mass ratio the hypothesis appears to predict. This may simply be a problem of detection. XRBs emit X-rays only when they are "eating" their companion sun, a transient phenomenon. Chandra, our best X-ray observatory, may also not have the sensitivity or persistence needed to detect very high mass ratio LMXRBs, or those that absorb their star's matter very infrequently or in very small doses. More research and theory is needed in this area.
Scouting binds together a broad range of educational and community service opportunities worldwide.

Both youth and adult members of Scouting develop leadership skills. Among these worldwide opportunities is the Wood Badge, whose curriculum varies country to country.

Here in the states, Wood Badge includes training on servant leadership, mentoring and business ethics -- concepts that help the adult leader better serve Scouting youth, but also offering broad practical applications in the workplace.

You'll need to check locally, but many Scouting programs also include opportunities in skills training and career exploration for youth.
Your cortex contains "only" 20 billion. The mean firing rate of neurons is estimated to be between 1 and 10 Hz. If you wanted to monitor 10% of the cortex you would then need at to handle at most 20 giga events per second. Not so bad after all.
> Once Project MKUltra officially got underway in April 1953, experiments included administering LSD to mental patients, prisoners, drug addicts and prostitutes—"people who could not fight back," as one agency officer put it. In one case LSD was administered to a mental patient in Kentucky for 174 days. LSD was also administered to CIA employees, military personnel, doctors, other government agents, and members of the general public in order to study their reactions. LSD and other drugs were usually administered without the subject's knowledge or informed consent, a violation of the Nuremberg Code that the U.S. agreed to follow after World War II. The aim of this was to find drugs which would irresistibly bring out deep confessions or wipe a subject's mind clean and program him or her as "a robot agent.

https://en.wikipedia.org/wiki/Project_MKUltra#Drugs
I'd recommend pitching it to your manager as a one week spike, and if that goes well do a presentation on it and sell technical leadership on it from what you learned. Then you can add proper tooling. Make a few trade offs to save time as needed. That strategy worked for me.
From the HN guidelines:

Please don't insinuate that someone hasn't read an article. "Did you even read the article? It mentions that" can be shortened to "The article mentions that."
I believe this point is valid, but I'm unsure how to relate it to the discussion at hand.

That said, while it's true there are differences in different genetic ethnicities and in different sexes, that we choose to downplay these currently is probably mostly for the best. Until there is much more acceptance for the idea that we're all actually much more similar than we are different, and that natural variability based on specific, non-racial genes and upbringing overwhelms most group differences, promoting the idea that we are all the same is probably the most beneficial path. The alternative is that these small differences get blown far out of proportion and are used as explanations and excused in inappropriate ways.
Use an ORM for CRUD, and use a SQL library (like Jooq or QueryDSL for Java) for custom querying
>Privatizing it still doesn't address any of the systemic issues regarding ageism, classism, sexism, racism which have impacts on longevity.

There are potentially many solutions to this problem, but privatization would be a huge step forward compared to the current system. At least with privatization you could pass on your accumulated wealth to your children, even if you didn't get to enjoy it yourself.
I've never chosen to interview with Google but I have been approached by Google recruiters on multiple occasions for iOS development. To say that they don't have a need for iOS engineers, is clearly erroneous. Google has a number of iOS apps.

Just to name a few: YouTube. Gmail. Hangouts. Calendar.

Regarding your interview experience - This is precisely why I turn down every interview request from Google. If you're contacting me about iOS dev experience, question me about that domain. I find the algorithm / data structures questions to be fitting for an entry level hire, fresh out of college.
Nbomes requiee a higher dosage than LSD.

[REDACTED] has never tasted anything but paper on tabs, but some claim a metallic taste when there is none. The best protocol is to swallow the tab, in which case nbomes will not have an effect (they must be sublingually absorbed). There is little reason to take LSD sublingually although it is quite common among recreational users - which is again silly because if you swallow you can guarantee that nbomes won't affect you
After making a demonstration to the army and being set up with a lab by the army and being asked specifically to weaponize your research (and fill projectiles with it) I don't think there should be any 'we didn't know' excuses.

It's pretty clear that even if insecticide was the beginning there was a pretty clear point in time where it was obvious that this had nothing to do with insects any longer.
Object/relational impedance mismatch is solved by a new class of database built on immutability. If the storage segments are immutable (like git), the query process can be moved out of the central transaction processor and into the horizontally scalable application process (like git). When query engine is embedded in the application process, all the latency and network round trips drop out (like git), which solves in one fell swoop all the intractable optimization problems that ORMs attempt (and fail) to abstract away. One such database is http://www.datomic.com/

edit: these databases are relational, acid and competitive with postgres. Strong consistency is achieved by threading through a notion of time (like git)

i wrote about it on reddit once, here: https://twitter.com/dustingetz/status/690374292027117568
Thanks, fixed the typo (author, not OP).
Hey guys, I found the non-crappy papers:

https://arxiv.org/abs/1604.00289 -- Building Machines that Learn and Think like People

http://rsif.royalsocietypublishing.org/content/13/122/201606... -- Active Inference and Robot Control: a case-study
> ORMs are essentially abstracting relational data structures to fit an OOP development style. It allows OOP engineers to access a DB without straying far from their comfort zone.

Not remotely correct; the purpose of an ORM is to map result sets into objects to avoid repetitive hand coding of those mappings for programs that work with objects. It isn't' about a dev's comfort zone, it's about eliminating the need to hand write repetitive mapping code.

> In essence, they are rarely ever a good idea. As

Also wrong, they are nearly always a good idea as they drastically improve productivity by eliminating tons of manual code that simply isn't necessary to write.

You don't seem to understand the value proposition of an ORM enough to be able to critique it.
As a potential customer - "Go China!". Competition is good.
Sorry, I can see how my question was unclear. I mean how "aiming to kill" is effectively different from "aiming to stop". I've edited it for clarity.

There are a couple of issues with the idea of, say, aiming at the leg.

* A leg wound may not stop the person.

* A leg wound can be lethal: you can bleed out very quickly if the femoral artery is hit.

* The trajectory of a bullet (and its fragments) once it impacts the body can be very unpredictable: a bullet entering the leg may strike bone and enter the chest cavity.

And all of these assume precise aim under stress. You mention aiming for the heart: police won't generally be aiming for something as small as the heart. Police (and all people using firearms) should receive the best training they can (and likely more and better firearms training than is often available today), but precise aim under stress is no easy task. They may be aiming for the torso (which of course includes the heart), because shots to the torso are generally more effective at stopping a person and it's a relatively large target: shots are more likely to hit and therefore less likely to miss (and hit something else: all bullets land somewhere).

Firearms are deadly force. Police have less-lethal alternatives available as well, and should be trained to use them effectively when it's appropriate to do so. If a police officer resorts to deadly force, the goal should be to stop the person as effectively and quickly as possible.
I would not be surprised if the big hitters are not already tagged as such when the reviews get sent in. Whether there's something as small as a tag for the reviewer to know, or even a separate queue, I sure as hell can bet they go through an expedited and streamlined review process for their updates and such. They're the bread and butter of the App Store, so it's in Apple's best interest to treat them well.
Micro-dosing with substances seems very related to homeopathy.

Placebo effect has real effects. Micro-dosing: Unverified.
Ask HN: Is it worth paying $10,000 to attend the TED Conference?
The annual TED conference costs about $10,000 per ticket. I just moved to Vancouver and heard that the conference is here this week. So I passed by the convention center, saw KPCB's John Doerr. Have you ever been to TED? Was it worth the price?