skysight-inc/HackerNews huggingface dataset:
Indexed?

If complex, what does Sqlalchemy output as the SQL? Could you optimise the query? If quite complex, optimise the tables by redesigning them?

Was the move to allow Redis to cache persistently across requests? Does it do this?

Are you timing each function to look for slowness?
Precision makes no sense for a pan and is something a person who doesn't actually cook would care about. Your pans change temperature when cold food is put into them. Anyone who cooks knows that you are changing the temperature on your cooking surface constantly in many applications and it's based on the visual and audio queues your food give you. At no point have I thought "OK, I need to be at 400 degrees and in 1 minute I will adjust down to 300 degrees.". I don't care about precision like I would when doing sous-vide cooking or baking, for example - both of which are great uses for electric fuel sources.

The problem with induction is the thing it's good at (heating water quickly) isn't a useful feature. A gas flame is a 3D cooking surface and this is important as I want heat applied to the sides of pans in many instances. Also, copper and aluminium cookware don't work on them and they are superior materials for cooking with in many instances.
If you depend on sales to consumers, then that 80% inflation might have a very negative impact on those sales to consumers so that 10% interest is unobtainable.
> During Bolsonaro's mandate, there was an attempt to add an auditable paper trail to the voting machines.

The proposal (to vote on the machine and deposit a printout in a bag) would risk the secrecy of the vote. It was, therefore, considered unconstitutional. And rightfully so.

There was a vote printer that could be attached to the 2002 machine. I worked on it. It was unreliable and the different operations flow was confusing. It was deemed impractical (because a mechanical failure could cause the whole ballot to be discarded, and mechanical failures aren't that difficult to provoke).

And nothing justifies the violence. They should accept the election results like responsible adults do and, if not, use the legal path to question it.
TBH, the vast (VAST!) majority of services where I've filled out a form online don't actually need to know my gender for anything useful related to their service. I just assume every place that asks for it is selling the data someplace, or using it for their shitty recommendations engine.
It definitely makes them seem hiring and short-sighted in retrospect for overhiring during the bubble. Shouldn’t corporate leadership be as aware that the Fed injected an insane amount of money as the layman, that it was unsustainable? What happened to following Buffet’s dictum about being fearful when others are greedy?
They got caught in the hype and lost a lot of money.

Apple has many times. I don’t know why this is suddenly a conspiracy that some mega cap tech firms used cheap debt to buy back their stock. It’s not. It’s actually the primary way that these companies hid dilution from investors due to employee stock comp.
We got cynical about college also because the costs spiraled way faster than incomes or prices for other things were rising. Colleges never lay people off, they keep expanding their administrative bureaucracy, all funded by growing student enrollment and easy student loans.

Student enrollment is going to start falling (demographics as well as more people questioning the value) and colleges are going to be in for a world of hurt because they don't know how to tighten their belts.
Using Response Codes: REST vs. GraphQL
It feels like people are fairly confused about the numbers and some are saying, its easier in GraphQL. What a lot of people misunderstand about the 200 jokes about GraphQL is, 200 OK with a Graph QL API means, the server was able to process your request without exploding.

With GraphQL you have interfaces and you have union types where you can be very explicit about what kind of response you give to the user. So basiaclly, you don)t really have to worry about codes.

However, the problem is people missunderstanding in which situations you build a GrapHQL and in which REST API.

There’s one very important distinction we have to make between REST and GraphQL.
With REST it always the case that the producer of the API can make intent very clear.
With GraphQL you actually need to understand the API you want to access. So you’ll have to go to GitHub docs and you want to understand how to get information, you look that up in the docs, and it gives you exactly the endpoint you want to interact with. And with GraphQL you get 10MB of GraphQL schema and now you have to figure out how to formulate your query.

So, from my point of view GraphQL is a lot easier when you produce the API for yourself, whereas with REST you can make intent to 3rd parties much more clear because you have clear entry points, you have URLs with a specific intent and with GraphQL you have one endpoint and then you have a query and they have 50 different fields and you might be a bit overwhelmed and you don’t exactly know where to start.

So if your API is going to get consumers, REST is a better option.

In GraphQL if you’re doing errors as data, you have to figure out how to relay that problem scenario to the client and that is always going to be a unique, snowflake situation. You are going to have to come up with your own error codes that you agree with them.

But that doesn’t work for generic monitoring tools, that doesn’t work for lots of other things.

I really like in REST that I can use status codes as a category of error.

Which will let caching tools know not to recache it, will let monitoring tools know that there was some sort of problem, will let people know if they should retry or not. Those categories of error should be fairly understood.

