skysight-inc/HackerNews huggingface dataset:
You can't fully replicate JSON schemas in either language without writing logic.

In terms of just static definitions, Go has typed container types while PHP has not. That's a pretty common case for JSON. PHP is more convenient at another common case which is heterogeneous maps. Neither of those languages make me particularly happy in that regard.

It also depends on what you're doing with the JSON. If you want/need to walk through it in a single pass fashion, then Go is definitely more fitting.
It should be law in EU/US and other countries that all imported "smart"/connected firmware must be replaceable by local variants (this includes iPhone, 5G networks, routers, etc)
That was Lyft. Uber started as an easier/cheaper way to call for a ride in a “black car”.
I agree with the sentiment, but Meditations was always written to be published though. It was less a private journal and more a write-as-you-go self help book. Marcus (Marky to his friends) hoped his writings would be read widely as it would spread his thoughts on stoicism etc.
Nice.
You can alternatively prove the negative: suppose it's a parallelogram with non-right angles, assume angle at A is "sharper". Thus, you can create two right angle triangles: AB'C with the base extended beyond B (= B') where AC is one diagonal and A'BD where A' is "below" D and BD is the other diagonal. As AB'C is larger than A'BD (because A' is within AB and B' is outside while the height is the same) AC can't be the same length as BD.

Thus, no parallelogram with non-right angles exists that has equal length diagonals.
Software isn't a "thing" so there is nothing to sell. The only way to monetize software is to monetize the labor of writing it directly. When you "sell" "licenses" to software, you're just double, triple, N dipping on monetizing labor that already happened.

The alternative is charging to write software, which is actually how most people (employees) make money writing software. Corporations take advantage of the difference between paying people to write software, and charging people over and over again to use the same software that has already been written.
Jessica and by extension PG are early investors in OpenAI.

So it's not like they are impartial parties either.
Yeah, we use Hot Chocolate with .NET where it is called Persisted Queries.

https://chillicream.com/docs/hotchocolate/v13/security

Honestly most of the "problems" the OP discusses has solutions in the documentation.
No ddos, the sysadmins forgot to oil the hard drives.
Indeed, from one of the authors of graphQL on this very forum:

"That would be one way to implement the system in a DB-centric way. However we believe that intermediate application code is pretty critical to any GraphQL implementation." [1]

"GraphQL is a client-server dance that needs server-side capabilities, not just CRUD semantics." [2]

[1] https://news.ycombinator.com/item?id=9879870

[2] https://news.ycombinator.com/item?id=14351800
It’s a bad thing if it increases China’s confidence that it can win. Wars are often launched as soon as one side thinks it has a winning strategy that might slip away over time.
Lets ask ChatGPT:

Was Sam Altman fired by YC?

>Yes, Sam Altman was effectively fired from Y Combinator (YC). Although the official announcement framed his departure as a resignation to focus on other projects like OpenAI, multiple sources indicate that Paul Graham, the founder of YC, made the decision to let him go. This decision was due to Altman prioritizing his personal ventures over his responsibilities at YC.

https://futurism.com/the-byte/sam-altman-dramatic-firings

https://news.ycombinator.com/item?id=38378216

https://english.elpais.com/technology/2023-11-24/why-everyon...
That's actually true, but they're expensive.
This is one of the problems we're trying to solve with https://Careera.AI - the platform acts as a fully automated digital recruiter.

The are NO JOB APPLICATIONS and NO CV FILTERING by the company.

Job seekers only need to register on the platform, and upload their CV, which is then parsed via AI to speed up onboarding. Every few days, the platform sends quizzes/tests to build the user’s psychometric profile.

Based on hundreds of data points, the platform pre-matches both sides (companies/job postings and job seekers) automatically and anonymously, guaranteeing a good relative match.

Companies are proposed candidates and can see only basic information, excluding name, race, religion, ethnicity, or physical appearance. So the match is fully unbiased.

When both sides hit “LIKE,” they can contact each other and proceed with the interview process.

Companies must process up to a maximum of 10 proposed candidates and cannot ghost any candidate. Only then can the platform propose more candidates.

Hope that some of you will jump on-board and give us some feedback :) Thanks!
I will live in my country, the country I was born in. EU is just one of many cancers eating it alive
It always sounded to me like the clap in Leadbelly's interpretation of Black Betty ( https://www.youtube.com/watch?v=Fii6PX0-VXs ) is syncopated because you raise the hammer on the beat ("Ohhh"?) and start the downswing on the beat ("Bam"?) but it lands (clap) according to gravity, not the beat.

