skysight-inc/HackerNews huggingface dataset:
> I'd sure want to automate all that tedium. I'd want a one-to-many collection too maybe.

You don't actually need an ORM for that. And some of us (I know I'm a minority) actually want to have pure data objects. Some of us (talking about myself again) actually design schema-first - as in, you use DDL and your code just consumes the definition. Some of us don't care about code knowing about relationships which are an intrinsic part of the data model.

> You can use SQLAlchemy (which I wrote) and write all the SQL 100% yourself as literal strings, and still use the ORM

SqlAlchemy is an amazing piece of software, and it is relevant becaise it is actually part of the problem. You don't really have an ecosystem of database abstraction libraries in python, as you have in other languages. The options are SqlAlchemy or Django ORM. Golang? You have 50 different libraries that implement 100 ways of doing the same stuff. C#? You have probably a dozen libraries besides Entity framework that provide different level of abstractions? Java? You got low level stuff up to high level ORMS. PHP? The same.

Python? You have SqlAlchemy, Django or roll your own. Both SqlAlchemy and Django can do raw queries with little effort - but if you're doing this, arent't you discarding most of the functionality that comes with it - namely, code maintenance? If you have a big project with a bunch handwritten queries (because you can do it, and quite easily, I may add), aren't you just ignoring any of the advantages of the orm? If, when you edit a model, you need to also check handwritten sql queries, you shouldn't be using an orm in the first place.

And with SqlAlchemy and Django, there is no middle ground. You either are all in, code-first definitions, or you are in a world of pain.

That is why specialized applications tend to be rewritten in other languages. Because optimizing the data layer alone often boasts 10-100x performance increase, when compared to this kind of abstraction.

> writing SQL for CRUD is really repetitive and tedious

It is. But between that and SqlAlchemy - in most languages, there are options. Not in Python. Between orm and no orm, I'll take no orm any day of the week - at least I can understand the queries.
As this article is from some weeks ago and Huggingface has now implemented Paged Attention in text-generation-inference[1], I would assume the benchmark results would be quite different if done today. Would be very interesting to see more recent benchmarks if anyone has done any!

[1] https://github.com/huggingface/text-generation-inference/iss...
If anyone needs access to the code, you just need to /forks on the web.archive link above and download from there.
i.e. https://web.archive.org/web/20230814150922/https://github.co...
(the cache ID updates when you change the URL)
I think most of Europe above (and in) the alps was cool and wet this summer.
It looks like Chrome might be rolling out a security change around iframing – https://bugs.chromium.org/p/chromium/issues/detail?id=146317... – is there any chance a plugin could be messing with YouTube so much to be iframing it or something similar?

I think a bug is much more likely than what you have suggested.
I think there are two different types of sites you are blocking: (1) those which are just pure spam; (2) news/opinion/etc websites that you’ve decided are not suitable for HN for various reasons (such as being low quality and tending to produce more ideological flame-wars than curiosity), for example Breitbart

I agree that publishing case (1) causes harm (spammers will just use a different domain if they know you’ve blocked theirs.) But case (2) is rather different. I don’t think the same justification for lack of transparency exists in this case. And I think shadow-banning the submission in case (2) is not very user-friendly. It would be better to just display an error, e.g. “submissions from this site are blocked because we do not believe it is suitable for HN” (or whatever). A new user might post stuff like (2) out of misunderstanding what the site is about rather than malevolence, so better to directly educate them than potentially leave them ignorant. Also, while Breitbart is rather obviously garbage, since we don’t know everything in category (2) on the list, maybe there are some sites on it whose suitability is more debatable or mixed, and its inappropriateness may be less obvious to someone than Breitbart’s (hopefully) is
It seems like you have this strange understanding that a perfect emulator works 100% like the original hardware (cycle accurate emulation). As I've already stated, you're not going to get a performant emulator by being 100% accurate, and making some games more accurate in a non-cycle-accurate way can result in bugs in other games.

