skysight-inc/HackerNews huggingface dataset:
Participating locally is the best way to participate globally.
A whole room of disney animatronics that are completely wireless and battery powered for crazy interactive experiences would be pretty cool
Agreed, but it was the best option available at the time.
> But non-citizens, possibly including LPRs, cannot: if an alien attempts to cross the border with a device they can't unlock "because they don't have the corresponding 2FA token with them" (as one friend suggested they do), they'll be detained, their devices confiscated, and then put on a flight out of the country.

Wouldn't an OK mitigation be to give the device to a US citizen for the border crossing? The US citizen could legitimately say it's not mine, it's my friend's and I don't know their password. The alien would have no item to be unlocked.
For what it's worth, it's fairly agnostic when it comes to languages or frameworks. Yes, you'll learn Rails, and some Ruby on the way, but the intent is to learn web development from the ground up. You'll learn concepts that will apply to anything else you might be using. It's invaluable, and a great place to start with web development.
I believe the first thing to understand about SQL is that everything is a table (aka relation). Once one understands that, the idea of modelling entities as relations and relationships as references starts making sense. Also, the tenets of normalization become understandable on an intuitive level.

Sadly, many IT professionals lack the intuition on this.

SQL is a highly sophisticated language since many years. Having done insane amounts of data prepping and validation for analytics, I will attest to this.

However, if I am writing software in .NET, I would trade away SQL for LINQ any day of the week. (Preferrably by means of some sort of intuitive DAL.)
That's the same fallacy as the Twitter board trying to turn Twitter into Facebook. Sure, if Twitter were Facebook, it would have more users, but no-one needs a second Facebook.
> 3.) Google is way better at reading my mind. Vague queries, queries that aren't literal text strings, etc.

I also find that DDG results are often unusably bad. But I wish Google would give you the option to restrict your search to being interpreted as a search for that literal text. Those unsolicited magic results can really get in the way.
Take a look here

https://en.wikipedia.org/wiki/List_of_airports_in_the_San_Fr...

The Bay Area has 3 international airports, 2 federal airports, 8 General aviation towered airports and 15 General Aviation non-towered airports.
Thanks to you both! And very seriously, this edition could not have happened without carols10cents. I am exceedingly grateful to have her as a co-author. While the original book was largely me, this edition is very much indebted to her work.
I for one welcome our new overlords. It not like anything bad ever came from centralizing everything and providing ways for governments to access information of individual groups with ease.
Also everyone with a little distributed systems experience knows the best policy is just one enormous server, why not an enormous company?
Build actual secure software. Build phones that CANNOT be unlocked or backdoored by any government, by design. Unless we protect our data from the ground up, using protocols designed to be resistant to censorship or pressure from centralized authorities, people are going to continue hacking private citizens.

The solution is technological, not political. We've already seen that governments change, fall, and generally avoid laws put in place to curb their power. We can't rely on them to protect free citizens' interests anymore.
I agree with the article and try to use write my queries with Linq instead of SQL almost always.

The article says to avoid using Linq for bulk inserts, but for years I've been using an extension method to translate Linq to a bulk insert and it works fine. I forget where I found it.

public static class DataContextExtension
{
public static void BulkInsertAll<T>(this DataContext dc, IEnumerable<T> entities)
{
using (var conn = new SqlConnection(dc.Connection.ConnectionString))
{
conn.Open();

Type t = typeof(T);

var tableAttribute = (TableAttribute)t.GetCustomAttributes(
typeof(TableAttribute), false).Single();
var bulkCopy = new SqlBulkCopy(conn)
{
BulkCopyTimeout = 1200,
DestinationTableName = tableAttribute.Name
};

var properties = t.GetProperties().Where(EventTypeFilter).ToArray();
var table = new DataTable();

foreach (var property in properties)
{
Type propertyType = property.PropertyType;
if (propertyType.IsGenericType &&
propertyType.GetGenericTypeDefinition() == typeof(Nullable<>))
{
propertyType = Nullable.GetUnderlyingType(propertyType);
}

table.Columns.Add(new DataColumn(property.Name, propertyType));
}

foreach (var entity in entities)
{
table.Rows.Add(
properties.Select(
property => property.GetValue(entity, null) ?? DBNull.Value
).ToArray());
}

bulkCopy.WriteToServer(table);
}
}

private static bool EventTypeFilter(System.Reflection.PropertyInfo p)
{
var attribute = Attribute.GetCustomAttribute(p,
typeof(AssociationAttribute)) as AssociationAttribute;

if (attribute == null) return true;
if (attribute.IsForeignKey == false) return true;

return false;
}
}
Think you're confusing what happened to Asperger's--it was redefined as a spectrum variation rather than its own thing. In fact, DSM4 didn't allow simultaneous autism and ADHD diagnoses and DSM5 does.
I use syncthing.

