skysight-inc/HackerNews huggingface dataset:
The best implementation I've seen of this was actually in a Rails library, where rather than keep the functions and triggers in migrations, it kept them in individual files so they'd be version controlled just like the rest of the code...and then reloaded them with migrations if they had changed.

I don't know if the library is maintained anymore, but I need to find it.

EDIT: Found it and it's not maintained. Solid approach to the problem though.

https://github.com/norman/squirm_rails
It's not that anyone thought it _needed_ to be in video form, it's just a conference talk. For reading there's the readme here: https://github.com/Polymer/lit-html and documentation site here: http://polymer.github.io/lit-html/

They both go into how lit-html works and how it doesn't just throw away and recreate the DOM on re-renders, though I admit the docs could still be better.
At that scale, you wouldn't be paying list price with any provider. These things are negotiable for significant customers.
It's just hard to get a business to $9m with too many of those in place, and I'm assuming that the unit economics of any SaaS are really good unless it's one of those products that is built on human labor like voice transcription.
Interesting. I wasn't aware that was the basis of the ruling.

I'm not entirely clear about the legal implications, though. It's unclear if the majority would also overturn a direct ban, but obviously this case would not form precedent.
Anyone one else want to weigh in on that? Sounds intriguing, but Amazon reviews suggest it's ruined by technical inaccuracy.
I'm not entirely convinced by your line of thinking.

Firstly is your sole motivation for your business financial? Because if so you may as well sell it, buy property and let it out, you'll earn a comfortable living and if you use a letting agent you can get them to deal with the renters and do almost zero work, bar having to file taxes once a year (and hey you can get an accountant to do that for you). Even ignoring that, is your business something that actually generates a lot of profit or are the margins small? Whatever you're doing you could invest the time into an ICO and make millions. Point I'm getting at is that very few people start a business solely for financial reasons, there's usually some level of passion involved.

Secondly, why exactly would a high tax rate stop you expanding completely? You'll still be earning money, just less than before. And as the other commenter pointed out, someone else will step in if you don't, which could threaten your business.
No, it's a complaint about the availability of the app itself. You're not forced to use the App Store and most freeware is offered both in and out of it.

I gave Winds 2.0 a look last week and had the same experience. It took like 5 minutes just to get a download link and it takes me to the App Store where I have to sign-in (after signing in to LastPass and pulling out my phone for 2FA). Then I finally get it installed and immediately get asked to register for yet another account.

It's a pretty app, but the install process was terrible and it's honestly not a great RSS reader. It's a worse version of Flipboard with somehow less control over the content you see.
Dude half read the headline and nothing else. He saw CSPAN.
It never got readline/libedit support AFAIK. I started once but it never got ready.
I'm not really sure that would help in the case we had.

Most of our code ran through an ORM, and the ORM assumes the DB either did what it asked, or the query fails. I don't want to have to abandon my ORM because I can't trust my "DBA" to not sabotage my queries.
Thanks for your hard work.

Can you please add, if you have time, a few lines (the commands required) for building the compiler from source ?
Both Feedly and Flipboard seemed far better in my brief usage of Winds last week.
I've found Holub on Patterns to be a fantastic resource on applying GoF patterns to real world code.
I assume OP was just giving an example, because the busiest lines in NYC subway (4/5/6) run about 20 trains an hour at peak times now, and that's with ancient signaling.
Banned from Amazon: The Shoppers Who Make Too Many Returns
I still have somewhere Walter's Zortech C++ that was life saver for me at one point.

H/W: i386 machine 25 mhz, 2mb RAM.
Internet: No
OS: MSDOS
IDE: MultiEditor + Zortech C++
Where: in the middle of nowhere - small town between Europe and Asia.

At some point upgraded the whole setup to Symantec C++ on Windows - for unknown now reasons.
> You're not forced to use the App Store

Is this true if you're a developer? I've stayed away from macs because you need xcode to get any sort of dev tools and xcode is only available on the App store (at least this was the case the last time I tried to develop on a mac).
> Maybe it's uncool to like Feedly nowadays

