skysight-inc/HackerNews huggingface dataset:
> They were not in the original spec IIRC. URL's are limited in legth (it's not in the spec, but most clients have a limit) etc.

They were not in spec because the spec doesn't say anything over which medium it should be transported. In fact the spec [1] only mentions the word HTTP 5 times: 4 times in example data and one time discussing implementation details when sending data over HTTP. GraphQL can't be faulted for the limits of the transport over which it is used.

> Nope. A caching proxy can benefit from HTTP Cache Headers [1]. But cache headers don't work well with GraphQL's GET requests, and don't work at all with the default, which is POST.

How do cache headers not work well with GraphQL GET requests? That is entirely up to the server that implements the API. If that server doesn't implement caching well, that's not GraphQL's fault.

> It's not speculation. That's the main use case for GraphQL. But even if you just slap it on top of a single database, you still have the problem of ad-hoc queries hammering your database.

The main use case of GraphQL is any two things that want to exchange data with each other. Merging data from multiple data sources as its main use case is simply not true. The ability of GraphQL to merge different data sources is one of its abilities but it's not intrinsic to GraphQL.

> Turning it into REST with none of the benefits of REST.

And what exactly are those benefits? I'm here defending GraphQL yet none of the downsides of REST are being taken into account. GraphQL brings structure where there was none, that alone is a significant reason to choose GraphQL to structure your API.

> N+1 problem

There are tools like Postgraphile that solve this. It converts your GraphQL query into one efficient database query.

> ad-hoc queries hammering your database

And what prevents anyone from hammering a REST API? GraphQL doesn't release the developer from implementing sane constraints - something that has to happen with any API implementation and not specific to GraphQL.

[1] http://spec.graphql.org/June2018/
I completely agree - many early technologies are bootstrapped / funded by the government. There is no argument there, but once the initial prototype is complete - it is almost always better for progress for it to move toward commercialization and that is where rapid innovation takes place.
The environments used in psychedelic research studies are far from the "cold and calculated" environment you imagine. There's a whole genre of academic literature on creating ideal environments for therapeutic trips.

Actual psychedelic therapist offices look like excellent places to trip. Pillows and soft things everywhere, lots of "natural" colors and textures, plants, dim lighting and/or sun lighting etc.
You should put your name on the web. Why would someone sign up to a service where the communication channel is a generic chat and your name is nowhere to be found?

I use a Czech invoicing app because it prepares legal documents that I can submit with one click to the government. Pure invoicing app is not that attractive in my opinion.
No, it can't, and it often won't. Just because you stumbled across a single application server that can do that doesn't mean it's true for GraphQL in general.

And once you go you go beyond toy examples on minuscule data, even those magical tools immediately run into problems: https://news.ycombinator.com/item?id=25014918 (note: this is by the author of the comment I replied to) and https://news.ycombinator.com/item?id=25015173
I'm absolutely not an expert on this, but you ideally provide a sufficiently large amount of storage area, with a flash memory controller, that over the expected (20 year plus hopefully!) lifespan of the product, the amount of periodic daily writes can be evenly distributed, and will not exceed the individual cell write lifespan.

Some people who have intentionally done torture test writes on consumer grade SSDs have discovered the actual cumulative TB writes that a $50 to $100 SSD will take before ultimate failure. From back in 2015: https://techreport.com/review/27909/the-ssd-endurance-experi...

One drive failed at 700TB written. If you were to write 2GB per day in an industrial/embedded application nonstop for 20 years, that is considerably less data than 700TB.

With teslas that have a persistent LTE data connection for the car, you also have the option of doing something like 300KB of file upload per day to a remote server.
Given that carrying one channel to my house should cost the cable company the same as carrying 500 channels to my house, the fact that I have to pay more for more channels seems to discredit your explanation.
I can't find the PDF of the starter book, although they say in the announcement it should be available. (Edit: found it https://magpi.raspberrypi.org/books/beginners-guide-4th-ed )

