skysight-inc/HackerNews huggingface dataset:
I disbelieve.

Take working in Tornado. I've been writing in Tornado, and all I've needed to do is decorate functions with @gen.coroutine then use generator syntax. All the detailed plumbing to implement the event loop is done for me, and I never interact with it directly. Nor would there be any value in my doing so. It needs to be implemented once, and implemented well. Once that is done there is little to no value in messing with it. You'd just be creating the opportunity for disaster with little to no corresponding value.

I actually experienced this exact disaster. In this project, Tornado has to interact with Redis. So I used tornado-redis which tried to be implemented directly. Unfortunately it was not well implemented, and one coroutine could easily get a message meant for another. Untangling the mess promised to be a lot of work.

However it was literally the work of minutes to switch my class to the synchronous Redis library, write a ThreadPoolExecutor wrapper for my class, and have Tornado interact with that. It would be slightly better if the native version had worked, but this got 95% of the benefit for under 1% of the work.

You could describe this as "using coroutines sparingly". I'd describe it as using them sensibly. Coroutines are a useful bit of plumbing to enable a programming style, but their flexibility is also a burden. You should use them to build a sensible abstraction, then use that.

For another example of this, look at Scheme. Scheme internally implements continuations, and function calls are just a special case of that. Continuations are, of course, a building block for coroutines, generators, and many other programming constructs.

However a sensible Scheme programmer just implements functions. They may be using a project that somewhere does coroutines, continuations, and all sorts of other fun stuff. But the day to day code you write doesn't do that. There is no need to add the mental overhead from using the construct all of the time "just because it is there".
Shopify is also in Montreal
Using "WebView" doesn't just mean performance issues. It's a matter of choosing the very stack itself. You're starting out with browser as your base. There are many things that come with that decision.

Also that Bitcoin app is a bad example because it's a very simple app.

To be clear, I have programmed in both native ios, ionic and native android. I'm primarily a iOS developer so had no idea how Android worked when I first tried building an android app, so when I first tried my "cross platform" app on an android phone I was shocked to find out there are so many details that make it feel NOT native. iOS and Android have very different UI and you need to build for those experiences if you want to really optimize for user experience. It's not just a matter of performance. That's why I learned java to build natively.

Lastly, in this and age, why not just learn react native instead of boasting about how still using web browser is good enough? You really have no excuse here if your reasoning is that you want to use web technology to build native apps.
I've been thinking about this a little over the past few weeks, and one thing that seems to be missing these days is communities where there is even the slightest barrier to entry.

In the old days (even 20-30 years ago), geography served that purpose, and after that, what seems to have been a golden age where vaguely like-minded people could congregate and get to know each other on amateur radio, CB radio, BBSs, usenet, IRC, etc.

It seems like these days, all we have are massive communities like facebook, meetup, etc, and although there are interest-specific groups, there just isn't any friction to keep the idiots out, and you're not much more likely to meet interesting people there than you are on the street or in a subway car.

I'd be interested to hear of anybody's experience with any modern communities that have even just a tiny barrier to entry, which serves the purpose of making them even just a little bit more efficient at allowing people to find each other and network.
I've seen some gas stations do this. Usually 3 cents off a litre if you pay cash or debit.
Precisely why the MLB banned the use of aluminum bats.
Your "proof" that gerrymandering isn't a problem in our electoral system is an event outside our electoral system? Try again.
Amazon Web Services terms of use: run far away, run fast
> The sleep hormone melatonin increases the release of mesenchymal stem cells, and is also more effective as an antioxidant than say Vitamin C amongst other things

So you should make sure not to have any if you get cancer.
Doesn't look too impossible to not have a car in Toronto

(also there are things like Car2Go, no?)
Communitech is about to get a lot busier too... They've expanded into the old Google space and there are potential tenants going on tours through it every 10 minutes.
Yes I too agree with what these two green, totally-not-sock-puppet accounts are saying.

