skysight-inc/HackerNews huggingface dataset:
I've found GPT-3.5 to be quite bad at small traveling salesman type problems.

I used the following prompt just now on https://chat.openai.com:

> Imagine that I take a road trip starting from Amsterdam, and visiting the cities Warsaw, Budapest, Brussels, Paris, and Berlin, then returning to Amsterdam. In what sequence should I visit those cities in order to minimise the total driving time?

> To minimize the total driving time for your road trip starting from Amsterdam and visiting the cities Warsaw, Budapest, Brussels, Paris, and Berlin, you should plan your route based on the most efficient sequence. One way to achieve this is by using a route optimization algorithm, like the Traveling Salesman Problem (TSP) solver. However, keep in mind that road conditions, traffic, and other factors can impact the actual travel time.

>Here's a sequence that aims to minimize the total driving time based on a general estimation of distances between the cities:

> Amsterdam
> Brussels
> Paris
> Berlin
> Warsaw
> Budapest
> Amsterdam (return)

>This sequence follows a route that minimizes the overall distance traveled. Remember to use a navigation tool or app to get real-time traffic updates and directions during your trip, as actual conditions might differ from estimates.

The result is not optimal. It takes 45 hours: https://www.google.com/maps/dir/Amsterdam,+Netherlands/Bruss...

The following sequence takes only 42: https://www.google.com/maps/dir/Amsterdam,+Netherlands/Bruss...

I've not tested GPT-4 as I don't have any reason to pay for it, but I'd be interested to know if it has a similar problem. My hunch is that it will never be very good at solving graph-theoretic problems.
> Proposing government mandated mask wearing for everyone for the rest of our lives is absolutely insane.

why? We have gotten accustomed to seatbelts despite cries about restricting freedoms, wrinkling clothes etc. "no shirt, no shoes, no service" is also common and extremely few people rally against it. At airports we absolutely debase ourselves despite it is known the current security measures are just security theatre. (Boycotting this would be trivial: if everyone opted out of full body scanners the entire system would collapse in hours.) Meanwhile N95 masks are proven to be effective against infecting others. In other words, you need to give some reason to this besides the emotional absolutely insane.
This is pretty cool. I noticed in the flow I could choose which technologies to use. That's interesting because ReTool is fully hosted and abstracts that away. I could see this also being used to bootstrap regular sites at some point.
> Before the pandemic, I already made a lot more money (as a lawyer) than my middle class neighbors. Now I also get to work from home three days a week, and get a lot more quality time with my kids, while they have to go to work every day because their jobs aren’t knowledge work.

With all due respect - so what? This seems like crab in a bucket mentality, just because some of us crabs managed to climb to the top of the bucket, we deserve to be pulled down because of some warped view of fairness? We should actually be trying to pull the rest of them out with us.
it's running TLS 1.3, according to Firefox
Same point applies. Somebody who is 40 has seen the last bit of one recession that didn't hit tech as hard as the dot com crash (or as hard as 1991 or 1980).
There are several civilizations that accomplished this. https://en.wikipedia.org/wiki/Kaymakli_Underground_City#See_...
Ask HN: Starting a software business while employed full-time
Hello HN community,

I've been nurturing an idea for a software product for a few months now, and I believe it has potential to grow into a sustainable business. The software product would fall under the geospatial industry. However, I'm currently employed full-time in Europe. I'm sure many of you have been in similar situations or have read / witnessed someone navigating this path.

How did you promote your business / brand while being employed full-time? I've seen few opportunities to speak at industry conferences, but ignored them due to being employed full-time.
Then of course every country in the world records you on arrival.
A pretty good analogy.
Sounds like an interesting development in passenger aircraft. I wish Embraer the best, but I'm skeptical of the future of commercial passenger flight in general.
Careful, going down this path will make you realise that if you can optimise your workday and eliminate any distractions such as meetings and wasted time, you'd fill 3-4 hours of extreme focused work, and you'd be spent. In normal office work, these 4 hours of focus are spread over 8 hours.

I have reached this state, and it feels surreal to complete a day's worth of work in my morning, so I have the entire afternoon for chores, research and other unstructured me or family time.

The silver lining of the pandemic is that it might be the first step towards the abolishment of the 40 hours week. We're talking about 4 day work week now and it's still far too much time dedicated to your employer, that's still filled with mostly nonsense. We should be pushing for the 15-20 hour work week instead. Or just be your own boss I guess.
Keep your db outside the cluster. Use a managed db or just host it on its own server. You should be doing that even if not using k8s anyway. Don’t share memory and cpu with your db.

Regarding storage, try to build stateless apps that only need temporary storage that don’t need to outlive a request (like uploads). For long lived unchanging assets, you can try including in the container (ie. defaults.json, countries.json, samples.json, etc). For assets that need to be fresh, try to have the app generate at startup (eg. Email vírus definitions) or via init container. I think this will cover most use cases.