Mostly for syncing all my music and pictures between phone / laptop and home server.

For your use case, there is a solution with the caveat that your password manager is unavailable on the flight. Simply have a dumb phone on entry with Syncthing and your Password manager installed but no password file. Once you have been allowed entry into the despotic regime's lands, connect to a starbucks wifi, initiate syncthing and it will pull your password file from your home server / computer etc.

If you update your password file, it will be synced back to your home server. When you travel again, disable syncthing, delete your password manager.

Or use an ssh script to pull it from your home server.
Sounds like Java 8 Streams, then.

Streams bear a pretty strong resemblance to translated LINQ.
> a likely timeline of months...

I am forbidden by my coauthor to prognosticate about due dates, but let's just say that... well, I won't say anything ;)

I'm almost done with the first draft of chapter 15.
They also have a community edition, which also seems pretty powerful. https://www.citusdata.com/product/community

So cost is maybe not a big drawback either.
>I want decentralized, local decision making for my community. Globalization of state power takes things in the other direction.

I think we both agree that a centralized global hierarchy of power is impractical.

But what about a modular decentralized network of local and non local communities across the globe working together in symbiosis?
My god it sounds like the philosophical ideals of somebody plucked straight from the Star Trek universe. Are silicon valley billionaires really this detached from reality?

The reason globalization is coming to a screeching halt is that human cultures vary so much. It's slowly going away, but in general for a belief to truly die off; everyone that believes in it needs to be dead. This gives us around 70 years before the walls really start coming down. That's assuming hate and prejudice are globally snuffed from the ears of the young and impressionable yesterday.

Sounds like he thinks a globally ideal society is possible and not that far away. Sounds like he needs to visit a country locked in civil war for the last 50 years for a week or two.

The "developed" world is quickly approaching utopia, but the other 4 billion people are rapidly being left behind. It's a tragedy that a double digit percentage of the human population is starving to death while I sit here in my heated and air conditioned house with ten foot ceilings, more rooms than people in it, nearly free electricity, running water of any temperature, instant access to any information I want through the internet, and more vehicles than people living here.

He needs to take a look at Bill Gates who's a lot older and wiser than Zuck appears to be. Bill has gained immense respect from me in recent years even though I'm still not a fan of Microsoft. He's doing things that will truly make a difference that nobody else wants to pay for. We make such a hero out of somebody that runs into a burning building to save one person. Bill Gates is bank rolling malaria vaccines that might save 400,000 lives a year. What does that make him? A saint at the least.

Zuck should go back to building his internet satellites, that's a lot better use of his billions than some kind of fairy land curated "safe space" for SJW's to hang out in.
So was I.
I am taking about the windows side, it too now utilizes as much ram as you have for caches
YC definitely helps in giving us a lot of credibility when talking to customers especially enterprises. We have also been learning a ton about sales during the last couple of months - for a couple of engineer / data scientist it has been a humbling experience. Other than that there is not really any magic here!
Ack! I wonder if it would hurt HN to remove any anchor tabs so we can avoid duplicate submissions.
This can generate a bit of confusion. Many won't eat anything past its best before date, as though it's a use by date. Best before date = no guarantee of quality after. Use by date = potentially poisonous after.

