Hacker Newsnew | past | comments | ask | show | jobs | submit | more BiteCode_dev's commentslogin

A bit of a plug, but if you wish for something that has the Postgres reliability, the taste of nosql but with strong typing and a json output a la graphql, give a try to edge db:

https://edgedb.com

The team behind it is awesome (one is a python core dev), and it's a FOSS, but they have been using it internally for some time.


I feel like this is close to what I'm looking for but not quite there in terms of minimal boilerplate backend. Basically what I want to do is write a GraphQL schema and have that be the ultimate source of truth. The schema then should generate the full DB (honestly I don't even care if it's SQL, NoSQL, etc. the idea is that part is abstracted away). Then the schema can generate fully typesafe queries for the front end and serverless functions, similar to what graphql codegen does. I'm almost there with Hasura, but Hasura still requires definition on the DB side and generates the GraphQL rather than the other way around.


I'm wondering how FaunaDB's GraphqL would suit you? It's basically: "drop in schema, get API". You can't do everything that you'll ever need yet but you can go quite far and the implementation of each query is efficient since every query is one query and thus one transaction, is backed by indexes that are automatically generated and finally we are quite suitable for GraphQL-like queries. (because those are a bit like tree-walking queries for which the 'Index-free Adjacency' concept in graph databases is very suitable and FaunaDB's References are quite similar. Although we're not a Graph database we don't have problems with huge graph-like joins because of that. besides that, the compatibility of our native FQL language made it ridiculously easy to generate an FQL query GraphQL queries)

If there is something missing in our GraphQL feature set, feedback is very welcome :).



This looks really interesting thanks for sharing.


That's pretty much why people created ORM for, though.

E.G: Django ORM will let you define the schema, and be the single source of truth for you DB and your REST API.


Right but the idea is I'm trying to approach it from the front end and define the schema using the GraphQL queries which the front end will use.



I'm pretty sure you gain points on HN


But the same persons would be scandalized if youtube would censor US politicians propaganda.

Because I tell you, looking at Fox News as a European, I can't understand how it qualifies as "news", yet many americans are very attached to it.

I'm sure there are plenty of chinese people that feels like Fox News viewers about their own news sources. And they think they are right just as much.

And each camp will say "you can't compare us to them because...".

It's always the same story: it's not about the truth, it's about power and believes.


Fox news is a laughably pathetic excuse for news.

But, so are the rest of the major corporate news outlets. In the US, they're all garbage, and Fox isn't any worse than the others.

The best way I can describe this is by analogizing to Canada, where I'm from. In Canada, when you watch or read the news (eg CBC), for the most part it just tells you what happened. In the US, when you watch or read the news, for the most part, it tells you how you're supposed to feel. Of course, Fox tells you you're supposed to feel conservative and (eg) NBC tells you you're supposed to feel progressive. But they all do this. They all editorialize. They all try to manipulate your emotions. None of them are willing to just present facts and let you think for yourself.


This is exactly my feeling with French news as well (the mainstream ones at least).

Since one of our national sports is to protest, people complain that "they" (the bad news paper or station) is showing one side only, and that "we" are different.

In reality they all tell the same thing, objectively without even editorializing it. So I can read Le Monde, Le Figaro, l'Obs, la Croix or l'Humanité and get the same info. And this is very good.


There are other ways to shape discourse, too, though. For example, cover some stories to the point of obsession and simply completely ignore others, even if they should qualify as big news. The best way to counter that is to read a lot of widely varied news stories and insist that all of them present solid, factual and scientific grounding.


eqdw: >Fox news is a laughably pathetic excuse for news. >But, so are the rest of the major corporate news outlets. In the US, they're all garbage, and Fox isn't any worse than the others.

I agree that all the major corporate news outlets are pretty bad. But Fox News is _significantly_ worse. They push patently false narratives on purpose. Up until March, Sean Hannity was calling the Coronavirus a "leftist hoax". He never apologized or corrected himself and even had the audacity to further report "we've always reported accurately on the Coronavirus". Most of their shows push some form of the "deep state" conspiracy theory. And now they're helping the president push this "Obama-Gate" hoax.

Everything they do is designed to help the GOP and the president.

Jon Stewart once put it very well when he said (paraphrasing) - "other news orgs are sensationalist and maybe a little bit lazy, but none are as activist as Fox News".


Google blocks what governments don't want spread since it wants to be on good relations with them. Same way it's blocking covid-19 related things that are deemed fake news. And in Germany it'll block Nazis.


How is being a welcoming host a trick?

It's like saying serving good food and making your guest feel at home is a trick for a successful diner.


Hello! don't roast people so they get A list people open their homes and hearts. Hence they are a safe place for people of celebrity significance to be shown in.

In British English 'trick' can mean many things. You can do a trick on a skateboard but the usage I have is

a clever or particular way of doing something.