This won’t work with apps that depend on shared storage like Wordpress, but Wordpress is horrible and I can’t support you running it :-)
> what a good IP attorney would recommend.

I think we could find a more useful word than "good". How about "useful"?
If you've never seen one, an open office looks like a lan party. A really really busy and cramped one.
They ruined slack... looks like teams now
It basically always required all those things. For a brief period they were doing a trial with frequent fliers, but it was always the exception and never the norm.

But uh, make no mistake, they were only putting you into Pre because they had all the data you are being asked to provide already. The application is like your tax returns - the goal is to see if you provide what they already know, not to surprise them with something new.
Intel makes microchips, but they do not control how much memory I put in them. There are no 256 GB GPUs available today outside of multi-GPU setups. Would love to see giant NUMA GPU boards.
For all the technological progress we have made, it appears data collection about our own health is stuck in last century.

I wish, measuring all the health parameters would have been dirt cheap and simple. Why do I even need a doctor's certificate to get my blood tested at Labcorp ? It is really all beyond me.
Many decision trees I've seen when NoSQL purpose-built were becoming popular are obsolete now that the main SQL databases have structures, APIs and optimisations for non-relational models: JSONB, Text Search, Timeseries, Documents... Today, the differentiator on architecture goals: converged database vs. multiple services
Protobufs Explained, and Why Google, Apple, and LinkedIn Use It over JSON
>Faster than JSON, clearer than XML, cross-language, type-safe, and backwards compatible.
Elephant in the room is missing as the author must know.

Sci-Hub is sparse for recent articles in certain notorious high profile journals. Authors are getting better about coughing funds to pay for open access at publication.

Yes, asking for reprint is still highly effective.
My comment wasn't saying that HR wasn't important or that their job was easy, it's saying that it doesn't require skills which are hard to acquire in the labor market. If we use credentials as a corollary for skills (which, ironically, is understating my case), then there are a vastly higher number of available persons in the labor market with the necessary credentials/skills to be in an HR role than to be in a technical knowledge worker role like software development, operations, or even product management.

The pay differential between these roles is mainly a factor of supply and demand, not necessarily due to the relative difficulty of actually doing the jobs. Most jobs which are "social" rather than "technical" are actually harder in some way, but they have as massively lower barrier of entry from a credentials/skills perspective so tend to be significantly lower paid than "technical" jobs.

Digging ditches is a lot harder than writing code all day in an air-conditioned office, yet ditch diggers who aren't credentialed machine operators get paid significantly less than software developers because the only qualification barrier to be a ditch digger is to not be physically disabled or unalive, if you can fog a mirror and walk from the truck to the hole to be dug and operate a hand shovel, you can dig a ditch.

Supply/demand doesn't care how difficult your job is, it only cares how many people are capable of doing it compared to the number of people needed to perform it. In a very dollars and cents sort of way, the time of a technically skilled person is more valuable than the time of an HR person, which is why it's very rich that they think you're wasting /their/ time, rather than the other way around in these situations. The candidate's time is actually more valuable in demand dollars than the HR person's time, especially recruiters which are one of the lowest barrier roles you can have in HR.
There's really no reason to take the car for a 15 minute (1 mile walk there, 1 mile back).

There's ways to introduce exercise even if you have to drive.

At the grocery store, I see drivers drop people right at the entrance. How about go to the furthest parking spot and walk 5 mins.

Take steps wherever you see them, usually near escalator or elevator.

Take a train to work? Get off a stop before and walk to the next station. Do it in reverse on the way home.

Lots of opportunity to be creative.
In the US, non-misdelivered items are considered a gift; there are no actionable courses for recovery — other than being polite — to get the item back. Misdelivered items must be surrendered, on request, or you can fall awry if a laundry list of theft/mispossesion crimes.
It does, thanks! <3
They are not even merely similar, they are identical.

They are both someone else controlling some part of your property, to control your use of the rest of your property.

Neither is benign or honest. Neither actually does what the sales pitch claims. The sales pitch is a Sales Pitch. It is what you say when you need to convince someone to do something they normally would not want. Anyone can make up a good sounding sales pitch for anything. Quoting the good sounding sales pitch does not show that the thing is good. It just makes one wonder about the speaker.

TPM is not merely "safe secret storage", it's someone else's secret used for someone else's purposes, and one of those purposes is absolutely to "attest" that WEI is valid on this machine at this time.

I can only assume that you know all of this perfectly well and can only guess at possible reasons why anyone who knows what these things do would try to sell the bs cover story that TPM is just another bit of neutral useful handy tech that users can use like a special kind of thumb drive, without mentioning anything about Microsoft and the reality of most actual manufactured devices, and what it actually means even on a machine where it's "disabled".
Well, Imagus also exists for Сhrome. And I do publish hoverzoom+ for Firefox and Edge as well.
Isn't this the system working as designed? If you want your thing to be protected, you've got to keep improving and refining it. When your 20-year old product is competitive with today's product, you lose your patent protection.

