skysight-inc/HackerNews huggingface dataset:
Taking a step back, a number like this suggests that even a tool like Copilot is optimizing the wrong thing.
Depends a bit what you mean by API. For APIs I usually don't log anything, it is the responsibility of the user to provide logging. Otherwise you end up with countless logs from sub modules and probably many different logging frameworks. But not logging anything does mean that the API needs to supply important information in its responses to user calls. There are exceptions though and it depends on the type of API. The typical web API is already one in most cases.

Whether you just throw an exception or handle it yourself and package any error into a neat error object has advantages and disadvantages. Disadvantage to just throwing an exception is that the user might not get a sensible context. The call stack might not mean much to the user if he doesn't know about internal workings. But the advantage is that there is a uniform way of handling exception. The user immediately knows that something went wrong if an exception is thrown somewhere on a lower level. If the API handles the exception itself, it might be able to add the relevant information as to what caused the error, especially for common errors. In that case the user needs to know how to parse the error responses of your API though.

You should never just let the program run after it encountered an exception without informing the user. A log cannot sensibly inform an application about errors at runtime and this "swallowing" of exceptions is much more difficult for the user to handle or even to know if something went wrong.

I think the only rule of thumb is really that it is primarily the responsibility of the user to handle error and log application messages. But when I think of API I think of interfaces to specific devices or software, there are completely different rules for web APIs. Those cannot just throw exception to the user anyway. They also often have many users within one execution environment, so internal logging can certainly make sense.

Another topic is that error != exception and different rules might apply.
Nobody is saying this is a metric that should be pushed up as far as possible. But it adds some data to the discussion of how we should organize ourselves as software developers.

The 'optimal' amount of coding per working day probably depends a lot on the circumstances, but I'd hope it to be substantially higher than 1 hour in most cases.
Mozilla Translations (Web Version)
The Autodesk File is fabulous. Timeless advice in many places, alternating with interesting glimpses of the early software industry.

For that matter there is a bunch of interesting stuff at the fourmilab site.
Ohh it's nothing against online play, except most of the article that complains about online play.

You all want to wax nostalgic about LAN parties when most of the time everyone was playing pirated versions of games and burning copies of copyrighted content and p*rn onto CDs.... Them's were the days.
> Why should women do the work of making HN more attractive to women if they could just go elsewhere

I didn't say that they should do all of the work. But going elsewhere would diminish everybody's experience. Segregation is always the worse option. If the problem is that we're missing a specific perspective, the solution in a vibrant community cannot be to just accept that and let things calcify.

> HN doesn't actually show any indication of willigness to change

HN is not a monolith, this is unnecessarily reductive. Since this is a collaborative effort, it's a bad idea to drive progressive people out and cede the ground to conservatives.

> all you're asking of women is to grit their teeth and endure it.

How on Earth does this reflect what I said?
I think I would find myself really frustrated with this workflow. I have some days where I'm reading documentation more than anything else. I don't write that off as not time well spent.

Same for meetings, not a lot but planning meetings, implementation discussions etc. That is time that should be considered too.

5 hours pure coding per day is just... Not healthy in my opinion. But each to their own.

> If people are interested I can put together a post about the process.

I think that would be good as it might clear up a lot of questions.
Is this satirical? If not, I hope you work for yourself.
Our takeaway: Our findings suggest that developers frequently face constraints at work that prevent them from finding uninterrupted time to code.

No shit, Sherlock - though this is a very shallow reading of what a developer does or wants to do, or the variety of personality types out there.
Theotown – City building game (Mac/win/iOS/Android; plugins)
Photopea isn't open source though.
That people live in such a fantasy land is concerning when energy production regulation is about to plunge the western world into full managed decline.
Not so sound too negative, but to me, this actually seems terrible. Because somehow any work not behind the keyboard coding is not considered work by your standards.

I don't think this is being honest. This is choosing some arbitrary metric and sticking to it, and very much Goodhart's law in practice.

If your job takes you away from the thing you want to be doing, you should try to change your job, not work 6-day weeks or 12-hour days for your employer.
>> I've been doing this for three years and I'm incredibly proud of what I've been able to accomplish by keeping myself honest and holding myself accountable.

Honest question. Why exactly do you do this? Just pride in your work? Or do you it makes you more effective, less stressed etc?
Problem for me, probably because I'm inexperienced developer is that no matter how much I plan things will change.

