skysight-inc/HackerNews huggingface dataset:
I have become less and less enamored of gdb (or IDE equivalent) debugging over my many years in software. Debugging is often very confusing with multithreaded code. It only works in one language at a time. If you're doing Java with JNI for example, the code called through JNI is a black box. If you are doing anything involving multiple processes, or distribution, debuggers are useless.

But the real problem, and top-level issue, is that you are constantly rooting around the very lowest level of your code, and it is difficult and labor-intensive to get a higher level view of what's going on.

On the other hand, well-designed logging code is there when you need it, can provide a view at any level of abstraction that you'd like (if you've written the logging code), and allows you to go forward and backward in time easily and repeatedly.

The project that really pushed me in this direction was working on a cluster. My piece of the system would start on one of the nodes, and delegate work to a fixed number of other nodes, or to all nodes. Out of necessity, I put a lot of work into debugging code, taking care to include the right information in each line (node id, time to nsec, source id, line number), carefully formatted to enable sorting and filtering, log rotation to make sure that I could focus on recent events or a longer timescale, and a lot of attention to the information included in each line and how it was formatted.

Because this was a long-running distributed system, I would often need to gather logs from across the cluster, going back hours or days, and merge and sort the files, and then debugging could start.

Going along with logging was heavy use of assertions, which were enabled even in production. I definitely did not want my code going forward doing random unanticipated crazy things past the point of an assertion failure.
Ideally add basic authentication to the entire VirtualHost beforehand.
But wait, doesn’t that directly contradict the first commenter’s next paragraph?

> On the other hand, when you are the one to implement the Graphql server, it feels like writing your own database. You have to create a query plan, handle optimizations, corner cases, etc.

If it’s so easy to craft any GraphQL query as an SQL query and let the RDBMS plan an execute the query, then shouldn’t it be easy to implement the GraphQL server on the backend?
Is Berkshire Hathaway PE? Seems like it would be by that definition, but I've never heard them called that.

I always thought PE was leveraged buyouts/KKR/Masters of the Universe type of folks.
> But using a database to find a recipe has never been interesting to me, personally.

I've built a few toy apps like everyone else and found the same feeling when it was just a CRUD listing app of recipes that I could search. What I found was an interesting take and one I'm wanting to take further is I want not recommendations on recipes but _almost_ generation of recipes. So when I search "Chile Colorado" it returns a specific recipe that I created but for each "step" it "links" to relations/more info/etc.

Example:

Ingredients:

- 1lb beef <this is the recipe itself either from a source or you put it in>

- Ribeye is best <this is from the recipe itself and notes you made on this specific ingredient>

- Sometimes substituting chicken is healthier <linked from some other recipe about beef that you saved once>

- This doesn't double like most things do if you are making more portions <linked from some private notes you made about cooking>

- ....