(some tunes that were popular on both sides of the iron curtain made sense, like the "Chicken Dance", but then one may find others, like "16 Tons", interpreted here with the original* lyrics by an army band: https://www.youtube.com/watch?v=LVMANcPkDAg )

* Did they have this song via Paul Robeson? Some commie quickly came up with a parody: "We're flying to bomb the Union"
> Visitors now enter new stores made to look like old ones as the real ones disappear.

They managed to put in words exactly my feelings every time I revisit Lisbon's city centre.
hey, 3 cents cheaper than text-embedding-3-large (without batching)!

Are there some benchmarks available that compare it with the openai model?
The other day there was an article about how toxoplasma gondii infection correlates with leadership in wolves, too.

https://www.sciencealert.com/something-strange-happens-to-wo...
Privacy and decency are weird notions for a lots of people nowadays who rather generate money by disclosing online everything private about their lives.
I recently took a big gamble on DuckDB. I've added it to the core of qStudio a free SQL editor. Now within the editor you can save table results from any database to the local duckdb instance or you can even perform joins amongst any server and I do mean almost any server. Out of the box DuckDB supports mysql/postgresql but I've added support for 20+ other database though it probably doesn't support all their types. If you want to get started with DuckDB qStudio is a good IDE:
https://www.timestored.com/qstudio/duckdb-file-viewer#qduckd...
One naive approach would be to look at what IP address(es) they're using when proxying and blocking them. (Or detecting them in code and redirecting them to your domain, perhaps.)
why not just get it by scraping LinkedIn?
People are already arguing against trains and bus lanes since “one day there will be self driving cars”.
no, under the proposed dependency scenario, it makes china hold an outsized bargaining position because china _can_ withstand a war while the west wouldn't. It's not a symmetrical relationship - china can survive their stopping of exports, as they are an autocracy, which means the citizens cannot complain (much). The west's citizens would not want to make sacrifices or suffer as imports get stopped, and thus will acquiesce policies on china when it is actually not advantageous to do so otherwise. For example, reneging on the sort of defacto protection being offered for a lot of the east asian countries (japan, korea etc).

The war that russia is waging against ukraine is clear evidence used to support this point - that being dependent on russian gas/oil was a mistake and europe is paying dearly for it.
for several years I used to use pypy to get the dev speed of python on the kinda crunchy problems that you'd normally need to work in a classic compiled language for.

I remember it fondly. At the time, you could find the devs on freenode and the few times I bumped into something being slower than expected they jumped on my informal bug reports and quickly recreated it and fixed it etc. Awesome! :)
You are just connecting unrelated evidence. Nobody denies that SpaceX got government contracts. That still doesn't validate the overall story.

SpaceX got paid to provide services, and they did so. It had little to do with SDI or any long term demand for missile defense.

Most of the money is from experimental NASA program to find a cheap way too get money for ISS.

SpaceX got almost no money from DoD for quite a bit of its history.

> That’s—I will only say in my view—excessive

Its not 'excessive'. You can't just say 'excessive' without evidence. You actually have to show that they got overpaid for the services provided. In reality, they got underpaid and lost money on those contracts.

The thing is, most of that money was performance based. Go look up how COTS and Commercial Crew actually worked. You only get money once you reached specific milestone. Having such a contract requires you to raise private money (can be stocks or lending), and then you can try to execute, if you do, you get paid. If you don't, you wont get paid.

