skysight-inc/HackerNews huggingface dataset:
I have Canadian citizenship, so I may just have to check it out. I've only been to Toronto a few times. It'd be a fine excuse to go back. My other excuse is watching the Jays play.

Thanks! I'll look into it.
Don't feel bad about renting. In german real estate is called "Immobilien". And it is, I saw an investor somewhere put down some actual math and buying a house tends to be a bad investment compared to what could have been done, largely because of illiquidity of it.

>seeing 45% of my before tax income going into savings feels amazingly liberating.

By "savings" I hope you mean an ETF or mutual fund. If you do that you should stop calling it "3 years of unemployment" and start calling it "early retirement".
GV and Lux lead $12M round for Veo Robotics, aiming to boost robot intelligence
>Would you similarly feel that we should ignore the "bs 3 century old" text of the First Amendment, or how about the right to a jury trial?

I'm not an American, so I don't feel anything for the invocation of the First Amendment as some semi-holy foundational text -- or any other text for that matter.

Now, for the ideas behind the First Amendment or the jury trial, it's historical legacy is irrelevant as to whether people should continue to bear it/enforce it today. 2017 people should push what makes sense for 2017 -- regardless of the dictums of some long gone noble figures and without their weight...

>Certainly, continental Europeans feel such notions are antiquated as they've basically abolished free speech if it ventures too far outside the Overton Window.

Or we have different ideas on the matter, and we don't base ours in what some 18th century figure said or did not say. Now, our ideas could be better or worse, but the latter part is important.

>The whole point of a constitutional system is that we have a supermajoritarian process to put certain things above daily politics.

In other words -- to force certain laws some leaders felt strongly about above the easy reach of the democratic process -- which can very well be "daily", why not?
> Just because Cameron quit office and a few other politicians said once or twice that we shouldn't leave doesn't make it a "campaign".

I'm sorry, this is just blatantly false. You simply must not have been in the UK during the referendum campaign.

https://www.theguardian.com/politics/2016/jun/22/david-camer...

> David Cameron criss-crossed the country on Wednesday in a final effort to warn Britain’s voters against rejecting the EU in the historic poll, that will also be read as a referendum on his premiership.

> Appearing in his shirt sleeves, and with his voice breaking at times, the prime minister issued an impassioned personal plea to the public to reject the “untruths” of the leave campaign. He pleaded for voters to “put jobs first, put the economy first”.
The problem is everywhere now. I think the trend originated with ideas from Material Design. There is no aesthetic restraint with animation these days, and it's terrible for accessibility.

It's bleeding over into Windows 10 too, which I just noticed a few days ago when helping someone with his computer.

It's bleeding over into Firefox, where small UI elements that are not the main area of focus are starting to animate. Chrome is even worse with animation by "flashing" elements after the user's focus has already moved to other parts of the UI.

Animating nearly everything on a page is like putting 4 inches of frosting on top of a cake that is only 4 inches thick.

Designers should be thinking: how can I minimize animation so that it only serves its essential purpose: bringing attention to the current area of focus in the most inconspicuous way where there is no other way to make things clear. Only one part of the page should animate at a time, and it shouldn't animate after the user's focus has left that area. There shouldn't be a delay between a user's action and animation, because that can cause a kind of "animation shock" in people who have motion sensitivity. Don't create elements suddenly get shoved into a user's face at high speed, especially with "boingy" easings.

Consider whether people are reading your content or playing a game. If they are supposed to read something, minimize animation -- think: "how can I remove as much animation as possible?". If they are playing a game, animation is fine.

Parallax can be nauseating. I wanted to like Google Plus, but had to stop using it once the animation got out of control. I stopped using Trello for mobile because of it. I close a lot of websites due to the animation, and Android phones have become really hard to use.

See also:

- https://www.webaccessibility.com/best_practices.php?technolo...

