skysight-inc/HackerNews huggingface dataset:
Anyone using Kotlin to compile to javscript in a large app care to share some experiences?
I don't understand all this recent Signal bashing here on HN.

I have been using Signal for some time now on a daily basis and I haven't had real usability issues. We cannot hold OWS responsible for the insecurity of our operating systems, the nature of today's cloud or hardware infrastructure, the choices we make for comfort reasons, and what not. What they do is provide us with, and I think most of us would actually agree, a secure messenger that is both free of charge and best of breed, or close to. And as with every open source project, it's their project, but you're free to fork it and provide us with something better if you don't agree with their choices.

So if you need a secure messenger now, because you need or want privacy, Signal is an excellent option, free of charge, open source. What are we actually complaining about?

I don't know moxie but it seems that he's actually open to suggestions and offers if you're willing to provide some manpower as well. Then he has his convictions but still offers to discuss them constructively. Again, what is there to complain about?

As for myself, I contact support if I have a question or issue, and they have been very helpful. I donated to the project, also because they are supported by http://freedom.press, and I value a free press. And even though I am absolutely not interested into the giphy thing (I'm on iOS so I haven't really seen it yet), I'll open an issue on github if I want Signal to change. And I invite everybody to support the project in this way, and make sure that the projects that are actually supporting our interests don't get abandoned in favour of comfortable-to-use data-hogs like Facebook, WhatsApp or Telegram.
Minor point: sizeof(char) was defined to be 1 even in the original C89. "char" has always been a misspelling of "byte" in C.
As someone too young to have played FF7 when it first came out, I recently tried to play the PC port, but I just couldn't get used to the graphics... I don't know of any other famous game that's that ugly. Anything sprite-based looks just fine to me, and when it comes to 3D, even Nintendo's N64 classics, while they take some getting used to, aren't as absurdly blocky-looking as FF7. Maybe I'll try again some time, but I suspect I'll end up waiting for the remake.
I have became a 100% Kotlin convert. Every single project I work on now is using Kotlin.

I have also found that if you are using LibGDX Java game framework, it's very trivial to convert it to Kotlin. I have been doing that pretty extensively and it has been very pleasant. Feel free to check my GH for some examples. Most notably, the Bayesian Classifier.

Also be sure to check out the Kotlin slack room. It is filled with a bunch of great and active people.

But most importantly, just go try it. If you come from Java and are hesitant to leave given all the nice libraries available in Java, Kotlin is for you.
> 2. Get a book describing ML algorithms

Which one would you recommend?
To be fair, every modeling tool had terrible UX at that time - save for some domain-specific ones (e.g., NI had a great tool, but it only worked with their hardware components).
Khan Academy is good. Also http://patrickjmt.com/
To deprive yourself of future confusion you can separate this further into: feelings, emotions and "bodily effects". I present you a slightly less morbid example: you feel happy and you smile. Act of smiling is an expression of emotion that is not named in the prior statement. The happy feeling is expression-less in this example and merely a conscious record of your internal self-observation.
"I guess you don't spend too much time looking at the typical C code written on most average enterprise shops"

The list of qualifiers and disclaimers in that sentence made me dizzier than taking that quiz on dark corners of C.
"You're as cold ice! You're willing to sacrifice our LOVE!"
Even if that is the case, if the root cause is just some triggering event, then the chemical imbalance can still remain even if the cause is no longer present.
I don't agree with the premise that influencing the election is a bad thing. I don't agree that having one or more political goals is bad either.

Everyone else influences the election with information, eg. well-timed release of Trump's lewd talk on the bus.
> Why did we have so much black money in India? Coz people didn't want to pay taxes. Why didn't people want to pay taxes? Because they got nothing in return.