In a perfect world with unlimited hardware resources you'd be right. But we don't live in that world and instead have to build non-cycle-accurate emulators, so you aren't.
sqlite-utils[0] is a great library for working with SQLite

[0] https://sqlite-utils.datasette.io/en/stable/
Are you sure they shouldn't just be shot?
Someone needs a therapist.
What if a vocalized "click" were enough to set the focus on the thing you are looking directly at ? Maybe just a grunt ?
There's a proposal [0] by Ian Lance Taylor that proposes extending the type parameter constrains union of types to non-generic interfaces too. Indeed, there are some issues with the implementation details, but I'm hoping they get ironed out.

[0] https://github.com/golang/go/issues/57644
Yeah, with this I'm a bit unsure if using coroutines in Kotlin will be worth it?

Coroutines will probably benefit from Loom, but will it be worth writing stuff using coroutines vs just using fibers/loom and write it the "old" way? Or are there other benefits to be had with coroutines?
The fact that the author lists her pronouns is probably enough to offend some people here.
I realise that; also that it doesn't help that afaiui it's been more industry-led than academia.

But I truly am starting from pretty much 'zero', and maybe I wasn't clear but I'm not looking to be 'hero' in the sense of up to date with the cutting edge, or even necessarily putting anything in to practice at all, I'm more interested in the background theory, and fine with that missing the absolute latest extra technique, just want to understand the meat of it better.

A refresher on SVMs & PCA (which I barely remember - I think I could convincingly explain SVMs to someone numerate but non-tech/mathematician, but not otherwise) and then a catch up to roughly what's going on with LLMs & image/video as mentioned would be great.

> I can understand that you might be interested in book form only, I was lile this for the longest time, until I bumped into some really high quality video series that changed my mind to be a bit more flexible.

I enjoy videos for many things, but mostly entertainment, I don't personally find I can learn that well from them, especially more technical/theoretical stuff, sure to some combination of screen fatigue, it being harder to skip around and reference something, and distraction - something seems obvious briefly so my mind wonders, check something in another tab 'just quickly', and before you know it ten minutes have passed, I've been hearing the speaking but suddenly realise I haven't been listening, have no idea what's going on any more.

Obviously they work for some people, that's fine.
So you think secretive measures more often defeat spammers than trusting users? I'd argue HN's content could be a lot better than it currently is.

Content curation is necessary, but shadow moderation is not helping. When a forum removes visible consequences, it does not prepare its users to learn from their mistakes.

I'll admit, I find HN to be more transparently moderated than Reddit and Twitter, but let's not pretend people have stopped trying to game the system. The more secret the rules (and how they are applied), the more a system serves a handful of people who have learned the secret tricks.

Meanwhile, regular users who are not platform experts trust these systems to be transparent. Trustful users spend more time innovating elsewhere, and they are all disrupted by unexpected secretive tricks.
Must have left my flair at home.
Unsure why this is downvoted, I haven’t seen a shred of evidence for considerable “dark” donations to republicans.
> I guess we have to play along.

No you don’t, and don’t blame others for what you do.
Weird stuff happens on the YouTube webpage. My mom called me for help the other day because she couldn't connect to YouTube. She said the YouTube screen partially loaded, but it said she was offline. What? That doesn't make sense. How does a website load and tell you you're offline; if I was offline how are you telling me that I'm offline?

But sure enough, the YouTube app (a single-page application or whatever it is) was loading partially and showing an error telling the user that they were offline. This was with Firefox.
Probably a phishing/malware scan gone wrong then. NYTimes has Twitterbot in its robots.txt which might be related?