All hail General Krupp.

-Signed, Little Girl
How do you know the fab you send your design to doesn't implement a backdoor? You have to have trust at SOME level.
It's really, really, really, really really bad.

It doesn't even have a logical history. Despite having used it for many years, I still don't understand why when I type one command (eg make), and then another (eg out.exe), I have to toggle between pressing up or pressing down from the new command-prompt to access the previous commands.

I can't make the window more than 80-characters wide dynamically. (I don't want to change settings and restart the program to get the width to change.) So any time I want to copy and paste one of the infamous wall-of-text C++ template errors, I have to waste a lot of time reformatting the text.

Copy-and-paste as well is just complete garbage that takes forever.

I have to dump batch files into a folder in PATH because there's no alias support nor .profile startup script.

I can't color-code the prompt separately for visibility. There's no tab-completion. There's no shell escaping backticks. On and on.

Batch scripts are just hopelessly broken. It really feels like we're abusing the hell out of them to do things they were never intended to do. The language is closer to Malbolge than C.

PowerShell is a whole other can of worms. I don't care for it either, but that'd be a separate discussion.

Bash on Windows sounded promising, up until "Windows 10 only" and "doesn't play nice with the regular Windows environment."
There are several reasons this comparison breaks down, but here's one:

Transitioning as a solution to gender dysphoria works. It drastically increases the quality of life of those who suffer from it. Sure, in an ideal world where we had full knowledge of human biology and an ability to edit the brain, we'd treat gender dysphoria simply by making people believe they were the "correct" gender. But lacking that ability, we do the next best thing possible that we can do.

On the other hand, you can't cure paranoid schizophrenics in any sort of similar way.
how is the tech scene at Montreal?
This is a hobby project for my own edification, and maybe maybe to eventually show Rust's suitability for this kind of work. While I appreciate that the semantics of returning usize::MAX aren't correct, I'm also not an expert on C standard library implementations. Just a hobbyist writing a little bit about something I'm trying out.

Potentially relevant is this section of the repo's README:

https://github.com/dikaiosune/rusl#goals-and-non-goals

EDIT: After a suggestion in a sibling here, here's a version which neither explicitly aborts (musl doesn't do abort or unreachable), nor uses an explicit return of usize::MAX:

https://is.gd/lck8c7

It doesn't autovectorize, but I suspect that with some work I could maybe convince LLVM to do so.
My proposal is that almost nothing moves to the dbms, everything moves to the client except perhaps authorization. Unfortunately I can't fully defend my line of reasoning without saying, here's a link to my fully described or developed alternative architecture, which I don't have. However that doesn't mean it's not possible, it seems to me to be achievable. Even if it would require changes to HTTP, the database (row, column, and cell-level authorization?), or the browser - the end result would presumably be worth it. I imagine it would be much easier to reason about an application that is data and data authorization on one side, and logic on the other.
Most banks have Visa or MC debit cards available now. You can use them online for most things, but at a PoS it defaults back to the Interac network.
Would you mind expanding the thought a bit? Many states have closed primaries (so participating in one primary precludes participating in others) and the delegate allocation rules are pretty complicated. Lots of delegates are awarded at the state level, where Gerrymandering won't have much impact.
Panics are possible with #![no_std], but it does require that you supply a working implementation of panic_fmt, which I haven't gotten to yet (mostly because I was waiting on panic-as-abort to land which it recently did).
Methods can always be added. Yes the values and types can't be changed but we can extend the existing types to have these methods and give naked error values (errors.New) new types. It wouldn't be breaking the Go1 guarantee because they would still have the type error, only the underlying type would change.
Will cryptocurrencies ever become large enough to compete with national currencies? I guess I haven't seen much adoption since 2011 or so, at least not compared to the hype generated in the news media.

