skysight-inc/HackerNews huggingface dataset:
>Genuine question: does transpiling from Go, for example, make things any better?

No, transpiled code is bad. Moreover, I see close to no point in transpilation of a code made to run in browser from an another language. Instead of writing an in-browser app in Go, and then spending an amount of time equal to writing the original code fixing bugs brought by transpilation, why not to just write the thing in Javascript from the start?

JS is not a complicated language.

>Transpiling isn't complicated or magic, you can get any C compiler to "transpile" your code into assembly and then compile that without any issues (same for C-LLVM "transpiling").

C is a very simple language. For a language/tool intentionally made to align with target's capability. Reliability is not that hard to achieve. An example of that is Vala.

The more feature rich languages you have on both side of the transpilation, the more you loose in comparison to the native code.

>Edit: no idea why you're being down voted. Perhaps you hurt the feelings of some JS developers? ;-)

I am a JS developer. But before, I tried myself at C, C with glib, electronics engineering, and other, more normal, languages. I worked in tech since 2007, and it was only after 2013 the job market steered me completely into webdev.

My rants at JS are exactly because I saw the language from a side, see its deficiencies, and have a clear idea to what to compare it to.
Also you can have interesting rendering possibilities like in-line display of images, charts, tables.

Longer-term: new generation of command-line tools with different ux paradigms for interactive use?

Like, <3 TERM=linux and "everything is text" but there are also a lot of possibilities here which would be interesting to explore.

Funny that people "get" jupityr notebooks but not this.
This is administration in action. These people are bureaucrats. They should be doing what they are doing best, ie. pushing paper. Instead they are allowed deciding how the students should be shaped and this is wrong on so many levels.
How to build Resilience in large scale Distributed Systems
You can't. You can only change the transparency of the terminal.

This comment (though probably by mistake) manages to perfectly illustrate the "reinventing things that we don't even understand" mindset that's going on in most of tech.

(Also, there exist terminals written in C++ with Qt, and QtWidgets has had CSS support for custom styling for at least 10 years, probably much longer.)
Fully agreed that in simple use cases simple solutions make sense; I've been arguing similarly for the NoSQL movement for years (i.e. NoSQL being great for large scale systems; but for most companies day-to-day needs SQL wins out).

However, it would be good to have a bit more in the article to say what AI/ML* is in this context, and a couple of scenarios where it beats SQL; i.e. otherwise it just sounds like the rantings of an old man "in my day we only had turnips; you needed a snack: turnip; you needed a pillow: turnip". By showing a few good use cases allows you to better contrast the product / get an understanding of where the boundaries are between the technologies.

*NB: When I first read this I assumed the author was talking about AIML (artificial intelligence markup language) rather than AI/ML (artificial intelligence / machine language)... as though the slash was included, there was no use of the full terms.
Wow so much hate in this thread.

First, the author is not doing this for his CV.

Second, the benefits of using electron are enormous for any JS developer and there are a lot.

Third, I also hate electron apps and wouldn’t use this app, but I’m not going to jump back to “why electron is bad” discussion, since I can’t suggest anything better in 2018.
It's not because it exists that you should use it. If you don't like it, don't use it, and it won't take any battery usage on your phone

I personnaly think a terminal based on web technologies is not something I would use, but if people are happy to use it, as soon as they are aware of the tradeoffs, why not?
Shouldn't be much different from extracting salt from seawater, which we already do.
Since housing is an emotional subject, let's try to argue by analogy.

I regularly buy lots of dairy products. Milk, yogurt, cheese. Why shouldn't I save some money and buy myself a cow instead? That way, I could satisfy all my dairy needs, and maybe even have some extra milk to sell to my neighbors. No more making the dairy farmers rich at my expense.

Now, assume that I sell my cow ten years later. And let's say that cattle prices grow 3% annually. (As we all know, cattle prices can only go up.) Will my cow investment yield me a 3% annual profit, given that my cow has gotten older and I must have made significant investments to feed it and keep it healthy?
Oh wow this is super cool. IME the hardest part of using this kind of accounting software is to keep using it over time, because entering transactions is super boring, and it's hard to build the habit.

