skysight-inc/HackerNews huggingface dataset:
Dapper accepts anonymous objects for passing query parameters. It will return an expando if you don't specify the type of object you want back, too. That can be convenient, but I don't personally like having dynamic objects running too wild in my code so I end up manually mapping it to another type before returning anyway. (AutoMapper can help here.)

The IEnumerable support will generate (parameterized, I believe) inline arrays in the query. Not really my favorite, but it works.

The thing that I couldn't get over, and which ultimately led me to write my own micro-ORM at my last job, was the weak support for table-valued parameters. But I gather they've fixed that since then, so hopefully it's not a big deal anymore.
I was a used a few months ago until I just quit. I enjoy trail running and time-permitting I try to do 5-7 races per year. This year I totally missed 2 races b/c I was not in the loop anymore. Organizers don't even have a website or newsletter anymore, just a FB page. Then I realized this is happening to businesses as well. They seem to ignore the fact that they are giving FB full control over its brand/audience.

Anyway, Stallman is right, again.
I think there are always reports of racism. The article wouldve been beter if it would have quantified the increase. These poorly written articles showing FUD from both sides, are really not worth mentioning on HN.
Marshalling support is useful. SQL result -> struct and struct -> SQL insert code is repetitive to write. Getting fancier than that may be overkill.

