skysight-inc/HackerNews huggingface dataset:
> I would say private is a way to tell the user to not touch the variable, or to use an accessor function that has validation to prevent entering invalid state.

That's what I meant, that it's a way to tell the programmer that you may not need to touch this variable directly because there are already functions that do that so please look at those functions to see if there is one that does what you need. Private then makes sure that all functions that touch the variable are added to the list because you can't use a private variable in a function not in the list. The list I'm talking about is the function declarations/definitions in the class.

This C++ code doesn't compile because `number` is private by default:

class A {
int number;
};
void zero(A &a) {
a.number = 0;
}

But this works because now `zero` is added to a list of functions inside the class and that way the function is easier to find for someone who wants to modify `number` (assuming the function and the class were not already defined right next to each other):

class A {
int number;
void zero();
};
void A::zero() {
number = 0;
}

So the idea is that private can help with reusing code because it makes sure that all functions that modify the variable are listed in the class, which increases the chance of them being used.

Otherwise, what's the difference between my two examples that makes the second one better than the first one (other than that the first one doesn't compile)? The only difference is that the function has been added to a list inside the class and got a slightly different name.
It's some company they acquired (linked from the post page):

https://wickr.com/aws-has-acquired-encrypted-messaging-servi...

They sell mostly to police and military and security types.

Everything about this makes me want to puke. Their customers, the likely reasons for the acquisition, the unfettered right of big tech to acquire shit and no one on this thread even noticed, the implications of AWS partnering more and more with the military, integrating into the slimy government borg in the same way big banks do. Amazon will eventually be the unofficial fifth arm of the government just as Blackrock is the fourth.
Why would I use this and not the established `cargo fmt`
Even if it is technically solvable, don't underestimate the work to be done to comply with regulations. Some might even not be available yet, especially when talking about automatization with AI.
A Fighter Pilot’s Guide to surviving on the roads (2013)
On ThinkPad X1 laptop with 8 hyperthreads it takes 6-7 hours to compile Chromium from sources these days.
I'm not arguing for the lack of knowledge, just explaining my experience with a wave of developers that I've encountered.

Just to confirm: I believe people should know how computers work from an architectural stand point.
https://www.oatridge.co.uk/poems/j/john-betjeman-slough.php
From what I see the point of this renderer is that it can invert the rendering to come up with a 3d scene that matches the input render image, so I guess outputs aren't as important ?
If you can't do napkin math with bits and bytes to calculate capacities, bandwidths, flows etc. you are lacking one of the most essential skills there are, and need to pick up the slack ASAP.
Yes buddy, it is an extra steps, it is not just a tunneling solution, it has a reverse proxy capabilities which give the user more flexibility on tunnels customizations, every user has his own story and usecase that goes beyond what a normal ssh tunneling can do for example.

Thanks for your comment.
you can extend this to everything. are you ok your children reciving gore pics, are you ok your kids receiving anarchyst cookbooks, are you ok your kids receiving comunist propoganda? are you ok your kids receiving any random messges from anonymous users? if not i guess just whitelist contacts your kid is allowed to interact. but i myself prefere to talk about world and explain how things work and what you can expect to encounter when growing up rather than growing your kid in petri dish. eventualy they will see errect penis :)
I don't love it but at least it's not that disastrous on-device "CSAM" scanning they were planning to roll out with this. That must have been one of Apple's biggest blunders in history. Apple announcing they would scan our phones for government banned content. Pants on head crazy.
TL;DR: Homa implements a novel and effective form of bipartite matching that allows it to achieve high network utilization while also respecting message priorities.
Sure, but most such losses are easily sustained, costing almost nothing.

Certainly, some are not. When running for office, it's dangerous. When talking to family, it's dangerous. But I sustain losses with a simple "fair enough" and walk away quite often having lost nothing. To people with slightly more good faith, a quick "I'm not quite convinced, but I can't nail down my disagreement" is sufficient to gracefully take the L.

AFAIK I'm quite well-respected in my peer group so it isn't causing me any harm.
That's the dodge that makes people angry. The left simply define whatever they personally care about politically/ideologically as fair game for the workplace because it affects other people (tautological), or they see themselves as in opposition to some sort of vague evil that they have to defend helpless colleagues from. So they impose radical ideology on everyone and if anyone objects, saying it's politics and they should keep it at home, they just claim either it's really not politics, or that it is but anyone who objects is evil and should be ashamed/cancelled for not being 100% on board.

