skysight-inc/HackerNews huggingface dataset:
> I assume you meant that rather than what you actually wrote.

Yes, today I learned HN replaces double-asterisks with single asterisks. Edited my original post.

> None of that is correct. The value-part of the fat pointer is the exact same in both situations: nil. It is a single value which is both nil and non-nil.

I repeat, an interface isn't "both nil and non-nil", but rather the nullity of the interface and the nullity of the underlying data are distinct propositions. For example, there is nothing analogous to "both nil and non-nil" when the runtime type is a value type, such as an integer.

An interface behaves just like a reference. When the underlying data is also a reference, then it behaves like a reference to a reference. This means you can have a nil interface or a non-nil interface which references a nil pointer.

Under the covers, Go implements this behavior by representing interfaces as a tuple where the first field contains a pointer to the runtime type information and the second field contains a pointer to the data. Go encodes a nil interface as (nil, nil) while it encodes an interface backed by a nil int pointer as `(<pointer to `int` type>, nil)`.

> We really don't. In "every language" you have to actually create a double indirection for something within the same heavenly realm (but is not at all the same thing) to occur.

Go interfaces to pointer data are functionally "double indirection". The outer pointer can be either nil or a pointer to the data which itself can be nil or valid.

> Something a typed nil does not let you do, unless you know (or reflect) the underlying concrete type in order to downcast the interface back to a regular pointer.

Well, this would be unsafe as the runtime type of the underlying data isn't guaranteed to be a pointer. So by default Go requires runtime type checks in this case, but you can always opt out of these runtime type checks via `unsafe` but this is usually inadvisable.
There are some nice 4K@27 monitors. Slightly lower DPI than 5K@27 but i’ve been really happy with my S2721.
Similar age for me, also with a ZX Spectrum - I guess that dates us, and our location pretty well.

I've posted this before, but it's always a fun trip down memory-lane:

https://blog.steve.fi/how_i_started_programming.html
Are you suggesting that the Parks Department interferes with the CDC?
A look back at the military’s influence on nutrition in the U.S.
Why the heck am I doing this?
> Imagine that every one of people who designed computers, from the chip makers, to the ones making the instruction set, to the firmware coders etc. had no concept of "abstraction", adherence to standards or even a logical, coherent design. Would computers be more like cells then?

Honestly that sounds like basically what we got. The "design coherence" on the scale of the entire industry has been pretty low for decades.
Facebook, Messenger, Instagram and WhatsApp users targeted in phishing scheme
I kludged together subscription support for our GraphQL stack, and it's super scary because the product people see it working and are like, "this is awesome!" but sometimes it doesn't totally work, and I don't think they realize how hard it would be to, "just make it work all the time".

I want a "real" non-kludge solution, but it's hard to convince someone they need to give you money to throw away something that "works", from their perspective.
I guess it doesn't matter, not sure why i asked, just curious i guess. Disregard please!
The blog author isn't the one who stated a tos occured. The company would need to provide proof. The author could refute that with their own data afterwards.

If someone says you stole something should we ask you for proof that you did and if you fail to provide proof should we say you are being shady by not answering?
U.S. regulator opens probe into 580k Tesla vehicles over game feature
The fundamental thing about those features (and the equivalent on every system except Windows) is that you can never get more capabilities, only less. Once you are in a jail, there is no API for getting out of it.

You can't even see a binary from the rest of your system, and exec won't get you out.
Let me throw in another monkey wrench! Why not React with firebase. You can get auth out of the box and the Firestore coupled with Cloud functions is a nice enough backend to work with if you don’t want to spin up your own backend server. As a EE trying to work on my Pom Timer with no Web app dev experience,I personally like the ability to write the UI logic and outsource everything else to a pre-baked backend. Also Firebase also has modules that support serving ML models. Check it
Out and Robin Weiruch even wrote a good book on that topic. Good luck. Email in profile so feel free to reach out
In a time without modern refrigeration, they may have been onto something with the shellfish.
You mean Intel HD 520? Haven't tested that one myself, but Intel usually works out of the box as long as your kernel version is recent enough. It's possible you have the wrong driver loaded though.