In fact, we have online stores that sell past best before date food at ridiculous prices because retailers can't really sell them.
Co-author of TRPL here; Jim's book is wonderful too, and very different. I think they compliment each other nicely.

I wish there were 50 books on Rust. :)
Can we see your project? Very interesting!
CV = fleet carrier. These are purpose-built as aircraft carriers, designed for sustained flight operations, had speeds of 30 knots or better, and support an air wing of roughly 80-100 aircraft (this has remained constant from WW2 to now, but the aircraft today are bigger).

CVL = light carrier. These were usually built on cruiser or ocean-liner hulls, with a (WW2) displacement of ~10-14k tons. Some were also purpose-built as small aircraft carriers. I would also include the Cold-War era VSTOL carriers of the British Invincible & Soviet Kiev classes in this category, as well as the jet-conversions of 1950s-era carriers that ended up in many third-world countries. They were built with fleet-carrier speeds of 30+ knots, so they could accompany the fleet on operations, but had air wings of only 20-30 aircraft and often lacked armor protection.

CVE = escort carriers. These were often converted merchant hulls, or purpose-built with a hull similar to merchant ships. They were the same tonnage or slightly smaller than light carriers and were similarly unarmored, but sacrificed speed for simplicity & seakeeping - they were designed to escort merchant convoys or amphibious assaults, which required only about 10kts.

Basically, it's a speed vs. simplicity tradeoff. CVLs were intended to accompany the fleet and participate in offensive operations, while CVEs were intended to accompany merchant or landing ships and operate only defensively. But the tradeoffs involved in making CVLs hit their design goals of speed and aircraft capacity tended to give them poor seakeeping characteristics and made them ineffective in their primary mission, while relaxing those constraints and focusing only on defense led to a platform that was very effective at its more constrained mission, and could also be produced in large-enough numbers that it was surprisingly effective against even superior surface forces.

(This trade-off should be familiar to anyone following the F-35 project.)
The idea was to use very high frequency microwaves, so that only skin surface was heated.
LINQ isn't an ORM though, is it? At least not in the traditional sense.
FTA:

> Finally, the high Q-factor and sub-wavelength operation of the QSCR room permits the inclusion of windows and doors, without significantly altering system performance.

But there may be limits on how much area can be covered by windows...
In my experience, the SQL that LINQ generates typically is good, but LINQ may run part of the query or, rarely, even all of it client-side.

For example, if you want the top N items ordered by f(x), and LINQ doesn't know how to map f(x) to a SQL Server built-in, it has to pull the entire set over the wire, and find the top N client-side. Obviously, if your table is huge, performance won't be good.