And if Bitcoin isn't to be big, what will the acquisition of this company do for those who acquired it?
I grew up in Florida, so clearly my view of curling is from the outside beyond exposure during "those crazy Canadians" segments during US broadcasts of the Winter Olympics. From here, it looks mostly analogous to the introduction of fiber glass to tennis rackets or surfboards: technology also changes ideas about what is possible in ways that have little to do with what the technology enables.

Though baseball gloves might serve similarly, their evolution was mostly before my time:

http://www.smithsonianmag.com/arts-culture/the-invention-of-...

This article suggests that some of the techniques developed with the new broom materials are useful with traditional materials: https://motherboard.vice.com/read/canada-is-using-lasers-and...
First, I want to say that I believe people when they say they are seeing things. Most humans appear to have a mechanism by which they can visualize objects as if they are real. This phenomenon of visualization has been largely unexplored. It would appear people visualize in widely different ways.

These people are apparently tormented by bad visualization system security. I've hypothesized about visualization systems going bad before when I looked at working at Magic Leap. If we all end up wearing AR headsets, how is it that I can guarantee what I'm seeing is an accurate representation of what I want to see? Don't let anyone tell you we a solution for trusted security for this stuff! We fucking don't. Yet.

How is it that human's visual systems are secured against penetration? How is it that some appear to be vulnerable, while others, such as myself, appear to be completely "locked down" in their visualization systems?

I'm beginning to suspect that this so called affliction "Aphantasia" is actually a strong feature that is related to insanity. I'm thankful to the fact I don't have the ability to visualize. I also may be crazy and don't realize it.
Women who 'give blood' are also all the same biological gender. It's more than a small confound.
Hence the Greek plan to counter that attack with bankruptcy.

https://www.youtube.com/watch?v=Zvl9N9GdraQ

(warning: NSFW language, loud)
Like what happened with the NSA? Not to be rude, but you can be vocal all you want, but as long as the majority of the public doesn't care, there's not much you can do.
You did not contidict me as it can be two dates at the same time in different locations. Which circles back to this as I don't need to report every fact just those relevant to a given story.
Regrettable

Some say it's ok. There are some startups, but most of the environment seems to be "corporate oriented", and .NET is very popular
You know someone who has believed they were recording something that they were not? Were they watching the output of the recording, while still believing "it" was occurring?
Yes, thank you very much. That's exactly it!
Or, you may believe that extremism in all forms is bad.

Every single side has valid criticisms. We are foolish to think otherwise. My personal belief is that we cannot go for another 4 years without some kind of political movement. We can't keep seeing stagnation. That breeds discontent, anger, violence. You saw it in the 60s and you see it now.

When I listen to Sanders, though I am empathetic to many of his points, I see someone who can't operate within political realities. The right called Obama a socialist and refused to work with him. What do you think happens with an actual socialist? I don't agree with many of the very conservative views of the people who live around me, but I can tell you right now that those people would despise Sanders, whether that's his fault or not. Nothing would get done, another four years of gridlock, and maybe worse. Sanders can't help it that people are loons. But he can adapt to reality and come up with pragmatic positions. You can't go to the far left (relative to American politics as a whole) in one election cycle, ignoring whether you'd want to.

I also am very troubled with Sanders continued association with groups that are violent. He should as quickly disavow those groups as Trump should've disavowed the KKK. Political violence should be condemned in all forms, and those peple don't deserve a mouthpiece, regardless of the validity of their criticisms. The whole world ending up blind and all that.

JFK had a belief in idealism without illusions. Sanders is idealist but I fear he also has a lot of illusions, and part of that is because he's grown up in the echo chamber of a political career.

Do you believe that Sanders has a realistic change of changing American politics for the better? Why? Why is he a compelling candidate? If you believe that Clinton is a flawed politician, why was he not more attractive than her in the primaries?
Don't worry, postmodern nihilists will come to make us accept this as a legitimate worldview in time.
That's not true. All errors adhere to the error interface [0] and can be parameterized as such. It's not significant different to subclassing a stdlib Error class in another language and using reflection or down-casting to get its sub-type.

