skysight-inc/HackerNews huggingface dataset:
Extremely minimal runtime, portability, and very low overhead when compared to other languages. I have a tiny statistics daemon that scrapes /proc and sends out multicast packets, and it builds and runs on everything from ARMv5 to Xeons, barely showing up on any kind of resource meter and with an absurdly small binary size.

I considered rewriting it in Go a couple of times but just didn’t see the point.
So we're gonna be stuck writing a precambrian prototype language till the end of time because there's so much legacy code already written in it? Never seemed to stop people moving from Pascal, or Perl or literally all other languages that are now obsolete.

I really hate how for microcontrollers the only two choices are either C++ or Micropython, I mean how about some fucking middle ground instead of two polar opposites? At least eventually everything will be rewritten in Rust I guess.
> Is this really where one starts while learning basic electronics?

Hmm did you miss the introductory chapter that starts with diodes, transistors and basic logic gates that they told you vaguely about in high school physics?

There's quite a bit of info before getting to using the TTL chips.

Having played a bit with redstone circuits in Minecraft helps too - or knowing about diodes and transistors when doing redstone in Minecraft helps :)
I’ve heard those called “accidental high yielders”.

Any company that has paid a dividend and whose stock price has crashed will have a high yield on paper. Those stocks are usually better to avoid rather than rush to buy someone else’s problem investment.
In France they have to sign, it order to approve a contract, with "lu et approuvé" because of this reason.
I believe this implements an exact object type in Typescript:

type Exactly<Candidate, Shape> = Shape & {
[key in keyof Candidate]: key extends keyof Shape ? Shape[key] : never;
};

Credit goes to Manan Tank: https://twitter.com/MananTank_/status/1677610004743086080
bits are not addressable in C and are thus not directly accessible.
* "index" has particular connotation in finance. This is just a list - not an index.

* Why "monthly"? There may be higher quality companies that pay quarterly. Why exclude them?

* Have you looked at the myriad dividend ETFs? Things like SDY showcase funds that have regularly raised dividends YoY. ETFs may be a better way to get consistent yield and yield growth. Look into SDY, DVY or higher-powered div rates with SDIV, SRET.

* Lots of people noting tax treatment of divs as well as pointing out the "dividend irrelevance theory". Tax treatment will vary depending on the type of income. If you're looking purely at equity dividends then they will most probably be treated as income. However, with ETFs you may be exemptions depending on the income source. For example US Treasury ETFs that pay dividends are exempt from US State taxes (look at Bondbloxx suite of treasury ETFs). Municipal bond ETFs are exempt from both state and federal tax in most cases.