- http://simplyaccessible.com/article/animations/
And then you end up with slow applications or websites. Fast response times under high load can pay off and easily recoup longer development times. And it's much harder to change the system once you're successful.

Cost difference is another topic. While servers can be cheaper than developers, saving 90% of server cost can definitely clear some budget for enhancements.
Those that find rent cheaper than a 30y mortgage also may not have all the math right.

They may be looking at instantaneous rent prices, not accounting for rental increases over 30 years (while the mortgage will remain relatively flatlined, modulo ups and downs in interest).

When I started my mortgage in 2010, it was a bit more expensive than renting in my area. Not so any more. Comparable places now rent for hundreds of dollars more per month than what I pay in total.

Mortgages have some flexibilities in them. What landlord offers "skip a payment"? Haha.

One little thing that isn't a matter of all that much money is that renters often live without home insurance, quite unnecessarily. Even if you live in someone's home which has homeowner insurance, the policy doesn't cover the personal belongings of renters; if the place is destroyed, you lose everything in it with no compensation, unless you have your own policy. It costs like a couple hundred bucks a year.
Headless chrome opens the window to Visual Debugging. See

https://screenster.io/what-is-end-to-end-testing-and-is-ther...
The problem is the "pretty good" uncanny valley.
How are you measuring those metrics on real devices ? Do you use the Chrome tracing timeline ? I wrote a tool called http://github.com/axemclion/browser-perf that does something similar, so was curious !!
yep ^ it also provided a way to work on your algo/interview questions for a few more months without having to worry about money. the job hunt can take upwards of 3 or 4 months, and it's a lot easier to get a good job if you already have an income.
Say what you will about this, but you gotta admit that it's perfectly catered to the Instagram selfie crowd, and she's definitely going to make a pretty decent amount of money off this idea before it's all said and done. It hits all the points: unicorns, bright colours, and twee feminism. Not my thing, but kudos to her for making it work.
So, how exactly do you propose compiling and testing the code on your typewriter?
Personally I think it's busy work. Lots of problems have been solved, but there's still lots of people to employ. And people without a problem to solve get antsy, feel bored, and move on to other departments or other companies entirely.

A software project without enough time, money, or staff wouldn't run into these problems. They'd certainly have their own problems, but graphical bloat wouldn't be one of them. Which is echoed by another comment here about Steve Jobs forcing designers to work on minimal spec machines.
Yep, nail on the head.

You should never, ever throw away user input. All reasonable: Cut the anim short on input, respond during anim, buffer the input and respond after the anim. But whatever you do, don't just throw out the user input! It's a terrible experience when your phone ignores you. It feels buggy, and creates a sense of anxiety/hesitation when using your phone.

Apple used to be really good at this, but they lost the religion starting in 7...
TiDB – a global scale distributed DB
And, as per typical, the regulation won't start happening until the white collar workers making 120k+ start losing their jobs.
Reminds me of http://bookcrossing.com which has been around for a while, lets you put an ID number in each book and then you can track it as others find it. I released a handful of books in NZ and London about 10 years ago via bookcrossing
I wonder if at some point we'll see lawsuits over these horrible keyboards from people with repetitive stress injuries. I sure hope so. This problem was foreseen and could have been avoided but Apple refused. Now it's turned into a multiplicity of problems. Personally I'm done with Apple's shitty products.
I'd say that you find a fair share of C++ as well. Especially for high volume endpoints.
Depending on who you believe, the first people to get replaced by robots are the least likely to be able to afford investing in robots companies.
> I "invest" in new startups because I want to help the next generation

That sounds noble. But, concretely, you want to help people make SaaS products like Storemapper (mentioned in the article)? I don't want to sound demeaning, but is that really such a noble goal?
It can transform anything that's written in JSON, which means both model and view and anything else.

One of the use cases for ST.js in Jasonette is dynamic client-side rendering, where it takes dynamic data and renders it against the template, after which it becomes native components.