So for me it is better building multiple small things and then wiring them together.
Only after this im capable of doing any realistic implementation planning
A "Fresh prince" moment.
I think I should have said "my own proxy" rather than wireguard. I just happen to access it via wireguard. Though I did want to point out that any vpn proxy would work.

The Multi Account Containers extension has an Advanced proxy settings at the bottom when you go in to Manager Containers. I have a go based socks proxy running on docker somewhere. I enter the details for that there. Syntax is socks://ip:port .

I have two socks implementations installed. I A/B test them sometimes but they seem to be basically equivalent in terms of performance.

https://github.com/net-byte/socks5-server

https://github.com/ocassio/go-socks5-proxy (old but works fine)

Note: If you're using a chromium based browser you can use the excellent SwitchyOmega plugin to do this much easier and with more functionality. No containers of course.
But that's the same if you have multiple billing contacts. What is required is that the responsibility in the group of people that receive those notifications is clear.

Having multiple people that receive billing notifications is strictly better than having a single person - what happens if that person is on vacation, sick, overloaded? No one even has a chance of catching this. If at least one other person receives those increasingly important emails, they at least have a chance to catch this before it breaks.
I think it's pretty difficult to make conclusions about a developer's time based on a metric from an IDE. My coding time varies day-to-day and week-to-week. If my team is in a planning cycle, I may not code at all for a week or more. Or, if I'm investigating an issue from the field, I may spend a lot of time in a debugger, but I may not touch code for several days.

That said, as a lead engineer/subject matter expert for my employer, at least half of my days are spent doing many non-coding things.
Or... maybe reduce our defense budget nationally. We have endless funds for wars and bailing out large corporations. We don't need to raise taxes to accomplish this.
I don't want to be too confrontational, but it almost feels like you're doing something wrong. 5 hours of typing a day every day? That sounds unfathomably high.

Could you detail the kind of projects you're working on?

Also, are you a consultant or working for your own company?
With all due respect, I'm struggling to imagine what you could possibly be coding that needs 5 hours of "hands on" time every single day - from my experience most of my productive time is spent thinking about what to code & reading code, the actual "hands on" time is fairly minimal.
Some random past discussions around this:

https://news.ycombinator.com/item?id=25253471

https://news.ycombinator.com/item?id=26447239

https://news.ycombinator.com/item?id=28337112
Twitter is hands-off when it comes to content moderation? What?

Not even people on Twitter believe that, according to a poll that Elon Musk ran.
So, as someone that has studied classical music I have this to say: No way in hell that he went through one semester in one day of music theory. It is in many ways a craftsmanship that has to be practised. He had probably acquired most of that through practising without knowing it.

What it tells me is that Berkley didn't properly divide people into skill level after the entrance exams.

I have studied classical music in 2 countries and have been to many different schools. Music theory and solfege has always been divided by skill. The people that scored the best at the entrance exams do the base level stuff plus extra fun stuff in one semester, whereas the people that score the worst do it in 4 to six semesters.

My solfege teacher told me there is usually two people every year that wants to do the final exams without studying, and most fail.

For what it is worth, it is an elitist field of study. The best ones get in. And the best of those get a job.
Those are US figures. The North American EV market is about one third the size of the European market.

Here are some current European sales percentages:

https://eu-evs.com/marketShare/ALL/Groups/Line/All-time-by-Y...

Tesla comes in 4th.
Absolutely not. Ridiculous regulations would beg to be ignored and summarily ludicrous by common folks.
The climate is what it is. But its hardly to the level that your actions call for. No. Just no.
Exceptions don't deal with something, they cancel everything else that was scheduled to run after.

If you catch an exception immediately (in the calling function) then that's immediate handling. But then there wasn't really a point in using an exception vs returning an error code.

Exceptions mainly allow you to be lazy, and work well with systems that have some introspection how to cleanup themselves: Garbage collection, RAII, OS processes...

I'm not convinced that relying on these systems scales well to complex applications. And maybe I'm doing something wrong, but I don't think manual error handling is a big hassle if you put some thought in structuring the system.
Usenet is still "dead", eh?
I don't think it's devops, per se; that just adds another "not coding" item to the list. Anyone in the role of a "Software Developer" will wind up doing things that aren't coding; because coding is only one component of software development. A lot of times, it's one of the smallest components.
FYI, they discussed this report with its author on the DevOps Paradox podcast:

https://www.devopsparadox.com/episodes/you-probably-code-les...
Totally illegal here. If you have a more expensive price at check-out, than marked where the product is located, it's free up to $10.

