skysight-inc/HackerNews huggingface dataset:
In the US, some states are almost entirely wind-powered now. It can work with the right geography. I'm in Iowa, and some days our entire demand is met by this. But it costs - about $1B per Gigawatt. Estimates are an average of about 1/3 total potential (windy days per year).

Still, nuclear is the clear winner in the long run. You can make as much as you want, and put it where its needed. Wind is entirely opportunistic.

And I'm not sure wind total-cost-of-ownership is even positive. Those towers cost money, and they require maintenance and have a life span.
They chose a LLVM-based code, which does a pretty good job of setting solid standards of behavior and a basis for sustained cooperation, while avoiding the pointless wordiness and off-topic asides of other widespread CoC's such as the Golang one, or even the previous code from FreeBSD itself. A solid choice in an often contentious space.
Whoa! Author has amazing prior projects!
Thank you for writing this up hbrundage - that's a pretty good summary.

I'm the co-founder of Prisma, so should be able to answer some of your questions :-)

Prisma has a Query Engine written in Rust, and a language binding for each target language. Currently we only support JavaScript and TypeScript, but a binding for Go is already in the works. As Sytten alluded to, this split allow us to write and test all the logic once, and have a relatively thin layer that is only concerned about presenting an ergonomic API following the idioms specific to a given language. Now, as you mention, this introduces a bit of extra work on our part, and the potential for bugs when the two sides don't add up. But this problem is very minimal in practice, and in fact most features can be implemented with just a change on the Rust side, as the language bindings are generated based on a API description emitted by the Rust binary.

Another reason for the split is performance. It's reasonable to ask how performant a library that simply marshals some data from a database really has to be. But it is important to realise that Prisma Client is quite a bit more ambitious than that. Where other libraries usually tries to generate a single complex query, Prisma will often issue multiple smaller queries and partly join the data in memory. The throughput difference between V8 and Rust is significant here.

You are right that our architecture precludes us from doing things like explicitly starting a transaction and keeping it open for a longer duration of time. Our long-term goal is to create an Application Data Platform for medium-sized software development teams that can't afford to invest in internal infrastructure to the same degree as big tech companies. If you are curious what this might look like, you can take a look at TAO at Facebook or Strato at Twitter. For long running transactions specifically, we believe that they are often misused by developers who think they get a certain guarantee that they don't actually get from wrapping their workload in a transaction. There are often better approaches - both more correct, and easier to reason about, and that's what we want to teach people.

Currently we are building 30+ different binaries for each release in order to support most sensible platforms. This is a pain for us, but I hope most of our users will see that this is something they rarely have to worry about if at all. We believe that WASM + WASI will enable us to eventually remove the need for the binary for Applications running on Node, but the ecosystem is not quite there yet.

Ultimately, I think the biggest step forward represented by Prisma 2 is the type safety and result typing. We have been pushing the TS compiler to its limits, and I believe the developer experience speaks for itself. We have a lot of work to do in order to build out the feature set, but I hope many developers will appreciate the improved ergonomics, and trust that we will work diligently over the coming months to add the features that they need.

Thank you for looking into Prisma!
> Any ideas why they changed?

IIRC, their previous CoC was quite controversial when it was introduced. The new one appears to address much of the criticism that I recall, and looks like a big improvement.

Old discussions:

HN: https://news.ycombinator.com/item?id=16406946

Reddit:
https://old.reddit.com/r/freebsd/comments/7xapx2/freebsds_ne...

https://old.reddit.com/r/freebsd/comments/822mri/code_of_con...

https://old.reddit.com/r/BSD/comments/7xjvcr/freebsd_has_a_n...
I'd take a look at what Prometheus is using, I think that is IndexDB.
Hmmm, I'm not seeing the discount pricing you speak of.
IBM Cloud was down, as well as their status page
> Let's not confuse moving Macs to ARM processors with turning Macs into iOS devices.