* Dividend irrelevance: If a $100 stock pays $1 div then its stock price is adjusted to $99. So there's no free lunch. The point is you want cash-flow generating businesses where management has decided they don't really know what to do with extra cash laying around so they hand it back to their shareholders. Being able to consistently generate these dividends and GROW the dividends indicates typically high quality, value stocks. The short-term end of the yield curve is yielding 5.4% (https://www.ustreasuryyieldcurve.com/) right now... so a company would -- very broadly speaking -- need to engage in projects with hurdle rates greater than what they could get in very safe bets with the US Government.

* Other forms of yield harvesting or income generation are writing OTM calls. A consistent strategy can be found in ETFs like JEPI or XYLE

* Re: monetizing your site. The web is awash with finance websites. This data can be found in a screener tool (finviz.com amongst many). People want trading ideas, so maybe this is better served as a newsletter or similar. Also, why should I trust your site. Financial data is notoriously finicky. Old data gets re-stated. What are your data sources?
It will depend on your goal. Do they produce the same output?

Or just comparable results?

Edit: oh, look at the chances - the ("the [only]" - 2nd to 1st) neighbouring submission is "How small is the smallest .NET Hello World binary". Suggests non overlappable outputs.
I needed to improve perfomance of some numerical computations in an existing Python script. The only choices felt like C and Fortran.

I tried Rust at first but went back to C when I realized I was spending more time appeasing Rust than solving the actual problem, which wasn't really complicated enough to gain significant benefit from Rust's features.
>Yes, the standards are a lot less rigorous and reproducability is worse than in the "hard sciences", but at least they are trying to get some kind of objective, reproducable result in the first place.

This is a major red flag. This whole field is reeling under Credibility crisis.

People should be exposed to medical treatments which are tried , tested aproved and regulated. Which this field cant be further from yet they have the authority to advice people as under pretext of psycologists and therapists.

There should be even more regulation for psycologists and therapists , just like there is approval process for vaccines . Howcome we are allowing so many people to be exposed to medical treatments which have barely any regulation and no reproducablity.
it does support GPT3.5 turbo and GPT4, you can put in an OpenAI key, it's amongst the model options.
> much less likely to do on accident than in C++, but still possible

Tangent: I can't think of a single other language that's like this: the higher-level languages tend to pass by reference, and the lower-level languages tend to have you explicitly clone things.
Not the commenter you're replying to, but I suspect what they mean is that the C memory model is byte-addressable not bit-addressable. You can't point/refer to a specific bit in memory, instead you have to first read the byte and then select an individual bit using bitwise operations, much like most modern processors.
Show HN: AI-driven workflow manager built for developers
We are building a AI-driven workflow manager that's built for developers and enables your team to stay lean, build faster and reduce cost.
We are collecting feedback on the idea and will launch in a month. Feel free to share your feedback.
And gives some users on HN something to complain about
I don't think you know much about pascal, C or C++
US Job Market Clues Seen in Drop in Employee Hours Worked
They are also not normally directly addressable by the CPU, you'll have to do some combining and splitting with separate instructions. Some CPUs are better at this than others.
I'd say that's more of an annoyance than a feature. The reason vendors use C is because it is there, comes with compilers, ides, tools, operating systems, etc. that will all work out of the box as soon as they get the compiler going on a new hardware platform. Just a critical mass of stuff that they need that conveniently is right there. And when you need to add just a few tiny things, you are going to stick with what's right in front of you instead of rebuilding all of that from scratch.
https://archive.ph/F8oY1
It is nice to see another open source satellite [1]. Usually i only saw used in the satellites, releasing also the hardware part is super cool.
However there are also other notable repositories.
There is for instance a "space kit" for arduinos [2].
Another interesting project was QB50 [3], many student satellites, from multiple universities worked together to study the lower thermosphere. If you search for QB50, there are multiple public repositories with the code they used.

[1] - https://github.com/Quetzal-1-CubeSat-Team
[2] - https://github.com/ArduSat/ArdusatSDK
[3] - https://spaceflight101.com/spacecraft/qb50/
>I really hate how for microcontrollers the only two choices are either C++ or Micropython

There's TinyGo as well. https://tinygo.org/

I'd say that's the middle ground for me.
Rust is not "functional ways", though, and Go is certainly not devoid of annoyances (subjectively).

Really wish people would stop having language wars and realize that languages are tools for a job. C is like a flathead screwdriver, C++ is like a philips, Rust like a torx and Go like a hex. You can probably use a flatheat or even a philips for the torx or hex screws but you probably shouldn't, because they're not the right tool for the job.

I love Rust. I use Rust often. I choose it over C or C++ these days for a number of reasons. But I'm not going to write some throwaway little one-off scripts in Rust. I'd probably choose Python if I need to crunch some data, or Node (javascript) to do some quick I/O related tasks.

I'll use a makefile when windows compatibility and graph evaluation speed aren't important, and a shell script when compatibility and graphs aren't important at all.

And so on. The sooner people begin to realize this, collectively, we can stop having these silly "X language is better than Y" discussions.

C has its place. It's simple (quirky, but simple), doesn't take on a philosophy, and has a very, very wide set of compatible toolchains. That is the reality. Perhaps C-like's will take off and replace it (e.g. Drew Devault's Hare[0]) to get us away from most of the quirks, but that probably isn't happening any time soon.

