skysight-inc/HackerNews huggingface dataset:
Cynical take: it's in the interest of publishers (not the author of this post, but internet sites in general) to get as many people out there as possible as "writers", because that allows them to pay them $.02 to $.05 per word. Race to the bottom. Same thing happened to photography with the rise of the iPhone and cheap prosumer digital cameras. Nobody wants to pay photographers (or other visual artists), they just offer "exposure" or go on UnSplash and find a free image.
this is super cool. The JS integration is very interesting.
I said I use VSCode all the time and just got access, having signed up at the very beginning (I, in fact, use VSCode all the time.)
I usually try to avoid working with URLs as bare strings like this, both for readability and correctness (URL encoding is tricky). With ‘requests’ you can do something like pass a dictionary of your query params and it takes care of forming the actual request URL.

https://docs.python-requests.org/en/latest/user/quickstart/#...
Which is exactly what people did before legal systems were accepted.
> If your screw-up doesn't cost human lives then you're not a real engineer.

This is such a ridiculous, asinine, and outright wrong assertion that it warrants no reasoned response.
> It's also interesting that a single mutation can cause this lack of tusks. That reinforces another concept for me - the ability to adapt is also important and has been selected for. Meaning simple genes to define structure are preferable to complex sets of them.

I wouldn't get too attached to that idea... in a lot of cases, having one gene responsible for producing a phenotype can be a very bad thing, like oncogenes (responsible for the growth of cancers) and a bunch that determine development and/or aging.

> On a related note, if "ability to evolve" is a characteristic that can be selected for that would explain why all complex life uses sexual reproduction. Mixing genes offers such advantages that most everything that can't do it is still basically bacteria.

Again, sometimes. There are lizards and bugs that clone themselves (parthanogenesis) which can be really handy for when the population isn't doing so hot.
> so it showed users brand new different material, or opposing material

Brand new, yes, facebook is biased to new stuff. Its just there is a high incentive to repost old shit, because spammers know its effective.

Opposing material? no, that requires comprehensive understanding of the context of the share, the content of the material and the target audience's overton window.

> let users find their own material and/or build their own feeds.

virtually nobody does this, or indeed wants to do it. What's more its very rare that anyone is any good at it (hence why people don't subscribe to news wire services)

also, the research emphatically underscores this. People hunt more, and are less engaged. its more effort.
> The touch bar is a very flexible (effectively) analog input + rich display device.

It just can't work with people like me that never look down at their keyboard. I'm not trying to be elitist, it's the honest truth. I wanted to love the Touch Bar, tried plugins like Pock, but in the end no matter how hard I tried I can't help and force myself and interrupt what I'm doing to look down, it just doesn't make sense.
No one mentioned "rising seas" you added that in there. You could've add many more climate related disasters to the list such as hurricane, wildfire, cold snaps, heat waves, etc. The implication is still the same. Many WILL die. There's no doubt. Not sure why you're down playing it.
How is shunning problematic. If they didn't shun, they would no longer be amish, or be able to preserve their culture. Perhaps we should appreciate the upside of asceticism.
That is exactly what the distinction "natural / artificial" means... it's not some kind of judgment. In this sense of the word, artificial just means "by humans".
It's much safer (i.e. fewer degrees of freedom for bugs to appear) to use f-strings in situations like this one.

One correlated but ancillary benefit, is that there are fewer variables to simulate the state for in your brain, while you're reading the code. You don't have to wonder if a variable is going to change on you, in-between when it is initialized and when it is used.

It's safer still to use a library (e.g. urllib3) that does encoding for you (allowing you to omit magic strings like `"%7C"` from the logic of this function alltogther).

Like GP said, very handy for one-off scripts or areas of your codebase where quality is "less important". I may be pedantic, but I wouldn't give this a pass on code review.
I'm not against "copying" code. I just looked up "python build url query" The first link describes the `urllib.parse. urlencode` function which takes a dict.

So I would build the query like so:

from urllib.parse import urlencode
urlencode({
"action": "query",
"format": "json",
...
"gscoord": f"{str(latitude.value)}|{str(longitude.value)}",
})

