skysight-inc/HackerNews huggingface dataset:
The regulation is there for a reason, but it doesn't have to be a sensible or proportionate reason. Nuclear power is held to a ludicrously higher safety standard than fossil. You are right to suspect that business interests had a hand in subverting nuclear power - the issue is that while nuclear was getting off the ground, the fossil fuel industry was already well established and integrated with government. The anti-nuclear movement wasn't the ultimate cause, but it allied public opinion with a business interest it should have been viciously fighting.
I would always prefer keyword argument calling in a professional environment.

The exception to this rule could be functions that have only one argument.
I can’t help but think that archeologists of the future might think these are ritual objects of holy places :)

Anyway they look beautiful.
> But how do they make money without these measures?

By inserting ads every few posts in the feeds, letting users pay for bonus features and letting users pay for bonus features for others as a show of approval.

People don't generally go to Reddit to read one single thing that was linked from another site, so the kind of "engagement" platforms like Medium are struggling to achieve through incessant nagging happens a little more naturally. It doesn't have to dedicate a third of the screen area to links and thumbnails of totally unrelated articles, because I'm already in e.g. /r/StarWars where people voluntarily organize exactly what I was interested in reading about when I went there.

You also don't have to be as wary of the hustle because unlike Medium, as there's really no straight forward way to make money off of "engagement" with your Reddit posts and replies. You aren't there arguing about some detail in Star Trek TNG S03E14 with /u/dickmonger in order to boost your LinkedIn profile either. Even at its worst—a bunch of idiots dropping vulgar and/or trite oneliners in response to some banal news article experienced entirely through the headline because the article itself is paywalled—it has a sense of honesty and realness that you don't get when people are deliberately trying to culture profitable personas and turning every semblance of original thought into revenue streams.

> Also Reddit has never been a huge moneymaker,

Is Medium? I don't know that either of these companies make their profit public, but I have a hard time believing that Reddit performs worse than Medium. As someone who ends up reading an article here and there on Medium very occasionally, the changes I see between the visits tell of a company desperately struggling to keep investors happy.
Type hints supports generics and abstract interfaces, you use those to display what behaviour you are using within the function and then you try to do what you need in the function as dynamically as possible.

That is for library code, maybe it would be too cumbersome to try to do that for code with less reuse. I have never worked on a large python codebase that wasn't a library so I'm not sure what is best there.
This bit in particular:

if and_return:
return greeting

Is a nice touch. I've definitely seen that pattern in the wild.
a person with 20,000 previous days would have greater prediction than someone with 10,000 previous days. implies on older person should predict a continuation of life, more than a younger one. incorrect?
No, this isn't explicit enough:

if users == []:

Nor is this:

if (users == []) == True:

Nor is this:

if ((users == []) == True) == True:

...

/s
Incorrect secret key causes user details to be revealed
There are cultures in the world that are very dissimilar to the broader cultural landscape in the US. There are still many, for example, in which arranged or other family or community-oriented marriages take place, and these tend to not have as significant a focus on finding oneself a partner.
Thing with OkCupid is people refuse to actually practice the science of relationships. For example, they repeatedly were able to show blind dates produce better results, but the user base refused to participate in blind dates. At the point you’re cherry picking and reading dating science as entertainment or to back one off patterns that meet your desired outcome, that’s opposite of what the authors intended.
This is one of my favorite books on software development. It focuses on timeless principles, but uses concrete examples to ground everything he teaches.
The fallacy is that assuming someone who has lived longer already has a greater chance of staying alive. which is clearly wrong?
Have being using Ruff for a week, it's so awesome that I'm surprised that VSCode extension for Ruff has only 8500 users.
Show HN: AI Generated YouTube Quizzes
If the target page or DOM changes, it's not considered a failed scraping, just the data you wanted will return empty.

But you gave me the idea to send an alert or email notification if a scraper stops returning data or content changes.

Thanks
We the people shouldn't be wondering if this is violating the law.

We the people should be deciding if this should be allowed or not. The law is ours to write, and we should make our decision what we want it to say and then work to make sure it is implemented as we want.
Ask HN: How to Innovate?
How to come up or find innovative ideas, that's not been built already ? cause if you think of an idea, you search on google you find at least 2 that already did it
I don't think anyone taps space four times; they just set tab to insert four spaces. So from a typing perspective, there's no difference.

It's a pretty standard setting in every editor I've used, including vim.
This is a legend that is created by propaganda.

Microwave ovens frequency is 2.45GHz with a narrow spectrum because microwave ovens are under strict RF regulation, like anything that is an intentional or unintentional radiator.

Microwave oven magnetron's power is miserable compared with any AAD radar. Plus, microwave oven is not designed to emit RF energy when it's opened. So, emitted power will be even less.

