skysight-inc/HackerNews huggingface dataset:
I'm arguing here all over the place for writing comments. But exactly this kind of comment mentioned here I think is the most useless sort of.

Someone working on the code should know the language. If they stumble over something they don't know they should read the documentation of the language. Explaining the programming language you use in code comments is a terrible idea, imho. It's like writing comments of the form "adding the numbers" and than adding some numbers. Just useless noise.

The more important question would be, as always, why you used this feature? What would be e.g. the alternatives?

Just stating that you do something, just to do it than with code makes no sense. Nobody needs that redundancy.
You're painting with broad a brushstroke. Both good and bad things
emerge from the public and private sectors. Despite often falling into
the "worse is better" trap, self-interest is our species' most potent
innovator, modulo purgative events like WW2 when all our intellectual
capital returned to the state.
I write mostly batch ETL stuff. All plain psql and bash. We don’t have a good testing setup to be honest. What we do use instead:

Plenty of constraints, uniques and foreign keys and not nulls. Enum types.

Visuals, dump to csv and plot some graphs. Much easier to find gaps and strange distributions visually.

Asserts in DO blocks, mostly counts being equal.

Build tables in a a _next suffix schema and swap when done.

Never mutating the source data.

Using psqls ON_ERROR_STOP setting.

Avoid all but the most trivial CTEs, preferring intermediate tables that can be inspected. Constraints and assertions on the intermediate tables.

“Wasting” machine resources and always rebuilding from scratch when feasible. CREATE TABLE foo AS SELECT is much simpler than figuring out which row to UPDATE. Also ensures reproducibility, if you’re always reproducing from scratch it’s always easy. State is hard.

Overall i’m quite happy with the workflow and very rarely do we make mistakes that unit tests would have caught. Our source data is complex and not always well understood (10+ years of changing business logic) so writing good tests would be very hard. Because we never touch the raw source data any errors we inevitably make are recoverable.

This talk by Dr Martin Loetzsch helped a lot: https://youtu.be/whwNi21jAm4
I'm not sure I understand your comment, you seem to say that automating testing isn't better than manual testing, yet the e2e tests caught most issues?
Edublocks: TRansition from Block to Text Coding
"If the parent repo is private and goes public, so do all forks."

nope, that's not true:

"GitHub will detach private forks and turn them into a standalone private repository. For more information, see "What happens to forks when a repository is deleted or changes visibility?""

" If the parent repo is public and switches to private, so do all forks."

This isn't true either:

"GitHub will detach public forks of the public repository and put them into a new network. Public forks are not made private."

In these cases, exactly what I would have expected happens.
> Why did so many of the British never feel the EU is “theirs” even though objectively they were one of the most powerful countries in the Union and were instrumental in designing the rules?

> It might have made some kind of difference if enough politicians after 1990 would have bothered to explain that to the British public.

If I'm understanding it correctly, the UK had ~10% of the EU Parliament seats. Even if that was objectively more than anyone else had, it's still quite a minority.

I'm not British, but the all the kinds of things you focus don't seem like they'd be at all significant for one's felt identity, especially when it competes with a long-established felt identity. Felt identity is formed by other things than "we have a large but clearly minority voting bloc" or "some economic policy was strongly influenced by a domestic politician 40 years ago."
What you say is true, but then again very little on the cost side of programming has a big bottom-line impact because software is such a high margin industry. So this topic, like many others in software, is largely a matter of personal taste, but that's not to say all opinions are equally distributed among programmers. If most programmers find it more pleasant to read code with good comments, then writing them is a nice courtesy.
Qutip: Simulate Quantum Systems in Python
Why shift from a dedicated memory channel and chip to a shared one?

The FreeNAS/TrueNAS community has worried about situations like the scrub of death (no ecc). Others on the forum below think the same about consumer DDR5 “ecc”.

https://www.truenas.com/community/threads/ddr5-“ecc”-and-zfs...
nevertheless, who is doing labor that requires physically being in santa monica?
This linter can really enforce some best practices https://github.com/sqlfluff/sqlfluff

