skysight-inc/HackerNews huggingface dataset:
Qualifying exams are somewhat arbitrary. In some universities they are serious and a large portion of the students fail; in some they are basically a formality and everyone already knows each other and if the student isn't ready the examiners just delay. Also what constitutes "academic competence" is up to the examiners who may be biased.

But IMO this is not a major issue, because I do think for the most part academia still maintains high and fair standards: a majority of examiners have good judgement, and a vast majority of universities will not give a PhD to someone who is not PhD worthy.

The fundamental issue with quals, though, is that they are just a really bad way of gauging academic knowledge. Professors should be able to and already do tell if a student is PhD worthy based on everything they've accomplished in grad school: the papers they've published and their thesis. Also, some people do really bad thinking and speaking under pressure, and while that makes them terrible presenters, I don't think it makes them unworthy of a PhD: you can be a terrible presenter but still write great papers and be able to thoroughly communicate your expertise in casual conversation. To me it seems like the one-hour qualifying exam is just an unnecessary stress: at best it reaffirms what the student and advisor already knew, and in the cases I've heard where it doesn't it often turns out there was a serious problem somewhere in the PhD process (you could argue that the qual's purpose is to detect that problem, but then it just becomes a formality again).
To me vim mode is just enough to keep me from ragequitting something like Xcode when using vim is practically not an option, but “vim” mode would never be enough to make me use another editor by choice. Vim isn’t just hjkl.
Amid demand concerns, Tesla cuts prices by up to $13k in US
I am no vim god but I have a different experience.

I've installed quite a few plugins (e.g. nerdtree, airline etc) but they are mostly cosmetic and I myself don't do much vimscript other than some basic .vimrc. But I do have most of the content of any vim cheatsheet burned into muscle memory and can come up with combination of them on the fly. I also use :norm extensively when I need to quickly batch edit anything.

I never really did encounter scenarios where the logic are so complex that I'd rather write vimscript to solve it - at worst, I'd do a macro, but combination of modal keys are usually enough. I think I find a sweet spot between using vim to its maximum utility and less about using vim for the sake of vim.

I have a quick install script for everything I depend on and one thing I found extremely valuable is the ability to pull, install and have the same editor customized and familiar in any computer, virtual or real, it even works on Windows (WSL).
LiveView Async Task
China moves to take ‘golden shares’ in Alibaba and Tencent units
> As impressive as a lot of these models are, I can't help but feel like they're going to end up making an incredible amount of sterile soulless content that makes everyone's lives worse.

Eh. I’ll take a MAYBE over the past 10 years or more of the human driven social media manipulations and scams and poison. We’ve made almost literally fucking nothing of value in a decade. It’s been ads, Ponzi schemes, and a race to the bottom of tolerance.

I’ll take the democratization of content. Knowing that it will allow the good and the bad.

… so how it different from the radio or TV or “influencers” now? I have limited time to consume media and am not going to be less picky when it gets easier for people to make garbage.
Typescript doesn’t just statically type. That’s easy. It does program flow analysis to 1) infer type and 2) ensure the inferred types actually work. I think in most statically type environments, the type analysis engine relies a lot of on the developer to define the correct types in the correct places, but the types in TS are always _logically_ correct. As in absolutely correct (unless of course you eject from the type system using coercion).
Django allowed me to fill the back end dev role with 10% of my time for a project that has been wildly successful at my employer (now worth multiples of billions) for five years. We’re only now getting to where the Django admin tools aren’t quite enough.
Bonus: Focus on a nutrient-rich diet instead of external factors.
Talk about confidently incorrect.

The link between hepatitis and liver cancer is rock solid, to the point chronic hepatitis is the leading risk of liver cancer.
And you can heavily modify and extend the Django Admin views and behaviour.
What if space isn't expanding and we are just shrinking?
TypeScript is great for what it is, and definitely worth it. It is like JavaScript, just better. Just don't go overboard with types, because you don't get proper guarantees anyway!