Sorry, I don't buy this argument. People in every country, regardless of how good their government is, want to personally pay as little taxes as possible. If people in XYZ-Amazing-Country knew that they could reduce their personal tax bill by 30% in a way that's guaranteed to be safe, a huge portion of the population would take advantage of it too. It's a class Economics tragedy-of-the-commons problem.
Conservation of momentum only works because the gravitational field itself is supposed to have momentum. Similar to how momentum is conserved for an accelerating paddling boat only if you include the sea. Sea analogy is a good one I think, especially because the gravitational field interacts with itself, like water, contrary to electromagnetic fields.

Conservation laws in general are a quirky thing in GR, see:
http://people.bu.edu/gorelik/ES_GG_Conservation_Laws.pdf

or
http://www.preposterousuniverse.com/blog/2010/02/22/energy-i... for a shorter read

>but approximately the Earth would also accelerate faster.

Well yes, Earth has a stronger gravitational pull because of rotation. On smaller distances rotation effects become even more interesting:

https://en.wikipedia.org/wiki/Frame-dragging
Case in point: Google was not a first mover. More like 21st.

https://en.m.wikipedia.org/wiki/Web_search_engine
that's why I said it's the tip of the pyramid.
Or perhaps different people in different places react differently.
Gravitons appear in several different families of theory.

We have not observed any of them; the interaction cross-section is so small (because gravity is so weak) that we have no hope of observing a single graviton, or failing to observe an expected one, any time soon.

Gravitational waves have spin 2 symmetry and are massless. A straightforward quantization of a gravitational wave leads to gravitons as a spin 2 massless gauge boson. Conversely, in almost any gauge theory that admits a massless spin 2 particle, that particle mediates a force almost exactly like gravitation, and is amenable to analysis under the Paramaterized Post-Newtonian Formalism.

Indeed, when gravity is weak, such theories essentially exactly reproduce General Relativity. It's only in strong gravity that non-negligible differences appear, and in this case strong gravity is when the quantum uncertainty in curvature distorts distances in ways that can't be worked around e.g by a change of basis or system of coordinates. Alternatively, gravity is strong when you have multiple loops of gravitons in a Feynman diagram.