In the same way that "putting ChatGPT in front of a computer-enabled machine gun is irresponsible", so is using unsafe languages in cases where you absolutely cannot afford a security risk without some sort of safeguards, verifiers, etc. and just good ol' fashioned "good engineering". And even in "safe" languages this is often hard to achieve, so it often comes down to the engineers anyway - not the language.

I feel like we have beaten the "C sucks" horse to death so many times that we could extract oil from it at this point. What is the goal with such discussions in 2023?

[0] https://harelang.org
yea and you could print the number, mail it to your friend, ask him to call you back and type in the number on his phone. Then have a recording tool listen in on his key presses, and write them to a file.

The time scale between OP's code and yours is about the same as the timescale between yours and mine :)
This article will confuse people since the executable in question requires a runtime installed on the system (in fact, it uses .NET Framework 4.7.2, in 2023!). Most likely fair comparison for such solution would be .jar or even .py files.

A good source of truth for an actual executable would be Native AOT binary, which can run on Windows, Linux or macOS. Naturally, it will be much larger, having to incorporate GC, possibly ThreadPool, Console and other auxiliary code.
It's more that it's the most honest representation of the assembly/machine code. We can't really get closer to the hardware than the interface the CPU offers, and C then sticks pretty close to that (or a subset of it, I suppose).

It's the simplicity and power of C that I find attractive. I don't write it professionally at the moment, but I enjoy it. It's obviously not the right tool for the job most of the time for the reasons you give, but I miss its elegance.

I am a big fan of rust, but it's massive compared to C. I'd like to explore Zig some day.
same to me but this is why I discover something interesting here, again and again
I target microcontroller platforms, some of which only have a single compiler, usually some patched 20 year old version of GCC. The only possible alternative to C would be something that transpiles to ANSI C, given that some of these platforms don't quite have full C99 support.
Cross-platform? I guess technically it is...
The initial AMD announcement included some comparisons, for example

"AMD also included battery life benchmarks comparing the Ryzen 7 Pro 7840U against two Core i7 models and the Apple M2 Pro, with the former both having a battery capacity of 54 Wh, while the latter had a 69.6 Wh battery. Meanwhile, the Ryzen 7 Pro 7840U system was equipped with a 51.3 Wh battery yet managed to deliver longer battery life than all three competing laptops, with the highest delta being a 70% advantage over the Core i7-1370P"

https://www.tomshardware.com/news/amd-intros-ryzen-7000-pro-...
But they know that this isn't so easy in Europe:

"[...] Evernote will need to allow a human review of your notes, and that’s not the only reason an employee would look at your notes."

... from 2016 https://lifehacker.com/evernote-employees-can-read-your-note...
I remember when the entirety of your C# binary would include the source code, and back before the concept of Release or Debug was prolific enough, closed source C# binaries would be distributed in Debug mode erroneously, allowing someone to extract pretty much a 1:1 replica of the codebase.

Just a fun anecdote. I don't know if this is the case anymore.
>> There is no need to justify it: learning about ants is interesting on its own, and so is building a new robot.

That's how research gets funded. If you look at research funding applications there is usually a question about "impact" or "benefits" etc, that you have to answer, so you basically have to explain why you should be given (usually public) money to satisfy your intellectual curiosity. Depending on the funding body you may need to have more or less obvious applications of your research (or none at all; obviously if you're in a purely theoretical field nobody expects you to propose practical applications! But then you have to explain why your research project is of interest to other purely theoretical folks).

If the applications are dead obvious, then that's even better for all involved and particularly so the reviewers of the application: they don't have to think about it too much. "Ants' search patterns? Oh, I get it, search and rescue. Check!" and then go to the next part of the application that really makes the heard hurt, like "We propose to study the difference between army ants' and fire ants' antenna use for pathfinding during a storm to determine the effect of species- and group-specific communication on colony search efficiency". Yikes.
I think you can boil any problem in a software company down to "an organizational issue".