I wouldn't be surprised if they just do that. Ship the lower end laptops with ARM and either an extended iOS or a constrained MacOS.

> Apple has always treated the OS families differently and will continue to do so because they know more than anybody that they meet different needs.

But the different needs part only really applies for the high end Mac Books and from apples POV might no longer be a think if you can develop Swift/Objective-C and similar on iOS.
> A more accurate statement would be: choosing the right access method to work with databases is difficult.

For me, it's the fiddly bit where you interface between the programming language and the database is a PITA.
The problem is more that you cannot formally express your type system in such a case. The "pure" perspective you mentioned is basically the limited view that one can still work with when defining a type system. Side effects are then basically magic functions that have any necessary type (in fact, OCaml has such a function in its stdlib, called "magic", if I am not mistaken).
See the Future of Gaming on PS5 – June 11 at 1:00pm Pacific / 9:00pm BST
> I think Tesla has done remarkably well and I suspect they were able to do it because they were small and nimble when OTA capabilities first became feasible.

I think Tesla have done well for another reason: they are strictly a software engineering company that just happens to make cars on the side. Tesla could easily port their software to any other existing car (Autopilot, mobile app + services, touchscreen OS), but then the Tesla cars would be just another bland electric car offering much like the others. It's the software that defines the Tesla experience, and that's why they have focused on cybersecurity since the beginning.

There certainly were some fun hijinks on the way I'm sure, like the engineer whose NDA expired and explained that the way OTA was done on the first batch of Model S was to have a massive bash script ssh into each car and run apt-get or a similar command.
So you're saying "everything is a bird" + https://xkcd.com/386/ = training data :)
>almost entirely wind-powered now. It

Wind provides base-load? Since when?

Behind every big wind deployment is a natural-gas company awash with profits. Seriously, natural gas companies are probably the biggest lobby groups for, and proponents of, wind and solar these days. Just look a little deeper into any major wind deployment and you'll see a natural gas company staring back at you. Why?
Im a bit disappointed. I thought it was going to say there is some element of structural engineering that lends itself towards the art deco style the same way people say there is a biological reason for humanoids in star wars
That's not "real time"! And definitely won't behave well if the processing takes more than 2 seconds (imagine log files of many millions rows)
Interactive Coronavirus Travel Regulations Map
Golang would qualify, but it's not really a "product" from the perspective of most users.
If you cannot accept contrition when it comes, even if too late for your tastes, you're just as bad as those you detest, and complicit in perpetuating the same cycle of sin.

If you want to lay claim to the moral high ground, you still have to actually act as one that must that inhabits it. Not merely abstain from the extrema of behavior of those you deem lessers through their actions.

It's refreshing to at least have one admit it, and you should be thrilled to see that even now, sentiment amongst those you consider guilty is turning them toward the path of redemption.

Unless, again, you're just as bad as they are, and you're just looking to change the subjects of suffering in the world instead of reducing the overall amount.

It isn't exactly an uncommon personality trait. So at least you're in good company if that is the case.
Investing time customizing VS Code. Today, I end to end manage my project from VSC: create new branch, code, publish branch, open PR. I have shortcuts for certain git commands too.
is this true? Can you expound on this? which suspect papers are there?

