skysight-inc/HackerNews huggingface dataset:
Likely this is an application of the Quantum Fourier Transform, which is O(n^2) where the classical analogue would be O(2^n) for n qubits.

It's important to note as a caveat that no currently existing quantum computers are anywhere near good enough to implement such a deep circuit.
Good points. I guess a counter is if seemingly 'cast-iron' pledges are put out there for the electorate (such as the scrapping of tuition fees) and people subsequently turn out in big numbers to vote for them (this was the year people were turned away due to large queues forming at the polling stations - obvs not all students voting for Lib Dems but you see my point) it's understandable that people will expect said pledges to be delivered on. The Lib Dem’s flagship political broadcast was titled “Say goodbye to broken promises” for example. The ire is understandable, whether one agrees or not.
It's a bit tricky for me. Suggestions like "fly them to the office" is great if you have lots of people in an office, we don't. I also don't agree with "give them the power to fix things" since one person's broken is another's "don't waste time fixing that, it's flaky".

I think it depends a lot on the person you hired and at what level. I can trust an experienced Dev more to know how to look at the more important parts of the system whereas someone with less experience won't necessarily know this and we don't want their first week being keen but everyone else hating them for breaking stuff!

Definitely agree with the Dev buddy and I think the pair-programming thing is probably the best way for them to learn quickly and for both them and us to get feedback e.g. are they not the right person for our culture? Are they too strongly opinionated etc.
Great financial packages for a non-profit
1. Psychological safety is key.
2. Onboarding buddy. Someone good at explaining the systems and not too oversubscribed.
3. Onboarding plan/doc/reading list.
4. Constant vigilance to keep your systems simple/understandable, and discipline to keep good documentation available internally.
It looks like the CEO of Wikimedia gets paid roughly as much as a Staff/Senior Staff-level FAANG engineer. That looks about right. And they got 6 months severance. Also comparable.

I don't get why people are upset. Somehow everyone working for a nonprofit should bring home less money to their families. In truth what that assumption would mean is that nonprofits get less skilled people.
> Wikipedia doesn’t really cost anything because it’s just static text

Thats like saying facebook or twitter are just static text.

Wikipedia is not static text. It runs Mediawiki which runs on PHP and requires a database, plus all forms of caching. They also serve media (images/video) have users, discussions, comments, etc.

And at wikipedia's scale they're not trivial problems to solve and dont cost peanuts for hosting.
https://en.wikipedia.org/wiki/Katherine_Maher

"Maher states that she focuses on global digital inclusion as a way to improve and protect the rights of people to information through technology."

Yet the actual mission of Wikipedia is something quite different to this. They push a particular point of view, wrapped up in the false cloak of "neutrality", and assert this as truth. Wikipedia is part of a broader propaganda drive to export US cultural mores to the rest of the world.
Quantum computing was a ZIRP phenomena.
Are they hiring? lol
Author here, happy to answer any questions I can.

This was the capstone on a multipart blog series so some parts in here are intentionally vague because the other sections expand on them.

Here are the others:

Automatically Revering Account Takeovers

https://www.brightball.com/articles/automatically-reversing-...

Combating Phishing with DMARC

https://www.brightball.com/articles/combatting-phishing-with...

Deploying DMARC without Breaking Everything

https://www.brightball.com/articles/deploying-dmarc-without-...

Enterprise Challenges with DMARC Deployment

https://www.brightball.com/articles/enterprise-challenges-wi...

Waste Spammers Time to Kill Their Return on Investment

https://www.brightball.com/articles/waste-spammers-time-to-r...

How Microsoft Became Phishing's Biggest Enabler

https://www.brightball.com/articles/how-microsoft-became-phi...
...but nuclear bad and solar good.
I'm no fan of Meta, but I'm hesitant to write off their chance of success at this, considering how successfully they took market share from snapchat with their stories product.
That income is never repatriated and just sits in offshore accounts to avoid paying us taxes.
You are right. The only solutions are to not host in the US and/or have a parent company in the US. And/Or to get the US to apply basic human rights.