Argh, when did this happen? I've been a big Feedly fan since the death of G Reader.
Will the new signals work when all the track is underwater, I wonder.
One Cubit the More: Remembering J. Robert Oppenheimer
Allow me to change your view. What irks me are sentences like these

> The great investor and teacher Benjamin Graham..

> Smart people like Charlie Munger..

> Vice Chairman of Berkshire Hathaway and one of the finest thinkers in the world..

There is no mention in the article as to why I should believe they are as smart as the author believes them to be. (Hint: They made a lot of money and their advice seems rational, so they should be smart?). No doubt they are great investors (they made a lot of money), and I would follow their advice in money matters. But I question their credibility as extraordinary thinkers.

Notice how this type of content is marketed and perceived. Specifically, any advice by investors/CEO/Entrepreneur (or other individuals whose primary experience has been in making money/increasing market value) being touted as general success mantras (including in your personal life). Principles by Ray Dalio being a recent example. And as I mentioned, I believe this is a product of the neo-liberal ideology that has taken over our society.
> The book makes the case that Elizabeth Holmes was a capable practitioner of the "reality-distortion field"

She also survived a coup attempt by her board, simply by convincing them to give her another chance. Then she fired the executives that moved against her.
Ask HN: Why do you hate your job?
Do you wake up thinking "My job sucks"? I'd be interested to know your top three reasons.

Please do not include any of the following:

1) Anything to do with pay/benefits/stock options.

2) The commute.

3) Your manager.

Many thanks in advance!
7 Brief Lessons on Physics, Carlo Rovelli
This seems pretty outrageous. Do you have any source for this?
You can also get a real quick exposure from the Modern::Perl module[1], which is by the author of the book mentioned in a sibling reply.

The basic idea is simple though. Use strict. Use warnings. Use new features and best practices modules (Task::Kensho[2] an help here) when them make sense (e.g. Moose/Moo). Be aware at least what PBP[3] is, and if you feel so inclined, use Perl::Tidy and/or Perl::Critic (even if your own defined subset of rules) to give yourself an idea of what is considered good practices (and when to throw them our for that elegant line or two, just don't forget to comment it so you don't confuse yourself when you see it months/years later). Basically, if you care about the code you write, you should find yourself gravitating towards writing Modern Perl anyway, and the speed at which it happens is largely determined by your exposure to the Perl community at large.

My own personal set of best practices means almost always using something like Function::Parameters or Kavorka, and possibly Moops.[4]

1: https://metacpan.org/pod/Modern::Perl

2: https://metacpan.org/pod/Task::Kensho

3: http://shop.oreilly.com/product/9780596001735.do

4: https://news.ycombinator.com/item?id=11633961
The unions aren't the main reason, it's that the signal system in the NYC subway is decades old and won't allow automated trains. It needs to be upgraded, but that costs money that so far no one has been willing to spend.