I know there are a lot of solid professors in UIUC like Joseph Torellas, Sarita Adve (C++ consistency models), Vikram Adve (who is the adviser of Chris Lattner - creator of LLVM). This is really bothersome and I hope it's not from one of those professors.
Android, Maps, Chrome?
It's not trackpad support. It's the ability to run your own software. If I can't run my own code (without jumping through hoops) it is not a real computer. iOS devices are consoles.
Sounds like the future for Mac on the desktop.
Umberto Eco’s Antilibrary (2015)
Your rosy picture of the Linux desktop where software gets along due to standards, etc. does not match up with my (and indeed many others') lived experiences. See my replies elsewhere in this chain about that problem.
Off the top of my head, things I use most beyond L/R split include:

1. Workspaces. Not at all unique to i3 but I’ve kept mine themed and automatically load certain apps into the same workspaces—all things i3 makes easy to do.

2. Floating scratchpad for media player. Nice to have my music controls always accessible but only visible when I unhide them.

3. Vertical split beneath my editor with a terminal. Just my personal preference, but I typically have L/R with code/browser and then split the code half vertically.

Being able to move windows across displays and workspaces quickly are other pluses, but again, not at all i3 exclusive.
makes sense, thanks for the reply and clarification.

although, how do you suggest to phrase it / to apply SRP in a language without interfaces e.g. Node.js?

In my opinion it's more about coupling than interfaces.

I feel I'm quite in line with the following by unclebob, let me know what you think, i'm open to learn more

https://blog.cleancoder.com/uncle-bob/2014/05/08/SingleRepon...
It does but in the first person view it looks like it's doing the Google Streetview thing where you have waypoints of 360-degree camera shots mapped onto the 3D model rather than one generated solid 3D model. I'm guessing it's because the texture mapping would be tricky to get at high resolution but still work on most machines or something like that.
I left. In 1982. I was shocked when my friend bought a cute little house in Berkeley for 162K. Just 10 years earlier my parents had sold their 5-bedroom Palo Alto house for 34K and bought a 4-bedroom in Sunnyvale for 42K. I was too smart to buy into a real-estate bubble which was sure to pop soon.
People at construction sites are required to wear a hard hat all the time just like company policies require firewalls to be placed on corporate networks. Not really sure why you're making this comparison, because connecting to the Internet is very much like walking into a construction site where bricks could be falling everywhere and even aimed directly at you.
Good luck next winter.
Would love to see it!
I couldn’t agree more! These rooms are capped at 4 people max per room, but you can configure it to go down to as small as 2 people per room. To keep the conversation flowing better.
There are a lot of people who drop out a bit and travel around the world. There are also lot of weird projects in the kickstarter world.

Combine the two, do some social media, finance it all through parents, kickstarter, patreon and corporate sponsors and off you go on your machine learning-enabled unicycle.
I'm booting my Raspberry Pi 4 from a USB SSD
There's special reinsurance for providers. https://www.lottery-insurance.com/lotteries.html
CSS Tricks for Validating Layouts
Reverse engineering DexGuard Android obfuscation
Is that good? Why so much natural gas usage, pray tell?
Fair, thanks for clarifying!

I, in fact, find the catalyst apps on macOS still needing work. And I’m talking the Apple ones: Music, News
I can echo this! This is exactly how I feel too - the muscle memory around workspace management and the scratch windows (floating windows that you can toggle in/out of visibility based on a single keystroke) are the real boosters for me rather than splits. Splits are useful but the most common use I've seen myself do is to have a browser and a terminal / editor in splits.
Yes, let's all keep up the kind nitpicking and teaching.

Dear Newcomers to HN, Welcome! Every time you write a comment, please aim for quality over quantity. Explain why. I look forward to reading your comments like this one in 2030.
And so is climate change, solving world hunger, and countless of other things. That’s a non-argument.
I'd look for a new job. There are so many DevOps jobs at $150k+ that are more inspiring and looking for you to be making the tech calls that will enable their future.

Hit up recruiters on LinkedIn, they will do all the work for you.
At least in Azure Kubernetes ingress and etcd is yours, the other things are taken care of. And the terraform you get is quite nice.
My HN account only goes back 7 years, but I've now been trying to start something for more than half of my life - over 18 years now and counting. HN has gradually (because I'm too stubborn, see above) shaped my views. I feel good about my latest attempt in progress.
+1! I do this as well, in particular a debugging journal. It allows me to find solutions to problems I've hit before. It's very handy to have a recipe for a fix without having to rediscover it again.
You can already do that with split locks, which also lock the memory bus.
Fractal Boards in WorkFlowy
Really interesting addition to Workflowy, with a very nice demo video.

