skysight-inc/HackerNews huggingface dataset:
I actually really like Copilot.

There tends to be a lot of repetitive code in the world. I primarily write JS, Py, and Rust. Sometimes, I might declare something like a function table, and Copilot will automatically fill in the class definition with everything I defined.

I'm not using Copilot to write new algorithms or solve library-specific problems, but it sure is next-level in picking up patterns in a file and predicting where you want to go next. Obviously, good code is succinct (not repetitive), but it sure is helpful when in that early prototyping stage. I admire it's ability to infer a correct assertion when writing Unit Tests - it made it much easier for me to write tests recently and helped me recognize a few bugs.
Fair enough. A very large portion of catalogue-able knowledge? Or orders more than was available before within a few seconds in your hands.
Coinbase Is Down
I think you're providing a charitable accounting of pacifists that might describe the best among them. Orwell (whom you are indirectly responding to) gives some acknowledgment to these types but is cynical towards others:

> The majority of pacifists either belong to obscure religious sects or are simply humanitarians who object to the taking of life and prefer not to follow their thoughts beyond that point. But there is a minority of intellectual pacifists whose real though unadmitted motive appears to be hatred of western democracy and admiration of totalitarianism. Pacifist propaganda usually boils down to saying that one side is as bad as the other, but if one looks closely at the writings of younger intellectual pacifists, one finds that they do not by any means express impartial disapproval but are directed almost entirely against Britain and the United States. Moreover they do not as a rule condemn violence as such, but only violence used in defence of the western countries. The Russians, unlike the British, are not blamed for defending themselves by warlike means, and indeed all pacifist propaganda of this type avoids mention of Russia or China. It is not claimed, again, that the Indians should abjure violence in their struggle against the British. Pacifist literature abounds with equivocal remarks which, if they mean anything, appear to mean that statesmen of the type of Hitler are preferable to those of the type of Churchill, and that violence is perhaps excusable if it is violent enough. After the fall of France, the French pacifists, faced by a real choice which their English colleagues have not had to make, mostly went over to the Nazis, and in England there appears to have been some small overlap of membership between the Peace Pledge Union and the Blackshirts. Pacifist writers have written in praise of Carlyle, one of the intellectual fathers of Fascism. All in all it is difficult not to feel that pacifism, as it appears among a section of the intelligentsia, is secretly inspired by an admiration for power and successful cruelty. The mistake was made of pinning this emotion to Hitler, but it could easily be retransferred.

