skysight-inc/HackerNews huggingface dataset:
In our current project with a TS frontend and Python backend, we use an OpenAPI schema as the source of truth and openapi-typescript-codegen [0] to interface with it on the client side. While not perfect, it provides a very nice interface to our API with request/response typings.

I also wrote a 10-line mock API wrapper that you can call as mockApi<SomeService["operationName"]>((request) => response), and it will type-check that your mock function implements the API correctly and return a function that looks exactly like the real API function.

[0]: https://github.com/ferdikoomen/openapi-typescript-codegen
Ready to take your analytical skills to the next level? Delve into the fascinating world of data analytics and uncover the hidden patterns that can revolutionize your decision-making process. Dive deep into the Data Analytics Course to master the art of extracting valuable knowledge from raw data, empowering you to make data-driven decisions with confidence.
that's because i have always only been concerned about active discrimination. and your statement is too generic to exclude that. let me repeat what i said:

innocent until proven guilty should apply to every interaction we have with any human being

as individuals we need to be careful to not allow prejudice to control our actions

if you see red flags you should evaluate them and make sure they are not just prejudice

you seem to be claiming that the right to free association should allow people to remain to be racist. no, it shouldn't.

i not twisting anything, especially not since this thread started with your criticism of my first statement, and this whole argument looks like you seemingly trying to use the right of free association to excuse people being racist.

what if a person was asking for help? but they couldn't because you turned away? can you see how an action that according to you is just your expression of free association turns into active discrimination?
Scaling merge-ort across GitHub – The GitHub Blog
First-class tuples would make this code kind of unpleasant:

func F() (A, B) { ... }
func G(a A, b B) { ... }
G(F())

Is the return value of F a tuple? Is the parameter list of G a tuple? Given H:

func H(ab (A, B)) { ... }

How and when is H(F()) different from G(F())?

(Before you suggest a Python-like star operator, personally I consider using it for non-homogenous arguments about as hygienic as keeping your toothbrush and dirty socks in the same drawer.)
This is awesome and the right level of cursed!

Reminds me of PythonMonkey, which provides really high level bindings to SpiderMonkey in Python. It ships as both a pip package and a standalone js runtime, the latter of which is very similar to this project!

https://github.com/Distributive-Network/PythonMonkey#pythonm...
Why writing became an online contagion and how we can contain it
The fact that it requires discipline and is “difficult” is also, in part, what makes it so beneficial.
Nature tends toward heterogeneity of physical channels for signalling, as opposed to engineered systems which normally dedicate one channel (electricity) at a time for all signals (and when they accidentally do not we call it a "side-channel").

The heterogeneity provides noise resistance from the environment and a physical priority/filter system for signals necessary for an organism's survival.