Right now, since all my expenses come from one bank account, I export the data from the bank and use a bunch of excel sheets to keep track of stuff, but of course is a quite limited system.

I was wondering if HoneyMoney has some kind of import system? In this way I could just dump the exports in there like once a month.
While I like the idea of doing the math for such impactful decisions, it's probably not that easy to get correct constants/values to do it so you get meaningful numbers.
For example in Austria (europe) renting prices went up ~25% in the last 4 years or so, so the 2% inflation correction (per year) the author assumes is probably wrong for many countries/cities.

At the same time rent (in Austria) includes several cost factors such as water supply, garbage, insurances for the house,... whereas the cost of your house's mortgage does not.

What I'm saying is: If you do the math it only makes sense to do it in such a detailed way that you get meaningful results.
> this particular failure mode actually becomes more common the more agents you add

I'm surprised. I would expect the length of the pending job queue to also have an impact on this failure _mode_ (as opposed to the failure _cause_), and the queue length is inversely proportional to the number of agents, flooring to 0 when you have to many agents than necessary to deal with peak demand.

If the bad agents (I'm assuming that the fault to check out from SCM lies in the agents themselves, not in the overloaded SCM server due to too many agents polling, otherwise this is not an example relevant to the thread) are e.g. 1 every 50 agents and the number of agents is much larger than the peak load (e.g. a million agents), the probability of a job of failing approaches 1/50, because the good agents blocked on doing work are just a small fraction and thus they don't significantly skew the probability of a new job to get scheduled to a bad agent (which are more likely to be ready).

If on the other hand you have less agents than peak load, the queue will contain some jobs, and bad agents will chew through the whole queue when they get the chance, as you described.

And they always get the chance, since they are almost always ready (if they fail very quickly), so that the pool of ready agents will almost always contain only bad agents.

If you add more agents you have to deal with these bad agents "floating on the top of the pool", and the new ones you add (at the rate of e.g. 1 every 50). So, if you have 5 bad agents and you add another 5 you still have a pretty high chance that new jobs will land on the bad ones.

But you can add more and the probability of success just gets better.
So.. the VCs weren't wrong, and it is really UI/UX issues stopping you? And those same UI/UX issues are actually things your primary business has to overcome anyway?

It sounds to me like you should talk to those investors again ;)

I'll drop you an email.
Feedback for website to connect runners
I was recently asked to give a short presentation on "what is blockchain" at a session with government agencies who wanted to formulate a position on whether they should do anything with blockchains.

And my conclusion was almost exactly the same as this post: blockchain is part of a set of specific technologies you need to solve the very specific problem that Bitcoin solves. Another thing without which Bitcoin wouldn't work is the PoW stuff. If your requirements are different, then many of those other technologies are still relevant but blockchain is not. And if you are not a digital coin, your requirements _are_ different.
The 20 year old entrepreneur is a lie
I'm speechless. It's monday today and the day just begins. I hope for better news along the way ...
Heh, might already be fixed, Firefly is pretty actively developed, a lot of devs don't update their screenshots all that often though.

That being said, if you put in the time and effort I think personal software is amazing: It does what you want it to do, not what someone else wanted it to do. Development priorities are magically aligned with your needs!
Meet the Silicon Valley matchmaker helping top tech executives find love
I am absolutely flabbergasted that the `is-odd` package on NPM [1] was downloaded 3 million times last week. In any project, a check for an odd number would half the time not even have its own _function_.

Even an aggressive build server that redownloads and builds 50 times a day would require 60.000 separate installs...

Does anyone have any reasonable explanation for this?

[1] https://www.npmjs.com/package/is-odd
It is definitely much more than an introduction. There's a lot of examples and exercises, and it goes into a lot of detail on some topics. The chapter about parser combinators is 70 pages by itself. It's only an "introduction" in the sense that it starts off assuming no Haskell experience.