So almost all packages either return a base error, or a custom error type that adheres to the error interface.

[0] https://golang.org/pkg/builtin/#error
And if they don't use Gmail enterprise, they probably use Office 365.
It's a useful feature during the Q&A portion of a presentation, since you might need to move backward and forward through the slides quickly to pull a relevant reference, diagram, or code example. I'd agree that the primary content should be linear.
Who do I contact? I have a deep learning startup that is trading forex right now, I would like to make some contacts and see if I can integrate
Vitamin d3 supplements seem widely available.
REALLY strange choice of data point for Toronto -- it uses a much smaller land area than for the US cities.

Greater Toronto Area - 7,124 km^2

Chicago Metro Area - 28,120 km^2

Houston Metro Area - 26,061 km^2

Dallas-Fort Worth - 24,059 km^2

Washington Metro - 14,412 km^2

Philadelphia Metro - 13,256 km^2

A much more apples-to-apples comparison would be the Golden Horseshoe (7.005 million / 10,097 km^2), or Greater Golden Horseshoe (8.759 million / 31,561 km^2).

I believe that Chicago's population is also stagnant, whereas the GHA has grew 4.5% from 2006-2011, so extrapolating to 2016 would put it at 9.1 million. Still smaller than the Chicago metro area, but not by a lot.
I've not read the actual paper (paywall) so this could just be a problem with the reporting about it, but it doesn't sound to me like that test they did on the 183 people that involved asking them to visualize the months and then reconstruct that visualization on a computer screen, and then later found that when asked to do the same thing four months later and were prompted with one month placed in the same position they had placed it the first time, 4 of the 183 recreated the same layout they did the first time suggests time-space synesthetes.

I'm not a time-space synesthete, for instance, but if you asked me to visualize the months and then represent that on a computer screen I would not just randomly toss the months around. I'd decide on some logical ordering and arrangement and use that. Ask me again 4 months later, even without prompting me by pre-placing one of the months where I placed it before, and I'd almost certainly recreate my original arrangement.

I probably would not choose a spiral, but from what the article quotes it doesn't sound like it was the shape of the visualizing that the authors consider to be significant. It was the consistency of the visualization across trials.

The second test, where they tested how well people could memorize and recall an unfamiliar spatial calendar seems much better.
It'd be interesting to see a resource created and dedicated to evaluating cloud service terms of use.
When I was growing up, my parents drew up a circular calendar with the months of the year (so my sister and I could learn them) and put it on the fridge with magnets. December and January were at 6 o'clock, like you mentioned.

I recently bought a watch with a circular month dial, then realized January and December were at noon. It always throws me off; I can't unsee the way I visualize the year.
defnly agree that you can get these problems in languages with static types, but i think you have to go out of your way vs dynamic languages, where these types of shenanigans are easier and (in my experience) prevalent.

e.g., in your example, because your returned type is Set, you presumably would not be relying on the result to be a sorted set! -- so there would be no problem. if you WERE relying on it being a sorted set, you would have to explicitly downcast -- i.e. would pointing a gun and at your foot and pulling the trigger. maybe you know it's unloaded, but the danger is clear from the type system. ;)
Unicode superscript numbers
NB: you still need panic_fmt with panic == abort; the default panic handler still prints a message, even though it doesn't go through with the unwinding.
However not too clear why you'd want this on a server?

Is that just a general question about servers? If so, you're probably right.

However, OpenBSD is frequently used as a firewall or router. So if a developer has an itch to scratch, and it's within the bailiwick of what OpenBSD is generally used for, then why not have it?
Has anyone experimented with a C-to-Rust translator?

Google wrote a C-to-Go translator to aid their conversion of the Go compiler from C to Go. Carol Nichols gave a talk about her function-by-function, by-hand rewrite of the Zopfli compression library from C to Rust. I wonder how much of that could be automated, even if most of the resulting Rust code is in unsafe blocks.