I am not using many third-party libraries at the moment, and mainly develop my own, so I am not really running into any of your pain points. For my own libraries, developing them in JavaScript rather than in TypeScript would be just plain stupid.
There’s a pretty cool trinity audio bot that converts any Twitter thread into audio: https://twitter.com/trinityaudiobot/status/16131660716907970...
A short (and mostly wrong) history of computer networking
Vim binding is great and I find it solves at least 90% of my usage.

It's the 5% of vim that's unavailable (i.e. norm, macros) and 5% of needing to still click the IDE UI occasionally that reminds me that it still isn't vim.

But then again, for some language families there just isn't a choice.
Those are 3 very important pieces of advice.
Why would you think it would be less popular? Most everyone that chooses us-east-1 chooses it because they're close to it and 1 is the first number. They don't research it before they start using it.
Ask HN: Gradual Adoption of Memory Safety?
Rust is very interesting because it has the performance of C, and it is also memory safe. However, Rust is complex and it is not super convenient to interface with C.

I think Typescript took a very smart approach. All valid javascript code is also valid typescript code, so it is possible to use ts directly with js, and even add more types to existing js over time.

Why not do a similar thing with C? Call it something like SafeC, since typescript is just js with types.
There is a big issue with “suppressing one off instances”: the truth is you’re either fully bought in or you’re not. If you have “any” types or ignores littering your code base, you don’t have type safety, and at that point, why even have typescript? There’s not _really_ any such thing as being “mostly” type safe. You could argue that “this part of my code is type safe” but if it interacts with any other part of your code that isn’t, then what’s the win?
I was shocked today when I went to buy eggs and saw that the basic kind were almost as expensive as the Vital Farms eggs I usually get

What was even more surprising is that the Vital Farms eggs did NOT go up in price very much.
That's what financial hedging and the like do - users and producers can sell power at guaranteed prices in exchange for missing out on price volatility. Ultimately, it's probably fairest that the wholsesale power market works the way it does to ensure guaranteed power - It costs money to provide a 100% service guarantee.

It's worth noting there are some demand response initiatives and the like that are approaching this from the other side - they will pay a user to not use power at particular times of high load. If you don't want to pay a premium on power, I suspect there will be providers happy to oblige, so long as you are willing to forgo the 100% service guarantee.
Thanks, inspired to create a video because of this post https://youtu.be/pKOF2DQnfno
"... is with the amount of extra work it places on developers, much of it the "dumb" kind of work which can eat up hours and doesn't deliver all that much value."

that sounds terrible.
>> He was hardly responsible for what that product actually was.

> This is ridiculous. I'm not going to argue with you after this reply, because you're rewriting history.

You're saying Steve Jobs designed the Apple II? Or had a substantial hand in the design? Sorry, Woz and history disagree.

> I'd suggest not making assumptions. I don't have to "read up [sic] the product release and what happened after", because I was alive at the time. Were you?

Yes, and in fact owned the first generation Mac upon release.

> It wasn't. Cook was purging a rival for power, and Maps was just an excuse.

Steve and the board chose Cook over Forstall. He didn't need to "purge a rival". Forstall was difficult to work with, and people wanted him gone.

>> And again, by every "insider account" I've seen published, Tim Cook is doing the same.

> Citations needed.

https://www.engadget.com/2014-06-16-jony-ive-talks-new-mater...
No one pays retail
Interesting use case of ChatGTP. In a performance review cycle, both employees and managers are involved. I'm curious why you picked manager angle to start, any rationale behind?
Nicely written article, but it seems to conflate "what it should do" with "how it should do it". So, for example, it talks a lot about optimizations (which feel like implementation decisions).

I'm not saying they aren't important in this DB, but they might not be as relevant in another. For example, Datomic doesn't go this direction, but its ability to avoid read locks on long-running queries might dance around many optimization issues.

