skysight-inc/HackerNews huggingface dataset:
I've seen many iterations of this type of debate by now, and learned to recognize the patterns. The people arguing for the ostensibly simpler solution are really asking you to trust their ability to architect apps out of simpler building blocks without using an abstraction that they don't like. This can work, but it often leads to situations like someone writing a bespoke system, then leaving the job or otherwise imposing extra complexity on the team. In the immediate term, what often gets overlooked is

- The ORM is an externally maintained open-source project with a plurality of contributors; "just write SQL" is not

- The ORM is designed to support the full lifecycle of the application including migrations; "just write SQL" is not

- The ORM is documented to be legible to newcomers; "just write SQL" is not (for all but the simplest of applications)

- The ORM is composable and extensible with opinionated and customizable interfaces for doing so (I've lost track of the number of times I've had my mind blown by how elegant and smart Django and SQLAlchemy's query management tooling is)

- The ORM has a security posture that allows you to both reason about your application's security and receive security updates when bugs are found

- The ORM is a platform for many other modules responsible for different layers of the application (DRF, OpenAPI, django-admin, testing utilities, etc. etc.) to plug into and allow the application to grow sustainably

I now try to guide people to a middle ground. Yes, both Django's and SQLAlchemy's ORMs can be annoying, have performance issues, etc. But for large applications maintained by multiple people over time, their benefits usually outweigh the drawbacks. Both have extensible architectures that allow customization and opinionated restriction of the interface that the ORM presents. If you're unhappy with your organization's ORM, I suggest you try that route first.
This. It throws the idea that MS is extremely averse to using customer data for these sorts of things into great doubt, doesn't it?
Argentina devalues peso, raises rates after shock primary vote
3 US military services without Senate-confirmed chiefs for first time in history
Common mistake that I don't think the author got right either, is that if you want something to happen at a future local time time, say 2PM in São Paulo at some date next year, you don't use UTC + a timezone, you use local time + timezone.

Timezones are not immutable, and timezone database updates happen every year. Only if you track dates that happen in the past UTC makes sense.

In some cases/jurisdictions they change DST quite late so you'll only know with certainty what UTC time corresponds with what local time a few weeks in advance.
Monorepos actually work better at small scale than at Google scale. I think it's nuts that individual startup founders actually consider microservices; if you are validating out a software product idea, write a computer program, the very simplest one possible, to prove that you can do it and get the general shape of the architecture before you start dividing it into microservices.

I usually see the pressure to split into microservices appear around 20 engineers, just as your single repo is starting to get unwieldy. Knowing that the big companies use a monorepo is pretty important information here, because it may prompt you to invest in tooling to make that one repo less unwieldy rather than splitting into many small repos that will be very difficult if not impossible to merge back together again.

Google doesn't actually plan for infinite horizontal scalability in data. The framing I've found most useful is [Jeff] Dean's Law: "Plan for a 10x increase in scale, but accept that sometime before you reach 100x, you will have to rewrite the system with a different architecture." The reason for this is shifting bottlenecks: as the system gets larger, different aspects become the bottleneck to future scalability, and each time the bottleneck changes you usually need a different architecture. But by planning for an order of magnitude growth, you ensure that you're not artificially introducing bottlenecks, and that you have enough headroom to actually discover the new bottleneck.
And discord.com !== discordapp.com or discord.gg.
The CAP theorem says you can satisfy two of C,A,P, not that "it's impossible to reliably satisfy anything".
I’ve had great luck with conventional commits by just ignoring half of them. feat, fix, chore, docs - that’s enough to cover a LOT of cases.
Are you thinking of Mr. Brainwash?
> Why would a human be needed to interpret anything, if the detection can be done by software?

ECG machines already do this based on the electrical signal data rather than using a picture of the ECG.

> As for getting access to an echo, why wouldn't it be possible to also have that done by software?

You need an ultrasound machine which at the very least is a point of care model (~$1-2000) as well as an operator competent in acquiring the images. Ironically if you have one of these the software already exists to do what this model is doing with higher accuracy and provides substantially more information.

> Then for ACEi, if people already can easily purchase illegal drugs, why do you think they won't be able to buy ACI?

I can't imagine a location having a healthcare provider, ultrasound machine and ACEI accessible while still using an ECG machine obsolete enough to require this.
Show HN: Display a chess position in Anki without any addon
There are quite a few libraries to display a chess position in a web page, but I couldn't find one without dependencies so that I could make an Anki card template with it.

There are Anki addons for that purpose but I found them too complicated. I wanted something short that would fit in one page.
Federal Filings: Michael Burry shorted the market with $1.6B
4-Cylinder Mercedes-AMG C63 Sales Reportedly Utterly Disappointing in Germany
Disney is under some pretty serious financial pressures, but it's not for sale. The most profitable part of the company is the parks, and they will never sell those. But what might be for sale is some of the IP - eg. Lucas Film, Marvel, or Pixar. But what I'd expect to see first is some sort of license where Apple TV+ gets Disney Plus content shortly after it's released on Disney (or maybe they get rights to distribute after a series has completed on Disney Plus.) That would help Apple get a real handle on the revenue opportunity there and if it works, then make a play for overall IP ownership (assuming that Disney gets desperate enough)
Would be awkward for moving sports. My first thought upon seeing this was that it would be a real improvement in the Melee reaction tech-chasing meta.
> I wish this didn't need to be explicitly specified, but "someone else could harm people" isn't a defense for you actively harming people

A statistical inevitability is a defense for something. The world doesn't have perfect things.

Stop trying to frame something bad just because it isn't perfect. If you manage to stop that, then it would be possible to have a constructive discussion.
With our indexing approach, it only costs a dictionary lookup to get the next valid tokens during each sampling step, so very little latency.
The only popular choices: Typescript, Java, Go (although I don't think it is that popular as a webapp backend language) or C# (I think).
Burger menu is broken on mobile.

I wasn't able to see much by clicking around.
C# is getting some strange design decisions of lately, see inline arrays, and interceptors.

Yeah, they had plenty of hindsight, and still....
The feature already exists [1].

[1]: https://github.com/ajayyy/SponsorBlock/issues/547
It's a tangent but a good one.

Machine code, at least x64/aarch64/amdgpu and the like, cannot be considered statically typed.

1/ there is no static checker

2/ if there was, the interpreter would run the failing code anyway

3/ memory can be integers, floats, machine instructions all at the same time

4/ registers overlap, e.g. writing to a 'i32' probably zeros the adjacent 32 bits in the same register

5/ instructions on the same register sometimes refer to floats and sometimes to integers

It also isn't dynamically typed, though a kernel might kill the program or hardware crash on some operations.

I think it's most usefully considered untyped in that there's no ahead of time verification and there's no runtime checking either.
CSS can be complicated because the problem it solves is complicated, not because it is a bad solution. Using a more constrained CSS is completely valid if it works for your project.
The only language I can think off that does the right thing is Eiffel (https://bertrandmeyer.com/2010/02/06/reflexivity-and-other-p...)
Beaver-like dams can enhance flood management for at-risk communities
Most (all?) states have Eminent domain rights. They would have to pay fair-market value, but recently PG&E was bankrupt so...
I've always wondered if fighter pilots ever had a system to pump different gases into their masks whenever they encounter a high-stakes situation.
Good catch! It really is a combination of guidance guaranteeing JSON output and OpenAI getting it right a good majority of the time[0]. But yeah, I can see how it can be frustrating that the JSON output is not guaranteed by the docs.

[0] >>99% in my experience
Yeah. And then regulars will argue for you that changing identifiers but otherwise copy and pasting code is perfectly cool fair use regardless of your codes licensing (I do not license any of my code for free corporate use, for example, but apparently, as long as chat GPT outputs the exact copy and paste of my code with a few things slightly changed, it’s cool).
"Actually, RARP worked quite fine and did the same thing as bootp and DHCP while being much simpler, but we don't talk about that."

RARP is basically dhcp but only for your IP address. DHCP/bootp won because you sort of need a bit more than your ip. It was also easier to manage.

RARP probably still works mostly.
> Why are you still working on it after a week!

That's a failure on the developer's communication. If everyday you find a new challenge, then everyday you must communicate that new challenge.

Code changes/features is not one to one. It's a bunch of changes to provide one feature. And remember we can at best estimate the time it will take us. Estimates are often wrong because of things we didn't know that we didn't know.
In what way was constitutional law volatile during Trump's term?
Well, the science shows that this was the hottest June and July in something like 10,000 years, and the oceans are the warmest they’ve ever been. Most of North America is in a drought.

Is your answer that unless we can draw a direct causal link with certainty, these things must be treated as totally unrelated?
Be better if he just paid taxes.
> Won't a photon climbing out of a huge gravity well have a huge redshift, thus confounding estimates of distance from us and estimated age?

Of course it will. It will also have a redshift related to the expansion of the space it's been travelling through. Both of those corrections are absolutely part of the model. It's not nearly as simple as "Astronomers forgot about General Relativity!".

But I guess it's true (to be clear: I'm just an amateur in this field) that the ΛCDM model for cosmological evolution that we've all been looking at for the past decade or two isn't holding up well at all. It looked like it was pretty much there and just needed some fine tuning. Then we got a bunch of new data and everything's a mess.

That's kind of exciting all by itself, though it's also leading to a bunch of nattering from the existing iconoclasts (MOND nuts in particular) whose theories are also not working very well to explain JWST observations.

New insight needed, basically. We're all watching for updates.
It's solved, in that I'm never going to do better than zoneinfo and I'm not going to go crazy trying.

https://en.wikipedia.org/wiki/Tz_database

https://www.iana.org/time-zones

I think of this as "difficulty snap back": Things can only get so difficult before everyone punts and uses some external library.
It's in a sibling post about type systems, not in the op, and I have an off by one in where I have replied to
Had been using popfile for years before gmail and it had always been great.

I think that's also my earliest encounter with the conception of "local web ui", while everything else at the time needs some this for configurations. It's also truly cross platform as it's written in perl.
Google's penchant for killing promising products is 100% the result of poor incentives. People are incentivized for launching challenging projects, but they are generally not responsible for the bottom line (which is going to be dwarfed by Search Ads revenue anyway) or for user happiness & brand loyalty (which is challenging to measure). As a result, lots of promising and exciting products are brought to market and then killed, as the easiest way to bring new products to market is to cannibalize the stuff your predecessors did and show how great your alternative is instead.
The real issue isn't that they may use customer data for these things. It's that they may use customer data without getting consent first.
sortable_fields = ["name", "age", "gpa"]

selected_filter = sortable_fields[form.filterIndex]

if form.sortBy == "asc":
query += "ORDER BY {} ASC"
elif form.sortBy == "desc":
query += "ORDER BY {} DESC"

Doesn't have any opportunity for SQL injection unless you have rogue programmers able to change code running in prod.
I think the idea is you don't bother to unless it actually matters in a given situation, and when it does, you just add more words.

Probably writers get this more easily. I think they are trained and edited constantly to avoid unnecessary fluff, and identify what is pointful atmospheric detail and what it pointless detail.

Does the story actually change depending on what drink dad enjoyed with his morning paper? Maybe if it was spiked, or if it was a pointed aspect of his character that he drank chocolate which others find childish, and he knows it and doesn't care. So it could, but in 99% of scenes I don't think it does matter, it only matters that it's a common thing that people do, and a common setting prop. If the language were not English and the standard way to say "morning coffee" was something else instead of specifically coffee, the scenes and stories all function exactly the same.
Yeah, and our addition to all that is to almost completely remove the cost of determining the next valid tokens on each step.
It's all JSON typically, I don't think you can really compare the two that way. They're both just contracts that you hope are respected.
So this is one of them "shower thoughts", you know, those stupid things you think about while working on something else.That is, purely science fiction.

Can an analog be drawn between galaxies and solar system creation theories, with several orders of magnitudes in time required for formation due to scale difference. That is, the galaxies we see with their billions of stars are actually young proto accretion disks. while mature galaxies will have most of the mass localized in a small(1-2) number of points with a few(~10) point masses orbiting it. a sort of galaxy sized solar system if you will. However due to the scale of things involved all these late stage point masses would be black holes.
Fuel is metered at the pump. Electricity going into a car can't be metered at every receptacle.

For this to work, the metering would have to be in the car, with some government regulated system included in the power management. I think that's doable, but not for existing cars. A GPS could be easily installed in to any existing car, non-invasively, and mileage is already tracked.
Has anyone re-written a classic RTSG with a slower speed of light? Like, Red Alert, but with time dilation.
Tell HN: Google Maps is again requiring wi-fi scanning to enable navigation
As far as I can tell it's an exact copy of the behavior they exhibited last year and discussed in this thread: https://news.ycombinator.com/item?id=30167865

Personally when I turn off my Wi-Fi I want it to be off, period.
Let's say I described steps to hack on some Go package. When installing libs/programs, go get/install is enough :)
The code the VM spends time checking is different if the source language compiler emits different code, such as if it uses type information instead of discarding it, and different code has different runtime performance.
Anecdotally, as a mountaineer, I love the effect of a little less atmospheric pressure.

Not loads less, above 3000m it starts getting inconvenient. But 1000-2000m my mind feels more clear and focused than at sea level.

I wonder if this is related?
Perhaps California taxpayers make up the difference?
My bad, I think you are right.

I did some more digging and couldn't find stats supporting this either way.

I was thinking more ML eng but it doesn't seem that widespread.
This is the important question. The constitution is very vague on this, how would it be enforced? You might as well invoke the right to "life, liberty, and the pursuit of happiness" and ask the courts to rule on this. I am not sure this ruling will withstand scrutiny. (my other comment in this story)
> While the deal would make plenty of sense from Wall Street's POV, it really doesn't help the end-consumer at all.

Dont think Apple or Disney give a flying f*k what the end customer think... they care more about Wall Street and the money in the bank...
Getting a custom URL for a Discord server (e.g. discord.gg/hackernews) requires 14 "server boosts" which cost $35/year each, so nearly $500/year. There's a discount if you have their premium Nitro package, but even then it's something on the order of $300.

Meanwhile discord.io is free and you won't lose your URL to a crypto scam server when someone forgets to renew their boost. Kind of inevitable that such a service would pop up.
It looks like the title of the post is "Be Jumpy"
I agree with that. Spreadsheets are Turing complete but realistically you aren't really 'programming' to the extent that program languages allow you to unless you're doing so in a locked down environment like you've said. However, it's pretty clear that the "up front costs" of creating basic data analysis and formulas is much feasible in Excel than Python (no need to learn syntax, CLI, etc.) If only spreadsheets could innovate the UI of more advanced features ... maybe it could be the greatest low-code tool of all time, if not already.
*

1 point by rolph 0 minutes ago | parent | context | edit | delete | on: Tips to become a kid's favorite adult

that may be because you are holding it properly, and pointing it in the right direction.

so much of what this variety of predator needs to do involves psychological manipulation of vulnerable people to have opportunity.

Figure out your role

Adam’s Story: “It’s not like he wore a sign saying, ‘I’m a sexual predator.’ He was that cool uncle.”

Come up with a routine for staying in touch

Provide non-judgmental support

Pierre’s Story: “He was someone who was always on my side. When I would get in trouble with my parents, he would tell them that I should come over to his house for the night. My parents could sense something was off—it seemed odd that I was spending so much time alone with an adult. They even asked me about it, but I told them that everything was fine. I now realize that this was all an effect of grooming.”

Have a conversation about boundaries with the child and their parents

Talk about discipline

Brian’s Story: “When I was younger, I didn’t want anybody to be mad at me. I didn’t want my abuser to be mad at me.”
Thats simply not true.

If the economies of scale was the issue, apple would have no problem with 3d party repair shops being able to order components to fix customers laptops. But instead, they actively fight against that.

Furthermore the repairs that they provide themselves where they replace components are jacked up in price.
Well, not all of them deserve to be published. But I understand your meaning.
I don't think only Google are writing unit tests.
Yeah. The presence or absence of compiled extensions is a HUGE factor. Implementation design is also huge.

For example:

Geeqie is an image viewer/manager. It's a fork of the abandoned GQView and is apparently made in the image of Windows 9x-era ACDSee. It's written in C++ and uses GdkPixbuf.

My first prototype for re-creating Geeqie's collection view in PyQt so I could integrate it into a different kind of image management tool was twice as fast at loading thumbnails.

(Something on the order of 20s vs. 10s for loading somewhere around 7000 thumbnails on a 65W TDP dual-core Athlon from 2011.)

I tried quickly benchmarking GdkPixbuf, QImage, Pillow, and the Rust image crate against each other and found that, if anything, GdkPixbuf is a little faster than PyQt... but whatever Geeqie is doing cuts that performance in half.

(And that's with the Python version clamped to single-threaded image loading because I haven't yet written a smart I/O scheduler to allow parallelism on SSDs while avoiding thrashing rotating drives. Experiments with the QThreadPool-limiting line commented out show a speed-up from 10s to roughly 7s, consistent with how much of the overall system CPU capacity was taken up with other things like Firefox at the time.)
That said, I am definitely going to look into this library and compare its results to guidance, since they claim it blows it out of the water (which is very enticing!)
It's not in the store, you download it
That was my first thought. Why isn't this native to Chromium seeing that extensions are such a security/privacy risk.
But then it wouldn’t be discretionary and make headlines. Won’t someone think of the billionaires’ egos?!
and of course, now the market rallies today

this guy had a big win in 2008, which i heard someone made a popular movie about, but otherwise track record mixed at best
> of a rather long article

I utterly despise the current “long form” style where all long form stories start by talking about something old and unimportant.

Sure it’s a nice appetizer to whet the palette. But only if I already know I’m gonna read the whole thing! There’s too much long form for me to read. I want a tastier first bite to see if it’s worth my time.

I blame the New Yorker. Bastards.
IRS still vastly prefers paper vs electronic for receipts.
> disabling certain graphics settings so the mouse didn't lag

the reason there’s lag is because the speed of light has an upper bound. Disable my transparent window decorations is just going to piss me off even more.

The entire idea belongs in the trash. Give me a laptop. This is tech. I like nice tech things. Give me a nice laptop and let me use that speed and latency.

Apologies but the main reason I am so passionate about this is that there’s a large amount of people who actually get used to this and don’t even have a say in the matter because losing their job is also a risk of losing the ability to live in America. The people who tend to implement such a system similarly also probably don’t have to use it as much or at all.
I'm clueless when it comes to HN formatting ¯\_(ツ)_/¯
This is going to get harder unless the US government or US tech companies censor the Internet to block ones that don't follow US affiliated trademark law. Which I hope you wouldn't support.
America’s Most Valuable Companies 1995-2023
> I wouldn't kill time at a fertilizer store if I didn't have a garden, though.

You would if you had nothing to do other than walking into a fertilizer store. Very small chance of happening that to you, but I do like going into stores and see what they sell even if I don't need anything in there for me.

I might learn something.