All the people using or implementing various Zettelkasten-ish sites should check it out.
And let's not forget what kind of treatment awaits you if by some astronomical coincidence you do get hired. There are some shit jobs out there. Highly paid shit jobs, though. So we've got that going for us.
That is if you have a Apple only application using Swift/Objectiv-C maybe C/C++.

Also don't forget that ARM has weaker memory ordering, so expect to see some fallout from not completely correctly written atomics/lock-free code.
Shipping for the high end first may also be a statement. It would motivate flagship app developers to invest in arm optimizations.
Some context: Babylon is a (US owned) health conglomorate that has come under a lot of flack lately in the UK for:

(a) promoting a "Virtual assistant doctor" -- glorified series of 20 questions -- that did not spot medical 'red flags' like chest pain, breathlessness at rest, etc; providing dangerous and inappropriate advice

(b) fleecing the NHS on expensive contracts and aggressively marketing "phone first" or "digital first" consultations

(c) "partnering" with NHS Digital and NHS X to build their commercial products upon medical records (this is related to the 'Care.data' programme);

(d) generally speaking, muscling into "core" NHS territory (if you use their app, you used to be automatically de-registered from your real-life GP -- meaning that they got some money for providing GP services instead)

(e) having several high-up executives who have made significant donations to the Tory party, or who are Tory members.

I'm somehow not surprised they've had a data leak.
Buildzoom (construction marketplace) is hiring
If it's your stuff, then you control whether remote attestations are required and what checksums / signatures are considered valid.
A lot of people use it for deployment standard and don't care about multinode.
So that's all technically correct, but the point I'm making is that as that excess money is flowing through asset markets, it's ending up on the balance sheet of private-sector actors who have little need to spend it on a day-to-day basis anyway. In Keynesian terms, money is pooling at precisely those firms who have a low MPC (which is not coincidental: it pools at those firms because they have a low MPC, because pooling indicates a high MPS). Thus the government needs to inject much more money through these markets than it expects, because the Keynesian multiplier is low. In the process, it inflates the paper wealth of these firms significantly more than it actually stimulates the real economy, something we saw from 2010-2020.

I think the OP is alluding to the strategy of giving money directly to consumers, and particularly poor consumers (who tend to have a high MPC). This limits the pooling effect: it still happens, but it can't happen until the money has circulated throughout the economy a few times, which increases the stimulus effect for a given amount of inequality generated. As an added benefit, the effects are more immediate, which helps the central bank understand the consequences of its actions more rapidly and not have to act 18 months or so in advance of when the stimulus trickles down to real production.
Apple designs their own chips. They have a single fixed cost for the design work which gets amortized by the massive volume of device sales. The only variable cost is the cost of third party fabrication. AMD can’t compete with that.
Show HN: Writing Should Be Part of Your Team's Development Culture
It certainly make ssense to use Prisma with an existing database. In fact, Prisma is able to introspect your database and create a typesafe data access client for you.

If you give it a try and have a database handy, I bet you can have it up and running in less than 10 minutes.
> Firmware engineering and IOT is a huge mess