A list of best practices:
https://docs.getdbt.com/guides/legacy/best-practices

And shameless plug but there's a chapter on modeling in my book: https://theinformedcompany.com
> true positive rate of only 26% and a false positive rate of 9%

That's uninformative enough that I'm surprised they launched this publicly at all.
it might also be healthcare, or nuclear/aviation, no?

> The cost should be billed to the department with the users that were affected.

It doesn't really matter. These are arbitrary slicings and dicings of one big monolithic blob anyway, internally connected by interdependent causal links.

It's a "simple" management decision how compliant the whole operation gets to be, also weighing the cost of compliance versus consequences of non-compliance (from simple things like "have to massage the scope during the next audit" to "might impact a potential lawsuit" to regulator fines us to personal criminal responsibility for the CEO), similarly it's a management decision how much spending each org/department can do on getting compliant without requesting budget for it, etc, etc.

In this case the priorities are clear and it just happens that there is this big discontinuity (crisis!) that will probably look like a bad overall trade off, something that should have been prevented.

Will this even result in some change to the whole decision-making hierarchy? Unlikely. If this hierarchy was able to completely impervious to all the input from below (emails, calls, meetings, 1 year grace period, etc) then it likely does not matter that these devices will get wiped.
The Only Man Who Flew Both the F-22 and the YF-23 on Why the YF-23 Lost (2019)
Markets are cyclical. It will improve again, albeit probably in a decade.
probably a symlink
to my private repository, but not their own private repository.

like it happens when a public repo goes private: I don't loose access to my fork of the repo but access to the original repo
I'm not sorry to see it go. Half the time the people in the meeting forget what was decided on because it's one of a thousand other things they had a meeting about and no one we wrote anything down.

There's value in face to face, but not when it's a wide reaching announcement like this.
How long before someone trains a troll bot on 4chan content?
Same exact thing happened to a friend of mine who was just about to launch. He didn't realize that he had only paid for the dynos, but was using a free tier DB. No communication at all, and they wiped out his data. Needless to say, he is no longer a customer.

He's moved on to Render since then (and he's now backing up his data offsite). Painful lesson to learn, but at least he hadn't launched his product yet.
I agree with all of this, while also noting I have had several friends and colleagues who grow herbs and vegetables in apartments, on balconies, in sun rooms and so on. Anything short of a tree appears completely viable even without an expansive back yard.
Yes, though most westerners don't know anything but TikTok out of byte dance
You are speak about things which called delegates, typed functions, defined by the parameters it gets, and the data it returns. Using delegates does not make a language functional.
If you really want to speak about the underlying technology, than every high level language is declarative. You can draw a triangle by drawing three sides, or you can just put this in a function like drawtriangle(v1,v2,v3), and tadam, your language is declarative. The underlying tech is not important, the approach of the developer is important.
See my longer answer above
This comment from the core team spells it out: https://github.com/fish-shell/fish-shell/pull/9512#issuecomm...