https://www.opc.gouv.qc.ca/en/consumer/good-service/goods/fo...

The Price Accuracy Policy allows customers to be compensated in case of a pricing error at the register. If the price of the article you are buying is higher at the register than what was shown on the shelf, the merchant must:

give you the item for free if the item costs less than $10;
sell you the item at the shelf price, minus $10, if the item costs more than $10.

So pricing could change at store close, but it'd be risky to change otherwise. And of course, it should* be a problem. You pick up a product, get to cash, and the price sneakily changes and you don't notice? Uncool.
While the OSI doesn't particularly like the Unlicense, they say

> There was some discussion about the legal effectiveness of the document, in particular how it would operate in a jurisdiction where one cannot dedicate a work to the public domain. The lawyers who opined on the issue, both US and non-US, agreed that the document would most likely be interpreted as a license and that the license met the OSD.

And for that reason, the Unlicense is an approved open source license.

https://lists.opensource.org/pipermail/license-review_lists....
You seem to be suggesting that our homes become airtight enclosures with filtered exhausts. Perhaps even an airlock to get in and out of the house.

No outdoor barbecues, no campfires. What's next? No farting in the park?

No thanks.

I'm all for regulating industries, automobiles, etc. and to some extent what kinds of chemicals and materials can be used in the home but don't come telling me that I can't open a window to ventilate my house.
Coffee and Pastry Shops Avoid Inflation Backlash Punishing Restaurants
I like your approach. It's a good way to find a single solution. Do you think it can be expanded to find all 538 unique solutions that are found within the words_alpha.txt file?

The competition that exists around Matt's original podcast, and later his YouTube video, has the following rules:

The full words_alpha.txt file must be read in
The solution must be generic in that it will work on a supplied set of words
The solution must be complete in that it finds, at least, all possible unique solutions from the input set.

The fastest solutions out there today are capable of reading in the file, and finding all 538 solutions from words_alpha.txt in around 0.002s for multiple threads, and around 0.010s for a single thread.
Media reporting on climate change is often dramatically wrong, whether it takes the slant of “everything is terrible” or “things are actually great”.

Go read how the IPCC reports are authored, you’ll hopefully develop some faith about the accuracy of what is in them. Then go read the summaries for policy makers to get an idea of what they say. You’ll see that most of what both sides are saying is in there is not what is in there.
Yea because if it weren't for these people, Germany would have invested in Nuclear or secure better natural gas than from Russia (Algeria?). Nord Stream 1 was hastily negotiated with the devil. Devil then invaded Crimea to secure the oil fields. Then 8 years later, they did it again with Nord Stream 2! The devil used it as a leverage to take big chunks of Ukraine. Trump warned them (as much as I loathe the guy, he was right, unsophisticatedly but eerily accurate): https://www.youtube.com/watch?v=O24rulfjA8U

Environmentalists also invested in Solar energy in Germany. It has to be the dumbest idea ever, solar power in Germany is like 10% as efficient as Western USA. It is one of the worst places in Europe to stick solar panels. https://en.wikipedia.org/wiki/Solar_power_in_Germany

In general, Environmentalists do not understand the difference between gardening and farming. It's the Greta crowd that's going to lead this world towards mass starvation of humans. They have no solutions, only blind clueless activism.
Push against an immovable wall for long enough and you'll end up tired, no matter how much agency you have.
Some of us retire, which can happen at any age. Perhaps you can use your skills and relative financial comfort to, say, work for non profits and others needing web development but unable to pay big bucks. This might let you do what you like in service of better causes than data collection. Or, you can try to specialize in something niche, something that does not attract the madding crowds. Chemical or physical simulation might be examples of this. This would let you make something in a tool sense.

In the past, you might have had to move for work but WFM has changed things. So, think about the things you would like to do or things that should be done and figure out how you can do them. You could always go back to taking money from the Man.
When 99.99% of cars are EV the common man will not care about the rare ICE car that comes along anymore than he cares when he sees the DPW driving a backhoe down the street.

By the time the long tail of "people driving old junk" is narrow enough for banning ICEs to be politically palatable the bulk of the people screeching about it now will have picked up some more pressing issue and be caring about that instead.
If dolphins are used intercept torpedoes, what would camels be trained to do? Actually, can you train a camel at all? All I can think of is badgers finding and disarming IEDs by chewing on wires.