From what I understand, the L train is one of few that has the necessary upgrades, primarily because it doesn't really intersect with other lines, which makes it a lot easier to deploy. If I recall, the L functions with only one conductor when the other lines use two. I agree that the union could be more progressive and embrace change... but the big problem is money, and consequently, state politics.
I've seen that site posted a few times. It's really becoming one of my favorite sites for career skills.
Sofft Wheaton: Whiskey – Womens – RageCraze
Genuine question - how could it possibly cost $100B to upgrade a "signalling system"?
> Shannon also built juggling robots. (

I'm disappointed this Kickstarter project never received funding:

https://www.kickstarter.com/projects/958028900/human-scale-p...
Hedging is the opposite of gambling. You reduce risk, but potentially also reduce your payout.
Apache Storm vs. WSO2 Stream Processor
The previous question was about whether the NSA builds dossiers on all Americans, which is a far cry from having a database of phone call metadata not linked to PII used to find phone numbers of associates of malicious foreign agents.

Also, GP's timeline is backward. Snowden reached out to Greenwald four months before that hearing.
In my experience, finding a framework when you're searching for a solution is not a consolation prize. When the consolation prize is the only prize, it feels like the first place trophy -- and it is, at that time. The solution doesn't actually exist yet, but now you have the tool to find it.

About a year ago, I had this inescapable feeling that I was spending my time poorly (not daily productivity but on a larger scale), and it was causing me a lot of anxiety. Then I read How Will You Measure Your Life? by Clayton Christensen. I walked away with a framework for finding out what I want to be productive towards, even though that thing -- whatever it is -- was no more clear to me. My anxiety disappeared, which is what I wanted all along!
Ask HN: Side projects distracting from work
I'm an engineer for one of the big tech companies out of Austin, and am starting to struggle with staying interested in work when I have much more interesting and fun side projects.

How do you maintain your interest/motivation for work, while working on fun side projects? It seems like whenever I start working on a fun side project my drive at work rapidly declines.
New Details on Discovery of San Jose Shipwreck
No, we're not.
Breaking the Bank [pdf]
I meant for providing your apps to users. Apple's software is only available via the App Store, but you can put your app up for download anywhere you want. As an example, Slack can be downloaded from both their site or via the App Store. [1]

[1]: https://slack.com/downloads/osx
If all goes according to plan, it will look even more like Elm in the next major release (2.0).
I would definitely be interested in being a helpful source for a senate office on some matters. How would I go about gaining the credibility and connections required for them?
An end to the era of ultra-low interest rates from the Federal Reserve will also weigh on these overvalued names. As interest rates continue to rise throughout 2018, that will accelerate the unicorn slowdown.”

this interest rate argument is at least somewhat realistic.
You should check out https://github.com/choojs/choo (similar framework in 4kb) and other packages in its ecosystem — https://github.com/choojs/nanohtml (template strings to HTML elements)
The cornmeal and skim milk was provided to the baby's family in order to discourage them from distributing the baby's formula:

"The nutritional intervention (groups 2 and 3)
consisted of giving 1 kg of formula containing
66% of daily-recommended energy (calories),
protein, and micronutrients provided weekly
for 24 months"

The article implies that the families likely split the formula for multiple members, thus diminishing any effect it may have had on the baby's development.
How is lying different to any other crime of intent in this regard?
It's United States bombs that are killing terrorists. If the United States stopped dropping bombs on bad people, those bad people would murder your neighbors, friends and family.

So if not the United States, who should be in charge of dropping bombs on bad people?

This is why emotional reactions are not part of defense planning.
Why Carousels Are Evil
Well, I would encourage my senator on such issues, but my senator is Wyden. Here goes another "thank you, keep up the good work" letter.
Triggers are one of the best parts of Postgres.

We built a large ETL and machine learning operation in PG through triggers, from simple algorithms calculating rate of change for updated datasets, to identifying trends and connecting seemingly unrelated data.

Even at our scale [0][1] the performance tradeoff is absolutely worth it. The best part is the consistency of the data. If the trigger dies, the whole transaction is rolled back and you have to re-run it. This way we never end up with different state of data that has to be fixed after the fact.

There are some downsides. Triggers are very hard to debug, optimize and monitor. Versioning is kind of nightmare and there is no direct performance information that you could capture. In our case it's even more as we are running on citus and we have to deal with data distribution, colocation and other issues.

But it's now two years and we're only adding to it.

[0] https://www.citusdata.com/customers/pex

[1] https://cloud.google.com/customers/pex/
>The wealthy only care when the pitchforks come out.

I can't find the link right now, but there was a TedX talk by a multi-millionaire arguing that he wants to be taxed more. And it's a growing trend, a lot of very wealthy people are starting to plead for higher taxes. The reasoning being if wealth inequality continues to widen, eventually it won't be a case of shaking the rich to empty their pockets a bit, it will be a case of hanging the rich from lampposts.

I've met a lot of anti-capitalists who are mildly Posadist/accelerationist for this reason. For all of the ideas in this thread regarding increasing taxes on the rich and social welfare problems, I cannot help but believe that ultimately, we are overdue large scale social unrest in 1st world countries. Placating the proletariat with incentives like tax breaks and welfare programs is great in the short term, but in the end it might just be delaying the inevitable, and making it far worse. I'm firmly of the belief that a new economic system needs to be part of mainstream discussion as soon as possible, because otherwise we will eventually have riots which cause a power vacuum, and history has shown nothing good comes from that.
I was a bit surprised by the inclusion of lesser languages and the omission of D !!

Please share the secret of your tenacity and inspiration in the face of such "setbacks". How do you do it on a day to day basis?
I can imagine a world in which basically all of Manhattan's streets are open only to autonomous vehicles. I wonder what sorts of redesigns we would do if all trips were effectively one-way and most cars were the size of a Smart fortwo.

I think we're many years and a couple trillion in infrastructure retooling from this reality. But when my infant daughter is my age, I think this is what NYC will be like, assuming society as we know it keeps progressing, while diffusing the many potential catastrophes we've set up for ourselves.
> It's a shame that the focus is always on the capital outlay and not on the cost benefit potential to be realized (both economic and non-economic). This sort of spending should always be seen as an investment.

The reason the focus is on cost is that New York transit has a long history of spending far more than it needs to, due to rampant corruption[0].

If you look at this like an investment, then you also need to do the same sort of due diligence you would with any other investment, including asking why the costs are outrageously out of proportion with what they should be.

[0] https://nytimes.com/2017/12/28/nyregion/new-york-subway-cons...
GTFOBAE ПОКАЗАЛА ЖОПУ НА СТРИМЕ – МОМЕНТЫ С ТАНЕЙ ШВЕД 2
> Genuine question - how could it possibly cost $100B to upgrade a "signalling system"?

Widespread corruption drives up costs for all MTA projects.
https://nytimes.com/2017/12/28/nyregion/new-york-subway-cons...
digitalmars.com !

When I started, everything was closed source. Open source was inconceivable.

I started writing compilers in order to speed up my game Empire (www.classicempire.com). Compilers turned out to be more interesting :-)

