skysight-inc/HackerNews huggingface dataset:
I stopped at "Good Programmers". Seriously though, it would have been perfectly fine to phrase it as "Exploring the correlation between Code Style and Competitive Programming Performance". Everyone knows that competitive programming has constraints (e.g. small time limit, throwaway one-off deliverable, no collaboration) that favours a style of coding that you wouldn't normally find, for example, on a business setting.

It's not clear whether this paper was accepted at the conference, but if it was, it is a testament to the low bar of the examining board. I like to follow the "if you don't have anything nice to say, don't say anything" mantra, but this paper deserves an exception.
While it's not required, there's nothing stopping you from doing any of:

x: X = X(MagicMock(Y))
x: X = X(MagicMock(Y(...)))
x: X = X(MagicMock(spec=Y))

which all make it fairly clear that the Mock is of Y. (or better yet, use fakes instead of mocks)
On your project website

>Create graphics using a embeded Processing, audio using LibPd (Pure Data) and display maps thanks to Open Street maps, to mention a few

Here is a common misnaming here. OSM project is actually called "OpenStreetMap". Singular and without spaces. Care to fix this?
Do they read the article before posting about it
It is interesting to compare that situation. FWIW, I consider it much more than merely "a little" different, but I can also see how there are some critical similarities.

To me, the big difference stems from the difference in presentation and purpose: I can't imagine many people search for the real mailing list, finds an archive on marc.info, and then subscribes to that instead of the real mailing list.

It is similar to how I do not personally mind at all that web.archive.org mirrors my website at https://web.archive.org/https://www.saurik.com/ with giant banners at the top showing "this is the internet archive"; but, if someone merely created a live mirror of my website at https://www.saurik2.com/, I'd be pretty pissed.

Put differently, for me, the core problem is one of trademarks... I have strongly mixed opinions on the value of copyright, but I am a firm believer in the purpose of trademarks (even if the specific laws I always have some issue with).
Sounds like something that XSLT could have solved. When in doubt use more XML.
With liability comes responsibility, which is in my view more important than progress. Otherwise we would just progress into a dysfunctional dystopian world
On the other hand, big codebases without type hints rely on their engineers remembering types of every argument. Or the functions being overly defensive.

Each to their own liking, I prefer knowing what argument types a function accepts so I don't need to think about it, and focus on writing business logic. If the function could accept more types, Id just improve it.
AYA: Product and tech community deploying solutions for the earthquake releaf
Read about their open call to the worldwide community below. If you want to support their cause and the relief of the earthquake affecting hundred thousands of people in the area visit https://ahbap.org/disasters-turkey

Live map of help calls appearing on social media: https://afetharita.com/en?lat=36.31641425239603&lng=36.05987548828126&zoom=10

A platform to meet the needs of victims with NGOs companies or individuals: https://deprem.io/

Open call to worldwide tech community:

"We are volunteers already professionally involved in the software industry.

After the earthquake in Kahramanmaraş, we marked the notifications we saw on social media on the map and announced that we would develop a software that aims to help the authorities and those in the field.

The call we made to our social media networks, where we usually share professional content, quickly resonated and enabled thousands of professionals who are experts in their fields to join the project voluntarily.

In the first days after the disaster, AFAD, AKUT, AHBAP etc. we provided the data flow to NGOs. We received individual and infrastructural support from many corporate companies and joined forces.

Currently, more than 20,000 volunteer software industry employees are on our discord server and are developing open source information systems that can assist field teams end-to-end in the event of any disaster."
> Time for a pop quiz.

I was already answering "it depends" on three of them.

> 1. Code Reuse is:

"Code reuse" sounds good, but if you abuse DRY ("Don't Repeat Yourself") then you can easily get into a mess that would have been more maintainable if it had been separate structs/classes/functions/modules in the first place, even if there's some duplicate code.

My rule of thumb is, if the purposes are different, then they should be separate things, even if the code is exactly the same line-for-line. When (if) it becomes obvious that we're always updating the code on multiple sides, then we can start considering combining them into only one thing.

