skysight-inc/HackerNews huggingface dataset:
Introduzione

Questa guida presenta i comandi fondamentali di Rust, offrendoti gli strumenti necessari per creare, compilare ed eseguire programmi in questo linguaggio.

Comandi di Base

Per iniziare la programmazione in Rust, è essenziale conoscere i seguenti comandi:

rustc: Compila i programmi Rust in codice macchina nativo.
cargo: Gestisce i progetti Rust.
rustup: Installa Rust e le relative dipendenze.

Comando rustc

Il comando rustc è utilizzato per la compilazione dei programmi Rust in codice macchina nativo. Esegui il seguente comando per compilare un programma:

shell

rustc my_program.rs

Questo comando genererà un file eseguibile con lo stesso nome del programma.

Comando cargo

Cargo gestisce i progetti Rust e consente una varietà di azioni, inclusa la creazione di nuovi progetti, la compilazione, l'esecuzione e la gestione delle dipendenze. Ecco alcuni esempi:

shell

cargo new my_project

Creerà una nuova directory denominata my_project con i file essenziali per il progetto Rust.

shell

cargo build

Compila il progetto, creando un file eseguibile nella directory target/debug.

shell

cargo run

Esegue il progetto, mostrando l'output sulla console.

Comando rustup

rustup installa Rust e le sue dipendenze tramite il comando:

shell

curl https://sh.rustup.rs -sSf | sh

Questo comando scaricherà ed installerà Rust sul tuo sistema.

Esempio

Ecco un esempio di un semplice programma Rust:

rust

fn main() {
println!("Hello, world!");
}

Per compilare ed eseguire il programma:

shell

rustc hello_world.rs
./hello_world

Otterrai in output:

Hello, world!

Conclusione

Questa guida fornisce una panoramica dei comandi essenziali di Rust. Utilizzandoli, potrai cominciare a programmare in questo linguaggio.
Well an obvious difference is that one directly removes executives who were responsible.

But sure, I'm amenable to a sufficiently large fine. Even just allowing class action lawsuits (despite their flaws) would be a lot better than the status quo.

I'm just saying that a "corporate death penalty" doesn't necessarily harm customers. A large fine that an entrenched monopolistic provider can just pass on to customers the same way they do other "compliance costs" doesn't really help much.
The first floppy from 1967 only had one side. Adding one signal to select side was an easy solution to increase the capacity without to much modification of the controller. Adding the capability to read from both heads at the same time would require much more modifications, and more memory.
"I really need to tune the debouncing algorithm, these errors are driving me nuts"
Facinating read. I think it is a great illustration to show how many "practically working systems" can be built on the foundation exhibiting so many consistency artifacts
And I struggle to understand how can you make any real connections without seeing and hearing other person. There is so much communication hidden in body language and voice that for me any kind of text communication is just poor substitute. And I am not even extrovert that loves interaction with others (rather the opposite) and still know this intuitively to be true.
https://usafacts.org/data-projects/child-death

I don't have children so the statistics don't matter to me, but these casual armchair dismissals do a disservice to the institutions we try to hold to standards. Sorry that you (and apparently many others) don't feel that their work is adequate to meet your criteria.
No. I mean, maybe for some people. Some of us just enjoy talking about tech stuff online.
For more of "Taters the Space Cat" check out its Instagram https://www.instagram.com/taters_space_cat/
Ransom doesn't concede the Un-man is right. Rather, he concedes that the Un-man has unlimited intellectual stamina, so in any debate with a human, the human eventually succumbs to his persuasion because humans reason imperfectly.
I think this is a bad thing for the way it was implemented.

Twitter for a brief moment used to work like a Global Broadcast Radio, where everyone could hang out to get a sense of What Is Going On, even if results skewed towards the interests of terminally online people.

Current siloed content feels more like hyper-personalized newspaper. The content is there, but there is limited opportunity or common ground to share and discuss it with friends.

That siloing, along with Instagram's discouragement of user generated content, appears to suggest that Big Tech don't want to deal with opposing users (or any user at all) interacting with each other. IMHO.
Hello! How can I help you?