To check what driver you're using, install a package called hwinfo (`sudo apt install hwinfo`) then run the following: `hwinfo --gfxcard` and look for the line called "Driver". On my Thinkpad with intel HD4600 graphics, the driver is called "i915", but yours might be slightly different. If it says something else, it's probably a software rasterizer. This wiki page has a list of mesa drivers with descriptions: https://wiki.archlinux.org/title/OpenGL#Installation

You could also use glxinfo, like `glxinfo | grep "OpenGL vendor"`. On my Thinkpad, the output is "Intel Open Source Technology Center"
I thought freecodecamp is mainly a collection of Videos? At least that's what its been like every time I tried.
In what way is this an alternative to AWS or GCP? I don't see anything about VMs, networking, and similar building blocks for infra.

Looks more like a hodge podge of random APIs for simple tasks
If the road builder was held legally liable for everything on their roads you can be sure they would do.
I spent the $10 on Melvor and it's far and away the best idle game I've ever played. The upfront cost and no microtransactions at all means the game can be balanced around actually being fun.
AtlasBarfed’s comment in this thread sums it up well.

“It also smells like a lot of the forced hydrogen hype, a FUD, delay/distraction, undermining of EV popular support, etc by the oil industry that once they get a crack they'll drive a truck through.”

https://news.ycombinator.com/item?id=29653177
Canada's Public Health Agency confidentially tracked 33M mobile devices
Looks like 70% is a pass: https://mathproficiencytest.ca/#/en/applicant/learn/results:...
Love this game. Glad it's continually getting updated.
This is a terrible article. The relevant section in the law is(translated with google translate) The text of the law is here, http://www.gov.cn/gongbao/content/2021/content_5641351.htm

> 发现或者获知所提供网络产品存在安全漏洞后，应当立即采取措施并组织对安全漏洞进行验证，评估安全漏洞的危害程度和影响范围；对属于其上游产品或者组件存在的安全漏洞，应当立即通知相关产品提供者。

> After discovering or learning about the security vulnerabilities in the provided network products, they should immediately take measures and organize verification of the security vulnerabilities to assess the degree of harm and impact of the security vulnerabilities; for the security vulnerabilities in their upstream products or components, they should immediately notify the relevant Product provider.

> 应当在2日内向工业和信息化部网络安全威胁和漏洞信息共享平台报送相关漏洞信息。报送内容应当包括存在网络产品安全漏洞的产品名称、型号、版本以及漏洞的技术特点、危害和影响范围等。

The relevant vulnerability information should be reported to the network security threat and vulnerability information sharing platform of the Ministry of Industry and Information Technology within 2 days. The content of the submission should include the product name, model, version, and the technical characteristics, harm, and scope of the vulnerability that have security loopholes in network products.

The law suggest bugs should be reported to upstream "immediately", and to the government "within 2 days".

Alibaba reported the bug to Apache first, and to the government 15 days later. So it is disciplined for not reporting to the government within 2 days.

And its report on government announcement is also very misleading.

"China’s internet security regulator has disciplined Alibaba Group Holding’s cloud computing services unit for failing to first report to the government a critical vulnerability in Apache’s Log4j software that has alarmed the cybersecurity community, Chinese media reported on Wednesday."

The government notice didn't write "failing to first report to the government" It's 未及时向电信主管部门报告(not reported to the government in time).
I am not at all an expert in this field, but is "jet" the right word?

I thought that required combusting fuel and using the flaming exhaust to propel something. This is propellors in tubes.

Also this vehicle is about a third of the speed of what most people think of as a "jet plane".
OK, I've been married for a long time and never had any luck with any dating service before that, but I don't think that's necessarily as true as you think

You're within 2-3 degrees of separation of dozens or hundreds of single people you can date, so if you just start putting the word out among your friends, family, etc I think they'll start introducing you to people
More people should know about ASN.1, it was a well-thought out and important technology well ahead of its time. If you like gRPC, ProtoBufs, REST or XML, you will be interested in this link.
Author: in this doc, headers are paragraph topic sentences, not bookmarks for disjoint ideas.