Look what happened with Kistler Aerospace for example. They failed to raise sufficient private capital and were kicked out of the COTS program.

So for this argument to make sense, show what contracts SpaceX got, and explain how the government could have achieved the same results cheaper.

Most experts agree, and pretty much everybody calls COTS the most successful NASA program in decades. And Commercial Crew as almost as good. NASA achieved a huge amount with little money.

> less than $200 million of private capital in SpaceX and $1.2 billion

Again, you don't just get 1.2 billion. You have to raise private capital, and then execute on your development program. Some of those 1.2 billion $ took years until they arrived at SpaceX.

For example, Griffin included 400 million $ for CCiCap. Guess what, that money didn't fully arrive at SpaceX until way after 2013. Griffin only account for Musk private funding, not all the other money raised by SpaceX.

Griffin is a very opinion person that often goes against what most people believe. I would not his interpretation and evaluation as gospel. He is a politician and a bureaucrat.

His whole spiel during the last 15 years has been that government should own the intellectual property for things like capsules and such. The thing is, most of NASA simply doesn't agree with his opinions.

And most expert that look at NASA performance, seem to agree. He is very much outside of current thinking at NASA.
We have never, ever locked away Halide from people who already purchased it. If you bought Halide 1.0 in 2017, you can still use it today, with all the features you bought, without paying another penny.
Kids need to mess up, and do things outside of the sight of their parents to grow.

They need to be able to do things their parents disapprove from time to time, or just hide some behavior that they feel shy about.

Sex, meeting people outside of your social norms, attempting stupid stunts, and all that is part of growing.

The simple fact you can know where they are at all time steal those opportunities from them, and normalize spying so that they grow into citizens that will accept it in the future by the gov.

It also removes the parts of the day when they are on their own, and have to figure things out, then deal with the consequences of their action because the parents are not there to get them out of trouble.
> It's amazing that you've been able to ride on the coattails of another manufacturer's tooling investment in the panels.

This is what almost everyone does for one part or another. Companies are just usually not so transparent about it.
> This decision was due to Altman prioritizing his personal ventures over his responsibilities at YC.

Which is essentially what Paul Graham's tweet sayed: Choose YC or other ventures (OpenAI)
That’s the default of the package managers (i.e. composer, npm, etc) not the language. Setting up a virtual env for Python is a one liner. Hardly messy.

I’d argue that deploying a Python web app with mod_wsgi or gunicorn isn’t any more difficult than deploying a PHP web app with PHP-FPM. If anything I’ve seen far more misconfigured PHP-FPM setups than gunicorn setups.
> It's not a reigning in if he quit

Reigning in an enthusiastic person they know, not an employee.

> It sounds a lot like Sam went off and found another job, didn't bother to quit his old one

He didn't "find another job", or that's a silly way to put it. He was already was running OpenAI not for profit. When that company decided to create a for-profit subsidiary, and SA to go with it, is when they said to him he couldn't be both.

> and when challenged... quit.

If you're saying he wasn't fired, you're right. He chose to leave and move to another company full time. That's what makes this such a dull topic.

Anyway - breaking this down point by point is unnecessary, because it's all in the original Tweet, and you're still saying what you're saying.
Supporting old architecture takes A LOT of engineering effort for complex physical devices, creating new architectures from scratch with the learnings from the old architectures often costs too much (and you still need to support the old systems for a long time anyway).

I worked in a project where an architecture was very flawed initially and took almost a decade to move away from it.

So often management pushes for incremental updates on an outdated architecture because the risks are too high since the new architecture might have all new problems of its own.
when will people learn - you're not Facebook, or will never likely reach facebook scale. Graphql, Relay, React were things etc made for Facebook at facebook scale i.e whether that's in terms of engineers, resources or actual tech problems.

There's plenty of other sites / services that receive almost as close to FB properties in terms of traffic yet you never hear them pushing all those tools. Trading firms, Porn firms etc. Some just use REST + JSON or RPC + JSON.

