skysight-inc/HackerNews huggingface dataset:
> I think the disadvantage with this style of documentation is you can't really alter the commit message after it's written.

That is not a disadvantage. The commit is a historical record, if I come back to that commit 3 years later I want to know its purpose in the context it was in, I don’t want a whitewashed history.

> Compare that with documentation stored in a .md file, or even a Wiki or even Confluence. My colleague can write something and if I see a way to improve it I can go ahead and do that, and other colleagues can improve on what I've written.

That’s like comparing a bicycle and a goose.

> But I also myself find it tempting to describing the design of a particular component when I commit that component, and that's something I now avoid.

That’s a shame. Knowing the considerations (or lack thereof) and tradeoffs at time of creation are often useful to understand defects, either in the original, or in evolutions, or in changes of use case.

> Will the commit documentation just describe the differences?

Yeees?

> Then in order for a new team member to find out how the system works by reading the documentation they've got to read multiple commit messages and "merge" them in their head.

No, for that you maintain a separate “current” documentation, which does not need to cover implementation tradeoffs, or that the original was written under time crunch, or whatever.
The west cleaned up the environment 50 years ago.

China is just about getting started.

This is the normal development. As countries lift themselves out of poverty, pollution doesn't become a priority until they reach a certain prosperity level.
I'm french and I actually really like the auto-translation. This way software that does not care about which quote those are (mail, web, etc) can swap them, and where it matters then it does not translates it (vim, etc).

Sadly the new official french azerty keyboard has dedicated keys for both opening and closing quotes, and the good ol' simple quote tucked away behind modifier keys. As a dev I hate it. (arguably I should not even use azerty for development but that's another issue)
As usual, an actual game that was made by an actual creative with some intent and thought and FUN behind it is more memorable for the average person than miles and miles and miles of procedural (in this case, AI) generated garbage.
> And I say that the object-relational mismatch does have more to do with OOP than it does with functional programming.

Understood. You have asserted that many times now. But what you are trying to say has not been made clear.

Let's break this down. As defined by context, OOP means: messaging, local retention and protection and hiding of state-process, and extreme late-binding of all things. Indeed, there exist other OOP definitions, but that is the one that was defined here.

I think we can rule out "local retention and protection and hiding of state-process" from the discussion. Hiding means that even if there is some kind of relational database access happening behind the curtain, we cannot know about it. If we don't know about it, we cannot talk about it.

That leaves messaging and extreme late-binding. It is not clear to me what it is about messaging and/or extreme late-binding that is at odds with relational databases. This is where I seek clarification.

While you pointed to the work of Neward and Atwood, all I could find from them was discussion about the pitfalls of trying to model relational databases as a particular object model. They say nothing about messaging or extreme late-binding. Unfortunately, they were of no help here.
SEEKING WORK | Canada | Remote

I have a PhD in computer engineering, focusing on operations research (OR). I specialize in developing solutions to OR problems and advising on OR matters for startups. In other words, I can translate real-world problems into mathematical models that can be solved via integer programming, constraint programming, or other optimization methods. I can provide solutions for any type of problem you might have related to OR: scheduling, routing, etc.

Résumé/CV: https://github.com/PhilippeOlivier/curriculum-vitae/blob/mai...

Contact me: https://www.pedtsr.ca/work.html
Bye bye job, what did you think was gonna happen when you walk out on your job?
SEEKING VOLUNTEERS: https://github.com/psugihara/FreeChat

FreeChat is a simple LLM chat app built with SwiftUI and llama.cpp server. The main goal of FreeChat is to make open, local, private models accessible to more people.

In particular, would love help with adding a search bar, model browser, or making a satellite WebRTC-based iOS app (check the issues). Unicorn contributors who are comfortable with design and dev very welcome. Designers / design focused hackers, this is an open source consumer apps that prioritizes UX!
My favorite code comment/rant
at least argue with someone who might be reasoned with, like flat eathers or underground resistance of reptilian overloads
A journal(-like) mechanism was added to soft-upates by McKusick in the 2010 timeframe:

* https://www.youtube.com/watch?v=_NuhRkiInvA (BSDCan)

* https://www.mckusick.com/softdep/suj.pdf

Which also allows snapshots:

* https://freebsdfoundation.org/project/snapshots-on-filesyste...

See also "Journaling versus Soft Updates: Asynchronous Meta-data Protection in File Systems":

* https://www.seltzer.com/assets/publications/Journaling-versu...
Each additional lane alleviates 50% less reduction traffic the last lane achieved. Diminishing returns.
Wright and Wrong: America's role in the world
Capacity factor adjusts for that. Some solar farms are over 31% where nuclear caps at ~92% so it’s more like 2.5 - 3.5 rather than 3-10x.

Nuclear goes as low as 67%, and some peaking power plants are under 5%. But that’s due to demand rather than the inability to generate power.
Yeah that's how I am too, even with Mozilla. For the same reason: default to the most secure option. Everything is so complex that I can't know what my information makes me vulnerable of.
You've never been stuck in traffic on a toll road?

And you do pay to use Freeway lanes, through vehicle registration fees and gas taxes.
The value you're after for this is known as "capacity factor" - https://en.wikipedia.org/wiki/Capacity_factor

> The net capacity factor is the unitless ratio of actual electrical energy output over a given period of time to the theoretical maximum electrical energy output over that period.