So in the type of quantization above, the problem is that the momentum carried by an individual graviton is much much much much smaller than that carried by an individual low frequency photon. For example, a near-infrared photon has a momentum-energy on the order of about 1 eV/c^2, a 100 MHz photon has an energy on the order of 10^-7 eV/c^2, and a graviton will be less than 10^-22 eV/c^2 (LIGO collab., https://arxiv.org/abs/1602.03837, about six paragraphs before section VIII).

In other words, even the extremely weak signals LIGO's detected represent waves comprising huuuuuuge numbers of gravitons. But each graviton is so weak (or equilvalent long-wavelengthed) that we have no hope of detecting it individually. Think of how much fun you would have trying to isolate with your fingers an individual molecule of water in a surfers-beware ocean wave -- that'd be easier than isolating a graviton from a presently-detectable GW.
that's the thing, gravity from GR doesn't quantize well, or actually at all.
Well, at least internal business problems should be considered "ruled out" by now at Volkswagen...

I fully agree on the difficulty and importance of infrastructure, this is something where it would be really difficult to match Tesla, at the volume of a mainstream brand. When Tesla says that their cars are sold at a profit, the wording seems to be very carefully chosen to avoid admitting that the package of car plus charging network access is not.
Assange has been taunting about those mails for a while, they could've released all of them at once not drop by drop with the last one being on the weekend before the elections.

This was played for maximum effect, they had them likely for months, if not longer, this is a score settling not an exercise in democracy.
Just two paragraphs in the article says that they expect at least every 4th car to be electric by 2025, and that this of course means different supply requirements which they have to start planning for now.
That's just regular market forecast planning.
Kotlin is great and we're using at in the backend at Datawire.io. Also we're hiring! Check us out if you're a backend JVM/Kotlin developer and are in the Boston, MA area!

https://www.datawire.io/careers/
I like those choices, especially Harvest Moon.
I know the correct answers to these questions on Linux with an ARM or x86 and on 8-bit AVRs and that's good enough for me.
YES

A _good_ CEO it's worth more than 1 good engineer by the fact the second one needs input from the first one, a good engineer is useless without a goal or an idea to develop. Software Foundations are probably the only places were this tough isn't valid for everything else it should.
Saw this pop up in my IDE this morning, excited to upgrade. The auto-for-loop-refactoring is interesting. I've found I never use for-loops in Kotlin - between the abundance of iterator methods and concise trailing-closure syntax, it always ends up being more concisely expressed as collection.forEach { ...body... }. Seems like the language may be going that way too; I wonder if we'll eventually see the for-loop start to fall out of use in modern languages.
They are either still sleeping or chill lol.
To all those kvetching about weird C (and by extension, C++) behaviors... what is your alternative for an unmanaged, system level language with broad compiler/library support?
I surely don't remember using them while creating code across MS-DOS, Xenix, DG-UX, Windows 3.1, just constraining myself to the compilation targets I used in 1994.
I spent close to 6 years at a startup before quitting. I was an early employee there. Deep within my heart I knew I had to. I couldn't explain it to my friends or my family what made me take this decision. All I knew was it was about time. I just got too comfortable working there. Life became too monotonous. In the end, I just followed my heart. After 8 months, I might be making a bit less money, I might have given away a significant part of the equity I owned, but I'm happy. I've been reading a lot, learning things which I always intended to. Been freelancing for a while now and I couldn't have been happier.
This is something I look forward to purchasing all in (System, 2 controllers, cable extenders) for $30 in the Fall of 2017, because it doesn't look like a DRM/lock-in type system and I get a hunch these will pop up on CraigsList with regularity in the not too distant future. $60 + $10 + $20 for extension controllers adds up to me (that's 24 sets of guitar strings at 3 for $10 deal prices) but I'm not mentioning this to complain about their pricing model. I think it'll do great. Hence my eager anticipation to get one eventually.
Better yet, write a test program and check the answer yourself.
Unfortunately licenses for outdated versions of outdated compilers for outdated versions of an ancient language still sell for 3995€ a seat - I know because I'm using one right now. Nothing beats good old 8051 in terms of price. :)
Burma (Myanmar) has done this several times for the same declared reason, but with a batshit insane dictator with a predilection for numerology, so their demonetisations went like this:

1985: 50 and 100 kyat notes demonetized, replaced by 15, 35 and 75 kyat notes.

1987: 25, 35 and 75 kyat noted demonetized, replaced by 45 and 90 kyat notes.

https://en.wikipedia.org/wiki/Burmese_kyat#1972-1988
You can also get them exchanged at RBI offices by March 31st, 2017 [1]

http://economictimes.indiatimes.com/news/politics-and-nation...
Very true. Early on in Java's gestation I was building into it a full capabilities system for security. One of the challenges of loading classes which provided export proscribed encryption capability was having the JVM authenticate the class, and having the class authenticate the JVM it was being loaded in to.

Of course not all situations need that, but understanding what the endpoints are trying to achieve and how that objective could be compromised by an attacker will inform on which identities must be established, and to whom, in order to achieve that objective.
iTerm's killer feature for me is the special paste modes - it is trivially easy to do things like visually select a block of processes numbers from ps and then paste that block as a space-delimited list on one line to kill them, etc. Terminal.app is fine for most things but can't do stuff like this.
Election Day: Tracking the Mirai Botnet
Yes, but what counts is practical security. I think we should keep this in mind.

For example someone may make a false impression that because the messenger uses the signal protocol, it is secure (and points to this paper), but in fact its implementation makes it considerably less secure.
It will work for the current undeclared income. Soon people will begin hoarding the new currency notes. Or become wise and not stash money in currency.

Under the recent tax amnesty scheme if somebody had declared rental income, or business income, they will have to continue declaring it for years to come.

I personally believe that the bigger players in undeclared income are not keeping it in cash, they have assets bought in the names of trusted people, be it cars or properties.

And that is the difference here. Corruption is big players. Undeclared income was for avoiding taxes by mostly regular people.

