skysight-inc/HackerNews huggingface dataset:
Can't it really be done securely that it has to be removed? Even SSH allows basically key-pinning, why not give the option to those who want to use it?
Crystal is a Ruby inspired compiled language, allowing it to run blazingly fast with a very low memory footprint. It uses LLVM for emitting native code, thus making use of all the optimisations built into the toolchain.

I've been using Crystal for more than 2 years have some projects in production. Can't wait for 1.0 :)
Show HN: A one-stop cleantech aggregator
You assume rich people worked hard.

I've seen rich people with baby soft hands that never worked hard. And I've seen dirt poor people with a broken body because of all the work. It's disgusting how you invoke fairness and justice.
We were in an extreme remote region of the eastern Himalayas in East India, nearest big town was 3 days by car on a road that was often blocked, otherwise there were only bamboo huts with indigenous people. We were stuck in the jungle once with the car and had to spend a night there. The "roads" there are crazy, if you went over the edge there with your car you are done, even if you survive nobody would find you, if they'd even ever notice. We didn't have a sat phone because it was military restricted zone, we had special permits to go in but no tech, but I remember we had the faintest GPRS signal sitting on a lake and my friend was checking Facebook on a stone age smartphone counting the bits ;) it appeared to me so absurd. Same story in Africa, you have good mobile cell coverage there, but doesn't take much to get lost or injured and quickly die.
Does it matter where the monopoly came from? Honest question, I’m genuinely unsure myself
I had to search to see what you meant by "magenta yellow". My immediate assocation was with the two of them having identical color schemes (although also both being immediately recognizable). I haven't seen the actual radiation symbol often in practice other than in medical facilities or on trucks/trains.

Faded fallout shelter signs were ubiquitous on buildings in my childhood (the 80s), so in that regard there's little room for confusion.
> When you and I are defining "plus" in this way, you may be thinking types

Nope. No thinking in types required there.

> I am simply saying I want "plus" semantics to be identical to "+".

Yup. And that's exactly what the code that Drup pasted does.

> If "+" is capable enough to add the String "one" and "two" together

Yup. And that's exactly what the code that Drup pasted will do.
Yes, censoring comes step by step. Haha, with silky excuses as usual
> my guess is you'll another type/ADT into your static typing called RomanNumeral so that your type proofer will check you at compile.

Hmm, no. Why would you guess that? That makes no sense at all.
So, you don't want him to be a patriot?

Because he should go out of his way to agree with the opinions of foreigners on his own country?
different example, but same story, high altitude mountaineering, to quote Rob Hall's wife (famous guide who died 1996 on Everest): 'You might as well be on the moon.', she said during a live patch through to him via radio from her home in New Zealand, exchanging the last conversation.
Position is secondary, accessibility is primary concern
For mobile apps it's easier than for websites because native apps have more control over what's going on than the website, and can read the details of http connections (so in worst case, you can roll out your own pinning).

For Android there are a built-in facilities for that in modern versions: https://developer.android.com/training/articles/security-con...

For iOS: not an expert, but this article seems good https://dzone.com/articles/ssl-certificate-pinning-in-ios-ap...

