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

> 100MB of RAM but that's like $5

No one is getting a 100 MB of ram extra for anything.

But yeah I don't blame electron here. Have build electron apps and apart from the initial load time everything is mostly under devs control.


GraphQL is not like REST at all because if something is not defined in GraphQL, it cannot be done. For instance Graphql servers cannot have dynamic fields in models (example aggregate queries)

https://stackoverflow.com/questions/45842544/graphql-objectt...

In REST, I can send the columns and know what I am going to get back. All the queries need not be defined to start with.


I created a no-code tool that could do joins, filters, and more with GraphQL, so I really don't see your point. You just need to do it a bit differently (same as REST, and if you follow REST 100%, good luck with n*m calls when you want to join two resources that you don't know from the start):

GET clients [client 1, client 2]

for each client

  GET business (id = client.id)
Now think you can join with business, jobs, invoices, employees, etc etc, and tell me how to do this in rest without basically recreating a query language?


Try to build an aggregate API over graphql. Where all sql functions are allowed on appropriate columns.


I did, the same way you would do with a REST API. you specify a format for a field (in my case, the 'where' and 'join' where JSON structures that you passed as parameters)

Then you write the resolvers that parse that. Pretty much as I would expect you to do it in REST.

(mentioned it in another post, I created a no-code tool that did this, for random data and entities created by the user per tenant/app, so I know the issues with GQL, but I can assure you, doing the same with REST was 10 times harder (api started as REST and moved to GQL after 6 months)


That’s a pretty misleading statement, since what you’re linking to does describe how using scalars can help.

Especially if the scalar never includes other data from the graph (other objects) describing the custom format with scalars is just fine.


I would start with certain category of the web, by topic and start with a topic niche search engine, and start to cover more categories one by one if the search model is successful.


+1


FWIW I was contacted by a "prestigious" publisher (the ken) and it was a story against google. The journalist was not even ready to listen to the "pros", she was just interested in whats the harm.


And suddenly twitter is a leftist corporation.

Frankly I don't know whats the better way for twitter, its one of those doomed if you do, doomed if not.


We’ll see if on Nov 4 they re-instate it...


Banning right wing conspiracy theories would not have been a political issue 5 years ago. There is nothing intrinsically leftist about this. It turns out that one political party and its propaganda outlets favour disinformation designed (by foreign adversaries) to provoke political violence. This party only has itself to blame.

Anything becomes political as soon as a politician talks about it. So things being 'political' do not transform them into sacred cows.


>There is nothing intrinsically leftist about this.

Exactly, the world is not that polarised that anyone not agreeing with right wing conspiracies is left wing.


> suddenly twitter is a leftist corporation.

I mean, if you can't see that the social policy of the most leftmost activists and the social policy of the FAANG HR departments have a near-perfect alignment, I don't know what to tell you.

There's a big difference between this and their views on financial policies, but they've learned they can assuage the angry crowd by kowtowing to social issues while continuing to play the job of the robber baron. To successfully ride on top of this unstable equilibrium, it is necessary to (1) establish false dichotomies, a la the Arthur Finklestein school of electoral politics, and (2) to crush dissent that tries to pick apart the false dichotomy by controlling speech and silencing anything that is actually dissident against any concrete part of the narrative that is really open to attack.

Not that I think this Hunter Biden stuff is particularly noteworthy; if anything it's just more fuel for the false dichotomy, and a banning like this one for the NYP is perfect in terms of making it into a lightning-rod issue. Focus on this, people, and not any of the actual things happening in the world right now (like, say, the Middle East, or the flyover-state opioid crisis, or climate change, or inner city crime, or anything else that seemingly stops existing and has no interesting events when we don't pay attention to it, right?)


"Suddenly". You have to work really hard to make sure your timeline includes centre leaning views, never mind right leaning.


Unless Twitter has changed something recently, there are follow buttons on the account pages for @cnn, @cnni, @reuters, @ap, @bbcworld, @cbcnews, @dwnews, etc. Provided you're using chronological mode (which you should for many, many reasons), tweets from these sources will appear in your timeline.

If you do not consider those news outlets adequately centerist, that may be an indication that your personal Overton window is somewhat skewed.


Reuters, BBC, and AP (excluding politics and fact check) are the only centrist sources out of these organizations. All of the rest are various levels of leaning left.


Yes, because people only use Twitter to follow news outlets. Follow a bunch of Portland software developers and tell me which way your timeline is going to lean.


CNN? Are you being facetious?