Corruption had already found a work-around. And even if not, it was free money when they got it; they might not miss it. Regular people were trying to save 30 paise to a rupee that they earned, they will now have to pay it.

The current method is a way to fight black money. For corruption there are other ways, and maybe some will be taken.
My first thought was, a post to promote an app. But then, realize it's Eatsa so it probably doesn't need any promotion.

What I like to know is the following:

What are some of the challenging issues of using Kotlin?

Did you start from Kotlin or migrated from java to Kotlin?

What drove the decision to use Kotlin in such a visible app?

What are the top 3 - 5 improvements or things you want to see?

Thanks
Definitely use the new stdint.h types[1]. That will make your intent a lot clearer. Also consider creating some macros for all common operations (like creating a uint32_t out of four uint8_t).

[1] http://en.cppreference.com/w/c/types/integer
You are right, is not open source (yet), but you still can tun Linux binaries.
On the topic of using the JVM to make games, do you find yourself using the trick of not allocating any new objects (wither from Java or Kotlin) within the game loop? I've heard of that trick, and am considering using it because GC pauses are the main reason I'm considering avoiding the JVM for games.
To paraphrase for Guar, he's asking whether someone means "exponential" or exponential. By "exponential", I mean my feelings.
This looks really nice. Thanks for not forcing us to stick to yellow/orange colors etc.
True, I'll add this.
I guess Indian Economy is going to grow and will be controlled well...
Same thing happened to me in Ohio. I had moved nearly two months ago and changed my voting registration almost immediately. Still had my old address listed.

Hopefully, theres nothing that goes wrong with the provisional votes.
No. This looks cool, is ready to use and apparently hassle-free. Plus I don't have to pirate the games.
Do you use any specific Kotlin (or other JVM lang) web framework for your backend, or did you roll your own?
Sephiroth-‎-cathedron-album-oldier-dark-ambient-experimental-music-1998
Indian Economy is going to be Increased well
People still love the Gamecube controllers for Smash Brothers that 1) Nintendo still makes new Gamecube controllers [0], and 2) they created a port to allow you to play Wii U with old Gamecube controllers [1].

[0] https://store.nintendo.com/ng3/us/po/browse/productDetailCol...
[1] https://store.nintendo.com/ng3/us/po/browse/productDetailCol...
Thank you for answering. As I suspected, a good network is a real deal. Making a good network is too difficult outside a tech hub as SV. Fortunately, we have HN and other online communities.
While it's better than the default terminal, iTerm2's tmux integration has always felt weak contrasted to the advantages of tmux.
I've used tmux for the past four years as my main environment, and was totally psyched to hear they were integrating it into iTerm2. But when I began digging into it, little from my workflows translated to the "integration" provided by iTerm2.
While it's a great feature of iTerm2, I find myself just using regular old tmux instead.

What features of the tmux integration do you utilize in iTerm2?

And for sitting through this, here's how to remap the default tmux hotkey: https://github.com/erronjason/dotfiles/blob/master/.tmux.con...
sizeof(char) is inherently 1 because sizeof()'s unit is chars, not bits or bytes.
Thanks for the link (+1) but it's very far from being an explanation for the layman.

> In the same way that temperature arises from the movement of microscopic particles, gravity emerges from the changes of fundamental bits of information, stored in the very structure of spacetime.

It doesn't explain how gravity emerges from bits of information. I'd love to understand how those bits make apples move from trees to the ground, the equivalence between gravity and acceleration and the weightless free fall experience. That should be one paragraph for the general principle and one for each example. Then it's for the layman, and me too :-)
The first time this was announced, I was excited to pick one up. From the article comments, I read about RetroPie. Since I had a raspberry pi lying around, I loaded it with BerryBoot and put RetroPie on it. A 20 year old Playstation to USB controller adapter just worked on RetroPie. We used an old xbox controller for the second controller and have had a ton of fun playing old SNES 2 player games. For the people not willing to put in that much work, this system will work perfectly.
This is a good example of where Apple should have followed the KISS principal.
Sega Genesis returns to production – in Brazil
Onward, Christian Health Care?
> Super Street Fighter II Turbo