Wish us an industry would read Joel's Spolsky's Fire and Motion article: While you're fighting tools built by FB you're not making stuff for your customers.

Revenue / Profit >> Tech
After reading lots of biographical material on Feynman it seems like he was a very loving father and husband (especially to his first wife) but obviously devoted to physics. I would imagine it's very difficult to find the balance between his kind of career and family such that the family feels they get sufficient attention.
>I've been encountering a frustrating pattern whenever I attempt to engage in a focused activity, like reading a book. It seems that within just a few lines of reading, my mind starts buzzing with reminders of other tasks clamoring for attention – emails to send, ideas to jot down, and various errands to tackle.

Have you ever watched any videos on adhd symptoms?

Everyone is different, but meditation is how you train yourself to increase your focus skill. but if you have adhd, you have to invert the rules of meditation.

The goal of meditation is to have your mind and body turn off. You are essentially doing literally nothing. But for an ADHD person to get there, you have to try to pay attention to a billion things at once and exhaust your brain into turning off.
I wonder if they write their shutdown notice at the same time as their landing page copy for products like this. /s
Can you explain what you mean by this? The GraphQL API you expose allows only a certain schema. Sure, callers can craft a request that is slow because it's asking for too much, but

- Each individual thing available in the request should be no less timely to handle than it would via any other api

- Combining too many things together in a single call isn't a failing of the GraphQL endpoint, it's a failing of the caller; the same way it would be if they made multiple REST calls

Do you have an example of a call to a GraphQL API that would be a problem, that wouldn't be using some other approach?
Ask HN: Can you stop making apps that ignore systemwise animation settings?
Wondering why I can't kill animation on Whatsapp. Not limited to Whatsapp. Some of you might involved in this kind of evil practice.
Extend this logic to other thing you should ask about, and you'll see it gets creepy very fast.
I'm less than 50 and remember 5-digit numbers being the norm in the 80s. 3 digit might have still been around in the 70s iirc.
Related discussion:

https://news.ycombinator.com/item?id=40284823

Cold brew coffee in 3 minutes using acoustic cavitation (unsw.edu.au)

2024-05-07 (351 comments)
You’re not “fired” if you were given an option to continue in the job.
You Can Thank Private Equity for That Enormous Doctor's Bill
Duplicate of:

https://news.ycombinator.com/item?id=40510503

Ultrasonic Coffee (theguardian.com)
I love the old 'it only works because they get free money'. Because people just love to give away money to companies that go no-where.

If its so easy for companies to get billions of $ why don't other companies just do that?

BlueOrigin is currently losing 2 billion $ a year, and somehow all these people who gave money to SpaceX are not willing to give it to BlueOrigin. So Bezos has to pay if from his own pocket. Why is that you think?

The reality is SpaceX achieved fantastic results with they money people invested. Both in terms of technology and in terms of revenue growth and profit on operation. And then they presented new plans for expansions and achieved fantastic results again. Then they ask for more money again. And so on and so on.

If you build large infrastructure its gone require a lot of up front money. SpaceX really only start to raise major money when they started major infrastructure projects like Starship and Starlink.

Frankly, the its absolutely absurd that they only raised 11 billion $. For reference the SLS rocket alone is so far running at 22 billion $. The SLS/Orion together so far cost 55 billion $ and they will cost a lot more before they are done.

The fact that they raised 11 billion $, built cargo and crew space craft for ISS. Also build the most successful rocket family in history. Built the largest constellation of sats in history, plus ground stations, plus distributing millions of terminals. Built and design the best rocket engine in history. And also built the largest rocket in the world. Plus of course multiple launch sites. Plus a number of major factories to build all that stuff.

Your claim that every company could do this for 11 billion $ is frankly laughable for anybody that knows anything about the space industry.
Executable Tar Archives
Apparently line goes up also includes "locals must be my friends". I mean, I didn't want to be very harsh in the comment above but the stuff that not only I've read, but I've been told, is hard to ignore.