Those organizations all have a leftward slant. But thank you for informing me of your skew.


Interesting that @ap is considered a leftward slant. I’m not sure if you’d consider Reuters the same at that point?


This site tends to have fairly reliable analysis of media biases, and AP falls questionably between center and leaning left.

https://www.allsides.com/news-source/associated-press-media-...


>Because AP’s displays of Lean Left bias are quite infrequent, AP still warrants a Center rating.

They just rate it center. There is no single media source that will never have any bias at all. So that would mean there would never be an center.


I completely agree with your conclusion, but you're cherry picking a quote.

>AP is a source that AllSides has struggled to rate, due to its content seeming to toe the line between Center and Lean Left. People on the right may be more likely to see AP’s content as clearly Lean Left. While AP's news and world reporting is largely Center, AllSides has found AP often includes subjective, leftward analysis in hard news reports and omits sources in its political writing; in addition, its fact checks are biased to the left


This media bias chart may be of interest: https://www.adfontesmedia.com/interactive-media-bias-chart-2...

Reuters and AP are rated similarly there.

Granted that you need to read the websites methodology to determine whether you think those ratings are credible.


They're less biased than most sources, but there are little things that are easy to notice.

The Associated Press in 2015: "BREAKING: Obama sends $4 trillion spending plan to Congress, pledging help for middle class."[1]

The Associated Press in 2018: "BREAKING: President Trump sends Congress $4.4 trillion spending plan that features soaring deficits."[2]

If a news organization put "soaring deficits" in the Obama headline and "helping the middle class" in the Trump headline, I'd definitely call that right-wing bias.

1. https://twitter.com/AP/status/562287489365594112

2. https://twitter.com/AP/status/963088143527436288


Obama, proposing $2 trillion in new taxes, ~$500 billion in annual deficits going forward:

https://apnews.com/article/97f7a140f39a43d0995587be61ed388f

Trump proposing tax cuts and ~$1 trillion in annual deficits going forward:

https://apnews.com/article/e50aec4820da4e30aed4bea9ff440e86

The plans differ considerably in substance, your comparison speciously treats them as similar or the same.

And even more, Obama sent a wishlist to a hostile Congress. Trump got more of what he wanted.


It's not clear why these choices in phraseology constitute bias when Obama's 2015 budget featured a deficit of 2.45% of GDP[0] while Trump's 2018 budget featured a deficit of 3.8% of GDP[1].

Factually speaking, Trump did blow up the deficit, and failing to report that, instead of reporting it, would be indicative of bias.

Budgets requested by Republican vs Democratic administrations are different as the parties have different spending and taxation priorities. Reporting budgets without acknowledging that the parties are spending/borrowing/taxing in different areas would be a lie.

Printing news stories that make Republicans look bad is not indicative of bias if those stories are, as is usually the case, factually true. The solution to this problem is not to complain about media bias but rather for the Republican party to do fewer things that look bad.

[0] https://en.wikipedia.org/wiki/2015_United_States_federal_bud...

[1] https://en.wikipedia.org/wiki/2018_United_States_federal_bud...


Your years are off by one. Obama proposed the 2016 budget in 2015 and Trump proposed the 2019 budget in 2018. Though if you look up the numbers for those years, they're pretty similar.

I would agree with you, except the AP didn't criticize Obama's deficit increases compared to Bush. Pick a non-recession year in the Bush administration (like 2007[1]) and you'll see deficit spending half that of Obama's. That's despite wasting tons of money (and lives) warring in the middle east.

I don't want to go all "both sides" here. One side is certainly more worthy of criticism than the other. But considering the fraction of journalists who are on the left, it's not surprising that an ostensibly unbiased organization can still have some leanings.

1. https://en.wikipedia.org/wiki/2007_United_States_federal_bud...


You really, really do not. It's plenty easy to follow DJT, Cernovich, PJW, baseballcrank, Andy Ngo, etc.


I'm confused. Do you consider these centrists, you're listing here? Otherwise, it's kinda proving my point.


They're right leaning. You made it sound like it's harder to make your timeline right leaning than center leaning.


I started out just following software developers. After Brexit and Trump getting elected, which was completely unexpected by me, I realised how much of an echo chamber I was in. I also realised how left-leaning software devs are as a whole. I would argue that it's same the same for the majority of twitter users.


"centre leaning"

Could you draw a diagram of this?