And then within the message, you can use something like RFC 787 or JSON API errors with really standard error formats where you go just as specific with what went wrong. Dynamic information, various different variables and arguments and messages that are written in English or you can even have them translated.

You can do both in REST and I feel like that gets ignored from the conversation and people just talk about 400 and 409, 406 and get confused about the numbers.
This paper is quite interesting to frame some of the announcements of the architecture of Intel's recent Sapphire Rapids launch. Intel has moved strongly into accelerators, HBM, and improving interconnects. This has the result of shrinking a whole system to a CPU, but also allowing scaling of many CPUs together.
Happiness is similar to the word "freedom" , in that it can mean anything to anyone (with freedom used in equal measure by rebels, despots and used car salesmen). Words like these are more used for emotional aesthetics rather than a descriptive expression. These words are so persistent in our culture because they essentially have no meaning. It doesn't matter how the article or "happiness experts" define happiness because their definitions are circumstantial and irrelevant. The meaningless of the word "happiness" remains intact. It's closer to a secular faith than an actual phenomenon. Yes you might've felt happy but a persistent state of "happiness" is more a sign of a manic episode than an actual reality you can buy for yourself or hire someone (like the ridiculous people in the article) to achieve.
I had a similar experience at a startup where I'd never used any PTO endlessly burning at both ends.

A few years in, executives abruptly told everyone they were switching to "unlimited PTO" and everyone's accrued PTO would be erased "since it's no longer necessary, take as much vacation as you want."

Sales/marketing depts celebrated.

My team in engineering flipped out since none of us had ever used any PTO, and knew there were some sizable checks waiting for our exit. I ended up telling leadership if they pull this erasing shit, which is probably illegal, I quit immediately and will be in tomorrow to interview and renegotiate compensation if they like. Everyone received checks for their unused PTO that week.

They still switched to unlimited PTO, which us in engineering never really got to use. In a startup it's a race against the runway running out while you're still building the plane, nobody has time for PTO, and they knew this.
The recommended thunderbolt cable has no such selection.
If GPT-2 / nanoGPT needs this setup, just imagine what GPT3 / chatGPT needs!
The good news is that, unlike vehicles, the rate for rented compute will continue to drop
You nicely comment on an important point.

To non-psychiatrists depression is a synonym for sadness.

To a psychiatrist depression is more about the functional impairment (social occupational effects).

How sad you are is only a tiny part of how clinically "depressed" you are!

Check out how depression is graded in research and clinical practice.

* https://www.mdcalc.com/calc/10043/hamilton-depression-rating...

* https://www.mdcalc.com/calc/4058/montgomery-asberg-depressio...

* https://www.mdcalc.com/calc/1725/phq9-patient-health-questio... (sadness isn't even the first question for the PHQ9!)

You could have a wildly effective antidepressants that doesn't make you happy, or you could be crushingly sad and not depressed (subclinical depression).[0]

[0] https://pubmed.ncbi.nlm.nih.gov/18688776/
He fails to note that a pair of underscores appearing anywhere in a name is reserved, not just in leading position.

Also, a leading underscore followed by a capital letter, or other reserved name, is absolutely allowed in implementation headers -- even in non-standard headers. It is bad practice only because somebody else's compiler (e.g. Clang) might be obliged to read those headers someday, and have invented its own meaning for it.
I remember reading an article about 10 years ago how do it right. I don't know if it is still up to date. But they suggested: Man, Woman, Other, "Do not want to specify".

There might be some exceptions, like an airline won't accept a non-binary gender because of safety (weight distribution estimation). For a dating site it might make sense to allow anything.
swe is everything from the intern coming back for his first real job through the vp of engineering
> Other questions we asked—like “is happiness a choice?”—sparked disagreement.

So called experts.
The funny thing is that I can sort of see how some of these end up happening.

Dr (male) and Dr (female) as separate titles makes sense for example, for i18n reasons, since some languages like Spanish will require the info - even a simple 'welcome!' would have to choose bienvenido/bienvenida depending on gender.
A member of the USA intelligentsia.
(this was a joke i.e. glaciers are frozen, Fortran is cool)
"Cargo cult" data collection.
I have twice lost a fridge full of food due to spurious GFCI trips, once when I was a recent graduate and it was a painful experience financially.

I now make sure my fridge/freezer is NOT on a GFCI. I'll take my chances of getting a 120VAC shock from my fridge [which is attention-getting, but very unlikely to be injurious].
Thank you so much for this! It is so impressive and I'm sure it took a lot of hard work!

Is it able to re-write articles? And where could I find a guide on how to train it?
1. diverse - This is likely German and standard on German gender selectors, it refers to anybody who identifies as neither male nor female.