Another use case is implementing actual functional programming. This one is not as straight-forward since it involves maintaining another separate state machine for function call stack. But this is also achieved using ST templates. Here's a blog post that talks about it in detail http://blog.jasonette.com/2017/02/15/functional-programming-... but it's a bit involved.

Also Jasonette has something called mixins, which you probably can guess based on its name. It lets you mix in JSON objects into another, so that you can make the app modular. That's also achieved internally using ST.

Overall, I believe even I'm just scratching the surface of what this can do, which is why I decided to take some time to clean things up and prepare and open it up as its own repo, because I think there's tons of other things that can be done by taking advantage of the fact that all that's happening is:

JSON A + JSON B = JSON C

Hope this makes sense!
Format Code Style with Prettier in React Native
Seconded! He also wrote On Stranger Tides, which served as inspiration to Ron Gilbert to make The Secret of Monkey Island, also inspired on the Pirates of the Caribbean ride, which in turn inspired the Pirates of the Caribbean movies, one of which is called On Stranger Tides... but it all starts with the novel by Tim Powers, which I thoroughly recommend :)
How can a "serverless function" have cores if it doesn't have servers and "it is just code" :/
Hamming would be against that.
Contrived benchmarks are not useful. Specially when you have tiny datasets.

If you want to do anything interesting, Python/Ruby are slow as hell, which is why you cannot do anything interesting in them.

For example, while in Go, you can load say 1000 rows from the db and perform some data manipulation on it in the code to get a desired result, you cannot do this in Python because it will very very slow.

So what you do is you write complicated sql queries and essentially offload all your work from the application server(s) on to the database server.

Now imagine that these rows on the database don't actually change very often. You could just load them once, keep them in memory (in a global object), and only update them once in a while (when needed). You can always do whatever search/manipulation operation directly on the data that is readily available and always respond very quickly.

This would be _unthinkable_ if you are using Ruby or Python, so instead you keep hammering your database with the same query, over and over and over again.
Plagiarized, isn’t it?
From the BBC. And the Concorde was an astounding succes and had no flaws whatsoever. /s
What makes you think they want to propose anything like that?
Ishmael is well worth reading even if you aren't persuaded by it
Also the double lens, one for wide angle, one for tele, snapping at the same time and combining the images into one.

It will be a looooong time until we see that on a pro camera with interchangeable lenses, if ever.
Some people choose Go rather than C++ for the same reason you went with C++ rather than an assembly language.

Most of the time, things only need to be fast enough and trading speed for ease of development, deployment, and maintenance is an easy decision to make.
Ask HN: What tools helps you try new tech business ideas quickly?
I think trying a lot of different ideas is probably single most important factor in stumbling on success in business as long as execution does not take lot of time/money/effort.

When you are not building something to scale but simply to test your assumptions and market the choice of tools could be very different.

What are the best tools/languages/platforms/techniques to try new ideas quickly? I am open to any and all ideas out there.
These are good ideas. we also need
alternatives for these :

%defer
%return
Care to share the source/link for such info.
Their git repos have passwords in the config files. Neat.
You might find the history of Doug Lennat's Eurisko informative.

"Lenat fed the massive Traveller rulebook into the system and asked it to find the best way of winning. Each night, after several hours of trial and error, Eurisko would spit out a few strategies—some interesting, some impractical, some ridiculous. At one point, Lenat remembers, it suggested he could win the game by changing the rules."

https://www.wired.com/2016/03/doug-lenat-artificial-intellig...
> Everything is design centric

What kind of design? Poster design? Graphic design? Industrial design? ... Web design?

> designers with no previous web development experience

I don't want to sound elitist, but I would argue that designers should learn about how the web works, or they're not qualified to design for the web. Issues like pixel-perfect vs flexibility, the constraints of a browser vs the freedom it gives to a wide audience. The fact that it's not just for able-bodied people using off-the-shelf browsers.

If designers can learn all about typography and layout, they can surely learn about DOM and CSS (or some sub/superset). Even if it's a bit messy.