Do you think that caries the context enough? Or do you think that you would just much rather have a list of vetted + manually entered ones?
He's not wrong though. Large corp software teams, paradoxically, tend to run stupid even if comprised of smart people.
I think this is a very interesting concept. Will definitely shorten the REPL cycle from reporting a bug to recreating it in the code. I can see this being useful in QA and staging environments. Looking forward to the self hosted version for security reasons.
Not all APIs are about reading and writing data though. You might want an api to create a db entry but also kick off an async task.
Using postgraphile for my current big project is the best technical choice I've ever made. There's been the occasional obscure sql incantation to learn but otherwise has been so much more productive than hand-crafting REST endpoints.
I find the format of "I've done wrong; please accept my apology" to be common and sufficient; clearly we have different expectations though -- or they are getting unanticipated amount of pedantic and semantic scrutiny (which in turn will eliminate posts like this, we'll get more corpo-santized-PR, but somehow I don't think that'll make people happy either :).
I'd recommend checking out the project link in the comment to which you replied. It is designed _specifically_ to avoid the problem you mention: instead of a fully materialized, fully-nested result, it returns flattened row-oriented results (like a SQL database).

This allows for lazy evaluation i.e. rows are produced only as they are consumed. So if you accidentally write a query that would produce a billion rows but only load 20, the execution of the query only happens for 20 rows + any batching or prefetch optimizations in the adapter used to bind the dataset to the query engine.
The Business Case for Fewer Developer Meetings
You could edit the article in a week or two, once things are calmer (maybe leave the original text in crossed-out form, or a link to the original via archive.org); it might help future readers who don't get there via this controversy.
I don't play Fortnite but anything that happens to it is relevant to the industry for two reasons: It's the most profitable video game in history and it's the best current version of the metaverse. Anything that mentions MS cloud streaming is relevant, too, because they are the leaders in that tech with things like Flight Simulator and XCloud.

The article humorously points out that Epic wasn't interested in working with MS on cloud streaming because they saw it as competitive. Microsoft is so far ahead on that tech that no one is competitive with them.
Sometimes I get this weird, probably biased and prejudiced, but real feeling that every single piece of technology that has been born inside Facebook in the last ten years is a trap.
I started a toy project with the intention of using raw SQL, but I ended up starting to build my own ORM around all the models.

If I have a User and who is trying to create a new Post, with Prisma you eventually set it up to do something like User.createPost(content).

What does createPost method look like with raw SQL? Does it read in from a .sql file that you pass values to?
We see that social media negatively affects mental health, at the same time there is a movement to enshrine social media into our lives as public utilities and a human right. How do we resolve this incongruity? Certainly, there is a lot of money at stake in this question.
I don't know that there's an easy solution to this problem, but what I've seen Kubernetes and other Google-derived projects do is replace standard log levels with an increasing series of integers so you can log in increasing detail. This seems a little arbitrary (one developer's 8 might be another developer's 14 or something) but at least you can easily ask for increasingly more detail until you get what you need without noise-by-default.
Related, Algol 60 via Racket, https://docs.racket-lang.org/algol60/
Maybe I'm old but the fact that this is running in the browser blows my mind. I'm really hoping effort keeps going towards the WebAudioApi!
I agree with current zoning and permitting is harmful. I can't wait for a better urban life here, with services and amenities in proximity, which more homes closer together would enable. I don't think it will meaningfully reduce cost of home ownership. Infill development is more expensive, and the dynamics at play (if I'm correct) are moving to a European model. Generally pointing in a direction of demand having really high ceilings(the estates of those dead boomers are really going to help with that, the biggest wealth transfer in history is only just starting), and supply will be incredibly responsive to changing conditions, since a home is a claim to a location, sellers will only sell when they can buy again into the existing market.

It's very possible I'm wrong. We'll see what the rate hikes will do to home prices in the next 2-4 years, and already we're seeing relaxing of zoning in many metros, so we'll see the effect of that in 5-10.
Well, no kidding, but at that point we’re just getting damn silly. I can also make an Ansible playbook that hoses my machine, too. That’s just how doing things that can potentially hose your machine (certainly reconciling system configurations) works…
this is so foreign to me. it's turkey hunting season rn
Algol 60 is a completely different programming language.
I mean, if we're splitting hairs, Twitter was originally a way to communicate with friends over SMS in a new way. Following friends would get their status updates delivered to your phone via text message, so you could learn that Suzy was planning on getting drinks at Bar X tonight or that Jim was looking for folks to play disc golf this weekend, without Suzy or Jim texting you individually.

Oh, and Twitter also made a website where you could find these status updates, but that wasn't the initial focus. Eventually, the SMS delivery bit became obsolete and everyone used the Twitter website or apps, and the content became less "what am I up to" and more "what are my thoughts on current events". So yeah, then it needed content moderation in the same way that any web comments section needs content moderation but your iMessage group chat with some friends does not.

I think Elon's talk about "free speech" and "open sourcing the algorithm" will just result in users having a choice of a handful of open-sourced, but vetted and approved newsfeed algorithms. By default it'll probably be something like today - users who post hate speech or who incite violence will be hidden. Sure, there will probably be an option to show tweets from everyone, even loonies who think Jews should be killed before their space lasers activate the 5G COVID vaccines or whatever, but hardly anyone will enable that algorithm. But Elon will have technically "brought back free speech" and will declare victory.
I was able to successfully navigate tricky negotiation situations using his advice, but salary increases were never a part of it. I believe salary increases should reflect professional skills and not negotiation skills, and I avoid companies which reward negotiation skills with higher salary.

I have always used the "imprecise offer" somewhere in the middle, and it usually worked out great.
Forums can have amazing longevity. In the past 10 years I’ve seen communities on social media go completely extinct multiple times (rip Tumblr) and yet I’m still regularly using a forum I’ve posted on for 21 years.

They don’t have good growth but it’s the closest thing to an authentic “public square” in my opinion. Actual conversations, instead of people just yelling on their soapbox.
I'm not concerned with independence from the database _implementation_ but independence of the database schema from any one consumer. This is one of the more interesting things about tools like Hasura/Postgres/Postgraphile in my eyes, they encourage you to separate frontends from the backend early on. That might be one team to start, but you can divide labor and add more services without rearchitecting like you would if the database was controlled by ORM from a single front end.
Reddit is a super weird situation. If you take their policies literally, it's basically a site set up where sub-reddits are pure dictatorships. So in some ways it's perfectly pro free-speech, you can always make your own sub-reddit. But in other ways it's a completely totalitarian dictatorship with all of the larger sub-reddits run by a tiny cabal of very online people. There's no mechanism to appeal the decision of a sub-reddit, and since interacting with another sub-reddit is considered harassment or brigading you can't even talk about one sub-reddit on other sub-reddits.
Now if we can only get HP to reinstate the VAX hobbyist license... The VMS Software team can't do that, they never got the rights to the VAX implementation.
This would be a welcome discussion on Effective Altruism forums :)

I really think there's little credible attack on Effective Altruism -- it's like trying to attack science as a whole. Of course you should be altruistic (in a general sense, particulars can vary), and of course you should be effective in your altruism. The details of what it means to be effective and what are the ethical goals that define altruism are part of the process -- and input is not only welcome but essential in refining it.
The housing away from the city still needs to be pretty dense, otherwise you're building a ton of infrastructure to transport few people (or people need to drive / take the bus to the train station which isn't the end of the world).