In a sense, it feels like the textbook for a course combined with transcripts of the lectures... although it flows better than that, of course.
The e-reader fragment is from "Return from the Stars" [1], not from the Summa, isn't it?

[1] - https://en.m.wikipedia.org/wiki/Return_from_the_Stars
A number of Gmail users got spam messages – from themselves
What about good ol' QT?
People believing the hype having an amazing willingness to forget about all the other technology that has already existed for decades.
I've always wanted a terminal with bloom effects and it seems that Hyper 2 might be able to provide that. But I haven't found a theme that does that, and I haven't wanted it enough to look into that.
The TDF organizers have not awarded winners from the Armstrong area due to recognition that doping was widespread. That’s a documented fact and not speculation.

Wiggins is hardly clear of serious accusations about doping.

[0] https://www.cnn.com/2018/03/05/sport/bradley-wiggins-dcms-re...
I doubt this will break the suspension of disbelief that easily. People have no problem listening to Movies on crappy stereo or mono on their laptop's display speakers or using crappy 3.5mm earplugs (sometimes with only one plug in the ears).
For what it's worth, I don't get Jupyter notebooks either.
Cinema Projector Rooms are basically fully automated now, there won't be much labor savings. The only labor that goes on in there is when the intern brings in new harddrives with movies once a week.
Is this survey more than just reading the stats of the dashboard? How do we know those are correct? How much reserve do the Tesla battery packs have that is not reported in the car dashboard?
Try cmder for Windows. It’s nice and fast.
35 life hacks you must know to make your life easier
A cow is not the same as a freehold property. Land does not age (except maybe near the sea), and houses generally last a very long time.
Hey, I remember M:OOP!

Many, many years later (~2003 I think, I was barely in high school) my dad brought me a small book, edited by one of the local universities, which was essentially a student's guide to the diploma exam (sort of like a BSc thesis + a written exam, for our American friends -- this system used to be a lot more popular in Europe back then).

It included various study guides, example questions and -- my favourite -- a bunch of recommended subjects for the diploma thesis. "Projects" as in practical things you would study and implement, proposed by every department in the university. I think there were hundreds of them.

One of the was an Objective-C runtime implementation for Linux systems (I got the book in ~2003 but it was older, from around 1996 or 1998, I think, when GNUStep was just becoming a thing). I had read an article about Objective-C and spent a load of cash at the local internet cafe trying to figure out how I could do that.

I lost interest quickly enough when I realized one is already available and it turned out that writing stuff with GNUStep was a lot more fun than figuring out how it worked.

But I did stumble upon a couple of articles about M:OOP. Unfortunately, I don't speak German at all, but a very kind IRC user (whose name I've long forgotten, sadly) basically translated them for me. I found the whole thing absolutely amazing; I was already interested in low-level programming at the time, and this made me even more interested.
Thanks! Should have added that I actually haven't really done anything serious in PureScript either.
So what are you arguing? You’ve just posed exactly the same questions we already had but in a cow theme.
Show HN: Inspect http requests on the cloud
How we realized the importance of error-reporting in API
if the event is in public, and they do the recording, is this clause even necessary? they already have the rights to their recording of you in public (not talking about the bat shit insane part about you being responsible for copyright on the content they are recording, like background music)
>- Easier to make a multiplatform application, compared to alternatives.

If your target machine can run an electron based shell, you can leave the shell alone and just run your web app.

>- Makes it possible for people who don't know (and/or don't want to know) anything beyond the web stack to build "desktop" applications.

Again, changing the shell does what exactly? Just build the web app you knew how to build...
Parsing UTF-8 in the presence of errors is a huge headache in itself.

UTF-8 with "byte order marks"? That makes no sense.
I just can't stand Electron based applications at all. I can't stand JavaScript actually, but that's something different entirely.

