skysight-inc/HackerNews huggingface dataset:
Being able to push some application logic into the database server can be very powerful for batch operations. Often you need to make real decisions in application logic at several steps along the way.

If you use an ORM-like coding style, you get orderly code but performance is terrible because (a) every row is handled in its own transaction and (b) even if it wasn’t there are multiple network round trips per row. One is thus compelled to write a kind of hybrid: insert a thousand rows, do some join, for each row that is returned, add a row to the pile of stuff to be inserted next, do that insert, and so on and so forth, for many steps. Instead of having a loop like:

for data in input {
step1();
step2();
...
}

...you get code that reads like: do step1 for a thousand items, insert, do step2() for a thouand items, insert...

With the code running directly in the database, you can write it in a more naive, ORM like style, because calling into the database for an INSERT or SELECT is much cheaper than a network round trip.
I've seen discussion floating around of dazzle camouflage for the face - a sort of blend of WWI meet 80s glam rock.
Can't say I'm surprised...my amateur investor tip is to buy stocks that cater to the emerging poor or super rich and short or avoid anything in between. There's a reason Dollar General has been rallying ($DG)...

I'm long CVS ($CVS) for the same reason...especially after having bought Aetna I predict their "Minute Clinic" concept will cater to the emerging poor that will become increasingly sensitive to rising healthcare costs for acute care at traditional urgent care/hospital settings...
Five most highly-anticipated Chinese tech IPOs for 2018 – TechNode
This is automation of what's already being done, but at larger scale.

My father used to do a lot of business in China. He has a lot of interesting stories, but one of my favorites is one about how he was under constant surveillance by government employees and party members.

They would monitor his movements and keep logs. He knew this because some didn't even bother keeping it discrete. He'd see the same guys over and over, and they would whip out a note pad and write things down.

Labor cost was cheap back then to do this type of low-tech surveillance.
The article didn't really go into detail about how this works within each city.

I am surprised they're scanning each city linearly, even a crude index (such as boxing), or a binary search would greatly improve the lookup time. I guess if the data fits into the cpu cache the order these are scanned doesn't matter so much?
I doubt both the veracity of your claims as regards the efficacy of your apps, and I doubt your stated goals/intentions. As I said, time will tell. I will say that you’re doing yourself no favors by selling this here. Call it cynicism, skepticism, or just experience... you need more than a too-slick pitch and a sketchy product stuffed into a “sciency” skin.

Edit: DoreenMichele’s post should be your bible.
> The only places I expect privacy are in my home and on the Internet (such as it can be).

That is nonsense.

If a group of people started following you everywhere in public, taking notes of everything you do, measuring anything they can about you that they can without touching you (which increasingly would include health information that is not readily apparent to everyone else) ... you are telling me that that would be perfectly in line with your expectation?

It is unhelpful to conceptualize privacy as binary. Of course, you expect to be seen by other people on the street when you go outside. That does not mean that you expect to be stalked, nor that stalking was somehow an implicitly accepted behavioural norm all along.

Technical capabilities change, and with it, we need to change how we enforce what was previously a natural outcome: You weren't invisible in public, but most people who saw you didn't recognize you and forgot about you within seconds to minutes of seeing you.
lottery tickets are purchased for entertainment purposes, not as an investment vehicle.
Huh, Children’s privacy and liberty are already extremely limited, by definition.

The phone addiction thing is severe for young people, and it’s not comparable to playing games on the computer back in the day.

My stepson responded to the suggestion of placing modest limits on his phone use with genuine anguish.

The problem is compounded by network effects, because vital social connections are now actively mediated through the phones.
Test Driven Development and Behavior Driven Development in Java
I'm working on a side project that involves getting useful NN based networks working in a browser.

There's some demos which for instance will do class prediction (cat vs dog), but who needs that? I would love to see stuff like colorization working in a static webpage, at decent speeds (under 5 sec for a big image). It should also be easy enough that my mother could use it.
I love this example.