It more or less aligns with the Rule of Three.

> 2. Reinventing the Wheel is:

It sounds "bad" because there's apparently "duplicate effort that you could have saved if you just used this library", but you have to remember that now you're at the mercy of this library, and unless you're paying for it, the maintainers can do whatever they want with it, including removing it or even using the name for a different thing (e.g. "tree-analyzer" being initially something related to ASTs (Abstract Syntax Trees), but then being re-purposed as an OpenCV tool to identify tree species (plants) from pictures).

And also following the wheel analogy, we can't forget that reinventing the wheel was necessary because modern cars can't use wheels destined for horse carriages; and airplanes can't use wheels used by cars. It wasn't just a matter of making an existing wheel thicker, or just using a different material; the whole build process is different.

> 3. The Not-Invented-Here Syndrome is:

The article sums this up nicely: "If it’s a core business function — do it yourself, no matter what."
I would honestly say that anyone linking the goblin behaviour to human behaviour is the racist/prejudice one.

Just stop acknowledging that the stereotype is in any way real. Treat it like a child calling you poopiface(which is their best attempt at hurting you btw).

That is the ONLY way to beat racism. Even then, racists will be around being racist. The difference is that everyone will treat their opinion the same way they treat the child calling them poopiface.

What happens next? The impact of racism is greatly lessened. That is the best case scenario because the only other method involves slavery and reeducation camps. People still murder right?

We all agree that is wrong and look at where that gets us. The people who choose to not agree end up where? Right, slavery and reeducation in a camp.
> disposing of power plant waste has never been a real problem.

Germany has been trying to find a location to safely dispose power plant waste for about 40 years or so. All the solutions so far didn't work out [1], they are still searching.

If you have a recommendation that actually works, I am sure they'd be happy to hear it...

[1] https://de.wikipedia.org/wiki/Endlager_(Kerntechnik)#Endlage...
Haxe for Unreal Engine 5
The caveat here is in the "if your team is competent", and, as much as I love some of the people I worked with, their code can be downright horrible. Sure, they write good code in language ABC, but not in language CDE, but insist that they do. Or maybe they write great code, but no documentation. Maybe they even write good code, and a lot of it, and then leave. And suddenly, you have to not only find someone who

- can read the code, and

- is good at this technology, and

- has the domain specific knowledge to work on it,

but also someone who will be part of your team.

Further, NIH only works out well when youre not under strong pressure. Someone tells you to build XYZ, and you have NIH syndrome and build dependencies yourself, you will do so under a lot of time pressure, and it will be shit no matter how good you are.
I'd go further and say it isn't the job of Western countries to fix corruption.
If Putin wants to fleece his people he can take his billions to a European bank.
A New Ocean Is Being Formed in Africa
Well explained. The analogy is on point
An attempt at making opt-out telemetry easier to decline
I made this in response to the current Go telemetry issue, where the Go team wishes to add telemetry to the toolchain. After seeing this over and over and over again, I would like to propose a standard ENV that indicates that a user does not want to be tracked. Of course making this opt-in would be preferable for obvious reasons, but unfortunately that's just not the world we live in and this way at least would make opting out once and for all easier.
I like your honest answers here. It's refreshing to hear in the tech space after a decade of wanna-be Jobs copycats. Good luck with the business.
I’ve spent around 10 years building software with and around Tcl, embedding Tcl as command processors in a distributed system —- lots of fun.

Some decades later I see that Ousterhout, among others of course, is still contributing to the community, e.g. the Raft consensus algorithm, while the steam may have left Tcl.
For an even better feeling, combine 2 spaces with a more sensible line length. Why does the Google Python style guide allow only 80 columns and 4 spaces, but the Java style guide allows 100 columns and 2 spaces? Python may be simpler than Java, but the difference feels too large IMO, and it’s time to get rid of old TTY vestiges and embrace the larger screens.
> Everything to do with colonialism = bad

European colonialism. Take a look at Wikipedia's article on Muslim-colonized Spain, and it's almost nothing but praise. The entire opening section doesn't even mention the slavery of non-Muslims that was practiced.

