skysight-inc/HackerNews huggingface dataset:
I’m sure that being an IC for 15years helped you develop the technical sharpness that allows you to make decisions and do deep dives occasionally.

I want to be in the 70-90% of coding now because as I improve and move up I will not have had a stretch of deep programming experience.

If you can think of anything, what would you advise me to do?
There is extra complexity there depending on the call path. Given the premise of the article, you shouldn’t pass structs larger than two object references, or larger dan a Int64 (long). You already get to that point quickly. But in .NET there are also things like allocations to worry about.
Nice little idea! As a slight aside I’m not sure where the timezone / city list has come from but it labels Hanoi as in Thailand (rather than Vietnam).
I assume the issue is you self-censor more and have to do things exactly by the book.

I've never been particularly interested in "software for one person" but I've shared lots of working but not great code(years old from before type annotations that hasn't been touched much since, written a hurry, etc), and faced some embarrassment.

If I was actually attached to specific details of the style, like "Yeah it crashes on some JSON input, but I don't care, it's only meant to handle stuff from this other thing I made" I might not really like sharing it as much.
Just a PSA (not trying to harp on parent commenter, just taking their comment as an opportunity to soapbox) but never, ever, every go into a room or building that is getting smokey from something burning. It's how you N+1 the casualty/death count in a fire. Unlike the heroes in films and movies, you don't have Plot Armor.

It is incredibly common that people think they can just go back in holding their breath or stay low or cover their mouth with their clothing like in hollywood...but they take a bit of a breath, cough, and suck in lungfuls of the smoke, and are almost immediately incapacitated.

A lot of things, like PVC for example, release chlorine gas when they burn, which immediately turns your lung mucus into hydrochloric acid. All the other things in the smoke is incredibly bad for you both short and long-term, too.

The smoke is also flammable. Opening a door lets in oxygen, and oxygen + fuel + heat = a fuckton of heat, very suddenly.

I really wish that writers would suffer legal liability for shit like showing people entering a building with their shirt over their mouth - it's where people get the idea that they can so that sort of stuff.
The numbers in that video are fake, but close enough. :)

Yearly subs are 50$. Lifetime is 100$. That video shows the number of Pro users, not subscribers.
This is very nicely done. I've been a user of world time buddy and i don't have complaints but this is much slicker
Yeah. Not photos at the time but I’ve lost inadequately backed up hard drives at a time when online backups and external drives weren’t really a thing. Annoying but not something I was going to spend thousands of dollars to try to get recovered.
That number (1.1) seems low, considering the average number of lifetime sex partners for women is something like 5 or 6 and the average number of births (fertility rate) is something like 2. How can we track down the source for that statistic and figure out how it was measured?
I got the same result.

Foe those that don't know, "Bouvet Island" belongs to Norway, and is a small island in the southern hemisphere. Oslo is NOT on Bouvet Island...

I guess the time zone database does not handle this case well
Brilliant! Thanks for this.

Being someone who lives in Asia and interacts with clients(potential clients) in the Americas, I often find it difficulty to select a timeslot for a meeting. This tool will help a lot.

A Mac Version(Menu bar item) would be awesome
The thing that is taking up loads of my iCloud storage is the 'live' video version of photos where the tiny snippet of movement has a larger filesize than the photo that it accompanies.
The only way I have found so far to deal with this is to download the files locally, delete from iCloud, delete the local videos and upload the remaining still images. This is time consuming, clunky and makes me nervous that I'll delete something or lose something important in the process.
Is there anything out the that help to automate that process but where there is some level of editorial control so that I can identify and keep the handful of 'live' images that I might actually want to keep?
Must be a cultural thing because like the other commenter I had no idea what was being talked about here. When I have fries/chips they come from a deep fat frier and are served on a plate.