Kinkade is considered an 'outsider artist', which is a category an artist falls in when they are successful but not cool or young, like a celebrity.

The "artist's story" being discussed in most of these comments is more like a brand. If an artist is a brand, parent's comment is supported. If an artist is a commodity of skill and intellect, parent's comment is a farce. The same goes for if an artist is a celebrity. More and more every day, successful artists must be feasible celebrities.

The overlap of artist and celebrity marks something of an end to commercial Art's intellectual integrity, which is maintained only through symbolic links such as the insistence that artists have an MFA. This requirement came about following conceptualism. For example, Rothko, who the article's subject was shown beside in the 1950s, was a middle-aged philosopher with no art school experience and a miserable origin story, which did not matter then. Note a commitment to intellect did, which was not assumed when one partook in the dealings of Madison Ave.

Contemporary art critics would like you to confuse conceptualism with abstract expressionism. Don't do it. The artist in the article exemplifies the difference.

Conceptualism is popularly defined by an incomprehensible history and a host of needless exaggerations around what an art object is. A more likely history is that conceptualism is an opportunist side effect of abstract expressionism, which was a highly intellectual and honest project. Conceptualism asks what can be art?, which simultaneously allowed artists to become their art. This uncoincidentally occurred alongside an explosion of popular obsession with celebrity. To have a good artist story is to have a story worthy of celebrity fame, which is another topic entirely. The point here is that conceptualism is not, despite popular manipulation, a legitimate or interesting art movement. It is a flash-pan quasi-philosophical excuse for quasi-intellectualism in art. Conceptualism makes the celebrity nonsense quasi-reasonable, so it was adopted as the origin story for the current contemporary Art world as a whole, which depends on notions of celebrity to compete in such a commercial society.

Note Warhol stands out for having actively subsumed Madison Ave. with his intellect, not in place of it.
A software project is done when no one is willing to work on it anymore. - my third boss
Generally people don’t approach panini vyakaran directly but rather through a text such as the siddhanta kaumudi or laghu siddhanta kaumudi which are the panini sutras reordered with the ancient commentaries of patanjali and katyayan.
I'd love to be able to read what ghe Chinese people have to say
React, Redux and JavaScript Architecture
Car detection in video
Disclosure: I am the original author of this article.
SSRI/SNRI and Life style changes are not mutually exclusive, nor should they be.
I'm not really concerned about the time limit function. But the video also says that it gives you a "report" of how much time your kids are spending on each game, and I think that may go too far.

Keep in mind that this isn't just about how good parents can misuse technology in raising their kids. I think people tend to think of "parents" as a group as something different from the individual parents they've actually encountered. A lot of parents are actually pretty terrible, and when we talk about "giving parents tools" we need to keep in mind that we're also empowering those parents.

So while the tendency might be to imagine some wholesome mom who just wants to know her kid isn't playing Murder-Fuck 2018, we should also remember the homophobic dad worried about his son playing a My Little Pony game.
What if the code is the law?

So instead of writing laws in lawyer speak that nobody can understand anyways they would be written in C!

Lawmakers would essentially become the programmers
I'd also like to see visualizations which aren't based on the standard linear mapping of increasing semitones. For example, following the circle of fifths instead, and/or contextualizing to the subset of notes used in the song's musical key. Making the root note visually more dominant and the others in proportion according to mode, etc.

I don't mean to take anything away from this beautiful visualization, just something which I think would take it to the next level.
The whole reason google spends billions on their search engine is that humanity does not yet have a program that can differentiate fake relevancy from relevancy, with perfect accuracy.

The venn diagram between SEO and user satisfaction is gradually being compressed into a circle by Google as they improve their algorithm.