I learned programming from the handbook of my ZX Spectrum. If the Pi would come with a similar book it would be fantastic.

Maybe there are other books that fill that niche for the Pi?

In general I find it very hard to get my kids coding (especially as their English isn't good yet, and many languages don't have German documentation). There are some fancy books, but it turns out there are a lot of details in coding that most books can't cover.
“We have to push out the loss leaders and advertising subsidized garbage, because it puts expectations on the price of our software.“

I wholeheartedly agree with your desire here, however nothing that Google is doing is a move in this direction.

The base service is an advertising supported loss leader.

Upcharging on top of that is about capturing more money from those who have already been locked in.
> The war on drugs was started as a way to target people of color by Nixon

So was Planned Parenthood.

Instead of endlessly prosecuting the past, which can never change, let's look at today and tomorrow instead.

Or, if you prefer, we could look at the exact opposite approach- the Opium wars were fought to force China to allow the sale and consumption of opium, the extensive use of which was practically epidemic.

As such, it could also be argued that legalizing drugs is an attack in minorities who are disproportionately poor and thus prone to consumption- a return to the days when inner cities were ravaged by crack.

Things are way more complex than just pointing at simplified versions of history and banging on the race drum.
Best Thanks for Being My Better Half Quotes 2021
So you don't use AWS simply because you can't host dns there? Oddly almost everyone I know using AWS refuses to use Route53.

You'd of been fine to use AWS without route53, it's basically the standard. As discussed in this thread, separation of concerns is wise.
I had uncles who worked a lot in Altamont Pass back in the 70s and 80s. That was all heavily subsidized by US and CA governments.
In what sense is this informal knowdledge? Government has always steered society in the way it wants to go. That's what a government is.
I think that’s just pretty basic bad design, to be honest.
Is there a way to backup google photos?
Raspberry Pi 4 mini-review
Pop _OS Linux 20.10: Review
My first FreeBSD port (Castor) (Gemini proxied link)
I do it weekly and it's fine for me. Of course evaluating first the nature of the upgrade. You know, Kernel or Arch base related upgrades specially.
A different case for certain third-party packages or AUR ones, that usually they can be upgraded ASAP without friction.

I'm giving my personal experience here, of course depends on the case, but even kernel or Arch related upgrades that I do weekly are also smoothly.
Looking for an alternative to google photos?

Any good way for a family to share/combine most of their photos?
Either you attach dedicated storage for it or you send the logs elsewhere using a network-mounted /var/log or using a syslog daemon on another host.
I agree with this - my current main focus is effectively a CRM where I've exposed abilities for front-end devs to outright write SQL directly - as a shortcut when you need to get things done fast it can be fine.

But I've also never seen this done without getting horribly abused, and so I tend to lock things down gradually as a service matures or the team grows.

Then again, developers will try to work around it - I had one project many years ago where I on purpose introduced a very restrictive template language to ensure proper separation of content and logic, in large party because the templates were translated to 17 languages, and avoiding breakage was a lot easier the less logic there were in them...

Cue two of the developers trying to sneak in a tag to allow embedded Perl...
Google Takeout [0] should let you download userdata from google - I've just exported my old Play Music library.

[0] https://takeout.google.com/settings/takeout
Also, an often-forgotten historical fact is that the Dutch Golden Age –

(circa 1600-1700, highest per capita income of the world, 60% urbanization)

– was also (mostly?) powered by a fossil fuel : peat. (Which drowned their country in the process of digging it.)

https://www.lowtechmagazine.com/2011/09/peat-and-coal-fossil...
How has criminalization worked in the United States?
JavaScript Chess Game in 2.1kb
I think you misunderstand. You don’t give out this email to websites. You forward an email from your inbox to them, and they’ll unsubscribe for you.
This 1000%. I like Google services (Photos, YouTube, Gmail), but the free ones creep me out. The services that aren't spying aggressively on me are clearly just loss-leaders and, given Google's track record, are inevitably doomed for the scrapheap.
If you already have Amazon Prime, their unlimited photo backup is great.
That won't cause any land depreciation or decrease in the value of the land. It may reduce the sale price, if concrete block has no value to a purchaser, but only by the amount that it would take to remove the concrete block. And if the land is so valueless that concrete removal significantly impacts pricing, the land wouldn't have been valuable enough to instal wind turbines in the first place!