Even if it's deliberate, I don't see how people can complain. Google has outright blocked Breitbart for years. They prevent results from that domain from appearing at all unless you specifically force it with site: and apparently HN does the same. Politically motivated censorship and restricting "reach" is just how Silicon Valley rolls. Pre-Musk Twitter did freeze the New York Post's account and many other much worse things. It'd be a shame for Musk to be doing this deliberately, even though it seems unlikely. But that's the problem with creating a culture where that sort of behavior is tolerated, isn't it? One day it might be turned around on you.
There's optimal operating parameters for all kinds of machinery. All sorts of aircraft are sub-optimal when flown in low altitudes and vice versa for other kinds of aircraft. If you buy a Ferrari to just slow cruise around a European city, then you're just driving a very loud float.

Source: experience.
> All of these stem from a lack of knowledge of the self, morality, and the nature of consciousness and morality.

Would you care to enlighten us what exactly is the "knowledge of self, morality, and the nature of consciousness and morality" that you speak of?

Because to me personally it sounds like a bunch of grandiose-sounding poppycock.
It's more akin to gold mining (processing tons and tons of worthless material to extract nuggets of information).
> Also, you got way better character knowledge than they do. You know which friends are low and high risk and will do something stupid with a loan.

Maybe, but you are also blinded by your emotional attachment. I suspect for most people that would far outweigh any benefit from knowing your friend's character.

As far as profiting goes - well is it a gift or is it a loan? Even if you get the principle back exactly you are still losing money due to the time value of money. Maybe your ok with that. Maybe you are ok with not getting it back at all. In which case it is more a gift then a loan. Which is fine as long as you are honest with yourself about your expectations.
LEDs do get dimmer over time, so they should still be replaceable if possible.

A lot of fixtures are big enough to hide a recessed but still accessible box with a USB charger.

USB powered lights would solve a lot of this, they are more durable by far than led bulbs it seems, and the bulb itself would only need to request a specific current via PPS.

No new standards created, all parts reusable in other things, nothing intimidating for a consumer that would require professional service, if it breaks you probably already have a spare, if you want to get more compact than USB C wall outlets already exist.
Yes, I’d guess the Nash equilibrium is everyone chooses red.
There's also a reply to that thread from 6 days ago reporting this same issue with YouTube. The user might be the OP, though.
You can wing it in classical domain by tinkering and reading source code aided with just school level algebra but it does not translate to quantum algorithms really. They will remain impenetrable until you invest into mastering mathematical concepts behind it, so most of the courses you need would be intermediate level math. Linear algebra, calculus, probability theory, some bits of number theory…
Where does your 'right to access information' come from?
While other comments have clearly shown that the alcohol in beer isn't strong enough to disinfect it, the way beer is made is that you first have to disinfect the water you're going to use (by boiling it) and then you store the beer in conditions that stop pathogens getting in. So for those reasons the beer would be safer than water, but you'd have just as much success just boiling some water and using it straight away. The other advantage of beer over water is that if it does get pathogens in it, then it is really obvious, and people know not to drink foul beer [citation needed].
> But if you are writing for 1200 tables

Have you ever managed 1200 "live" (in-development) tables on a SqlAlchemy app? That is impressive. Not only because of the amount of work that entices, but also because you can just read the schema and provide a dynamic object representation of it (think dataclasses, but based on a table schema). Also, if you're querying 1200 tables, python might not be such a good idea. Impedance mismatch at a language level.

> boilerplate code for 1200 classes, yes that's kind of ORMish

Yes, please do explain how a Python ORM can save you from having 1200 classes you need to maintain, plus the need for specialized queries.
I lack experience to assess quality of C# interceptors, so that might be true. I'm just happy that C# ecosystem is slowly becoming less dependent on runtime reflection.
At time of writing, this is 65 blue, 35 red.

My instinct was to choose blue, but thinking about it, red is the safer choice with 100% survival rate.

Am wondering if it is the phrasing. For blue it only mentions “live”, but red also mentions “dies”.

> Everyone responding to this poll chooses between a blue pill or red pill.

- if > 50% of ppl choose blue pill, everyone lives

