skysight-inc/HackerNews huggingface dataset:
That's a good question.

The main focus of Prisma is the ORM part and not the GraphQL API anymore. We're still using GraphQL to communicate between Query Engine and the backend client in the languages we support like TypeScript or Go, but when communicating with backend to database, GraphQL is not that relevant anymore and rather a separate concern how you want to expose your API later.

When accessing the database from your backend, type-safety is becoming more and more important. Instead of writing a GraphQL string in your code, with the Prisma Client you get a type-safe programmatic API to access your data.
You can imagine it as your own SDK.
The difference to many ORMs is, that we generate a custom Client for you, which is way more powerful.

Disclaimer: I work at Prisma.
For Kotlin/Java you can probably use jOOQ (https://www.jooq.org/)
> I don't care if I insult people by stating facts, including, "Your opinion is wrong/a lie."

You can't know their opinion is wrong, because you've already admitted that's just your opinion. It's not a fact. Your opinions are not facts.
In my day to day there's about 30 seconds for a cold compile (which is rare, only when I clear byte caches) and maybe 5 seconds usually, less if I've just changed one line or something small like that.

That said we're not using GWT for CSS, so that reduces iteration time where it's most noticable.
I have a criticism regarding how basic data types are named:
https://github.com/nickmqb/muon/blob/master/docs/muon_by_exa...

Type names like long, short, char (and the oh-so-dear long long) are ancient cruft which shouldn't be used in a new programming language. They are confusing (as in, the answer to question: how many bits are there in your int, long, short depends on both arch and compiler) and since 70s we discovered it the hard way that they're non-extensible (multiple times, actually!). Similar for the fate of char in the post-ASCII world. C still keeps them for backward compatibility, but types like uint32_t defined in stdint.h is becoming common practice for new code.

The choices are also not compatible with C or Go, adding further to the confusion (Muon's int is 32-bit and long is 64-bit on all archs!), so even for C/C++ and Go programmers, the nostalgia turns into a pitfall. Having no familiarity with C# (not much of a Windows user since late-90s, and C# virtually doesn't exist for Linux/macOS people which Muon claims to be targeting), I looked it up, and it seems it's based on C#'s distorted and incompatible adoption of C89's data types.

Go applies the same custom to float/double as float32/float64 which makes it uniform. Go also defines int to be the size of the native integer register size on the target arch (which I like because this is what int supposed to mean originally, this was the common understanding when porting between C and assembly, although some may disagree after ~50 years of weird adaptations of it) which unifies uint and size_t, rendering size_t obsolete.

Ironically, Muon makes use of explicit number-of-bits suffix for one data type: bool32 (and there's no bool16 or bool64). I don't even know why one might have it as a basic language type.

I really hope he adopts a naming convention that is similar to C99's stdint.h or Go (which the author claims to be inspired by), or their shorter cousins u8, u16, ... used in Linux source code.
CSS Minifier and Unminifier Written in JavaScript
I'm not here to argue which of these reasons are correct; I'm only here to explain some of the arguments that exist. That being said,

> If you're willing to block JS, you can also trivially run an extension that strips all `ping` attributes.

Sure. Ublock Origin already does this today at the request level, so you don't even need to worry about pages re-adding the attributes. But we could just as easily use this argument to get rid of every privacy-protecting decision in the browser. Why should Firefox care about Canvas fingerprinting if an extension can block it instead?

For better or worse (some would argue worse) browsers have been slowly pulling privacy/tracking improvements from extensions into their core. I don't think they're close enough to a full solution that anyone should skip extensions like Ublock Origin or UMatrix, but I don't fault them for trying.

> Developers don't add ping attributes because it's easy.

Like you correctly mentioned above, ping attributes are trivial to block. If a developer is being forced to implement tracking, even with ping attributes available more broadly, they're still gonna use an additional method that gets through the most widely used ad blockers on the market -- and that means Javascript click events. Force-enabling the ping attribute will not change a single thing about that developer's approach.

The only developers who are going to be influenced by this change are hobbyists and engineers for small-time businesses that don't already have a massive analytics concern. I think it's reasonable to focus on its impact to them.

> You say that users will naturally migrate to sites that don't have the bad UX... but experience shows that's not true.

Don't be too pessimistic, loading speed is one of the primary reasons why the average person installs an adblocker to begin with. It is very hard to get people to care about privacy, but lots of people are still installing ad blockers purely because they improve the UX experience. That's a success story.

Of course, 100 milliseconds on its own is not going to make someone abandon a site. But when you make a lot of tiny compromises, they add up to big ones. And as of 2018, Google is still publishing statistics that say a 3 second load time will lose you 53% of your potential visitors.[0]

I know it seems like users don't care about this, but there's a nontrivial amount of data that suggests they do.

[0]: https://www.thinkwithgoogle.com/marketing-resources/data-mea...
Those are called taxis. Even then they only line up at major locations, not residential buildings.
> Everyone wants to make electric cars, but no one wants to step out in front.

Volkswagen has already stepped out in front. VW is investing 80 billion euros in their electric car effort:

https://www.reuters.com/article/us-volkswagen-electric-insig...

VW will be the biggest producer of electric cars in a few years.

> a lot of companies are trying to convince each other that we should all jump into making electric cars now

They need to make electric cars now to meet EU and Chinese emissions fleet emissions targets:

http://fortune.com/2018/12/20/volkswagen-electric-cars-emiss...

https://www.cnet.com/roadshow/news/vw-group-more-evs-carbon-...

In the future new car sales of ICE vehicles will be banned and ICE cars will be banned from some cities, in some places as soon as 2030:

https://www.reuters.com/article/us-autos-emissions-germany-i...

https://www.thedrive.com/sheetmetal/15825/these-are-the-coun...

http://fortune.com/2017/10/12/paris-combustion-engine-ban/

If car companies want to stay in the car business they will have to produce battery electric cars or hydrogen fuel cell cars or both.
The Guardian’s use of metadata to limit misinformation
People don't seem to get: the world isn't anywhere close to this lie of meritocracy they've been sold. There's a small fraction of society with the right pedigree who don't have to work hard and have everything handed to them because of who their parents are. This fraction is the predominant constituent of Ivy League universities, whereas merit students who worked hard are a tiny minority.
Whatever you do please do not do this on a 2016+ MacBook Pro.

It is significantly more complex than on previous generations. There are a lot of very tiny, very fragile cables which are very easy to break.

It gets a 1/10 rating for repairability for a reason.
Something is clearly going wrong - and unless we have a correction, then it's going to take us all down with it.

My suggestion for discussion:

"Stock Options for all" - or something that provides a similar motivation. If you work for a company, you get a salary - but each month you progressively get a bit more skin in the game. Currently we have traders who'll switch allegiance in a moment, Cxx's who are motivated over a quarter/defined period and workers who just take their pay-check.
I can't see how it wouldn't be beneficial if everybody involved had an overriding goal of ensuring the company they were involved with had a healthy long-term goal to increase value.
Please open your eyes before opening your mouth.

https://aws.amazon.com/opensource/
Sure, you can do that. They will not do it, but you can certainly try.
Thinking about it more, one possibility is that they kept rolling in more and more efficient machines, but never updated the HVAC system. Also, if the floor isn't well sealed, i.e., missing tiles, the room will be colder than necessary.
> As far as I understand without MCAS software the aircraft is impossible to fly manually.

Why does anyone think this? The MCAS system rarely engages.

The issue is simply to make the stick behavior similar to the older 737s at high AoA. For an older 737, when you're pitching way up, you really have to pull on the yoke to keep that high AoA. The plane naturally wants to return to a neutral AoA, so you have to fight it. With the new design, the engine position keeps the plane from wanting to return to the neutral AoA, at least to the degree it did before. Hence, the 'stick feel' at high AoA is lighter. You don't get the same tactile feedback about being near a stall. (you still have the stick shaker)

The MCAS is simply there to bring back that resistance to extreme AoA, and thus make it less likely to accidentally stall. MCAS isn't even active with flaps down (i.e. around takeoff and landing) so can't possibly affect those aspects of flight.

It's a questionable design for a number of reasons, but it's not at all necessary for flight, let alone 'basically impossible' without it.
BlackBerry is still around?
I think https://news.ycombinator.com/item?id=19315273 is what you were looking for
What kind of "business reports" did these things process? I'm curious what application for your typical business was high value enough to be worth all this complexity and cost.
Yes, Roli is mentioned in the acknowledgements
Geneticist Sydney Brenner, who made tiny worm a scientific legend, dies
> Normally, this kind of thing results in getting sued for royalties.

You have answered it. Free patent, GPL or not, you'd have this problem. And it's even worse on "normal" cases.
Correct, this is a good catch.

If you're serving your background image from a server that lets you set headers (which you would want to since it's a tracking beacon) then using headers makes this a lot easier.
Amazon didn’t decide not to rent it. It’s up to the rightsholder.

But it is crazy that it is available for rent on iTunes but not Prime.
You Are Not as Good at Kissing as You Think. But You Are Better at Dancing
Many things are, like property and spots in elite colleges (which serve as gatekeepers it the upper echelons of society)
I originally thought it was because they were waiting for the official announcement at the RSA conference before they released the source code but I guess that wasn't it considering it still took them some time.
You sound very sure and angry about all these things. What's really bothering you?
At first I thought this article was for job seekers but actually it's for those hungering. These are some great tips for companies highering
420 Hotel
Help support our fundraiser to purchase a hotel to remodel and make 420 friendly in Colorado.

https://www.gofundme.com/help-us-buy-and-make-a-pro-weed-hotel?sharetype=teams&member=2014300&rcid=r01-155467503508-6b3cf30e6f7e4602&pc=ot_co_campmgmt_m
Flixify Account Sale
> “So there need to be powerful forces from the top of the country that proclaim the income/wealth/opportunity gap to be a national emergency and take on the responsibility for re-engineering the system so that it works better.”

And what if the system turns out to work worse? Who shall bear the consequences of the re-engineering? Being a successful hedge fund manager, doesn’t magically make you an expert in complex systems, such as the economy.

The amount of people wanting to re-engineer society these days is staggering. The desire to make the world a better place for more people is commendable, but people need to understand the limitations of controlling complexity.

IMHO, we need to teach more people about complex systems and the limitations of top down engineering approaches to such systems, as they exhibit emerging properties unaccounted for in one’s modeling.

What we need is to give power back to the individual, decentralize the control over the economy and lower the barriers to entry, so that everyone can have an equal chance of trying their luck.

We need to evolve a better system, bottom up. See localism. [1] [2]

[1] https://en.m.wikipedia.org/wiki/Localism_(politics)

[2] https://www.academia.edu/38433249/Multiscale_Localism_Politi...
That's some upside down logic, in my opinion. Getting a job isn't a right, so there's no violation of your rights, hence, no grounds to pursue support in a courtroom. What am I not getting?
Android Q Beta 2, a deep dive
Yeah there was exactly one single point probably mechanical failure, the AOA sensor.

I'm coming down on the side of the cause of these accidents was due to the failure to properly type certify the aircraft. Because they were trying to avoid that they failed to do the system analysis and testing including simulator testing that would have easily found this.
Roasted veggies. Garlic is your friend. Prep time zilcho.
Make the producers take back garbage that's not recyclable/biodegradable as condition for selling.

Market externality now internalised.

Imagine garbage bins gone from streets, only green/recycable bins. Yes, consumers have to return garbage. Otherwise, those with long term goods have to subsidise those that throw out garbage (rates/taxes for gatbage trucks/landfill).
or to look at it from the entry-level side.

There are currently no shortage of minimumish wage jobs out there (choose your payment-point). The jobs and therefore you as an employer are interchangeable.

What do you offer that makes them want to care for your company more than just the salary you offer?
How do you attract better people to your great company, when you can't afford a competitive salary right now?
This doesn't go far enough. As reported by Al Jazeera in 2010, critical structural elements of the 737 NG that were supposed to be CNC'ed were handmade and grossly out-of-spec, leading to at least three deaths when 737 NG's broke apart in several sections on runway overruns, while in the past airframes held together intact in such events, protecting passengers. Boeing then covered up and scuttled its own investigation panel after management didn't like its conclusions.

tl;dr: 737 NG and MAX aircraft are fundamentally unsafe because of systemic lapses in regulatory oversight. These aircraft cannot be made safe economically due to Boeing's regulatory capture of the FAA, so it's best to never fly on them.

In my mind, Boeing as a passenger transport company is, or should be, finished. How they acted regarding the 737 NG and MAX are criminally-unforgivable.
Ugh, applying DDD to TypeScript/client-side code just seems like over-engineering. DDD makes server-side code horrendously complex and difficult to maintain, I can't see it being any better here.
Unfortunately, most workers won't actually want anything like this - especially the lowest-income/wealth workers. "Skin in the game" at the firm you're already working for (thus involving quite a bit of relationship-specific capital, which would lose its value real quickly if the firm went under) is just putting all your eggs in one basket.
Might be a couple of days early on it since Google Cloud Next is on Tuesday.
Are they really gone? Still for sale in Europe: https://www.bax-shop.nl/elektrische-gitaren/steinberger-spir...
IBM have been doing this since Deep Blue, if not older. It's their core business model: build cool tech demos and then sell consulting deployments that use nonexistent features of the tech
ELI5:

You can use these patents, ostensibly, as it pertains to a design of [thing] that youre making.

However, could you use the actual componentry coming out of a tesla facility as patented and incorporate it into your [thing]:

I.e. design a car completely designed to comply with the patenet and design of the tesla sub chassis such that you can modify a 38 Ford to be placed on top of a tesla drive train system?

The reason i ask this is that i had a former boss at this architect firm where he did just this, but instead purchased a corvette Z series car which was “totalled” (fiberglass body was destroyed in a roll) three days after purchase and put a 38 ford body on top of the chassis that needed minimal repairs.

So now he had a ford on top of the latest corvette model avail at the time.

Id like to do this with teslas...
Most of them, in fact. I can think of no incursions by sea except for British, Portuguese, and French, none of which were actual 'invasions' at the time so much as merchants wanting to trade (which, of course, did lead directly to the british raj, but that was never the original intention of the EIC).
Ability to make links open in a new tab by default.
I really wish people would at least try to see if economic pressure is an explanatory variable here. Intuitively, it seems to me that when I get angry at slow people it's usually because, eg, I'm trying to get to work. Or I worked late and am late for the next thing. As the pressures from the main thing that structures our time go up, wouldn't you think that our anger at lack of control over the other constraints on our time go up?
For the people who (like myself) are confused by the missing c^2 in the blog, (u + v)/(1+(uv/(c^2)) is the original.

Much easier to understand that the "simplified" version, which is usually the case.
Also, what if I'm the designated driver and I'm taking 3 of my drunk friends home. How likely would this system be to give a false positive and now the responsible person's car won't start until you get a bunch of drunks out of the car and air it out.
> So in order to take advantage of Tesla patents, you can't be suing anyone else on EV-related patents of your own?

What you states is true, but you also cannot assert "any patent or other intellectual property right against Tesla"; with no restriction in terms of relation to EV or whether or not it is a patent. You use one of Tesla's patents? Now they are free to use any of your trademarks, use the software you wrote for your sound system, etc.

It really is a PR item for Tesla that is impossible for any company to take advantage of.
I feel like that is a crappy example to shove in people's faces. I guarantee you there is a nonzero amount of people who did that on 9/11 who could have made it down safely and enjoyed the rest of their lives.

Actually it's a perfect example of the other kind of suicide, not due to permanent illness so much as temporary circumstances that could be resolved and lead to the person not wanting to do that. That is something for which friends, family, and medical professionals ought to intervene.
I would argue 100:1 is fine. The difference between somone making 20k / year or 2 million is not that significant in terms of individual leverage over society.

But, when you start talking 100,000:1 are they actually that productive or is something else going on.
Kinetic energy is proportional to velocity squared. So the 140mph car has twice as much KE as 2 cars at 70mph.

It does depend how much of that energy is dissipated in the collision though.
A "kill file" was a feature popularized by Usenet news readers. It lets you save a list of terms that you're not interested in seeing. For example, you may never want to see articles or comments from a particular user or which contain a particular phrase.
I haven't found that true in the Northeast at all, even to "debatable if it is the north or the south" Maryland. From my perspective it seems like a regional bias like thinking every convenience store has Philadelphia soft pretzels when in reality it makes it to the tristate area as staple standard at best.

Sure you can get tacos, salsa, and egg rolls just about everywhere but any non-mainstream produce like plantains or lychee let alone seaweed or cacti are niche enough to call for specialty supermarkets.
To quote the late George Carlin: "The planet is fine! The people are fucked!"
Pro tip: If your MBP is overheating (constant high fan speeds) the problem is usually a lot simpler than the thermal paste issue described in the article. It's usually just dust buildup.

I have fixed multiple overheating Macbook pro's by simply cleaning out the dust buildup underneath the rubber pad, between the fan housing and the heatsink. The airflow compresses the dust into an almost solid piece (like felt), which blocks the airflow. You can usually pull it out as one piece. All you need is a pentalobe screwdriver, a pair of tweezers and maybe some compressed air.

Especially if your laptop often gets into contact with fabrics (on your lap or in bed), you should do this cleaning once a year.
What if the specification changes ? Being static is has both advantages and disadvantages. You can do the checks without running the code, but it doesn't guarantee run-time correctness. I think a better strategy is to type check the actual code via inference, maybe adding some doctype comments to help the static analyzer, then add run-time checks where things are likely to break. And you can make your API easier to use by checking the parameters, throwing helpful and descriptive errors, allowing several different types as input, so the user doesn't have to convert his/her model to your model.
If Ghidra was really good, they wouldn't have had to release the source to it. ;)
What Happened on ET302?
I was asking what would be materially different about the situation under discussion, because it's a good exercise to think in terms of that -- what would be different about outcomes -- instead of reciting generalities about political influence.
Allow me to introduce you to our lord and savior, Jesus Christ.
Thanks for explaining. Mind boggling stuff... how can things like that even be patented? By those standards I could have filed a few myself ;-)
I spent today in the hospital watching my grandmother come to terms that she is 99% likely on her death bed. I am happy that she chose a DNR over going out like this article.

I've thought a lot about death this weekend, as I knew what I was going into before I got here. The only real conclusion that I have is that I'd like to feel like I'm always doing my best to satisfy what I believe is a good life and to not be blindsided by it in life by coming to terms with it in a healthy way.
Of course. It'd be dumb to think you have any direct effect when you're inmeshed in an "impure" network.

The world doesn't exist to provide a nice solution set where you can have the conveniences of modern living without the massive externalities of war (to secure and maintain logistical routes) and pollution. To be quite honest, I think the world is inherently a tragedy to those who seek to do only "good".

Helping potential moral agents, aka your "neighbors" (physical or spiritual), with better leverage in the social ape rat race has more impact. You strive to throw off the worse leaders of men and install the better leaders of men.

I was going to go on but forgive me for balking out of a lengthy explanation that isn't structured yet. It's been a while since someone has challenged my stance like that and my intuitons need more editing, so to speak.
Mobile chrome has an annoying behaviour where it downloads all .webp image files via direct link instead of opening them as images in the browser. Seems to be an odd choice considering chrome’s otherwise support for them.
Some programming languages still don't have 64 bit integers!
Programming: Doing it more vs. doing it better
It was chilly but not so much freezing.

But those short sleeved people were clearly not IBM engineers.