Carol's slides:

https://github.com/carols10cents/rust-out-your-c-talk
Going carless in Toronto is very possible. After I moved to my current digs at Yonge and Eglinton, I noticed I used my car less than once a month, so I got rid of it.

If you're gonna do this, make sure you're near the subway. Buses and streetcars are a lot less convenient than the subway.
Sure, articles are not debates. So, I can simply report the truth without bothering with nut jobs.
All Watched Over by Machines of Loving Grace (TV Series)
If the technology allows advancement of what the higher-skilled human athlete is able to achieve, I think it's good for the sport.

If it merely removes challenge I would not favor it. To call something sport, the skill and effort of the human competitor(s) must be the primary determinant of success.
> However not too clear why you'd want this on a server?

OpenBSD has a lot of routing technology built-in, so it's common to use it as a firewall, router, VPN gateway, etc.

A server running OpenBSD isn't going to replace a core router, but it's very flexible.
If you break it down and view them as terminal codes (or as the spec was designed, on a teletype), CR+LF is correct, and LF is not.

However, the inconsistencies of this over time have become really annoying. My long term pet peeve is in VB.NET when I have to do this:

' This works - using the VB6 interop
Split(StringName,vbCrLf)

' This doesn't work - using the native .NET function
' because .split is only expecting a Char, and not a String)
StringName.Split(vbCrLf)

Really, really annoying.
It's not bad, but not great. Some startups, lots of corporate. I've never had trouble finding work, though.
So.. If Amazon is capable of this, why haven't they done it? In fact, instead, they have been purchasing companies (OpsWorks used to be a product by a third party company; can't get reference on a phone at the moment).

This makes me believe that Amazon knows this clause is unenforceable or that they would lose in court if they tried to act on it.
Why not make sleeping meds and other meds that treat mental illeness over the counter drugs ? There is simply too much friction to get proper medicines in USA. A walk into drug store lowers human dignity as one is treated like a criminal by default.
Full Stack .Net Web Developer | London, UK | Full-Time | On-Site

I setup Test Partnership in 2014 to publish advanced online assessments using psychometric Item Response Theory. Now we have international clients and a small but passionate team. We're looking for a great full-stack ASP.NET developer to take on the development and maintenance of the core web application. It's a fun job because you'll be involved in all aspects of the product life-cycle and get to do things your way.

Interview process is: 1) Informal telephone interview for each party to learn about the other, 2) On-site interview (London) with another developer and a director.

To apply email Oliver at oliver@testpartnership.com or read more at https://www.testpartnership.com/careers/net-developer.html
mine is a ellipse, and it goes clockwise, i had never thought about others having kinda similar time representation
If stem cells are finite & small in number. And you have some removed to be preserved for later life... Then maybe you will have problems due to having fewer stem cells?
future? any new policies taking shape to attract more companies?

I read somewhere that due to French clause in Quebec companies stay away from the city. Is it true?
I agree it's pretty bad. But...

> I can't make the window more than 80-characters wide dynamically.

Windows 10 fixes this. You can resize the window and it wraps text better than any other terminal out there.

> Copy-and-paste as well is just complete garbage that takes forever.

Turn on Quick Edit. Now drag to select and right click to copy.

> There's no tab-completion.

Tab completion for filepaths works quite well for me.
"Is it reasonable to put the cost of running a publication at near or under one FTE? You'd at least have to do more if you had search and weren't just piggybacking on google scholar."

Where did you find they're just piggybacking on Google Scholar? I know nothing of the implementation outside what she spends for a specific amount of papers.

"Is it reasonable to put the cost of running a publication at near or under one FTE? You'd at least have to do more if you had search and weren't just piggybacking on google scholar."

Oh yeah, I agree. A survey of many looking at various attributes with associated costs is probably in order to help establish a baseline when predicting costs of larger activities.