What you are describing happens in an ideal world of software development. It exists but it's rare.
> Shit software that can't be written portably enough to run on more than amd64 must be kicked off the repo.

Convince me, why should I spend my time supporting i686? Just to accommodate a handful of people still running 32bit hardware?

Calling other people's work "shit" just because they don't spend their free time supporting the wishes (not needs!) of 0.1% of their users is rude and extremely entitled.
Of course I don't speak japanese, I'm talking about fansubs, here, the purpose of those is to digest the media without knowing the language.

I definitely do not speak japanese, which is why it's important to me, some language joke literally don't transmit.
In "Shakugan no Shana" there is literally a scene where the protagonist drops honorific and Shana talks about it. That section would need to be cut, or the joke would just not come through because I would have no idea what an honorific is.
"Senpai" also has no direct translation in my mother language and it's a figure that doesn't really exist, there is an episode of Full Metal Panic that's around a character that's important to Kaname and it wouldn't come through the "why" if without knowing the meaning of the word. But the word just doesn't exist in Italian, so it was translated with a made-up sound "senpaia" in the official dub.
Result was that nobody (we were teenagers at the time) had any idea of what it meant or why this was important.

There are various examples spread everywhere for this.

Teaching some words that do not translate is important, to convey some cultural aspects of japan that give context to the anime.

Which incidentally is the reason why I don't watch dubbed animes, because the voice acting is different. This might sound like a joke, but the high pitched screams of some female characters in anime just don't translate to my mother language and indeed when dubbed, the scream was mild at best.
> Already Lotus 1-2-3 for MS-DOS, more than 30 years ago, matched or exceeded almost all features provided today by MS Excel

Only someone who isn’t a heavy user of Excel could say this.. the improvements really aren’t trivial.
C++ ODR is not just "Undefined Behaviour" it's an example of IFNDR, a get-out in which the language standard just washes its hands of difficult problems by saying in that case what you've written is silently not a C++ program, so its behaviour is arbitrary but you don't get any compiler diagnostics.

Rust doesn't have this get-out. To some extent that's because it's not a formal standard, but mostly it's because IFNDR is diametrically opposed to correctness. Many C++ programs (perhaps even the vast majority) technically have no meaning whatsoever due to IFNDR which is bad -- it's not that the C++ compiler judges them to be correct when they aren't, but that it has no opinion either way, ever and programmers mistake "it compiled" for success.

Thus, in Rust you don't get "ODR errors" here, your program won't compile.

Here's a nice easy Rust semver break example: I make a library about US vacation booking, it has a public enumerated type FederalHoliday but initially that enum doesn't mention Juneteenth - whoops. Somebody points that out to me, and I correct the omission, but I forgot it's in a public enum. So that's a semver break.

Why? If somebody writes code using FederalHoliday from my library, they're entitled to exhaustively match against the enumerated type. So they can make code to handle MLK Day and Thanksgiving and so on, and of course they had no reason to handle Juneteenth because it wasn't in the list - then one day they take my update. Their program no longer builds, it complains that their FederalHoliday code isn't handling Juneteenth, I made a semver breaking change.

Now, in this type of case the correct fix (which you need to do before release, as introducing it later is a semver break) is to mark the enumeration as #[non_exhaustive] which tells Rust I know what's in this enumeration, so I can use it as an exhaustive match in my own code, but outside this crate, you can't match it exhaustively, you need to write a default case to handle new additions.
Many people fail to see that the real benefit of using TypeScript is better tooling (code completion, intenseness, refactoring capabilities, self-documenting code) and not the mere ability to catch some stupid runtime errors at compile time.
i am talking about the popular classics that have also been mentioned in other comments here, python, ruby, php, and several others that came after them.

with the older ones i mean languages like lisp and smalltalk which didn't become available for free or even usable on PCs until the 90s

i am not saying that they are all replacing perl, but that perl was used in areas where they are better suited, and with their appearance perl is no longer needed in those areas, hence the usage space for perl shrunk a lot.
Tcl's feather logo came out about the same time as Java's, from the same design group at Sun that developed the Java logo, says http://www.demailly.com/tcl/about/logos.html .
> Never seemed to stop people moving from Pascal, or Perl or literally all other languages that are now obsolete.

Operating systems written in Pascal are now obsolete. OSs in C are not.

Perl is much easier to replace because fewer things were dependent on it however even here Perl 5.x still pops up all over the place.
I don't think you can parent without some level of bribing but note that research has been done suggesting that extrinsic motivation can negatively impact intrinsic motivation.

One personal anecdote of mine is a school friend who announced that he was never going to read a book again after finishing school (with good grades). For him, reading books was not a thing he loved, just a means to an end.

https://www.weareteachers.com/understanding-intrinsic-vs-ext...
It is nice, but nowhere near as complete feature-wise than C/C++. The fact that it exists does not mean you can use it to achieve the same thing.
I'll try a summary: WASM shaper is part of Harfbuzz, a text shaping engine for font rendering. It allows embedding WASM code in the font for influencing the way text is rendered into glyphs.

> The WASM code inside a font is expected to export a function called shape which takes five int32 arguments and returns an int32 status value.

> ..The general goal of WASM shaping involves receiving and manipulating a buffer contents structure, which is an array of infos and positions (as defined below). Initially this buffer will represent an input string in Unicode codepoints. By the end of your shape function, it should represent a set of glyph IDs and their positions.
They say privacy, but this is specifically an anti-privacy tool that can be used by anyone holding the before and after of the unlearning.
The Relationships Between Detection Engineering Paradigms
They have no relationship with LSP to begin with.
It's kind of like English. English is in some sense a simple language (grammar), a poor mixture of other languages and its orthography is not good (not an elegant language), but everyone speaks it.
Fairphone 4 is coming to the US
> Add to this CPP macros, a universally recognized bad idea

I don't think is not a bad idea. You can't solve language incompatibilities in the language it self. Textual macro languages solves this nicely.

CPP is what makes C and C++ work for projects aimed at multiple platforms or compiler vendors.
Workaround: revoke network permission from any local-first editor.
Goodness gracious, I am fortunate enough to not have any strange hangups or anxiety about shortcomings, but I can empathize with people stuck in a mindset of inadequacy. People that prey on insecurity with no regard for the lives of the people that they market to are among the worst people on the face of the earth.

Our society seems to have a blind spot on this front, with every manner of cosmetic surgery that absolutely destroys people. Doubly so for transgender surgery where some actually consider themselves morally enlightened to encourage it. It's all around an awful state of affairs, and I expect that if humans ever create a truly enlightened society those people will look on this aspect of our time as one of barbarism and debauchery. We are encouraged to mutilate ourselves to sate a nagging sense of inadequacy! It is beyond disgusting.
Every time I say "I'm not gonna beed typescript for something this small", something happens that makes me think typescript may have been better anyway.
So the security is reduced from one of the pretty good PGP algorithms to just the user's password?
Actually, that's been my experience in most places I've worked over the past 25 years.

When it wasn't, I shopped my resume around.
It seems you have been fortunate to not deal with "enterprise grade" vendor software with scripts that assume they are the only thing running on the host.
The job pool is smaller, I believe, but with high earnings potential (luck™), mostly in fields where performance is not a plus, is a must: games dev, robotics, HFT, system engineering, etc.
Letting people do what they want does unfortunately lead to some pretty dystopian optics.

Still a better love story than twilight.
An untold story of the Tunisian startup ecosystem
>The use of those inputs isn't creating carbon, just transforming it

It is though. Or if you like, it's transforming carbon from "in the ground" to "not in the ground", which is fundamentally the only thing that matters, since you're adding to a closed system.
In terms of popularity I'd say Python>R>Julia
R might be closest in syntax to how excel works, especially with the ifelse functions. R also has dplyr, which is unmatched in how it makes data manipulation easy and streamlined
A privacy-enhancing protocol and browser extension