skysight-inc/HackerNews huggingface dataset:
> On the other hand, today we have the very opposite situation: programmers not using goto when it's appropriate and abusing other constructs, what ironically makes code only less readable.

One I see all the time from beginners is creating a finite state machine using one method per state and jumping between states by calling the next state’s method from within the current state’s method. Essentially just emulating goto with the added disadvantage that you’re pushing each new state onto the stack until it overflows, so refactoring it using goto would constitute an improvement.

The fact that beginners reinvent this pattern over and over demonstrates it’s easier for people unfamiliar with programming to reason about a program that uses goto, which would explain why it was so ubiquitous in the early days of computing and given its shallower learning curve its usefulness as a teaching aid as a first step before structured programming is being overlooked.
Just for the avoidance of doubt "AI Files" is not my project and I'm not affiliated with the author in any way.

osascipt line does look a bit dodgy to me but perhaps is safe. But I can see how things might go downhill quickly with this approach...
> Should a company be able to discriminate based on race?

Question like these are pointless since they’re already solved. The American Law system already said no at the highest point possible.
Does this square epidemiologically with beef consumption? The countries with the highest beef consumption are in South America (and it's sharply more beef consumption); the countries with the highest colon cancer rates are in central and northern Europe.

It doesn't follow from a correlation that beef is by itself causative; it can be, for instance, beef plus some other X-factor. Somebody is going to point out that South American cattle are grass fed, but European cattle are also more grass fed than American cattle, and yet they still top the leaderboard.
I don't care too much for correlates with self-report scales (a limitation noted in the study itself in the Further Work section).

Game theory offers an alternative approach of measuring a sample population's behavior in a suite of games with varying payoffs. The study below suggests most people's behavior patterns fall into just 4 major groups, with a 5th group (~20%) that seems to just make random choices. Even more surprisingly, these patterns seem to be established early in life and to be independent of socio economic factors. In that study, the largest cohort was found to be willing to experience a loss as long as the counterparty suffered a greater loss, and I suspect that would probably correlate well with the 'sadistic' cohort mentioned in OP's study.

https://www.science.org/doi/10.1126/sciadv.1600451
That error is not due to goto, it was just a goto which was errously executed because of badly formatted code. (It looked like the statement was inside an if-block due to the indent.)

Pyhon would have prevented this bug, but so would a formatter. Rust also requires braces for if-blocks to prevent this kind of error.
I believe that population and entertainment are connected directly. If you have 4x the population you will be swimming downstream when trying to influence others culturally.

Larger domestic market, more money, more eyeballs, more creators.
Podsadka – Failed Plan to Win the Moon Race
Also see SearXNG https://github.com/searxng/searxng/
Interesting to see this popped up here. I used to submit a bunch of tools through the internal Technical Reference Model (TRM) portal where there's 40 or so questions to answer.

draw.io should be available too.

Back in 2018 when I joined, VA laptops were still running on hard disk drives and the laptops were 6.5lbs. Procurement cycles for it were likely once per decade, and VA was just going through their last batch of shitty laptops; and I wrote all my bash scripts on that running on cygwin.
I started learning Pascal (using Turbo Pascal 7) in ca 2003-2004, then learnt Delphi to write Windows desktop apps with MySQL. Probably pretty advanced for a high schoolers at that time.

Pascal is a general purpose programming language (like C/C++), which is not limited to teaching programming basics. The first Photoshop and classic MacOS were partly written in it.

All the cool kids nowadays most likely use Go or Rust. Pascal is still alive pretty well, even though you don't see it often enlisted on job vacancies these days. Now you can use Delphi to write MacOS, Android, and iOS apps as well. If you want to write desktop apps which easily buildable on Windows/Linux/Mac, then Lazarus is a good option. Of course there's an ongoing effort for Android: LAMW (https://github.com/jmpessoa/lazandroidmodulewizard)

A good reference is "Pascal in Three Days". Should be enough to help you learn the language basics.
So if I understand right, we know that those with colorectal cancer have suspiciously correlated proteins, which could be used for a better screen for this cancer.

But do we know that consuming cow always causes this cancer?

If not, what's next?
Please see my answer above in reply to your original comment.
https://hedgewars.org/ has a game engine is written in Pascal, and it rocks!
> This is much more like Victorian prudery and moral panics than some foreshadowing of a totalitarian state. Stop being overly dramatic.

Why can't it be a foreshadowing of a totalitarian state of Victorian prudery?
Trolling, woke, racist, nazi, gaslighting

Have all lost their meaning due to the abundant incorrect usage over the last few years.
I'd argue preaching is (or rather, ought to be) teaching, so no need to separate them.

Totally fine to restrict subjects that can be taught in schools though, including religion and the like.
Excel has get and transform that makes this easy + an odbc provider (you can query excel as an sql database).

A reminder for everyone excel web is actually entirely free and you can create stuff with https://excel.new

We spent a lot of time making it faster and rewrote a bunch of it ^^

(I'm just an engineer, I don't speak for my corporate overlords)
Except no party is doing this, but very capitalist firms in an attempt to appeal to new segments, to refresh their brand and to be on the news with their products. They follow a trend to fortify their business, that's it.

The fallacy of your argument is that it somehow implies some coordinated attempt by some kind of obscure force that is conspiring to control society. That's no different than other conspiracy theories.
Lots of streamers stream single player games and many fans consume those games purely via stream.

Some of those viewers may have accessibility needs. All of them benefit from clear text on text heavy games.
Didn't it used to be someone big and ugly who lived under a bridge and would whack you with a club if you didn't pay?
Comprehensive Analysis of Prompt Injection Threats to Large Language Models
"...we systematically analyze the resulting threat landscape of Application-Integrated LLMs and discuss a variety of new attack vectors. To demonstrate the practical viability of our attacks, we implemented specific demonstrations of the proposed attacks within synthetic applications. In summary, our work calls for an urgent evaluation of current mitigation techniques and an investigation of whether new techniques are needed to defend LLMs against these threats..."
I haven't taken an online course in CS for almost a decade. Shifting interests. Changes in the business structure of MOOC's...Basically since they stopped being called "MOOC's" and became closed down.

Helerstein's CS186 video lectures (Introduction to Database Systems, 2015) are probably the most informative CS-thing I have experienced online:

https://archive.org/details/ucberkeley_webcast_dY48_UZhvhw

But of course, it is not an online course. Just course lectures online.

It's informative because the problems - IO, optimization, caching, concurrency, partition, etc. are all right there in ways that require engineering (i.e. theory alone won't get you to the required scale). YMMV.

Good luck.
In Finland there are "kansanopisto" that are a little like the Swedish ones described in the article but with less resources. I spent my final year of upper secondary school at one of them (https://www.paivola.fi) which hosts a math enrichment programme, but that one is quite unique.

That particular institute got started in the late 1800s to educate farmers with an ideology similar to the Swedish system of the article, but by the 1990s it had mostly language courses. (Didn't get into university? Come study Spanish for a gap year, we'll make a trip to Spain at the end.) Currently in addition to the math programme they seem to teach several subjects with a kind of unofficial arrangement with universities. (Didn't make it to law school/psychology/teacher school? Come study exactly that for a year to improve your chances in the next admissions round, with some credit probably accepted toward your eventual university degree.)
Reusable heat pack containing supercooled solution and means for activating same
I'm 35. Really the only time I feel older than 20 is when I'm hungover. Never really got hangovers until I was in my late 20s
I wanted to say this too: https://www.embarcadero.com/case-study/miniatur-wunderland-c...

The software on-screen: https://youtu.be/kySAQvU51CY?t=137 . It controls lights, cars, and recently they had the idea of using "AI" to actually let 20 mini F1 cars race each other on a magnetic track, with each car using a CPU core of a 32-core machine: https://youtu.be/3ujaGUFfgC0?t=187
The existence of mob justice has more to do with the failures of the legal system. Many times in history, when the populace feels that they are not getting "justice" from the legal systems in place, the populace turns to mob justice because the systems they rely on fail to mete out justice in any comparable way.

When cops can kill with impunity and are never subject to the laws they enforce, you have people wanting mob justice.

When politicians can lie with impunity and hide behind free speech and keep their jobs, their benefits, and all, you have people wanting mob justice.

When corporations can send bomb trains into your city, poison everyone within hundreds of miles, and then walk away with bonuses for covering their asses, you have people wanting mob justice.

These are wildly different things. Trolls are doing it because they want to hurt others, a lot of people are doing it because they want to stop being hurt by a system that has decided they don't deserve justice.
Re: "You can declare a function static if you only want it visible in a single source file."

Static means different things in different languages, and in C in different places.

In what sense is a static C function static/unmoveable?
or a static / class variable static in Java?

I find a lot of programming language guides tell you what without a coherent why.
Canada starts investigating TikTok over data collection from young users
Funny point actually if the PR approach actually thought just working at Microsoft was this taxing rather than it being personal.
Basically the same size why change it to be less readable? Its like kia.
ssh then attach to a tmux session
> Hard to say whether Adams is suffering from online radicalisation and cognitive decline, or whether he was always of this opinion and online radicalisation and cognitive decline have just meant he no longer has the self-control to hide it.

Hasn't most of Adams’ public life and career been a very sharp public reaction to being passed over for promotion on a basis he has always blamed on racial and gender politics, even if in the early part of it more of that resentment was channelled into more broadly palatable forms than it has been recently?
Nit pick. Don't confuse between 'leader of one of the opposition parties' and 'Leader of Opposition[1]' which is an official title. Sisodia is not part of Parliament of India (let alone LoP) so the official title doesn't apply to him. He was/is(?) the excise minister of Delhi state when the 'supposed-liquor-scam' took place, hence the arrest. No idea if the allegations are legit; there are 28 states in India and one of 28 Excise minster is arrested.

[1] https://en.m.wikipedia.org/wiki/Leader_of_the_Opposition_(In...
Traditionally defamation law has always held republishers of content liable for defamatory content they distributed, regardless of whether they authored the material themselves. If you wrote a letter to the editor of a newspaper saying "P is a child molester", the newspaper printed and distributed it, and it wasn't true, P could sue not only you but also the newspaper for damages. This law was totally uncontroversial until the dawn of public electronic communications providers (pre-Internet, even) and automated republication systems like bulletin boards. That's why newspapers also continue to do useful things like fact checking.
It took me a while to understand that it was supposed to be lead.
From an uninformed intuitive perspective, it would make sense that a substance developed to provide nutrients to rapidly growing babies could cause abnormal growth (tumors) in mature individuals. Same logic applies to artificial growth hormones, which are applied to livestock.
Yeah and it's fantastic that those games still exist and allow things like modding and mapping, however both of those games are a decade old. It does feel somewhat like the trend has died down significantly for newer games, no?

I certainly love them though! I'm still holding out hope for Source 2 SDK and Hammer 2 to actually become a usable tool outside of VR or Dota 2.

Facepunch [0] (Makers of Garry's Mod) are utilizing Source 2 with Valves permission and everything they're working on looks pretty promising, with great potential for a new era of modding.

[0] https://sbox.facepunch.com/news
Video codecs can be extremely good at encoding static content, with the right tuning, and trying to capture the text of any arbitrary app on the screen would be quite a task.

One of the bigger issues for text is 4:2:0 subsampling... not really sure how to work around that, as higher levels of subsampling are extremely expensive.
Asahi supports M2, but I don’t think there’s a clear patch parity in both for what’s been merged upstream.
I just love that, in these days of bloated AAA titles, there are these two guys in Wales who are totally committed to psychedelic experiences in gaming, who somehow function just past the public eye but manage to get their games released with all the big players, these PG-rated riots of light and sound that on any given day a curious gamer could stumble upon and become captivated with. You have my deepest respects, Mr. Minter and Giles.
It's dismissive, but I wouldn't call it shallow...
Study from 8 years ago. No longer true.
The author notes that they’ve personally expanded the definition as part of their own research. Like you, I think that’s unhelpful and tries to analyze dissimilar things and apply conclusions to them indiscriminantly.

But I suspect it’s more interesting to them this way, and easier to pursue funding when your thesis includes more socially impactful stuff like harassment and harm instead of just provocation and ideological derision. Institutional bureaucracy gonna bureaucrat.
I talked about hospitals, kindergardens or schools under church operation. The government / public pays for that for the biggest part.
I as a German tax payer also pay for the salaries of bishops etc. Not to me to mention religious mass festivals like “Kirchentag”: 50+% paid for by German citizens.
The German church is collecting it’s “church tax” through the German IRS. And here is some fun fact: the burden of proof that you have left the church (if they happen to find out your parents baptised you) is on the individual. So, assuming that your parents had you baptised you will be liable for church taxes for the rest of your life unless you go to city hall and have it documented. The Catholic tax authority by law only is responsible to keep record of the notice that you left church for 10 years and can then demand (until the rest of your life) that you show a legal proof of having left the church. Happened to me. As a baby - you get baptised without consent. The Catholic church in Germany surely enough hunts you down for taxes until you die. In Eastern Germany there are often no good records - hence the church often forces a negotiated “settlement”.
Exactly. Thanks for this.
The viewership and exposure level is so great on Twitch/Youtube/Facebook/etc that games already have "streamer modes" that hide information to, for example, help prevent stream snipers (including big games like Call of Duty).

Streaming is big. Making your game look good when streamed is probably worthwhile.
Arguably some game genres and trends wouldn't even exist if not for streaming.

Battle Royale games were based on a little known ARMA mod that was popularized by streamers like Lirik which lead to more people playing them which lead to more games like that being made.
NB: There may be cases where a troll is also harassing others online.
There isn't a practical difference between PIs and KRs other than that KRs might be more vague or binary and PIs more like a gauge. It's just semantics around framing goal-setting.
I pasted it because this is from a different, newer article than the link that described the attack in more detail and identified the victim. Sorry for the confusion.
The problem with all of these performance management frameworks is the same.

You start with objectives that make sense and are aligned to the organization's mission.

Then you come up with metrics that attempt to measure how successfully those objectives are being realized.

Then you tie manager and executive compensation to those metrics.

Finally everyone proceeds to game the metrics, often in ways that completely contravene the original objectives, in order to maximize their bonuses.

Rinse and repeat.
More games are already building a "streaming mode" where the UI is shifted, any passwords (eg multiplayer lobbies) are redacted, etc.

Many games rely on streamers as a kind of marketing.

Adding effect tweaks into streamer mode isn't a bad idea.
I sleep well at night. My watch tells me I don't get much REM sleep and I also don't dream a lot.
@dang - sorry to ask this, but the KIRO link is probably better here.
You repeat the same things over and over again, but I’m afraid I didn’t make myself clear enough: this is not about Wordpress not adhering to some coding standard. All those shop owners and bloggers you talk about have been affected, often badly, by crass vulnerabilities, SQL injections, malware, and security issues in obscure features enabled by default. In a lot of cases, this was the direct result of straight-out incompetence on behalf of the Wordpress maintainers and plug-in authors.

Wordpress is a single, glaring, liability. It indirectly prevents improvements to other people’s code; encourages proliferation of outdated and insecure code outside of the WP ecosystem; and causes increasing friction with the rest of the world (just look at projects like this one, which attempts to contain all of Wordpress‘ weirdness as much as possible). Just because Wordpress filled the CMS niche decades back and has a huge ecosystem moat now, still doesn’t mean it’s a good solution. It’s a chicken and egg problem, and all this fussing about caring about their users misses the point. Other people care about their users and deliver rock-solid software too, they just don’t fit in your narrative.

This isn’t about adhering to some highly ideal, but protecting those very people you care about.

I’m not going into the rant on cloud providers you seem to veer to, however. I’ve also made my points in other comments already.
Same idea: General framework for observer based cellular automata simulation. Invented years ago as a geospatial research.
https://github.com/ulrischa/OCell
That’s actually fairly common. The really unsettling question is “why is the moon exactly the same size in the sky as the sun?”. A little bit smaller and we wouldn’t see full solar eclipses, a little bit bigger and we wouldn’t see the suns corona during an eclipse. Another unsettling feature is that the moon is moving further away from the earth so in a few million years’ time, we won’t even have full solar eclipses. So now what are the chances that in the 4B years the earth’s been around, we’re alive at the relatively short time period that we can witness this earth/moon/sun relationship?
Frozen mansion in South Dakota faces wrecking ball
'wrong' doesn't exist in the cosmos.

Perfection does.

I recommend 'the little book of coincidence in the solar system'

https://woodenbooks.com/index.php?id_cms=8&controller=cms#!L...
Why is everybody building on top of electron (slow and bloated) instead of emacs or even vim?

We don't need a new editor. Just make a spacemacs layer or doom plug-in.
That about me page is pretty cringe.
That seems like a pretty good idea generally. For a single-player game an extra straight-to-stream output could even show extra info; be third person, etc.

Hell, why not include the ability to render locally, like a halo/StarCraft (and many other series of course, these are just the two I remember) replay.
considering the Snowden leaks, the 3 letter agencies probably have enough intel to solve about 90% of every unsolved felony in the US and Europe.
Getting the right people on the bus is only one component. See Jim Collins' map for the others.

https://www.jimcollins.com/concepts.html
I want to ask, please read this question in good faith: why is chest feeding insane now, verses other polite terms established decades ago? What difference is it to cease making differentiations between ms/mrs(mz), or to call someone Chinese instead of chinaman, or calling someone African American instead of colored? Yeah it seems new, and therefore unusual/weird, but I don’t know if I can identify a clear and rational rubric as to what makes new progressive terminology insane and older progressive terminology sane.

(Also, I don’t personally agree with “chest feeding” since breasts don’t necessarily have anything to do with gender, men can have breasts. But like, if someone else wants to call their own child feeding activity chest feeding, what do I care? Also, I’m not feeding any kids witth mammary glands so I don’t really know if I even get to be an arbiter of sane/insane terminology to refer to those activities.)
I’m curious what you are calling that can cleanup local variables and temporaries?
I'm an architect (software, not houses). There's a gigantic fucking chasm of difference between architectural design planning and OKRs.
Skiff is good too: https://skiff.com/
I wonder if anybody's had similar experiences...

I've worked at two companies with RFC processes. At both companies, the processes were -- and I hate to use such a strong word -- a total sham.

I suppose the processes were crafted to look like some egalitarian meritocracy. In reality, it was just a test of who had the most political pull. If you had management on your side, your "RFC" was effectively law and dissenting voices were effectively career suicide.

Which, you know... fine. I understand that choices are made based on cliques and political capital rather than anything else. Cool. That's okay! Sucks sometimes, but that's how the world works. Hopefully your org structure itself is at least something of a meritocracy, so that edicts from on high are of a generally high-enough quality. If they get it right-ish often enough, your org will be okay... probably.

But what really rankled me was the fact that the RFC processes amounted to some kind of elaborate cosplay so that, I guess, folks could pretend that there was some sort of healthy collaborative process. If you're going to let a few "popular and management-blessed" engineers make all the decisions, fine, but don't add insult to injury by pretending otherwise.

I've heard similar things from others, elsewhere. I hope there are at least a few companies dedicated to being something better.
Show HN: Exn – Write and render rich, scriptable, and interactive notes