- if not, red pills live and blue pills die
Not supporting Trump already puts them at the fringes of the modern Republican party, hardly “very Republican”
That can happen when you're offline. They've cached enough of it locally to show you the message.
I think in most systems, calendar is called LocalDate and Wallclock is either LocalTime or combined with a LocalDate into a LocalDateTime.
I'll share an example of a friend who can't open a bank account because their father apparently wrote too many bad checks by opening accounts on see friend's name while my friend was still a minor.

This is a person who works as a teacher at a public school so has a regular job and is a US citizen by birth. The only crime if you can call it that is they don't want to send their father back to jail just so they can have a bank account.
That makes perfect sense: The static content can be cached while the dynamic content is unavailable, therefore the static content will present an error message.
Now imagine that the Chandra telescope has a 1.2 meter diameter aperture that those 19 photons passed through.

That represents 1.13 square meters of light collecting area, peering into that expanding spherical wavefront at the point where it is 26+ billion light years in diameter.

That would be a sphere with a surface area of 2,123 square light years. I wonder what it would add up to if you had the 19 photons for all those other 1.13 meter chunks of area in one place.
did this in 1974 without the Internet or modern software tools

Anyone doing anything with computers in 1974 did it without the internet or modern software tools. It seems to me it was an era where you were either a 'computer whizz' or else you didn't really get involved with computers.

Not saying its not impressive though, I think any programmers from that period who are still remembered now would be rated as 'very very good' by modern standards.
Link to site with full preface and cleaner layout: https://www.orwellfoundation.com/the-orwell-foundation/orwel...
I guess the main problem with the usual "they're a library" defense that IA usually gets to trot out is that their regular books usually are accessible under a lending system - that's to say, they manually digitize the books and don't let people read more copies than they have on file[0].

This system as I understand it doesn't apply to any of their non-book collections (not to mention it only applies to files that IA has uploaded themselves, the archive also accepts user submissions).

Fair Use is very unlikely to apply here I think. The fair use test looks in part at the question of how much of the copyrighted work is distributed (ie. A radio program promoting a song with a short jingle has a much more solid defense than others.) and "all of it" isn't a good defense. They could've put these recordings under their usual lending system, but they didn't and that probably makes them liable.[1]

For reference, I am not a lawyer, so if you think this is legal advice, go talk to an actual lawyer.

[0]: The ebook lawsuit they recently lost was because they disabled all lending restrictions for the pandemic, triggering the lawsuit. The lawsuit itself is ballooned with other crap because the usual nonsense from publishers is a thing, but the grounds for the lawsuit were unfortunately very solid.

[1]: That said, this lawsuit was probably triggered because the judge in the ebook case partially stripped IA of its library protections. The record companies probably are trying to arrange a similar removal of protections from IA, hence why this specific collection was targeted.
> Badly written code, without an ORM, and how it was fixed by introducing an ORM.

Funny how those anecdotal bits never get published, eh? Its always "I shaved my db requirements in half by actually understanding what was going on because my orm is magic". Odd, innit?
Are you implying that internet giving voice to people without power to do violence is a bad thing? Should only strong and powerful be given freedom to speak?
Whether or not they're effective educational tools the fact is that they are used as such in most school districts (in the US) these days so far as I'm aware.

Personally I agree for the most part, in general classroom instruction doesn't need them. That being said they're certainly indispensable for things like research in school libraries, running simulations for science classes, creating digital, and obviously teaching any kind of programming, so they definitely have their place. Having a dedicated computer per student is a huge benefit for less well off communities too. More than a few students won't have one of their own or even a family computer at home and having the school provide that for assignments is absolutely a boon so far as I'm concerned.
What was the reason for a hand-written lexer and parser vs using Flex / Bison?
In music, consonance is stable, dissonance is unstable.
“ Notes that sound good together when played at the same time are called consonant. Chords built only of consonances sound pleasant and "stable"; you can listen to one for a long time without feeling that the music needs to change to a different chord. Notes that are dissonant can sound harsh or unpleasant when played at the same time”
- https://www.earmaster.com/music-theory-online/ch05/chapter-5....