Under the Caliphate of Córdoba, al-Andalus was a center of learning, and the city of Córdoba, the second largest in Europe, became one of the leading cultural and economic centers throughout the Mediterranean Basin, Europe, and the Islamic world. - https://en.wikipedia.org/wiki/Al-Andalus
This is an interesting question, but a bit vague and therefore hard to answer. Some of the articles that come to mind are quite timeless, such as Schlep Blindness. Do you have some particular articles in mind that you think are outdated? Which? Why?
Disclaimer: published by the American Enterprise Institute, a centre-right think tank: https://en.wikipedia.org/wiki/American_Enterprise_Institute
Yeah, probably. I'm not so comfortable with all the whitespace in Python, but the thought of having to tap space 4x constantly while writing code is so hugely off-putting to me as an idea. I'd rather just continue pressing tab a single time, all the time, until the day I die.
They are pretty much similar, though an actual football (soccer pitch) field is not fixed measures, 90-120 m in length and 45-90 m in width.

In this the american football field seems more "reliable" as a unit of measure, seemingly fixed to 91.44 x 48.8 m or 100 yards x 160 feet + the borders that may vary.

https://en.wikipedia.org/wiki/American_football_field

https://en.wikipedia.org/wiki/Football_pitch

Personally I "convert" a "football field" to half an hectare:

https://en.wikipedia.org/wiki/Hectare

or 100 x 50 m.
How to Securely Share a File
Trivial use cases are generally trivial.
mic drop with reverb
This is actually the reason why I stated a newsletter (weeklyrobotics.com). I was finding things on the Internet that were interesting, but then I could never find them again. I discovered that limiting search to my own domain made it much easier.

I’m using raindrop.io to save all the bookmarks in one place, and then while working on them I go through the top of the unsorted bookmarks, and select the ones I will feature in the newsletter.

This still doesn’t solve the problem of heaps of unsorted links (over 1.4k after around 3 years).

If I was to do something that you describe, I would probably look into dedicating some time into organizing your bookmarks, and if taking it to the next level then I would consider using TriliumNotes for making notes and categorizing the knowledge.
Startup = Growth is timeless, as are most of the essays. I did feel Hackers vs Painters was little outdated but the book is almost 30 years old at this point.
Real world examples?

Otherwise in my experience if sounds like a duck, walks like a duck, it must be a duck; that is it’s hate speech. For example, “we do not want X near us” is not a phrase based on inclusion and might easily ”spread, incite, promote or justify hatred based on intolerance” - while “all Z have committed to killing us” is obviously valid criticism, if true, which though is highly unlikely.
I don't understand your comment. In the first sentences you seem to be in favor of code formatting (me too), pointing out the benefits, then towards the end you seem to be against it.
It's funny to imagine that a popular software would become illegal to write or distribute.

It's already a bit difficult for ISP to throttle p2p.
"Pride as well as shame" is not "ends as well as means", it is "it caused good as well as bad".
Edge has that too between Edge Windows and Edge Android... I know it because I use it.
Harlan Ellison
How do I know your comment is handwritten and not chatgpted?
I think the example is a bit grey.

In my opinion, function should list its dependencies and allow changing them. Having said that I dont believe the `is_ci` decision should happen in the function. The decision should happen at the entrypoint and it should drive which implementations the code will use for the dependencies.

I would look for the reason of rot in making the function become the merge point of multiple context, not the default values per-se. Whether default arguments make merging multiple contexts in a single function easier - code reviews might help here.

In any case, very good example
Imagine someone saying that Nazis caused good as well as bad and not seeing how that necessarily translates to ends justifying means
I used type hints everywhere in python, they are orthogonal to what I talked about.
They were bought out and turned into another version of Tinder, Badoo, etc. - there is no commercial incentive to release it.
> The process of finding a partner—and the struggle it frequently entails—is an omnipresent feature of the American cultural landscape

Ah, yes, only Americans try to reproduce.
> Incidentally this is about the same amount of coal we burn per year.