There are no other real way.

What would have been sufficient is to process all data in EU jurisdiction and transfer HQ to equivalent country.
ohh, how would the EU survive, the omnipotent, omnipresent and omniscient US tech that has improved our lives beyond recognition, and we are eternally grateful to the tech gods.
My favourite tip is to assign them a technical buddy, which should ideally be the last person who joined before them on the same team or related group of teams.
Love this. It is so important to know these fundamentals concepts. I would like to see a similar version for SQL database indexes as 99% of the engineers I work with have no idea how to use them.
It is very tiring. When i started doing it, i was amazed how tired i felt at the end of a 9 to 5 workday. But i got used to it, and it wasn't long before it was perfectly comfortable. I think there's some sort of mental muscle you exercise by pairing, and it takes a while to develop the endurance it needs.

I do wish pairing advocates talked about this. It feels mildly fraudulent not to.

I'm not sure introversion vs extraversion is relevant. Firstly, i'm not sure they're even real things; they show up in a lot of snake oil psychology (Jung, Myers-Briggs), but i don't know to what extent they label a real axis of variation. But if extraversion means "the state of primarily obtaining gratification from outside oneself", then an extravert ought to hate pairing, because it's the same as programming solo, but with someone constantly pointing out what you've done wrong. The conversation you have during pairing is very, very different to a normal social conversation, because it's so focused on the work in hand.
nit: It is HTTP/1.1 . HTTP/1.0 have long gone
Understanding the psychology behind product decisions
This is the funniest yet most meaningful comment I've read this year!
Actually, the VS Code approach is closer to the first one (Clear API boundaries). VS Code extensions don't have direct access to internals, no direct access to the UI [1], and extensions can control VS Code only via the Extension API [2]. However, extensions have access to many standard JS functionalities that could be used in the wrong way.

By the way, Figma plugins can also send arbitrary information (such as file contents) to external servers.

That said, I think it's good idea to add to extensions permissions/capabilities security like in mobile apps.

P.S. If the Extension API doesn't have what you need, there are Proposed APIs [3], but you can't use them in published extensions, and sometimes proposals move very slowly.

[2] https://code.visualstudio.com/api/extension-capabilities/ove...
[1] https://code.visualstudio.com/api/references/vscode-api
[3] https://code.visualstudio.com/api/advanced-topics/using-prop...
An expert can write an article and cite the correct sources to go along with it. If anything, the fact that they are an expert makes this easier.
If you used GPT-4 well enough, you would know, at this point OpenAI does not need to pay any human to engage in online conversation, aside from legal reasons if any.

I personally created some content-creating bots with GPT-4, and it succeeded to a level that I don't trust anything I see online anymore. It does a better job than me, which doesn't say much because I am an engineer not a content creator. But still, I could get same results as one with a script that I made GPT-4 write itself.

...Yes, I am losing sleep over GPT-4's performance. If you are not losing sleep over it yet, you haven't really given it a genuine try yet.
Then it's still no worse than widely used SSRI's, which also mostly don't differ from placebo
Annoying that the UK tax authority (HMRC) has made it impossible for open source projects to access their APIs: https://wiki.gnucash.org/wiki/GB/HMRC#MTD_APIs
Also shout out Anton Verinov (https://anton.codes/): the only reason this web page doesn't drain your battery before you get to the end of it.
You'd probably just rip them from spotify: e.g. https://spotify-downloader.com/
Somewhat relevant about how GCs work, with also very great visuals: https://spin.atomicobject.com/2014/09/03/visualizing-garbage...
So basically everything that one would normally finish with a PR, but without a PR.

In my daily work, I never reject a PR for failing tests (the CI system disallows merging until all tests, lint, warnings, danger, style have passed). So whenever I find a problem in a PR, it's due to something that is not detected (or possibly not even detectable) by the automated checks. By dropping the PR requirement, you lose that added check.

FWIW in a team of only experienced (>10 years) devs, I find problems in approximately 20% of the PRs I review (granted our codebase has numerous subtleties due to the esoteric nature of our domain). We've also had problems that even the reviewer missed; problems that broke mainline and made merging impossible until the issues were fixed.

It's fine to say "we'll just accept the added risk", but you really need to do it with eyes open. I personally won't accept such risks unless I absolutely have to (i.e. can't find a reviewer and the customer is breathing down our necks). That's one thing that 25+ years in the industry has taught me.
It's critical to compensate non-profit employees near the market rate otherwise you end up with sub-par performers, martyrs, having the vision co-opted by the wealthy who can afford to be underpaid, or the young who leave disillusioned.

The Gates foundation pioneered this approach and imho it's the right way to operate in the sector.
There's nothing intrinsically wrong with nonprofits paying high salaries to senior leaders. You will find very well compensated people at the top of many large charities. That's because they are big orgs with hundreds of employees, with all the same problems as similar-sized big orgs. They employ a lot of people, and the job of managing and leading a lot of people isn't easy. It's in the charity's interest that the job is done well, and so they pay well to get the best talent, because they're competing with for-profit orgs for this same talent. And yes, severance is negotiated as part of the employment contract - it's a tool to attract talent.

There are a lot of armchair CEOs who think leadership is trivial and doesn't deserve high pay. All I can say is: try it, and then decide whether you feel like doing it for a pittance.

Maybe you think running a large-scale website is a solved engineering problem. But Wikimedia is more than a website. It's a global top 10 website, and that puts a target on their back. They have lawyers. They have an HR department. They have a Finance department. These departments do complex real-world stuff that needs planning, management and strategy. Maybe you know how to scale an SQL database, but do you know how to sue the Turkish government?

Now, if you want to direct your discontent somewhere useful, their grant money spending could use some scrutiny:

https://meta.wikimedia.org/wiki/Grants:Start
This is called "continuous deployment", and it was all the rage ten years ago. I'm surprised the idea seems unfamiliar now, but that's how this industry works, i suppose!
Wasn’t the fine for breaches since July 2020? So more like 2 days revenue and like 3%profit.

Actually meta had bigger year last year so a bit less than that.

Cost of business ?
Reminds me of articles written by American think tanks trying to convince me a multipolar world is bad.
Given karismatic a prize.

I wonder if the current state of affairs is what Chris L had in mind?
Folks, exploring the subject and sharing my findings. Let me know if you have resources on intersection of psychology and product design + development.
This is wonderful! I'm definitely going to be sharing this with my students (college sophomores studying CS).

If I were to make some suggestions, based on how I know they would receive this:

- I would make explicit reference to heap and stack. Students who are learning this material are learning about the heap/stack dichotomy, and I think it would really improve the exposition to make clear that not all memory is allocated this way in a program.

- I would remove this line: "At the end of this post, you should know everything you need to know to write your own allocator." I can confidently say that my student will not be able to write an allocator after reading this. It's nothing to do with your piece, it's just the intersection of people who don't understand hex and who could build an allocator after a short blog post is very very small. Students who read this post and at the end still feel like they can't build an allocator will end up discouraged, with a feeling that maybe they are missing something.

- Consider rethinking how you handle hex numbers throughout. You introduce them and say they are distinguished by a preceding "0x", but then you immediately omit the 0x to save space in the figure. In my experience, students have a lot of trouble with understanding that hex and dec have the same underlying representation. They will not be able to distinguish between hex and dec bases implicitly, so from a pedagogical standpoint, it's better to be consistent throughout and include the prefix.

- Finally at the end I would make mention that there are other strategies for memory management to encourage further exploration. Other languages do it differently, and for students it's important to know which other avenues are out there. Otherwise they might think heap-based malloc/free are the only way to do things, the same way they often thing imperative programming is the only way to program.

Anyway, thank you for creating this, and I'm sure it will really help my students. In a just world, "seeing" the memory like this would ideally be first-class tooling for languages like C.
Ask HN: Any tips on how to use GPT4 for development?
So far I used ChatGPT Plus when I had questions, needed examples etc. but I was wondering what else can be done with it. The problem for me right now is that the web is full of people trying to exploit interest in GPT to generate views. While there is nothing wrong with that if good content is created in exchange for views/money I feel it is hard to filter out noise. That's why I am asking my question here.
Private equity steps up lending as US banks pull back
The term "continuous deployment" was absolutely coined to describe automatically deploying the trunk into production after it passes some set of tests. That's a sufficiently scary idea that that for many people the meaning has become watered down over time.

Note that i'm not endorsing the practice. I find it scary too.
Siding with whoever in power meets your financial goals.
Do you mean as some kind of Swift vs. Objective-C argument?

I don't think Apple is interested in having that argument in 2023. There's no point. Swift has won the "language war", politically within Apple and in developer mindshare outside Apple. (I say this as someone who continues to write Objective-C.)
> Abusing your position as a desirable market to impose post-hoc tariffs via an endless stream of fines is questionable IMO.

There's a simple scenario in which Meta wouldn't have had to pay these fines: Don't break the law. And don't continue breaking the law after being told to stop it. It's not abusive to remind companies that actions have consequences in the language they understand and respect.
The thing I don't like about mainstream social networks is that they control not just what you say and what you see, but also how you say it and how you see it. Meta says we're all gonna share our thoughts and opinions via short texts posts on Instagram now, so that's what *we're gonna do.

Don't like it? Well, too bad, because that's how the app works now. Oh, and by the way, you can post whatever you want, unless the algorithms decide it's against the community standards, and even then, only the posts of upstanding digital citizens that promote the narrative they want will actually be shown to others.

And literally all of your online interactions are going through a few tech companies now. You don't have freedom of speech, expression or even thought, unless you comply with the Meta/Alphabet approved narrative.

*There is always the option to not participate if you prefer to sit in a closet with your Raspberry Pi.
Don't post lies and FUD here please.
I see so many studies trying to somehow distill trippy drugs into an isolated, side-effect free, take a pill and get back to work treatment. Maybe there's something to be found there, would be huge, but my hope is that we don't waste all the will and funding down this path without more fully exploring the path where we admit that yes, the trip helps, and we'll just need to deal with the lack of blinding.
Yes, alas they didn't leave room for a 'cookie preferences' cookie, so that whenever I choose the option 'reject all', it's of course going to ask me again, every time I visit the website.

saying that, their intentions were good, I'm always horrifically amazed at the number of cookies used whenever I see the preferences popup. I honestly had no idea how many tracking cookies were used by the average website.
I quit my career / working for others primarily to fix my sleep and it worked.
So no, people won't form their own opinions, at least not yet, because they can't do so without paying for access.
People will pay for access is they find it valuable enough.

I work with people who use it, I've not seen anything impressive enough come from them to make me want to pay for it so I don't. I've also screen shared because I was curious what all the fuss was about. What I saw that pissed me off was that they've stopped contributing to our internal libraries and just generate everything now. I found that kind of disturbing. It's not the products fault but it's the kind of thing I imagined would start happening.

I'm glad you like it, I just don't know why people feel the need to sell it so hard.
I’ve had success moving my family over to signal.

It took persistence.

What I’ve found to work is taking it one family member at a time. And do it in person, get them to commit to using it. Then ask if you can set it up for them, show them how it works. Join them into the group chat, and then at least you’ve removed the friction to joining.
This feature request has been sitting around since 2018:

https://github.com/microsoft/vscode/issues/52116

It advocates for treating VSCode extension permissioning like browser extension permissioning.

Of course, it's not a panacea, but it would be lovely to have.

I discovered it when I went searching for a way to disable network access for a particular extension. You can do it, sort of, for VSCode itself, but not for individual extensions.
Maybe not everyone needs to know, but for example it's important to know about it in ML. You can have overflow, underflow, non-deterministic addition when parallelised, or just need to speed up your network.
This is interesting. I think they actually made Winamp good. I was around back when Winamp was big, and still don't get the appeal, to be honest.

Looking at the ESP32 version that seems kinda nice, but it's odd to see a program become more appealing well after its time. It's almost like Nullsoft accidentally designed a program that fit a tablet well before tablets were a thing.

In the original Windows app incarnation UI is very meh. The main appeal seemed to be making gaudy skins for it, but since they're just skins they don't change anything besides graphics. The big thing that was neat is the Geiss plugin, but that had little to do with Winamp itself, it just happened to be written for Winamp and not something else.

Now what I was really in love with was the old version of KDE Amarok (which now goes by "Strawberry"). Well done player, solid standard UI that's not limited by the fact that changing anything would make hundreds of skins useless and make lots of people angry.

I may be biased because the NSIS installer still somehow hangs around and is still a complete pain to deal with.
I don't think SSRIs "mostly don't differ from placebo".

SSRIs only seem to work while you take them.

Some report side-effects that make them not worth it.

Others report that they're life-changing.

The case for Ketamine is that some periodic (but not permanent) use would bring you out of depression, rather than put it in check by indefinite drug use. As far as I understand, this is what's being challenged.
I work in a small startup (<20 developers) and the following is what I am doing for my team:

1. A week before their joining, we ship the laptop

2. I'd have a calendar ready for them, which gives an overview of what they will be doing for the next three months

3. First week goes into setting up the tooling on the machine. Someone from the product team gives an overview and entire product walkthrough. Next, they spend some to play with the product as a user. This week also involves the initial orientation session.

4. We use Golang heavily, however, the people joining might not know it. The second week goes into doing the tour of Go.

5. Third week they spend on onboarding tutorial that shows how to write a small service, generate APIs, build, and deploy it in our infra.

6. Fourth week they will spend shipping a really small feature to the production.

7. Since day one, they'd have assigned a buddy who becomes their go-to person. Buddy also explains them about the culture, how things typical done here etc. The buddy also creates a new slack channel just for them, where they can interact.

8. They pair with the buddy in the initial weeks, where buddy is the driver.

9. First three months, they'd spend working on a feature along with someone which also involves some good amount of pair programming.
The Art of Code Review
As far as i can tell from your comment ("as far as I can tell OP’s recommendation is to break the mainline"), you did not in fact understand what the author wrote.

I've worked in trunk-based development shops for fifteen years. My colleagues have mostly been good, but certainly not superhuman. It works fine.
> By telling it not to lie to you, you're biasing it toward a particular output in the event that its confidence is low.

This is something I really don't understand about LLMs. I think I understand how the generative side of them work, but "asking" it to not lie baffles me. LLMs require a massive corpus of text to train the model, how much of that text contains tokens that translate to "don't lie to me", and scores well enough to make its way into the output?
Oh no, what will the EU ever do without ... Meta?

You're not being downvoted because people don't like what you have to say, you're being downvoted because your grandstanding demonstrates a lack of knowledge of basic economics and legal knowledge.

The company at stake here is not Meta Platforms in the US but Meta Platforms Ireland Limited in the EU, a subsidiary. That company exists for tax avoidance reasons but it's the company operating every Meta app in the EU according to its apps' EU terms of service.

How about US companies get to choose - keep abusing the human rights of their users, or continue to operate and do business in a Western market with 440 million consumers.

Of course the CLOUD Act and its harmful consequences to international trade for American online services companies are another topic but I doubt you're defending the warrantless secret surveillance that one enables.