https://s3.wp.wsu.edu/uploads/sites/1254/2017/01/tang264.pdf
Together with a friend we recently started working on https://hocus.dev, a self-hosted alternative to Gitpod and Github Codespaces. It automates the provisioning of cloud development environments on your own infrastructure. YC content has been extremely helpful to us in choosing what to focus on initially (customer outreach), and what outcomes we should expect from our efforts. They also have a video on how to do initial marketing, and what really makes a difference is setting up analytics and paying attention to it. It’s a huge motivation boost to see actual people looking at what you made.
If we are in the consolidation phase, I wonder if people now understand the risks that software can create and will therefore push for much more professionalism in the industry. Currently, in most countries, literally anybody can write code for something and sell it without restriction.

Most people don't like regulation but we can't keep on producing insecure junk without Governments starting to require some kind of formal certification. It is never perfect as anyone in a regulated industry knows, but it has to be better than nothing.

For example, how many companies use applications written 30 years with no concern for security and are never forced to retire it (or prove that it is secure)? How many companies don't even have visibility of the 1000s of web servers that have been accumulated over the years of merges and divisions etc?
the simple answers is that these technologies EITHER simply don't exist OR exist as an option at a great risk. which will be compounded by attempting more than one of these operations
> I also find it kind of hilarious that type checking isn't built into the standard python interpreter, but you need a separate tool instead.

Agreed, typically you don't add new syntax to a language only to silently ignore it. I think the plan may be to add runtime checking to the Python interpreter later.
In europe, you often have mid to normal-sized supermarkets near public transit since a lot want to grab a few groceries after work.

I wonder what "chain convenience stores" are...are they more geared towards snacks? Mid-sized supermarkets are all over the cities in europe I would say. You usually visit a bigger supermarket once a week, but you can get everything in the smaller ones, from fruits and vegetables to pasta. They are really there to fulfil your everyday needs and you don't strictly need to visit a bigger one. Many don't because it's so convenient, but they tend to be a bit more expensive.

Mid-sized supermarkets are part of my everyday life and I wonder why they are not more common in the US.
They would need a recent proof of address to know where you live.

I know, it is stupid and there are so many ways to fake this, but a bank cant possibly gibe a loan to someone without knowing where they live.

Else kim jong il could just walk in with his id etcetc.
I wonder if it has a hard time doing math for the same reasons most humans suck at math, with a lot of people even taking pride in hating it. Perhaps it will help us get some insights in the pitfalls students face while learning mathematics, and hopefully better pedagogics on the subject will be developed as a side effect.
We mostly prefix function and method names, not variables.

Prefixing module variables with an underscore is a bit strange.
The article says “maybe yes” for what I understood. At least a guy is making a lawsuit, we’ll see:

> The alleged wrongdoing comes down to what Butterick summarized to me as “the three ‘C’s”: The artists had not consented to have their copyrighted artwork included in the laion database; they were not compensated for their involvement, even as companies including Midjourney charged for the use of their tools; and their influence was not credited when A.I. images were produced using their work
The onboarding process is not a fillable form, it's just a simplification of the scraper builder to show how it works. You just have to click next.

Other users have also reported that this is a bit confusing, so I'm going to start working on improving this.

Thanks for you feedback!
You haven't argued that it isn't well-poisoning, just that you believe the well-poisoning is justified.
Sorry for rudeness I shouldn't get triggered by downvotes
> I think the plan may be to add runtime checking to the Python interpreter later.

And slow the run time back down several versions.
I would never work for company that wants middle man in communication. Actually its one of reasons why I'm a freelancer. To reduce wasting of time to get job done.

It works in art/design/film industry.
Are you claiming that the perception of retributive justice being served is not a factor at all in current justice systems?

This is as preventative, restorative and rehabilitative as it could ever be?
ghost in the shell?
Do you post on liberal sources "Disclaimer: this comes from a liberal source" too? If you're not doing it uniformly, regardless of bias, then yes, you are poisoning the well.
This is a well written article on the lottery around artistic acclaim and fame. My personal connection with William Blake is sitting regularly on a bench near his grave to eat my lunch[1].

A poet who resonates strongly with me is Wilfred Owen[2]. He developed some good contacts in literary circles and, had he survived the war, I think he would have found recognition, maybe fame, in the 1920s[3]. What Owen's fame tells me is that fame is a product of both opportunity and luck. His poems were collected and published by admirers/supporters three times following his death, in 1920, 1931 and 1963. But it was that last publication (in my view) that brought him great acclamation and fame, and that only happened because it was published at a time when people were looking for someone who could articulate a denunciation of war in a way they struggled to achieve themselves.

Anyway, to offer a personal datapoint: I'll admit that I used to feel (very) resentful that my poetic endeavours had led to scant recognition and zero fame[5]. Nowadays I have a more equitable view - yes, there's still resentment, but there's also great freedom in being able to do my own thing without having to meet the demands of critics and markets.