Kinda hilarious that people would be like "omg McDonald's is bad for you?"
C++ is definitely high level, in the same vein as Python and Julia, the only thing missing is reflection (if we ignore C++/CLI, C++ Builder and custom libraries), which with some luck might still make the cut to C++26.

Just because some people insist in using it like C, doesn't make it less higher level in available features and tooling.

Regardless of how easy it is to optimize Haskell code, even stupid Haskell code beats an interpreted language like Python. And C bindings are not Python, regardless of how the Python community likes to think otherwise.

If anything, I look forward to Julia and others to put pressure in the community to take PyPy and other JIT attempts more seriously.

Or maybe it doesn't matter and in a couple of years everyone has moved into mojo, if it is successful.
My first thought was that the pilots and crew would lose their jobs if they refused to fly.

But perhaps pilots would be less likely to get rated for Max aircraft if (hypothetically) there's a perceived broad issue with their safety? This could cause those who have a choice (stronger pilots) to go airbus.

Not saying it's the case, just pondering here.
I totally see him saying that. :-D

First, most software methodologies are for teams. Wirth himself was more concerned with the individual programmer.

Second, most software methodologies are for getting at least a constant performance out of teams. Improving the performance is a concern, too, but most and for all a constant performance will enable managers to be able to plan. That's also nothing Wirth would thought about.

Wirth would have wanted to get the most out of the individual programmer. Be the best programmer you can be to discover the best design that is inherent to a problem.

I can also see how that might be at odds with the idea of incremental design.
On the other hand, barbells are great until you realize you're missing some critical stabilizer and that is why your shoulder or glute has been hurting for years. Then you would kill for a cable machine.
How are some sea-based airplanes meant to take out the entire operational base of Houthis on the ground? Because I guess that’s what you mean by mentioning those carrier groups, i.e. US air-attacks. I agree though, it is partly a political decision because, for once, the US leaders are aware that they won’t be able to neutralize the Houthis based on sea power alone and that they (the Americans) will need men on the ground, and this is indeed a very big political no-no in this current climate.

Which brings me to one of the main subjects ignored by the article and by almost all the people commenting in here, i.e. the coordination between sea power and land power, meaning becoming aware that in order to neutralize your enemy it’s very counter-productive to rely on very independent military groups (the Navy, the Army etc), each of them with their (grand) strategy and with different procurement focuses, you need to take several steps back and to “strategize” it all together. Granted, this has always been a big problem for big industrial armies and especially for the US (since the WW2, in the Americans’ case), not sure there’s an easy fix to it. But fact is you won’t be able to defeat Houthi-like troops in choke-points like Aden or Malacca without a combination between land and sea power, i.e. actually controlling those choke-points on the ground like the Brits used to do in their emperial heyday.
I just use the clock by seense.
How can I retrieve a single key? As far as I can see, the only read api available returns all keys.
It's almost never the attractive, talented, or regularly-tested-for-STIs-and-STI-free ones that offer the sex...
True, if the lookup actually implemented this, it would be more divisions. This might partly be why it did not get implemented at all. With a sparse index (25% empty capacity) we should quickly run into empty slots anyway in most cases, and if we mostly expect hits the check would not be useful anyway.

For deletions, neighbour entries would bubble up into their correct slots to preserve that property.
Try the clock https://www.seense.com/the_clock/
Yes, I'd prefer a single column like the experience on mobile
I understand how public can misunderstand this phrase but scientifically it is clear and justified.

I looking at that page and sometimes “no evidence” means that we haven't found the evidence yet. Some people are desperate and want all the studies done immediately. They evaluate the risk if the theory is real or not.

But for scientists the desire to reach certain outcome is actually counterproductive as it can introduce bias.

1) We had no evidence of covid being airborne and then we found this evidence.

2) We had no evidence that masks help and then we found no evidence.

Two different theories, two different outcomes.