My GF was having a very difficult moment financially early this year. We reached out to our foreign friends asking for help, because we know they're better connected, some work in companies where her experience is valued, etc. I mean, it wasn't like a moonshot, we tried to make sense.

Completely cold shoulder. This is people we've know for about 2 years at least. She got the job because of a spanish friend told some other spanish friend that has a company in hospitality. Another Italian friend tried to help too, and the portuguese ones, well, they're barely surviving so...

I mean, there's a clear line I can draw here. I don't want to point fingers and that's our personal experience, but I mean, it isn't the only imput that lead us to feel like we're just entertaining.

But then I have to be their friend, and play local, or I'm rude.

IDK man.
I do think that PyPy is a strangely undercelebrated heroic Python effort.
It is a bit sad that PyPy great achievements are mostly ignored, and it took Microsoft and Facebook stepping in, Julia and Mojo arriving into the scene, AI GPU frameworks JITs, for finally CPython to take having a JIT seriously.
Who knows what agreements exist between Altman and YC.

There could be a kind of non-disparagement agreement like OpenAI used to have.
Meta FAIR: Contextual Position Encoding, Learning to Count What's Important
Considering how often my three-year-old niece wants to play around with my Apple Watch, including at bedtime, it seems like it can be just as big of a distraction.
That's nothing, Bing copilot does much better:

> Yes, Sam Altman was indeed fired from Y Combinator (YC). The decision to remove him from his position as CEO was made due to long-standing patterns of behavior1. Former OpenAI board member Helen Toner accused Altman of lying to and obstructing OpenAI’s board, as well as retaliating against those who criticized him. She also mentioned that Altman created a “toxic atmosphere” within the company2. Interestingly, Altman had previously been affiliated with YC but was later reported to have been fired from YC and even appointed himself chairman without authorization3. It seems his behavior led to significant consequences in both organizations.

Not sure what to think, Lucy in the sky with diamonds?
Ask HN: RAG and unstructured data from several docs
I don't have a deep understanding of RAG and related concepts. My approach is always to start by assuming there is no solution and then figure out how to solve it. When it comes to RAG, I ask myself the following questions:

When I have two paragraphs from one document, say p1 and p2, should I analyze them individually or first determine if they share some common information? If they do share information, should I then evaluate the common information (p1|2), p1 excluding the common information (p1-p1|2), and p2 excluding the common information (p2-p1|2)? This approach aims to reduce redundancy, but does it make sense?

Additionally, I would assign a 'label' to each paragraph. For example, p1 could have the label 'llm', p2 could have the label 'RAG', and p3 could have the label 'llm'. Using these labels as primary parameters might increase the system's speed. The label could also be an array of relevant words, representing the essence of the paragraph. By finding related paragraphs through labels, I would know that p1 and p3 are somehow related. Again, does this approach make sense?

Furthermore, regarding re-ranking or re-chunking, should the database, whether it's a vector DB, a knowledge graph, or a hybrid, be highly dynamic or rather static?

Another question: When comparing two paragraphs, p1 and p2, should the comparison be at the paragraph level, or should it also be word by word? For example, consider the sentences "Dog sits here", "Dog sits there", and "Dog, sit!". Without using NLP and LLM, simply comparing the words shows that s1 and s2 are closer to each other than to s3. Would an additional layer of comparison be helpful? How should punctuation be handled, for example?
Yep, indeed I'm seeing this if I enable this option.
1. Still not as passenger dense as a train or a bus

2. They will need stop some time. Where? Will this block the street?

3. They won’t all go to the same place so there will be delays at junction and side streets

4. No margin for error wouldn’t fly in practice, so the cars cannot be that close together

5. How will pedestrians cross a train of cars?

I just don’t see how this all adds up. Automation doesn’t remove the space constraints of cars in cities.
> Haha. Well I could have omitted the disclaimer.

Well, I appreciate the honestly. I also appreciate your original statement, which I think was just fine and didn't need to be expanded into an essay by ChatGPT like you're trying to up the page count for a high school essay.