> What is your name

My name is [Your Name].

> John Jacob Jinggle Hymerschmidt?

[Long description of the song]

> what is your name

My name is John Jacob Jingleheimer Schmidt.
EthSign brings DocuSign-like features to Line, Telegram with a Web3 twist
You may not like their motives or incentives, but I don't see a compelling argument that makes their expression less legitimate than mine.
I’d like to submit my resignation and unsubscribe to this newsletter please?
You'd think the UK of all places would learn what with that Domesday Book kerfuffle.
Ask HN: Mint is shutting down, is there a self-hosted alternative?
The title says it. Intuit is shutting down Mint, and urging everyone to switch to credit karma, which they also own. Quite frankly, I'm sick of it, and would rather track my own finances anyway, but I don't know what alternatives exist.

One of the features of Mint was that it could automatically pull vehicle value, home value, retirement and investment value, loans, etc from websites automatically, providing budget and trend analysis, as well as net worth tracking.

I have been with Mint for a very long time, and it has been an important tool for me financially. For better or worse, they have a huge portion of my financial history. Now, I need a replacement, and I would prefer to have it self-hosted.

I seek the wisdom of the masses! Any ideas?
It looks like the GPU is doing most of the work… from that point of view when do we start to wonder if the GPU can “offload” anything to the whole computer that is hanging off of it, haha.
So why is it a bad idea? There's a difference between destroying information and destroying the original copy of it.
I recently stumbled upon "Artists Way a Spiritual Path to Higher Creativity" and really resonate with a practice it puts forward: "morning pages" and "artist dates." The exact nomenclature isn't important, but the idea of a "signal and response" pattern is, in my opinion, spot on. Like meditation, it's one of those things that sounds far fetched but that you can try for yourself -- and the results will speak for themselves.
You can also take a look here! https://github.com/plasmicapp/plasmic/tree/master/platform/w...

This is Plasmic-generated code that we ourselves use to build our visual editor.
Show HN: Hacker Live – real-time Hacker News client built using Phoenix LiveView
Hacker Live is a client for Hacker News that provides live updates to lists and comments. I’ve built this to get into Elixir / Phoenix / LiveView development.

The UI follows HN look and feel for the most part, with a few opinionated tweaks and additions:

- Sticky comment summaries to help keep track of the discussion context in nested comment threads
- Subtitles on list entries and summaries on story pages generated by an LLM to help you decide whether a given article is worth your time
- List entries link to the discussion page by default
- Surfacing of links in comments to archive.is etc. to bypass paywalls
- Surfacing of previous submissions
- Dark mode

Current limitations:

- Read only
- Missing profile pages and other features
A Trail of Flipping Bits
aint nobody suing about not being open ... unless Apple would be litigating all day. Google lost wrt that argument because they actually allow side-loading but with a scary warning that the app they are side-loading shouldn't be trusted.

Epic: Waaah! we don't want to pay the app store tax. We'll take Apple and Google to court.

Apple: Ha Non-Starter. Good luck with the app. Walled garden. Closed. We don't bend for anyone on this hill, etc. your honor. Never have. Never will.

Google: Well we also take a cut if you want to be in our app store (although the rules are a bit more loose than Apples and hush-hush side deals) but we are a open and your users can install the app without going through our app store (side-loading). Although we will show a warning to protect users that what they are installing hasn't gone thru the review/quality/security process the app store provides.

Epic: Hmm See your honor Google is putting up this scary label when we tell the users to install the app in a way that bypasses the Google tax.

Judge: Yeah that does seem unfair. I'm ruling in favor of Epic against what Google is doing. Google stop putting up those scary labels!

Apple Lawyers: JAJAJAJA

Google: But but but...

In the end Android is riddled with Malware and the OS is unusable because some app installed from a website not vetted by the review process is hogging all the resources or stealing bank info.

"Android is the worst!"
If you can't add anything useful, stay out.

Although I wonder if it was your house to burn down whether you might feel a little differently about doing the right thing.

The answer is, you CC trading standards(Or your country's equivalent) as well.
"They are quite literally encouraging people to send their kids in even while sick. A friend's son has mono right now and the HS is threatening to hold him back over absences"

Maybe complain to the state departments of education and health. Many states have laws on what constitutes an excused absence and procedures around communicable diseases. Many times the local people in power don't know or would rather do whatever they think is best until the state steps in.
As a colourblind person my first thought is: why is your car in reverse on the freeway

I hope this never ships as is, because it's not a safe design as is, but I like the idea.
Protip, use something like a https://diceware.rempe.us/#eff password with 6 words.

They never seem to mind when you just say "litmus secrecy ruckus nest reason send", they don't even skip a beat.
Anecdotally I noticed the same back in 2016-ish, especially when driving on the freeways in the city. It's astonishing what people can turn into behind the wheel of a car or a keyboard.
My failed attempt at using a closet as an office
I agree about being explicit with this, though I will warn about using the python functools caching, because it changes the logic of your program. Because it doesn't copy data, any return that's mutable is risky. It's also not obvious this happens, and even less obvious if you're not keenly aware of this kind of issue being likely.
In my experience with llama.cpp using the CPU (on Linux) is very slow compared to GPU or NPU with the same models as my M1 MacBook Pro using Metal (or maybe it's the shared memory allowing the speedup?).

Even with 12 threads of my 5900X (I've tried using the full 24 SMT - that doesn't really seem to help) with the dolphin-2.5-mixtral-8x7b.Q5_K_M model, my MacBook Pro is around 5-6x faster in terms of tokens per second...
This is my main concern too.

I don't understand why tools like this "pick a winner" with a specific framework instead of rendering to Web Components with a framework wrapper, or using something like Stencil[1] that can render to any framework.

[1] https://stenciljs.com/
The problem is getting into a position to actually moderate a sub.... or building a community entirely from scratch
I think most people would measure instructions per cycle as an estimate of how busy the CPU execution units actually are. Lots of performance tools do measure it.
Maybe the entire class of services that can meaningfully be called "infrastructure" is a bad idea to make the exclusive purview of private, profit-motivated liability shields. Just spitballing
this is how most university libraries are set up
Why I'm leaning into Google services
They aren't focusing the plugin on you. You have to buy the subscription to use it and you can disable it.

JetBrains has no investors. They aren't a VC funded company.

They are providing an AI plugin because they know the majority of programmers today are using AI assistants when programming. So it probably a good idea to provide one with their IDEs.
> Then after an update,you're silently running with it on

Yes, that sounds like a bug to me.

> because they insisted this be an uninstallable plugin.

I don't see a comment from Jetbrains saying that the plugin is supposed to be re-enabled.
/r/AskHistorians
Probably want to make sure you can't sign up for it at a later time.
I can't shake the feeling that this is just people rediscovering this as an issue, this has been happening since the digg exodus hasn't it[0]? The frequency and sophistication has obviously increased, but I thought this was pretty much public knowledge.

[0]https://www.reddit.com/r/IAmA/comments/p9a1v/im_woody_harrel...
Many computers already have 2 GPUs, one integrated into the CPU die, and one external (and typically enormously more powerful).

To my knowledge though it's very rare for software to take advantage of this.
Did the cloud made us over-engineer some systems that could have been simpler?
This screams lack of confidence. Why not focus on your own product and ignore others?
For whatever reason, the software industry never learns this lesson. Maybe because people would rather move on to something new entirely and new entrants are not aware of what they're losing at all.
Phones are making everyone dumber. At least more distracted.
I wish there was more transparency regarding similar shenanigans around here. dang's message to Jeff Geerling was revealing.

https://www.jeffgeerling.com/blog/2022/i-almost-got-banned-h...

> https://news.ycombinator.com/item?id=30273905 was heavily upvoted by a criminal spam service that steals accounts from HN users and then sells upvotes and comments using the stolen accounts. That's basically the equivalent of a capital offense on HN and we ban accounts and sites that do it.

Don't think that we are too small to matter. Even on our tiny community, stealing accounts and selling upvotes/comments is lucrative.

There is also a recent intel report which says bad actors have been moving to "alternative online mediums" but they (frustratingly) don't list them.

https://www.dni.gov/files/ODNI/documents/assessments/NIC-Dec...
> It being temporary doesn't really change that.

Why not?

If it was permanent then one library would buy one copy of each book and everyone would be able to borrow it forever, so no library would have to buy another copy of the same book.

If it's temporary then libraries will have had enough copies for the typical number of people who borrow them at any given time, even during the period when the emergency library was operating, and would continue to buy them because a book is a decades-long investment for a library and they would reasonably expect to continue to need the same number of new books going forward as they always did before.

Essentially the emergency library would cease to exist before it had a meaningful effect on the purchasing behavior of libraries. Being temporary makes all the difference in the world.
Ok, so what do you suggest, people paying only casual attention should know this somehow?
There isn't a LICENSE file in the repo.

Can you add one?
Better APIs for third-party clients, especially support for user authentication so that one can post stories and comments.
It's essentially a mandatory backdoor. It means that Google has the capability to modify application code, and there's no longer a mitigation for this attack vector available to developers.

Hypothetically, Google might be compelled by a government to deploy a malicious update to an app for surveillance purposes. It might also be seen as anticompetitive, in the sense that Google is the only entity which can manage its own keys for new apps, making new non-Google apps inherently less secure.
Show HN: Chrome Reaper
Reaper is a Chrome (or Chromium) browser extension that terminates browser processes when they use too much CPU. Anything that the browser regards as a process is a potential target. This includes tabs, renderers, subframes, other extensions, and itself.

It works on stable channel Chrome for Linux but requires dev channel on Windows, MacOS, or ChromeOS. See README for details.
For people finding their browser blocked by cnn:

https://www.ocregister.com/2023/12/19/mercedes-adds-a-new-ca...
I'd love to see a spoof army recruiting video:

I'm Gina Lopez, Weapons Systems Specialist!

Hi, I'm Rod Gunderson, Combat Medic!

And I'm Eddie Sorenson, Social Media Manipulator!

"We're ARMY strong!"
I suspect the sleep.me chilipad systems (ooler/dock pro) would work pretty well with adjustable beds since they just run a pair of insulated water hoses to a capillary tube network in a mattress pad. Further, if the hose routing didn't work for you out of the box with those you could DIY something else pretty easily since they use off the shelf connectors (https://www.cpcworldwide.com/General-Purpose/Products/Multil...)
You really can't do that legally, at least not in the US. HIPPA prevents you from sharing other people's health info, which disability is. That includes sharing it in the aggregate when it would be easy enough to de-anonymize the data due to small or small-sh sample sizes.

If anything, we should be doing less of this information gathering not more. It's very creepy, for example, that corporations have made it normal for employers to ask their employees questions about their sexual preferences and store that information in databases.

There's also a safety issue at play. If you're part of an historically mistreated group, do you really want your employer cataloging that? What happens when the zeitgest changes and things get bad for that group again? There are plenty of Jewish people in America who are shocked at the amount of AntiSemitism being thrown their way - A lot of folks thought that was behind us. Likewise, Iran was a fairly liberal country back in the 70's and the tide turned very quickly the other way. And of course there's the issue of women's rights in the post Roe era.
The parties involved don't understand that they're trading the problem of maintaining paper records for the problem of maintaining digital media. Humanity has a lot of experience maintaining paper records with reasonable success. Digital media, not so much.
Mac drives had finer control over the motor RPM. Amiga drives read/wrote a track at a time and had no sector gaps.

https://porterolsen.wordpress.com/2016/06/15/accessing-mac-f...
https://c65gs.blogspot.com/2023/10/reading-amiga-disks-in-me....
> I'm always saying that good way to learn language patterns and idioms is to look into standard libraries implementations.

Why would that be true? When you write a library, you are writing code to cover all possible uses; everything within the scope of your library should at least be considered, even if you personally have no need of that particular bit of functionality. But when you write a program it only has to do one thing, so of course it's going to be simpler. To me, it seems obvious that (good) library code will be very different from (good) application code.

(I've used libraries that were written like applications, but they were bad libraries; I was constantly fighting the fact that the library author wrote only for their own use-case, and didn't consider any other.)
I think you missed my point. Even if that is the case, it is still another store that the hardware vendor installed. Most likely uninstallable without rooting the device.

Steam does not come preinstalled (except for the steam deck), users choose to install it on platforms they own.

Steam is removable from all platforms with minimum fuss.

Steam can and will install competing app stores.

None of these facts are true on Apple, Google, or other preinstalled mobile app stores.
The Pentagon doesn't know about vpns ?

What about Oak Brook, IL and South St. Paul, MN ? Both cities seem quite small, are they also Pentagon's playground ?
Am I the only immature one who laughed at the title?
Having worked for Comcast I can't tell you how many times I brought up security concerns and I was told that they were doing better than ever before and its a non issue.

Idk which systems were hacked but I worked on thier innermost apps, and they were a dumpster fire.
I just started playing after watching ChessNetwork channel on youtube a few years ago. I played a little as a kid but was about 1000 at bullet when I started as an adult. I've grinded my way up to 2220~ with no study or training at all.

My point is: just go play for fun, you don't have to study or become a master at some opening.
> On October 10, 2023, one of Xfinity’s software providers, Citrix, announced a
vulnerability in one of its products used by Xfinity and thousands of other companies worldwide. At the time Citrix made this announcement, it released a patch to fix the vulnerability. Citrix issued additional mitigation guidance on October 23, 2023. We promptly patched and mitigated our systems[1]

This reads like "we didn't patch until weeks after the vulnerability and patch were provided" but it's worded intentionally unclear to differ blame.

> Q: How will Comcast prevent another incident from occurring?

> A: We have robust security programs in place which help us to discover criminal activity such as this one

You have to love how their response to their own question is, functionally, "we won't prevent your information from being stolen, but boy howdy we'll sure know when it happens though!"

As a long-time disgruntled comcast customer, i have to say none of this surprises me. But local monopolies mean my wallet doesn't really get a vote in this matter.

1. https://assets.xfinity.com/assets/dotcom/learn/Notice%20To%2...
I think this is one place where you're totally working against the language.

Edit: I don't know how you can arrive at this conclusion given the history of the language. The STL isn't the C++ standard library.

I would love to discuss this more, but dang has limited and nerfed my account.
Isn’t knowing something and then pretending you don’t a form of manipulation? I’m not trying to be snarky, this is a genuine question. Ie, I can understand the strategical advantage this could provide, but struggling to see it from a moral perspective.
> Perilously close to the green color of traffic lights

In the same way that brake lights are perilously close the same color as traffic lights? Or that the amber to red color of turn signals is close to traffic colors as well? How is this perilous?

I suspect the choice of blue/green over purple or violet has more to do with daytime visibility, which is the same reason blue was chosen for emergency vehicles.
Nice, clear description of OLTP v OLAP :) Have you heard about Hydra since their launch? Curious whether you've played around with it and how that went?
Shops that legitimately need n years of Y experience spend the whole job description telling you why, so you'd know if similar experience counts before you apply.

From my perspective hard requirements turn out to be red flags more often than not. Asking for 6+ years in a single language kind of looks like you regret your tech stack. Requiring experience with project management software is a cry for help.
s/reddit/internet/
Yes. And an additional point is that, since there is no time limit the number of wills kept on record increases continuously forever. They said they currently have 110 million and that they started only mid-19th century.

I don't know what they'll ultimately decide but it is right that they at least bring the issue up to debate it.
Others mentioned a few reasons already, but compared to postgres (because typically that's the other option) I'll add index selection. Even with the available plugins and stats and everything, I don't want to in an emergency situation spend time trying to indirectly convince postgres that it should use a different index. "A query takes 20x the time and you can't force it back immediately" is a really bad failure mode.
Pentagon Eyes Microwave Weapons to Tackle Drone Threat