The reporters could write better for lay public explaining that “no evidence” means that currently we don't have evidence but could be found later or that “no evidence” is actually that we have a lot of evidence that is indicating in some other direction and the chances of new evidence that rejects those findings are smaller but still could happen.
Seems like the Boeing 737 MAX series of planes can’t catch a break especially after what happened in 2019.

Unless—how often does an airline company ground a particular model?
Everyone and their grandmother knows that the video is public domain now. How is it possible that Disney and Youtube don't? How are people so incompetent calling the shots?
> So you'd have 2 apps listed

Hm. I feel like having 2 apps could confuse some users. But maybe it's worth it. ¯\_(ツ)_/¯
Oh look, another tiring craftsmanship debate that other disciplines long figured out!

A, say, physicist writing bad code could equally well be building a pergola for his garden. He doesn’t really know woodworking but god be damned if he couldn’t calculate the forces acting on the beams, and then add some screws - how hard can it be! And probably, he’ll even get the thing up, and it doesn’t look too bad even. Now get a carpenter over, and they will be horrified about all the things the scientist did unusually, did not account for, or just plain wrong. ”Wall Screws you still had around?? How could you not know you’d need structural screws for that?“, he will scream.
However, the thing does roughly what the scientist supposed it should do. Until the winter, that is, when the wood expands due to humidity and cracks appear, and he finally needs a professional to fix the problems.

It’s the same story, really: It is a software engineer’s job to build quality software. A scientists job is to solve problems. There’s a clear boundary here, where the latter will deliver a concept to the former, who will eventually create a production-grade implementation off of that.
Neither does a scientist have to build proper software, nor does a developer have to do cutting-edge research.

And all the words wasted on how one of them might be doing something badly is on he wrong path.
> What maintenance? The plane was barely two months old

A plane is not a car. They don’t go in once a year to tighten some bolts and replace your oil filter. You have no idea how much is taken apart and reassembled on a regular basis.
The Kinesis Advantage is a great keyboard. Reduced pain from RSI for me.
One thing to be aware of is being able to easily remap keys or set key combos. I rarely use the native Home/End/Del keys after that, because they are more awkward to get my thumb to.
And a fantastic musical based on that grounding of planes in Gander: https://comefromaway.com/
How it's implemented in git, yes, but I don't think that's useful as a mental model.

A commit is a change -- diff -- from the previous version of the state of the repository. When I make a commit, I don't think of it as making a copy of my repository, adding my changes, and storing the entire result (though that's exactly what many people used to do before version control was common!). I think of it as storing the change that I made, and only the change.
Surely there are plenty of us who would happily (or at least less reluctantly) pay incrementally more as our storage needs increase, but who baulk at trebling what we pay in one jump.
That book, similar to most of the other "popular psychology/economics", could be a three page pamphlet that would cover all the ideas. The rest of the book is just endless repetition of that with countless anecdotes to make it seem like data and hard science.
Indeed: https://comefromaway.com/
Gas, including ethylene from oil production, is used heavily in pharma, plastics and fertiliser production. If oil becomes uneconomic to produce, the supply of drugs, explosives, plastic and fertiliser is at risk, at the very least of price shocks.

Peak oil is not really just about untapped stocks, it's about the economics of supply and consumption. We won't "run out" of oil, it will stop being viable to produce it when gasoline ceases to be so economically important.

The feedstock uses of ethylene and lng are justified by the underlying consumption of petrol, diesel and heavy oils. It's profit from waste. If the gasoline isn't used the refineries shut down. If the entire cycle has to convert to fertiliser the economics of fertiliser change, and prices change.
Like 25 years ago I dreamed of visiting NZ :-) Never been there, but still want to learn to perform Haka! :-)

Thanks for answers!

