skysight-inc/HackerNews huggingface dataset:
My point was that it would have likely been harder for them to track down missing cash. We're dealing with a fraud case here, that's why there is a specialized recovery team.
Not to mention, commercial code is not going to be well reflected on github. This might show what is popular in OSS but not necessarily what industry trends are happening in production use.
Sounds like any run of the mill complaint that everything used to be better.

I romanticize my childhood as much as the next guy. But I recommend looking at all the ways our childhoods were worse than those of our children. Makes for a much more balanced comparison.
The first atoms were their own kind with design principles more from the P5 than even the PPro. It was slow. I'm unsure if it was slower than contemporary Arm, but for sure it had a way lower IPC than the Pentium 4.
Why would you write small apps in rust? Just use go. It's perfect for < 10,000 line programs.

I've written more in C than in any other language (and I've written in dozens of languages professionally over the past 25 years). But the one thing that gets hammered home with every line of C I write is this: You're playing with a loaded gun.

The more code there is, the more likely it is that you have subtle heisenbugs that break in mysterious ways. My current job requires C (for a number of good reasons), and I really notice the jump in crazy, hard-to-track bugs despite my DECADES of experience as a careful, expert C programmer.

C is "simple" because all of the complexity gets pushed to the compiler behaviour and runtime environment. You don't even discover how many assumptions you've been making until you have years of experience under your belt.
Mynd (demo) uses AI to give you insights and patterns about your journal entries that were previously hard to access.
If you know what to ask for, it’s easily better than 99% of junior devs.
I really like the conversational style. If I wanted the quickest, driest way to get started in Janet, I'd probably go to https://learnxinyminutes.com/docs/janet/
> Maybe I'd be fine as a manager.

Speaking as someone who has held senior management roles: judging strictly from this comment, you would make for an excellent management candidate. Assuming you survive the disillusionment upon seeing how other managers and senior leaders actually operate.
> but it was once considered "high level"

C's position in the "low- vs high-level" hierarchy arguable hasn't changed much since it was created. There were already higher level languages in the 60's (e.g. languages which abstracted the underlying hardware much more than C, but those weren't useful for writing an operating system in).
In the one bit of company management training I got, the company lawyer explained: As a manager, you represent the company and its interests 24/7. You can try to help an employee but only so far as it doesn't affect the company's bottom line.

There was a lot more and it was eye-opening.
bringing back species because we'd like to taste them is somehow interesting
There are tons of CLI utilities developed in Rust that are faster and safer than their C/C++ equivalents. See for examples ripgrep.
First-hand experience is the best way to learn _anything_. It doesn't guarantee learning, of course, but it sure beats reading about it, or, if you're a kid, getting advice from grown-ups you rebelliously distrust. Small children before they've reached the age of reasoning just can't learn from sage advice anyway.

> I think it's good that kids toys (mostly) no longer can cause lasting damage to children.

We're not talking about lasting damage here. We're talking about a few scrapes and bruises that will (hopefully) teach them to avoid making sillier mistakes in the future. This is what the article is lamenting kids toys don't provide anymore.
No sarcasm, I made too many assumptions about the shared context, and I got it wrong. My initial sentence would've been fine if this would've come up with a friend because we share the context and he would've understood what I meant. But with "the world at large", not only do I not share that specific context necessarily, I'm not even sharing the cultural context most of the time, and without those it's just something that's neither here not there and could be commented on pretty much any thread with other words from the title.
> suggest to them the intern’s argument why the lookup is O(1) and explain that it’s actually O(n).

I think any discussion of complexity for this problem is misguided.

I mean, it's fine to talk about a hash lookup being o(n) for pseudocode in some hypothetical context. But if you're talking about actual code that you intend to run in Python or JS or whatever, it doesn't make sense - are the strings interned or not? When your language hashes the key of a dictionary lookup, does it cache the result? If you're using a JITTed language, won't any native o(n) hash lookups vanish in comparison to your non-native o(n) for-loop?

On top of all of which - why are we even talking about o(n) complexity for an n that cannot grow? If we're given a fixed dictionary then we can ignore any substring longer than its largest element, so the "n" for hash lookups is not the size of the original input - which is the n we realistically care about!

Basically, once TFA mentions complexity I feel like the only correct answer is to say "this isn't a situation where complexity analysis would be useful - we should benchmark the code".
Oh yeah? I get the following delightful but equally wrong snippet:

>Another way to achieve a similar effect is to use PHP's built-in generics feature. This feature was introduced in PHP 8.0 and allows you to specify the type of a class property or method argument as a generic type. Here's an example:

class MyList<T> {
/** @var array<T> */
private $items = [];

public function add(T $item): void {
$this->items[] = $item;
}

public function get(int $index): T {
return $this->items[$index];
}
}

> In this example, we use the <T> syntax to specify that MyList is generic and that it has a type parameter T. We then use the T type in the same way as before to specify the type of the $items property and the add and get methods.

> Using generics in this way has the advantage of being built into PHP, so you don't need to use any external libraries or tools. However, it can be a bit more verbose than using PHPDoc comments, and it doesn't provide the same level of type checking as Psalm.
Janet! Planet! Schmanet!

Somebody had to.
I have been a swe for most of my life then transitioned into a manager (corporate and small/mid startups) for a while and am a director now (scaleup unicorn).
The politics is something that always bothers me, the higher you get in the ladder, the more people are obsessed by "just following the process", and there's always so many inefficient processes that are applied in environments that definitely do not require such overkill, but make people feel like they are "doing the right thing" by following as many processes as possible - if you follow the rules you don't have to think.
Hours and hours of group meetings (that definitely could have been a slack message, with better outcomes), so many reports no one read, different and often incompatible styles of management, a complete switch from trust-and-ownership to micromanagement from upper management.
But the thing that always bothered me the most is being in the middle between the people you care about (your team) and the people that tell you to do things because they can't be bothered actually doing them (upper management).

I still miss those days where I could put my headphones on and code, solve real problems with my team, ideate and create and focus on the user, not on "making the machine run".
Maybe the Neil deGrasse Tyson remake of Cosmos has a different tone to Carl Sagan's work. I'd imagined it would very faithful but it completely lacks this tone of humility.

Seems it's not just me who reacted this way:
https://ncse.ngo/burning-obsession-cosmos-and-its-metaphysic...

I'm also watching from an almost completely secular society (Sweden) where there is no great need to counter the political influence (etc) of religious organizations. Maybe that is why this comes across as foreign "culture wars" fodder. (I'm also conscious that for this reason I might be naively linking to some partisan organization above... I will just stop typing now.)
Er the modern C stack has basically the same components as the modern Rust stack: a language frontend (say Clang or rustc) interfacing with LLVM or GCC. You could use an alternate C compiler from these two, but, really, why would you?
This might be good for simple questions or complex ones that have been asked 1000s times online, but it starts to fail a bit for nich stuff:

> 403 error when updating firebase runtime config using service account

This gave me an answer with 4 bullet points:

Re-authenticate, which doesn't make sense because I'm using a service account.

Verify that the service account has the correct permissions. Which is close, but it doesn't really say the permissions I need.

Use the correct account, which is a good tip for sanity checking, but not too useful.

Run firebase in debug mode, which again is a good tip, but doesn't give me the answer immediately.

A search on a normal search engine links me to a github issue with the answer on the most thumbed up comment.

Chatgpt free version gave me a top notch response about missing permission and it even gave me a possible permission to add, although it was not the correct one compared with the github issue.
They sell safety latches that are supposed to prevent your kids from pinching their fingers with drawers and cupboard doors. They are completely useless. Yelling "careful!!" a million times does not teach your kids anything, since they don't understand what "careful" means if they never hurt themselves.