Beats me; maybe something like Michael Jackson leaning directly forward in the Smooth Criminal video (https://youtu.be/h_D3VFfhvs4?t=424).


ahhh, you are only thinking of a 2D diagram. Take your circle with a line splitting through the middle. Now, rotate it so that it is a sphere. Tilt it at 23 degress, and you'll have a center leaning image.


Heh. I should have known better that people would get stuck on this. Try find people to follow on Twitter with a nuanced view on abortion, somewhere between at right before birth and never.


I literally don't know how to find or follow any thread on Twitter full stop. I've never been able to make any sense of the UI.


Sure, it's called the Overton Window, and it moves over time.

Generally speaking in America it has moved leftward continually since the American Revolution, which was a left-wing act of protest against a monarchical government (which, on a flatness <--> hierarchy view of the left/right axis, is among the furthest right political systems possible). Each successive major shift in American politics has been a shift towards the left in some way (more egalitarian/equalizing policies, more erosion of authoritative positions on social policies, etc).

Conquest's Second Law is in effect!

At any one time, the "center" is just the point of acceptable shared discourse between the organizations that control the 'poles' at the left and right extents of common discussion; anything past those poles is considered "extreme".

For example, during our lifetimes, discussion of a topic like Gay Marriage has gone from being an extreme leftist social policy you couldn't discuss with people in polite company, to being a hot topic of common debate that even Obama said he would not legalize, to becoming official policy, and then even being accepted by the Republican Party as simply the law of the land and not a subject for discussion any more, pushing the topic as far to the right now as it was to the left 30 years ago. (I hold no judgement on the topic here, merely using it as an example for how the window of what is socially acceptable can shift, and the "center" shifts with it.)


> even being accepted by the Republican Party as simply the law of the land and not a subject for discussion any more

This is the GOP party platform for 2016 & 2020:

> Our laws and our government’s regulations should recognize marriage as the union of one man and one woman and actively promote married family life as the basis of a stable and prosperous society. For that reason, as explained elsewhere in this platform, we do not accept the Supreme Court’s redefinition of marriage and we urge its reversal, whether through judicial reconsideration or a constitutional amendment returning control over marriage to the states.

https://gop.com/platform/renewing-american-values/#Item2

> Defending Marriage Against an Activist Judiciary

> Traditional marriage and family, based on marriage between one man and one woman, is the foundation for a free society and has for millennia been entrusted with rearing children and instilling cultural values. We condemn the Supreme Court’s ruling in United States v. Windsor, which wrongly removed the ability of Congress to define marriage policy in federal law. We also condemn the Supreme Court’s lawless ruling in Obergefell v. Hodges, which in the words of the late Justice Antonin Scalia, was a “judicial Putsch” — full of “silly extravagances” — that reduced “the disciplined legal reasoning of John Marshall and Joseph Storey to the mystical aphorisms of a fortune cookie.” In Obergefell, five unelected lawyers robbed 320 million Americans of their legitimate constitutional authority to define marriage as the union of one man and one woman. The Court twisted the meaning of the Fourteenth Amendment beyond recognition. To echo Scalia, we dissent. We, therefore, support the appointment of justices and judges who respect the constitutional limits on their power and respect the authority of the states to decide such fundamental social questions.

https://gop.com/platform/we-the-people/#Item4


> This is the GOP party platform for 2016 & 2020:

Surely you understand the difference between things written in a policy platform and things actually done in practice. There is no GOP rep who is out there stirring anything up on reversing this and despite the words "urging its reversal" there is not and will likely not ever be any action in this direction.

I can't really imagine someone following American politics for more than a year and not realizing this. Almost none of the policy white papers these parties and candidates write will ever be implemented, at all.

The GOP almost never does anything its base actually wants, in the socially-conservative sense. They just pretend they will, to get votes; the same way the Democrats pretend they're going to do any number of things for their base that never happen. It's just kayfabe, it's just an act to get you to vote and legitimize their power so that they can continue to do whatever is easiest and most expedient for each individual politician and player at any given moment.


I once heard some good advice that I'm going to repeat: when someone tells you who they are, you should listen. The GOP is telling us who they are with their party platform.

Anyway, I hear what you're saying a lot, and yet:

- The GOP enables Texas social workers to refuse LGBTQ clients[1]

- The Trump administration allows doctors to discriminate against LGBTQ people[2]

- The Trump administration allows taxpayer-funded adoption agencies to turn away LGBTQ parents[3][4]

- The Trump administration targets homeless trans people[5]

But most importantly, and directly to your point:

- In October of this year, conservative Supreme Court justices chose to speak out against Obergefell[6] at length, for four whole pages, while deciding not to hear another case[7]

[1] https://www.texastribune.org/2020/10/14/texas-social-workers...

[2] https://www.vox.com/identities/2020/4/24/21234532/trump-admi...

[3] https://www.nbcnews.com/feature/nbc-out/trump-admin-s-adopti...

[4] https://www.youtube.com/watch?v=avgFhrHqBWM

[5] https://www.vox.com/identities/2020/7/2/21311179/trump-hud-r...

[6] https://www.nytimes.com/2020/10/05/us/politics/thomas-alito-...

[7] https://www.washingtonpost.com/politics/courts_law/supreme-c...


So, a few small "wins"; nothing major; nothing that is actually addressing the real concerns of these people that their culture and way of life is being changed forcibly around them without their consent. I don't think you'll find anyone that is satisfied with any of the above - at most perhaps someone who revels in this as some kind of revenge, but it doesn't accomplish what GOP voters want: the return of a strong middle class White culture that reflects the world they believe their ancestors to have been struggling toward.


Culture is always changing regardless of anyone's consent, as it always has.

I'm confused about what you're saying about ".. don't think you'll find anyone that is satisfied ...". If no one is happy about these things, why do they continue to do them?


It's just meaningless bits of red meat chopped off to give the base something for a news cycle. Almost nothing ever comes of it, in the long run....


Mostly correct - however, the period after the Civil War moved the country distinctly back towards the right. Chinese Exclusion Act, among others, would not have been considered mainstream in the early 1800s. This continued well into the 1900s - which is when all the confederate hero statues were built (mostly by private funding). Many are being removed now.

In this case it's possible the Overton Window may finally be shifting back leftward on race and history regarding the Civil War.


Good points. I'm not American so my history of that era is spread pretty thin.

> it's possible the Overton Window may finally be shifting back leftward on race and history regarding the Civil War.

I think that the 1965 Hart Cellar Immigration Act began a leftward push on that front that has not really experienced meaningful pushback at all beyond a few small groups publicly acknowledging the quietly-held discomfort of a very large segment of the population.

Confederate statues and the defense thereof are just one of many small ways in which White Americans have tried to retain some sense of identity as their culture is perhaps irrevocably changed beneath them. Some try to make it all about slavery, but if you actually read what the more erudite examples of these folks think it's much more nuanced than that.


And compared to most other countries the US overton window is still very right on economics and foreign policy. Socialised health care, or economically left wing politics are still not mainstream and acceptable. Anything other than pure capitalism is called socialist, and socialist/communist is a term that can be career death for a politician.


> the US overton window is still very right on economics and foreign policy.

Yes! It's amazing. I don't think there will ever be some magical set of axes that allows a really clear quantification of where the US is at. The problem, of course, is that because of the false dichotomy of choices (R vs D) you can't actually vote for foreign policy decisions at all. It's not even a topic of debate, really!

Essentially, the USA continues to have a relatively hawkish position, continues to fund under-reported foreign wars (e.g. in Yemen presently), continues to be a destabilizing entity in many ways, often to the benefit of countries more closely allied to the USA (Saudi Arabia, Israel, etc) at the expense of smaller and less powerful nations. It's very confusing, full of misdirections, and impossible for any normal person to follow.

Most Americans want fewer foreign wars, I think. Most Americans (surprisingly including a large and growing swathe of the working class right-wing, believe it or not) are open to the idea of social healthcare in one form or another.

Large moneyed interests make these efforts impossible to take on politically, though, and whenever public opinion could be useful to influence actions on the issue, you'll see more false dichotomies form, meta-layers of fractally nested infighting designed to make it so people get hung up on stupid things and debate that instead of the real issue (huge lobby groups intent on acting as middlemen in every transaction to wring every last dollar out of people for no benefit to them whatsoever).


The most productive new language.

- great community

- ample libraries

- ecosystem support

- no breaking changes (yet)

- no magic, limited and simple

- inbuilt testing/profiling/dependency manager


How do you talk to webdav ? what client ?


PhotoSync talks to WebDAV natively. When I want to access those backups from my Mac I use Forklift (https://binarynights.com/) but even Finder and Windows Explorer can browse WebDAV storage natively.


https://www.calculator.net/ip-subnet-calculator.html

Checkout the table on the page (scroll down)


Scroll works for me on Firefox 81.0.1 (64-bit) (desktop/osx)


> user haven’t consented to

User consented to "personalization of experience", and that's all it is. Personalised ads.


Those aren’t related things though?


Tongue in cheek


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

Search: