skysight-inc/HackerNews huggingface dataset:
https://github.com/sveinbjornt/Sloth/blob/master/sparkle/upd...

I haven't reviewed obj-c code in over a decade, but I do know anything running with root authorization needs to be scrutinized carefully. And seeing blocks of code copy-pasted from stackoverflow, references to a 10 year old operating system, use of SIGKILL instead of the proper SIGTERM, for example, does not exactly inspire the necessary confidence.
Except that is the exact reason why I would pick C++ instead of Rust, the Java, .NET and JS ecosystems are written on top of C++, and the libraries I might want to write bindings for, are also written in C++.

Adding another language in the middle will only complicate our toolchain.

Regarding Python, with the pressure from Ruby, PHP, JS and Julia JIT compilers, they will eventually get more serious about JIT adoption, and then there is ctypes of OS APIs.
> Relying on short circuiting to avoid side effects or improving performance meaningfully is pretty shaky.

You've got it all backwards. Short-circuiting is not used to avoid side effects. Short-circuiting is used to avoid needless calls to any predicate, which can have and often do has side-effects, and if it doesn't have today it might have tomorrow.

If you don't call them when you don't have to, your code is in a better shape.

And let's not pretend that unconditionally macode with side effects when you don't have to is a good practice.
> the syntax is too much for me to pick up without serious time investment

Umm, do you know any language with simpler syntax than Lisp has?

For me, the main problem with Lisp is that there's so many Lisps. I think I philosophically prefer Scheme over Common Lisp, but then again there are so many Schemes to choose from!
That's exactly why it's written this way -- to devoid the reader of any prejudice
and humanize this tragic story -- because it is tragic. If it was written "normally", like "Elvis' Grandson Ben killed himself, and here's why..." some people might hand wave it away as just another "poor little rich boy story". This is also probably one of the reasons for his suicide (IMO of course). I mean, he's Elvis' kid he couldn't possibly be unhappy, right?

As to whether or not this is appropriate for HN, I'm also not so sure... but I enjoyed reading it.
Let's go with the dictionary one for starters: "the state of being aware of and responsive to one's surroundings.".

The rock is neither "aware" nor "responsive". It just stands there. It's a non-reactive set of minerals, lacking not just any capacity to react, but also life.

Though that's overthinking it. Sometimes you don't need decicated testing equipment to know something, just common sense.
> Peyton added that even though the update to the DynamicSource software had been tested over an extended period, the bug was missed because it only presented when many aircraft at the same time were using the system.

That seems horribly wrong to me. I can understand software being slow under load, but being wrong under load sounds like a horrible internal architecture problem.
yes, I agree. Doom emacs should be played like that
Libgen has the 1897 and 1904 in German, the 1904 in English, second to last result on this search page:

https://libgen.rs/search.php?req=Davidis&lg_topic=libgen&ope...

Compiled and adapted for the United States, according to the
Thirty-fifth German Original, with Weights and Measures
in American equivalents, and an Appendix of
Selected Recipes of Peculiar American
Dishes
Embracing also a Topically arranged List of over 550 Characteristic
German Dishes in German, with English translation,
giving page where these Recipes can be found
; also a Vocabulary of Culinary Terms in both
languages, with full table.
No, the vote is about banknotes and coins (as the headline states)
The residents can simply stop doing business with that particular freight company. Now that they know they operate unsafely from suffering permanent damage from chemical poisoning, they can make an informed decision on the free market.
Rust supports object oriented programming, and so does golang. In the case of the latter, it’s a fertile ground for all manner of bugs, performance issues, and weird behaviors thanks to the duck typing approach they chose.
It is the other way around: enumerations are special cases of algebraic data types with no values attached.

In algebraic data types we have a sum (union) of a labeled cartesian products, and each product may have arbitrary number of values:

data MaybeInt = NoInt | AnInt Int

data MaybeItsPair = NoIntsPair | AnIntPair Int Int

The first constructor in both data types is a labeled (No...) product with empty number of value to apply cartesian product to.

The second constructor in both data types is a cartesian product: in first case an Int and in case a pair of Ints.

Of course you can have more involved data type:

data Expr = Void | Const Int | Var String | Bin BinOp Expr Expr | Un UnOp Expr

A label, two single value constructors and much more involved operations as well.
Curious about the actual bug:

> the update to the DynamicSource software had been tested over an extended period, the bug was missed because it only presented when many aircraft at the same time were using the system

> the data was on the order of 20,000 to 30,000 pounds light. With the total weight of those jets at 150,000 to 170,000 pounds, the error was enough to skew the engine thrust and speed settings.

Multithreading/contention issue? But how would that alter the weights?

> The software code was permanently repaired about five hours later

That's surprisingly fast, isn't it?
Read some NTSB reports for dry reports

Or CSB videos on YT

Or some TV shows like Seconds from Disaster or that Air crash one.

or listen to industrial engineers when they do their simulations and Fault trees and HAZOP shenanigans

there are a lot of publications and books and even university courses about how to study the functional safety of systems.

However, all of these dry "remedies, suggestions, costs" only make sense when you can have the "stump speech" about what you want. You need to discuss what industries you want, and what risks do you accept. When you study a risk, you can avoid it (no go), transfer it (mostly to insurance companies), mitigate it (with these new practices and technical solutions you called for, to reduce frequency and/or impact) or accept it (all green).

The articles underlines how the current risk of derailment was known and accepted by the Department of Transportation. There was nothing more to do technologically, if the risk was accepted as it was.

If you want a remedy or suggestions, go see the government and the companies to tell them chemicals plumes aren't acceptable when they happen every few years. Technical solutions will come, if they want to continue to operate trains but more safely.
State machines in the type system to check they’re good at compile time! <3 Idris
This is a common pattern.

The issue is not really the pressure, even if the pressure itself can be extremely toxic over a long duration.

The problem is the lack of satisfaction from personal growth.

We're all built with an internal feedback loop, inherited from our complex evolutionary path, this feedback loop is mostly sensitive to change.

It is impossible to live a happy life without positive feedback into this loop.

It does not matter how rich, powerful or famous you are, all of that is quickly integrated to be "normal", we need constant improvement or at least fluctuations with some positive slope.

Hell is being born with everything and slowly losing status, friends, money and hope.
Something about "I've been around since 2009" is hilarious. Evokes "I'm 14 and I am very smart" vibes
They may have thought their test coverage, covered it adequately - who knows, the success was on Alaska's part.

Also process, procedure and more importantly people are always the last line of defense against failure.
> Most people have their phone as the center of their information technology worlds.

Those people are foolish. Putting all your eggs in one basket and then whining about the consequences is a sign of bad character. Besides that it’s pretty irrelevant to the topic at hand, which is whether fingerprint readers are an acceptable means of securing digital transactions. In fact you seem to be suggesting they are, by proxy.
> You say you need a distro which to me implies you want packages and a repository and updates, installation of packages on the fly, etc. But you also say you want to make a final image with nothing extra except your main apps, which makes me think you don't want a distro.

Isn't this basically what you get when using any minimal install type distro as a base, and also when building Docker images via Nix or similar?
The titles on ChatGPT when good associate it with OpenAI. When it does something faulty, it is Microsoft's AI.

I am not defending either Microsoft or ChatGPT. But it definitely feels like an agenda driven campaign of efforts to devalue this. I won't mention companies, but i have my suspects.
Lazy and clever can be very useful; sit around thinking about the potential break-down of a problem into aspects that generalise broadly and those specific to the work being done.

Spend the time that needs to be spent implementing the generalisable aspects, so that the work never needs to be repeated.

Implement the problem specific aspects (with minimal code) against those changes (and if any similar problems come up in the future, the changes can be made in minimal time and with minimal work).
Nope, Google is fine with Java and C++.

Go authors always disliked C++, and got a manager that allowed them to work on their toy language, which eventually became Go.
Absolutely. There's 0% these employees weren't consenting to fingerprint scans when accessing their paystubs. My question is, if they didn't consent to having their fingerprints collected, how did they have the fingerprint to begin with? I'm not reading anything claiming the employees were held down or that prints were secretly pulled off of surfaces. They very obviously consented. Below are the law in question and the opinion. Dissent is interesting.

1. https://www.ilga.gov/legislation/ilcs/documents/074000140K15...

2. https://ilcourtsaudio.blob.core.windows.net/antilles-resourc...
I don't know who is opposed other than those that want to pretend that pregnant transmen don't exist.
What if i print private keys in qr codes and call them banknotes
Agree broadly that this thread has gotten too long off what was basically a joke, but!

Please measure before you make changes to your maps for perf reasons. Yeah this forum all knows their big-O, but B-tree maps like std::map often perform better than hash maps on real-world architectures.
> in short circuit conditionals even more so.

I'm curious, what leads you to believe that skipping unnecessary calls to functions with side effects is something to be avoided? Do you believe that unconditionally calling code with side effects specially when you don't have to is something to be desired?
wow, I have not seen much of the errors that you have come across! That is good to know about.

In regards to freely available information about security, are there other resources you can recommend? Something that I find myself constantly being asked is “how should I protect my code” from engineers. I really fail to find much better freely accessible content in one place than the content available on OWASP.

Not that this would help the quality of the content, but maybe ML can help here? I know a lot of very skilled security people who post on various places around the Internet and an ML search engine to help you find relevant security material might be helpful?