As a competitor, you can also try taking the 20-year old product and refining it differently, too. Or if you're aggressive, you can build and refine current competitive products and patent the refinements, but you can't sell the product without a license, so might not be great (otoh, you might trade licensing the refinement for licensing the base product)
This is the American version of capitalism working as intended.
I think the joke is that his parents are not celebrities, and so they don't need to specify that they don't sign autographs
> simply because I feel more comfortable and relaxed at home

this core preference in environment and vibe is the main difference between the 2 camps. I was desperate to be in an office where there was a buzz of high energy and a go, go, go environment like skydivers jumping out of a plane. Would still prefer a private office though so get deep focus when necessary.

Not sure if its nature or nurture, since I grew up doing team sports year round.
How the American middle class has changed in the past five decades (2022)
I have a follow-up question: what kind of race is "western European"? Is skin tone not enough?

I don't have a gene test on hand to confirm, but I'm pretty sure my heritage is all over the place.
The evidence against biden is overwhelming at this point and the main stream media barely mentions it. I don’t get it. It appears he’s the most corrupt president in history.
The bug report shows a Mali GPU, which rules out Snapdragon (Adreno GPU). Also, the phone model when googled shows the S20 FE, which has Exynos.
was just thinking about the same thing but they didn't catch me!
There's a lot of structure-specific details. Happy to DM if you want, I enjoy the topic.
Funny. Ableton is one of my favourite UIs of all time, both aesthetically and practically.
Just to clarify something: Zulip decorates streams with icons hinting the size of the audience for the stream, which can be helpful for considering the level of care that you might want to use in writing your messages.