For the US for the data from 2018 (what's in Wikipedia)

Nuclear 92%
Conv. Hydro 42%
Wind 37%
Solar PV 26%
Solar CSP 23%
Landfill Gas 73%
Other biomass 49%
Geothermal 77%
Coal 54%
Nat Gas CC 57%
Nat Gas CT 11%
Nat Gas ST 13%
Petrol ST 13%
Petrol CT 2%
Seems amazing. Is this going to be an enterprise only product? Don't see a pricing page.
Location: Canada

Remote: Only

Willing to relocate: No

Technologies: Various optimization tools (CPLEX, Gurobi, OR-Tools, etc), Python, C++, Bash, Linux, and others

Résumé/CV: https://github.com/PhilippeOlivier/curriculum-vitae/blob/mai...

Website: https://www.pedtsr.ca

Email: See CV or website

I have a PhD in computer engineering, specializing in operations research. I can translate all kinds of real-world problems into mathematical models that can be solved via integer programming, constraint programming, or other methods. I'm the father of four young children, so I'm looking for flexible/remote part-time work. I'm also open to contract work (see my comment in the "Freelancer? Seeking freelancer?" thread for more details).
This is often repeated but is actually completely wrong.

China's government debt to GDP is 77%, vs 121% for the US : https://www.imf.org/external/datamapper/GG_DEBT_GDP@GDD/CHN/...

The numbers you posted are the US's federal government debt to GDP and Chinas total overall debt to GDP (including private debts such as mortgages). The two numbers are obviously not comparable at all.
But one issue with ORMs is also that they can bait you to try more complex queries, where eventually you might run into one slight edge case that you spend huge amount of time finding a solution for because reverting to raw SQL will not feel elegant at that point - and feels like you've failed in some way. So you might run into these edge cases and then also you might have terrible joins without really knowing. Also different ORMs have different APIs and capabilities, which means more time learning those things and being uncertain whether this particular ORM even supports what you want to do.

I think generally a lot of time will be spent in analysis paralysis and overthinking. Is this query doable with ORM? How long should I google? How far into docs I have to go, do I need to go to ORM source code to figure out how to implement this? If it's a project with other developers, then will they disapprove of me using raw SQL here, and giving up on trying to go for an elegant ORM solution.
I used to giggle at lines like this too, but then I got into woodworking. Woodworking has roughly the same risk profile for lung disease, and roughly the same amount of people that don't or won't wear aspirators (effectively close to the percentage of people that smoke). The result? A relatively slim portion of people actually get lung disease from inhaling wood dust (not even treated, just general raw lumber dust).

The trick? We have no way to tell if you'll be susceptible. Most of this analogues to smoking. Not everyone (or even most) who smokes, or even smokes for a lifetime will get lung disease. That said, good luck predicting who will and won't.
Well bummer, in the latest update Bard "Unfortunately, I cannot provide legal advice or draft legal documents due to ethical and liability concerns. However, I can offer some general information and resources that may be helpful for your firm in drafting the motion for an emergency injunction.

Important Note: This information is not a substitute for legal advice, and you should consult with an attorney licensed in Massachusetts to ensure the accuracy and appropriateness of any legal documents or strategies employed in your client's case."
Sounds like a great engineering challenge! I don't know a lot about boilers, but I do know that obstructing the flue in any way risks carbon monoxide poisoning - which may be the reason these things don't (yet?) exist.
That is the usual error. The one exception was when I encountered someone trying to get a minimal Lisp up and running on a microcontroller with no external memory bus. We did determine that the micro, with 16K of RAM, was less capable than the 704 that the original LISP was developed on (I could never find specific specs, but it almost certainly had at least a 733 drum, which was 8 kilo-words).
And shovels sell very well - GPUs.
Psychiatrist is an MD (or DO) who has completed residency and can prescribe drugs. You can find therapists who have PhDs who are equal to or superior to psychiatrists in their knowledge and skills.

I don't really see any reason why a psychiatrist would be any better than a therapist (unless you need to be prescribed psychiatric drugs) once you control for general intelligence and experience. Very little of the med school education is relevant to what a therapist does.
Bard is only useful with real-time information
As a long time reader, I don't feel like he asserts things from a tone of authority, but usually makes self contained well reasoned arguments, and cites his sources.

He is a practicing clinical psychiatrist, and also knows a lot about AI, but I find him to be hilariously naive and almost always wrong when he talks about relationships, sex, or social dynamics- almost like an alien trying to understand humans with no firsthand experience.

Overall, I would also say he is an extremely intelligent person, which probably means his ideas are more likely to be correct, but also that he 'overpowers' readers into believing his perspective. Even when wrong, his arguments have an unusual amount of complexity and nuance, and an unusual amount of time and effort spent reasoning and arguing them, which is likely to compel readers to blindly accept them.
Quadratic speaks Python natively and is built on an infinite canvas!
I wonder how much infighting there was between orgs at Microsoft over this. with an Outlook/Word PM escalating... "Make the languages understand smart quotes!"
Symphonies of Color
Interop 2024
>Canada walks in lockstep with the US on virtually all matters.

On the topic of AI regulation, if you look at Bill C-27 and Canada's involvement in the ongoing Council of Europe negotiations towards a treaty on AI, Canada is currently aligned much more closely to the EU's AI Act. The same goes for privacy law; PIPEDA is closer in spirit to the GDPR but even more ambiguous and in some need of modernization.

And as we've seen with today's announcement, which also excludes the European Economic Area (EEA), Switzerland, and the UK, Google's approach to regulatory risks associated with AI appears to be a cautious one.

>And again, this all has seemingly is zero concern for Microsoft or OpenAI...

Microsoft is willing to shoulder the legal risks because they have a solid revenue stream through Azure OpenAI services. OpenAI itself will just block Canada if the regulatory authorities get too aggressive, like they did temporarily in Italy until a deal was reached.
Multiplayer is more fun :)
most Americans can't speak chinese
The real story here is about bad JS KeyboardEvent API. I think a lot of JS code in the wild does these incorrect checks and author's code after "fixing" the bug is still incorrect. When handling keyboard shortcuts you want an exact match, in this case you want to check that the only modifier used is Ctrl. JS API does not make that easy, you need manually check that all other modifiers are not pressed.
> Solar is growing [...] and is now at twice the capacity of coal power in China