> I can see residents downtown paying the most taxes being against it though - all it does for them in personal terms is erode their power.

It could also help subsidize their taxes to some extent since commuters are occupying offices and spending money in the city without occupying housing. Depends how things are set up. I don't think the people living in Manhattan resent people commuting from Jersey or Queens for work.
While nothing is incorrect in the explanation, it's an overtly complicated way to understand the intuition.

Mortgages are fixed income instruments. There are 2 types of mortgages, fixed rate and adjustable rate. The article focuses on fixed rates, as adjustable rate mortgages are different for a variety of reasons.

Fixed income instruments are roughly priced like this:

Yield ~= risk free rate (corresponding duration treasury rate) + interest rate risk premium + default risk premium

1. Risk free rate (=corresponding treasury rate) is going up. Fed is pushing the entire yield curve up through Fed Funds and QT, not just the short end.

2. Interest rate risk premium is going up, because it is much more uncertain (compared to 2008-2018, or 2020-2022) where risk free rate will be in 1 years from now, much less about 5 years from now. We don't know what the Fed will end up doing. To understand this risk, you have to understand the duration of an instrument[1] and incorporate the uncertainty about the risk-free rate.

3. Default risk premium is uncertain, because the question depends on whether are we going to have a recession? Recession may depend on whether the Fed can engineer a soft landing.

So yes, 30yr mortgage rates will go up, because #1 is going up, #2 is going up, and #3 is maybe going up.