SEO is already basically human oriented now- anyone selling mumbo jumbo SEO magic now is a crank. It used to actually work quite well.
Do you suppose FB+Yarn is in a position to compete? Yarn can implement support for optional package signing. From the consumer's perspective, one can choose to be alerted whenever the "main" package signer (usu. developer) changes, or simply to accept only packages verified and signed by a group of trusted third parties.
This is a very cool take on the piano roll visualization. I’d love to see something similar that focuses on harmonic relationships rather than linear pitch relationships, perhaps using something like the lattice: https://en.wikipedia.org/wiki/Lattice_(music)

The only lattice visualizations I know of are Gary Garrett’s: http://www.garygarrett.me/
They've even removed a lot of the useful search operators. Someone needs to bring advanced search back in a competing search engine.
SuperTux: A Linux Take on Super Mario Game
I would imagine a lot of us here who grew up in 90s would have the same experience. However, I do not see the same parallel to using a mobile device dominated by facebook, Snapchat, emojis and games. There is nothing to tinker with. I also don’t believe that mobile device use bridges to computer use — which could possibly cause a child to show interest in ‘how are these apps made?’
Fair enough, you're right that there would surely be patterns. But there's no advance reason to think these would line up with popular stereotypes. PCA & factor analysis often come up with highly unintuitive components! And unless the fit was spectacular, there'd be many 'great artists' falling outside of its net, so we'd just be falling back to judging the work, not the person's life.
I took the plunge, but it's barely a plunge at all. I purchased an open box Acer at Microcenter for $180 bucks. Sadly, this model only comes with a 32GB drive and no capacity to upgrade it, but I don't really care. If I like this way of computing well enough, I may spring for a slightly more expensive model. But at under $200, I didn't have much to lose. Thanks for the detailed advice.

So far, I'm really impressed by Gallium. I understand why some might raise some exception with even more fragmentation in yet another software distribution, but it really does make sense in this case, especially with the touch screen on this model.
What a relief, all we have to do is chop down the rest of the rainforests? Here I thought you were going to say something hard.
>>> 1. As a developer I can not know with certainty that a package I publish will remain published under its current name.

>> You can as long as your package name isn't trademarked or likely to confuse users installing the package.

> Trademarked where exactly? You know, there's quite a lot of world beside US.

And, if I recall correctly, trademarked when? Wasn't leftpad.js's author using the name kik well before the company Kik existed? So you don't just need a name that's not trademarked _now_, you need to pick one that no-one else trademarks sometime in the future (in whatever jurisdictions the npm people care about)...
Zuckerberg's problem is structural: Facebook makes money by manipulating people into viewing ads. No amount of spin or contrition is going to change that, so he has a tough road ahead.

He can, however, take a page from Google's book: if your underlying business model is a bit scummy, create a ton of other business lines that people love and make them free or inexpensive. Get into moon shots, rockets, self driving cars, etc etc.

Distract us Mark, it's the only way!
Ask HN: If you were going to start the “MTV of EDM,” what would you call it?
The question is all in the title: If you were going to start the "MTV of EDM," what would you call it?