Yes, many bought licenses.

D was started because I got bored with retirement (6 weeks of watching TV will do that do you). My ideas for improving C++ met with enormous resistance. So I did my own language. Ironically, D features have steadily been adopted by C++.

> have there been any mistakes made?

Haha, I could spend months responding to that!

Probably the worst abstraction in the DMC code base is the use of linked lists. They're slow, cache-unfriendly, and leaky. I learned my lesson with DMD, which uses adjustable arrays instead.

I've tried encapsulating the lists, like CodeBuilder in the back end, but it's a LOT of work to get that in. It wouldn't have been so much work if the list abstraction didn't leak the structure of the list at every opportunity.
Let me know it please
What is the technology behind the measuring process,how do you take the accurate measurements??
How many years of education is the right amount?
Every time I saw a couch fire at Canterbury, the fire brigade arrived shortly to put it out.

They were definitely frowned upon. Especially when the couches were stolen from the halls of residence and burned on Ilam fields.
Please let me know
What is the technology behind the measuring process,how do you take the accurate measurements??
Is that a quote from someone? It nicely sums up my naive experience of trying to "clean up" my code
Sadly they never seem to learn about it despite the risks being known of treating them as magic wand auto-wins instead of pieces of evidence. From the absolute criminal garbage of bite mark identification junk science, DNA science using tests skimpy enough to false positives as their databases grow and they misuse what it statically enough for 'eliminating any non-matches in the pool of suspects' to pools of millions including vast numbers of non-suspect and non-victim samples which basically guarantee a conviction of an innocent statistically via lack of precision.
I hate Feedly's UI. Sorry
The DMG is available here: https://s3.amazonaws.com/winds-2.0-releases/releases/Winds-2...

We'll start to link this on the download page. Other users had the same experience. I like the idea of auto updates on the app store. But yeah...

Thanks for the feedback on the onboarding flow. We're changing that to make it optional. RSS parsing is done on the server to allow for future mobile releases.