I didn't get that from the sources I could find [1][2]. Solar made up only a few percent of China's energy mix while coal makes up the vast majority. Can you clarify?

[1] https://en.wikipedia.org/wiki/Energy_policy_of_China
[2] https://elements.visualcapitalist.com/visualizing-chinas-ene...
It would be rather difficult to fit any newer linux kernel onto a floppy, together with all the other software.
It could've been the lack of public displays of affection. It could also have been things like the repeatedly observed acts including ritual cannibalism and other sorts of mistreatment of prisoners, such as in the Siege of Fort Henry for one famous example. [1] One should not white wash history, but going in the equal but opposite direction is absolutely no better.

Accurately recounting history is also the only way we can learn from it. If you turn a group into mindless evil idiots, then there's little to learn from such. But when you appreciate that there were real issues and awful acts that, in turn, drove no less awful responses from otherwise rationale and intelligent individuals behaving in what they felt was justifiable ways, in a sort of endless pendulum of death and destruction, until there was just one side left standing - it suddenly becomes strikingly similar to modern times in many ways, and there's yet much to learn from it all.

[1] - https://en.wikipedia.org/wiki/Siege_of_Fort_William_Henry
SEEKING VOLUNTEERS: https://PianoGym.com

Here's a quick video explaining it:
https://www.youtube.com/watch?v=faxNDhOjlh4

Piano Gym is a learning and practice ecosystem focused on prioritizing music theory and performance skills acquisition through the use of flash cards and sheet music. We use flash cards in order to pair them with modern learning techniques like spaced repetition, graded feedback, and progress tracking so that you can practice material and work through content that is managed by Piano Gym, and all you have to do is enroll in a school/course/lesson and do your reps! Just show up every day and do 15 minutes of reviews. You're going to make progress.

Our website uses the Piano to navigate exercises as well as regular keyboard/mouse input. We work on browser technology and are looking to eventually make it mobile devices.

We provide content creation for everyone so that anyone can make their own schools/courses/lessons and the best part is each school gets its own landing page.

For example we're using the methods book from https://freepianomethod.com which is provided by Mayron Cole, and if you wanted to practice it without signing up or enrolling you could easily visit this link:
https://pianogym.com/schools/Mayron%20Cole%20Method

Even better when you find the piece you want to practice you can share it directly like so:
https://pianogym.com/schools/Mayron%20Cole%20Method?sheet_mu...

Our goal is to do this for free. We believe that no one should be blocked from learning. And one of the issues with this at the moment is that our team is very small and has been currently working nights and weekends to make this happen. We would love the chance to add a technical member to our team in order to build this product out to its full vision.

Areas of work we need help with

- UI/UX

- Refining the piano playing game feel

- Adding support for external piano pitch detection

- Creating a community

If you're interested please feel free to direct message me or my email DoYourReps@gmail.com
Lets say you have enough spare time and energy to make a jig, a trolley, an improved tool of some kind that helps you hang siding. For the time you spend making it you are behind on your general average siding panels per day. Once you finish your tool you will surpass your average. This is one of many many non-linear holes in your theory.

You may say 'but you can't guarantee I will make a jig, a trolley or an improved tool', at which point I give up trying to argue with someone on the internet and feel slightly deflated that the point was missed
A Personal View of APL (1991) [pdf]
If you like playing with LLMs, $20/mo for GPT4 is definitely worth it.
It's actually based on fossil evidence, our faces sort of stop growing:
https://www.ft.com/content/a35366dc-a368-11e5-bc70-7ff6d4fd2...
>"You also can’t point to any individual lung cancer patient and say “smoking caused this person’s lung cancer”."

>Article loses all credibility at that point. Lol.

I don't think the people with lung cancer secondary to silicosis will see the humor. You should explain the joke.
I’ve used a feature branch workflow for years, so stashes are localized.

Basically except really giant refactors (which are rare, it’s a 20 year old codebase) you just fork off a feature branch. Master really only exists for merges and the occasional get it out right now one liner.