These physical channels provide upper bounds for the richness, latency and diffusion of the information; they also incur different costs for maintenance and usage. In turn, evolutionary selection of organisms will yield signalling channels for pain, navigation and other signals necessary for survival within a short time-frame towards fast channels like an electric charge emitted and relayed / filtered by neurons (cells appear to also be affected by charge distributions throughout bodies of certain organisms, which affects limb / organ regeneration; but that's not a charge signified by rapid state changes as one would find in a neuron). Faster responses are made-up for by predictive / reflexive circuits. Slower signals tend to be chemical or mechanical in nature. Chemical messengers diffuse throughout the body better because they can travel with the bloodstream, and trigger all sorts of metabolic machinery for energy availability in /anticipation/ of danger (in exchange for internal damage and reduced immune response).

There are also a multitude of non neural cells that support neural cells in the brain, structurally and by providing resources. Neurons move about a lot, so there is certainly a lot of mechanical activity which might create a small amount of sound in some localized area of brain matter. If that is the case, and if that sound can be isolated as a signal event which in turn becomes useful for constructing neural circuitry, then yeah I would not be surprised if there was an acoustic communication channel as well.

mRNA has been suspected as an information channel between neurons for a while, I think.

The principle is that life is information's way of folding itself into the appropriate substrates. The "appropriate substrates" are physical mediums that survive the environment longer and better than lesser appropriate substrates.
> I find it terrifyingly fascinating how the US has managed to turn Snowden into a pariah

Just normal Stalinist propaganda (made by the CIA) at work.

The idea, just like in the case of Assange, was to turn the people away from their revelations and in turn, to turn people against Snowden by painting him as a vilain.
The radio show On Point had an episode the other day about the budget cuts and other challenges rural U.S. colleges are facing: https://www.wbur.org/onpoint/2023/08/10/what-a-decline-in-ru...
No, I will not give my email address to Oracle.

I doubt they will opt me out of anything, and most certainly will opt me in to a million other things. And likely log a preference to my dossier that I’m an OpterOuter.
No. There hasn’t been book banning at schools. So far all that has been removed is non age appropriate books. I.e not allowing super explicit borderline porno books in schools. Books that are totally fine for an adult but not for a child.
I'm a big fan of tRPC. It's amazing how it pushed TypeScript only stacks to the limit in terms of DX. Additionally, it made the GraphQL community aware of the limitations and tradeoffs of the Query language. At the same time, I think tRPC went through a really fast hype cycle and it doesn't look like we're seeing a massive move away from REST and GraphQL to RPC. That said, we see a lot of interest in RPC these days as we've adopted some ideas from tRPC and the old NextJS. In our BFF framework (https://wundergraph.com/) we've combined file based routing with RPC. In addition to tRPC, we're automatically generating a JSON Schema for each operation and an OpenAPI spec for the whole set of operations. People quite like this approach because you can easily share a set of RPC endpoints as an OpenAPI spec or postman collection. In addition, there are no discussions around HTTP verbs and such, there's only really queries, mutations and subscriptions. I'm curious what other people's experiences are with GraphQL, REST and RPC style APIs? What are you using these days and how many people/teams are involved/using your apis?
Not sure I follow the logic.
The organization name "denosaurs" very roughly works for a combination of deno and python too: snakes fall into the clade of Lepidosaurs. Dinos are Archosaurs.

I wonder if there's another programming language featuring a reptile. What's this "Lizard" language Duckduckgo's telling me about?
Thank you! I thought it must be an OCR goof, but couldn't figure out what the actual words should be.
https://archive.is/4YSyA

Where to Find a $4-an-Hour Math Tutor with a PhD? Overseas.

Previous Discussions on HN: (5-comments - 2023-08-10) : https://news.ycombinator.com/item?id=37082806
You ever see that old black and white picture of folks on the NY subway in the 1940s, all reading their own newspaper?

Forcing conversation on random people you happen to be sharing a space with has always been psychopath behavior.
React Server Components. Sorry, I edited the comment above.
The way I solve this is having a custom realtime distributed db and being very careful with writes.

Reads can scale to infinity.

http://root.rupy.se
I don't get it. Whats wrong over there?
Multiple high severity vulnerabilities in CODESYS V3 SDK
I don't know about Vietnam and Cuba, but what evidence is there that China is ruled by the working class?
People swallow the cost because it is easier than migrating. My partner has made a lot of albums, tagging in google photos extensively. When her account reaches the free limit, I offered her to use google takeout and host her pictures in a local nextcloud instance but told her I didn't had immediate time to dig out if getting back tags and albums from google tameout's metadata was possible and she just grabbed her card details and subscribed to the drive expansion.

Gamers are an exception, but gaming is a niche market. Most people using computers are using laptops with integrated intel gpu and never install any game.
It was not just “common sense”. I was reading in-depth articles about the GoF line of research and all the characters involved (Ralph Baric, Shi Zhengli, etc) back in March/April 2020. Basically the entire body of circumstantial evidence pointing to the lab leak hypothesis was known and reported within months of the start of the pandemic. Every in-depth article written since then has been mostly a rehashing of what various bloggers and alternative news sites had already published.
> But the US isn’t invading a country to wipe it off the planet nor is it committing genocide to an ethnic minority within its own borders

Cough... Corea, Vietnam, Irak, Afganistan, Libya, Syria, Native americans.
Do we know why? I've never been there, but Charleston looks like a cosy city and there's lots of classic small american towns around and the nature looks amazing. Have they just not been able to develop any new industry after coal mining collapsed?
You're wrong about that. Back up with green hydrogen is quite plausible. Europe has enormous salt formations in which cavities can be solution mined for gas storage (this is one of the chief ways natural gas is stored). Storing hydrogen, the cost of these caverns per unit of storage capacity in these would be about $1/kWh. The total potential capacity there is in the petawatt hours, far more than would be needed.

A combined cycle power plant costs about $1/W of capacity (and for rare events, simple cycle would be even cheaper), so one could back up the entire grid with these at a small capital cost compared to powering the grid with nuclear. For Europe, these would also be useful for seasonal leveling, allowing solar to provide a larger fraction of Europe's energy demand.

Hydrogen is an example of "Power to X" (PtX), where excess power, when available, is used to make some very storable commodity. This review article talks about how important these are to reaching 100% RE.

https://ieeexplore.ieee.org/document/9837910

"With every iteration in the research and with every technological breakthrough in these areas, 100% RE systems become increasingly viable. Even former critics must admit that adding e-fuels through PtX makes 100% RE possible at costs similar to fossil fuels."
Of course they did. Dash/dart was obviously dead about three months into it’s existence. Google cancelled their plans to replace JavaScript after nobody expressed interest and Dash/dart will never be more than a curiosity.
Git's lack of centralization, i.e. a "source of truth" repo at the tool level is it's most imaginary, impractical benefit. Times where I've had to skip over origin and push to someone directly are few. Those occasions are far outweighed by a dozen annoyances that consistently come up with having to tell git "no trust me, origin is the remote I care about". Sure, you can fix it with aliases, but it's still misaligned of how most people work. I don't see the Linux kernel benefiting from it much, either.
Kazakhstan: A road trip through the nation's immense landscapes
I only invest in company-sponsored tech after the market share grows to a ver significant number. A lot of what is sold as "the future of X" is just marketing. Flutter and Dart in particular failed to thrive, as many of these technologies do, and are evolutionary dead ends (despite the remaining die-hard users).
Except that’s an en-dash, not an em-dash. So it’s still confusing even if you can distinguish the latter from a hyphen.

Though it’s only Android fonts that make hyphen the same length as the en-dash.
Porkbun has been excellent for a long time and over the years I moved all my domains to them. They also provide a lot of built-in functionality at no additional cost.

The only issue I have is that they moved their DNS offering to Cloudfare instead of running it themselves, which is understandable to some degree as running DNS for a large numbers of domains for "free" must've been a lot of work for them and I'm sure Cloudfare made them a great offer, but I fundamentally disagree with. It also caused a few domains from certain TLDs to stop working after the transition and I later had yet another issue with url https forwarding due to DNS verified SSL certs not being issued. I expect from my domain provider that included services are solid and that they never break any aspect of my domains that they're are responsible for.

Nonetheless, apart from this one incident their offerings and support have been outstanding and I would still recommend them.
Could you share what's the content/protocol of these requests? And what's the average payload size (for req and response each)?
It is very ironic that HTTP code 451 was originally added so it could be used to mark censorship (i.e., forced upon the publisher by legal means), but now it is almost exclusively used by sites that want to set cookies in a way that doesn't conform to GDPR, and so inhibiting access to information (i.e., chosen because of laws inconvenient to the publisher).
I would assume the problem comes up the next time his CV gets rejected for not having "Continuous Integration" on it.
Time is a limited resource. Choosing to invest in the right technologies at the right time is the important part of a career in tech.
Then scale up to forests.
Except experiments on its own people ? Or Agent Orange.

The fact that they write the history only hide their crimes.
Deno fixed the mess of JavaScript package management... But even NPM is light years ahead of Python. I have no idea why you'd want to inflict that on yourself once you've escaped it. I guess the only reason is there's some Python package that you have no option but to use.
I'm not surprised that such a degree is available and needed, but having it pop up in a list of programs of a random university is curious. Surely the need for such a degree is limited and those who would seek it out would be keen on obtaining it from an institution that isn't struggling.
Quantum Echoes: A Revolutionary Method to Store Information as Sound Waves
Most people aren't able to self-host and maintain a more reliable infra for various reasons: lack of knowledge, lack of free time, they don't necessarily have 2 different houses, lazyness, etc.
> I don't ever remember it being treated as a "crazy non scientific conspiracy

Consider that this treatment may have taken place in the editorial boards & newsrooms of the outlets you read before the debate ever had the opportunity to reach to your attention.

Perhaps epistemology is not just individual in scope, but societal.

Indeed, I also didn't remember it being treated in Jan-Oct 2020 as a 'crazy non-scientific conspiracy'. But we know today, (reference any journalist talking about origins on Twitter) that lab leak was being treated amongst themselves as a wild-eyed conspiracy theory
I am surprised there’s no postgres extension to solve this.
We use an internal validator library that we infer request types from. It’s similar to Zod (but also predates it by a year).

I’ve also spent some time on a Typescript type to X compiler. My first prototype is open source and targets Thrift, Proto3, Python, and JSON schema: https://github.com/justjake/ts-simple-type/tree/main/src/com...

I’m not happy with the design decision in that codebase to try to “simplify” Typescript types before compiling, and probably won’t continue that implementation, but we have a few internal code generators that consume TS types and output test data builders and model clases we use in production.

I want to open source some of those bits but haven’t found the time.
“A quantum electromechanical interface for long-lived phonons” (2023) https://www.nature.com/articles/s41567-023-02080-w :

> Abstract: In single crystals, the suppression of intrinsic loss channels at low temperatures leads to exceptionally long mechanical lifetimes. Quantum electrical control of such long-lived mechanical oscillators would enable the development of phononic memory elements, sensors and transducers. The integration of piezoelectric materials is one approach to introducing electrical control, but the challenges of combining heterogeneous materials lead to severely limited phonon lifetimes. Here we present a non-piezoelectric silicon electromechanical system capable of operating in the gigahertz frequency band. Relying on a driving scheme based on electrostatic fields and the kinetic inductance effect in disordered superconductors, we demonstrate a parametrically enhanced electromechanical coupling of g/2π = 1.1 MHz, sufficient to enter the strong-coupling regime with a cooperativity of C=1,200
. In our best devices, we measure mechanical quality factors approaching Q ≈ 107, measured at low-phonon numbers and millikelvin temperatures. Despite using strong electrostatic fields, we find the cavity mechanics system in the quantum ground state, verified by thermometry measurements. Simultaneously achieving ground-state operation, long mechanical lifetimes and strong coupling sets the stage for employing silicon electromechanical devices in hybrid quantum systems and as a tool for studying the origins of acoustic loss in the quantum regime.
Yes because I know Java (hypothetically I haven’t touched Java since two years after it was introduced) I can become an efficient Android developer “in a few days”.

Better yet, since I did Windows CE development for ruggedized devices using C# Compact framework back between 2007-2010, I should have no problem picking up iOS development “in a few days” and start being a productive member of a team right? Or better yet, leading a team?

Third thing, I know the fundamentals of web development including JavaScript, HTML and CSS. But I haven’t done anything on the front end since 2012. Are you going to hire me to help create your website when you’re looking for a modern web developer?

Learning a language is easy. Modern development requires knowing the toolchain framework, idiosyncrasies, foot guns, best practices, etc.

These days, I am only looking for jobs where I have some type of team lead/architect position. Are you going to hire me to lead a team working on a 10 year old complicated Java app when all of my “enterprise” experience is in the .Net ecosystem?

On another note: I haven’t randomly submitted my job to an ATS worrying about an “HR” screen since 2008 across 5 jobs. I’ve always either reached out to my network or had someone reach out to me.
Neil de Grasse Tyson’s academic output is exactly what you would expect from someone did a phd then left research science. He has a few first author papers that have a couple dozen citations and a few papers where he’s only a contributor. He hasn’t written academically since then. He’s not doing active research, which may mean he’s fallen behind on the cutting edge, but that doesn’t mean he’s not qualified to talk about astronomy with the public. He has the relevant training and knowledge.

Emil Kirkegaard, whose blog you linked to, is not a reliable or unbiased source for this kind of judgement for a wide variety of reasons.
I joined a new company in September, and most of my colleagues were fully remote. I have enough experience and was able to handle myself, but when I imagine this situation in my first year, I'm sure it would have been much harder.
I’m not sure why the author brought up used Apple TVs without even mentioning Mac minis.

The 2012 Mac mini has two 2.5” drive slots, replaceable RAM, a quad-core processor, low idle power consumption, it’s quiet, and you can upgrade it to the latest macOS with OpenCore Legacy patcher. The cost is around $100.

Chrome Remote Desktop and Jump Desktop are two good ways to access the GUI over the network, or of course you can use SSH or install Linux if you’d like.

It’s probably not the most cost/performance efficient option but if you have any need to run macOS it’s a good choice.
I’m not sure why sarcasm is needed. Go lost to Rust as the mainstream safe systems language, k8s is a meme for wasted engineering resources, obviously Dart/Dash failed in its intention to replace JavaScript (I don’t know what ‘Chrome APIs’ are).
> First-class tuples would make this code kind of unpleasant:

Which assumes this code matters much, outside of errors for which intermediate processors can just take... a tuple of a value and an error.

Also assumes the magical splatting of MRVs is a good thing in the first place.

> (Before you suggest a Python-like star operator, personally I consider using it for non-homogenous arguments about as hygienic as keeping your toothbrush and dirty socks in the same drawer.)

That is literally what Go currently does for MRVs, except opt-in instead of magical.

There is nothing about such splatting which wouldn't work with proper tuples, if anything it's the opposite. It is, essentially, the value side of `uncurry`.
I believe that flat earthers are the balancing force of that lack of science dissident. Science has become a 9-to-5 job for most and they now have the wrong incentives for that pure "pursuit of Truth".
> We're in the UK so just firing people without cause isn't an option

It seems to me that if they are working few seconds every 20 minutes, there should be drop in their actual productivity. If these people have half functioning managers, they should be able to figure that out.

Dismissing people for having almost no output is dismissing for a cause.
Actually, I work for one of the FAANGs. The vast majority of employees don't one to go back to the office either.

What makes it even worse is the one-size-fits-all mandate, with strict enforcement, like you didn't come in to the office Monday, so you have to come on Tuesday.
Much like Mr. Katz of the linguistics program I have bias because of the amount of time that I spent in the Linguistics department as well as the departments of multiple foreign languages in college. In addition to my linguistics major, I took classes in Chinese, Japanese, French, and German. It's also been quite a long time since then, and things have surely changed. So, with that bias out in the open:

I think that the discussions here generally underestimate how much these language programs contribute to university life beyond just a degree:

1. Will international students be attracted to this university with no program that represents their native language? My experience was that a lot of Chinese students spent quite a lot of time in the Chinese department, even if their focus was engineering.

2. In the same vein, what meaningful partnerships will WVU have with non-English speaking institutes of higher education in the future? Seems like not very many! Even if computers will do the translating in the future, we're still talking about a global economy and relationships are important.

3. What about students of all disciplines (history especially comes to mind) that are interested in texts that weren't published in English. jUSt uSe gOoGlE? I'm rolling my eyes. There's still plenty of knowledge for English speakers in non-English texts.

Provincial is the word that comes to mind, which I think of as the opposite of "Education".
Phonon (quantum sound wave) https://en.wikipedia.org/wiki/Phonon