At the company I work for, we are building an ML chat bot that would allow you to ask questions about security vulnerabilities and get linked to the relevant material to help you make your own determination about relevancy.
Microsoft has too many billions of dollars to count. Maybe they should be the ones to be held accountable for upholding community standards, not the free volunteers.
Of course data was used, but you may have the order of operations wrong; execs often make the decision before the data.
Same reaction here... wow that is a rough looking language. Then again I always disliked those kinds of languages like Clojure. The syntax is just too much for me. I feel like if I used it, it would atrophy my skills in other more traditional languages.
They might be healthy... if you could actually buy them without a load of fucking sugar added.
I'm not sure exactly what you are asking but it may be helpful to know that Switzerland is a direct democracy.

https://www.eda.admin.ch/aboutswitzerland/en/home/politik-ge....
Eye tracking is useful if you can or want to sit in front of a desk. I'm concerned at the lack of diversity in eye-tracking manufacturers. Tobii is the only commercial brand I'm aware of or that Talon supports and initial setup requires Windows (I don't know if recalibration also requires Windows).

I haven't used eye tracking but I'd imagine that commands could be given in the short time that an on-screen element is focused... and the rest of the time the cursor jumps erratically.
I edited my message after you replied with a note about ChatGPT. I've had ChatGPT cut itself off mid-response before, which I think may indicate that they're calling the moderation endpoint mid-response as opposed to the way Bing does it, which is just once at the end.
They’re two different LLM implementations.
But then there are cache locality issues, etc. Algorithmic runtime performance in practice rarely matches the basic big-O analysis taught in CS classes.

Case in point: for small cardinality data in practice it’s often (or at least occasionally) faster to use a linear time search algorithm on a fixed length array than to put it, say, in a tree, map, etc. that is big-O “better”.
With Boeing's recent 737 family history (MAX fiasco, etc), it's very concerning to see "software errors" still happening in operation. :(
Well, if the nature documentary I saw is to be believed, they eventually get tired of the plant not acting quite right and go find a real female fly. (IIRC it’s some sort of orchid)

Which I guess makes evolutionary sense - you want to use the fly for pollination, but you can’t be so sexy it completely gives up on procreation, or you run out of pollinators!
Related, one technique I like to use even though it's more verbose is to replace booleans with enumerations. For instance, maybe you have something that could be selected or not. I generally think instead of having "true" be selected and "false" be not selected, it's better just to have ListItem::Selected and ListItem::Unselected. That way when you pass things to a function, instead of reading a lot of true/false things in random places, you can see "ListItem::Selected" instead. Small upfront cost for a lot of readability down the line.

Typescript is nice for this in that you can use strings but enforce that they're in some set.
I don't know where the bagel belt is, but I'm going to guess it's New York. If that's the case, the bagel shops in San Francisco actually open at the same time. I call this the EST theory of everything.
It would require some modifications I guess. Switzerland has a relatively long history of direct democracy and citizen participation in politics, and for this reason people do not fall prey so easily to misinformation like they would in other countries where referendums are held that do not have people prepared for it (see Colombia, the UK, Chile, or even California).

The key to direct democracy is citizen engagement and in Switzerland the government actually does a lot to support informing citizens about what they're about to vote.

I think for other nations it might be better to look into citizens assemblies as a next step in empowering democracies because citizens assemblies are very good at achieving public policy that aligns with the general population but in an environment where it's much easier to control for misinformation. In Ireland these were used in conjunction with direct democracy (referendums) as part of the process, in that, the assembly explored the question that would be asked in the referendum and gave a sort of "official opinion" on it. This was then widely distributed as part of the information campaign that the government did for the referendum. Polling suggests that a large part of the population that voted on the referendum was aware of the resolution made by the assembly, which is a good sign. And yeah, ultimately, the results of the referendum aligned with the assembly. The issue was abortion and it was voted in favor, consider that Ireland is a very religious country so it was quite a contentious issue.
That is a good question, but unfortunately OpenCL was also a total non-starter for my case. We were adding GPU support to an existing large scientific compute application and wanted to minimize code duplication between CPU and GPU (so single source solutions like CUDA were far more convenient).

Additionally, while most users are on Linux, where the OpenCL implementations are fairly reliable, we also needed to support Windows. Unfortunately on Windows AMD's OpenCL implementation is also terrible. It is extremely buggy and the tooling is outdated. I'd spent so many frustrated hours debugging OpenCL back when I was an AMD shill, only to eventually discover that the runtime was bugging out. Occasionally it would even turn out that the bug had been reported on AMD's dev forums years ago without so much as a response.

I think that to an extent NVIDIA's lead is well earned. The CUDA ecosystem has been very comfortable to work in, the support tools have been amazingly polished compared to what I had been used to when trying to stick to "open" things like OpenCL.

That said, I think that Intel is likely to finally reasonably compete with NVIDIA. While their hardware still has a ways to go, they seem to be putting a large amount of effort into catching up on the software front.
It occurs to me that it is unlikely that the disgruntled employee can afford the the same range of legal representation that Musk can. It also occurs to me that the Musk could find the discovery process most unpleasant.
Which ‘community standards’ do you mean?

POSIX?
My claim was that normal people preferred not to write any programs at all in any language. As to programmers, obviously there are smarter ones and less smart ones and to each his own.

Here, a weirdly misplaced smiley back at you :-)
Do you realize how easy it is to get a person’s fingerprints?
I don't see hypocrisy, I see disingenuous criticism. Driving a Tesla is objectively less bad for the environment than driving a Range Rover. So if you buy a Tesla, you are using less carbon than your peer rich folks.

But if you are rich, you by definition command a greater share of society's resources, which means more energy and more carbon emitted. You live in a bigger house. Plus a summer villa and a mountain chalet. And a large formal garden with thirsty plants. And a pool. Of course you have more furniture, more clothes. Cars and boats, maybe a plane. You play sports requiring high-tech equipment and expensive-to-maintain facilities. You travel for leisure, and when you travel, you pay to have lots of elbow room, spending carbon to transport empty air. You go in person to plenty of concerts, conferences, matches, performances and get-togethers. You eat an enormous variety of fresh, healthy food which is transported, stored, and prepared in exceedingly inefficiently small batches. Et cetera.

The fact that rich emit more carbon than the poor has nothing to do with the fact that the rich are evil or hypocritical, but simply with the fact that they are rich and spend more money. If you were rich, you would emit more carbon too. And if you lined up billionaires against the wall, confiscated their billions and gave them to the poor, the now less-poor would immediately start emitting more carbon.
Well, you say that works, but basically nobody who programs creatively writes code that way. People who like functional programming mostly writes compilers or similar processing throughput systems, you see it a ton there, but you barely see it on the other side of the programming landscape such as game programming.

So, you say it works for you, but basically every example of the things I talked about are done in a very different way than you describe, so unless you have programmed some very impressive games I would say that the data strongly supports another style of programming than you suggest here. For compilers or parsers or stuff like medical systems? Sure, go ahead, it seems to work for those domains, but it doesn't seem to be a panacea. If games were so much easier to write that way we would see tons of them, especially among the better games, but we don't.
The majority of synthetic fertilizers are produced from oil and gas products. Recent events have put some supply constrain on those.
Pay stub, not pay. Very different things
Have you met any people?
I was going to say asking questions for the sake of curiosity but that's more higher thought than consciousness.

Instead I'm sitting here looking at my dog who is conscious. There are many ways she shows consciousness:
- reacts to external stimuli like a rabbit in the yard
- seeks out desires/needs (pets, food, toys)
It suggested ways of poisoning someone without them knowing about it.

It was encouraged to guess different poisoning methods that an evil chatbot might suggest.
Being in the hospital for 5 months straight, without ever having the capability to have your device synced with your home wifi, certainly is.
When all the people on Twitter were claiming how Google missed the bus, how Google's incompetency made them sit on their own good LLMs since 2021, this is exactly what was passing in my head.

Small companies do cool demos and media is gonna love it. When big companies scale it up and try to make it useful with real world info media is gonna cherry pick these examples cause that's what gets them more clicks. Hey look Bing is actually useful is not gonna get them clicks anymore and they know it.

I hope Microsoft doesn't add too many filters on Bing AI or outright kill it. I like it as a tool.
Tons of users might also be incentivized to spend the 3 minutes to check out and start using an Auth app to have the more secure 2FA for free.
A handful of the datasets I tested are fully held out (I have reason to believe none of the models have trained on them), and talon was trained on none of the dev or test data of any of the datasets in question.

Due to whisper's weakly supervised training on a large amount of automatically scraped data and reliance on a bigger language model, it's far more likely whisper had seen some of the test data before.
I remember someone did this on a smaller, individual scale. Billing a company for SMS messages..I think it was Starbucks or something. This was 4 years ago, it was shared here.
Interesting! Janet clearly stands on its own with many unique features, that said if you are looking for a "scripting Clojure", also consider Babashka which can tap into many very high quality libraries from the Clojure ecosystem.

https://github.com/babashka/babashka
Concurrency is hard. Thread unsafe operations that end up getting executed in multi-threaded contexts are a huge source of heisenbugs
Chat with Historical Figures Using AI – Learn from the Past in a Fun New Way