"the trick is to put one ski forward and kneel"

I hope that clarifies the British English usage. Elsewhere 'trick' probably means deception but in British English there are other uses, e.g. the trick to explaining something is to cite Wikipedia.


Compare 'knack'? A positive skill but simple at heart. "There is a knack to it."


I understand knack not to mean a learned skill but instead a natural aptitude. For example, a knack for humor, figuring out mechanical things, putting people at ease, debugging code, etc.


He has intriguing diverse guests and let them do most of the speaking, for an extended period of time.

It's refreshing.

There are plenty of people I would never have listened to otherwise, because they are outside my bubble or just because they would represent something against my view of the world.

But because I also saw people I view as interesting or people I already knew from somewhere else, and because they have the time and space to elaborate, I gave the others a chance.

This allowed me to be exposed to new topics, points of views, etc, in a relaxing and human format.

Just like regular media, it's full of bullshit. But I'm full of it too.

It does, however, feel way more genuine than regular media.


[flagged]


This comment is an example of why complaints about downvotes are discouraged in the HN guidelines.

The comment is not downvoted now.

Given a bit of time, substantive comments that get early downvotes generally get restorative upvotes and end up back in the black, so to speak.


Not directly related to the content of the article, but...

There are jerks everywhere, and there always will be. Like diseases, tornadoes and mosquitoes, they are part of life.

I think our energy is better spent creating an env that empowers nice people and encourage them to defend themselves. An env that calls out bad behavior.

It's way more durable.


Society has mostly tolerated jerks - Bill Gates was a jerk during his Microsoft days, Steve Jobs too, etc. Hollywood has a long list of jerks, bordering on criminal level behavior. Somehow they were (are) tolerated by society, many people even believe one needs to be a jerk at certain levels to succeed.

If a junior person on a team is a jerk, he'll be called out quickly vs a boss who is a jerk. Like everything in life, one can get away with a lot of bad behavior if they are high up in the food chain.


Society tolerates jerks for the same reason jerks tolerate society. They both get something from the exchange.


I think society tolerates jerks because they feel that the jerk creates more value than they take away.


Yeah, and then there are some jerks that think that by throwing a hissy fit in a meeting they're the next Steve Jobs. Well, they're not. Jerks.


Er, was Bill Gates a jerk? How are we defining it?

He was aggressive towards his competitors, certainly, perhaps too much. His decisions around the web were perhaps "jerk-like".

But normally this word means he was nasty to other people he worked with. There are mixed stories about that. A lot of them boil down to him being a boss who simply expected good results and made his expectations clear.

If you look at CEOs of successful companies there are always lots of people ready to describe them as jerks. Mostly when asked to back that up, you get stories where they were just firm with people about what level of performance was required - the sort of thing any CEO needs to do.


Anything using fossil energy also has such hidden issues.

And you have to consider the ecosystem:

- fossil fuel engines require much more maintenance than electrical engines, and now vehicules always embed heavy electronics anyway.

- fuel need to be transported at a heavy cost, which is now hidden by the massive demand. The day we use more solar than fossil, the whole fossil infra will suddenly feels very expensive

- most countries are not like the US and don't have oil on their soil. Countries don't like to be dependant on others for critical things. You may buy solar panels (or fuel engine) from a friendly country, but if things turn out badly, people can't cut sunlight from you one the initial setup is there.

Nothing is perfect of course, but I like the solar future we are hinted at.


I didn't suggest fossil-fuel-based energy production is superior.

Having said that - maintenance of cars using fossil fuels is not a relevant comparison, since we're talking about power plants.

Personally, I doubt that we can just -whoosh- swap the coal and petroleum for solar-based electricity and have our problems solved. It's likely that a lot of social effort to conserve more and waste less energy will be necessary to reach some sort of long-term-sustainable state of affairs.


Assuming vanila Firefox is not good enought (it certainly is for my 64 years old tech-clueless mother), you can try epiphany. It's barebone.


I’ve been writing software for 30 years and Firefox still confuses me at times. It is many things but not simple.


VSCode, Firefox, KDE, tilix, cmder, the latest version of blender...


I would agree with VSCode, seems ok in my book.

Firefox of the past maybe, when it allowed unsigned extensions. AFAIK now it isn't possible in non-dev version.

Others I have not heard of/not used.


I think there is a space for an "ublock origin" type of extension that blocks bots.

It would first start with twitter, flagging "likely a bot". Then once it gets good enougth, just hide bot tweets.

If it becomes popular enough, you can extend it to reddit, imgur, insta, facebook, etc.

This will feed the system with a lot of data, espacially usernames, emails, accounts, and IP, plus a graph of all that, that we can cross reference to detect even more bots.

Now for the ultimate goal: hide comments from bots on shopping websites, starting with amazon.

It would become a killer product.


Finally a bot that can administer the Turing test.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: