skysight-inc/HackerNews huggingface dataset:
Hasura generates one SQL query per top-level field. Hasura takes advantage of Postgres's JSON features to compile a deeply-nested graphql query into a single query.

It's pretty impressive too. For any deeply-nested query, like fetching the 1-to-many children of 1-to-many children of some entity, a lot of ORMs will often have to resort to doing N+1 queries, which adds a surprising amount of latency to a request.
IDGI, it's just a name.
This feels like a cheap shot at Google. Shit happens, and they're not immune to it even if the servers are located in Zurich. Running a datacenter is no easy task.
> What? You're going to hand code a lexer each time you need to parse a phone number or a zip code? If there was a better alternative we would be using it.

Use a parser combinator library. I've yet to find a case where they weren't a better replacement for regexes.
Hehe, for sure. I suppose if we extrapolated the governance goals: break up large companies into smaller parts to create a more competitive marketplace.

So, maybe a powerful enough government may say, "no, Apple, you're not even allowed to make apps that compete with 3rd party makers - you can only provide a platform"

By today's standards, that would be quite revolutionary.

Such a government would have to do the same to Costco, Microsoft, Amazon, and any number of platforms on which smaller vendors earn their bread.
I guess no one paid attention during The Social Network because they spelled it out clearly in that movie.
Seems similar to borderlands
The UK GDPR is not exactly the same as the EU GDPR.

To give one example, the European Data Protection Board (EDPB) has no authority to bind the ICO.

The recent fin of Twitter by the Irish DPO was subject to that mechanism (Ireland tried to fine Twitter, the EDPB said the fine was too low and it was increased).
Mine started doing that and became really annoying!
I can't believe this is a thing. I recently switched back to Windows after deciding I wanted to play around with VR development (and honestly, get back into gaming) and was horrified to see a notice telling me my computer was going to reboot itself in one minute, with no way to abort.

I was right in the middle of something, and my first instinct was to Google how to stop the damn reboot. Of course, my computer was already rebooting by then.

I now know to turn on the setting to postpone updates for a month. But wow, I can't believe such unbelievably hostile UX is the out of the box experience.

(Also, side note, I'm pleasantly surprised at how robust and hassle free the Windows experience has otherwise become. I may even prefer this laptop to my MacBook, which I never thought I'd find myself thinking in a million years.)
You can make it not reboot with group policies, not commonly known though - most people try the registry stuff which doesn't seem to work consistently. Been running Win10 Pro for a couple years, never had a single unwanted reboot, once went nearly a year without doing a single update.

Specifically, in group policy:

Computer Configuration > Administrative Templates > Windows Components > Windows Update > "Configure Automatic Updates" and "No auto-restart with logged-on users for scheduled automatic update installations"
Replace audio with security and you get the reason why everything is so good, everyone does what they think is best for security and security bugs slowly lessen.

Wait... That's not how that works.
I work professionally as a programmer, so I agree with your overall sentiment, but I'm also very involved in film & video restoration outside of work and can state with confidence that GNU/Linux is a second-class citizen in this space.

The few companies in this business that target GNU/Linux produce software that pales in comparison to offerings on Windows & Mac OS X. For instance, PFClean by The Pixel Farm barely holds a candle to DIAMANT.

Now, this obviously has nothing to do with them targeting GNU/Linux, but at the end of the day you have to use the best tools for the job at hand.
Preemptive Error Checking – Chaos Programming Language
Astra rocket narrowly misses reaching orbit on second launch
> do we really need an enormous "web documentation project" for something entirely man-made, and which once set out to facilitate easy self-publishing?

What point are you trying to make? Should Oracle throw out its docs for Java because it's a large language that's man-made and designed for easily writing software—but lots of folks here think it's not good?

> start to concentrate on defining HTML+CSS subsets (such as for purely static docs, for light content apps, and so on), to distribute simple static text via alternate p2p protocols

And this will still require docs, and tutorials, and information about the P2P protocol, and how it's kept secure and ~anonymous, and how to facilitate discovery, and how to avoid a network partition, and how to build non-static tools like search engines, and how to securely interact with those tools, and how to do archival work, and a million other things that make that system an ecosystem...it's not easy to build a resilient distributed network that actually works.

The fact of the matter is that people use the web whether you think it's good or not, and having decent docs for it is important. Nothing is stopping you or anyone else from building an alternate web, but so far there hasn't been anything that people actually care to use.
Why would you ever take a fistful of tylenol out of a jar?
I won’t comment on Russian corruption laws, since I don’t know anything about them. However I do know that the only factor that the stated purpose of any piece of legislation/regulation will influence is public perception of it. The stated purpose of a law has no influence at all over its practical impact. The impact of the GDPR has largely been to establish trade barriers, and it has had a very minimal impact on privacy.

Given they have largely failed to achieve their stated goal, it doesn’t make a lot of sense to see the EU imposing further regulation on online services/information distribution. However it makes perfect sense when you look at what they actually accomplish. Which is implementing (rather controversial) economic protectionist policies, under the guise of something unrelated and far less controversial.

To answer your reductio ad absurdum more directly, if you’re doing something that doesn’t work, it doesn’t make sense to keep doing it.
Somewhat strangely, a single shogi game used a 32bit 21mhz ARM cpu (significantly more powerful than the baseline SNES hardware) to run the AI on. A large enough number of those in parallel could possibly display a low res real time raytraced scene decently.
Seems like a weird conclusion to draw. If programming languages are arbitrary why didn’t we stop abstracting or creating new ones?

The language is often a reflection of the problem it was intended to solve. Would you really argue that Brainfuck can solve your problems just as well as Python?
Ultimately they have control. Your payment may go through an intermediate website, but if you give them a credit card number, it was likely a Visa or MasterCard. It’s possible that a person can pay with one of the less prevalent options, but Visa and MasterCard holds a lot of power. If they want to sanction a porn website, they just cut the intermediate processors of from their network, and they’re pretty much guaranteed to fold.
Could just as easily be your Thunderbolt dock (if you are using one) or adapter.

Most docks and a lot of the adapters out there completely suck.

CalDigit is perfect, though. No issues with my 2 external monitors on my 16" MBP since I got a CalDigit dock. Now I plug in one cable, and everything is kosher: 96W power, GigE, external speakers, 2 external hard drive arrays, and 2 monitors.

Was perfect under Catalina, and remains perfect under Big Sur.
> we've also seen a lot of "journalists" throwing rocks and molotov cocktails on live stream and doing other criminal acts

Ive watched a lot of livestreams of the protest and never once saw a livestreamer throw a rock or molotov cocktail
How is "conv" arbitrary? There is a function object that represents a convolutional layer in the network. It is bound to two symbols (because why not). You can either use "convolution" if you prefer full names, or "conv" if you prefer shorter. It doesn't represent the operation, but the layer. There are functions (with longer names) representing the convolution operation, which follow cuDNN and DNNL naming schemes.

Regarding the magic, I believe you haven't read my writings related to this. Exactly the opposite - there is no magic other than usual Clojure-fu, which I explain in a layered way.

But it's difficult to exactly reply to your critique, because you haven't given any example of an approach that would be good Clojure. Ok, give me an example of how you would do it in a comprehensible way (if what I provide is incomprehensible). You don't have to actually implement it. Show a non-working alternative. How would it look like?
Strange... I, and others I work with, used to have this problem with Catalina daily. It was probably because of the usb-c port.

But since Big Sur I no longer have this issue /shrug
I had an IP reputation issue and managed to resolve it after some time.

TLDR: Before you spin up a mail server, check if your IP address is on any of the blacklists [0]-[1] as well as Proof Point's list [2]. If it is, then try and get a different IP address.

I spun up a hosted server on Digital Ocean and received an IP address. I checked several black lists from a few email testing/troubleshooting sites [0] and [1] and all was groovy; my IP address wasn't on any list.

I got a bunch of 521 bounces when I tried emailing a neighbor who had an att.net address.

So, I checked the troubleshooting websites, and my IP address was listed as clean.

My logs said I should forward the error to abuse_rbl@abuse-att.net, so I did.

Those emails were never delivered, because abuse-att.net had its own blacklist. I was getting 553 errors. In the logs, the message from their server told me to check https://ipcheck.proofpoint.com.

Proof point runs their own blacklist that some enterprises use (e.g. att and apple [3]). I checked their list, and lo and behold, my IP address from Digital Ocean was blocked [2]. Digital Ocean wasn't able to remove the IP address from their blocklist and suggested I spin up a new droplet with a different IP address.

I didn't want to do that, so I sent Proof Point an email that went unanswered; the email asked them to remove my IP address. I forgot about the issue for five or six months (this is a personal server), and ran into the issue again a few months ago. So I sent Proof Point an email again, this time with different wording emphasizing that "my clients" were having delivery issues. Within a day, they removed my IP address from their block list.

So, my main suggestion is to check if your IP address is on any of the blacklists as well as Proof Point's list before you start on your server. If it is, then try and get a different IP address.

Does anyone have more "enterprise" lists, like Proof Point, to check?

[0]: https://www.mail-tester.com/

[1]: https://mxtoolbox.com/blacklists.aspx

[2]: https://ipcheck.proofpoint.com

[3]: https://www.reddit.com/r/email/comments/6toxzr/ip_blocked_by...
> Interesting that you mention Google, since it has a reputation for being more engineering-focused that most companies. From what I read on HN (perhaps not a representative sample, but...), it seems like Google has a culture of "build something cool to get promoted and then stop caring about what you built because maintenance doesn't get you promoted any further". If true, I think that very easily explains Google's "hot messes".

Countering my Gell-Mann amnesia here (many times I read about my area of expertise I see snappy criticisms trickle into the mainstream when the reality on the ground has long moved ahead and the supposedly insightful HN criticisms are cliches being routinely addressed within the expert circles, think "deep learning is just X, it doesn't address Y!" or "physicists are obviously boneheaded and got stuck at assumption Z!").

So, with the above in mind, I wonder if Google is actively countering this. If random people know this as a stereotype (and I read this often, and hear it as a stereotype of Google also in real life), then perhaps leadership is even more aware and either decides not to change or has already implemented things they think would help. Any current Googlers to chip in?
> Also it doesnt fully solve the correlation problem either, on the same computer, two clients could run under two different OS level accounts. Will it just send its authentication token to one of those clients?

When the request is made to the server, the port that is temporarily bound is also sent with the request. This tells the server what URL they should POST back to. The port is random for each authentication.

> The cloud service could communicate with the local device's client through a separate connection though that the client opens with that cloud service, no need to do this via the local JS.

FWIW, no Javascript necessary. Just a regular POST form & Location headers. In any case, you're right - you could open up a separate connection to the server with a correlation ID, and include the same correlation ID in the initial request to the authentication server, and then upgrade the connection's permissions after the fact. You ought to be careful of session fixation attacks here. (Attacker can send Victim a link, and when Victim authenticates, Attacker is logged in. With a local web server receiving the token, when Victim authenticates, they see an error instead.)

As always, there's engineering tradeoffs in building different solutions. Some factors (besides concerns around session fixation) that may come into play:

- Typically, the authentication and authorization step occurs prior to opening a tunnel or long-lived connection. Shifting when this occurs can have unexpected or unwanted side effects. In the case of the DNG, which protects web applications in addition to SSH servers, authentication is typically provided via cookies, and so the tunnel opened for SSH is actually a sort of Websocket connection. With the approach I have described, authentication occurs prior to upgrading the HTTP request into a Websocket, in the same manner it does for web applications. In the approach you suggest, this would have to flip a bit, meaning re-implementing authentication inside the Websocket connection itself.

- What if the authentication server is not the service provider? For example, in the SAML ECP profile, the client negotiates an authentication token from the authentication server on behalf of the service provider. It then takes this token back to the service provider for cryptographic verification. You could instead teach the authentication server how to talk to the service provider directly (e.g. the HTTP-Artifact protocol) - but this works better if you own both the IdP and the SP. In many cases, customers may bring their own identity provider (e.g. Okta) with them to the service provider (e.g. GlobalProtect.)
I’ve had the same experience. I’ve talked to my coworkers about this before and it seems like we all have different experiences in that regard.
Being down is okay. Returning an error message that results in the data being thrown away instead of being requeued is not. Block incoming smtp connections until your app layer is fixed.
The case where one can drop in a battle-tested, documented regex in 15 seconds and get on with your life.
> It would be odd to see the Information Commissioner (the UK's data protection regulator) as toothless, given it has so far been among the most severe in penalising large businesses under the much greater powers it acquired under the GDPR.

hahahahahahahaha.

The ICO has about as many teeth as a newborn baby.

They have actual knowledge of criminality by the adtech industry and they refuse to regulate. They say as much in their most recent annual report!

No, what the ICO does is issue press releases and notices of intent and then either does nothing or backs way the fuck down.

Just look at Marriot, BA, or AIQ for examples of the reality of the enforcement issues being nothing like their initial announcements of enforcement.

Denham is completely incompetent, and her office simply can't get its act together.
It would also be weird if managers were to capriciously hand out options to employees as short term performance bonuses.
Not really sure why any of that matters. It’s pretty simple, I would rather have my data stored somewhere I have some level of recourse for privacy violations. Even if that recourse is long drawn out and difficult, than somewhere I have no recourse, and never will have any recourse.

I really don’t understand why you’re struggling to understand that. Talking about the relative merits of different governments is completely meaningless, if I can only elect and influence one of them.

Based on your arguments I should just lie down and let every world government and company trample all over my rights, because it’s all hopeless anyway.
There is an ad at the top of the page that blocks scrolling. I expected better from IEEE.
Did China Just Achieve Quantum Supremacy in Computing?
Confirmed likewise.
Aren't you afraid of the outside world interfering in your plan?
PyTorch Quantization Aware Training
There's some activity in this space.

Hasura uses a GraphQL-SQL compiler to generate Postgres SQL queries directly from a graphql query: https://hasura.io/

FaunaDB, EdgeDB and DGraph are examples of databases that expose a GraphQL API.
Be sure to verify that it worked. Some settings of Takeout don’t download docs/sheets/slides files. I don’t remember what the default is, unfortunately.
Apologize in advance if this sounds dumb but can you land fulltime position in google ithout getting leetcode asked in the interview but based on your solid profile such as working on popular open source projects or being developer of a widely used framework/library
.
This is an old article, it should be marked as such.
As someone who is fluently bilingual and speaks a third language and is also proficient or better in a half dozen programming languages along with having written code in many more, this is completely obvious to me. Learning a programming language is much closer to learning a complex board game than it is a natural language.
Arch with a btrfs root, and automatic snapshots before updates.
Bash can't be made to bind a socket that listens and receives instructions from the internet without also having something like socat or netcat or inetd and there's no privilege-free packaging system to rapidly get there.

Python and other powerful scripting languages can.

Having production servers that don't have Python/Ruby/Perl/etc unless they absolutely must is decades-old advice at this point.

The smart ones take that one step further: no production server should have any binaries that aren't absolutely necessary. This is why we use containers.
~6.17mm vs 35mm width or 7.66mm vs 43mm for diagonal, which is probably a better measure since the aspect ratio is different.

Source:
https://en.wikipedia.org/wiki/Image_sensor_format#Table_of_s...
The EU’s Digital Markets Act: There Is a Lot to Like, but Room for Improvement
Great. Thanks!

1. Any particular reason you chose to avoid GPUs?

2. Did you benchmark your code's performance against GPU-centric codes (ideally for the same problem and problem-size)?
Please do tell us what changes they should make to their template format such that it would require a version update.
> that's an EA tactic not something that CDPR I thought I knew would do...

EA gets a lot of well-deserved criticism, but it's important to recognize their behavior is typical of all major players in the games industry. The whole thing is rotten and you shouldn't trust any of them. They certainly haven't earned it. Always wait for reviews.
Ask HN: What are some minimal Linux distros that I can use?
I'm definitely something else beside Arch Linux but its minimal doesn't comes with much pre installed software
I disagree on the gameplay/grindy part, but yeah the game isn't pretty. I've heard it justified as deliberate: It's a futuristic dystopian city overrun by constant advertising, corporatism, and crime. That doesn't make for a pretty environment. Of course if that was a deliberate artistic decision then maybe they should have gone a different way.
I suppose, but law has to be governed by written documents, and part of technology's job is to advance society by identifying and operating in the loopholes of those written documents. What does the written law define as "where data is stored"?
I see it as Protonmail explaining to their users that the failure is not on their end and why they can't do much about a remedy. Seems purely factual. A cheap shot would be generalizing from the event, but I don't see them doing that.
https://m.facebook.com/story.php?story_fbid=3286374981468542...
The next gen version isn't out yet, the PS5 is playing the PS4 version, so their complaints and yours are indeed for the same version.
Do you have any data that suggests that $0 transaction fees leads to a net gain for consumers?

Because I think the point the naysayers are making is that $0 transaction fees are not actually a benefit.
Only the extremely wealthy would leave. An average person does not move their state of residence just to save $1,000 on state taxes. That could be disruptive: leaving family and friends, your job, etc. All to save a grand.
This 2020 I learned a lot about AWS and hosting services on AWS Furthermore, I also did machine learning where I wrote text classification models which completely new for me
Research on creative rankings of Europe and USA (2004) [pdf]
Living with Intention, Learning Chess and Django, and Short Books
Bro go to college and have fun. You won't have fun at a startup because you'll be working insane hours.
I have never implemented GraphQL, so I can't speak from experience, there, but it does look pretty cool (if a bit "heavy").

I have implemented REST. I don't like "pure" REST, where POST, PATCH, and PUT statements are submitted as XML and/or JSON.

I tend to do what I term "REST-like," sort of the way most APIs seem to do, these days, where the sending methods are done similar to standard URI GET/POST stuff (URI arguments).

I tend to have responses come back as both JSON and XML, with a translator between them. XML is useful, because I can publish a schema, but otherwise, I prefer JSON.

But REST-like is quite simple. I don't need to bring in any dependencies to provide the API, so it's fast and lightweight.

But then, I have fairly humble servers. I suspect that GraphQL would be something I'd want for more ambitious servers.
A lot of people and companies use Gmail. Email providers are definitely getting support requests from users that don't know what's going on.

This is not a cheap shot, but a message to inform users that it's an issue with Google that Protonmail can do nothing about.