I know a lot of ex-Googlers. They all got sick of this stuff and either left, or hate the firm but stay due to inertia. Over time more and more peel away. I don't know any who joined pre-2010 who still respect the company, and the reasons are always the same. They see it as having become a 1984 style Big Brother.
Recently, Microsoft and Oracle announced the general availability (GA) of Oracle Database Service for Microsoft Azure, a new service that allows Microsoft Azure customers to provision, access, and monitor enterprise-grade Oracle Database services in Oracle Cloud Infrastructure (OCI).
Sounds like trucking companies should build a network of well located cheap rooming houses for overnight stays for truckers and scrap overnight cabs. They could even put them next to fuel stops and open the eateries to the public. They could be called truck stops.
And you don’t have to navigate through multiple layers of settings to turn the feature on if you don’t want to?
> My interpretation was that "the rest of the world" is meant to refer to "the rest of the countries in the world" not "the rest of the people in the world".

Even by that measure it is false. The only continents less violent than the one the United States resides are Europe, Oceania and Antarctica. The United States isn't even the most violent country in its own continent, that would be Mexico.

So really the unnecessary qualifier should be: "Well it might be bad in the U.S., but in Europe, Oceania and Antarctica..."
I don't know what people on HN said, but it's the first example of nudges of you look here (and pretty much anywhere else):

https://en.wikipedia.org/wiki/Nudge_theory#Types_of_nudges
I believe that Poetry does conform to PEP 518 (i.e. it specifies `[build-system]requires/build-backend`), but not to the `dependencies` part of PEP 621 [1]. There are plans for this in the future though [2]. Though I would defer to your expertise if I'm mistaken.

[1] https://peps.python.org/pep-0621/

[2] https://github.com/python-poetry/roadmap/issues/3
This is opt-in, they can choose not to use it.
Your inertia comment kept me (over)thinking for a while.

So what is inertia, and what makes it interesting on its own?

I guess we could describe it as v(t) = v(t - d) if a(t - d) = 0 for small d (velocity remains constant unless a force, i.e. acceleration, is applied) but this seems to be a bit self referential since it's just a longer way to say a(t) is v'(t).

What makes inertia interesting compared to other derivatives? Isn't acceleration "inertial" wrt jerk by definition? Or rather, any derivable function is "inertial" wrt to its derivative. Even if we had velocity change without external forces we'd just introduce a "phantom force" like gravity to make it all work nicely.

Is inertia as a concept just an artifact of classical physics being framed in terms of position and forces?
What I have observed, as more and more people from a wider background enter into computer science and software engineering, is that it's not so much what they know or don't know that matters, but rather, what is their attitude towards learning something they don't already know.

If they embrace new knowledge and appreciate those who bring it to them, then I couldn't think of someone better for this art. If, on the other hand, they dismiss anything that they don't immediately see the value to, even at the behest of someone either more senior or experienced, then I would say, that is the red flag.
Show HN: Marple – Interactive time series visualization for engineers
Hi HN, excited to share the project I have been working on for the past two years.
Marple was created by engineers for engineers. Marple helps them organize and analyze their sensor data in a more user-friendly way.

We’ve all been there: measurement data from an experiment or test needs to be analyzed but the only thing you have is a few data files flying around. You do not have a clue how to open or read the data. So what you do next is open your Python/Matlab/Jupyter Notebook/… and start coding in order to make some sense of the data. We didn’t like that process, so we started Marple to solve this issue.

Engineers tend to log data at frequencies from 1Hz to 10kHz and usually log hundreds of sensors at the same time. Data sets usually contain millions of data points. In order to make our web-based data visualization responsive, we had some technical challenges to tackle. We developed our own visualization engine based on PostgreSQL that is able to visualize millions of data points pretty much instantly. This allows us to create an interactive visualization environment which is perfect for data exploration, even for large data sets!

This is the second time we show Marple to HackerNews, but since then we made some big steps. We made a pivot to a cloud product and now offer a free version of Marple. Feel free to head over to our website and give it a go. Let us know what you think of it!
And it will fail due to the current voting system. CPG Grey has a great explainer on why there will only ever be 2 political parties under the current system https://www.youtube.com/watch?v=s7tWHJfhiyo
If this feature were designed to prevent unsolicited nudity, it would be far easier to turn off. It probably shouldn't trigger for people in your contacts at all, and it should have an override button for everybody else. This is not the case, and the feature is even triggered when sending messages with such photos, so this is clearly not its intended purpose.
Some of them are, which is why it's important to look at the sources and verify for themselves. Citing a news article provides a very different level of evidence for an assertion than a peer reviewed paper.
They'll call it "Parenting as a Service"...
Relevant trope: https://tvtropes.org/pmwiki/pmwiki.php/Main/ThinkOfTheChildr...
TSMC were almost single-handedly bankrolled by Apple. Had Samsung not tried to establish themselves as a competitor to Apple in basically every product offering, they would be in first place.
He also has a hard drive based NAS, this is an additional local buffer for current work.
A gold-rush of NLP startups is about to arrive – here’s why
There's a section in the official spec document which is dedicated to define the hart.
Nice.