It might get a bit trickier when WebViews are involved though because, at least on Android, SSL in WebView is subject to different security rules than the java-initiated connections (AFAIU the problems due to https://www.chromium.org/developers/androidwebview/webview-c... could not have been avoided on the app side, for example, as it was a bug in Chromium).
You re-implement the primitive operation "+" to support adding strings that name English numbers? Is that actually possible in Clojure, or did you mean something else?
The "ideological Turing test" is the attempt to argue for a position indistinguishably from a supporter of that position, when you yourself are not. If you can't convincingly do so, it's strong evidence you do not understand what supporters believe. Related to, but not identical with, "steelmanning".
>Americans are no less prone to this than others

No, they tend to think that their farts don't smell -- and that being pro-China as a Chinese is somehow worse than being pro-US as an American.
So they've changed yet another piece of core, defining OCaml syntax (the lack of C-parens everywhere) for the worse, obfuscating currying in the process. But that's just my opinion, I guess. I don't have to use it.

I do find it ironic that in their announcement, they don't even try to defend the decision, but instead say, effectively, "if you don't like this change, you're just bikeshedding", and "if you don't care about syntax, great!" Given that the entire purpose of Reason is one giant bikeshed about OCaml syntax, this reads as hypocritical.

They also say, effectively, "no complaining in public allowed, just PM us (so we don't have to have a real conversation and we can ignore you)", so you know they're great at working with their community.
Community data compilations for accelerating discovery in paleoclimate science
I'd rather interviewers asked about database/relational theory.

I've never seen a project that went off the rails because the people on it failed to understand algorithms or the proper time to use a deque but almost every project I'm handed to work on has a data normalization issue.

Alas the Google cargo culting will probably continue...
Aren't all those things the particular American idea of what government should be?

Why should the Chinese agree with it?

Because of the white man's burden? Or because some countries think their way (e.g. related to how to govern etc) is the only way? China has millennia old tradition and preference for a confucianism in government, where it's all about cohesion and harmony.
Working at Amazon
Not any more "macabre" than, say, writing a will. Not any more macabre than talking to Mom about getting an advance directive.

The guy was 92 when they called him. If you're 92 you should be doing some end of life planning.
610-285-1738+Sizzle+Call+Marketing+System+Free+Landing+Page
Methods for Resetting Arduino
How to use scrolling to fight against the skimming behavior of users
> If major FPGA manufacturers didn't guard their bitfile formats with their lives[...]

Why do they?
If you're referring to what I think you're referring to, those are just emulations for development use, i.e. you can use them to figure out if your app is accessible for people with those colorblindnesses.
> This is not surprising as Maria Montessoris understanding of geometry and pre-numeric Math is nowadays considered to be quite poor.

Could you elaborate on this? Or point to any references? Thanks
Most if not all C# roles I see these days demand Angular / React experience. It's really hard to talk confidently about that unless having actually done it; you'll get picked apart / walked by. And it had better be covered by Jasmine / Karma as well, and using Typescript. In the cloud. Etc.

Thus we have Resume Driven Development - for better, or worse. As an older person (I got my Vic 20 when I was about 10), I find it equal parts inspiring and frustrating. Having a family / child it's nearly impossible to devote anywhere as much time to this as the younger, unencumbered ones must have. Yet I still love the new stuff.
What's with this idea that the country that nurtured you, and the culture that you were raised in, and where you live, is some "accident of birth"?

You can always immigrate.

But even for immigrants, their native country, if they spend their formative years there, is not some mere "accident of birth", anymore than your family is or your kid is (after all what is a kid? Some accident of birth as well, could have made another kid with another person -- not to mention who your spouse is among 8 billion is an "accident of meeting", etc)
>While it's imperfect, I don't see which part of the establishment it so strongly supports.

The State Department. NYT is vital in fabricating the history of conflicts and internal problems that have ever affected the United States.

to name a few : Syria, Iraq, Afghanistan, the War on Drugs, the Indochina wars, Cuba, Mexico, outside-of-country extradition, continual abuse and outright breaking of UN laws and sanctions, etc.

That's not even mentioning their (the NYT) history of character assassination with regards to civil rights leaders, activists, authors, speakers, and alternative thinkers.

...OR you get the Chomsky treatment, and they pretend that you don't exist for a few decades.

I didn't bother with citations, there are plenty to read through with just a cursory search engine query, but since I already invoked the name of the beast, i'll let him tell you about NYT[0].

NYT's is systematically biased in who or what it chooses to illuminate for the public to digest. Don't be surprised when they do good by you -- it's all character building -- just like this news that they're embracing tor.

Boy, aren't they just keen!

[0]Noam Chomsky: The New York Times is pure propaganda: https://www.salon.com/2015/05/25/noam_chomsky_the_new_york_t...
The Monopoly comparison is apt: even if you've got free money, there's no guarantee all the capital won't end up with one player.
A) How would one implement real time crud?

B) How to do record locking?

C) How to implement pagination with a quickly changing dataset?

D) What do you think about existing algorithms like e.g. conflict-free replicated data type (CRDT) or operational transformation (OT)?
What a terrible way to think. You also feel Germans cannot be faulted for supporting the Nazis, just because they are German?
I got a little confused by the

>scientists have developed the first “in-memory computing”

as your normal GPUs have register and cache memory mixed with the processors. I think the novel feature is they are mixing the processors with non volatile flash like memory rather than with RAM. Which I guess is interesting but the "will speed up computers by 200 times" presumable refers to an old school architecture rather than something like the 15/125 TFLOP Volta GPU which I'd imagine is faster than their thing. (https://news.ycombinator.com/item?id=14309756).
> What we cannot have in the economy, is a large, and potentially exponentially growing, group of expenses without any useful work.

The solution would be to implement it so it forms a self-regulating feedback loop. It is indeed true (and tautological) that a basic income can only be as large as it can be. But it's also quite clear that in most circumstances this amount is not zero. And there is a lot of useful work done by people who don't get paid for it.
Crystal is a super cool project and doing websockets with Kemal (Crystals Sinatra equivalent) was one of the easiest ways of hosting websockets I've encountered so far.

That said, I'm eagerly waiting for true paralellism support since the use case we have in mind would greatly benefit from that. Some of the testing tools are also not quite as polished as Rspec (yet).
Arsenal vs. Swansea City – Live Stream Online Telecast
I'm not talking about you not knowing, I'm more worried about language designers talking down to programmers for short term gains, rather than trying to raise them up with tools that will benefit them in the long term.