I think this is orders of magnitude clearer code. But that's a parameter that's subjective that CoPilot can't adjust for (although it can be better).
TSMC founder chides U.S. plan for full chip supply chain onshore
I think kicad 5 was meant to fix the library mess while kicad 6 is supposed to focus on UX.

It was sold to me as "what blender did last time", which is music to my ears.
I thought they switched from Lisp to Rust. Was that process cancelled?
I don’t try to separate every last code change that doesn’t affect behaviour, but I often find it easier to put major refactorings in their own commits. This has at least two advantages: it means you know there shouldn’t be any test changes showing up in the refactor commits, and it means there is less to understand and review in other commits that do intentionally change the system’s behaviour.

It’s not really a lot of extra work to do that once you get into the habit. Tools like `git add -p` to stage partial changes in files can be useful for separating self-contained refactorings from behaviour changes if you realise they’re happening at the same time and starting to get tangled.
PHP still doesn’t have XHP though :(
Someone has to read and like your PR to approve it. Presenting your work as a series of simpler steps helps the PR recipient (and you!) mentally verify it.
If you define yourself as a software developer ("as a software developer") that might be part of the problem.
> it was Johnny

Again with this rubbish.

I have worked at Apple and Ive does not unilaterally make the product decisions in the company. It is a combination of Product Marketing, Hardware Engineering, Design, Procurement etc and they are all discussed and signed off by the Senior Leadership Team.

When you building products at the scale Apple does decisions are years in the making. And so they need to make them based on what they think the future will be. Mostly they are right and sometimes they are wrong e.g. USB-C being the standard connector for everything.
Here's an example of why it's still hard: you can use timing information to encode data.

Pause for 5 seconds: signal your partner should not trump. Pause for 10 seconds: signal your partner should trump.

It's almost the same as CPU timing attacks — there's always immense information leaking out if your sole focus is to capture what's going on behind the scenes.
At the risk of being downvoted to oblivion, is there such thing as ethicially sourced ivory?

If not, I imagine the only reasonable thing to do would be to educate and raise awareness on the catastrophic impact poaching has on the elephant species as a whole.
I trust a horse driven vehicle over any modern day self driving car!!!
Only one small past thread that I could find:

SqueakJS – A Squeak VM in JavaScript - https://news.ycombinator.com/item?id=8982251 - Feb 2015 (10 comments)
Problem is with 100% code coverage of badly guarded / implemented code you'll have a fall sense of security if you're just looking at coverage as the metric of quality. Anytime I've worked with a company who had a required code coverage percent, they never actually cared what the code being covered looked like only that it was covered in some test.
NPR asserted in their article that help was few and far in between when this wasn't the case. Naomi has certainly gone above and beyond in attempting to help. It should be noted that the difficulty is not in finding help, but in the logistics. It reads very much like a plea to emotion, how NPR worded it.
>Sure. By telling these kind of fables about how global capitalism is actually good for everybody, they're trying to prevent growing class consciousness that would eventually force fundamental, revolutionary change to how we allocate resources.

YES. I love NPR as a news source, because of the oddball stories they cover. But they are solidly, solidly in the 'bootlicker' camp when it comes to how great and exceptional international businesses are at solving humanities problems.
Yes it's normal.. no it is not "ok" in my opinion. I am in the same situation except I find planning at a higher level more boring.

Yes it requires the architect to know all the different parts and how to move them together efficiently to deliver projects but.. it's not creative. There's no immediate feedback. There's little sense of ownership. It doesn't give me any job satisfaction. Sometimes it is more about how things appear than how it actually works. It's not why I got into this career.

For me, I feel it will also make moving jobs more difficult. I see some of my colleagues and they have little to no programming skills anymore - and they don't want that skillset either.
Well, aside from a couple of years as a group leader, I've coded my ass off for my entire 30+ year career. Granted, it's in a specialized, scientific field but it's what I feel I am good at and what I chose to do. And was fortunately able to do it.

During the group leader time, I realized that the books were right - I had no time to code for anything more than the occasional bug fix or code review. My job was to make it easier for my people to code (ie, do THEIR job). I tried to handle all of the meetings I could so they did not have to break concentration and go. I participated in the market and bug reviews, ... Necessary job, but it wasn't one I preferred and have not gone back into this kind of work.

Do I miss being aware of everything about a product and its schedule, yeah. It was nice to be in the know even if I was responsible for it. Now, I have to trust my coworkers to do their work as they trust me to do mine.

One's "edge" is whatever is required to get good, stable, maintainable code out the door that satisfies users. Whether this is the code itself, the GUI, the planning... Whatever is required to get things done. With luck, you can choose your role to suit your interests.
Sorry to hear that. We just want to put the free/demo version in front of users, so we can gather feedback asap.

We are not showing the pricing tiers simply because we don't have any yet; we don't even have the infrastructure to support payments.

As I said to other community member below, it is unfortunate that we "appear unwilling to display the pricing", it is not our intention at all.

Listening to the feedback from HN, we have updated our landing page to clarify that Kit55 is free for non professional use.

We are a small group of developers, we don't really know much about marketing/design/sales - unfortunately most of the feedback we are gathering today is about that.

We will fix those issues but we would love if you could take a look at the product itself.
Yes, I've been using XMonad (and StumpWM) for many years and they are tightly coupled to Xorg.

Moving to Wayland implies a complete rewrite of both is necessary.
> I really think there's a lack of a viable remote display tool in Linux, where Windows has RDP. Block pushers are just too slow. VDI usecases are picking up again heavily, as do other security based techniques which could benefit, like remote browser isolation. Filling up my desktop with Windows running on a bunch of other computers is just so powerful.

I think it's just a tooling problem; Apache Guacamole or Xpra can trivially stick windows in a browser window, VNC is... okay, not amazing, but passable, and even RDP can be made to work well on Linux, it's just that setting up any of those is a horrible pain on Linux (in my experience at least).
Yes, big disappointment how everything was managed.

For me, .NET Native and C++/CX felt great, one was what .NET should have been all along, and the other finally felt like Microsoft was catching up with C++ Builder 25 years later.

The Windows team with their politics, bombed both of them, they let .NET Native lose compatibility with regular .NET improvements, while a team managed to kill C++/CX with C++/WinRT, with the caveat that the tooling for C++/WinRT feels like using Visual C++ 6.0 with ATL 3.0, four years after their introduction.

The github repositories are full of endless bug tickets and improvement requests for WinUI 3.0, WinUI 2.x on UWP, lack of VS tooling for C++/WinRT, lack of bindings for .NET that require developers to write their own boilerplate bindings,....

It is depressing to have advocated this, and now they clearly show not getting it, proven by a discussion I had today how lowlevel App SDK is for .NET devs versus what is available on Apple and Google platforms for managed languages.

Forms, WPF and MFC are really the technologies to play safe on Windows native applications, anything else is getting ready for another rewrite.

Those doing C++ on Windows, maybe adopt Qt or C++ Builder, or just stay with MFC even if it sounds awful to use it in 2021, unless you enjoy editing IDL files without VS support for your XAML bindings, and then manually merge the generated C++ code into the existing project.
That is also an incoherent distinction. If humans ferment milk to make cheese, then this is "artificial" food? No, I think people use "natural" and "artificial" to mean "traditional practice" versus "modern practice", but humans do all of it.
You're assuming they're not thinking about it as a potential lobbying payday for the policy-makers themselves.
I was really hoping Apple had a big leap forward in fingers-on-glass interaction planned. Imagine if the glass could kind of raise or move down so you could “feel” where the buttons were. Heck, even providing a few notches in the chassis, above the Touch Bar, for a finger to “feel” relatives where it was, and require a harder “press” to activate the Touch Bar, would have been likely a game changer.

But they didn’t. And I was always confused that the Touch Bar never got more love from the hardware developers.

That definitely makes me wonder if it was pushed by Ive or someone at Apple as a pet project, but abandoned once the initial development was done. Seemed very Un-Apple to do something like that these days though.

It also wasn’t easy to build software for the Touch Bar from what I could gather. I had lots of ideas for little tools (think iStat-like gauges, but perhaps for things like the mic input level), but it wasn’t very easy to build one when I tried.

RIP Touch Bar. You might not be missed too much, but I bet something like you will come up again in a decade or two.
Identify what's disturbing your peace, determine if it's something you can change. If it is, change it. If it isn't, learn to accept it. If you can't accept it, change your circumstances. Peace restored, repeat as needed.
Great plan, but I'm pretty sure that people who buy ivory don't give a damn about elephants.
This is a poor analogy. Writing code is a technical discipline or a craft, as is technical writing. "Writing English" is not, for any place where English is the business language. From there, the analogy breaks down. If you want a better analogy, it's like the distinction between a reporter vs a newspaper editor. If you make someone who's never been a reporter a newspaper editor, you will likely fare disastrously. But insisting that the newspaper editor should cover a beat? It's just not the same job, so it's doubtful whether that's a good use of the editor's time. The editor is concerned with what is covered, what is being followed up on, and such.

If the CEO is spending a day buried in spreadsheets, then he's likely spending time the wrong way, or is operating a very small business where he can afford to do such things.

Again, the idea of "pushing to the CEOs repo" is actually crazy for all but the smallest shops. There should be no "CEO's repo". There should be "org x" repo or "product y" repo.

I agree with your sentiment that a working knowledge of programming should become something like a working knowledge of Arithmetic. Every educated person is expected to know basic addition, multiplication and so on, and also be able to use a calculator to perform these tasks. Similarly, every person should be taught the concept of a Von Neumann computer and writing programs in a simple programming language. However, building software product vs. writing a basic computer program are, again, two very different things.
What Apple Patched in Monterey vs. Big Sur vs. Catalina
Not just very hard, but actually impossible for almost all transcendentals. Reason being, any description must be finite in length; descriptions therefore form a countable set; but transcendentals are uncountable. The subset of reals which are describable are known as "definable real numbers" [1]. (Notably, all algebraic numbers -- the reals of which form the complement of transcendentals -- are definable by definition.)

[1] https://en.wikipedia.org/wiki/Definable_real_number
Paxos automatically determined safe and secure
The current trajectory has locked us into 2C+ of warming. Even if some magical technology appears out of nowhere and allows us to start capturing and sequestering carbon at the gigaton volumes required to make a dent we're still locked into 2C+ of warming. [1][2] At this point it is no longer a matter of doing enough, it's a matter of actively adapting to the reality of a warmer planet because no matter what we do 2C+ warming is an immutable fact.

1: https://www.youtube.com/watch?v=s254IPHXgVA

2: https://www.newyorker.com/news/annals-of-a-warming-planet/th...
Inner peace largely comes from acceptance. In general accepting yourself and coming to terms with your life story.

CBT can do wonders on that front but there are many paths.
These are very good points. (Except maybe salt, what's wrong with salt?). But breathing in particular, I'd say breathing in for 5 seconds and 5 seconds out, and filling your lungs is maybe the most relaxing thing in the world. One could devote life just for appreciating that.
I thought evolution's components were sexual selection (who fucks) and natural selection (who dies). Random variation can change genes, yeah, but evolution is driven through the dis/advantages of the resulting phenotype (do they succeed at finding a mate, do they raise as man offspring to sexual maturity and do they survive long enough to do the aforementioned).
Does framebook have an easily replaceable battery?
Some past threads, for the curious:

Real-time Netlisting in KiCad [video] - https://news.ycombinator.com/item?id=27367414 - June 2021 (27 comments)

Making a Timelapse of your PCB design in KiCad - https://news.ycombinator.com/item?id=22355847 - Feb 2020 (9 comments)

KiCad Joins Linux Foundation to Advance Electronic Design Automation - https://news.ycombinator.com/item?id=21619542 - Nov 2019 (49 comments)

Why open hardware needs open software - https://news.ycombinator.com/item?id=21388220 - Oct 2019 (29 comments)

KiCad 5.1.0 - https://news.ycombinator.com/item?id=19456152 - March 2019 (35 comments)

Start with Kicad – Schematic Diagram - https://news.ycombinator.com/item?id=18969124 - Jan 2019 (2 comments)

KiCad 5 – A New Generation - https://news.ycombinator.com/item?id=17594677 - July 2018 (2 comments)

Convert your KiCAD boards into nice looking 2D pinout diagrams - https://news.ycombinator.com/item?id=14122958 - April 2017 (1 comment)

How to translate your Eagle libraries to KiCad - https://news.ycombinator.com/item?id=13573567 - Feb 2017 (1 comment)

KiCad: A commitment to freedom - https://news.ycombinator.com/item?id=12713089 - Oct 2016 (83 comments)

Tutorial On Designing/Building A PCB (Using FOSS) - https://news.ycombinator.com/item?id=11670498 - May 2016 (41 comments)

KiCad 4.0.0 is Out - https://news.ycombinator.com/item?id=10676514 - Dec 2015 (37 comments)

Design for Assembly in KiCad - https://news.ycombinator.com/item?id=8399815 - Oct 2014 (11 comments)

KiCad videos released - https://news.ycombinator.com/item?id=8153324 - Aug 2014 (10 comments)

KiCAD a Free and Open Source EDA Tool - https://news.ycombinator.com/item?id=315852 - Sept 2008 (1 comment)
Ask HN: Good resources to learn Variational Bayes method
Hi HN,

I am looking for textbooks and/or online courses that go over the Variational Bayes method systematically based on math and probability theory. I'm less interested in coding so not too keen to know Python or R packages and tutorials involving them.

I will really appreciate it if anyone who works in this area can suggest books or online courses. Even if the course is not free, that's all right. Thank you!
And as Twitter shows, it's not hard to offer both options and let users choose.

Twitter also implemented a timer so that, if you choose simple reverse chron, it forces you back into the ranking algorithm after a certain period of time.

Hmm, I wonder why they'd go to the trouble to do that? Maybe these social networks have motivations that override user experience?
> By the way, I wonder if there is demand for long-term maintenance of X server specifically. If you think you could contribute, maybe write here and if there's enough interest maybe it's possible to crowd fund something.

Are we talking money, time, tooling, etc.? I'm rather attached to Xorg and would like it to keep going; what would be the most helpful?
I must either have extremely bad luck or I'm doing something wrong with my computers that's triggering battery swelling.

having > 3% of your batteries go puffy though is still significant when you can redesign your machines to be easier to repair.
Who is predicting that? Hispanics have been here since Manifest Destiny ran into them way back when. Yet they haven't assimilated like other groups sourced from Europe, or ones that remain at non-threatening numbers.

The only time I ever here someone talk about a non-European sourced group ever becoming "white" is in the context of the conservative demographic threat on the horizon.
will the plugin steal my employer's code and give it to a competition?
It depends if the person who got vaccinated was exposed to the virus before the vaccination. If not, it is very likely that these variants will escape the vaccine induced immunity due to original antigenic sin, especially considering that mRNA vaccines only stimulate the production of spike ABs and not other ABs such as nucleocapsid ABs which target proteins that do not mutate as much as spike.
See my below comment - but no 'incongruity' is something completely different to irony.
As an "enterprise" end-user of a SaaS solution you still have to secure the client devices, right? What's the point of using a secure service if the devices (phones, PCs, LANs) can be easily hacked and all information leaked?

I think securing a self-hosted server is a lot easier than making sure the end-users don't leak the data. Servers are usually built with security at their core and provide more safety tools (firewall, monitoring, etc.) than the client devices.
> It's not appropriate for a professional device since it requires you to look down

Apart from developers many professionals do look down all the time because they typically have other devices connected e.g. synths, photo/video editing rigs.

And Touchbar was designed much more for that audience.
Why do you feel a "10x engineer" is problematic in a team? You can have different types of players in team.