Like all of these types of things, I believe that an heuristic approach is best, and this would work well for that.

I could see a training curriculum being developed from it.

However, it’s also likely that an HR policy document would be developed, with compensation and review targets. That could have … interesting … ramifications.

BTW: the image does not do so well in GitHub’s new dark mode.
I have received the email and no payment:( you have and EUR or USD account? SEPA bank account?
That means they have not given up on the whole direction of on-device image scanning, the idea of clandestinely reporting your device images [1], that they (temporarily) abandoned due to a backlash. There must be an internal censorship struggle within Apple, and it's unclear which group will win. I personally skipped their M1 laptops when the news of [1] came out. Was waiting for M2 14" pro after they abandoned it, but now will probably go with an XPS13

1. https://www.macrumors.com/2021/12/15/apple-nixes-csam-refere...
Not sure what reality you’re living in but almost all kids in high school have phones.

This feature is targeted firmly at that demographic who generally aren’t going to listen to what their parents say on this matter. But whom will suffer the worst if their photos are spread around the school.
Isn't the feature opt-in?
Black MIDI
"Let's not call the fire department, because they would break the windows. Let's sit here in the living room and wait for the fire to burn out."

So what's your game plan, then?

Continue to burn fossil fuels and guarantee +5Cº and up? This is death for our descendents and for a million non-human species.

---

Also, I note a large number of claims about the real world, claims which seem wildly false, yet none of them do you actually prove with facts, data, citations or anything.

Given that your basic argument is, "We can't afford not to kill our ecosystem," I think you are going to need more than that.
I don't follow. The Economist's editors aren't the ones deciding what is or isn't counted as a nudge in the academic literature.
> In the end MS did not sue anyone... but it got what it wanted: total chaos in the Linux desktop world.

So true, and Miguel de Icaza, the architect of Gnome, later got his wish of working for Microsoft. I said at the time, he was working for Microsoft all along.
"Big brother" is not what's happening here. At no point does Apple inform a parent if their child is sending or receiving nude photos. It merely provides a prompt that gives them the bare minimum information to understand the decision they're about to make.

Microsoft Outlook sends me a prompt when I forget to attach something to an email. Something like "Hey it looks like you forgot to add an attachment, would you like to proceed?" The prompt gives me two choices, cancel or send anyway. Similarly to the nudity check, Microsoft scans the content of your email to understand if you intended to send an email with an attachment or not. Would you consider this to be "big brother"?

This isn't just a feature for children. Adults can turn this feature on to prevent themself from ever accidentally sending nude pics.
In Europe sending unsolicited pictures of guns would be a far far greater problem
I can only speak anecdotally but I comment on the drabness of car colours every time I'm out driving with a passenger. It's extremely noticeable.
I think you need to qualify "in Europe", as a European it is certainly not true of any place I ever lived "in Europe".

That aside, it would be nice if we could survive just a single thread about a child protection feature without endless absurdist arguments and strawmen being offered.

I appreciate the reply to this comment indicating nudity is often unsolicited. That's very true. A productive thread regarding a feature like this might include discussion of how to limit its scope, or how it might be safely extended to other kinds of harmful content a child might want to avoid. A pointless thread might be one where the heart of the tech industry continues to ignore the fact many new parents ban all unsupervised Internet and new media usage for their children well into their teens due to problems like this remaining unsolved for decades now, and the industry being utterly incapable of having a sober conversation about it.
Rodney Bates called his independent invention of them K-Trees.
Ok, so you couldn’t be bothered reading the article and rather just slippery slope argument the feature blindly.

It’s an opt in feature, that’s part of the parental controls settings, and it does all processing on device. Apple is not Google or Facebook, and has demonstrated that it has no desire to access your images or data.

Your slippery slope argument is so pointlessly stupid it’s equivalent to arguing that the addition of speed limits is a slippery slope towards not being allowed to drive. Eg meaningless to the point where it erodes the meaning of the term in contexts where it actually matters.
Why is so fundamental about the fact that a byte is 8 bits? The fact that a byte is 8 bits is more for historical reasons. Likewise, an int is traditionally 32 bits, but Javascript and Python programmers don't need to worry about that. If a programmer doesn't know that a byte is 8 bits, they probably just forgot it since it wasn't necessary for them to know.
DPLL, see https://arxiv.org/pdf/1912.12747.pdf
"Oh, think of the children!"

Child abuse is a terrible problem, but big tech and politicians are using it as leverage to erode all of our right to privacy. What's next, let's monitor all text communication to stop perverts texting with your child? It will be hailed as another great step towards fighting paedophilia.

The problem with the "child abuse" angle is that protesting against these changes turns everybody against you, because normal people don't have anything to hide. "Why do you hate the children?"

We are losing all of our right to privacy with a massive applause.
Cloud and DevOps Learning Resources
Psh, hacker news is chock-full of clueless nincompoops. The original post saying “au Revoir” to facebook, lol. They actually think that facebook will be gone.
I can’t recall if it’s particularly ergonomic, but technically I believe it’s possible.
When you are working as backend developer and your clients are mobile devices, is your message 8 times smaller or bigger is difference between up-and-running and outage.
Don’t give them ideas
Not since they bundled an unrelease compiler in their distribution ( around RH7).
> Apple announcing they would scan our phones for government banned content

Until you realise Apple has been scanning your iCloud photos for government banned content for years.

And that the on device option was better for your privacy not worse.
I have real problem with colour-perception in LED lighting - board game evenings are tricky when I can't tell the piece colours apart so well. Feels like it's just me though...
to clearify apple feature looks reasonable to me. 4 and 7. ... and now im questioning my previous comment in my head about how certain i am about what i wrote :)
In America you need photo ID to buy beer, purchase tobacco, or see a nipple in a movie theater, but not to vote. We're an odd country.
FWIW I've run ZFS on my NAS since 2009, and I have had no detectable file corruption due to not using ECC. There might be something somewhere but it's not worse than other filesystems or anything in that regard.