> C++ is an old standardized language with multiple implementations, married at the hip to C, an even older even more standardizederer language. Any changes take ages to get to users so we can actually use it. We moved to C++11 in 2016 (some quick calculation shows that's 5 years after the standard was released), and we're still on C++11 because the pain of upgrading is larger than the promises of C++14/17. We needed to backport compilers for our packages until, I believe, 2020.

> Having multiple implementations means you always hit the worst of any of them, because you can't dictate which implementation your users use. So we have to deal a lot more with cmake than we would like, sometimes for things as awkward as "which header is this function in".

> C++'s string handling is subpar, and it's much too easy to fall into passing raw wchar_t * around (and we don't have access to string_view and that just enables even more use-after-free bugs!). This is annoying, because a shell is almost entirely string handling and unix api wizardry.

> The other general issues with C++ (header files, memory safety, undefined behavior, compiler errors are terrible, templates are complicated) are well-known at this point so I'm not going to rehash them. We know them, we have them, we hate them.
You're basically right. My gripe is that, who decides who is "white"? Are Jews white? Are Irish? Are Ukrainians? Are Mexicans? Maybe they are now, but it wasn't necessarily the case twenty, thirty, or fifty years ago.

And so what if we are mixed-race? What if we are a quarter white? Do we really want to go down this rabbit hole of racial politics? This is exactly what the Nazis did...as did slave-owning Southerners. Maybe in the long run it's better if we just... keep race out of the question, and treat people like _individuals_.

Anyway, I hope that doesn't sound too argumentative or bombastic. I just horribly hate the idea of being tossed into a "racial category" by someone that doesn't know me, my family history, etc.
> I just figured it was some dumb thing left in for debugging and deleted it, because there's no good reason to do that.

Look up Chesterton’s Fence. :)

(I made similar errors more than once.)
My ignorance of the topic (and experience with a mostly unrelated one) is showing, but all I could think of when you said CTE was "chronic traumatic encephalopathy". This made a lot more sense when you generalized answering the question as if it's a given that Python is necessary (I know that's not your intent, but that's how it comes off).

Not much more to say, just observing, sorry if this is irrelevant commentary.
I'm not really sure.
The really good principal engineers that I've worked with were incredibly technical and churned out a lot of code while also sitting thru a lot of meetings.
I've never seen anyone in that role who came from being a manager
Interesting, appreciate the reply.
Wouldn't hurt to add it to the repertoire.
Is this scenario possible?

- you fork a public repo

- it's visibility is changed to private but you have access through the org

- they delete it

- you lose your fork, which was only ever of the public repo
Can't be the only person who grew to associate anti-fingernail-biting taste with YAY BITING FINGERNAILS.
I don't understand the problem at all.
I think you're confused. Your browser tabs always sit inside a browser window; if you move one out, it creates a new window to sit in.
Some people love the Kool-Aid, some people drink it out of convenience, some people detest all sugary drinks on principle, and some people just find flavor chemistry to be fascinating.
> FWIW, there's no battery in that screen grab, for a car or otherwise

All the components of a car battery. You can see the lead on the right.
https://archive.ph/h9EOs

> A Tesla Model S “spontaneously caught fire” on a Sacramento County highway last weekend after its battery compartment overheated, authorities said.

> The car was traveling at “freeway speeds” on Highway 50 in Rancho Cordova on Saturday afternoon when it burst into flames, the Sacramento Metropolitan Fire District said in a tweet.

> Before it was ablaze on a roadway, the car had no known mechanical problems, authorities said.
Hello, I'm a software engineer in Vancouver, Canada, looking for cofounder(s) and ideas.
I'm working with my friend in Germany on choosing something to work on. He is more focused on marketing. Please let me know if you are interested to know each other.
Capacity != Capability
The expert will be helped as well when coming back to the code after a few months.
> Not safe, but elegant and performant.

I'd say it's also not more dangerous (or equally dangerous, depending on your camp) than a pointer from malloc().
But not really since they will be acquired by some other company and their ghost will keep haunting.
Starbucks isn't a bank either, but they also kind of are [1].

https://www.youtube.com/watch?v=mr039xnco-8
You earn the privilege of deploying late friday by demonstrating you can go many months in a row without ever blowing up somebody’s weekend (urgently amending bad transactions or whatever). This team doesn’t sound like they’re there.
You very likely have twm running and no other programs. Clicking on the empty desktop ought to get you a menu.
Almost perfect. Only most people don't read code bottom to top… ;-)

When reading this I didn't understand the comment at first, before I realized that it's meant to say something about the following line.

It would be better therefore to write it like:

showThrobber()
DispatchQueue.main.asyncAfter(deadline: DispatchTime.now() + DispatchTimeInterval.milliseconds(20)) {
// The reason for this, is that we need to give the throbber time to show up.
> I am a scarred, limping old coot

That is a delightfully evocative phrase
Exactly. Paypal should be regulated as a bank. They're a de facto monopoly for auction payments, but they are covered by fewer banking rules than money transfer businesses.

They have no obligation to be fair and there is no real appeal path for any decision they make whether it's obviously wrong or not.
Sure children can be trained, but children will still go in the road because they are children. Based on current laws, this is acceptable collateral damage so that cars can go fast.
Also, there will exist

Prompt => AIGen (White Hat) => Obfuscate(Black Hat) => Final Text
Depending on what your inputs and outputs look like, perhaps you can spawn the Python interpreter in a subprocess that's sandboxed with seccomp and/or setrlimit?
I mean, isn't that precisely how "truth" works? The minority are branded heretics and crazies (especially in this age of division but also throughout history) unless it turns out they were on to something and the common consensus shifts.

Truth might as well be synonymous with common consensus, it has nothing to do with facts.

To use the Earth and Sun example again, when Galileo said "And yet [the Earth] moves."[1] he meant that truths and facts do not care for the other. The Church and the world-at-large might say the truth is the Sun orbits the Earth, but the fact is the Earth orbits the Sun.

[1]: https://en.wikipedia.org/wiki/And_yet_it_moves
Just want to point out malloc(0) might gives you any pointer, and you still have to call free() on it.
Same, I love the little slot where screws fit and the upper location for hard drives.
sizeof doesn't work the same for malloc() because the type of the returned value is a pointer, and the behavior of sizeof is dependent solely on the static type. For comparison, calloc() is specifically defined as "allocates space for an array of ... objects" in the Standard, but since return type is still void*, the caveat with sizeof still applies.
I would think that recommendations from patients who got well and stayed well after using taking it would be the best advertisement for Paxlovid.

Are they in such short supply?

Ivermectin and Hydoroxychloroquine seem to have no shortage of supporters,and in the case of the former, whether horse strength or not.
> I think that the batteries on the floor will be colder, so are prone to lose charge / fail faster (internal discharge through plates).

Cold is good, as long as the air is very dry. It will reduce self-discharge.

> Being colder (due to being on the floor) could also bring water vapor condensation on the battery surface, so that could be a path of external discharge (between the battery terminals).

Bingo. Warmer air holds more water, and as the temperature drops, because cooler air can't hold as much water, it will condensate out and form droplets. Water and moisture are bad for cells, even humidity is bad. A garage is usually not climate controlled. Some awesome folks do climate control their garage, most don't though. Whatever the %RH outside is, the garage will follow. Most US states have a surprisingly high average %RH.
3. Be aware that programmers tend to be bad at judging what is “obvious” about their code.
I'll look for a tool that mirrors all my repositories (i.e. only forks). If I can't find one, I'll write it myself.
The HN community seems to be falling off the pace. This is an extremely significant release which many tech circles are buzzing about and meanwhile there's crickets on HN.

(Or if I was to be less kind, I might suggest that HN grew up in symbiosis with the wave of VC funded server based software and the software 'unicorns' behind them with monetisation stings in their tails, and Keet's P2P server-less approach is in antithesis to everything in that disappointing epoch.)
Bob Sapolsky's Stanford Biology lecture series is... amazing.

A rare combination of both extremely important and extremely interesting.

If you watch just 3 or 4 minutes, you'll struggle to stop watching.

https://www.youtube.com/watch?v=NNnIGh9g6fA
Everyone born after 1972 is younger than man.
I think the struggle is people don't respond (convert) on those platforms for whatever reasons that are inherit to their audiences or the app itself. If users don't convert then businesses aren't going to spend on ads. I work in marketing and Twitter has always been hard to have any sort of positive return on. Big brands can afford that but the millions of smaller businesses can't.
Of course, there is not a reason why the manual page cannot have images and figures. The whole PIC language exists to put diagrams into things like ?roff, and it was at one time de rigueur to format the manual pages to postscript and send them to the printer. It was also common in later times to generate PS or DVI output and view that with the appropriate viewer. Honestly viewing the manual pages with a plain text pager is the new, worse-is-better method.
Do you do this in place of unit tests (where you have to mock/stub the DB interactions) or do you do both?
There already are fire trucks for that:
https://www.sfchronicle.com/local/article/Meet-Kiri-the-tiny...
'Here’s a brief rundown of cities’ housing element status by yimby activists who have been pressuring suburbs and cities throughout the Bay Area to abide by fair housing and re-zone their wealthy enclaves.'

Should really be 'Yes In Your Back Yard' activists, not 'yes in my back yard'. Few of these 'activists' want to be sardined in with new, noisy neighbors in reality.

How are the utilities infrastructures going to cope with all these extra water and effluent issues? California is pretty old and rickety underground, especially the SF sunset district. You can probably add smelly to noisy in these 15 minute car less city areas.
> Minimum parking lot size requirements

This one irks me the most. we have 8 parking spots for every car and giant shopping malls are surrounded by parking lots that take up twice their size and are 50% empty for 95% of the time (more if you count night time)
Well the first step is to get Amazon to part with their lucrative closed source software.
I recently built an arcade/puzzle harvesting game called HARVEST MOVE playable in your browser (On any device with a keyboard) on itch.io. The link : https://jslegend.itch.io/harvest-move

I used the kaboomjs library which is pretty easy to use.
>people without ADHD

How is that defined for a start? How is it measured?

I can have ADHD if I want amphetamine, the people diagnosing it and prescribing the drugs have obvious incentives to do so. That's the reason for the shortage in the first place. Same as with the earlier opioid epidemic. Should we presume that suddenly there was a massive increase in pain patients - or was it rather an increase in prescriptions?
> This is the only paradigm that we know works for language synthesis.

No, it's the easiest paradigm we know works for language synthesis. The other way to synthesize language is to understand what you're saying. This is "old-school" AI (we wouldn't even call it AI now), done with if statements, expert systems, and queries of a robust, structured data model. The bullshitting capabilities of neural networks have skyrocketed so far as to dwarf the "expert system" approach, but it's still there, slowly getting better, and still the right choice for many situations.

What I'm excited about is combining the capabilities of both. Right now there's a huge gap between the two.
Where's the case?[0] I also don't see the point of lowering the temperature of a plastic battery lid. It's an insulator. I guess it would keep dust off it, though.

[0] https://d3as1itr0z6zbr.cloudfront.net/assets/marketingConten...
Same thing happened to me. I didn't have a habit of it; I just used my teeth one time to pull a piece of torn fingernail that was catching on fabric, and my mother happened to see me and freaked out about it.

I still remember the taste of the nail paint and wondering who decided that this should be a commercial product. Did your bottle have a picture of a traffic light on it?
try not to cry, cry a lot, and then resolve not to vendor lock yourself to a black box data store next time.

jokes aside, redshift is based on pg^1, you can try an older version to get some semblance of it running locally.

1. https://docs.aws.amazon.com/redshift/latest/dg/c_redshift-an...
Amplitude Modulation (AM) is a transmission signal format. It works by modulating the amplitude of a chosen carrier wave (the frequency you tune in to). Your receiver filters out the carrier wave and leaves you with an ordinary sound signal.

It is also a genre, in the sense that it is almost exclusively used for news and talk radio. This is because the bandwidth available on AM bands is not really suitable for rich content like music.
Gitea has a cron task that pulls-in changes on an ongoing basis.

If a snapshot suffices, a once off "git push" or "git clone" works (but that's not too far off from downloading a tar ball, is it?). If you want to have a up-to-date local copies of multiple repos, a SQLite-backed Gitea instance is the simplest solution.

An added bonus to using Gitea is flexibility in mirroring LFS objects, which can be sent to S3 or minio
Twitter was doing $5 bill pa of ad sales... Snap is doing over $4 bill pa. Twitter was sold for ~$40 bill, Snap is currently at $18 bill market cap.

That isn't notoriously struggling. The statement that the ad component is relatively easy is borne out by the facts. There are zero companies doing lots of ad revenue with very few users, and practically every service with hundreds of millions to billions of users spending their time looking at said service is doing significant ad revenue.

The only way one can think they struggled is if compared to the two wildly outlying, greatest ad revenue machines in the history of the world.
how do you know that what your select statements return is correct? on a real database?