And they are nonsensical. "Problem: Bumps in the night#". Oh, thanks, let me bookmark that for easy sharing.
Risk/reward. Spend $1M on a heist? It better have a 100% chance of working. Any heist can fail, for a number of reasons. Plus the risk side isn’t just financial — jail time is a heavy risk too.
I would recommend installing Proxmox on the Protectli bare metal and running pfsense (I prefer opnsense) in a VM. Then you can run your unifi controller in a container on the same device. The i3 should be able to handle that, and you can use Proxmox to share some USB drives over NFS.
Apple also ran this ad for the Power Mac G4: https://youtu.be/t4dDuocAXTY
Creating an infinite CSS background image loop
One needs to assemble the jail. There may be tools for this, although I haven't used them. It's real easy if you can build a static executable, if it's a normal dynamic executable, you can use ldd (or something) to get all the libraries and just remember to pull in ld.so (the runtime linker). If it's dynamically loading modules (like Apache HTTP and PHP often are configured) or running other executables like you asked, that's harder to automate.
> Section 1 - 5/5 Section 2 - 44/45 Section 3 - 16/21

Thank you for sharing your score.

Mine (practice test 1, English) was

Section 1 - 5/5 Section 2 - 43/45 Section 3 - 13/21. These are the questions I got incorrect