Who are "we"?

The US alone consumed about 545 million short ton of coal in 2021 [1]. From what I can tell, that's in the range of 400 million m^3. Did I get the numbers wrong? (I just semi-randomly picked a converter online as I have no reference point to how heavy a cubic meter of coal is). Because that does not seem at all like about the same amount.

[1] https://www.eia.gov/coal/annual/
I should clarify, the JS type system is unsound, and because JS is valid TS, TS is by extension also unsound. Not sure why you'd think a dynamically typed language cannot be unsound, it still has types, they're just not static.
I would change topics as: Is creating startups outdated? …making PG essays outdated.

I’m serious. 1980-2020 was the hype of an undertaped market that was personal computing. Anyone in a garage could do something revolutionary because anything was already better than nothing. Even if it didn’t respect GDPR and leaked PII accounts like a sieve. That’s always like that in the start of a Schumpeter economic cycle, same happened with cars in 1900.

Now, we’re in a consolidation phase.

Or are we still in an “invention” phase? AI maybe?
Azure is the worst possible example and is invalid as a comparison outside of to show exactly how bad it is.

AWS EC2s start within a couple of tens of seconds max. AWS Lambda, Google Cloud Functions, Google Cloud Run start within ms (Google Cloud Functions used to have a cold start problem where sometimes they'd take up to a few seconds to start, but that has been fixed).

But overall, I'd say VM platforms are somewhat a thing of the past. Nobody cares about running an OS, what you need is the things inside (your application, database, etc.) so fundamentally a VM is an abstraction at the wrong layer, a means to an end. Don't get me wrong, they're still here and aren't going anywhere, but should no longer be the go-to outside of a few specific cases - bare metal, containers and "serverless" (running on bare metal) is where it's at.
I was expecting the article to get to the end and have him invent an massive type system that allows you to pass any two types as long as your can add them together. Which, of course, is what it did at the beginning.
I agree.

I don't doubt that XUL had severe limitations, security issues, and was a nightmare to maintain. But all of those were mostly problems for Mozilla developers to deal with. Users didn't experience them, and any security and performance issues could've been addressed without scrapping the entire framework.

But Mozilla chose to prioritize developer well-being over the needs of their users, and chase some performance and productivity metrics compared to a novel browser built by a company with enormous amount of resources to throw at it.

And years later its old user base is still salty about that decision, watching how Mozilla becomes even more irrelevant, while being in denial and celebrating their current direction. It's a sad state of affairs, and a documentary should be made once Mozilla finally shuts down.
Well, if you look closer, almost none. Controversy sells, and you can become a guest speaker on the "help! In being cancelled!" tour.
It seems the problem stems from a poorly defined purpose of the API, which is to say, from this being a shitty example. Why would someone use slow_add instead of the plus operator anyway?
Your point being? When damage is done, do you have any suggestion as to who should be held responsible? With normal search results, the site or user generating it is held accountable.
Soundness is not decidability. The reason TS is unsound is not directly because it's undecidable, as any Turing complete system is undecidable, and the TS type system is Turing complete.
I agree that asking LLMs about facts doesn’t make sense. On the other hand, LLMs don’t lie precisely because they don’t have a concept of truth. They are predictive text on steroids.

The point this comparison misses is that ChatGPT wasn’t made by Microsoft, it was OpenAI and although openAI had an investment from Microsoft at the time the big investment and bing announcement came afterwards. So people definitely don’t hold openAI to the same standards as they hold google to, nor should they. ChatGPT is a disruptive new force whereas Bard is google’s desperate attempt to cling to relevance. Totally different.

Bard needs to be much better than ChatGPT for it to have the impact ChatGPT had, because it’s following on and because it comes from a massive tech leviathan that people already have very high expectations of vs a scrappy upstart that had limited public profile beforehand (even though of course everyone in tech knew about dall-E and other stuff openAI had been doing).
Maybe you have the Bypass Paywalls extension (https://github.com/iamadamdev/bypass-paywalls-chrome) installed?
If this became a frequent occurrence. Infrequently does it cost much more?

The airforce would have thousands of missiles. Assuming they have some FIFO system they would use missiles heading for expiry.

Not sure how pilot training goes but would assume they have training hours requirement. If a mission covers those hours all the better for more real experience on what they would be flying anyway.

Anyway I don't know this as an expert, but logically seems costs are largely sunk regardless of an infrequent balloon incident.
Empty lines let you split your code into assignment/initialization, logic and parameter validation, without requiring you to split everything into tiny functions.
How much hardware you can get and how cheaply you can get electricity is decided by how much wealth you control.
> without blowing up my workstation

You should file a bug report. Sounds like an über P1 because of the physical workstation damage.
Show HN: Educating kids about art using dreambooth and print-on-demand
The "don't run databases in Kubernetes/containers" predates CSI and stable persistent storage in Kubernetes, and is long since obsolete. With the proliferation of amazing Kubernetes operators and "cloud-native" databases such as CockroachDB and ScyllaDB, if anything, you need a good reason not to run your DBs in Kube if that's your primary orchestration platform.
I still remember an article on here of a person trying to get access to their Huawei router with a JTAG or something, and once inside after looking around they said en passant "weird, there is a user here with a preconfigured ssh authorized_keys file. LOL must be a backdoor, am I right?" and just moved on with no further mention of this, as did the HN comments. I still think about it.

EDIT: found my astonished comment: https://news.ycombinator.com/item?id=22694150
So why do you read and comment on an opinion piece in the first place if you dismiss his opinion in the blink of an eye anyway?
James Cameron Net Worth
>a center-right think tank

Well-poisoning[0]. If there are flaws with the surveys, criticize that.

0. https://en.wikipedia.org/wiki/Poisoning_the_well
True, under the theory that a scrum master protects the sprint and the process and that managers wont
There doesn't seem to be a precise definition of processed food.

Not to say industrial food is healthy, but it really depends what "processed" means.

Bread is processed, but I'm not sure this what it means?

There are unhealthy additives and sugar dosages and fat qualities, but it's a bit misleading to just say "processed". Home cooking is processed, yet it didn't imply eating raw food is better.
Cerutti Mastodon Site
One place is https://textadventures.co.uk/games/view/5zyoqrsugeopel3ffhz_...
I honestly can't tell if this is serious or satire.

One one hand, it looks a lot like a joke standard like RFC 1149 (IP over Avian Carriers), and the article mentions it even won a satiric prize.

But on the other hand, the example use of using this for taste-testing so that the preparation is as consistent as possible, doesn't sound too absurd.
It is interesting to compare this against a letter in the Guardian [1] by one of the chief critics of the project. They are both so keen to insist on rationality!

A quote from the original post: "They [his critics] could engage rationally, even if forcefully."

A quote from [1]: "That debate [on empire] should be equitable, rational and based on all the available evidence."

So I think the debate might be a bit more nuanced than can be gleaned from blog
posts and columns? I guess I would be wary of taking a side here without significantly more background reading.

[1] https://www.theguardian.com/commentisfree/2018/jan/03/histor...
>Or are we still in an “invention” phase? AI maybe?

I think AI will ultimately be the driver of consolidation. The innovation in software of the last 30 years was, as you said, from the ability of anyone with a laptop to dream up a big new idea. But with state of the art AI models costing prohibitive millions to train and deploy, the power has returned to the hands of capital.
Is there a Correlation between Swearwords usage and Code Quality in Open Source? [pdf]
You don't suggest any solution. Do you want more function overloading or maybe config objects?

Adding default parameters works well with existing code. It is not bad and lazy because it is easy.
Article is from 2020. Please add to title.
> There is a small mailbox here.

> A rubber mat saying 'Welcome to Zork!' lies by the door.

> check mailbox

> That's not a verb I recognise.

Ok yeah this thing could use some more NLP support.
I don’t even archive them, I mark them as read and leave them in the inbox.

What is the advantage of the archive, if you have to rely on search to find stuff anyway?