2. Mrs Prof Dr. - Again this is likely German, and is not a gender selector, rather a title selector. It is standard in Germany to use both Prof and Dr titles, the Mrs then implies female. You wouldn't use it conversationally.
i'm not saying it's impossible to model an infinite board using software (that's quite possible). i'm saying that if it's possible to soft-drop a block to an arbitrary row, then the model of infinity is faulty and inconsistent. and, unfortunately, both the infinite board and the soft-drop are required fundamental underpinnings of the proposed mechanism for computation.
Would also like to see block mounting of ISOs by default.
I get asked for my gender often in online forms. What is it ultimately used for? Even for my employment why does my employer care what gender I am or my sexual orientation? Personally I think there is an over emphasis on gender and sexual orientation. I don't care about your gender or sexual orientation unless I want to have a sexual relationship with you.
Please read again.
Are you trying to say that the risk to lose electricity is bigger than the risk to lose the other heat sources? Wouldn't houses at risk have some sort of contingency measures in place such as insulated pipes, alternative heat sources,..?
You took the words right out of my mouth. Anarcho-primitivist and eco-fascist discourse are surprisingly similar despite their diametrically opposed motivations.
Google showed no ads for the first several years of it being around. It was still better than everything else at the time for most common use cases.

You trying to say 1997 altavista was better than what google is today? I'm not a fan of google, but that's still a hard strech to make. "by many metrics" = what metrics?
"XBB.1.5—unofficially nicknamed “Kraken” by some scientists online—is an Omicron subvariant that has caught the attention of virologists in recent weeks because of its significant advantage in how fast it spreads... but vaccines are still likely to protect against severe disease."
(Greater Good) (Science Center) or (Greater) (Good Science Center)

My first reading is actually the later. It sounds to me like a science center that was amalgamated or expended into a "greater" version.
An AI wingman to build your web app
Hancock is clever in that he works around a core idea that’s genuinely plausible and effectively impossible to disprove[1]

he takes the idea, and wraps it up in dramatic, grandiose language with an us-vs-the-establishment twang, adds a few extremely tenuous pieces of evidence, and sells it to the public

lots (most?) of these pieces of “evidence” are just geological/archaeological monuments conveniently located in exotic holiday destinations that he can get people to pay him to go and "study" - i.e. stand in front of and make ostentatiously-phrased claims, while presumably making diligent use of the 5-star resorts in the area

it’s a clever con, with little to no real harm, and I applaud him for it. Robert Schoch has taken a similar route, presumably realising that there's a lot more money in his PhD from broaching these ideas with the public than there is in analysing rocks

[1] - this being the idea that civilisation goes back [a lot] further than our current understanding suggests
The correlation with CO2 output is very very good.

The Berkely earth group went in with basically exactly the same question, did everything from scratch and broadly replicated the IPCC curves
(Haiku developer here.) This is actually a very common misconception that Haiku is not a UNIX, and it's sad to see The Register get it wrong.

It's debatable whether or not BeOS was a UNIX, but I think by most standards it is: the `fork()`-based process model, UNIX-style file descriptors (but no `mmap`), etc.

Haiku has all the bits BeOS had, of course, but we have far extended our POSIX compliance: of course we have mmap, but also pthreads, and /dev/ (including all the staples, like /dev/null, etc.) These aren't mere compatibility wrappers, but often the "native" APIs; some of the Be APIs are implemented on Haiku using them (while others use lower-level APIs.) There is no "POSIX compatibility layer" in the kernel, it's just natively POSIX all the way down.
Based on how you use that data imo, otherwise give it a textbox, or a drawing canvas
The EU’s system of geographical indications is taking over the planet. (2017)
Any state of the art model takes about three weeks to train.
High performing employees are not always fungible. You risk are losing significant expertise and institutional knowledge.
please don't flamebait
I've never used TypeScript to talk to a database but there might be tooling to generate classes from tables. Even if there isn't, manually keeping some TypeScript classes in sync might still be worth the effort, for being able to manage schema migrations easily elsewhere.
And even if you're touching that part of the system, you can usually replace like-for-like without bringing it all up to current code, even if the current condition is non-compliant, you can generally put it back to the same level of non-compliance, even if it's with entirely new parts. (I'm not arguing that that's a good idea to elect as a property owner, but rather that NEC does not require "you touch it, you have to fully modernize it". This will likely invite an argument with the AHJ's inspector, if the work is subject to inspection.)
Heavily low paying jobs, yes
Many things have "reporting requirements" where, for example, your employer is required to report your gender and race to the government to determine how sexist and racist they are.

I suspect it's very rarely actually important, it's just on the list of things they always have asked for and always will.
For marketing, it should have whatever the marketing/dataminers want to know about your purchasing preferences.

Male, female. Then "Don't specify". If you're datamining or have specific products for specific nonbinary consumers, add that.

For science and health, be as specific as required or ask for biological sex and demand "male" or "female" as appropriate.

(IMO).
Cool! Most of the houses in areas of the US where pipes freeze are quite old, many have effectively no insulation (the one I currently rent has no insulation at all). If heat goes out, it'll reach outside temperature within a day. People here in Buffalo recently died because a blizzard took out electricity, homes lost heat, and they froze (mostly when they tried to get to the "warming shelter" locations and were trapped, but trapped in a car without heat vs trapped in a house without heat is freezing all the same).
do you guys think gender and sex will ever stop being treated as synonyms? I don't think it is possible for people to stop conflating the two concepts if they are synonymous.
Or in any meaningful way.
Yes:

> The Consumer Product Safety Commission, which has a staff of roughly 500, plans to open public comment on hazards posed by gas stoves later this winter. Besides barring the manufacture or import of gas stoves, options include setting standards on emissions from the appliances, Trumka said
It is the case for most code that the original author is gone. However, there are likely to be other developers around that have encountered the code or maintained it in the past.

Rewriting and submitting code mainly because one does not understand the original version is usually not a good idea; understanding the original code should typically be a prerequisite to replacing it with other code. Otherwise, how would the developer know that the new code was better?
We do this manually along with a pydantic as a middleman between Django and TS. Works pretty well and is not a major inconvenience to keep things aligned.
> I don't care about your gender or sexual orientation unless I want to have a sexual relationship with you.

I feel the same way and have never been able to get a good answer for this one. "Statistics and hiring" is a very lame-duck answer. How does it help our product knowing that we have +1 more homonormative person?
> Generally (in the USA) if you touch something in your home, you need to bring it up to code. You touch a wall, well now you need to make sure that wall has a socket in it, for example.

Sorry, is there a requirement that every single wall should have a socket? ...that's what extension cords are for.
Depends. For instance in the case of the Lennard-Jones potential, which is basically the easiest but still good enough approximation of intermolecular interactions that we have, you have two fields between ~two molecules : one short-range repulsive, another long-range attractive. This results in a minimum potential at a distance r_min (see graph) that you can arguably think of as the "size" of the (spherical) molecule (at low temperatures, molecules will form "clumps" with that distance between them) :

https://en.wikipedia.org/wiki/Lennard-Jones_potential
That’s somewhat ironic because that’s basically what Be pivoted to shortly before their demise. AFAIK the Sony eVilla running BeIA was the last release from Be. They were about 15 years too early with the concept.
Honestly, the correct answer is that in the vast majority of cases, there was no good reason to ask any gender question in the first place. People should think about /why/ they're asking this. Even in the rare cases where there's a perceived need, it's likely a more-specific and functional question would be better. Dating sites are probably the biggest exception where I can imagine there's a legitimate need for putting a lot of thought into true gender+preferences questions.
This is hilarious. Really appreciate the examples of irrelevant clutter obscuring important information. Any UX designer can learn from this as an example of what not to do.
A pay cut is a constructive dismissal. You've already effectively been fired with an offer to rehire at another lower paying job. Thanks but no thanks.
Not sure if my favorite is the FeMan versus Male Man, or the Canadian Applicant one. I was worried this would be a flame war topic with political raging, but this is just universally hilarious. Well done to the creator(s).
You don't think there's a causal relationship between being unhappy and seeking therapy?

Also the goal of therapy is to get to a place where you can quit it, so it makes sense that once people are more content with their lives they wouldn't go anymore.
Clearly it's not simple, but superficially you wouldn't think it was that complex.

Think of the old "I could write twitter in a weekend" adage. Sure it seems simple at first glance, but once you get into it it's far more complex.

A layman would think "It's a plastic box with a couple of wires in, surely it can't cost more than $200" and take more than an hour".
I identify as `;DROP TABLE genders;` personally, or maybe `for admin use only, do not select`. good website, thanks for sharing
About 99% of gender dropdowns are there for marketing purposes and serve no other purpose. If it's for medical purpose, then your gender doesn't even matter, as the doctor at most needs to know what sexy bits you were born with and if you take any medication.
> To me the smoking gun was how suddenly in a brief period of time, every tech company CEO was making absolutely certain predictions about economic headwinds in 2023, up to 6 months before the end of 2022.

This has to have had a somewhat self-fulfilling prophecy effect. When you start predicting 'downturn' and your solution is "lay people off", then yes... economic activity will slow (from your former staff) and... that spreads around. It can't not be having some impact, and as more and more places do it, it compounds.