Pinching their fingers with a drawer teaches them rather quickly. Even the slowest learners realize very quickly how to close drawers after they do it the wrong way once or twice. (They might even learn what "careful!" means...)
Always using Firefox on desktop. Never used Chrome. Developer since 2006.
Toward the detection of polyglot files [pdf]
> if you are computing the nth fibonacci number f(n), a DP solution needs only the state f(n-1) and f(n), but a typical memoized solution keeps around all the state f(1) through f(n-1)

That's all true, but is it comparing like with like?

The "generic DP" solution to the problem is to allocate an array of n elements and fill it in from f(1) to f(n). That's the same amount of storage the "typical" memoized solution uses; cutting it down to an array of 2 elements plus an (implicit) offset between the part of the array that's in use and the full array seems to be an optimization on top of the DP solution.

You could apply the same optimization to a memoized form of the solution. I certainly agree that you most likely wouldn't do that, but you could.

What do we learn by comparing a tightly optimized DP solution against a "typical" memoized solution? Why do we give the DP solution credit for not using what it "doesn't need" while penalizing the memoized solution for what the programmer probably added unnecessarily?
I bought and sold bitcoin in exactly that way (in person, in public) back in the day.

Never has anything even remotely untoward happen.

Just sit, have a beer, wait for confirmations to happen, and be on your way.
This characterization of Raghuram Rajan is seriously misleading. He has never advocated against manufacturing. He's cautioning that we(I'm Indian) won't be able to replicate China's rate of progress as the conditions in the world are different now.
This description makes me think of ScreenHero, which really was an incredible leap for remote collaboration until it was eventually bought by Slack — and the thing Slack eventually came out with for screen collaboration was weak by comparison. That was a real shame.
C is used for the whole Linux kernel and not just "utilities".
Would an AGI develop an entirely new way to communicate with computers and digital devices? It doesn’t need the abstraction that we humans use.
Pytanis – all the tooling you need for running a conference (pycon.de)
Dashboard of ML Trends by Epoch
Dashboard covering trends in Machine Learning, including training compute, training dataset size and cost of training runs.
Which workplace do you vote at?
My go-to for embarrassingly parallell problems that are still single-computer scale, using the multiprocessing backend. Like computing features across a bunch of inputs. Does the job in a simple and pain free manner. Have got some wrapper for progress indicators using tdwm.

PS: The synchronous backend switch is great for getting better backtraces, like in a debugger.
I am not sure if this works on my end:

sqlite> PRAGMA journal_mode = delete;
delete
sqlite> PRAGMA journal_mode = wal2;
delete

Does this mean wal2 is not available?
linspire who was using ocaml and then haskell, a rare thing at the time http://lambda-the-ultimate.org/node/1506
The elitist mindset of expressing disgust at “low IQ” people is wrong. Please do link some sources proving the necessity of only “high IQ” populace, and how that’s sustainable as a society.
There have been black lawyers in the US since 1816.
https://wiki.c2.com/?NomicGame has a bunch of information around it, but the original article is behind a paywall (https://www.jstor.org/stable/24966607).
Earth overshoot day is at july now.
https://www.overshootday.org/

So we got another 40 years, till it reaches zero.
Yes. But just to use the Firefox Relay XD
Oh that’s why C/C++ is not there.
How are they Exxon?

They aren't vertically integrated to the same extend as a producer, explorer, refiner and distributor of oil such as Exxon.

Super chargers are dispensers. They get the electricity from somewhere else. And they most of the time don't own the land the dispensers are built on either.

https://insideevs.com/news/318545/tech-crunch-what-it-takes-...
It's not without precedent; there is a long history of soldiers leaking classified info to win some banal online argument. Has happened 10 times in the last few years with the game War Thunder.
Why? Genuinely asking.

As a software engineer this all is very inspiring. I’m tickled and excited to do things again. I’m also learning deep learning and statistics and having a blast with toy projects.
Or really worrying.

I wonder what this is doing to economic productivity.
Even instructions on which python files to run would also work for me :)
Most ICs in the organizations I’ve worked on have to fight for focus time, have long feedback cycles, have to deal with conflicts, etc. At least with a manager you’re getting paid more! The risk is slightly higher but the reward is significantly higher; you’re taking credit for a larger amount of work, but doing the same amount of work yourself (maybe sometimes more, but also often significantly less than an IC).

Management is easier than coding unless you really hate working with other people.
Berkson's paradox suggests that even if they seem negatively correlated that may only be due to the selection process. For example, suppose that an interview has 2 components, a leetcode section and an engineering section. Both are scored out of 10, and a total score of 15 is needed to pass.

Among those who pass, the two components might seem negatively correlated. This is because you can score a 10 on one section and pass with only a 5 on the other. However, among the general population both sections might even be positively correlated.
> "This volume collects essays from the past thirty years of research."

> "Over the last three decades, the Santa Fe Institute and its network of researchers have been pursuing a revolution in science."

I am curious what is considered the single most insightful essay or other publication from the Santa Fe Institute in the past thirty years? Assume the audience is one who is open minded and trained in a scientific field, but who wouldn't be impressed by some essay that looks like it was written by a GPT.
Drones have a lot of useful roles in important deliveries (e.g. medicines) to remote areas, possibly farming, commercial photography with permits, etc. One of those useful roles is not delivering hamburgers in an urban environment to someone who doesn't want to get off their couch.
The other person didn't.
> However, actually running the code to facilitate North Korean hackers launder money and personally profiting off of it?

Who is "running" the code?

The US government, to this date, has not made an argument that the developers of Tornado Cash, who have deployed the code to the Network, have committed a crime; at least one of them seems to be living in the US.

Nor has the government made an argument that operators of Ethereum nodes are committing a crime; they might also be considered to be running the code.

What the government has done is, through sanctions, instituted restrictions on Americans interacting financially with the smart contract. This has nothing to do with "running code"; this is operating under the assumption that the Tornado Cash smart contracts are an entity that is party to financial transactions.

Whether they have the power to sanctions non-entities like a smart contract is what the suit intends to find out.
I’m not sure what you’re suggesting. Reflow and relayout is entirely local just as it is if you resize your window.

What are you concerned is happening?
The risky thing is we might end up with many humans failing. And would that mean they lack intelligence?
"With the storehouse of skills and knowledge contained in its millions of unemployed, and with the even more appalling underuse, misuse, and abuse of skills and knowledge in the army of employed people in all ranks in all industries, the United States may be today the most underdeveloped nation in the world." - W. Edwards Deming, Out of the Crisis
That mission features a complex trajectory that will use a lot of gravity assist to get to Jupiter. It will actually take eight years to get there, while Juno needed five and the Voyagers only two. Why do recent missions choose to do that? Is that a cost saving measure?
> Loongson’s 3A5000: China’s Best Shot?

The article is slim in substance and, if we eliminate the childish language, is terrible.

The authors could start with Agner Fog's manuals, so they can see how an analysis shall be done, and then proceed to Linux Benchmarking Howto to underestand what counts in benchmarking.

Else the whole article reads like the everyday "America good, China bad" and has no engineering value.
Haha right. The small towns in Italy I've been to have no sidewalk, to get anywhere you have to walk on a narrow road, and people on mopeds and tuned up cars are racing past you all the time.
I was a child in the 80s as well; the idea that we spent a lot of time outside does not jive with my memories. I had the same dump truck as in the article, but this did not inspire me to go out and explore the neighborhood alone.

Other than my backyard and a local park, there literally was nowhere worth going where I lived (a suburb of Montreal). There were no kids in the immediate neighbourhood, and everyone seemed to be living in their bubble. Suburban isolation was very real, at least for me.