That is hell a lot of the code for one week! About software stack - how do you post job ads if you can't say what you're working with? :-)
GM robotaxi unit Cruise offers $75,000 to resolve crash probe
How much I made from my side hustles in 2023
similar here, except I'm in PL
I might not have used `goimports` before. I read now that it also auto-imports when you uncomment. That's neat, but it could auto-import the wrong thing, and I'm not sure how it would handle conflicts. It still seems worse than just ignoring my unused imports. Unused imports should be more of a linting thing? If the compiler knows its unused, I don't see why it can't just ignore it.
> a.) The -900ER has exit doors where the -9 has plugs blocking off the doors.

The -900ER can and has come configured with the exact same plugs in those doors.
Coverity used to suggest using strncpy instead of strcpy for a while, which if you blindly follow leads to nasty errors. If someone wonders, snprintf was the correct alternative at the time, I have no idea if the C standard has anything better now.
>> With a full-featured language specific IDE, it is very easy to navigate through even complicated spaghetti.

If you need a fancy IDE to navigate around code in order to understand it, that might be crappy or poorly organized code.

Not a dig at nice IDEs, just code that requires one to navigate and understand.
ARM, occasionally running x86 windows software
This is one of the reasons that 23andme has warnings about dna matching to relatives

https://theconversation.com/what-are-the-chances-that-your-d...
I am avoiding flying Boeing ... as if my life depended on it
Awesome tool! Some minor feedback for what it's worth - after moving the slider bar to change the time, I went looking for a button along the top something like "Reset to Now", and it took me about two seconds to realize this reset button was in each time widget frame.
This is a good reminder to give keys only to huma s and in case of e.g. backups use specific users and limit the commands this user can access on the remote machines via jails or the authorized key file.
>Multiple/virtual/high-on-crack inheritance
7 to 14 stack frames composed principally of thin wrappers, some of them function pointers/virtual functions, possibly inside interrupt handlers or what-not
Files spread in umpteen directories

Scientific code? You just described 99% of "enterprise" java code above.
Alaska Airlines grounds 737 Max 9 planes after window blows out mid-air
Zrok might be the closest?
That plane was literally at their OKC facility for maintenance on Dec 31, so… yes?

Planes are not cars. They don’t go in once a year to change the oil filter and tighten a few bolts.
> A mandatory formatter might haver helped a bit

Lisp code was data and could be formatted a "pretty printer". That exists since the early 1960s.

> LISP is interpreted, not strongly typed, so definitely another class anyway.

Some informations about the early Lisp compilers:

https://retrocomputing.stackexchange.com/a/12279

> not strongly typed

