Better HN
topnewbestaskshowjobs
Log inSign up

simplify

2,061 karma · joined May 24, 2009 (17y ago) · 911 submissions

Submissions

comment 8y ago · link · parent

ReasonML has more potential. Aside from its excellent type system (one of the best), it can also compile to native code. This has several benefits:

- Frontend: Your tools are fast. The ReasonML-to-JS compiler is already an order of magnitude faster that TypeScript, etc. Fastpack is a native bundler in the works that aims to bundle your project in under a second (and faster for incremental builds).

- Mobile & Desktop: Some are experimenting right now with writing a version of React in pure Reason that compiles to native code, bypassing the JavaScript runtime entirely.

- Backend: You'll be able to use the Node.js ecosystem but compile certain modules to native code when you need critical performance.

Edit: I should add, the Node.js backend story is currently the least developed part of the ecosystem (I'm personally working on getting that up to speed).

comment 8y ago · link · parent

The tooling has really come along since 6 months ago, FWIW. You can now get started by installing a single npm package[0], and editor support is quite good[1].

[0] https://reasonml.github.io/docs/en/quickstart-javascript.htm... [1] https://reasonml.github.io/docs/en/global-installation.html

comment 8y ago · link · parent

bs.raw is actually really easy to use, but it's not encouraged since it's mostly a stepping stone to "real" bindings.

There is definitely a learning curve to JS bindings, but it pays off as you only have to learn them once.

comment 8y ago · link · parent

Marketing is a powerful force. It's true that RSS has existed for many years, but also consider how many people have grown up without learning about it.

comment 8y ago · link · parent

But mixing and matching causes your page to bloat due to needing to download all the different libraries, right?

comment 8y ago · link · parent

That's similar to Rail's dynamic `find_by` ORM methods where you can put the column name in the call:

    User.find_by_username "alice"

comment 8y ago · link · parent

To balance out the negativity: I absolutely love sublime text. It runs beautifully on my 7 year old laptop, unlike other newer text editors that don't care as much about performance.

comment 8y ago · link · parent

ReasonML is by far my favorite emerging JavaScript tech. Not only is its JS code output small, it's also performant. For immutable updates it generates code faster[1] that Object.assign! :)

[1] https://medium.com/@javierwchavarri/performance-of-records-i...

comment 8y ago · link · parent

This really shows how Stripe values people and their work community as a whole. I'm happily employed, but if I were looking for a job, stuff like this puts a company on the top of my list to apply for.

comment 8y ago · link · parent

> Many of them end up having chronic issues with drug and alcohol abuse.

I don't think this is a constructive statement to make unless you compare rates between UBI and non-UBI.

comment 8y ago · link · parent

How does SlateJS compare with ProseMirror from a dev's point of view?

comment 8y ago · link · parent

Agree, this looks like it works, but even in the demo there's a big delay between typing and showing up on the screen.

comment 8y ago · link · parent

I love how they mentioned Stack Overflow successfully scaled vertically. Inspirational.

comment 8y ago · link · parent

> Every single bootcamp recognizes that this is not a great way to train engineers

This isn't quite true. I work for Hack Reactor and we're doing well with this model. But every single staff member is also passionate about our students (including those at top), so that might explain why we work if others do not.

comment 8y ago · link · parent

Most web design trends since the 90s have been progressive. Brutalism feels like a step backwards for the sake of being different. Feels like one of those trends that will be very short-lived.

comment 8y ago · link · parent

20-33 percent? That's crazy! I often encounter MAVN for restaurants in Austin. Looking them up, they $50 a month and $0.25 an order, which is way more reasonable.

http://www.whatismavn.com

comment 8y ago · link · parent

I agree, the music was a little off-putting. They could have at least gone with a less in-your-face piece.

comment 8y ago · link · parent

Does EdgeDB support variants[0]? I've always dreamed of a database that did.

[0] e.g. https://reasonml.github.io/docs/en/variant.html

comment 8y ago · link · parent

How did they estimate the age of the crater? Did they bring some moon rock back and test it? Or infer it using other data?

comment 8y ago · link · parent

How old is this article? Neo4j is not "designed especially for Java". Their Bolt protocol[1] allows you to interact with it via binary, and is built into their official Node.js driver[2].

[1] https://boltprotocol.org [2] https://github.com/neo4j/neo4j-javascript-driver

comment 8y ago · link · parent

This is a fascinating and frightening technology. Used altruistically, this can heal a lot of people and prejudices. But how long until people use it to reinforce their own prejudices, simulate dehumanizing scenarios, or force it on others as sci-fi-level brainwashing form of propaganda?

comment 8y ago · link · parent

npm has namespacing https://docs.npmjs.com/getting-started/scoped-packages

comment 8y ago · link · parent

> If that's true, solve that problem directly via education and enforcing transparency.

This doesn't always apply. Should car regulations be abolished in favor of educating the ignorant?

comment 8y ago · link · parent

> But it's still very much what almost every company will do

But it didn't used to be like that – not even that long ago, either. In 1970 Friedman released his essay "The Social Responsibility of Business is to Increase its Profits". Look at the corporate behavior he was criticizing:

> The businessmen believe that they are defending free enterprise when they declaim that business is not concerned "merely" with profit but also with promoting desirable "social" ends; that business has a "social conscience" and takes seriously its responsibilities for providing employment, eliminating discrimination, avoiding pollution and whatever else may be the catchwords of the contemporary crop of reformers.

In other words, companies at that time WERE concerned about social responsibility, and not purely focused on profit. Friedman didn't like this; he called it "pure and unadulterated socialism".

Since that time this parasitic mentality was spread to and propagated by top schools like Harvard, dominating the world view of that next generation of businessmen/women. But it was never "a defacto" thing, and many are starting to catch on to the damage it has caused.

comment 8y ago · link · parent

Mozilla Persona was a promising idea. It was ahead of its time.

https://en.wikipedia.org/wiki/Mozilla_Persona

comment 8y ago · link · parent

I agree it was wrong to label Obama a political genius for that, but that doesn't make the current movement wrong too.

comment 8y ago · link · parent

I feel the same with ReasonML / OCaml. I've spent hours on a refactor and everything work beautifully after fixing all the type errors.

comment 8y ago · link · parent

You might be interested in Concatapult [1]. I built it to minimally cover server needs (first-time setup, env vars, testing) and optionally add tech as your project needs it (react, knex, typescript, etc).

Basically it's a lego-like version of yeoman, and opinionated towards simplicity.

[1] https://github.com/Concatapult/pult

comment 8y ago · link · parent

I use twitter to follow interesting programming people and tech. It works well. Sorry if that doesn't fit your depressing view of twitter.

comment 8y ago · link · parent

It's like an RSS reader but for people & products. At least that's how I use it.
1
171819
31