I think the article describes this very neatly: "The first advantage [...] is that you are left alone to do what you want to do. [...] You do not feel commercial pressure, which is often the pressure [to] repeat yourself. [...] You can go about assembling a body of work on the schedule and in the manner you see fit. [...] you can create your artworks in a way which means they are as they need to be rather than how the market wishes to receive them."

[1] - https://www.poetsgraves.co.uk/blake.htm

[2] - https://www.bl.uk/people/wilfred-owen

[3] - Though apparently W. B. Yeats disagreed, saying Owen's poetry was "all blood, dirt, and sucked sugar stick" and "unworthy of the poet's corner of a country newspaper"[4]

[4] ... according to Wikipedia: https://en.wikipedia.org/wiki/Wilfred_Owen#Poetry

[5] - I consider myself a good poet[6]. Nobody can persuade me otherwise!

[6] - No link to my poems; I'm more interested in commenting on the vagaries of fame here than sneaking in some spam links.
>the user base refused to participate in blind dates

And I can see why. Higher chances of a good result, but also higher chances of getting a fat woman or something like that.
looking at the left is nice, you can see all the various functions very quickly. but the actual code just looks like visual noise to me, blending together, not clear where sub-blocks are within functions, "lines" (as in units separated by semicolon) blending together too.

If I was tasked with changing anything in there, or analyzing the code, the first thing I would do is run autoformat on it. even if I have to preserve the code style, I would just translate it back once I'm done

One thing I notice myself doing a lot is using lots of empty lines in my code. Sometimes I go really overboard with it, to the point that every other line is empty. I feel like it helps me read the code more easily. This seems sort of like the antithesis of that.
This doesn't seem a plausible hypothesis. there are tons of companies which adopt the Apple model, mind included in this model. actually you have to argue to make the case for why your role is important which makes qualifying for head count even more unlikely
Because it makes no sense, blowing up NS would achieve nothing the EU was already cutting itself off Russian gas and oil.

This operation has no upsides and the downsides are so big that this is probably the only time where the meme of the guy being thrown out of the window for suggesting something in a meeting is actually appropriate…

If there was even a whiff of credible evidence that the US was behind it it would’ve set back US-EU relations by decades if not more and if there was actual undeniable proof it could’ve been the end of NATO.
No, but large established copyright interests will go to the ends of the Earth arguing that it is.

https://www.youtube.com/watch?v=5pIVVpoz5zk

It is the same as humans learning from art to imitate one or multiple other artists' styles. The differences are in scale, and flexibility in mixing and matching different styles (a very primitive, not-very-accurate model or description would be a vector of [0,1] values, one for each artist[1]), and which vector an AI art program happens to use as a default style for any prompt that doesn't specify something akin to "in the style of <x>"

[1] I'm not claiming these neural nets are learning models of each artist and linearly combining them, but if you squint hard enough it approaches that.
A pretty good year.

I particularly enjoy the liveGUI iso and the clang as system compiler.
You in the US need a law that orders whoever loses a civil lawsuits pay all the expenses to the winning side.
The results of the survey this article is based on seems to be nonsense. The numbers for women and men in each category should more or less match, unless there were a huge difference in same-sex or one-to-many relationsships or in the absolute numbers of male vs female, which seems implausible.
The general hilltop marble idea here of what are now called attractor fields and their use in biological development predates Waddington by some decades.

Essentially it seems his work is a reapplication of Sewell Wright’s fitness landscapes from the 1920s and 30s to cell differentiation, and I’m not very sure the idea originated with Wright. Waddington would have been aware of Wright’s work.
Through one of my acquitances in the start-up world in Germany, I learned that even big tech investors (from the US), are now saying that the time of "big vision" is over and their portfolio companies should look to increase revenue before looking at developing the next suoer cloud platfrom solution for their hardware products. Sounds like solid advice to me.
Yeah, it seemed like a straw man example. For me, type hints are most useful as a sort of meta domain specific language. Type hints can be hard to get right for abstract data types, and it’s often not worth it (and I rarely write ADTs in Python, relying on what the rich standard library offers). I find type hints to be very useful for “annotating” domain-specific code that carries out my application’s “business” logic. This rarely includes things like basic arithmetic functions.
"Any headline that ends in a question mark can be answered by the word no." (wiki)
exactly. decompass companies hired because they were seeing a boost in the amount of consumption, literally tripling overnight in some cases. has been well documented as "the quickening" where decades of growth was observed in the matter of weeks.

https://www.mckinsey.com/capabilities/strategy-and-corporate...