I'm really looking forward to learning Flutter (https://flutter.io) so I can finally do some mobile based application development in a cross platform manner without having to use JavaScript. Prior to Flutter I was considering Swift and Kotlin and just maintaining two code bases (and two languages.) Hopefully I won't need to now.

On desktops I would just go native. Is it really that hard to maintain several code bases? Is there literally no other options at all? I'm considering Go + QT here, or something along those lines.
Lem predicted autonomuos robot swarms in 1950. Read more Lem.
I find it troubling that you equate somebody not being in love with Swift with trolling. Also, you are questioning my skill in Swift because you disagree with me. That makes perfect sense.

Instead of an ad hominem, you could actually, you know, argue against my points.

You didn't reply to the parent, who stated that Objective-C is puke inducing... I am the one who is a troll. OK :)

I remind you that the OP is about Objective-C being ported to Amiga. Somehow, it attracted people who LIKE Objective-C. The insanity of it all!

Enjoy your day!
Ugh, it is too late to do anything about that formatting. Sorry.
Bloom effects? As in, glowing and stuff?
Maps are great if you know where you are. If I'm in the woods, that may be non-trivial to figure out.

In addition, GPS works fine in the standard conditions where you can't see very well (heavy rain, snow or fog) which would make figuring out where you are pretty stupidly difficult. This is extremely helpful even when using a map.

Teach people to use a map and compass? Absolutely. However, GPS is really useful.

> One of my sons was accidentally cut by a classmate but we didn't sue and he came to no lasting harm. The trip was not called off, the teacher simply and effectively bandaged it up and they all carried on. If primary school children can manage then surely 20 year olds can.

Most people think like this. The problem is that if even one parent/student winds up winning a big lawsuit, it ruins it for all the sensible people.
Also, running a dairy farm requires some economy of scale that renting a house doesn't
Some of the countries with the lowest homeownership rates [1] are also amongst the most financially secure on the planet. In Switzerland only 43% of households own their home and swiss households are, on average, way more secure than their american counterparts.

[1]: https://en.wikipedia.org/wiki/List_of_countries_by_home_owne...
Appreciate the feedback! Regarding analytics, I think this is some A/B testing, which I don't think is even active in the current version (though still in the sources).

More importantly, we don't tie GA or any other usage analytics to individual users. We basically just use it to see where the extension is used and where people are blacklisting sites. We use this data to make the extension run better on more sites. We don't monetize user data in any way. You're right that we should make this point more salient. In our Privacy Policy, we do describe how to opt out by blocking GA, but we should put this somewhere more prominent.

Thanks for the feedback!
With Gnome Terminal, it uses CSS to style the desktop.
Your second paragraph is important here. Flow, TypeScript, and PureScript all have two-way interop with JavaScript code as a design goal. PureScript also has generating "fast, understandable code" as a design goal. It might be falling short on "fast" here, but it's much more understandable in isolation than the Reason output.

This explains pretty much everything the OP notices in the comparison.
> Land does not age

Tell it to the pastoral nomads who used to live in what is now the Sahara.
npm might even install a dependency without you realizing it (typo).

https://github.com/npm/npm/issues/20072
I'm fed up of having this argument in London.

I rent, and pay about 2% of the value of the property in a year. I get around 8% on shares over the last ten years.

Renting is an absolute no-brainer for me. People are shocked when I tell them how much return I get on my savings vs how much my rent is, especially when I tell them where I live (a 'premium' part of London).
"Set this as a CRON that fires at 2AM everyday, period with less activity and traffic. People wake up to emails reminding them about their abandoned carts"

Hah I wondered why I got so many notifications in the middle of the night. Now I know that it's from people who think they're helping - not realising that it actually sours my opinion on their company/product.
> Imagine walking in to a Starbucks café, order a cup of coffee, digitally signing a payment transaction on your mobile or laptop and then wait for it to be confirmed by the Blockchain while enjoying the hot cup of coffee you have ordered.