That can even affect more than performance. For example, SQL Server orders GUIDs differently than .NET, and SQL Server's decimal isn't quite a IEEE float (https://msdn.microsoft.com/en-us/library/bb738633(v=vs.110)....)
> The Java 8 streams were pretty much directly taken from LINQ and given their traditional functional names.

That was my point. I was disagreeing with olmo's suggestion that Java "systematically ignored" LINQ.
I had the same issue with another tool I used called "agent ransack". The solution is simple, offer the same product with a different name to corporate clients. They have a different download called "file locator pro" that's literally exactly the same, without the bad name.

Guess which one we use in the office?
This game looks cool, but I'm somewhat worried that you're going to end up getting sued by EA/Maxis since the game name/logo is so similar to their Sim* offerings. I hope you aren't, but I'd be careful...

If you're affiliated with, partners with or have licensed the name from EA/Maxis, then never mind!
Coded, Episode 1:  Lavabit
That's a strawman: Grandparent said "easy to read and maintain" which is not "it lacks generics". The Go team has communicated that they would like to add generics if they could do it without breaking the language or introducing large inconsistencies.

Re the selling point: You're underestimating the importance of a conceptually simple language. If you put a new developer on a project in any other language that he has never used before, he will need at least a week to get up to speed. With Go, I had colleagues sending me pull requests with real, useful feature additions to my Go programs within 1-2 days of them installing the compiler.
Επαγγελματική νίκη Γιουβέντους – Παλέρμο
Final release notes: https://golang.org/doc/go1.8
Under German law (which seems to be applicable here unless they explicitly opted for something else) the liability shifts to the receiver as soon as it is handed over to the shipping company. The idea is that the receiver could have picked it up themselves but chose delivery instead. It's a pretty old law that a usual person doesn't notice in their life because there are special rules to make everything right when a company ships to a consumer.

Of course one also would need to check if they had any agreement on which shipping service or insurance to choose which was violated or if there is any applicable kind of negligence involved.
Seems like it. Unfortunately O'Reilly doesn't seem to offer discounts on Book+Ebook for preorders.
> I'd love to hear from some Republican supporters who think this is a good idea

What idea, exactly? Doing what the title of the article claims?

Obviously nobody wants to reduce privacy except perhaps serious proponents of IAs. You can't even really judge that based on intent or claims, and Obama is a great example of why. He always claimed to be fighting them but in reality he expanded and affirmed their power in ways that make him look more like Bush than a liberal-minded Democrat.

I'm not even comfortable putting a political party label on myself (it just so happens more libertarian and classical liberal minded people like me seem to be more favorable of some people in the Republican party as of late, largely due to the disturbing trends going on in the Democratic one), but I personally don't find the idea of repealing laws that protect privacy very palatable. That's a gut reaction, because I'm not aware of what other plans are in place because the media doesn't appear to be reporting those, nor do I have any confidence it would if that news would conflict with what they've set out to do: to vilify Ajit Pai and the FCC under new administration.

What's more important to me, however, isn't necessarily the clickbait-tier quality of the title presented here, but the larger strategy. If you opened a code review and saw someone removed a critical piece of code as part of a much needed refactoring and immediately yelled "THIS IS A REALLY BAD IDEA!" but ignored the part where that critical function was maintained and improved upon further down, you'd be seen as a bit of a reactionary focusing far too narrowly on specifics. I think that's a genuine risk here, and all too often in politics in general.

Why am I not outraged? Because I don't think I'm getting the whole picture.

http://www.forbes.com/sites/larrydownes/2017/01/24/why-is-th...
I'm actually doing something else when updating a webshop from a remote source..

I convert all objects that i import to a big SQL Query.

Something like

First query: UPDATE table SET active=0;

Second ( big ) query:
UPDATE table SET properties=values
IF ROWCOUNT =0
INSER INTO table(properties)VALUES(values)
> I am forbidden by my coauthor to prognosticate about due dates

TRUE FACT. Everyone here knows how hard it is to estimate, we'll let everyone know once it's done instead :)
I too had this question?
How does showcasing the humanity of the victims provide any commentary on the humanity of the perpetrators?
As I mentioned above, it was not shipped DHL, it was shipped Deutsche Post [0] (confusing because they are owned by the same group). They are the German equivalent of USPS.

[0] https://i.imgur.com/0vDfxVN.png
I'm kind of curious why there aren't wrappers / APIs / libraries for these other query languages that convert them to SQL at execution time. Arguably that is what LINQ is anyway..

Perhaps these options exist and I've just never encountered them? It's surprising that what I most often seem to encounter in casual discussion is this sophie's choice dichotomy between using SQL directly versus an ORM.
Thanks, that's super helpful!
Putnam's book has always seemed hilarious to me -- all of the obvious blunders are evidenced in the title alone.

As if it's impossible to have "social intercourse" in a bowling alley without paying a league $20 and blocking out your Tuesday nights.

You can see the same fallacy at work when greek organizations bemoan the "death of socialization" on campuses where frat/sorority membership goes into decline. But of course, people somehow (got knows how! /s) manage to have social lives, volunteer and give back, etc. without paying Alpha Omega Inc. a few grand a year.