@ bryan cantrill amirite
Took me awhile, but (here it is) [https://copernic-desktop-search.software.informer.com/downlo...].
Hand me the pliers.
In your mind what's the original connotation?

Even master / minion would be better imo, the I prefer the others already mentioned
> - 94% of developers believe respectful communication in the project is important; 1% disagreed

> - 89% believe FreeBSD should be welcoming to people of all backgrounds; 2% disagreed

> - 73% say toxic people should be removed from the Project regardless of their technical contribution; 9% disagreed

If you want to avoid nonsense you can simply stick to technical discussion on project media and nobody gives a crap what you say anywhere else unless you're famous. These rulesets exist because people can't do that.
I appreciated the snarky language, but a few things made me wish I hadn't read this. Leaving aside the humble brag about their engagement on LinkedIn, I am not a fan of marketing in general, product or otherwise. Furthermore the use of images in this article I found cringeworthy, and I did not need to see a cute picture of the author's children, which seemed ... gratuitous and manipulative?

The title is clickbait, and I feel bad for being duped into reading something I had zero interest in. "Why I'm Starting a Blog about Product Marketing" would not have been a link that I would have clicked on.
Any interested government department where a manager wants this can hire a random graduate that can implement this for them, it could be literally be a one-man project with a trivial budget. There's no multimillion purchase pitch required, a regional niche department can do it in their own kitchen without involving the rest of the government using spare change they have to spend until the end of the fiscal year in order to not get the next year's budget reduced.
> doesnt matter this is more important than making the os work on modern hardware

I couldn't agree more! Jordan Peterson said once: "We are not built on a hierarchy of patriarchy, but a hierarchy of competence." But I disagree! We are built on a hierarchy of oppression!
Ask HN: How do you manage a fulltime job+family+side project at the same time?
I've been getting consistently busy working on a few side projects myself but as a husband and a soon to be father, I am fighting to find time. I'm getting rather serious about my side project and can't really give up at any point. I am only however, willing to launch my product when it shows some promise. To keep the ball rolling, I'm currently in a situation where I can't let go of my full-time job yet.

I know people slowly Transition from an employee to an entrepreneur, but with a family and kids, I wanted to know every piece of valuable information to extract the most of my busy life as much as I can. My wife works o
A full-time job that pays well, for what It's worth.

Answers and help appreciated!
Similar to https://rally.video
The support license was changed to a subscription model that lowered prices after 7 and 8 were out of the ~5-year free public updates period. Companies wishing to stay on old versions and buy support for them pay less than they did or expected to before the change.
I like your approach on pointing complaining/exaggerating as an extra mental energy. I have lived my life believing that time is not money. Time is more expensive than money. I can’t motivate myself when the rate of time/money exchange isn’t good. Some of my friends think that I have a narcissistic tendency. But I really just value time more than money. That is what bothering me to be exact.
Sounds like an access control failure here, leading to users being able to access other users' recorded consultations. Babylon claims that this is due to a new feature letting people switch between audio and video in the call, but this seems a somewhat strange claim.

It sounds more to me like an access control/authentication failure - firstly on listing recordings that belong to another user, secondly on then giving access to those recordings when requested. And arguably also a failure in storing the recordings in an effective "plaintext" meaning they could be retrieved by a user that shouldn't have access - given this is about as sensitive health-related PII as you can get, I'd argue these recordings ought to be encrypted with a per-recording key available from a separate key management system?

I guess this gives rise to a bigger question around whether online GP consultations should be recorded and preserved like this, given this kind of situation was/should be clearly in the threat model, and will be from now on?

Edit to add: From Babylon's website, "All data is encrypted and stored securely to guarantee your privacy" - once again, "non end-to-end encryption" fails to save the day due to a failure of another component of the system, and becomes snake-oil marketing copy.
Being Good at Scale Shouldn't Be a Defense Against Antitrust Claims
> It beats existing commercial products that try to do the same, so to me it seems it has some value right now.

While I agree with your conclusion, a minor correction is in order here: it beats a (as in a single selected) commercial product and a single free OSS transpiler.

The improvement for the commercial product is 61% vs. 75% accuracy (i.e. 23% better) which - while impressive given the unsupervised learning aspect - isn't a game changer (yet!).
uses docsify + https://jhildenbiddle.github.io/docsify-themeable/#/ in case anyone is interested.
https://gist.github.com/l0b0/b655d155c5cfc509c339cd0b1cd494c...

Beware that if you're not yet using mypy I would not recommend starting with this - it's a lot of work to get to the stage where this succeeds. I'd recommend starting with no configuration at all and adding one setting at a time so you give yourself time to learn what they all do and how they help.