Marshalling in general needs more compile-time support. Kludges such as Google protocol buffer preprocessors are a fast but clunky way to do it. It would be useful if languages could be given a reference to an SQL CREATE TABLE and could use that information usefully. Field names, type information, and enum values should come from the CREATE TABLE info.
Chapters 11 & 12 of the free textbook "Introduction to the Modeling and Analysis of Complex Systems" [1] are on cellular automata. The "Complex Systems" journal has many papers on CA. [2] (I've just finished a project where we implemented a random number generator using a cellular automaton, might be nice to see. [3])

[1]: http://textbooks.opensuny.org/introduction-to-the-modeling-a...

[2]: http://www.complex-systems.com/archives.html

[3]: https://sunsistemo.github.io/mozzacella-automato-salad
That's not what bunder said. 'enemy of my enemy is not my friend' just means that a common opponent means nothing for your relationship with another party.
On the contrary, it appears the most accurate servers are ones nearby, which you'd contact a lot if CDNs are doing their job right.
> every economist

Most but not all. Economics is currently split into multiple schools which disagree on philosophical fundamentals, and is hardly an exact science. How many economists predicted the financial crisis? Those that did tend to be small government advocates. (I don't endorse everything he says, but Nassim Taleb is one example, who is also pro-Brexit).

I wish someone had made this point during the campaign, to answer the snipes that Leave was anti-intellectual, anti-expert, and so on.
Checksumming at that level is a bit pointless, because then you can't repair the data. Instead of being able to recover from a mirror or parity data, all you get is "it's corrupt, oh well".
If you like that, check out Cody's Lab: https://www.youtube.com/channel/UCu6mSoMNzHQiBIOCkHUa2Aw

One of my favorite channels.
That's the way I've done things in the past -- save stored procs in a file in a project repo, along with deploy and rollback scripts.
CivilizationEDU (educational version of Civ V) coming to high schools in 2017
Aside from the disproportional amount of traffic going to America (I'm from Europe), there was still a significant portion of traffic that went all over the world when I last checked for my private traffic.

Additionally I once made a map of destinations from our school's "security lab" network. This is 30 minutes of traffic: https://snag.gy/aJqrg2.jpg

The map is a modified version of the one generated by Wireshark (circles are proportional to the amount of data going from/to that IP address). It seems to use Maxmind's GeoIP database.
> Atheists frequently evangelize. It is a religious belief.

It isn't, and it's insulting to say so: You're imposing a category on people based on deliberately misunderstanding their worldview. Atheists say their lack of belief isn't a belief, and saying otherwise is insulting.
I expect I am approaching things improperly, but the only time I end up fighting ORM's is when I am trying to creation complex aggregation queries, or other responses used on "reporting" pages.
I think if they were better integrated with the IDE and easier to debug then they would probably write better stored procedures.
I take it that you've never had to grade essays at a college level?
In this case, I'll argue that they didn't change. They continued being 'model citizens', but the model became bad.
What is the source of the wariness?
Don't parameterized queries provide all the safety one might need?
Well, it's like if learning to write a computer program you might not feel the need to understand assembly language or machine code. So you stop at "then the machine translates it into machine code" (handwave, handwave), stop the recursion, and go back upwards.
This is a great point.

In a smaller company, those barriers aren't really meaningful. In an enterprise, you're easily adding a week or more to change control process to ship.

I think another factor towards why database focused solutions aren't popular in small companies is that MySQL historically hasn't been the best platform for that approach, and you need more expertise to scale the database.
> "What can we say about a bear that is running? It has no cap, hat, or handkerchief, right?”

Unless his name is Paddington.
You would never think to say "uff so many right-handed people!" because being right-handed doesn't makes you pre-judge them as flawed and less capable.
I don't believe Dominic and the team were in NIH-mode. There are most likely other factors which due to Apple's secrecy, and this not being a public project like Linux or Firefox, we may or may not learn. Though, with the information we have right now, it's easy to come to your conclusion.
While not just about this, The Computational Beauty of Nature [1] is worth checking out.

[1] https://www.amazon.com/Computational-Beauty-Nature-Explorati...
> and only Ruby programmers who have used ActiveRecord will know how the first one does.

do you really think the first one is /that/ hard to understand?
So in all audio, there is "error". Error which is correlated with the signal is called distortion. Error which is not correlated with the signal is called noise.

Amplifiers use negative feedback to cancel distortion out ( because it's correlated ). Some folks, like at Pass Labs, tend to avoid neg. feedback for philosophical reasons, and people like their amps. They use part selection and careful design instead.

Adding two uncorrelated signals together, you end up with a louder, uncorrelated signal.

There is "single-ended noise reduction" ( the version I use is from CoolEdit 96 and CoolEdit 2000 ) but it leaves artifacts. It's still wonderful for things like single-coil hum, things with a limited spectrum.
Thank you both for your well-written arguments. This is the sort of commentary I come to HN to read.
Following up on my comment here: https://news.ycombinator.com/item?id=11982739

You posted this before:

https://news.ycombinator.com/item?id=11855473 : 19 days ago

https://news.ycombinator.com/item?id=11851744 : 19 days ago

https://news.ycombinator.com/item?id=11843224 : 20 days ago

https://news.ycombinator.com/item?id=11836824 : 22 days ago

https://news.ycombinator.com/item?id=11833416 : 23 days ago

https://news.ycombinator.com/item?id=11823331 : 24 days ago

Why do you do this? Are you someone special?
And what are the connection and allocation semantics of the first? (Yes, the second way is more explicit.)
Depends on how crudely it is done. I'd argue that all great speeches and manifests are great precisely because their message resonated powerfully with emotions of the audience.
Mine is also a bit off... http://i.imgur.com/klwgKbS.png
have you tried googling for "books on cellular automata"? also consulting Wikipedia, Amazon, YouTube, etc, more directly?
Even if that's your thesis, it's still a bad term because it doesn't say anything about why. If you're going to use an atypical term in a debate, it should convey some information about why you hold your beliefs.
Here are two such schemes, and a BBC radio programme (available as MP3 download):

http://www.frutafeia.pt/en

http://www.uglyfruits.eu/

http://www.bbc.co.uk/programmes/b05mpx0k
Agreed! If we did nothing to correct inequalities in society, the biggest and strongest would rule over all - so yes we must have our own values and stick to them.

And with AI, we must make these values explicit, which is very difficult to do - i agree this is a very important problem to solve, and the people doing it should absolutely be rewarded.

Honestly, reading the article again after your summary i found it very reasonable :p I think the headline just ticked me off.

No one is stopping other people from getting in on the debate, they absolutely should (and I'm sure there are roadblocks in their way, and people who really are racist). It just feels wrong to implicitly all the "bad white people" for that. Blame those who cause the problem. Otherwise we are back to stereotyping.
The Feedback Revolution
Give the new proc a different name (e.g. append a version number). On the n+1 deployment, clean up the old proc.
Exactly. A lot of people are reading way to much into this.
I've never written a line of Ruby in my life and I know what that code does, because it's essentially identical to what you'd write in C# LINQ to query with Entity Framework, LINQ2SQL, etc.

var users = Users.Where(u => u.HasFoo).Take(10);
Surprised no one has said "A New Kind of Science" by Stephen Wolfram. While not quite a new kind of science, it is all about cellular automata.

http://www.wolframscience.com/nksonline/toc.html
I would hardly call it old fashioned. SI prefixes were just mis-applied to storage sizes, hence the more correct use of kibibyte (kiB) [0], mebibyte (MiB), etc. Hence also Apple's somewhat recent switch to using 1 kB = 10^3 bytes.

[0] https://en.wikipedia.org/wiki/Kibibyte
They are trying to serve their patrons with limited resources. Getting a new box of books in means that something old has to go. I don't think it's more sinister than that.
Not (a layer violation) so much. Audio gear has evolved serendipitously anyway. Times were, when you wanted an EQ that wasn't just a "tone control" , you got out the soldering iron. Pultec wasn't even a thing until 1953.
Alan Kay on “Is an iPad That Boots into Squeak Effectively Alan Kay's Dynabook?”
The Glory of Pergamon in New York
This is why Slack is taking the world by storm - the chat window isn't all that good (in my opinion), but the onboarding process is buttery-smooth and completely frictionless.
Arguably, the terms "copy protection", "digital rights management", "intellectual property", and probably a lot more that aren't on the top of my head are the result of, to quote the GP, "warping the very language they use to support their point"; but the groups in favor of these things were there first, and so they got to define the terminology that we've all ended up with.
How the Kurian twins won the valley
I don't know NPR but from reading about half the article, it seems to be a radio station in America that flipped a switch on their microphones. Am I missing some insight, or is that all?
Love this idea, very useful.

Couple little bugs/notes I noticed: The position titles are appearing twice, and my google seems to think this page is written in Slovak? And keeps offering to translate it...

Thanks for creating!
Honestly this does not seem to be a very smart thing to do at all. Your ping times is probably just going to reveal on which coast of US you are on (unless you're speedtest.com or something like that).

If you want city-level accuracy, at least in US, just use geo IP lookup: https://geoiptool.com/ This finds my city perfectly, unlike the link above (which says I'm somewhere on US West coast).
It's not that hard to get very good audio these days. Truly incredible audio will always be expensive. But the mid-range MI gear is arguably good enough to use.
Fair point about taxes - but, to be clear, I'm sure the HDBs are sold at a profit compared to the cost of building them - but there is no land speculation (they are 99 year leases), and housing speculation has a zillion dials to reduce it from happening with HDBs (you have to live in them for a while before you can sell them, you have to pay extra taxes if you are not a citizen)

And all this came about because in the 1950s, the housing situation in Singapore was abysmal, possibly one of the worst in the world. Government decided to take a leadership role in ensuring that their citizens had housing.
In my experience, programmers are often very fuzzy on all of the types involved in such libraries. I don't even mean "strong typing", but just the operations that they can perform with the various chunks of that expression. This is often complicated by the fact that the library itself often has bizarre limitations that have more to do with its internal implementation and limitations than with SQL. It's rare for me to see anyone use a library like that with fluency. Which seems to me to be a valid way of saying that, yes, in practice, it does seem to be harder to understand the first version in Ruby than you might initially think. Using it isn't particularly harder, but understanding it is.

Also note this is an observation of mine, not a logical argument, so trying to logically argue about why it shouldn't be harder would be arguing a point I'm not making. As much as I don't like people bashing strings together programmatically to generate SQL queries due to the ease of screwing it up, I observe that a lot more programmers are capable of this (even if they screw up the security) than seem to understand how to use things like ActiveRecord equally fluently. YMMV.
WW3 BRITAINS TAKES COUNTRY BACK FROM EU Emergency Coalition Cabinet Needed
Parameterized queries are to prevent injection. They don't tell you, at compile time, when you're building an invalid/unrepresentable SQL query.
DJFiles is a Django app for manage static files of your project via admin panel
It's a great language for webdev as long as you stick to REST api's with frontends that consume the json returned from it.
> Ruby ... resembles SVO a lot more than SOV

What parts exactly? As a Japanese speaker, all the object methods seem super intuitive. Specifically, the iterator methods vs traditional for loops.

Rails and what not, however, not so much.
While APFS' design mirrors that of current generation file systems such as ZFS and Btrfs, its scope is much reduced. It does not target large amounts of storage or disk arrays (such as RAIDZ and the normal RAID family) with automatic error correction, it is not required to perform competitively in server scenarios (especially for traditional databases, where COW file systems tend to perform poorly), and it can completely disregard rotating hard drive performance.

Snapshots are read-only, unlike Btrfs (but like Linux' LVM, which has been around for quite some time), and we won't even delve into online rebalancing and device addition.

APFS is a very welcome addition given that it brings Apple file systems into the XXIst century, but the reason for its speedy implementation is that they purposefully constrained its goals — a good call, in my opinion.

If you have the same workloads as Apple's customers and large amounts of SSD storage, you'll find Btrfs and ZFS both fit your needs on Linux.
That's true, but I would also add that in Europe you have a work culture against long work days/week, and it very rare to be asked to work more than 38/40h/w... and if you are asked to typically you are well compensated (1.5x/2x your normal wage x hour). Also vacation days are typically at least 5/6 weeks.

I mean, yes the market need to improve wages, but considering also the different work culture they are not _that_ low compared to the us ones.
Reduced diversity and altered composition of the gut microbiome in ME/CFS
Wouldn't you need to do a group by in your query as well?
> Rubio didnt say Trump had a small penis, he just implied it

I don't believe Rubio ever talked about any such details of Trump's anatomy, and it would be really bizarre circumstance for him to have or claim any knowledge of the subject. It is Trump alone who brought attention to this subject, and the only reason I can see for it is because Trump thinks it contributes to his macho image.

> When he says, Obama has something else going on,

He means Obama is too soft on Islamic terrorism. It may be true or false but this is way separated from saying Obama is involved in actually organizing specific terror attack, which is batshit insane. The difference is like between saying intelligence mishaps and incompetence during Bush's administration that allowed 9/11 to happen are Bush's fault and saying Bush personally orchestrated events of 9/11.

> Trump doesn't, he doubles down.

That's his media strategy. There's no bad press. And the press falls for it hook, line and sinker, and on the way exaggerates and inflates everything Trump said by order of magnitude. This leads to two thinks: a) Trump's media coverage is overwhelming, and it costs literally nothing to him and b) it's no longer possible to distinguish which outrageous story about Trump is true and which is not, which numbs people to anything outrageous Trump may actually say. Plus, every time somebody calls Trump out on a real outrage, he can cite a fake outrage as a proof the press is out to get him, and thus blunt the effect of a real thing.

Trump has responsibility for it, but the press falling for it and helping him to perform this strategy - while thinking they are heroically fighting Trump - has equal, if not greater, responsibility - Trump is expected to behave selfishly, they are expected to be the counterbalance for such behavior, not the amplifier of it.
A Quick Guide to Getting Started with User Experience Design
Fixing things closer to the source is usually best.
One of the key innovations in ZFS is storing checksums in block pointers which is something that cannot be done efficiently outside the file system. Storing checksums elsewhere is far more complex and expensive.
Second question in the interview: "There are a lot of people out there who actually don’t want to live longer, even if given the chance. How could someone possibly be against living longer?"

I honestly can't wrap my head around this. The conversations I've tried to have with people who don't want to live longer never go anywhere, because they can't help but associate "old" (as in "high number of years") with sickness and reduced faculties, and I can't get through to them that I mean "really really old and really really healthy". Maybe it's as the article says, some people refuse to believe because they don't want to create what they see as false hope.

I myself hope to live as long as I can, ideally forever. There are so many things to do, there are so many things to learn, the universe is just too awesome for just one [current standard human] lifetime!
Sorry, full text here: http://microbiomejournal.biomedcentral.com/articles/10.1186/...
ah man, ill fix that (when i return from work :-D )

thx for trying.
The whole point is to not use a geoip database and instead attempt to find your location from numerous server requests.
Hence 'concept' as this wouldn't really be feasible for any real world usecase.
Maybe it's a problem on both sides (consumers too). If no one bought thin laptops Apple might stop making them.
How would you prevent a client from logging in from an infected system?
What do you mean? I don't see anything in that article that might have a connection with what I wrote. Except that it's about Brexit.
Soylent powder isn't that clean anyway. It's much easier to wash a bowl than to clean your counter and scoop after making a Soylent meal.
Really? How many of those backends have you seen and worked on? Heroic effort does not qualify as success in my book. You can maintain any nightmare by just throwing enough bodies at it. What counts is the maintenance burden and the cost of change.
So it approximated me being in Frankfurt. Not bad, just about 100 miles away.
A look at https://archive.is/https://petition.parliament.uk/petitions/... supports the claim. Although, of course, one cannot really tell how many fraudulent signatures have remained undetected.
Introducing Apple File System
I can't find the reference right now but someone once wrote that PayPal was, at its core, one of the most sophisticated fraud detection engines ever created.

In their early days, they almost went under multiple times because of the millions in chargebacks (This is one of those impossible problems that Elon Musk helped solve).
I often use copy/paste to prevent typing errors. I save the password in some keychain software, then I copy/paste the password from that software into one of the password fields, and type it myself into the other.
Microsoft shareholders
A unicode_next_character function is very simple to write regardless of unicode support in your language.

I usually write it as a small (256 byte) lookup table where each entry tells you how many characters to skip next. If you don't use a lookup table, its 4 single-line `if` statements (and if you do it's a one liner, plus however many lines the table takes).
I find that Airbnb is most attractive when (a) travelling in a small group, because it can be cheaper to get a place that fits three adults and a kid on airbnb than at a hotel, and (b) when visiting people that live somewhere, since it's frequently hard to find a hotel in the residential suburbs where they live, but you can often find an airbnb nearby or (c) when I'm staying somewhere long enough that I want to be able to cook my own food. In specific cities (like Dublin) it also turned out to be much cheaper than an equivalent hotel.
Every user's looking for something. Some of them want to use Facebook. Some of them want to be used by Facebook.
There's big difference between distribution from willing sellers to willing buyers and forcible taking and redistribution at the whim of the distributing bureaucracy. If a middleman took the good from wholesale sellers by force and then shipped it to where they liked, we'd call it a gangster organization.
Oof. So anyone can be named as a father without any proof.

Starting hitting the governor, judges and members of the state legislature with these false paternity claims. Law will change real fast.
I agree. The problem is that striking that balance is hard. If you go all-in with an ORM then trying to backpedal and figure out at which point you went wrong becomes almost impossible and so now you have a tangled web of ORM queries and no clear path to untangling things.
Thank you for this link. More and more I am appreciating this guy's research. Have never seen him speak, what a natural speaker, very enjoyable as well as edifying.
This, times a million!

Oh, and the weird music. I'm not sure I need 15 seconds of annoying jazz improvisation at full volume between segments either. But that is indeed part of the "signature sound" :)
I believe it's out of print now, but if you can find it, check out "The Recursive Universe" by William Poundstone. It centers around Conway's Game of Life, but every other chapter branches out to draw connections with other topics, like biology, information theory, and thermodynamics.