The same thing has happened writ large is society -- to the extent that you can find "decline" in the data, it's more than explained by a growth of new forms of involvement that 20 year old metrics don't properly capture (e.g., if you ignore hacker spaces, maker communities, online mentoring communities, and open source development, HN looks pretty desolate as far as "social intercourse" and volunteering go. But of course anyone who knows WTF they're talking about will roll their eyes if you use the lack of posts about Boy Scouts as an indicator of the social decline of HN's front page).

> and these studies were done by leftist to prove that value. They found exactly the opposite, and they've been replicated many times, again by leftists, hoping to find a different result but to no avail.

1. The studies discussed by Putnam doesn't demonstrate any of this, and these aren't even Putnam's core claims.

He demonizes VIDEO GAMES and women working more than multi-culturalism.

2. To the extent that Putnam does present evidence for his claims (which isn't nearly often enough), there's been no shortage of evidence-based refutation. The wikipedia article even has a "criticism" section, which outlines the main arguments.

Basically, if Putnam's data is to be believed, open source developers (and thousands of other people who are doing something other than volunteering with out-dated orgs) are politically disengaged and insular loners who give nothing back to society.
None of those can deal with the case of having too limited of an input range. Even if you use a million rounds, you've only added 2^20 to the workload.
I think the bigger takeaway is that at a lot of big companies, the processes and management is horrible but it still makes a ton of money. These guys buy things that aren't optimized and squeeze all that money out. I think the most interesting thing would be to look back at one of these investments 5 or 10 years after they exit and watch the improvements slip away and the companies end up in trouble.

I think this is why people are dislike big government (me included, but necessary for some critical things) because there is no incentive to optimize. Quite actually, that is punished. Don't spend all your money one year and your budget gets slashed even though you may need that in a few years to upgrade equipment. The more layers of organization you add, the more managers you have who see their job as self-preservation. It looks like these guys run very very flat.
Even if you have the green light you still need to make sure cars are yielding to you.
+1000

downvote me, I don't care.
Both carols10cents and I, the primary authors, are reading this thread. Happy to answer any questions other than "when will it be done," as estimations are hard ;)
Though the headline is depressing and somewhat obvious, the article itself is hopeful and has links to a dozen different experimental schools. Worth a read.
Mindstorms now available for free
Ask HN: Did you looking for growing/weak segments of users?
Hey-hey,
I think to start new product and before doing this, of course, try to get some feedback from rockstars :)

So, my questions are:

1) Do you look for growing or weak users` segment? I mean, is it important to you know, for example, that Android users' in Brazil are growing or iPone folks start to fall?

2) You would likely pay for:

a) Find growing/falling users' segments
b) Find what was the reason of growing/falling metrics?
c) Build users journey due to AARRR framework (like Autopilot, but with acquisition inside)
d) None above

Thank you and keep rocking!
Use LINQ for development and production, when you need performance use Dapper. It shouldn' be too hard if you follow the DDD pattern.

You can always use DataContext.Database.SQL(query) ofc
Have you tried using Display Driver Uninstaller ? This is something I do every time I update the driver. Run the program, tell it to start in safe mode, run the program again, tell it to uninstall the driver. Reboot. Install new driver package, run DDU again to re-enable automatic driver install (because you need it for other devices) and done. Works like a champ and always fixes any odd driver behaviors.

Link to DDU:
http://www.guru3d.com/files-details/display-driver-uninstall...
Another example is MPAA movie ratings. Since they decide which ages are appropriate for the movies that they license local theaters to play, theaters prohibit kids from sneaking into R-rated movies, even though it isn't against R law.

It's a shame self-regulation doesn't occur more often.
Except that won't work due to the reduced cross section of two of the coils.
Just so we're clear, I think the right strategy for anyone who could reasonably expect to be targeted (journalists, certain types of researchers, people with funny names, those who've sent mean tweets about the POTUS, ...) is to avoid carrying sensitive data when crossing borders.

What I think all US citizens should do is use whole disk encryption (but everyone should do that), and refuse to comply with requests to provide their passwords, even at the risk of missing flights / losing equipment / spending a day in a room talking to unfriendly people. Frankly, this is just an egregious and pointless violation of our 4th amendment rights.