> in a code free environment

Knowing the mental model is not the same as writing code. I've worked with some great web designers, and the ones that produced the websites that looked, felt and worked the best were the ones that could prototype their designs in CSS.

I've only had a brief play with this, and it does look very cool. But you can give a non-developer a good experience by creating an explicit and mental model that reflects the model of the web. The "content" view does look like it has a well thought-out consistent hierarchical semantic model (i.e. not just smushing lots of things onto a page). But if it isn't a superset of the Document Object Model, you're going to be fighting the browser, not working with it.

If you're doing this, you're on the same trajectory as designing in Photoshop and exporting image maps. Or Making Macromedia Flash sites. Or distributing pages as PDFs or PNGs.
Yeah, I agree that isn't always the right choice. If all you need is horizontal scalability, then more processes is fine, but it won't work when you actually need multiple cores working on the same task
Thanks for the reply. The task is not stateful. It's just pulling data from a db, performing some transforms, and then pushing it into elasticsearch. I suppose that I could slice the tasks up to be arbitrarily small though having a longer window would be helpful. I guess I will take a look at GCE. Thank you!
But it's not really a problem, is it?

If your wife gets ill from looking at an animation, I feel as though she needs medical help, and a specialist device that's tuned for special accessibility needs. Not workarounds.
Ontario will bid for AmazonHQ2 by investing in education, won’t offer incentives
Workout Recovery Tips That Actually Work
Peter Thiel-backed startup to finance Weinstein victims’ lawsuits
Practical Public Key Cryptography
It's been happening for quite awhile: https://www.wsj.com/articles/end-of-an-era-as-cme-to-close-a....
Its not up to me to know how to manage processes or threads. That's the SO task, not mine.

My app should be stateless and scale by replication. This is the most efficient solution in every possible way.
It made me think of this Jason Kidd quote:
"We're going to turn this team around 360 degrees"
I'm not an expert or an academic, but I've been spending a lot of time with CRDTs lately. It seems to me that there are two major issues with this approach.

First, little is said about performance. As the paper explains, the meat of each CRDT is pushed into the eval function, which to my understanding is simply a function over the PO-Log. However, is it always possible to adapt a convergent data structure in such a way that eval takes a reasonable amount of time? I notice that sequences — perhaps the most important data type in CRDT-land! — have not been implemented using this approach. If we assume that a sequence can be retrieved from an insert/delete PO-Log by simply sorting it and removing the deleted operations, does that mean that every eval is O(Nlog(N)) at best? And if your solution is to cache the output sequence as an array, a) how do you ensure a correct mapping between the PO-Log and cache on every new operation, and b) what happens if you lose your data and need to replay your PO-Log from scratch? Can the cache be reconstructed O(Nlog(N)) at worst? A complete guess, but maybe having CRDT-specific bits in the prepare/effect steps is what actually allows CRDTs to be performant in the first place! PO-Log representation is alluringly flexible but seems to come with some hefty tradeoffs.

Second, one of the cleanup steps relies on causal stability, i.e. knowing that each client is ahead of a potentially concurrent op. This is a problem in pure, decentralized P2P environments. First, depending on your network architecture, it's not necessarily possible to identify each peer until they actually start sending messages around. Maybe they got their hands on an early revision of the data and have been chipping away for weeks before going online. Second, nothing prevents a peer from connecting for a bit and then leaving forever, thus ensuring that their last edits will never be causally stable. This can be solved with some centralized logic, but then what's the point of using a CRDT at all?

Finally, and less critically, the lossy cleanup steps make it impossible to retrieve old revisions or identify the author of a particular change.
Obviously it's a matter of preference, but I agree with the OP that the Google Keyboard (GBoard, it's on iOS) is far superior to the Apple keyboard. Unfortunately it's been a little unreliable since iOS 11 came out.
GCHQ collects social media information on potentially millions of people
Every six months this shows up again, but XKCD, something, something I guess...
AI will eventually be better at doing what the best people do.
Under my mattress!