There is no monetization planned for Winds. It started out as an example app for getstream.io and gradually became more popular, which is kinda cool. Again, we don't intend to make money on Winds. As long as it doesn't get too crazy we'll even keep on allowing free new signups on the hosted version.
Is there a way to do this in Linux/Ubuntu/Debian?

I've looked as hard as I could but I couldn't find any solutions, at least not one that didn't require writing your own drivers.
Philip Roth has died
I didn’t know about this. Do you have any links?
I think this was the AI mentioned in a recent PBS Nova segment on AI. It was remarkable how much it appears people in China have been interacting with this system.
May I ask why you wouldn't recommend it to teams that have to manage it themselves? I haven't used it myself but my team is currently looking at using it internally. The first project will be integrating it into our log pipeline between nodes and our logstash instances.
When you donate appreciated capital property (ex: stock) held for over a year, you get two benefits:

a) a deduction for the fair market value of the capital property, which counts against ordinary income first, and then capital gains if your allowable donation is larger than your ordinary income

b) you don't recognize income for any capital gains on the donated property

If you're donating stock with a very low basis, this is a pretty big bonus vs selling the stock and donating cash. It also comes in handy if you donate stock you've held for a long time with a lot of corporate actions and it's hard to calculate the basis (for example AT&T shares originally purchased in the 70s would be a lot of work to track down a basis for, if you donate it, or pass it through your estate, you don't have to determine the basis)
I'm a developer in the Midwest and my team participated in the signaling contest for the MTA Genius Challenge[1]. I handled gathering the raw data from our hardware and generating visualizations for testing, troubleshooting, and eventually presentation. Using a variety of hardware (ranging hardware on the train and through the subway tunnel, Ulta-wideband[2] transmitters for sending data, ect), we developed a Communications-based train control[3] system that would allow for moving block signaling[4].

It was a fascinating few months of problem solving and troubleshooting. I have fond memories of sitting at a folding table on the 7th Ave platform during a cold week in January.

That said, I don't envy those still working on this project. There are so many problem -- old signaling hardware that breaks down frequently and has to be manufactured by the MTA because no one produces the parts anymore, slower train speeds, track fires, train malfunctions, passenger-related delays... the list goes on and on. I hope they're able work it all out because I really enjoyed riding and working on the subways, even if only for a couple of months.

1 - https://www.youtube.com/watch?v=GMjSi0ftLjA

2 - https://en.wikipedia.org/wiki/Ultra-wideband

3 - https://en.wikipedia.org/wiki/Communications-based_train_con...

4 - https://en.wikipedia.org/wiki/Moving_block
Interesting. It seems it's a feature unique to the the GraalVM Enterprise Edition. Is there any official policy or statement on what makes it into CE vs EE? I think a there are a lot of questions around that that always crop up. PGO being unique to EE would feel more reasonable than say partial escape analysis. (Though I fully acknowledge Oracle's right to do so with work they fund.)

If the open source project (CE) is under GPL, doesn't that restrict contributions from making it upstream to EE?
Yeah, as others are saying, the CL spec foresees this with the way readtables work. But, honestly, the default behavior is pretty nice for normal programming tasks.
One of the only pure usability[1] wins from switching to DDG a few months back is that metacpan was always considered a better better/higher placed result. Of course, that only makes sense... [2]

1: It's nearly impossible to compete with Google when you aren't collecting every bit of data. That said, the reasons to switch remain compelling even months later.

2: https://metacpan.org/release/DDG
In bound...
nice@!!!!!
> Because Customer/Vendor/Invoice was too commonplace?

I don't know which I hate more. Animals and cars, or this. And don't get me started on portfolios and stocks.

Some of us learned programming having absolutely zero clue what an invoice is. Hell, I remember being sad that all this fun knowledge is introduced with these weird, boring examples from bankers' world, as if written for PHBs.

The point is, I guess, no examples are ideal. That said, animal examples probably deserve a special place in hell, as they mess up not just with your understanding of OOP, but also biology.