The quality of everything then was much worse than people seem to remember. Recessions bit harder, schools were worse in every way (activities, teachers, handling bullies, etc..). I really don't know why people miss the 80s, it was an awful, ugly place. My friends at the mosque and my friends on BBSes were literally the only bright spots in an otherwise dull and dreary childhood.

On a semi-related note, my daughters used to spend a lot of time in the house, but recently they started going to the park more often. Having friends in the neighborhood is huge.
Engineering, product and data team size comparison at 50 tech scaleups
The average principal doesn't make any bonuses, nor do administrators. Some individual districts may award them, but you usually won't find any big money being doled out aside from superintendents, who tend to be obscenely overpaid.
Yeah, THAT'S totally the takeaway from this discussion.
> This is the same in the US. Tenure-track starts with assistant professor. Associate professor is when you first get tenure. Finally after having tenure for 5-7 years you can become full professor.

It is different in the US. In the US, someone who just finished their PhD and wants an academic career will look for an “assistant professor” entry level academic job. Whereas, in the UK/Commonwealth, the entry level academic job is a “lecturer”-which is equivalent to US “assistant professor”. In the UK system, the first promotion is not to “associate professor”, it is to “senior lecturer”. Then a senior lecturer looks to get promoted to “associate professor”-which is actually a more senior/exclusive title than US “associate professor”. So this is my point-the US calls junior academics “assistant/associate professor”, whereas traditionally in the UK/Commonwealth they aren’t a type of “professor”, they are a type of “lecturer”. An “associate professor” in the UK/Commonwealth is roughly equivalent to a full professor in the US, so a UK/Commonwealth full professorship is (in itself) more prestigious than a US one-a UK/Commonwealth full professor is more like a “distinguished professor” in the US

Furthermore, it’s not unheard of in UK/Commonwealth system for people to get stuck at the senior lecturer level and never get promoted to associate professor-a person who retires as a senior lecturer hasn’t reached the heights of academia, but they haven’t been a failure. By contrast, the US hands out senior academic titles much more easily, which makes the a failure to reach them look like much more of a career failure.

As always there are exceptions: a small number of UK/Commonwealth universities have been adopting US-style academic titles (such as “assistant professor”), and Canada has always been far more US-influenced than the rest of the Commonwealth
You keep moving goalposts. Nobody here has argued for "going after children". Nobody here has argued in favour of more surgeries for children. Exactly the opposite: We've argued for puberty blockers exactly to preserve their ability to choose not to be subjected to immense harm by letting them as much as possible defer decisions until they are old enough to make an informed choice.

I do have children, and that is exactly why your willingness to let children be subjected to immense harm makes me as angry as it does. Your authoritarian, oppressive desire to deprive children of medical treatment is flat out evil to me.
Mine is a Sony X900H[0] (or its equivalent in EU), and runs Android, too. The feature is under the (Sony specific) quick settings menu accessed by the gear icon on the remote control.

[0]: https://www.rtings.com/tv/reviews/sony/x900h
What library or such if any do you use for string.h/math.h/snprintf and such?
It's just :)

conn.execute("insert into cell_towers values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)", row)
Yeah I agree

These people (with rare exceptions) quite funnily never seem to have shipped some actual product or service based on those "simpler" languages. Or if they have it's shipping their parallel implementations of basic services that every language does better than C like strings, slices, data structures, etc. And no, if your code depends on cpp macro magic, it is not helping your point.
This whole thing screams of regulatory capture.
> they now want to talk about how “simple” and “beautiful” C is for no other reason than signaling how different you are from the zeitgeist?

It sounds to me like they keep learning languages with the same illusions and failing to take any lessons between their language exploration escapades.

All programming languages suck. It's just about finding the one that sucks the least for you (or your project/business).

They made the comparison of RPG characters and mentioned endgame frustrations. In my experience, C is the epitome of endgame frustrations (C++ maybe being worse, depending on codebases you work on); they've just yet to discover that