So while I'd certainly sleep sounder with ECC on it, it's not a complete horror show like someone likes to portray it as.
Not sure you understand this internet thing works.

US is investing into microchip industry so that they don't get invaded over the internet.

As to boots in the ground, you are just naive. The only thing that stops China or Russia from invading US is US military potential. The money that goes into military buys you peace.
Xbox 360 DVD Firmware Key Extraction (2017)
I think the more important question is how old are your kids?
For many years it was only a http site and didn't even have https.
Zod to JSON schema is a thing so I think that solves your problem, no?

https://www.npmjs.com/package/zod-to-json-schema
Not sure what to say concerning buildfarm's remote execution.

Reading an issue I've opened almost 2y ago [1], seems the backend requires the client to have a specific gcc version.

That's a strong limitation imho.

[1] https://github.com/bazelbuild/bazel-buildfarm/issues/545
>> because there aren't enough workers willing to do the job

because there aren't enough workers willing to do the job at a price employers want to pay

Fixed it for you. There is never a labour shortage, only a shortage at a particular wage rate.
As someone with similar concerns, how far do you think solar can take us? An average solar roof with ~10kWp of solar panels with a battery (an electric car?) should be enough to cover most of the needs of the house, leaving just the car as an external user.

That, and with smart charging (ie off-peak) we could smooth the consumption curve, meaning we could use non-elastic generation (nuclear, ..?) more?
>Now things that are controversial like IQ or the role of heritability in ability are surely going to be problematic.

FYI this kind of "wrong think" is already being removed in many articles. The way it's removed is applying the existing deep and numerous rules more strictly to information which cuts against the current dominant cultural narratives. For one of the best examples I can provide, have a look at how the "Feminism" and "Men's Rights" pages are written. Completely different standards for evidence, commentary, style, and even sections. Criticism of men's rights is evident in the heading, while of course, there is no criticism of feminism in Feminism's heading.

Wikipedia co-founder Larry Sanger has described Wikipedia as "badly biased." He's 100% correct.
With Matrix, when you sign in on a new device it shows a message the previous device to verify. Sounds about the same
I wouldn't say it's famous for its rainfall. It gets on average about half of the annual precipitation that New York City does, which itself isn't exactly known as a rainy place.
Python puts source code in a directory with the package's name. That's why the source code is really under `repo_root/package/`, not under `repo_root/` as you seem to imply. It's just that it's not called `src/`, but `package/` in Python (but that's configurable!).

So if you have a project called "splitter", your source code really lives under `splitter/splitter/`. I would agree that seems a bit redundant and `splitter/src` look better, but the source code is not in the project root.
Based on my 25years experience with that line of work, this knowledge is not required at all and won't make you write better code. Some coworkers will question your competence, which is a disadvantage.

Hiring wise, if you've spent a few years programming without ever learning about "that bits&bytes thing", an employer is tempted to doubt your education, level of curiosity and/or general interest in your field.
The way go uses system API is completely unportable - and largely unsupported.
Learn from Incidents with Postmortem Templates
>I said nothing

I think she deserves to know it leaked outside of her assumed "comfort zone"
>most of modern wesern democracies is a pathetic and transparent sham that is trampled at the earliest encounter with any real established power

I agree with this on a knee-jerk, but it still seems to me 'the west' is different from China, Russia, etc. Why do I feel that, what's the source?
Yes, obviously that's alright. It's nonetheless also alright to wonder about or even question the reason behind those different cultures.

As a European, it's just really, really strange to see how everything war, gore, death and guns seems to be alright for the kids overseas, but don't you dare show a nipple or say a bad word. I respect your culture, even like lots about it. But sorry, that's weird.