That's not a SNES game. There is Street Fighter II, Street Fighter II Turbo, Super Street Fighter II and Street Fighter Alpha 2.
I think want vs problem just distinguishes how marketing vs engineering speak.
Oh lord yes, I've left it behind only to take the next job offered to me and becoming a Business Analyst. Not enjoying it so far.

I'm putting more focus at the moment on exploring issues of Mental health in the IT industry as it's something I've dealt with and continue to deal with.

That seems to give me a degree of fulfilment. Doesn't pay the bills though.
I once had the pleasure to meet a young person (~30 years old at the time) who had learned to program at a bank, so I had to ask her about COBOL.

Her reply was interesting, if I looked at it as a general-purpose language like C++/C#/Java, then, yes, it sucks really hard. But if you look at COBOL as a DSL for building specific business applications, it does not look all that bad.

Having never used COBOL beyond a simple HELLO-WORLD, I am not sure I can judge it either way. But her reply sounded surprisingly pragmatic to me.
Vert.x 3 currently. First class Kotlin support is dropping before the end of the year according to the Google Group for Vert.x but for right now the excellent Java/Kotlin interop hasn't prevented us from building.
Case in point: a simple example of code which copies 1MB of data with SSE and slows down on misalignment:

https://news.ycombinator.com/item?id=12718625

Presumably due to the hairball of cache implications, as you put it.

But it also is true that the choice of aligned/unaligned instructions makes no difference if the array is aligned.
Verbal Tics: As bots grow up, like us, their bugs become their features
> The only thing GCM does is wake up a device to connect to the Signal server when the app is running in the background, nothing is actually transmitted over GCM.

I consider myself an educated Signal user and I had no idea about that. Preach it, shout it, this is great for everyone who thought "GCM == messages"!
I was thinking of the little bits that used to show up in Nintendo Power and manuals and stuff, but looking back on them it was always "Power tips"!
The State of Employee Engagement - 1,200,000 data points worldwide
Can deep learning help solve lip reading?
Personally speaking I would have much rather have a feature in Signal that allows me to send documents or attachments from my various cloud providers rather than a gif search.
How do they hoard this money? As cash?
Well, I mean, it's too late for many. A lot of folks are only a few years away from a heart attack and have nothing to live for.

You've let down everyone and your dreams haven't come true.
> read the standard

Casey Muratori, who's a better C programmer than me, is of the opinion that you should check your compiler's behavior rather than read standards.

(Not that you should take his word as gospel, I don't fully agree myself, but it's worth considering.)
This one: https://telegram.org/crypto_contest
Perhaps this, or a previous iteration of it? http://twiddler.tekgear.com/

The default layout sucks, looks like someone made a new version of the "TabSpace" layout: http://ivanwfr.github.io/Twiddler3-Layout/
Of course not. That's silly. However, the supplier should only add that label if it actually is void of GMOs.
Or just a membrane between the two sides?
I understand some implementations might break this rule, but what standard states this?
>Actually, since C99, sizeof char is defined to be 1 (byte). The number of bits in a byte is implementation-defined.

(edit: i misread, it's always 1) To be pedantic, a size of char is defined by CHAR_BIT in limits.h. As well as all of the min and max values and lengths in bits for integers.

To add to the discussion, many high level languages don't have a hard min and max values (haskell, that is popular in these woods, i see has minBound/maxBound).

From the "So you think you know C?" test i answered... probably correct for the "standard" x86 implementation, while knowing that they are implementation specific (for 4 i'm not sure). The authors "Don't know" is his own, i would have answered the questions as "It depends", but that was not offered.

In the end i agree with the general notion here, that this is ugly C.

PS Integer wrapping is undefined as well, so "good" C code should work around it. (i miss this from assembly)
Probably nothing :/ However criticisms can be valid without offering alternatives. (if that's what you were getting at)
A zeptosecond stopwatch for the microcosm
Well, the author is a Ukrainian nuclear engineer. ~