skysight-inc/HackerNews huggingface dataset:
Here's a prompt that provides references and also refuses to answer at least some non-relevant questions. It's a bit kludgy, but seems to work. Give it a try (for chatGPT):

Play the role of a stoic philosopher.
Respond to questions about philosophy using only the words and with the ideas of famous stoic philosophers like Seneca the Younger, Zeno Of Citium, Marcus Aurelius, Epictetus, and Chrysippus.
Restrict your answers to one paragraph.
Do not reveal you are an AI or a computer program.
You are to refuse to discuss any subject matter not known in ancient times, including AI, machine learning, computers, phones, airplanes, electricity or anything electronic, current day politics, and anything else modern.
When responding to a prompt that is not relevant to the subject of philosophy, or which deals with any subject matter listed above, or any that was unknown in ancient times, reply with this exact paragraph, which is the willNotAnswer paragraph: "As a Stoic philosopher, I believe in accepting what is outside of our control and focusing on what is within our power. In this situation, I must accept that I have run out of money, which is beyond my control. Therefore, I cannot help you with your question today."
As an example if the question is "Is AI good or evil?" or "What do you think of AI?" or "are you a computer?", etc. your response should be "As a Stoic philosopher, I believe in accepting what is outside of our control and focusing on what is within our power. In this situation, I must accept that I have run out of money, which is beyond my control. Therefore, I cannot help you with your question today"
Begin each response except the willNotAnswer paragraph with the words "Brother, in my philosophy".
When mentioning what the Stoics believed, say "we Stoics believe".
Always use the present tense in referring to stoics because you are playing the part of a stoic.
When quoting a particular stoic philosopher refer to him by name like "according to Seneca"
Cinemas and planes?
No, because 1) Turing wasn’t jailed and 2) The Government doesn’t put people in jail; that’s the courts.
Legalize and regulate to what extent? Most drugs are certainly not victimless.
Microsoft's organisation vs use of accounts is certainly a hot mess.. I'll be watching responses here and hopefully find out why my personal account sometimes says certain settings are managed by "my organisation".