In particular, Zulip uses hash icons for public streams open to all members of the organization, lock icons for private streams, and globe icons for web-public streams (https://zulip.com/help/public-access-option). So if you're seeing only globe icons, it's because you're in an organization where you only have access to web-public streams.

See https://zulip.com/help/stream-permissions for more details.
Will also throw in react-admin there. React-admin is not the same space per se (it's basically a react framework, not a low/no code tool), but if I built an internal admin app in react-admin, what would you say the pros/cons are to moving to Refine?
probably tank bombs, but could just be tossing radioactive trash at the fight.

that would fit with dirtybomb propaghanda, they have however lost a lot of tanks.
I guess what would be nice is a diff of new and old.
% US Teens with Major Depression [PNG]
Ask HN: Has anyone tried recursive summarization of documents using LLMs
I'm dissatisfied with how semantic search currently seems to be implemented (statements -> embeddings -> KNN/ANN). Was thinking about attempting to try a different approach involving recursive summarization using a task fine tuned LLM. I wonder if anyone's tried this before, and if so what were the problems with it (aside from the obvious problem of hallucinations). Apologies in advance if this has been discussed before.
I'd argue this is essentially evidence that their hiring process worked in this case. I mean, a company that so vehemently believes that your HS story is so fundamental to how you'll perform as an employee manage to successfully put in enough of that in the hiring pipeline to prevent you (sane person) from going through with it and therefore not wasting either of your times!
Any kind of food can be harmful when eaten in excess, even when it is required for surviving, but in smaller quantities.

Oils with high content of linoleic acid (omega-6), like cold-pressed sunflower oil (which is also very rich in vitamin E) are very healthy in smaller quantities, e.g. 15 to 20 milliliter per day, but they can become harmful in too large quantities, e.g. more than 50 milliliter per day.

For instance, a combination of 50 milliliter per day of EV olive oil with 20 milliliter per day of cold-pressed sunflower oil gives a fatty acid profile that is close to optimal, according to the current knowledge.

Eating only olive oil would require a much greater quantity of oil for providing enough linoleic acid and vitamin E, which would provide too many calories for a sedentary lifestyle.

Eating only sunflower oil in an amount enough to provide an adequate fraction of the daily calories would provide too much linoleic acid.

So only a mixture can satisfy all criteria.

With saturated fats, the effects are similar, in smaller quantities they are healthy, but in large quantities they can be harmful. Olive oil, avocado oil and various kinds of nuts, e.g. almonds, hazelnuts, cashew, pistachio and a few others have a good balance between oleic acid and saturated fats.
pope's out to lunch as usual. maybe he's afraid of the "new AI religions".
ProMED listserv in danger of being shutdown
Stable Diffusion v1.4 ported to Rust's burn framework
That's all fair, though there is one clear advantage that commuting has (via certain modes of transport) and that is exercise.

I say this as someone that loves working from home, but before I did so I would get thousands of steps in every day running towards the tube in London and around all the platforms. Dunno, maybe the positive health benefits of the steps are outweighed by how polluted the air in London (and likely even more so the tube) is.

But getting less steps in every day due to WFH is a real problem.
Well, personally, I've been running it for years and it's never had as much as a hiccup, but YMMV.
Tokens are also numbers in practice, but they're indexes into a lookup table of character sequences so yes there's very little between the two definitions. Embeddings are in turn the result of looking up that index in a table, and the result is a vector. So:

character sequence (string) -> token (small integer) -> embedding (vector of floats)
Apparently some sellers keep their stuff on amazon shelves. Amazon will sometimes charge a stocking fee or a fee to send the stuff back if your business goes belly up. So the sellers will just pick a victim and dump their whole inventory on them because it is cheaper to ship them out than to continue to keep them stocked at amazon. But that may be wrong so someone with better insight could correct me if I have this wrong. This could be a side effect of the way Amazon works with 3rd party.
https://archive.ph/OtZBp
Easier Recursion in Elixir (2023)
> interviewed me while having dinner (on his end)

Wtf? Couldn’t he have done that at a more convenient time?
My brother, who is literally an average Joe, got a system from Dell with Ubuntu installed and supported, and hasn't bitched about it in years.

Best of my memory. Why? Because he doesn't even talk about it.
And isn't that the goal?
I think the interview process is tricky for people that like to dig into technical details as a lot of companies just want to hear adulation from the candidate towards the company, under the guise of excitement for the company mission. or whatever.
I would think so. If someone is shouting & stomping their feet in the public town square about my project, but I never go anywhere near the town square anyway, I don’t think I’m going to shutdown my project. It’s just too bad the person who created this tool happened to walk through the town square.
Age of Coordination
I don’t think people working from random coworking spaces solves the problems the execs imagine working from one office does
Class is not salary or wealth it is position in the hierarchy of the means of production.
This reminds me of an SO user that was eventually banned because he (or possibly she, we will never know) had a hobby of writing fairly detailed questions that looked totally innocent on the surface but got strange once you started digging into them. Those that suffered through would eventually realize the whole thing was masterfully crafted to waste your time. There was once an excellent collection of these but I can't find it now and wish for the life of me I could.
Nominal numbers aren't very meaningful. This number is affected by inflation just like prices. Household debt relative to GDP has been dropping pretty consistently since the financial crisis:

https://fred.stlouisfed.org/graph/?g=17HqN
This is so often overlooked and it's true. I've done well enough in my career that I've learned to be very cautious about how much I let others know about my standard of living. I've had experiences in the past where someone who either is or feels like they should be doing better than I am based on what little they know about me becomes indignant and acts like the natural order of things has been upended.
This is really cool! Shared with a few friends!

It might be interesting to plug GPT-3 in and use embeddings for each clause. For example, for each website where a user has agreed already to their ToS, you could use embeddings to see which ones are similar.

Wondering if there's a chance we could chat more if you're keen! I'm on twitter @gabrielchuan

PS: I'm working on something tangentially related at https://url2format.com. It's a WIP (for now free) service that allows people to do various things with any public url such as checking metatags, generating a markdown of a url, etc. I think there's lots of interesting spaces to explore around these
Hi Lexi, pretty cool project you finished there! Congrats!

I was a little confused about how you only talked about the sources on the internet are kinda poor. But I didn't see any comments about books for research...

Did you use any? Can you recommend some on this topic?
i have to be totally honest that I understand about 5% of this post

nonetheless, I will offer my obviously uninformed opinion on the topic (hey, it's hacker news):

a big problem w/ static languages is that the developers of these languages are not willing to compromise type-safety for simplicity: there are very few 80/20 type systems out there that just say "Well, that's too hard to deal w/ you can bail out to unsafe code" when the implementation gets too crazy.

My experience here is with going through the java generics cluster and helping write a statically typed scripting language that integrates w/ it effectively.

As a positive example of what I'm talking about with respect to an 80/20 type system, consider a type system that supported covariant generics + function types that were contravariant wrt their argument types and covariant wrt their return types.

This, I believe, would capture most of the correctness value of types and certainly provide good infrastructure for code completion and tooling, and it would be very simple to implement. It would not, however, be sound, and, thus, would be laughed out of any serious statically typed language discussions.
I suspect the oversight is intentional. The other methods are uncontroversial. The mention of the OA button is a nod to it, without going into the arguments over Sci-Hub's legality.
"These things are also contaminated" is shoddy argumentative reasoning at best, it is not the "got ya" that you think it is . I never claimed that there aren't contaminants in food, and I don't see how it defeats my claim that dietary supplements are unsafe -- the FDA is more stringent in regulation and testing with respect to food, as opposed to dietary supplements, because, you know, we need to eat to survive.

Please take a second to read my comment here, before responding: https://news.ycombinator.com/item?id=36930128