[1]https://www.blackrock.com/fp/documents/understanding_duratio...
Perhaps related: I understood that the Liverpudlian Fortran 90 compiler done by NA Software was based on an Algol 68 compiler (I don't know which one). I thought that was odd at the time, but it probably wasn't, and presumably shows the direct relevance to more recent language evolutions.
The docs don't say anything about the wire protocol - is this based on REST/JSON, or something proprietary? If proprietary, is it spec'd and documented? Support for implementations in other languages?
Don't forget that hormones change starting mid-30s. Fatigue and energy levels can be affected due to lower testosterone, or from just years of sitting in chairs. Also, don't forget we're coming out a pandemic that really put us into isolation... maybe not as noticeable for those of us that tend to work in isolation anyhow, but it can have an unrealized toll.

I'm 41 and going through a divorce, so I have a distraction that carries over into everything else. But, I'm now also freed up to go do the things that I haven't been able to enjoy in years because of obligations or trying to make someone else happy. I've been able to go out on weekends exploring or camping, joining up with friends and reestablishing connections, and now have a puppy that is forcing a little more structure into areas of my life that I became overly relaxed in (plus his unconditional love is soothing).

Another thing to consider is just the amount of tangential stress in our lives from seemingly one bad thing to another: politics, the economy, foreign affairs, social media, etc.

Really, I don't think there's one single thing to point to but a conglomeration of many things. I try to focus on what can be controlled and let go of the things that I can't.

Things that have helped me in the past when I'm in a rut include: taking up a new hobby (I find woodworking enjoyable because it's more physical; cooking is another great choice too), learning a new programming language (I learn ideas that can be fun to experiment with or incorporate into my daily work), traveling nearby (get a Hipcamp glamping spot with a minimal of fuss; get away from things for a bit; clear the head, feel your body), explore a new book genre (I've been slowly getting into audio books), volunteer work (I joined my neighborhood HOA and try to bring my experience into solving little problems that others don't have the experience with; though there is the occasional neighbor drama, I'm on good terms with everyone and have regular and good conversations with neighbors while out walking or working in my yard).

Anyhow, this is all to say that I think that as we age and mature in our careers, these ruts we find ourselves in require a more "holistic" approach to finding a way out.
Note that pi is not known to have this property, but it is expected to be true.

Also note that it is not true that any transcendental number must have every finite sequence of digits in its decimal expansion. A common counter-example would be a Liouville number:

sum k=1->inf (1/10^k!) = 0.11000100000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001...

Which is proven to be transcendental [0], but still does not contain a digit "2" in its decimal expansion, so therefore it does not contain all finite sequences of numbers.

You were probably thinking of Normal numbers [1], pi is widely believed to be a normal number.

[0] https://en.wikipedia.org/wiki/Liouville_number

[1] https://en.wikipedia.org/wiki/Normal_number
Honestly, I can same the same thing for Hacker News, or whatever website you find yourself habitually visiting. If you are sitting at a computer or phone with nothing in particular to do, do you immediately start to go to certain sites? It's worth taking a week or two off from those sites (or relegating them to one day a week) and seeing what changes. Sometimes it's like a mental fog lifting. When you don't have something you're reflexively doing, you start to think about what you actually want to be doing.
Statements from articles should be considered, not absolutely trusted.

> What else do we, armchair critics, have to go on?

Everything outside of the article, the sum of our experience with the way the world works. Our experience with the way people work, the way people will give accounts of their actions that make themselves look good. The way the "telephone game" works, where the more people something goes through, the more uncertainty there is. Presumably, the journalist was told by the woman that she believed she couldn't keep it, yes? But the journalist didn't actually quote what she said. The journalist paraphrased what she said instead, rephrased it in his own words. This is generally fine, but you have to remain cognizant of the fact that it isn't precisely what she said. The comment I responded to claimed "She specifically stated this in her article", which simply isn't true. That commenter failed to perceive the difference between somebody being quoted, and somebody's statements being paraphrased. Even when you trust the journalist to act in good faith, there is a big difference between quoting somebody and rephrasing what they said.
They lost 3 billion in Q1, and 5B since in all of 2022, so that's pretty much a billion a month. Let's assume they have 3000 employees working exclusively in Reality Labs with an average annual salary of 200k per employee. 200k a year rounds up to around 17k a month, times 3000 comes out to around 50 million dollars a month, which is 5% of their monthly spending. Even if they were spending $500 million every month just on outsourcing/parternships (unlikely), that still makes personnel costs around 10%. I just can't imagine where all that money is going.
Hi Mohan

You can safely try out the current version. It is completely offline and there is no need for internet to use it.

The analytics point called out are FYI because this sits inside your IDE. And we are very much in consideration whether to keep them or not.
Elevator Data Structures and Algorithms
Musk got to #1 in the Forbes 400 by saying things to people on twitter and becoming a techno-utopian cult figure

This is like Kim Kardashian buying E! to make sure they can never cancel "Keeping up with the Kardashians".

Musk wants to keep rolling his promises into the future in order to avoid people asking them about practical and tangible results in the present, as they have been underwhelming to say the least when compared to the financial bubble he managed to inflate.
Thanks Arpit, in the next release we plan to have collaboration features where customers or QAs can share Videobug session with devs directly. It will short circuit the whole bug raising Jira/Slack cycle.
What is this sentry.io thing for anyway? Should I block its JS code?
And don't forget the lost battle that is to try to keep a clean git history in VB6 with words changing the leading letter from uppercase to lowercase and viceversa or all the form properties jumping around whenever you touch the preview of the GUI (ie. Switching to a different tab).
Well replying to this comment put me in a real Catch-22 like situation, doesn't it?!
I’ve never used this, but it looks like a very similar idea to Haskell’s Servant library [https://docs.servant.dev/en/stable/]. Could someone who knows more enlighten me as to how correct this comparison is?
I'd say GraphQL and Schema.org were both "asymmetric technologies" in the sense of asymmetric warfare but maybe the other way around.

Both of them tackled some of the problem space the "semantic web" tackled (e.g. the linked data idea of do an http request and receive a graph) but in a way that privileged the large organizations that pushed them.

With no semantics Facebook can return whatever they want from a GraphQL query, whatever is in the commercial interests. (I'd add that they have ethical constraints on top of that involving privacy, spam control, etc.) They have no real concern that anybody else can publish GraphQL and they are big enough that they can go it alone and be a defacto standard to interact with Facebook no matter how GraphQL fares in the real world.

When schema.org came out my wheelhouse was information extraction from Wikipedia, Freebase, things like hat, and I was like... There is no 'reification of subjects' in schema.org, it's not really that much better from my perspective than extracting facts from text. In fact if anything it is more of a way for Google to get a training set for a real text extractor than a way to publish facts Google can use directly.

So I was bearish on it initially but the standard really improved and technology got better both in terms of natural language processing and my understanding of matching engines that can 'reify subjects' by matching graph patterns. I don't see schema.org as difficult to consume now.
I feel like, as with a lot of tools, graphql is really useful if you’re at the scale of having 1000s of different object types. If you’re only dealing with a handful of resources, a simple rest api is way less headache.