skysight-inc/HackerNews huggingface dataset:
I liked Khan Academy. Got me all the way through Mechanical Engineering and I didn't start until I was 38
> It's free in the sense, ideally, you should contribute something. In the case of ads - it's your eyes.

No, it's not. Either something is free or is not. Either I chose to pay or I don't. If it's not free and I choose to pay, I can enjoy the service. If I choose not to pay, they can refuse me. If it's free, and I pay (donate), good. If I decide not to pay, it's on you to bear the cost. I don't have any obligation to you.

It's not mandatory to read, watch and listen to ads. And most people choose not to, or they tune out, especially when it's not related in any way to their current activity.
What Python? Who said Python? lol
>As ridiculous as it may sound, don’t take it personally.

Yeah thanks for the tip. I'm not taking it personally. But I still do consider this practice rude and inappropriate. It's just the rudeness is not directed at me personally but at everyone in general.

It still will reflect on the company regardless of whether anyone takes it personally.
Clever! I like this! I feel a bit jealous that I didn't think of it :)

It's not quite as easy as it seems, because these methods are "intrinsics". That is, the pure Java code you see is not always the one that gets used; instead, the JIT compiler can use a faster implementation that uses vectorized assembly or whatever. (That's why you see "@IntrinsicCandidate" on compress() and toBytes() in StringUTF16.java)

But I think your idea would also be possible to implement in vectorized assembly, so it still works!

The rule for most things (such as ArrayList) in the JDK is: "if you use race conditions to break this thing, that's your problem, not ours". But String is different: it's one of the few things meant to be "rock-solid, can't break it even if you try", so I think this bug in String would qualify as a potential security issue in their mind: there are many places in Java that trust Strings not to act weird, and some of them are even in native code deep in the guts of the VM.

On the other hand, String is used all over the place so having to introduce a performance regression to fix this bug would be quite painful. All of the other proposed solutions in this thread introduce an extra copy, and an extra pass over the string. Your fix is basically no extra cost, and as a bonus, can be tweaked so each char in the array is read only once.

Which means that the bug can now be fixed "guilt-free", if anyone from the JDK team is reading this thread. Though they have some pretty clever people there too, so they might have thought of it eventually for all I know.
This stems from unfamiliarity with Chinese economy. China being a late comer to a lot of technologies means that a large portion of their research & patents are in relatively more recent fields, e.g. China has more expertise in manufacturing EVs compared to ICE cars, China is dominating the solar market when they are not as competitive in more traditional silicon industry. Not mentioning the "per capita" argument prevalent in most developing countries, in many occasions, the movement towards reducing emission is helping the economy instead of the opposite, signified by the recent surge of Chinese EVs rendering a lot of western brands obsolete there, VW among the most shocked. This applies or will apply to all the other third world countries such as India, as the mechanism behind this phenomenon is universal.
Oracle will never second Open Source, I assure you. They will defend themselves. Occasionally that may benefit you accidentally. If so, I would not bet on it continuing.
A number of libraries in the Southern states have biased maintainers who have merged in pull requests deleting a large number of classes in bulk, despite the fact that the tests have passed for years and those classes are in use by a large number of language users.
You get that the month is not about celebrating the biblical sin, right? Words can have multiple meanings, Orel.
I came here looking for this comment.

You can also create a toolbar in the titlebar. So if you minimize the ribbon by default and add the old style icons to the titlebar, you end up with a really nice setup.
> The ALTER statement changes the transfer point specified in a GO TO statement.

What could go wrong?
Alarming Navy Intel Slide Warns of China's 200x Greater Shipbuilding Capacity
I think so. It wasn't like this before. Another thing that's getting popular is asking questions "related" to the job.

It's also kind of stupid in my opinion because of the way they pick the question. Usually they'll find the most interesting leet code style problem that their company had to solve one time in a blue moon and make that their test problem.
This sounds the same as the student loan forgiveness people saying the Supreme Court decision is just the start of Biden’s fight. “He’s not defeated, this is just a small loss but he’ll definitely win the war.”

Khan has lost 2 major cases recently, which isn’t a good look for her tenure so far. I don’t see how this case is recoverable considering how poorly it’s gone so far. With the EUs backing and the short time table, this deal seems essentially approved.
Dunno, I'm pretty thankful a barrier of sorts exists between us and the possible multitude of other civilizations that may be out there.
With attest, Twitter can tell if there's an actual mobile device hitting Twitter with that bearer token versus today, you can spoof the client and unless they fingerprint the IP address or other subtleties, it's hard to distinguish fake traffic from real traffic.
Or the helpful Windows 11 right-click folder context menu... where you have to click again for more options to do advanced things like "paste", and the only way to get rid of it is to edit the registry.

What The Actual Fuck Is Happening. /rant

Edit: and also, since they've shoved OneDrive/Teams/O365/SharePoint/Etc down our throats you'd think there'd be a clear and obvious interface for sharing a file within this new, enlightened context menu... except that's mysteriously an icon and not a labelled option like the rest of the options instead. Great for discovery!
Tech jobs are like writing with water on stone, under a bright sunny day.

Writing books holds it's worth, writing programs does not.
> which states you may not impose any further restrictions on the recipient's exercise of the rights granted herein.

So "technically" that's not what they are doing. Redhat will happily give any of their customers the source to any GPL binary that customer received from Redhat. This does satisfy the GPL license requirements. Redhat will then immediately terminate their contractual relationship with that customer (i.e. we owe you no more binaries and therefore no more sources AFTER today) if that customer does indeed re-distribute that SRPM.

In other words they are not imposing any restrictions on this specific GPL binary/source pair. They are just ending their contract with you and cutting you off from all future redhat binaries AND sources.

I believe this is a bullshit end-run around the GPL, but whether this intersection of contract law and copyright law actually represents a "restriction" as defined in the GPL is going to 100% be up to a court to decide.
Feels like many other comments here are trivial objections for the sake of sounding contrarian. Or even, humble bragging about how easy math was to the commenter. I found the article to be a great, new (to me), and widely applicable perspective on the matter.
> 1) For-profit entities (particularly, publicly-traded / with "fiduciary responsibility" to shareholders)

Then why is laser eye surgery so efficient?

Answer: it's not covered by insurance, so there's an actual market.

The problem isn't for-profit entities, it's for-profit entities operating in the absence of markets. Rent-seeking, in short.
Sure thing, you may be calling a function that does some regression or something, but you aren't "doing calculus" when you are programming that in R.
One reason could be that the ribbon resizes/hides/collapses buttons depending on the size of the Window. I resizes my word/excel window as I work and it's an ordeal to find the option I want.
> I think learning how to learn things that are hard FOR YOU is quite possibly the most important skill in life.

I’d certainly agree it’s extremely valuable. There are some failure modes from taking it too far (like anything).

People tend to be happier when they’re very good at things. You also contribute more to the world. If you’re always doing things that are hard for you, you won’t do as much or as well, really by definition. It’s okay to do things that are easy for you. There are a lot of upsides!

Even if you choose an easy path, there will always be hard parts. So if you want to get anywhere, it’s essential to have practice navigating that. Just consider if that’s where you want to be all the time. I’ve done it myself and seen it in others, where you think you’re always challenging yourself, but you’ve actually just put yourself into a life that’s a bad fit.
I'm surprised nobody has pointed out how terrible its selling feature - its AI - is. I tested it out and it was practically useless at classifying my images. Simple things like an obvious image of a cat it misses tagging as a cat so it isn't searchable.

Did I conceivably mess up the setup or is this other's experience as well?

Google photos AI is so far ahead of Photoprism it isn't even a contest unfortunately. Which sucks because I am more than willing to pay for a viable alternative (still looking...).
> People were paid to protect someone's stuff, those people were called guards, but they weren't enforcing law.

So you deny that some people were paid to enforce the law at some point of time somewhere? So the Code of Hammurabi was just a useless piece of stone nobody cared about?

> Some people were given ownership of a place and the people in that place, they were called lords or knights, but they weren't enforcing laws, they were enforcing their will.

Lords and knights is a very recent phenomena. Civilization is much older than lords and knights. In fact, feudalism is a very peculiar part of human history. Most of the time, power was very "centralized" even if "devolved".

> Sometimes soldiers would be pressed into enforcing laws, but they were being paid to be soldiers.

They also were being paid to police, evidently, thus being the police.

> Eventually we got to some folks who were paid to enforce laws. Some of the earliest were "Shire Reeves" (from which we derive the word sheriff).

They weren't the earliest. State monopoly on violence is much older than Shire Reeves.

> The history of US police is really fascinating, and not something most people really every dive into. They believe it was always this way, but it very much wasn't. Police as a concept like we know them is very, very modern.

People believe everything in the US is a consequence of slavery. They can't comprehend that laws and cities existed before 1619, let alone before Anglo-Saxons came to Albion.
Another problem is use of auto formatters. When I am on phone I expect it to auto format text.
Yes, buuut the way to do it without root is user namespaces, which have a history of causing their own security problems because the kernel historically assumed that the root user wasn't a threat and only root could access certain interfaces that just got exposed to any user who wanted them. It's getting better with time, thankfully.
> Any celebrity should familiarise themselves with the companies and products they endorse.

There is a difference between endorsing a product and acting in an ad for a product. The latter is an acted out sketch.

To be ultra-pedantic, one can same the same (just in a different way) for paid endorsements. But I hope the factual difference between the two is obvious enough to not need further explanation.
Thanks! I find the summary helps me avoid mindlessly scrolling news sites (since I'm going to get the interesting bits sent to me anyways).
It's actually a pretty interesting question why programming languages that work like that are a bad idea.

From decades of experience, I know intuitively that they are, but I find myself unable to formulate a concise description of what exactly is wrong with this approach.
A big part of the fun for me is being completely alone, practicing map reading, and faffing around as I find my own way. So I Google the name of the forest and the phrase "district map" to identify the ranger district(s) I'm interested in, Google the district name with the phrase "dispersed camping" to read the rules, and then stare at a topo map with an MVUM overlay to decide spots to look. I find this process often identifies better sites (by my preferences at least) than I see online and online listings are not infrequently wrong about the rules. The process from turning on to the first dirt road to camping takes maybe 20 minutes if I'm in a hurry or an hour if I'm optimizing for the perfect spot. If I forgot to refill my water container and need to find a stream that's an extra .1-2hours depending on season and region.

If I wanted the actual right answer I'd call a ranger.

(The reason I Google is because the USFS and to a lesser extent BLM have awful intra-site navigation. I don't bother asking Google to restrict to the domain because the right usfs page will be at the top anyway. MVUM stands for Motor Vehicle Use Map and indicates where I can drive and, if applicable, which roads I can pull off to camp. Remember that following the MVUM is necessary but not sufficient, you also need to check the dispersed camping section of the appropriate website. You can get MVUM pdfs by googling place + "MVUM" but I prefer the MVUM layer in the app CalTopo)
Is that true? The game I developed for Steam Deck is actually the Windows application (it runs under Proton on Steam Deck).

I suspect most developers are also doing this. No harm to Windows there.

Maybe it's the Xbox getting left behind?
Give a quick glance to Svelte.
Help me understand, how this syntax
{#if expression}...{:else if expression}...{/if}
can be seriously invented in our... more civilized age?
The Toronto Zoo wants you to stop showing gorillas your phone
And as a bonus, "You cannot get your money back because the computer is not defective, it is just different from what you expected" isn't true for them; you can return for any/no reason in the first two weeks.
Encrypted or not, photographs are typically protected from view and not shared with the world. They are behind an authwall. Imagine if you are on Facebook and you upload a photo album. You share it with a group of friends. Do you expect Facebook to spray the content of those photos all over in public without your consent? No, same with OneDrive; my sharing options specify how I want the files/photos/content to be protected, and if OneDrive decides to frivolously ignore my sharing options, then that's a security incident, encrypted or not.
As a user that isn’t my problem. If a service is being given away for free, I will take advantage of that for as long as its available.
As an engineer calculus is pretty fundamental to my job. It underpins all sorts of stuff - Heat transfer, fluid flow, stress and strain rates, beam deflection, fracture mechanics etc.

I may not be solving differential equations by hand but I'm using knowledge about calculus everytime I reason about our industrial process.

The excel part is probably referring to solvers - where you plug in boundary conditions and spits out a solution. Edit - and excel or R (or Matlab) is what you use in lieu of needing to solve this stuff by hand.
I don't know.

I found it as you describe, but that was after spending decades with more conventional programming languages. Meanwhile, there are folks over in the IF community who, despite to the best of my knowledge never having written a meaningful amount of what you and I would recognize as code, turn out works of complexity I'd never have imagined you could achieve with Inform 7.

It doesn't have all that much value to me, although I've found it fun to play with, but too many people have done too well with it for me to want to write it off entirely. I think we're just no more for it than it is for us.
That’s quite a turn of event, but MS is proven suck at making games so there is the argument
Operator overloading has been a feature of many languages dating back to the very concept of using operator notation in programming. I know of no language that has the * operator dedicated solely to a single type. Typically you have at least signed and unsigned overload, as well as various bit sizes (including larger than the machine word size), and floating point representations. Extending that to vectorial operations, arbitrary precision, and others only seem to make sense and to be going with the flow...
I don't really buy this. There's only so many much time individuals can/will commit to playing video games and spend on accessories. There'll be an overlap of those who can afford the time/money to use both a Switch and a PS5. And with consoles, it's often game sales that matter more than hardware as Nintendo is the only company that makes some money off of its hardware.

Quality of games doesn't matter so much. If someone is spending hours playing Tears of the Kingdom, that's time not spent on playing games on another console.

Even with your analogy there will be some people who can afford 2 cars and drive them for different occasions but others only dedicate to just one. And even then a person can only drive one car at a time.
NType82Mono seems to be their own custom typeface [1]. if it's actually monospace, as the name suggests, i'm guessing it's a case of lazy designers who decided they wanted a monospace version because variable character widths were just too hard to deal with (mostly because that seems like the sort of thing i'd do)

https://www.reddit.com/r/identifythisfont/comments/116xpz6/i...
Yeah, this is definitely possible today. A couple of us did it when we were working at Zapier - you could set up a Zap to watch columns of a sheet to act as an inbox and outbox, then hook it up to Twilio to text a pre-determined person.
What makes you think this is not technology?
The $100/yr cost in undoubtedly cheaper than owning a parking spot and a bathroom in California!
Huh. Unless that was advertised as a policy they would have no right to enforce that.
I am definitely not bragging — I’m saying the opposite, that all that pressure and elitism around math and science are unnecessary and counterproductive. I also liked the article just fine. The only controversial point I made is that science > art :)
I'm immediately reminded of this exchange:

"Persian: A thousand nations of the Persian empire descend upon you. Our arrows will blot out the sun!

Stelios: Then we will fight in the shade."

Those birds deserve more respect.
I get your point for the industry at large. For example, Skyrim 2011. ES6, 2026? Maybe? But CoD, I swear, you sneeze and there's a new title. CoD: Modern Warfare 2: Black Ops: 2023 reboot. For the record, I'm mostly being tongue in cheek here, but the franchise does seem to release unusually frequently.
The one major flaw I would like to point out here. Don't look at development on apple silicon as only development on Apple silicon. They base the architecture off their A-series processors in their phones, but scaled up. So all the research money for Apple Silicon is also research money for their in house A-series processors for their phones.
> you have to run a single time to know it works

A common use case for cstdio/iostreams/std::format is logging. It's not at all uncommon to have many, many log statements that are rarely executed because they're mainly for debugging and therefore disabled most of the time. There you go, lots of rarely used and even more rarely 'tested' formatting constructs.

I don't want things to start blowing up just because I enabled some logging, so I'm going to do what I can to let the compiler find as many problems as possible at compile time.
Just because everyone wants to offload IAM support load elsewhere doesn’t make a phone company responsible for bank fraud.
Is there supposed to be a knowing self-aware irony to this idea?

Idk, it just seems a flat re-interpretation of an obvious concept. Good silliness goes deep, imo.
or https://recreation.gov :)
well if you bother to send an email that breaks out of the container, you might as well make it retrospectively delete the email to hide the evidence :)
Re: Japan - Japan teaches this early, Japanese students clean their own schools.
I don't know should I stick to mustaches (it can be dictated by other reasons), but if I should: {#if expr} {#elseif expr} {#endif}
People (and employers) who can truly appreciate calculus wouldn't be impressed with a taken calculus course (thousands of students take calculus every year) or even a math BSc, and those who can't, how would they assess how hard your calculus course really was? There is no competition in a typical calculus course. Better ways of signaling the ability of doing hard things, especially for kids, in my opinion, are math/programming/etc contests. That's where you have a real competition and can show what you are capable of relatively to other people who participate and want to win. Also, it's important to note that passing a calculus course includes not only watching lectures or reading a textbook but also extensive problem solving. Typically "hard" college math courses are about memorization of abstract concepts, and taking any of them doesn't really prove you can do hard things (I'm not talking about PhD where you need to make novel contributions, thats crazy hard if you want your research to be competitive). Thats my experience and perspective but I'm living in my bubble.
I believe this is critical for well-being even if there are no disasters coming.
It's mostly (great) Red Hat containers projects
Calculus is important, because (among other things) the proper definition of limits teaches you how to manipulate logic quantifiers.

In any case, IMHO best advice to young people - try to learn hardest things you can. Later, there will be less time, less energy and more distractions.
Mainly beca auto formatters. It becomes a habit.
> laptop that crammed Thunderbolt connections into a regular USB-A port

wtf, link? I'm really curious how they did that in a backwards compatible way
> The bank charged multiple $35 overdraft fees for the same transaction

"Consumer abuses" is an interesting way to say criminal fraud.

Why exactly is this bank allowed to continue operating? An individual bank teller convicted of defrauding their customers would be fired on the spot, and never work in a bank again. Why should it be different for institutions, if the institution as a whole engages in systematic fraud?
The Sizzle is great! Concise, smart, sweary. If you're after a brief Australian-based tech news daily summary, this is the one.