Lisp was not "statically typed", but was often considered strongly typed, when it was type checking at runtime. For example if the Lisp system would get (+ 1 'a) for evaluation, it could at runtime check, whether all args are numbers. If not -> error.
Looks very slick. Using this on an ipad. A few comment... Moving the time slider also moves the zone widget. It would be nice if night/day is indicated on the sluder, maybe using subtle colors. Reason: The main reason I would use such an app is to know if my clients are awake.
Does that really matter all that much, though? Often enough, I make a bunch of changes to a repo, but want to split those changes across multiple commits. When I'm staging changes before I make a commit, I'm doing so by looking at the diff (via 'git add -p'). By that point I don't really have any memory of how I made those changes; I don't recall details like "I deleted this line, and then typed this other line in its place", or "I deleted these characters and replaced them with these others", or "I added these characters to an existing line". Ultimately, when I'm looking at it, the diff that git generates is the change, to me.

And yes, I get that there's no "the" diff; git could change its algorithm between versions, and the diffs between commits might change (even though the end results of those diffs would be the same). But ultimately I don't really care about that. My overall thoughts about the change are qualitative, and are represented by what I put in the commit message. Whether the diff is represented as "3 deleted lines, then 4 added lines, and finally 1 deleted line", or "2 deleted lines, then 4 added lines, and finally 2 deleted lines" (or whatever) is pretty irrelevant to me.
The frontier was, in large parts, already full of people. Or at least had been until they died of smallpox.

Then we spent the next 150 years conveniently writing them out of history.
It is more common than you can think of. Especially when people have a “base” both in their departure and destination locations.

For example i know a couple living a long distance relationship. They both have enough stuff at each others place so that they can travel very light.

Now of course it sucks if you suddenly get stranded in between, but it is not life threatening just an inconvenience. And from then on it is just a tradeoff. You can gain a small bit of regular convenience for the cost of risking a rare but moderate inconvenience.
It was not a "window and chunk of fuselage blowout" but a safety door blowout. In case 737MAX-9 is configured with maximum possible seat count then additional safety door have to be added.

On lower seat count configs (like on that incident flight) those extra door are still present but locked, hidden and not visible from inside.
Junkie can. They will hit you first and then figure out what is in the box.
Why do people with no insight write walls of text on things they don't understand?
I use blender often and extensively and while it definitely has some frustrating rough edges, it's worth its (proverbial) weight in gold. It makes so much accessible for indie creators stemming way beyond games and cinema.

I don't really know what changed over the last 2-4 years or so, but it feels like the quality has improved faster than it used to, and in greater strides.

Really proud of the project.
Which one is ridiculous? It seems regardless which part of the world you live in at least one is applicable. For me it happens to be war, for others it may be natural disasters or civil unrest. Tell all the raped/burned corpses in Bahmut they are in fact still alive and their existence is capitalist propaganda.
This is a brilliant tool. Thanks for building.
Someone from Portland is giving away a 2000sqft train layout (train models)
Please, Stan the Man will blame the pilots, the passengers, the Wright brothers themselves before admitting Boeing screwed up again. Accountability left that company years ago.
Not cursed, just poorly designed. They needed to go to clean sheet design.
https://nitter.net/avgeekjake/status/1743462030366085387?s=2..., it appears to have been the mid-aft door (this is what it usually looks like: https://nitter.net/jonostrower/status/1743466899869147549?s=...)
Only once I needed the ebook of a huge book and when I contacted the author he sent me the download link. Awesome guy.
Story aside, I believe is 100% greed from the publisher. The authors don't usually get a lot of profit from it and also the general profit of the book market is very low (or at least in Argentina and Spain)
If you drag it out of context, sure the first example looks more clear. But there is a difference between Boolean logic and arithmetic, and as soon as you use proper variable names, that becomes evident:

(isAdmin || (canReadDocument && canModifyMetadata)) && accountIsActive

Using parentheses makes the code a lot easier to understand here. All these variables carry state with lots of subtleties. Figuring out the implications of all the different cases becomes a lot easier when the code clearly tells them apart.
If you do

git add . && git commit -m wip

then git first checks which files have changed, taking the shortcut of checking if the files mtime is newer than the current index.

This is basically the speed of

find .

For files that are changed it creates new trees and store it in the object store, this is cp + SHA-1

Then it takes all that metadata, comine it to one, add it to a commit message and it's done.

Doesn't take a lot of time to do these things, but it will for very large files.

Going the other direction is fast, reverse lookup all that metadata and copy the contents back into the working directory
A fun particle animation app
Sounds like a lot of fun. I work as Platform Engineer so I’m also on call for about 30+ a week sometimes. The only thing I don’t get to do is programming a lot, I mean I do write some Terraform, YML, Go, scripts etc but not the type of coding that you spend a month building something rather than small programs to automate and facilitate our ops work.

I want to shift from ops to systems programming and find a completely new role.

I’m really good at the debugging and diving into new codebases, but companies don’t like the fact that I don’t really have a previous full time coding role.

Happy to ear how things are going for you and how you have grown technically.
Years ago, I was a teaching assistant at my alma mater's introductory programming course, which taught C. While debugging was not officially part of the curriculum, we made sure to offer a written, step-by-step tutorial with screenshots for people on how to do debugging using our officially-suggested development environment (which was Borland C by the way). We would explicitly mention the importance of debugging when introducing the first homework assignment, and refer students to the tutorial.