So this sort of FUD seems to be extremely weak. Wind power is a massively profitable business, the amount of money that can be made dwarfs the capital costs of the construction, which in turn dwarfs the cost decommissioning of non-toxic materials.
This is the kind of high quality comment I come to hacker news for. Brave of you to make an account just to say this.
DeepMath Conference 2020 – Conference on the Mathematical Theory of DNN's
Some people do need to solve the same problems as FAANG, and GQL is a excellent solution to those problems.

Some people also want an agile api surface so they can iterate quickly, GQL is an excellent solution to that problem.

It is also an excellent solution for:
- client side caching
- unified RBAC
- service stitching / microservice hell
- api documentation via graphiql
- decoupling FE dev from api dev
- api automation
- typed api surface

The list goes on.

To say that GQL is a just a band aid for bad leadership is nonsense, and discounts the very real reasons that many many experienced teams are switching to it.

I would encourage you to re-evaluate your position as if you voiced those opinions in an interview with basically anyone I know you would quickly get passed up in favor someone that actually knows what they are talking about.
Logistic Regression Machine Learning Classification in Python and Sklearn
Glut?
Thats the whole point, REST facilitates and often encourages bad design.
Personally I don't install any OS that forces me to manually create my partitions. Ultimately it's laziness on my part but also frustration: if I've never used the OS before, how should I have an opinion on what partitions I need/what size they should be?

That's not restricted to the BSDs, obviously. I also can't be arsed with Arch for that reason.

But the main reason is that I actually quite like Linux. I find it comfortable and I'm not really interested in switching any more.
Having written erlang/elixir for several years now, it's actor-like concurrency is quite frankly stupid simple and a joy to work with.
The first GTA was made by DMA Design, who are now Rockstar North. That's why you're confused. According to Google Rockstar Canada made Grand Theft Auto: London 1969 and Grand Theft Auto: London 1961 which are expansions.

Rockstar North are the main developer of the mainline GTA games, and they get subsidised because of that, because it's made in Britain and is recognised as "culturally British". Which, it sort of is, everyone knows GTA is made in Scotland.
I don't think this is survivorship bias. They are not making the claim that they have a workforce immune from burnout because young dropout workers aren't counted. Instead, they are specifically pointing to the lack of pressures and time management skills cultivated over the years present in an older workforce that would lead to burnout in others.
If you have a skin condition
Hi everyone,

I'm Yigit from the startup school community.

As eczema sufferers ourselves, we developed a basic platform matching people who have a similar condition and experiences with each other. We believe that this will be of benefit to many whose lives are affected by skin conditions.

However, to make our platform more useful, we would love to have your feedback about the overall user experience.

If you believe in what we believe, please check it out. Looking forward to learning from all of you

https://www.skinlync.com/register
> I wouldn't expect to see Dizzy happen again, but you never know...

Then you might be interested to know https://www.nintendolife.com/news/2020/06/evercade_retro_sys...
No GNU/Linux version, for such a geeky theme ?

The game uses Unity3D, it might only be a matter of ... recompilation :D
Can you comment on the tradeoffs between indirect TOF (phase) and direct TOF (time), what made Apple opt for direct TOF here, is it Microsoft's patents?
Slightly tangential, but my feeling is that most people don't know where the "the good, the bad, the ugly" expression comes from.

It's a "spaghetti western" movie [0], directed by Sergio Leone, released in 1966, and credited with the rise to fame for Clint Eastwood.

If you have never watched it, I highly recommend it. In the genre, it is probably among the best.

Music was composed by Ennio Morricone, another pillar of Italian cinema and music, who died last July. One of the theme songs for the movie, "The Ecstasy of Gold", is very famous all around the world, and even Metallica played it at some concerts. [1]

Also, interesting detail from a Quora answer [2] - I wasn't aware of the locations used to film until now:

> The term "spaghetti western" was used by American filmgoers and reviewers because most were produced and directed by Italian film-makers, many of them trying to copy Leone’s unique style.

> Most were filmed on low budgets and shot at various locations around southern Italy and Spain. The Tabernas Desert and Cabo de Gata-Nijar were especially popular shooting locations.

[0]: https://en.wikipedia.org/wiki/The_Good,_the_Bad_and_the_Ugly

[1]: https://en.wikipedia.org/wiki/The_Ecstasy_of_Gold

[2]: https://www.quora.com/Where-does-the-expression-the-good-bad....
"I've been personally frustrated by teammates using external key/value stores for hot data sets which would trivially fit within RAM. But haven't had ready-made solutions."

You don't need a ready made solution unless you are trying to keep the data consistent, too. If you are, better to use something off the shelf. If you aren't...just deserialize it into whatever local data format makes sense, the same as you'd do reading from an external cache. You basically just have some push/poll mechanism to get data from your data store when updated/at intervals, deserialize it, and now it lives in RAM.

The one downside of that is if autoscaling is thrashing instances, it can thrash your data store (though that's true with Redis etc too, depending what is loading data into it; having a caching layer in between DOES decouple that), and also what happens if the data store is unreachable (I've done things like query the rest of the cluster for the data, just via a REST API, because the total amount needed was all of a few megs).
Found it[1]. I misremembered a bit, they demonstrated how to remove periodic noise, then left "remove the string" as an exercise for the reader (bottom of the page).

[1] https://legacy.imagemagick.org/Usage/fourier/
A notion of files was certainly there for the Commodore 64, and many programming language environments for the C64 included code editors that supported saving/loading files on disk directly, including macro-assemblers, for that matter.
What was the issue with Kubernetes?

The above question in a way is also my point which more bluntly can be said as, don't run something for the sake of running it and instead run tools you're knowledgeable in.

> Kubernetes was on fire

It might have been something as easy as conflicting IPs on your network that was causing the control plane not get kicked off or the nodes constantly disconnecting.

Something somewhat similar happened to me where my IoT lights caused a thundering hurd kind of problem on my network ip space related to some internet disconnect and I guess a bug in the code. They just kept conflicting IPs with each other and would just loop over the ip space they had. Never dealt with this before and just unplugging the whole switch for 5 mins resolved whatever infinite bug they had.
The pricing for this is ridiculous. Far easier to just unsubscribe + report to spam + set a filter if that doesn't work. This takes almost no time for me currently because I unsubscribe diligently.
"Parquet files work well, but streaming is a tad more complex (you need to be able to seek to the end of the file to read the metadata before you can stream the contents)"

I didn't realize that all the metadata in Parquet was stored at the end. That is indeed unfortunate for streaming use cases. Especially sad because columnar dictionary formats can offer great compaction for some data. I've been achieving 20x+ size redutions by converting from CSV to Parquet.
Yes, "copyleft licenses force or encourage devs to contribute back to the community" is a ridiculous cliche (or misguided, or misleading, to be more charitable), but for different reasons than you talk about.

The point of Copyleft (and the Free software movement in general) is to ensure that the user of a computer (and the software in it), a human being, is free -- meaning she can do with it what she pleases. Use if for whatever, study what it does, change it, share the original or modified version -- those are the four freedoms https://www.gnu.org/philosophy/free-sw.en.html . Humans can't be free, if they're not in control of the computers/software that they use.

The Free software community considers it unethical, if a cellphone owner or an automobile owner can't do with her device (including the software it runs) what she wants, even though she bought it with her hard earned money.
Biden wins White House, vowing new direction for divided U.S.
It shouldn't need a BOM. Besides, UTF-8 doesn't need a BOM at all.
I think that these misconceptions a result of lack of experience/knowledge in graphic/databases and FP in general. I don’t see people writing assembly code trying to beat compiler optimizer very often, same thing here. We just need more competent engineers and a bit of time. If anything, we’ll move forward, to more conceptually complex protocol, definitely not back to the plain rest, that I saw many have nostalgia about.
> it's a sad excuse for a competitive advantage

True. It may be less of a "promotional" article than either I or the original commenter implied. After all, it says: "Older employees who are suffering from burnout face the same potentially harmful effects as younger ones, according to McDonald. “It's dangerous and counterproductive to creativity and overall health,” he explained."

In any case, the article is specifically about additional burnout occurring this year, as a side effect of the pandemic, compared to last year.
>> Yes you can now boot a raspberry pi from an external usb3.0 hard drive or SSD in an enclosure. But how many people actually do that?

>> something like the raspberry pi but with a socket to plug in a cheap M.2 SATA or M.2 NVME SSD is needed.

As nice as M.2 would be, AFAICT it's not supported by the SoC which is what allows these things to be so inexpensive. Go with USB then.

IMHO an AMD APU could be under clocked to not need a fan, and would allow things like M.2 in a keyboard form factor. That might be amazing but would probably cost 2x to 3x the price. Also, at the higher price people would then complain about the keyboard.

BTW I thing SFF designs and keyboard computers should have a couple USB or SD on the top to make it easy to plug in storage devices.
What is interesting to see is that first there were paid apps photo/gallery/editors.

Then Google broke the market with free apps to do that.

Then it was an incentive to force you using a phone of a manufacturer that paid the Google Play framework racket fees. (The user is thinking that they are free apps compared to competitors but in fact it is the manufacturer that pay for them)

And now that the competitors are rares, paid features and paywall are coming...

Just imagine if at the beginning it was the competitors apps vs paywalled Google apps as they are becoming!
Alternative Big O Notation
The only part that I think could be debated is my assertion that it’s single module. While technically the illuminator and receiver are different components manufactured by different vendors, they are integrated into one module well before final assembly - and generally when you buy ToFs from semiconductor manufacturers, you get a single mostly rigid part that has everything attached to it.

I suppose I could also imagine someone challenging my assertion that industrial 3D scanning uses structured light, because there are some vendors that use -temporal structured light-, where you flash different patterns to resolve different spatial frequencies on a stationary part. But beyond that I am as confused as you are.
Can also just get a catchall and forward everything to the same inbox, and then create folders based on the receiving email.
> Could the "grid" of the Net, cloud and mobile devices evolve to the point where the existing PC and server markets retreats in relative scale into "heavy industrial" applications like cloud infrastructure, and shift out Intel's cash flow from under them?

It could, but the extractable rents of centralized data (eg. the Law of Conservation of Attractive Profits) will continue to push against this for a while yet.

Arguably, the hardware and connectivity we have now is already more than capable of dispensing with data centralization for most use-cases, relegating the cloud to niches like commodity backup-and-restore services, and premium on-demand compute capacity analogous to the use-cases for supercomputers (of which AI/ML is a growing subset).

We're already hitting use-cases and scenarios where centralized synchronization is becoming a hindrance that imposes additional costs, but the loss of control of a locus for extracting attractive profit margins implied by alternative software architectures generally limit investment.
> That would mean you would need to make the study
> participants be unable to tell whether they are
> in the treatment group or in the control group.

Not necessarily. The eaters / non-eaters know what they are doing. But the scientist recording their progress (weight, height, other factors) would not know if this subject had eaten or not eaten. Then, another scientist, also not knowing, would compile the gathered data into conclusions about the subjects.

This is how animals are studied.
https://news.ycombinator.com/item?id=25015876
CNN projects Biden has won PA, and thus the presidency. It has also been called by AP, NBC, and ABC.
Ha, interesting approach :) I like the idea, but I wonder if it might trash too many non-spam emails for me. Have you had any problems with false-positives?