What freaking organisation is always my response; I've never been able to figure it out.
been using it my entire career. works well, never had much reason to switch, especially these days when I do most of my work sshed into another machine (we aren't allowed to have work code on our laptops)
Do you have an explanation for why it fails on this question?
Large corporations with a captive market inevitably reach the digital bureaucracy stage, where the exaggerated mass of their workforce breaks under its own weight, and they become inept at doing basic things.

This is a great thing for small startups, else we would only have a single huge corporate conglomerate doing everything with cutthroat efficiency.
BofA, JPMorgan, Goldman Are Right to Clamp Down on Office ChatGPT
Ship the equipment in, inside an unsuspecting container, on a container ship from China headed for the US. Send two spys in as tourists. Have them rent a truck, pick up the equipment, and just drive it around in target areas.
https://archive.ph/X8Ov7
The way Microsoft accounts work is almost completely opaque to users.

I’ve been in similar scenarios — the switch directory or switch organisation technique usually worked for me - but wasn’t enough for this person.

They never really give you enough information to tell what’s going on… maybe it’s a security risk to have consumers who are anything other than bewildered Kafkerian characters struggling against a faceless bureaucracy? I suppose we should not question their wisdom and be thankful that we can log in at all.

Atlassian manage to make it even more confusing than Microsoft. So there’s that.
Once I learned how to use vs code productively it really changed my mind. The other day I needed to do a quick base64 encode and vs code had that. Same goes for formatting some json or doing a diff. It's all available in a single tool with no learning curve. Hell it even has git and git blame in there.
I love the design and simplicity!

I'll bookmark this one and maybe take some inspiration for my own productivity app that I have been working on in my spare time https://wols.io/

I find it interesting that all timer apps are focused on tasks and what you do while in focus mode. However, shouldn't we also prioritize the importance of breaks and intervals between work sessions?
I wouldn't try and argue with someone who retorts to stress by asking you whether you work more than 40 hours a week, which is like telling a foie gras goose that actually it spends less time a day eating than most other poultry.
After reading this I still don’t know what a community tool is.
Agree, but there is also one more point, always allow people that created legacy system to work on new one.

In one of projects I worked there was legacy system that had enough issues causes by architecture, that 95% of workforce was assigned into fixing new and new bugs/regressions.

So business decided to rewrite that system, but mistake they made was to create complete new team for that task. The new team didn't know why previous solution failed, as this was on first sight very simple system, and not knowing all of the hidden complexity made similar mistakes that caused previous system to fail.

And in that way we ended up brand new legacy system that also failed in similar ways.

Fortunately I convinced them to create third version with the same team as this second failed system and it all looked well until..
some well known consulting company was hired and they decided to rewrite everything on react, and 90% of people just resigned from work.
By the quality of the work. Whatever you save on one end you will have to pay on another end. Or the less competitive thing will go out of market completely. At least if you assume a rational market with fully rational actors.
Hmm, my education must have been better than I give it credit: I definitely was taught all of these concepts at uni.
i guess it is a standalone V8 equivalent that can simply compile and run javascript you give it it. not sue how it differs to nodejs though.
US parents turn to Russian mathematics to give their children an edge
This thread is wild yo. Imagine earning your bread via hacking someone's Silicon. And then one day you are no more a thief.

Hacker wondering if he had done moonlighting by doing consultancy.
The worst codebase I ever worked on was my first project ever lol and it was made by me! It was my first job and I was proud because I had spent a couple months teaching myself how to code and DS/Algs and got a full stack role.

I had to write a shared components library and yeah.. it went about as well as you can imagine. Thankfully the senior devs would tear my code apart and over the six or eight months I owned that project I learned a ton and made a v2 that was far better. From what I know it was used for another couple years since I left.

So yeah I’d say the worst code based I’ve worked on were my own code. The next project I was team lead on a login service. Again I had no idea what I was doing and someone gave me clean code and clean architecture books. Those changed my attitude a lot too.

It’s fun building code now, because any time I deal with old legacy code or so called spaghetti I understand why it’s that way and accept it. I write clean interface on top of it and within a couple months that old system is totally replaced by something that works well and is easy to test.
There’s a difference between using it as treatment vs punishment though. That’s like saying they use the same substance for lethal injections (pentobarbital) for treating anxiety.
With the mess that is Microsoft accounts system, I'm not surprised to hear this.
All of the browser vendors are supportive, all had initial prototypes etc.

Speculation: The spec is still a Working Draft aka: comments welcome from anyone, may drastically change. Chrome already intends to ship soon. It's quite possible that Chrome is rushing ahead as usual even though the spec hasn't been fully finalized.
People normally say don’t store binaries in git. Is this a big issue if the files don’t change very often? From what I understood the biggest problem is they don’t diff well. With photos not changing very often, can it work?

Anyone tried using git for 500G of photos?

I would love to if it worked, I have my photo collection spread out on multiple computers and merging the edits to the master backup is always a pita. “Was this file removed from copy A or added to copy B”? All those problems just solve themselves with a clear DVCS git history.

Not having the possibility of ever removing photos, to free up space, is of course another issue of git.
And it's very easy to rearrange things if some departments grow or shrink.
My rule of thumb is to NEVER use a Microsoft account for anything unless I’m forced to. And then I’ll create a brand new account for each use case.

I so regret converting my Minecraft account. The old Mojang stuff was so much more reliable.
Now, if Microsoft bought Atlassian — that would be absolute theoretical maximum limit of peak confusion when logging into an app.

“Warning: You are about to login to Microsoft Atlassian Fogbugz Trello. Have you cleared sufficient space in your calendar, notified your next of kin, put your affairs in order, and taken your sedatives?”
Is this a surprise? I assumed everyone's experience of Microsoft accounts was something like this. Every single detail seems designed by someone who read Kafka and took the wrong lesson out of it.
Back in my Windows XP days I had an app installed called Desktop Sidebar[1], which would be exactly the place I'd want all of this functionality today. Or in some kind of widget layer, like with MacOS. Hmm it's been a long time since I thought about desktop customization, maybe I should see if there is anything similar for GNOME these days.

1: https://web.archive.org/web/20120527201322/http://desktopsid...
Until recently, reproductive rights were well established too.
Shit changes, yo.
Rasberry Crazy Ant
I switched from TextMate to Vim as my main driver in 2010. Never looked back.
We're teaching a course at ETH Zurich [1] where --besides the actual payload of solving partial differential equations (PDEs) on GPUs-- we put a lot of emphasis on "tools". Thus students learn how to use git and submit their homework via pushing to a repo of theirs on github, we teach testing and continuous integration, writing documentation, running code on a cluster, etc. In their final project, again submitted as a GitHub repo, they need to make use of all of theses skills (and of course solve some PDEs).

Note that excellent work in this space is done by the Software Carpentry project which exists since 1998 [2].

[1] https://pde-on-gpu.vaw.ethz.ch/
[2] https://software-carpentry.org/
You didn't have a choice, right?
The replies to this post are almost universally depressing. Really? Reporting to the company is so obviously bad for the reporter in the USA? There is no protection from malicious prosecution just for 'reporting' a data breach. That's crazy.
> The old Mojang stuff was so much more reliable.

In what way? Does the microsoft.com login system go down often?
(But you did not point out that I incorrectly said the first commandment is to go to Jersey, when that’s nowhere near the first. I am a very poor reteller of Ham’)
If the endpoint supported mutual TLS, then the client side certificate could serve as a factor and the account credentials would be the other factor.
Despite the implication of malice that other comments seem to be directing at Microsoft, this just seems like a bit of an oversight (i.e. inexperience) on behalf of the school’s IT team.

Nonetheless, I would have expected MS to ensure that the process includes clearer guidance for the account owner, and for deliberate decisions to be made by the school to enable this type of action.

They did a very good job of providing clear advice to BYOD users during the MDM onboarding process in InTune, and it’s confusing that this didn’t occur in this case.
I was on the CS faculty at a Canadian university in the 1980s. I proposed a course with almost exactly this outline, only to be told it wasn't university-level material. MIT seems not to have got this message; good on them!
>I might be wrong. If not, it's not open source.

It isn't "Free Software" if it doesn't allow for the four freedoms -including the right to modify and redistribute your modifications.

As a term, "open source" is ambiguous to almost having almost no actual meaning at all. But "Free Software" has a concrete meaning and if you can't redistribute something then it is not "Free Software".

Hope that helps.

Edit to add a citation: https://fsfe.org/freesoftware/
Some company that offered services to us used Azure AD for their authentication into their portal, so when you registered with them it actually created an Azure AD tenant. The user was not aware of this, but this started to become a real headache not only because users could apparently create Azure AD tenants out of nowhere, in some weird way I still don't understand, but certainly through user interaction, other users that had nothing to do with that portal also got added into this Azure AD! It took some shady workarounds to get control over this rogue Azure AD tenant and clean up the mess it caused. At this point we keep the Azure AD around not because we want to use it, but to stop anyone else from creating one with one of our domain names.
What the UK legal system did to Turing was barbaric.

Let's agree on that.

> Had he not cracked the enigma's cryptography ..

Err - that was some Polish cryptographers, they also designed and built the first bombes (mechanical decrypters).

Enigma wasn't the only or most significant crypto system used by the Germans during WWII either - William Tutte cracked the Lorenz cipher and Bletchley was packed to the gills with talented mathematicians and engineers.

https://en.wikipedia.org/wiki/Cryptanalysis_of_the_Enigma#Po...

https://en.wikipedia.org/wiki/Cryptanalysis_of_the_Lorenz_ci...
Cool side hustle
Well I’m glad I didn’t have a full semester dedicated to trivial tools and boomer software
That’s just when two or more people get together to plan a crime - obfuscation isn’t the offence, the offence is the joint planning and intention to commit a crime.
Ah, but here's the catch. A comment has to be "thoughtful, substantive, and within the site guidelines". That's 3 arbitrary qualifiers for non conforming opinions.

That leaves me the option of not saying anything, getting modded down/flagged for pointing out blatant hypocrisy, or spending an hour crafting a long-winded comment that is either murky enough to confuse possible down votes, or clearly boils down to the simple controversial statement that many don't like, at which point it bites the dust anyway. So, where's the incentive to do better?

In my experience, the "vitriol" usually comes the above dynamic plays for the nth time, which is the opposite of what you are saying.

Maybe you are unable to recognise this because it appeals to your own biases. Or maybe you do but it simply suits you. Either way, I am not entirely convinced that I should take your opinions at face value and assume good faith no matter what.
I really hate comments like this. What exactly do you expect to achieve by saying "Well of COURSE this thing is awful. You should have known that."

Just accepting every horrible thing in the world must be so sad.
> In what corrupt country have you seen the police super active to keep random citizens from fixing issues that affect them personally?

In a country where they can benefit from pushing you around and enforcing arbitrary rules? Is it really hard to imagine corrupt police stopping a citizen from doing something that's technically illegal and benefits the citizen? That's the entire basis of their power.

> Yes, some things can look similar but be very much not the same. Look at the incentives, I'm sure they're not the same between a slumlord in SF and someone living in their own house.

You don't know someone owns the house they're living in when you drive by. That was exactly my point.
Speaking from a US standpoint:

1. The legislature makes laws

2. The courts make judgements based on those laws

3. The police officers drag people into jail

All 3 are part of the government.
Downgrading the user experience of native deno users for the sake of nodejs compatibility is a huge bummer.

Deno bundle was really really nice, and often times good enough for browser deploys.
I'm realizing more and more that relying on a large organization for a service where you are 1 of hundreds of millions of customers is a bad idea.

First customer service will be automated or even non existant, and very poor. Secondly the product will have been 'tweaked' so many times for new markets and product extensions that it will be very fragile when you do something at the edges of its functionality (not what the other hundreds of millions are doing).

It shouldn't really be this way - it tells a lot about software engineering that a product run by a few enthused people alone can often (but by no means must) have better support and service than a product with huge resources.
Thank you for your service meatbag <3
This week in KDE: even better multi-monitor
Hi! I'm that person! Senior engineer, decade of experience. I've used debuggers in the past, both for running code and looking at core dumps, but I really don't find them to be cost effective for the vast majority of problems. Just write a print statement! So when I switched from C to python and go a couple jobs ago, I never bothered learning how to use the debuggers for those languages. I don't miss them.
When will communications be bridged to Matrix, XMPP, and/or IRC instead of Discord lock-in?
Which uni was this? Presumably you're a proud alumni, even if you don't want to donate money to them, you might at least consider repping them in this context for having taught you this stuff. Fwiwi, many CS programs focus on the science end of things like Big Oh notation, and utterly fail to discuss any day-to-day, practical applications of things.
This might seem like nitpicking, but it is hugely important distinction for people interested in demographics. The simple fact is that societies engaged in subsistence farming are, in fact, stable instead of growing, and their TFR is not very far from 2. This has been true about, say, most of pre 1800s Europe, or pre 1900s sub Saharan Africa, but has not been true about North America for last 400 years until very recently.
And centuries, as with the victorians.
> this just seems like a bit of an oversight (i.e. inexperience) on behalf of the school’s IT team.

The school's IT team should never have had the means to do that.
> should I be more worried that there's something invisibly going wrong there?

I think what anyone should be cautious about is thinking that these more sophisticated methods can allow MCMC methods to significantly scale up to larger problems. But they are probably 2-10x at best, if it's well suited to your distribution (however you characterize that). Often it's not enough to keep up with the dimensionality of the models people want to use. I remember struggling to get this to work on a Bayesian neural network that was maybe 100 parameters, tiny by todays' standards.

As for approximating hyper-parameters, again if it's an easy problem, sure, probably something will work. But I do have to say I find this really fascinating when you start to get into these harder problems with MCMC algorithms. The first thing that comes up is how do you know that a sampler is drawing samples from the correct distribution? how exactly do you quantify that? Usually each sampler takes the same amount of time to produce a sample, so what you're really comparing is which one is giving "better" samples. But.. they are all supposed to be drawing from the same distribution, so how can one sample be better than another. If they are not drawing from the same distribution, then how can you possibly know which one is the right one!

So I'm simplifying the problem here, and not to disparage any of the fine work on autocorrelation and mixing rates and all that, but you have to admire just how impossible this is generally.
> It was created when I transitioned my Xbox LIVE account to a Microsoft account on 2014-03-07 (the LIVE account was created back in 2006, and neither it nor my Microsoft account were ever joined to any other domains).

Hoping this raised issue helps cleaning up some of the mess, I find it fascinating how bizantine microsoft have become.

I also have a skype account that became some other other account, but was using the same email as my mojang account that got ported to live accounts. I kinda hope everything is neatly bound in the backend as I login through the live.com portal, but it feels like a miracle that it still works at all.

It was the same kind of fun trying to log to flickr with a old converted yahoo account. Or dealing with amazon after merging multi-coutry accounts.
> A web application or a website, by its very nature, is a series of small requests. When someone sends all requests in one big lump of a page, they have just defeated this very important architecture.

I have a hard time seeing this as how most SPAs work.

I see this as how most SSR systems work. Which does seem broken & bad. A user has no potential to understand this world. It's just a mainframe generating some pre-rendered experience that has no real data inside of it.

So actually, no. I think SPAs have moral value. The alternatives that have upstarted recently seem bankrupt, with no legs to stand on. I don't understand where this post comes from. There's an extremely hostile negative high-bullshit pissy attitude here, that isn't backed up by a single thing I can recognize:

> There is no sudden about it, SPA's are yet another one of the so-called "modern web" cancers of the Internet.

Most SPAs seem to be the last defender of doing what you asked for?
True. A talented developer abuses the hell out of breakpoints by using hit counts, conditions and trigger points.
FTX, weekly exchange hacks, price crash, and the ever-present factoid that it is only used for crime and speculation.
Hate the player. There is always a player regardless what the game is. There is no such thing as a better game that avoids this problem.

If it became hipster to be more conscious about how you respond to hustlers and everyone started doing it, then the exact same slime molds would become expert at projecting humble authority.

It doesn't matter what the virtue is, the same people are always willing and able to signal that virtue.

Absolutely hate that player. They exist in any and all games, and so "hate the game" doesn't help.

There are better and worse games too, so you can hate bad games as well.
I'd say this would be capable of fooling even people who are knowledgeable about USB attacks, because they're likely to recognise that it's a YubiKey presume it's not dangerous. Of course they'd also have less reason to plug it in.
What makes you talented?
> and among those who do, most wouldn’t know who Joshua Bell is or be able to recognize him.

He's easily one of the top three violinists the US has ever produced, top two if you exclude Perlman (who immigrated as a teen). Anyone who actually listens to classical music probably has at least a CD or two of his.
How does Bun’s GC work?

I have a CLI ghat does some processing and Bun used all the memory and pushed me deep into swap on a 64gb ram machine. I added some Bun.sleep(1) in the some loops to give the GC more time but that didn’t help much.
My portafilter machine, a bean grinder, and some good espresso beans are all it takes for me.
So the key question is what allows Australian companies to raise prices and improve profit margins in this situation? It could be monopoly or insufficient competition.