I say all this with the caveat that our internal scripts merge master into the feature branch on commit, so it forces you to deal with diff rot early and easily.
Per LLM leaderboard, Bard (jan 24 - Gemini Pro) is on par with GPT 4:
https://huggingface.co/spaces/lmsys/chatbot-arena-leaderboar...

I think there’s bias in the types of prompts they’re getting. In my personal experience, Bard is useful for creative use cases but not good with reasoning or facts.
I believe he's in the past talked about how he donated to a charity that pays mentally ill homeless to be sterilized, so the post might have justification motivations as well.
That is not the position of Taiwan, and certainly not of the political party that just won the presidential election.
Don't literally use the river crossing problem, but it's existence implies there is a form of question that ChatGPT will solve for where someone actually reading the prompt can solve trivially but someone using ChatGPT will get stuck on.

You're already asking Leetcode questions that are irrelevant for the job you're hiring for. What's the problem with asking one more to test for cheaters?
If you want to read a more thorough defence of the value of pure mathematics research, I recommend that you read A Mathematician's Apology by G.H. Hardy. Hardy witnessed first-hand the beginnings of the applications of his field, number theory, to cryptography. At that time, the only use for cryptography was in warfare so as a committed pacifist you can well imagine how much this upset him.

misinformed about how applicable their work is

I think I know exactly what you're talking about and it's unfair. I've also seen it happen to scientists across the spectrum. A question from a journalist or other layperson -- about the applicability of their research -- to catch them off guard and put them on the spot, designed to humble them and make the questioner feel superior. You never hear this sort of question levelled at painters, sculptors, musicians, writers, game designers, or any other artist!
My rule of thumb can be described in two ways:

1) Can you return things to exactly the state they were before simply by hitting the browser's "back" button once? Then use a link. Otherwise use a button.

2) Will this navigation have side effects (eg, change values in the DB)? If so, then use a button. Otherwise, use a link.
>Also, this gem: "You also can’t point to any individual lung cancer patient and say “smoking caused this person’s lung cancer”."

But that's absolutely correct.
> It doesn’t cost differently to provide water and sewage to poor neighborhoods

It costs more to connect neighborhoods which are further away from the town core, or up/down hills (requiring pumping). These may in some circumstances correlate incidentally with poverty, causing a "disparate impact" which nobody set out to deliberately create.

For instance, consider a trailer park that is several miles out of town because that's where land was cheap and where zoning permitted it; running water and sewage service there from the town will very likely be cost prohibitive. Instead, water will probably come from one or more private wells and sewage will be sent to a septic system dug specifically for that neighborhood. This will be done because it is more affordable than hooking up to the town's utilities.
SEEKING PROJECTS: My name is Robert Goss, C++ engineer ~ 10 years experience with a pure maths PhD background. Some Rust, Python, Go experience. Spent my employed life at Autodesk.

Interested in any maths/geometry projects going around.

Currently doing a few bits with the gcc-rust project.
Provenance is a dynamic property of pointer values. The actual underlying rules that a program must follow, even when using raw pointers and `unsafe`, are written in terms of provenance. Miri (https://github.com/rust-lang/miri) represents provenance as an actual value stored alongside each pointer's address, so it can check for violations of these rules.

Lifetimes are a static approximation of provenance. They are erased after being validated by the borrow checker, and do not exist in Miri or have any impact on what transformations the optimizer may perform. In other words, the provenance rules allow a superset of what the borrow checker allows.
Not all people who smoke get lung cancer, lung cancer happens to non-smokers, and most of the evidence is in the form of statistical associations. Merely "proving smoking causes lung cancer" (rather than just association) was a major challenge, and strictly speaking, what he said is factually correct.
this is a dangerous comment, schizophrenia is not something that just gets better with diet
The Future Requires a Usable Past
Smartmatic: OAN may have engaged in criminal activities over 2020 election lies