Better HN
topnewbestaskshowjobs
Log inSign up

simplify

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

Submissions

comment 6y ago · link · parent

Curious, what tech did you use to implement this?

comment 6y ago · link · parent

Same reason competent people work for non-profits.

comment 6y ago · link · parent

GraphQL by itself won't save you time, and might even increase it (it's a huge buy-in). You'd still have to implement the logic for those 4 endpoints, except now in a more complicated system.

In contrast, tools like Hasura and Postgraphile can potentially save you time because they generate the GraphQL part for you. Then you only need to handle the authN/authZ parts – in theory, at least.

comment 6y ago · link · parent

Learning web Prolog is my current programming side project. My ultimate goal is to create an online board gaming platform, as writing board game rules in Prolog has turned out to be a smooth and pleasant experience :)

Not to mention, SWI Prolog already has http, websockets, rpcs, and pubsub built in, so there isn't really a need to download any external libraries.

comment 6y ago · link · parent

Got cut? Meaning you knew about this crucial detail and consciously decided to not include it?

comment 6y ago · link · parent

Some bootcamps may allow "from zero knowledge", but quality ones always have an assessment required to pass before admission.

comment 6y ago · link · parent

If neither you nor universities think that getting a job is more important than becoming a "good engineer" (whatever that means), then who is left to fill this void but the bootcamps you disagree with?

comment 6y ago · link · parent

> Cotton candy doesn't contain all that much sugar - merely as much sugar as one would get drinking a can of an average soft drink.

Soft drinks contain a lot of sugar, so this comparison doesn't really support the claim.

comment 6y ago · link · parent

create-react-app only does setup. And react router is by no means intuitive.

comment 6y ago · link · parent

Another good resource is this Prolog text adventure game. Helped a lot of things click for me. https://gist.github.com/JosephLenton/3191695

comment 6y ago · link · parent

Tau Prolog[0] runs in the browser, but it's still a bit heavy for forms.

What someone needs to do is take an implementation of Hitchhiker Prolog[1] like this one[2] – because it's so lightweight – and make it JavaScript developer friendly so one can use it on a web page without a second thought.

[0] http://tau-prolog.org

[1] http://www.cse.unt.edu/~tarau/research/2017/eng.pdf

[2] https://github.com/CapelliC/hitchhicker-prolog

comment 6y ago · link · parent

As a hobby prolog user, I understand what you're saying, but I also think the tutorial does a good job giving a novice a decent taste of how prolog "feels", pragmatically using some terminology of the average programmer.

Sure, one may not be able to write full prolog programs after these Y minutes. But much more importantly, hopefully they are sparked with some interest in learning the language further!

comment 6y ago · link · parent

Prolog. You'll discover what it feels like to have a language that actually does hard work for you (except string manipulation...), instead of having to guide it through every little detail.

Logic programming isn't actually that hard, and more people learning it will help move the state of programming forward.

comment 6y ago · link · parent

Banning something by law is not just about enforcing it, but also sending a message to the public as to how it should perceived.

comment 6y ago · link · parent

Easily defeated if you make the effort. Do you want a world where we have to consciously change our gait to "easily defeat" the recognition AI? If not, then it should be banned too.

comment 6y ago · link · parent

Not to be confused with Phoenix[0], the Rails-like web framework for Elixir/Erlang.

[0]: https://www.phoenixframework.org

comment 6y ago · link · parent

The stereotypical "nice guy" is a term for someone who thinks they're a nice guy, but then turns into an asshole when they don't get what they want. Not related.

comment 6y ago · link · parent

For social networks, Manyverse is an interesting new player. It's p2p with no central server, and the app is open source.

https://github.com/staltz/manyverse

comment 6y ago · link · parent

Could you make the log a bit clearer? It's hard to tell solid fill vs partial fill. Great game, great work!

comment 6y ago · link · parent

I think so too. But it was cool to see how they hired someone solely based on their professional StarCraft skills :)

comment 6y ago · link · parent

Please tell us more about point 5!

comment 6y ago · link · parent

Prolog / Datalog are beautiful languages. They should be in the repertoire of more programmers.

comment 6y ago · link · parent

If I'm not mistaken, 22k is roughly the amount you would get for placing a single software engineer in a recruitment pipeline. Job-seeking traffic is quite valuable.

comment 7y ago · link · parent

In TypeScript I define new types (aliases) and update them without mutation nor methods. It's a pleasure.

comment 7y ago · link · parent

To me, Datalog looks like the ideas of Redux to their highest fulfillment. You have a single source of truth (a list of facts), and you have queries to ask questions about that truth, using the powerful and succinct language that Datalog is.

I hope more Datalog gains more interest in the frontend world, because it's about as declarative you can get – something that should go hand-in-hand with declarative frontend libraries like React. I hope that someone moves the frontend world further with an implementation in JavaScript. Datascript is a good start, but its size (80kb gzipped) and its JavaScript API can greatly be improved upon.

comment 7y ago · link · parent

"The more I code the more I observe getting a system right is all about getting the data structures right. And unfortunately that means I spend a lot of time reworking data structures without altering (or improving) functionality..." https://devlog.at/d/dYGHXwDinpu

comment 7y ago · link · parent

What's the main difference between this and event sourcing?

comment 7y ago · link · parent

Yes, approval voting is simple and effective. How should we bring attention to it?

comment 7y ago · link · parent

> How is this different from buying baseball cards, pokemon cards, etc.?

You can trade your cards with other players, or buy/sell them with local vendors. This gives you the option to pay money to get the exact cards you want.

You can't do the same in most games with lootboxes. If I have an extra item that you want, tough luck. You need to continuously give money to The Man in hope that you'll get the item you need.

1
101112
31