FWIW, I like the use of Cypher, which I first encountered in Neo4j. It has always felt pretty intuitive to me, though I don't know all of its limitations and strengths.
Japan says Fukushima water release to start in ‘spring or summer’
I wish they'd get rid of the DC charging jack. I'd rather have 2 USB C ports
I don’t know but my experience with TypeScript is it is the C++ of type systems- it wants to have all possible features and caters to the demands of the most sophisticated users at the expense of the 99%. I also enjoy using simple TS like I like to write simple C++.
There's a difference between the scientific community of 1400s Europe and today.
Our artifacts are tagged with their git commit and build time, which then gets emitted with every log event.
Moons of gas giants might have life inside. Dunno if those are in what is considered a deep gravity well.
The fact that OP feels powerless to practice without the enormous infrastructure of a hospital is clearly an issue. We need medical care regulatory reform which allows doctors to clean up this market.

Until then I just seek treatment outside the US, yay remote work!
Buildkite, with our own orchestration layer built on top.
Vital farms must not be part of the cartel.
In C++ especially, respecting the rules on underscores is important because so much of stdlib is header-only, meaning lots of inline code that's exposed to shenanigans with identifiers used in it. For example, if you #define foo 123, and some inline function has a local named "foo", there's going to be a problem. This is why, when you look at standard C++ headers in most implementations, all identifiers, even locals, tend to be named _Like __this. And stdlib may also need to define its own internal macros (as there's a lot of repeated verbiage), which also follow this name pattern.

So if you disregard the fact that those are reserved, it might build, but even a minor update of your implementation that e.g. adds a new local to some obscure standard function can break it, never mind a new version of the C++ standard.
Then what's the point of working at a place that for decades won't ever listen to what you have to say?
Isn't that frustrating? Especially as an intelligent person who might care about the research you're doing.

I am very conflicted of this. Do people just get good pay so they can be ignored/shut up?
One of the biggest mistakes that I see devs making is caring too much about making TypeScript happy when they know it doesn't really matter.

There are a lot of cases where it's totally reasonable/rational and honestly fairly safe to just throw in a well-scoped "any" cast, a `// @ts-expect-error` comment, etc.

If you know what you're trying to do, and TS isn't understanding, sometimes it's just a lot more expedient to tell it to shut up and listen to you.

Of course, sometimes you're wrong, and you don't want unsafety to leak, so it does require a fair amount of experience and judgement to do responsibly.
Just to point out: You can still do this (with any processor that has a zero-register, otherwise you'd still have to "burn" a register and you could just use a real global pointer). This technique isn't made impossible by larger RAM, it just cannot access anything beyond 4KiB (1). If that is enough for your "hot" data, you could still use it.

(1) 2KiB for RISCV, because immediate offsets are 12bits signed, and the upper end of the address space is usually not mapped to RAM. That is, 4KiB are possible with RISCV if you control the memory map.
“Science” as Curiosity-Stopper (2007)
Sure, but the older you get the more age discrimination becomes a thing, and the harder it is to unwind bad habits out of your body. You have fewer opportunities and worse health. Youth is wasted on the young, and money can't buy health.
There was some code allowing 12 bits RGB display on 8 bits palette screen mode, using very simple temporal dithering (PWM). For example, a demo for old versions of Allegro library. This blog post shows a way to improve on that.
What kind of useful team conversation is taking place in under five minutes?
> but the ux will never feel as unified as it does in an ide

I argue the opposite. Because vim is such a constrained environment, the UX is extremely unified.

An IDE with vim mode is the opposite. Vim mode usually only works in the text buffers and nowhere else (at least not properly). You need to memorize a combination of vim hotkeys and regular ide hotkeys OR spend a long time messing around with your IDE hotkeys (probably comparable to vim config).

In vim, since everything is a buffer and a window, you can use your regular navigation hotkeys to move between them. I just think "I want to shift my focus to the window on the left" and it doesn't matter if the window on the left is a text file or some plugin.

In something like IntelliJ, you can't "just go left". You need to know what the hotkey is for the panel on the left. The "non-modern" UI, which constrains vim actually makes a significantly more unified experience.

> terminal in the ide so you can still run commands easily (typically better than vims term window does)

This is a perfect example. How do you switch back and forth between your terminal and text file in an IDE? How do you copy paste between your terminal and text file? Can you use vim movement in your terminal that you opened in your IDE? Or your registers? In vim, that all works perfectly just like you'd expect without learning anything new, it just works like regular vim.

That being said, I still use IntelliJ if I'm writing Kotlin. The semantic analysis they can do is absolutely top notch, can't get something comparable in vim and the productivity gains out weigh my annoyance with the inconsistent UX. Something like python though? I'll probably stick with vim, jedi is good enough.
> … until it breaks.

My boss once told me, "[toast0], you can't have that kind of attitude if your shit doesn't work"

Rather than change my attitude, I made sure my shit worked.
Here is a link to the actual article that allows you to download, print, and copy from the text. https://www.biorxiv.org/content/10.1101/2022.06.20.496834v1 It should probably replace the cloudflared, paywalled, and DRM'd wiley.com link.
https://news.ycombinator.com/item?id=34287747
It's fine to include archive links in the thread, for example if a server is overwhelmed, but please post the original source as the top URL.

"Please submit the original source. If a post reports on something found on another site, submit the latter." - https://news.ycombinator.com/newsguidelines.html

We've changed the URL from https://web.archive.org/web/20230112230330/https://paizo.com... now.
How to write an effective GPT-3 prompt
Google wrote a whole paper on the fact that, with the help of a beast of a single computer, they were able to get Perforce to work for 10,000 employees averaging about 3 commits per second (20 million commits over 11 years) and a much higher volume of other queries. That white paper pointed out that Google had taken performance to the "edge of Perforce's envelope" and they were only able to do that by treating Perforce's performance limitations as a major concern and striping a fleet of hard drives on that machine with RAID 10.

https://www.perforce.com/sites/default/files/still-all-one-s...

That's not an endorsement for a company as big as Google was then looking for an easy, off the shelf solution. It'd probably be just fine for a company of hundreds, but so would git.

On the other hand, if you play to its strengths, it's probably a great choice. Maybe a team of dozens of content developers checking in large assets for videogames. Perfectly great use case for Perforce.
It's not about being pedantic, but that's literally the whole point of the Bayer process (which is what was being discussed).

If we were fine with getting 1/4 resolution output we'd just put one color filter for each sensor pixel and don't Bayer demosaic anything and call it a day.
ML is still right there, and yet people are adding its features to more popular languages (recently Java). OCaml had a compiler to JS released in 2010 (js_of_ocaml), yet Typescript was still released 2 years later. Is this because of technical concerns? NIH syndrome? Lack of knowledge about absolutely everything that has been done? A need for control? Probably a bit of each, and other things too.
Write unit tests.

I write unit tests for my personal projects - it might sounds ridiculous but it is the reason why I can grow these projects beyond the initial 12 hours of interest. Since personal project tend to be on the smaller side I usually uses typescript or python but I've never found it an issue where pure vim usage becomes an issue at scale.

It also strongly enforces separation of concern in terms of file organization. I found using vim for development to be a positive feedback loop.
This is exactly what pushed me away from pursuing cosmology. One of the most important 'discoveries' in cosmology was that of cosmic inflation [1]. The issue is that if you model the big bang, what it creates is nothing like what we see. Regions of space that wouldn't have had time to have become causally connected (nothing could have gotten between them even traveling at the speed of light since the time of the big bang) are causally connected.

So the solution? There was some very specific period of acceleration, faster than light acceleration to some very specific degree, at some specific point right after the big bang which then ended at some other very specific point, at which point everything returns back to normal. What's the logic for it? Well if we do this, then what we see matches what we expect to see. It's an absolute retrofitting of numbers to make a model fit reality. And not only does that constitute good science in cosmology, it was sufficient to win a Nobel Prize.

It is literally unexplained magic being taken as a fundamental concept of science. And the worst part of it all is that it's completely unfalsifiable. We only have one universe to observe. So if it turns out that the discrepancy is actually being caused by many smaller effects we stand near 0 chance of ever discovering because each one of those small effects will have a million flaws, while the perfectly retrofitted inflation theory has "none." At worst they'll even get absorbed into the inflation theory model magic. Just add more epicycles!

[1] - https://en.wikipedia.org/wiki/Inflation_(cosmology)
And a car that doesn't work. Imagine the civilization that finds that in a billion years. They will spend countless hours trying to figure that one out
Isn't this just the anthropic principle[0]? e.g. "conditions that are observed in the universe must allow the observer to exist"

[0]: https://en.wikipedia.org/wiki/Anthropic_principle
RIP. I’m hoping it’s temporary but not optimistic.

Could it be a coincidence that Twitter relaunched the algo timeline for everyone and within a day 3P clients that are linear-first stop working?

Although with the all the people laid off, who knows.
BloodNet: Won (With Summary and Rating)
> one needn't discount everything other than weight as "falls prevention and other stuff".

I didn't.

And yes, CVD is a huge issue. Obesity directly contributes to it, independent of other factors [1].

Which is why most population health stuff is targeted at weight loss.

From a population health standpoint, it has the biggest impact with well understood interventions.

FWIW, I helped deliver CMS certified DPP programs that were funded by private payers. Their data was clear on all this.

[1] https://www.ahajournals.org/doi/10.1161/CIR.0000000000000973
which nutrients exactly
airline and bufferline plugins are great - it helps unify/bridge buffer and tabs
Ok, we've changed to that from https://onlinelibrary.wiley.com/doi/epdf/10.1002/cne.25453. Thanks!
Thanks for expanding on that train of thought. Your elaboration with civic duty is apt.
Recent and related:

The T. rex may have been smarter than previously thought - https://news.ycombinator.com/item?id=34331909 - Jan 2023 (24 comments)
Exactly, this it’s the new research. Standard (incorrect) explanation is because ice melts because of the pressure from the object put on it. Robert Wood showed it to be untrue at the beginning of the twentieth century, but “popular scientists” didn’t get the memo.
This feels like telling Haskell developers that they should use unsafePerformIO and unsafeCoerce more.
I had a pretty negative reaction to that title but completely agree with the post (and largely with the example choices). I think I'd rephrase it more as "choose proven technology", cause "boring" to me conjures up images of Java hell.
We probably use 30-40% of TS features and that is more than sufficient for us

Exactly. Some people seem to have the idea that you have to spend weeks writing esoteric type definitions before TS will work for you, which is just not true. You can get a large portion of the benefits with very little additional work, often just adding types for function arguments. (In many cases those types can replace comments that were trying to convey that same information, with the advantage that they won't get out of sync with the code). And for code that intentionally takes advantage of dynamic typing, it's perfectly fine to slap "any" on it rather than trying to come up with a bunch of clever types.
I can't imagine any, besides redundancy and more observation time.
semantics but yes
This seems to be normal in a lot of companies that pay for Oracle products; they use clauses in their contracts and licenses to trigger audits or you can just pay up. Many (most?) pay up because it is easier.
This is absolutely on point and just had me cry laughing. Thank you.
He is a professor at Harvard - I imagine he wouldn't get to that role if the science didn't have some merit.

Where did he ever say that resveratol was the fountain of youth? Interviews I've seen with him seem more reasonable then I always hear people make him out to be.

NMN does have some promising results based on recent studies- what do you mean he pushed hard? Where did he actually do that?
The ideal use case is someone who wants to be an influencer, but is neither pretty, intelligent, nor has a good voice, could simply use face filters, GPT text, and a voice filter to make themselves sound and look beautiful.
You're probably thinking of the fact that the game was compiled without optimizations. IIRC Giles Goddard who worked on the game said it was likely intentional in order to minimize any risks for the launch title. Later versions of the game were compiled with optimizations on.