"Notes on Nationalism", 1945 (https://www.orwellfoundation.com/the-orwell-foundation/orwel...)
Even if you do the "% of users using Copilot" approach, Copilot was limited to both Visual Studio Code (until today) and an invitation-only program.

The fact that the combo reached 30% of newly generated code doesn't make sense.
https://news.ycombinator.com/item?id=28915778
I’ve been going 16 odd years now and code every day in work. It’s one of the reasons I prefer small teams and startups. There’s more of both strategy and dirty hands than you could ever want. Games is also a domain I believe you need to keep your hand in to stay current.
Right. The history pages typically list about 100, and I suspect even that is a subset of submissions.

But if you were simply to skip by period looking at front page, it's 30 items.
I don't think there's a way to make a database public in a binary form at scale. Any other format than binary would not represent the real data in my opinion.

Votes need be private only in as much as who is the voter, I replied in post #28976010 with how this would be handled, but the basics would be that there's not a direct way of linking a voter with their public vote.

The merkle tree is needed for the same reason as in git, to have a well defined relationship between votes. Branching is for having multiple vote items in the same ledger. Diffs are for auditing.

I'm not saying that a blockchain ledger is the definite technology for storing this kind of information, but to me it looks like it has a lot more desired properties than a database.

In the end you need blockchain technology to have a chance to sell this to people. If you bundle a certificate authority and a postgres database with a crud interface nobody will be excited by it.

The first iteration of this type of software needs not be perfect, it needs not be used for electing the president of the Universe, it is fine if a company uses it for selecting the color of wallpaper for the break room. We need to start doing things in this direction, because the world is getting bigger and the populations grow bigger and paper ballots won't scale forever, and most importantly it could lower the effort for participating in elections to the level that politics can be reimagined into something that resembles a democracy better.

[edit: sorry for the pathetic last part, but I feel pretty strongly about this]
"Ostravian dialect" is that what you call Silesian language in Czechia?
I work for GitHub (although writing in an entirely personal capacity) and the segment in the GitHub Universe Keynote today said that 30% of Python code (written by users with copilot extension active) was written with copilot help.

I don’t know about how the data was gathered, I was not involved, but the segment is 4 minutes in so you can see what the actual announcement claims here: https://youtu.be/etMvd9IKPH4

I have used copilot and watched a colleague writing comments and frequently getting great go code suggestions without loads of edits. I personally am sincerely very impressed.
DirectX 12 is not appreciably faster than Vulkan, correct. The two APIs are low-level enough that the optimization is largely in common between both. This is evidenced both by DXVK and by games that support both DX12 and Vulkan.
I feel the opposite of codebases where having high coverage has been a priority:

* The tests doesn't actually test functionality, edge cases etc, just that things doesn't crash in a happy-path.

* Any changes to an implementation breaks a test needlessly, because the test tests specifics of the implementation, not correctness. Thus it makes refactoring actually harder, since your test said you broke something, but you probably didn't, and now you have to double the work of writing a new test.

* In codebases for dynamic languages, most of what these tests end up catching is stuff a compiler would catch in a statically typed language.
If you - as an individual or a company - also want to kick-start the market for carbon removal then check out my project https://carbonremoved.com

We offer subscriptions and one-time purchases for a carbon removal portfolio with direct air capture, olivine, bio-oil and forestation. The removal mix is currently defined by us but we're building the option to make this fully customizable.

In the mean time you can email me at ewan@<the domain above> and I will be happy to answer any questions or build you a fully custom portfolio.
IME, the array only needs phased matched mics if you're doing SDB, or something else that cares deeply about audio fidelity.

I've never used phased matched mics in my arrays (can't afford it!) and also have never needed to "bin" them. ("pair-by-pair" testing).
this has been "inevitable" for three decades now. The difference is, walled gardens making participation non-optional; commercial intent over "fairness"; elevating the trivial for the pleasure of management .. what could go wrong?!

overall, a new forms generator with a somewhat terrifying amount of horsepower.. zero trust of microsoft here, basically
The Vaccine Credential Initiative
‘Dune’ Is the Movie We Always Wanted
My brain imagined that "A" stood for "airspace."
This is a basic flaw in the design of unix. The user interface is coupled to the implementation. To accomplish a task, you don't describe the task - you write the name of a program that executes that task. Once a program is named, no other program can be named that ever again.

Imagine if programming languages worked that way.
Pretty timely as I'm hunting down an old (practically bulletproof) Sony TC-D5M field recorder for my system here and want to know what I'm getting into since there are some known issues that crop up in due time. I already restore old videogame consoles and try to do my own stunts in repairing and maintaining what I've got, so this is really helpful.
Likewise skeptical, but I have been super impressed with it. I just got in to the technical preview, and worked through a specific task I needed to do (involving mongoose, a mongo aggregate query, a few loops, some date functions) and started by adding a comment above each line. It helped a lot actually, felt like a collab.

I'll reproduce a generic example I sent a friend.

Prompt:

const redis = require('redis');

// Create a redis client

Copilot suggested:

const client = redis.createClient();

I accepted it and moved 2 lines down, prompt:

// Get the current count from redis

Copilot suggested a start to the operation:

client.get('count', (err, count) => {

I accepted it, and Copilot continued:

if (err) {
console.log(err);
return;
}

// If there is no count, set it to 0
if (!count) {
count = 0;
}

// Increment the count
count++;

// Set the new count in redis
client.set('count', count);

// Log the new count
console.log(count);
}
Yeah that's a great idea, in this day and age where everyone is concerned about security, disabling JS and making sites work without JS seems like a great approach.

Hopefully the giants that are always espousing security will see the light.
Some past threads:

Ballerina Programing Language - https://news.ycombinator.com/item?id=22401257 - Feb 2020 (50 comments)

Ballerina Programming Language Revamped, at 1.0 - https://news.ycombinator.com/item?id=20961269 - Sept 2019 (1 comment)

“Ballerina” Could Become the Programming Language of Integratio - https://news.ycombinator.com/item?id=20937058 - Sept 2019 (1 comment)

Ballerina, a language with structural type system - https://news.ycombinator.com/item?id=20924552 - Sept 2019 (120 comments)

Ballerina: An API-First Programming Language - https://news.ycombinator.com/item?id=17302812 - June 2018 (2 comments)

Show HN: Ballerina – Cloud Native Programming Language - https://news.ycombinator.com/item?id=16965616 - May 2018 (14 comments)

Ballerina – concurrent, typed language with textual and graphical syntax - https://news.ycombinator.com/item?id=14698132 - July 2017 (31 comments)

(I assume there is only one ballerina here.)
I shudder to think about a system where random people could message me.

On Quora, I just turned off that feature. Almost every single message I got was "hi", from somebody who was trying to either sell me crypto or catfish me.

Maybe there's a period when a new open messaging system opens you up to just fun new people, but when it grows, spammers and scammers will follow. Glad you enjoyed Facebook before everybody got to enjoy Facebook, but most people never saw it like that.
I'm not surprised! Everyone is talking about the technical suitability of EVs as rental cars. But I don't think that's the main motivation.

On Turo (like Airbnb for cars), Teslas are unique in how disproportionately expensive they are relative to their purchase value. When I last checked, a Tesla Model 3 worth 50K would rent for up to $200/day. Compare that to a comparable $50K BMW which might rent for $80. I imagine the reason is that people just want to rent a Tesla to see what all the hype is about.

Also, rental companies only keep their cars for about a year, so this situation doesn't have to last long for it to be profitable for Hertz.
YTs recommendations are infamous for getting people radicalized, into conspiracy theories, and filled with misinformation.
I'm a staff engineer about five years into my software engineering career. I have long periods of time where I write little code.

I'm on a small, special-purpose team and we spend a significant amount of our time investigating what we're going to work on next. From there, we put together docs and justifications that we take to the team that owns that service so we can achieve buy-in from them. We frequently run projects in parallel, so we can end up being the point-person for one project while assisting on others.

I'd say I spend 30-40% of my time actually writing code, though this is extremely bursty depending on the project. The other 60-70% is spent writing docs, doing research, or achieving cross-team buy-in.
For some applications you want "every frame is recent" and can tolerate some glitches as trade off for not having perfect frames. Also displays have different pitch values, subpixel arrangements, color spaces, etc. A line from A to B might look completely different on different monitors. By offering only RGB arrays as abstraction Wayland pushes the the need for care of those differences down to clients which is a mistake.

Additionally a Desktop system in general is much more than a bunch of bitmaps blittet together. Applications need to interact and such functionality has to be tightly integrated into the compositor with standardized protocols otherwise it will be impossible to have such functionality. Taking screenshots, drawing to the root window or knowing about coordinates of windows from other programs are some examples.
More Compute Power Doesn’t Produce AGI
An k-ary search tree has k children per node, and k-1 keys per node. To find a value in a k-ary tree with n nodes, the maximum number of comparisons will be (k-1)log_k(n).

This is minimized when k = e.
Egyptian national IDs contained a "religion" entry, with only "Christian", "Muslim" and "Jewish" being allowed. Atheists fought for the ability to add a fourth possible value, "-".

IDK what the situation is right now. Maybe some Egyptian HNer can tell us.

https://en.wikipedia.org/wiki/Egyptian_identification_card_c...
For all practical everyday use, this doesn't matter. Nobody has ever even checked my ID card has the same name as in the app, let alone scanned the QR code to verify. They just glance and that gives them though plausible deniability to let me in.
Wayland as a display protocol (correctly) started out with a tiny core, which can display the content of a window, and manage available extensions by version.

This has grown out to be a really great abstraction, where later multiple implementations can decide on new protocols/extensions to support. And they have already done plenty of such extensions, and they are compatible with each other. Remember, these are protocols. There is no need to implement them yourself, they can be made into a library, like wlroots, and you can build your compositor on that base, without any repetition. Also, multiple implementations only mean that there won’t be implementation-specific quirks.

As for screenshots specifically, while the base use case is trivial enough, recording screens are most definitely not (it needs proper synchronization). Pipewire is the project that can solve the issue perfectly, and it is indeed working correctly for like a year already, with screen share even in proprietary apps like teams.
It is 74px of additional vertical space. This change moves the permanent menu bar out of application space into a new menu bar space. you are getting somewhere around 50-60px additional in application space.

It also improved the user experience for full screen mode. Previously in full screen, the menu bar is hidden. If you move the mouse to near that area, the menu bar appears and jumps down. It’s janky and sometimes you can trigger that by accident just trying to click on something near the top of the app.

for full screen now, the menu bar location is fixed and outside of the app space. It can be visible or hidden by a black bar, but it doesn’t jump around and it’s harder to accidentally trigger it.
I don't imagine it would make much of a difference, unless there's some kind of M1 upgrade kit for older Macbooks I never heard of.
Stop making laws based on races and set welfare politics based on income.

Then the retarded excuses from judges appealing for "affluenza" will flee away and then Americans will be able to understand for once that there isn't a race issue in the US, but an economical one.

The race divides are just distractions for the "peasantry" from the obvious struggles.
How to Ship 41 Updates, Improve Usability, and 20x Team Engagement in 2 Weeks
There are rarely unicorns who can do architecture/strategy and also code daily at the level and volume that their years of experience imply. They're out there, but they're rare.

You've done what the rest of us do, which is specialize. If there comes a point where you need to LeetCode into your next role, I am sure you can study for a short time and nail it. Your broad experience is an asset on that front.
What do the males die of exactly? Not clear to me.
Software Documentation Engineer
That's precisely what the article linked points out.
I think it's a result of how inexperienced the majority of devs are. At 10 years in, you're more effective doing architecture and dealing with high-level stuff to set up newer developers for success, but if everyone you worked with had 10+ years of experience they couldn't all be architects! :)
I wander if the new keyboard design with plastic rather than aluminium between the keys will also make it easer to replace it too, it almost looks like the module that could be swapped. I'm sure we will find out from iFixit soon!

I suppose it also means that the top case is no longer tied to different keyword layouts, fewer SKUs. That will have helped cut costs!

(written on a 2019MPB with duff ender key)
Text version:

https://text.npr.org/2021/10/27/1047583610/once-again-the-u-...
Same and I also signed up right away. Still no invite.
Interesting article, but since the way of life of the Amish is so polarizing, I'm afraid this distracts from the question, whether society as a whole and its members ought to embrace all technology or whether it's sensible to evaluate and discuss its merits and perhaps regulate its use. This is of course done everywhere to some extent, but perhaps we ("the English") would be better of doing it more?
Isn't the Windows 11 UI basically a total ripoff of Plasma?

KDE for example can trace it's heritage from CDE, which is based on Motif, which predates Windows.
Maybe they're just measuring lines committed (total guess)?

If you count white space, comments, variable and function declarations, and boiler plate code like creating loops, then maybe I could see how they got there.

Kind of related, but if I think about autocomplete, it probably writes about 10%-20% of the individual characters in my code. While it is totally misleading, it wouldn't be factually incorrect to say that autocomplete writes X percentage of my code. I wouldn't be surprised if GitHub is using some "misleading, but technically true" metric for this.
I only use wired headphones when the wireless alternative uses AAC.
I mean, Clojure kinda does that
How does this conflict with the original comment's point?
Stepping Down, Stepping Up
+1.

>Nearly a third of new code on GitHub is written with AI help

May be true if you count VSCode's IntelliCode, JetBrains IntelliSense, CoPilot, and other similar tools together. But no way copilot has that much marketshare yet.
DRI has expanded throughout the tech industry, I can't remember the last time I was on a team that didn't use the concept.

But I provided a simple analogy above.

Say John manages Joe and is the DRI for data storage. If Joe goes and deletes the production database, John has some blame even though he didn't personally delete the database.

Do you not see the difference between saying "John deleted production?" and "John's subordinate deleted production?"

Both are assigning some blame to John, but only one is factually true.

This entire conversations almost feels like the typical HN inability to realize the world is not black and white.

It's like people need Johnny Ives to personally have opened up a CAD drawing and shrunk the MBP because it's utterly impossible that a larger team decided on the vision for an entire flagship possible.

-

Lol the replies. What a weird way to dodge a simple question lol.

"John's subordinate deleted production" implies that John is partially responsible, but accurately reflects he did not personally delete it.

You're not even mentioning Joe, you're accurately reflecting John was in charge, but you're also not lying and saying John did it.
I get the point of the joke.

The equivalent would be if someone were saying "Oh I met this handsome, rich, kind, unmarried 45-year-old man last night, but there must be something wrong with him, or else someone would have married him already." But I'm not saying that and I don't think the originator of this sub-thread is either. We're saying "Only a small portion of the available older men will actually be attractive mates (on whatever dimensions) because those who are attractive will have mostly been taken already."

It's like an economist saying "It's not a good use of your time to go outside scouring the sidewalks for $100 bills." That's not funny, it's just accurate.
How cheap do you want them? $275/16 = $17 per microphone, or $15 per + $35 worth of additional materials to make it into an array. Or $10 mics + $115 of metal and plastic.

$275 doesn't really seem exorbitant for niche hardware given than you need 16 decently high quality microphones. I eagerly await a ShowHN using $2 mics and cardboard instead!
I mean, Google search uses AI, and developers use Google to find things, so technically you could say the vast majority of code is written with "AI help", but that's not exactly a noteworthy observation to make...
I’m interested in other people’s thoughts on this.

In the Lisp world we often talk about “exploratory programming.” There are contexts, or at least there have been in my career, when I sit down to work on a particular problem and I don’t know ahead of time how it’s gonna work out or how I’m going to solve it. In these contexts I find Common Lisp to be a useful tool.

In other contexts I have a clear understanding of what I need to do, and so writing software in C++ or some other language is fine.

I’m not really interested in trying to shoehorn one solution into another context. I’d say use the tool that works best for you in the context in which you find yourself.

I could be wrong. Interested in your thoughts if you want to share them.
The trait may or may not be advantageous. Diversity is. In this case the selective pressure is poaching, but selective pressures are constant. Diversity is a bank of genetics that the population can draw from to adapt and survive.

Traits that are rare, are often rare because of shortcomings. But if environmental changes make that tradeoff worthwhile, it can be made. Meanwhile, evolution doesn't stop. Once the trait/gene is common there is positive selective pressure on complementary genes. Over time, these may mitigate or compensate for the negative traits that have acquired.

Of course, on the timescales that humans tend to selectively pressure species, there isn't time for all this elegance to emerge, usually.
Just to clarify the terminology, since you seem to be referring to the widely-used tz database, "time zone" is defined as a geographic region where local clocks agree year-round. Europe/Oslo is one such time zone in the tz database. Thus your time zone does not change when DST begins and ends, only your UTC offset.