Orbital resonances tend to be unstable:
“Orbital resonances greatly enhance the mutual gravitational influence of the bodies (i.e., their ability to alter or constrain each other's orbits). In most cases, this results in an unstable interaction, in which the bodies exchange momentum and shift orbits until the resonance no longer exists” — https://en.wikipedia.org/wiki/Orbital_resonance

Try curiosity over judgement.
There actually is a relatively simple, if hacky, way to accomplish this: the emulated GTE can push the Z coordinate (and optionally the full-precision X/Y coordinates) of each processed vertex into a private key-value store, using the rounded X/Y result returned to the game as a key. The emulated GPU can then look up the coordinates provided by the game - assuming they were passed as-is from the GTE, which is the case for the vast majority of games - in the same store to obtain the Z values.

This does not seem to be a new approach, as PC ports of PS1 games used similar tricks all the way back in 2000 [1].

[1] https://news.ycombinator.com/item?id=3581350 https://news.ycombinator.com/item?id=29493242
Of the Porches I see on the road, 80% are cayenne SUVs being used to take the kids to school, and the other 20% are stationary in rush hour traffic, ferrying some middle-aged financial analyst to work in London or New York.

I'm pretty sure Porsche knows this. I'd say any car that doesn't account for this fact is poorly engineered.
I was a bit surprised by this:

> For example, suppose you prompt with a sentence "What is the capital of California: ", it would take ten forward pass iterations to get back the full response of ["S", "a", "c", "r", “a”, "m", "e", "n", "t", "o"]

From the content I have been reading trying to understand LLMs, I thought that the output was a token and not a string of chars. What am I missing here?
It's due to the narcotic effects of nitrogen that GUE (Global Underwater Explorers, a diving association rooted in tech/cave diving) uses EAN32 (32% oxygen) as their standard breathing gas.

They're also more conservative in their recreational diving depths: 30m (100ft) is the recreational limit, beyond that technical certification and a helium-based breathing gas (e.g. Trimix) are required.
>There is nothing to stop you and your colleagues from simply declining to log in until the company's attitude improves. They can threaten to fire you, but they were already playing that card

the idea behind a Union is that they can't retaliate agaisnt you once you formally announce a legal strike. It's a term written in a contract that the company agrees to. Breaking it is the same as any other contract breech, which should have enough sanctions to make it the worst option.

That's how congress ruled those railroad strikes as "illegal". When they do that you can still "technically" strike, but you're no longer being paid and/or are at risk of being fired. Maybe that still is an avenue to look into, but many cannot take that risk.
I wrote a program to do symbolic integration as my undergrad project around 2010. I had (still have) Bronstein's book which I had pored over for the best part of a year. I had also visited his website[0] and found tons of useful info there. You know when you read so much of and about a person you almost feel like you know them?

It wasn't until right at the end of the project I happened across an obituary[1]. He'd been dead the whole time. It was a very strange feeling. Like I had been in communication with a ghost.

It's such a shame as I feel like he probably would have finished the Risch algorithm eventually.

[0] https://www-sop.inria.fr/cafe/Manuel.Bronstein/
[1] http://www.ccas.ru/sabramov/ps/PCS56.pdf
> Because "go live somewhere else" is unsustainable in the long run.

You want to ignore the underlying political problem with “go live somewhere else” and it is the only reason it’s being discussed in the first place.
There is a general phenomenon that countries who pioneer a concept or technology and start to deploy an earlier iteration at great scale seem to stick with the older version while younger countries "skip" ahead. Good example might be the magnet stripe card payments or check books common in the US but almost never used in Western Europe anymore.

I suspect Poland's precarious positions in the 19th century might have affected its development of central banking and currency in such a way as to make society less "stuck in its ways".
I suspect they’re simplifying things