Section 2: questions 12, 33 (I know I don't have any excuse as a math major in college).

Section 3: questions: 4, 7, 8, 9, 11, 17, 19, 21.

When I went into this test, I thought this was for students and was trying to figure out which grade students would take this test. There were multiple questions which made me do a double take because I thought "surely this must be a trick question I am missing the point of".

> If you can't prepare for and pass this test you really shouldn't be teaching anyone anything.

13/21 is 61% which is failing score. I think section three of the test should be removed.
Your best bet is probably to pursue hosting in another country with better freedoms.
> Yeah they are just being ignorant once again.

That's the core problem. Anyone who truly understands generics has shown no willingness to work on Go. The only reason it has progressed as far as it has is because a third-party consultant was temporarily hired to develop what was dubbed Featherweight Go to act as a proof of concept.

It turns out that the intersection of people who care about generics in Go and those those who aren't armchair coders unable to comprehend the domain themselves is limited to very few people. As you know well from your armchair.
Not the OP, but attraction is a complicated, multi-dimensional beast and the unfortunate thing about Tinder and similar apps is that they reduce all of this to a 2D, possibly doctored, photo of the user.

In real life, people who do not look gorgeous can still sweep you off your feet by their smile, laughter, gestures, tone of voice, scent, the way they move, talk, react, fall into daydream...

Of all my previous lovers, ending with my wife of 16 years, I wouldn't choose a single one based just on a picture. But I was strongly attracted to all of them in real life.

Human magic cannot really be distilled into an algorithmic system. Not yet, anyway.
We used WebSockets to build a web-based front end for Ardour, a native cross-platform DAW, and didn't encounter any of these issues. Part of that is because the protocol was already defined (Open Sound Control aka OSC) and used over non-web-sockets already. But as others have noted, most of the problems cited in TFA come from the design goals, not the use of websockets.
How to permanently lock your PayPal account
I'm changing email from Gmail to Fastmail, so today I decide to update my PayPal email address. When I signed in, they want me to enter a mobile phone number. I don't really want to do that, so give them the Indiana toll-free directory assistance number. I know, I know, it's my fault, too bad.

The next screen is "We've sent a code to your number, what's the code?" There is a small "Change" link next to the phone number, so I click that. Nothing.

I can't login because I can't confirm the bogus phone number.

I can change my password, but that still doesn't let me login.

I can call PayPal customer service, but they ask if you have an account (yes), they ask for the phone number. They won't accept "None" as an answer. I give them the bogus number and they say "We've sent a code to that number, what is it?"

So if you lose access to your phone, you lose access to your PayPal account. I called eBay, got a support rep, and he told me the same thing happened to him. He handled it by reporting a security violation - you can do that w/o a phone number or logging in. So I reported a hate crime, then described my actual problem. Sheesh!

There are posts on the PayPal community forum from people who have been trying to fix this for months.
Apache Log4j Vulnerability Guidance
Yes, but the researchers aren't asking about their data. They are asking about internal business policies, which they are not granted under the law.

From the OP's links's FAQ:

"""
Why does this study involve contacting websites?

Very few websites post details of their processes for handling GDPR and CCPA requests. Both the GDPR and the CCPA contemplate users and intermediaries reaching out with questions about data rights processes, and we are using that opportunity to understand current website policies and practices.
"""

From the sites I've seen discussing responsibilities, internal business processes for how GDPR requests are handled are not covered under GDPR.

https://docs.microsoft.com/en-us/microsoft-365/admin/securit...

"""
Data subject rights

The GDPR establishes data subject rights, which means that, with respect to their personal data, customers, employees, business partners, clients, contractors, students, suppliers, and so forth have the right to:

Be informed about their data: You must inform individuals about your use of their data.

Have access to their data: You must give individuals access to any of their data that you hold (for example, by using account access or in some manual manner).

Ask for data rectification: Individuals can ask you to correct inaccurate data.

Ask for data to be deleted: Also known as the 'right to erasure', this right allows an individual to request that any of their personal data a company has collected is deleted across all systems that use it or share it.

Request restricted processing: An individual can ask that you suppress or restrict their data. However, it is only applicable under certain circumstances.

Have data portability: An individual can ask for their data to be transferred to another company.

Object: An individual can object to their data being used for various uses including direct marketing.

Ask not to be subject to automated decision-making, including profiling: The GDPR has strict rules about using data to profile people and automate decisions based on that profiling.

"""
Snow could pile as high as a one-story building for some
I think it's worth pointing out that this is just an opinion column. I wish HN had a tag or something for opinion pieces since they're so often mistaken for normal news articles (not to say you made that mistake, SQL2219).
For the very reasons listed in the article, I built:

https://github.com/siriusastrebe/jsynchronous

a library for keeping a javascript variables synchronized between Node.js servers and clients.

Websockets work great for message passing but it struggles with data structures more complicated than what JSON can represent. Jsynchronous syncs any javascript object or array with arbitrarily deep nesting and full support for circular data structures.

If a computer goes to sleep, or disconnects, websocket connections (and their underlying TCP connections) get reset so you lose any data sent while a computer is unavailable. This is catastrophic for state-management if it's left unhandled. Jsynchronous will re-send any data clients are missing and reconstructs the shared state.

There's also a history mode that lets you rewind to past states.
That’s a deep question about the semantics of “basic need”, and highly subjective. I do not think that reproduction is a basic need of the individual in ordinary language, but it may be deemed a basic, I.e. survival, need of the species or tribe
That’s hot
> There is no evidence that plants posess higher cognition or feel pain. Even if they did feel some modicum of pain, it doesn't lead to the conclusion that it's ok to arbitrarily cause any being to suffer, especially those that obviously feel tremendous pain and actively avoid your advances.

Oh agreed. All consumption of organic material other than fruiting bodies is morally dubious. I'm looking forward to better meat-cloning bc cannibalism is the only way to truly ensure consent.

> I would hope that we as humans don't use the animal kingdom in general as our moral and ethical guidance, and rather use our higher cognitive abilities to make choices that reduce and eliminate unnecessary suffering.

Why not? Octopuses have existed and most likely have been intelligence and consciousness since around the time trees showed up. We are the ignorant newcomers to intelligence and consciousness in comparison. It seems overwhelmingly likely they know things we don't.

In the same vein, at some point you can't claim an animal is intelligent and conscious without holding it accountable. Sure plenty of animals do things we shouldn't emulate, but none are so close our peers. Octopuses are basically one inefficient blood chemistry away from full uplift. At some point we have to trust them to be behaving in accordance to their own moral code.
I think you underestimate what people will do for internet points.
From those videos, it's difficult to be sure those are full size prototypes and not scale models.
> Why do we as a human race allow for the production of any weapons whatsoever?

The only thing every human shares is here in a list of universals:

https://condor.depaul.edu/~mfiddler/hyphen/humunivers.htm

Nowhere in that list is 'cohesive world wide political power'. No one could get 10 random people selected from around the world (let alone 10 friends) to agree on where to eat even if it was their treat. Heck they wouldn't likely speak the same language.

Might as well think everyone could stop having sex for two weeks so Gonorrhea can die out forever.

Your proposal is naive.

I fear your model of human behaviour is currently getting you into trouble in other aspects of your life.
The direct copyright is covered by the satire exceptions. If you want to argue that copying the legalese is different, it's going to be on those confusion grounds, which IIUC aren't a copyright concern.
this is how I switched from GW-BASIC to QuickBASIC. I found out that QB could make .exe files like a big boy compiler.

Switching to QuickBASIC was like stepping into the future, coming from GW-BASIC. No more line numbers. Actual subroutines. A quite nice IDE that separates out subroutines similar to the code browser in Smalltalk/Squeak.
Yes, it could also be an operation by another unit within the navy.
You sound like someone who doesn’t know very much about Go.
I wonder how could they produce gears in such high quality and precision 2000 years ago. Anybody has more information about this?
Ancient human discoveries dominated 2021
They didn't "overfit" though. They shared their experience - they didn't say that their experience is normative (although I expect it is). People are allowed to share anecdotes.
Working This Christmas? Here’s Probably Why
By 2100 China is predicted to have ~750M citizens, smaller than Nigeria.

These changes will have interesting geopolitical impacts, especially with smaller workforces unable to maintain certain technology subsets.
i don't think so. the answer is presumed no, because everyone in the relevant thread including language authors and stdlib authors (with plenty of overlap) agree that it is not, and agree there are functional distinctions about what is possible on either side of that dividing line (mostly due to zig not supporting custom operators).
By "timeline" I don't mean in the many-worlds sense; I mean it in the hard-fork sense. But yeah, bizzaro-me could be very rich and/or substantially imprisoned for heading such a transparent ponzi scheme.
His home country is Ukraine. Financial transactions and those representing Ukraine are considered to be scammers or money launderers by default by many banks and tech.
It's my annual opportunity to trot out one of my favorite articles ever:

https://www.damninteresting.com/on-the-origin-of-circuits/
It’s common colloquial language. You wouldn’t call your coworkers “girls” in a meeting. But you could reasonably say you’re dating “this girl I met while hiking the Appalachian Trail” and it’s normative.
I know it's popular to rail against tech companies, but I don't think there's a world in which we are entitled to access to Tinder or any other company's services.

Tinder does not hold anything even remotely resembling a monopoly (no, Match does not own every dating app, just many of them) on the dating app space, we need to stop throwing that word around so casually. You're diluting the concept by trying to apply it here, which will lessen its impact when a real monopoly comes along and actually tries to control a market (e.g. Microsoft and how it's handling Edge right now).
Especially in the area of CS/programming, it's so easy for experts to fool the IRB because they can hide behind words like "website", "data", "policy", as if they are dealing exclusively with machines.

> who are we really to challenge that

We are not obligated to make the same ethical judgement as the IRB. We are all entitled to challenge that.

Making bogus legal threats is unethical, when being sued can realistically lead to completely altered life. Yes, it's an annoyance, after the subjects determined that the threat is bogus, but it could be legitimately distressing (even costly) when they first received the threat.

The researchers made no efforts to contain the negative impact of their email, either. The email contains no information about it being a bogus threat. The subjects weren't told in advance that they might be lied to. The subjects had given no consent to being scared.

It doesn't seem "good faith" to send mass threatening emails with deliberately misrepresented laws.

Remember that the Milgram experiment also involved no illegal actions, and were done in pursuit of knowledge.