Interesting about argument syntax + effects. I've mainly used currying in pure languages. Is it about accidentally calling an effectful function multiple times? Is the idea here that you are conservatively treating everything as effectful with the uncurried syntax (before algebraic effects land), then will make pure stuff curried in order to attract people to use pure functions where possible?
I would love to have a way to tell the browser "don't throw away the current DOM, Just apply the differences". It would work nicely in non-js page to make the experience smooth (and would probably work terribly if there was a lot of J's, of course)
I only changed a word from it and it wouldn't find the trademark anymore. Not that useful IMHO.
If Basic Income isn’t socialism, I shudder to think of what the author would consider socialism.
Oh, well then could you point me to a formal definition of the syntax and semantics for the unary "..." operator then? What is then domain and codomain, for example?

Much obliged.
I've been using Crystal for only a few months, but impressed with its speed and low memory footprint. Starting to build some small services with it now, but using Kemal or the Amber framework, I can see some medium sized projects coming out of it soon.

Was a cinch to swap over to it from Ruby. It is a little fussier with type definitions, but I guess that is to be understandable with a compiled system.

The third party ecosystem is still a little thin on the ground, or immature, and I hope it will grow. The Crystal community has also been really friendly and responsive. The couple of questions I have asked on Reddit or SO have been answered quickly and with lots of useful info.
Actually, the two projects I am currently working on use Websockets, and for certain, Crystal is the fastest and easiest way to prototype a Websockets server, and then turn it into a production server in quick time.
We have been using kemal in small projects and we are super happy with it. In my company that I am working for we are evaluating crystal and elixir as the next language to start investing/developing (we are on Ruby/Rails now).
2 things that crystal is missing to clearly win this internal battle:

* immaturity in terms of the ecosystem (libs, frameworks, best practices etc) which will be solved in 1-2 years

* coming from Ruby I am wondering how powerful its metaprogramming capabilities are. In Ruby, using metaprogramming alcohol I can save tons of time by cutting off code and creating human friendly, clean interfaces that otherwise would require a lot of code. How powerful are macros compared to Ruby's meta capabilities where you can do pretty much anything?

On the bright side (in regards with elixir comparison) it has great type system that would save us from tons of bugs, it's more speedy and transition from Ruby would be slightly easier.
Crazy Fish and his chips (2007)
> Imagine a gradient that smoothly transitions from black to white. 8 bit color means only 256 shades of luminance, which would quickly show banding artifacts.

Only if you don't dither. Which is like free bits of precision given today's monitors resolutions.

I don't disagree with the rest of your point (although I do believe that just because there's a 20-bit dynamic range one should represent it by 20 bits of precision that's an arbitrary choice) (not even the best choice, IMO).

Just want to emphasize that, a statement being made all over this thread, that "less bits = you gonna get banding", just means you're doing it wrong, thinking about it wrong, and might therefore even end up with banding if you had enough bits but wasted them at some point in the pipeline.
Kemal: Fast, Effective, Simple web framework for Crystal
Website: http://kemalcr.com/

P.S: I'm the author of Kemal :)
I'm sure there are niches out there where complex web apps are best built without an SPA framework, but use the right tool for the job! If I'm writing an embedded interrupt routine, I don't use slow clunky C, I use assembly. If I'm writing a complex web application, I use an SPA framework like Vue. If I'm delivering static content, I use minified html and css.

Everything comes with a tradeoff. If you pick the wrong tool, it's a big headache.

Learn to use all the tools.
Once a pattern like that has been noticed and (crucially) correctly analysed, it tends to disappear, as the affected actors modify their behaviour in response to this analysis.
We do fine with names being overloaded in English. I'm sure the world will cope with ReasonML and this other Reason.
My daughter and I have a lot of fun whenever we watch this fight from Who Am I.

https://www.youtube.com/watch?v=9m6qAaqRu2M

I also like one of Jackie Chan's quotes:

Cinema reflects culture and there is no harm in adapting technology, but not at the cost of losing your originality.
The poor won't burn your neighbourhood and threaten your children. That's what's in for the rich. That sounds dramatic, but look at Brazil, and you can see that what I'm saying is not hyperbolic.

There is a huge correlation of the success of one person and their surrounding. In other words, for ones own interest the success of those around one is important. Helping the weaker helps a lot of other people.
Similarly in Austin after Google Fiber was announced (even though it will be years before the far northern edges receive service) TWC (now Spectrum) was able to magically increase bandwidth/speeds for everyone at no cost to current plans. It was so simple and immediate that it was almost like they only had to flip a switch to upgrade the speeds.
How the U.K. Prosecuted a Student on Terrorism Charges for Downloading a Book
One important and more subtle advantage of SPAs is that they enforce a clean architectural separation of concerns between the untrusted view layer and the backend API. This decoupling allows the frontend team to iterate quickly on user experience and run experiments without affecting the underlying business logic. This also makes it easier to build alternative interfaces (e.g. mobile apps) that share the same API. Of course these benefits matter only when building more complex applications (not simple content sites).
on the front page already https://news.ycombinator.com/item?id=15572143
Next you're going to tell me that sea monkeys don't taste like lobster. Damn, so much for my next get-rich-quick scheme.
The comment said "no Javascript", no "no SPA".
> You can represent a range of 0 to 1,000,000 with a single bit. It's just that you can't do much with that representation :P

Tell that to D/A converters everywhere.

> If you tried to display a 10x wider range of brightness using the old 8-bit format, you'd start to see a lot of ugly banding (posterization) much more than you have seen before because--

Because you didn't dither, is why.

The only thing you lose with less bits is SNR, and thanks to the wonders of noise-shaping you can pretty much decide where to put this noise. And I'm just going to make a very broad statement that ever since we managed to climb out of 320x200 resolutions, spatial resolution is where you should put it, not in banding. Maybe even one or two bits in the time resolution if you want to get fancy about it.

Basic dithering can be as easy as just adding a uniform 0..1 random number just before truncation. Triangle noise (difference of two uniforms) can give a bit better visual accuracy for graphics, but has one or two snags that take attention to get right.
Lisps genuinely have fewer brackets than C-like languages. They're just more consistently in the same places.
Needing a page refresh for input validation degrades experience.

"Then you would have to maintain two code pathways in two different languages in two different locations if you need to update the validation rules."

Not necessarily. You can use the same exact code, in the same location written in the same language.
Page refresh takes a longer time than client-side validation.
Programming languages shouldn't be designed around what is best for complete newbies. They should be designed around experienced users.

Why design around a stage you're in for 15 minutes instead of the stage you're in for 15 years?
Ah, poor "journalists"! But on point, I'd pay a small fee to make my FB feed free of posts by any professional news outlet.
> Everyone should get enough money to be able to refuse to work. That way, the incentive is shifted to employers, where it should be. Want someone to do something? Pay them enough to do it.

This sounds nice in theory, but how doesn’t this result in price inflation? Not only are you going to be taking a portion of businesses’ profits in taxes, but now you are increasing the cost of labour. And frankly, some jobs suck so badly that no one is going to want to do them without being paid a ton of money. For example, manual agricultural labor. Food costs would almost certainly skyrocket. (Unless you account for illegal immigrants, which you couldn’t naturalize because then you’d have to give them a UBI).
The Web is an open platform. Facebook is not some big brother who has power to censor anything. People can type https://nytimes.com to go directly go to the new york times if they want.

From Facebook's point of view, these media sites are nothing more than parasites that try to write sensational articles to mislead the public and get people to fight online.

Users become unhappy because they get into unnecessary arguments with their friends and family about things that ultimately have no right or wrong answer (such as politics), and end up blaming Facebook for facilitating it.

Facebook is unhappy because their users are unhappy.

It's only these short-sighted media companies that "benefit" off of the traffic (but in the long term not so much).

By cutting this party out of the equation, users are happier. Facebook is happier.

And I would say it's a good thing even for the media because essentially they are being cut off of access to the race to the bottom that's killing them. One of the reasons why these publications had to write sensationalism articles and disseminate them onto Facebook was because if they didn't, their competition would.

Now that they are cut off, they are forced to compete in healthier ways. It's kind of hilarious because it's like these self-important media companies are some kids trying to get their hands on a cookie jar and fighting, and one day their mom (Facebook) takes it all away so nobody gets the cookie jar. The kids cry and bitch about it saying it's not fair. But soon something great happens. kids no longer fight because there's nothing to fight over, but go out to earn their own cookie in their own creative ways. They may even share the ones they earned with one another if they're generous.

Anyway this has nothing to do with democracy, they're just doing the thing they've become good at doing--spinning news to fit their interest--like kids crying and complaining about how it's not fair that the free cookie jar is gone.
New Trends in Online Bingo Gaming 2017
Researchers watch video images people are seeing, decoded from their brain scans
Crystal is one of the most exciting new languages out there. I have been using it for my one off tasks at Ola and it works pretty well. It is huge plus point that you have safety harness of statically typed languages and speed comparable to java and scala(unscientific benchmark here https://github.com/kostya/benchmarks)
How to auto bind props by using React element
Galaxy Note 8 and Dex – one month later: I almost ditched my PC
GH::watch GitHub Notifications android app gets Material design
The alternative to UBI for you is that you either spend the rest of your life in a castle or your head ends up on a spike.

It isn't a coincidence that Thomas Piketty is a Parisian, you can still see plenty of signs of the Revolution on buildings around the city.