My startup is working on building the "MTV of EDM," but we're having trouble finding a good name. Any suggestions?
The Kitt Peak program I did was a great experience. It's in the middle of a desert wilderness, so get there early for incredible views and a sunset. We got a tour of many of the telescopes. Bring lots of warm clothes because it is quite cold and windy after the sun goes down. And then at the end, for one more bit of excitement, you drive down the (steep, winding) mountain road without headlights--just following the brake lights of the person in front of you.
I know :(

I don't want to pay for BBEdit though, and I'm still on 10.9 so the compatibility hasn't caused problems for me yet.
Gmail Labels: everything you need to know
Looks neat! What's your dev stack for the project?
> If you use an ORM-like coding style, you get orderly code but performance is terrible because (a) every row is handled in its own transaction and (b) even if it wasn’t there are multiple network round trips per row.

What ORM are you using? I've only really used SQLAlchemy, and I'm pretty sure it doesn't end up working like that. I've seen the SQL it outputs and it almost always is what I would have written (I haven't done really complicated stuff, though)
Do you believe that your experience is typical?
11 team building activities that can be organized for under $99
There are words that better express the nuances of the Japanese terms:

Jishin–(self-assured-ness)
ii kanji–(feels right)
yasashii kanji–(nice to someone)
atama ga ii–(smart)
I don't see how income inequality can change without higher taxes on the rich. The middle class earns 10 spends 10. The rich earn 100 spends 20 is taxed 20 invests the remaining 60. So next year middle class earns the same 10 the rich earn 100+investment returns. Add inflation and the middle class each year looses purchasing power and more wealth shifts to upper class. It's simple math and the way the tax systems in most of the world work is not going to change.
Interesting, how explicit is explicit? So much of literature is implied references. Assuming that later works are always “linking to” earlier works, could you not use page rank for, say, rap lyrics?
Update: (this is not the post-mortem, this is just more detail) http://blog.npmjs.org/post/169432444640/npm-operational-inci...
5 ways to minimize the security risks of the cloud
Neat idea. The website looks pretty good too.
I think you are overestimating the cost of bandwidth. Non-video web surfing as the bandwidth determining application has been surpassed a very long time ago.

A prime reason broadband stopped getting faster after around ADSL2 is that nobody knew what to do with all that bandwidth, and that was 15 years ago. In fact you can watch today's Netflix 4k on 2003's 24 Mbps ADSL2+ connection, if you're reasonably close to the DSLAM.

ISP backbone bandwith cost has continued dropping on that curve even if home broadband speeds have stagnated due to telcos investing all their chips into 4G coverage. (A silver lining is that 4G is symmetric so you can reasonably run video calls and home servers off it..)
No, it's not the same zoo, unless you live in Somalia.

Rule of law and working policing changes everything about your reactions to other people. In a typical western country, most of the time you feel threatened just by seeing someone on the street, you're imagining it (proof: count how many times "feeling threatened" turned into "actually being threatened"). Other people don't want to go into jail either, and violence achieves very little compared to patience and civil agreements.

But this is a sort of thing we still can handle real-time, reading things off each others' faces as we go along. Where the charade breaks down is all of our intuitions about state of the world, as we consume mass media.

Humans run on availability heuristic[0]. Quoting from the Wiki, "availability heuristic operates on the notion that if something can be recalled, it must be important, or at least more important than alternative solutions which are not as readily recalled". Mass media give us heavily filtered view of the world, which does not, in any way, correspond to the real world we live in. Thanks to news reporting, you feel like you're surrounded by rich and beautiful people, constantly threatened by gangs and terrorists, and that everything around you is going to shit. None of that is true, and yet even knowing that, we all have trouble handling it in our heads.

The heuristics we are born with were optimized for small and very localized group of people, not for large, dense populations, and constant light-speed communication with everyone else on the planet.

--

[0] - https://en.wikipedia.org/wiki/Availability_heuristic
5 Easy Ways to Pursue Your Startup Without Quitting Job – IQVIS Inc
Pretty sure "allover" isn't "significantly depended upon" - how would you feel if YC gave that account here to me just because I went and paid for a trademark on it?
Has the community discussed adding cryptographic signatures to npm packages? It's generally a good idea in any case, but this outage further highlights the security risks of a public registry where packages are not signed.
As the site says, for some people this really isn't an option.
Google Chrome actually will tell you about your clock settings I believe?
The name Dopamine labs reinforces a popular-science myth that dopamine is addictive. I want to use this opportunity to point out that this is not supported by research in psychology/neurobiology and demonstrates an incorrect understanding of the role dopamine plays in the brain: https://www.psychologytoday.com/blog/women-who-stray/201701/...
How is that an issue? If anything, that just shows how pointless it was to run it over Bluetooth in the first place.
It is interesting that Apple still doesn’t allow you to block specific apps.

I do mean specific apps, not a whole class of apps based on rating. I mean blocking just one app.
Curious, so are you running as a sole proprietor? Wouldn’t it be eligible for the small business deduction?
I have to say, as someone who studied Sanskrit grammar in the paninian system, and also mathematics in University how mathematical the Paninian grammar is, incredibly algebraic. Prefixes and suffixes combine to change and modify words, words can be joined together to create new words. Though I’m sure these features are found in other languages.

Another interesting note is that Vedic mantras are sometimes traditionally learnt and recited in what is known as a Ghana patha. If i were to number the words in a sentence, “The cow jumped over the moon” as 1 2 3 4 5 6 and then if I were to recite the sentence now permuting the words as 1 2 2 1 1 2 3 3 2 1 1 2 3,, 2 3 3 2 2 3 4 4 3 2 2 3 4.... The complexity increases. This is because words can be joined together in Sanskrit. Furthermore each letter in Vedic Sanskrit has three ways of pronouncing it (similar to the Chinese four accents) and these can change as you permute and apply the sandhi rules as well.

I haven’t seen such complexity in other languages (though it’s possible it may exist) but such complexity is why it wouldn’t surprise me that the effect could possibly be specific to Sanskrit.
Stock investing can be very entertaining - there's news on it all day every business day. And the returns are +7%, not -50%.

Personally, I find negative 50% returns about as entertaining as having my teeth drilled. And the median return is about -100%.
My Mrs is an astrophysicist and has been to Chile about 10 or so times over the last 8 years. She says the Atacama desert is ideal because of Chiles political stability as well as stability of the atmosphere. A high and dry western coastline is good for great “seeing” conditions because highly stable sea air is less prone to fluctuations in temperature which is the bane of any astronomer (this is what creates twinkling of stars). As it happens she was working on the data reduction pipeline for an instrument with adaptive optics (AO) on the Gemini South telescope. AO helps reduce atmospheric disturbances even further so they are now getting better results than Hubble from a ground based telescope.
You missed the point that 20% return on $100 won't change a person's life but a lottery jackpot will.

I find it odd that when a wealthy person hits the jackpot on a speculative trade or alt-coin I can't help but feel they were clever. Perhaps it is because buying and holding takes discipline whereas no discipline is required to buy a lottery ticket.
What's the point though?

The app store is 99% low quality garbage. Sure, you can spend your time and effort searching out the 4-5 high quality gems that may exist and configuring the ipad but it's 10x easier just to buy a Nintendo game and call it a day. Nintendo's first party games are almost always very fun, always high quality, ad free, and always(?) kid friendly. When you buy, for example, a Zelda, Mario, or Kirby title you know exactly what you are going to get. Not all entertainment needs to be "educational" and we are talking about entertainment here.
An earthquake could destroy everything - not only during construction but after installation in Chile as well.

Still, parking the telescope in Chile is easier to fix than Hubble (which has its own famous repair story).
Finding a CPU Design Bug in the Xbox 360
I might have missed it; No mention yet of DDR6/ next generation gpus?
The communist regimes just banned anything which didn't adhere to the new man utopian concept. Blue jeans, males with long hair, narcotics, being gay, being unemployed etc. Alcohol wasn't banned for some reason, although Gorbatchev tried to limit alcohol use and failed.

No racism? In the early USSR, racism was state policy, with people being deported to Siberia or scattered around the USSR in order to dillute their culture. Ukraine was also subjected to genocide through famine, which killed 7-10M people.
And in the past, sometimes it's been a problem and sometimes it has not. It stands to reason that as we hyper-optimize for attention seeking applications we might start making things that children cannot realistically resist.

Television deregulation in the US is the precedent here. Given the modest costs of these sorts of inquiries compared to the massive profits enjoyed by Apple, Google, Samsung et al, it seems like a reasonable use for corporate tax dollars is to be an advocate for the general populace and make assurances these products are not in fact harmful.

Why is this such a challenging idea? No one is saying, "These are proven bad." They're saying, "We should have a definition of bad and then validate it."

The idea that we're not even allowed to ask the question because it's offensive? Why, that's positively irrational.