CEOs that didn't meet those needs would be fired for ceding market share instead. This demand explosion did not manifest in hardware companies such as Apple.
Kubernetes is fundamentally a middleware for dynamic network automation and code/container segmentation and provisioning. I ever understood how those make running a db any easier. You do not want to tread your db's as cattle. Sadly, they are largely pets. Your data is your most sacred possession.

I'm a fan of k8s, but the rational of running DB's on it has always seemed specious to me.
It's a date, not a lifetime commitment.
And who knows, maybe the fat woman is worth knowing?
This is from America, where national laws like copyright are very hard to change, due to lobbyists and both political parties thinking the other one literally works for the Devil. Your point about people deciding their own laws is great but it’s just not how our system works. Instead most law nowadays is made by judges interpreting anything controversial.
I'm just one person, but some feedback - the first sentence in your comment ("a self-hosted alternative to Gitpod and Github Codespaces") was far clearer than the main text on your landing page ("Stop waiting for code to build. Save 4 hours a week.").
There is no concept of a single global time, just by definition.
Disclaimer: described as such by Wikipedia, a left-leaning online encyclopedia...

(To be fair, it probably is, but so what?)
The truth is that nobody cares. Your "We the people" Braveheart speech is just cognitive dissonance with the rest of the world if you look at the reactions irl and on the web normal people, or better said people not in the tech bubble and overwhelmed artists, are rather excited.
I use the Google Keep browser extension.

When I click on the extension's icon (or right-click > Save to Keep), a draft note pops up with the page link in the body of the note, as well as any text selected on the page prior to clicking the icon.

From there I can add more text to the body, insert a title, and add or select a tag. Once the note is in Keep more features are available, such as attaching an image or archiving the note to move it out of the way. And the note is accessible and searchable from any device.
An absolute cracker. I don’t even know Bacharach‘s work well beyond some obvious hits, but “Painted from memory” is a very special album indeed.
> No, but large established copyright interests will go to the ends of the Earth arguing that it is.

Small independent copyright interests trying to eke out a living from their art will also argue this.
This got me thinking.. perhaps there will new form of SEO where someone really wants to push their false agenda, they only need to convince the generative AI with whatever it takes(more pages of same lies, more prominent sources with the lie, etc) and then they are set…

We are in for rough times.
I'm experimenting with something like you described, but there are lots of edge cases and needs a bit of polishing. But for now, I made a Chrome extension that helps tinkering with CSS selectors.
I'd definitely agree here. There's a lot of things that cannot be expressed in a language, and need comments.

Even for e.g. get_height, does it make a DB call? Is it expensive and shouldn't be called in a tight loop? Can it ever return 0?
Google bombed, while doing the same as Microsoft, with similar results
It would be great if they could have released this as an open source project for the community to maintain. Unfortunately there is a lack of good OSS circuit simulators with decent GUI interfaces.
Love it. I need to figure out a way to get this automatically, because it looks super useful as high-level view - I could then switch back and forth, using clang-format to go back to company-accepted style.
I think a lot of them are. A big change is that start-ups have started to stay private for obscene amount of time making a lot of options into toilet paper. This means unless you are happy to work for a start-up with your options being worth $0 you shouldn’t work for them. Even if they end up being worth something you might work for a company starting at 20 years old and get a windfall at 37.
Exactly what came to mind.

If you do what everybody else does, you can blame outside factors if it goes wrong.

If you decide to be the one that _doesn't_ follow the trend, if it goes wrong, the blame falls on you.
This is also a few big firms in a way harvesting the public domain - not sure we need new forms of rent seeking via AI.
New models shed light on life's origin
Exactly! In fact, it would be wonderful if you had some standard way of producing different units at different scales for a given magnitude, upwards or downwards, so you could use the best in a given context. Perhaps you could even randomly chose a fixed easy multiplier to automatically produce these derived units from the fundamental unit, and then use the same factor for every magnitude. You only need to chose some base unit for every magnitude and then, boom, you get a full family of units at different scales to chose from depending on your context.

How cool would that be? I'd suggest to use a factor that is the easiest to multiply by, in order to simplify operations. I guess the optimal factor would be 10. What is easier to multiply or divide by than 10, right?

I think I need to patent this bright idea. It's amazing nobody has thought about it before.
This is much less of a problem than people make it out to be.

For a lot of people, art is a way to connect to other human minds. If you know there is no human mind directly involved in the piece, you might not value the art the same way. No amount of code will change that.

Having said that, I think the current iteration of AI will be a fantastic tool for artists once it matures. Even if you're making some one-off disposable piece of visual/audio design for business purposes, you will want a professional to look it over.
I bought a Compaq laptop with an AMD64 processor back in 2006, my first 64-bit machine. I put Gentoo on it to make sure I had 64-bit support for all the apps because the major distros at the time weren't all there yet. Man, that thing chugged to compile everything, but I was there... 64-bit everything!
Scale matters. And there is no reason we have to have the same rules for people and for software tools.