You could do the the exact same thing now with credit cards, except the waiting. And then you could get your money back if the coffee sucked, and you wouldn't lose all your money if someone happened to steal your private key .
I think Node.js ecosystem is like a big desert.

There are true gems and treasures you can find but it's mostly useless.
Why? Lending is a risk on both ends.
don’t get why you’d reference ‘OS X’ in the title when that name was retired years ago.

Was it? I am a Mac user and hadn’t heard that
Look several years into the future and what you could have there is electron being faster/lighter.

Being web-based gives you a standard way for fetching and displaying content. It's just a matter of time that the performance improves. Especially when many people are experimenting with it.

> maybe one day we can't even reach for a native email client because it will be unmaintained in favour of the hackable html webstack email client.

It's definitely possible, once the browser becomes the new OS.
TLS certificate of erlang.org rejected by Chrome 66
> Imagine walking in to a Starbucks café, order a cup of coffee, digitally signing a payment transaction on your mobile or laptop and then wait for it to be confirmed by the Blockchain while enjoying the hot cup of coffee you have ordered.

I think you can already pay contactless either by your mobile or credit card and without the need of Blockchain.

> What is more, think about AI, you will not need to talk to the staff to place an order for your coffee. The staff can relax and watch you make gestures to a camera. They will be able to read on a screen if you’d like it white or black.

In McDonalds you have automatic machines that you can place an order and pay, e.g., contactless, without bothering the staff. Later you only just need to pick your order up.
The problem affects not just discoverability of new dependencies, but also development and maintenance of settled dependencies.

When you see a line like this in package.json...

"dependencies": {
"foobarfrobblizer": "^0.9.31",

There's no simple way to determine what foobarfrobblizer does, where it's actually used in the app, what side effects it may perform when called, what dependencies it pulls, why it was included, and whether it could be replaced with something else that offers a similar API.

For a single package, I can figure all this out manually. But projects these days are seriously dependency-binged. If I use "create-react-app" to make a Hello World web app, it gives me 150 MB of stuff in node_modules. I'm never going to look at even 1% of those packages to see what's actually in there.

I got started in programming when a dependency meant either a DLL file provided by someone else, or a static library that you manually link into your executable. Taking on a new dependency was a big decision: do I really want to rely on this DLL file being there for me, or having to carry this separately built binary blob in my project? I still get that same dread when I have to add an npm package to a project, but it doesn't seem like most people feel that way.

On top of those DLL files 25 years ago, there were systems like Microsoft COM that let you use them interchangeably through standard interfaces. You could make a plugin UI component that works seamlessly in Visual Basic by simply conforming to a COM interface. It even worked from multiple languages: that UI component could be written in C, C++ or Object Pascal if you wanted.

The web development ecosystem has a long way to go before it matches the usability of 1995 desktop development — and that's a painfully low bar.
Google.com and gmail.com are not working on my side. Even worse, HN search is not working as well!
Also on Sat MSDN loaded very slowly. Yesterday it became much better.
Screenshot: https://dsc.tisba.de/KY59HOE9ms.png
Why use the term "AI" when the GP specifically used the less ambiguous Machine Learning?

Machine Learning = statistics + linear algebra + computer science, mostly.

Naive Bayes and Graphical Models are pure statistics, but they are mostly used for toy problems. Machine Learning scales these approaches to high dimensionality problems, and tasks where data is abundant.
Last time I checked the bindings of QT[1] for NodeJS were not updated since 6 years.

I think they are still unmaintained and also are lacking the community around it. I think GitHub embracing Chrome-wrapped-apps was a significant move, since no other company did something similar for desktop javascript applications.

Maybe we will need to wait a bit more, until some of the big tech companies realises that having better QT / GTK bindings and build tools, examples, proper documentation will benefit a lot the company and the community around it. Until then, we are stuck.

[1] : https://github.com/arturadib/node-qt
Malwarebytes Anti-Malware 3.3.1 Crack Premium Serial Key (Latest) Full