Kidding. A combination of TFSA max out, RRSP max out, rolling GIC, RESP.

I doubt I'm min-maxing my savings ideally, but I'm generally interested in infinitesimal risk solutions I don't have to think about more than once a quarter or so.

I've only been in the workforce for 4 years. Married for 1. Was planning on a house so I valued liquidity. But you're right, I need to do the mature, responsible thing and actually do some financial planning. I just really hate money and want to not think about it.
I'm not sure what the PS has anything to do with the comment? I don't like these kind of "hints". If you have something interesting to share, please do. Some on Hacker News are definitively into bitcoin/blockchain stuff. So your info will be valuable.
If that was the only reason (which it is not), it would still be a very good reason to stop writing code in these languages.

Why waste 10x more memory?
What should you react if Tencent entered your industry?
Just want to say this looks fantastic and keep at it :)
Also, if you are a regular BBG reader, and anything in that article is news to you, than you should be worried and get updated.
Accelerando?
True! One thing I have noticed, though, is that a lot of Clojure code is blocking (database drivers, and such), so some subset of problems might be easier to write on Node. In addition, we are currently running Node in production, but not the JVM, so targeting Node with ClojureScript is an easier sell than creating a whole new deployment target.
Goodbye Uncanny Valley [video]
It's about flexibility.

You will have to close that IT-only part of your brain for a moment, and keep in mind that people create software for a reason. And every nascent project lives or dies by how promptly it adapts against incorrect assumptions or changes in the environment.

Difference in hardware costs do not even enter into the radar. They happen in a different universe that good decision making completely ignores at this point.

After you have a proper solution to a problem, and enough scale so that it's worthwhile to collect those gains, you move your software to another language. It's not a big deal.
Air pollution is not demonstrably inevitable.

See https://en.wikipedia.org/wiki/Clean_Air_Act_(United_States) as a counterexample.
..or for the day that we have all those magic baked into our "decent camera gear"!
+1 BetterTouchTool. I have buttons for a "visor" style terminal prompt, OnePassword everywhere, web and mobile inspector tools, love it all. Would hate to give up the Touch Bar now that I've finally made it useful.

Which is kind of the key — Apple didn't build in enough functionality out-of-the-box for users to make it useful. They left it to developers, and developers dropped the ball.

All of this is a separate issue from the keyboard issues. My "F" key has all but popped off. That has nothing to do with the Touch Bar.
I'd also love for more designers to build websites that are still usable when the browser is only as large as half the screen at 1680x1050. I'm finding more and more websites either require horizontal scrolling or go into an iPad mode with huge fonts and hamburger menus.
This is a bootstrapped startup and any feedback is greatly appreciated. Thank you.
the current generation being hired into wall street (people around my age) have some kind of engineering, mathematics, physics, CS background in huge amounts. finance hires people like these by the boatload into all kinds of positions: risk, research, trading, sales. software development permeates the entire value chain in the industry.
You mean besides prestige, power, the support of a significant part of the worlds military in its wars (and there are many), the ability to freely sell its products in the largest economies in the world, the ability cooperate with companies in those countries (like BAE Systems, you know that foreign company that is responsible for the technology that makes the F-35B what it is?) and so on?

Not sure what you want but the type of relationship the US has is different from say China but you should differentiate between OECD and NATO partners and others. WHY would you think that significant economic, political and military partnerships with the world’s richest and most powerful nations ISN’T giving the US something?
Amazon, Apple, Google and Facebook will all go away within 50 years, says author
Which is how I feel about most of the supposed Ai paradoxes like "The stamp collector problem" or even "Grey goo". They're like a 10 ten ton block of ice in the middle of a sun. Sure, it's physically plausible, there's nothing in the laws of physics that says it can't happen. It's only that there's no path leading up to it happening.