skysight-inc/HackerNews huggingface dataset:
Yea all major channels used to run logger bots for themselves at least.

Then there were a few "unofficial" ones that just came in and lurked without telling anyone they were logging everything and publishing it on the internet. A bit of a breach of trust IMO.
I think this is the only known benchmark that actually compares different quants: https://oobabooga.github.io/benchmark.html

It's not really all that consistent, but larger models can be compressed more without as much loss.
This is a misleading definition as it makes people believe that if there is a 100-year flood this year, that equal or worse flooding will not happen next year.

Long term observed water levels are fed into a model with normal distribution, and a 100-year flood is then defined as 99-th percentile of the model. This means that there's a 1% chance of a 100-year flooding each year.

Global warming and climate change have an effect that there's a lot more water vapour in air. Same air mass can deliver more rainfall on a given territory, pushing observed water levels into higher extremes, meaning what used to be 100-year flood is now 25 (4% yearly chance), 10 (10% yearly chance) or even 5-year (20% yearly chance) flood.
I believe you're only looking at military deaths.

For purposes of rebuilding, civilian deaths (from all causes, including Germany's national suicide cult insanity shit) are at least as damaging. Similar for all the millions who lived, but were badly damaged themselves - mentally and/or physically.
vigilantism can spiral out of control. While it makes sense in this scenario, it's because the scammer is obviously breaking some law and is criminal. What happens if it wasn't so obvious?
I've worked as a freelancer for a while, and have often worked with mixes of freelancers, permanent employees and everything in between.

I think there's a big difference between bringing on a boutique consulting shop and hiring freelancers who sit together in your office. The sense of ownership and professional responsibility is way higher in the latter case. In fact I'd even go as far to say that many freelancers have MORE professional pride than permanent employees, many of whom just want to draw a paycheck and live their life.

YMMV of course!
Heres my off the cuff take on law enforcement not going after scammers to the fullest extant that I think we can all agree they should…

The US has roughly 340 million people now.

The US gdp is roughly 28 trillion dollars.

Which means that on average the dollar value per citizen is roughly 82 thousand dollars…

Divided by days in year, hours and minutes its roughly 15 cents per minute.

So if we assume 100% of the population is getting at least one scam a day of some sort and that the disruption to thought to get back on track as result of the anger induced is about 30 minutes…

That puts the loss to the US at little over 1.5 trillion dollars in lost productivity.

The US currently spends roughly 840 billion on defense…

So almost twice the yearly national defense budget is potentially lost to scams.

Seems crazy, as I said off the cuff. I would love to see some way more accurate numbers.

But arguing in dollar amounts I think will go a long way to putting the problem in perspective. And who knows, maybe we’ll get to some drone strikes on scammers in our lifetime.
What Vegetable Are You?
I am getting the following error on signup page(https://dashboard.roometron.com/?signup=1) load

The resource at “https://fonts.cdnfonts.com/css/geomanist?styles=28728,28729” was blocked due to its Cross-Origin-Resource-Policy header (or lack thereof). See https://developer.mozilla.org/docs/Web/HTTP/Cross-Origin_Res...

Uncaught (in promise) Error: Unable to preload CSS for /assets/Root-DlLm_k_p.css
a https://dashboard.roometron.com/assets/vendor-BuYneh-E.js:1
I once tried to use sql.js [1] on a static site for full text search. It worked, but the resulting database size for that site was too large for the web, even with things like detail=none and content='' applied, and requiring the user to download a database each time was just no go. (I guess things should work better for sites with less content or those not requiring a trigram tokenizer.)

I switched to Pagefind [2] afterwards before finding out a sql.js-httpvfs [3] fork of sql.js that removes exactly the need to fully download a database (with HTTP range requests). I haven't got the chance to test sql.js-httpvfs out though, but it looks pretty sound and could be much more flexible than Pagefind. (Previously discussed at https://news.ycombinator.com/item?id=27016630 .)

[1] https://github.com/sql-js/sql.js/

[2] https://pagefind.app/

[3] https://github.com/phiresky/sql.js-httpvfs
The same way as with permanent employees. Agree on technical standards and documentation policies from the start. Build a good engineering culture.
Did you bother to check? It's octal, not QSPI, so I don't know if it's compatible. (edit - and 1.8V, inconvenient)
Why do you think it's shallow to care about the usability of basic controls like buttons and windows?
Did you find freelancers are motivated to really learn the business like an employee (hopefully) would? In my experience of having freelancers/contracters on the team they learn things in a very shallow way, just enough to get things working. They also aren't often motivated to make things easy to maintain because they know they won't be the ones maintaining it.
> dedicated MCU for BLDC motor control

During the chip shortage, specialized chips like this were very hard to find. Meanwhile the RP2040 was the highest stocked MCU at digikey and most other places that carried it. The farm robot drive motors don't need high speed control loops or anything. We just needed a low cost flexible system we could have fabbed at JLCPCB. The RP2040 also has very nice documentation and in general is just very lovely to work with.

Also SimpleFOC was already ported to the RP2040, so we had example code etc too. Honestly the CPU was the easy part. As we expected, getting a solid mosfet bridge design was the challenging part.
Intel should never be directing its branding at the end user in the first place. Joe Public doesn't give a rats ass what is powering his device. Ask anyone off the street if they know who AMD are and what they produce. Concentrate on making good product and the device manufacturers will come to you.
You see, it is not because something is logical that we should accept the immorality of it as a fact. You don't need to be evil because the world is full of evil people :)
Related: https://news.ycombinator.com/item?id=41163022
It all depends on execution time. If you run it just a few times or the total execution time doesn't take days, you can do it faster in Python end-to-end.
Pretty awesome. I love Bazel and it seems you're making good use of it. It's such a difference seeing everything hermetically integrated with all workflows boiling down to a Bazel command.
Yeah, well, I thought I could find something about finding the motivation to get to know someone. Alas, I was wrong. This assumes I already want to get to know someone, but that almost never happens to me.

Lately, I've been enjoying superficial things. When you come into contact with something superficial — whether it's people, objects, or relationships — it slaps you in the face with the reality that everything ends. It shows its true face at the first encounter.

The opposite things, the ones that give you deep connection and long-lasting relationships, are the illusion. They provide a false sense of permanence, meaning, or some deep mystical value that doesn't exist. Given enough time, everything will end.

So I'm stuck at the previous step: I don't know how to find the motivation to get to know someone.
I think the question is, will nationalization make things better? Historically, the UK has not done very well with nationalized industries. Maybe this time will be different.
Not my experience: freelancers have often built the initial versions of a product that have then become the permanent version. Even products that start as prototypes, if not total trash, often end up evolving into real software projects.

Why throw away software when you can iteratively improve and build on it? Unless the tech stack was wrong.
> Nor do they want a 3rd party browser phoning home with user data.

Then why aren’t chrome, Tik-tok, etc. banned?
I've got half of my mind to use this as a search for legal documents and "pretend" it's an LLM.
A whole beach of sand,every grain a unique object,influenced by water,milled from a clifffactory.No other way to model a holiday..
The main issue with ARC seems to be driver support in specific games, DX11 being particularly problematic.

Intel basically have to catch up on the ~10-20 years of kludges that AMD, Nvidia, and game devs had already implemented when the games were released.

They've been making strong improvements to their drivers though.

Their iGPU is great for home media servers. Low power draw, QuickSync can handle multiple 4k transcodes, and one less part to buy.

iGPUs still aren't a great choice for gaming on desktops, even the latest AMD APUs perform poorly in comparison to the cheaper dGPUs.
Ask HN: What technical podcasts do you listen to?
Hi HN, I couldn’t find good technical podcasts other than The Changelog.

Please notice that by “technical” I mean podcasts about tech itself, not tech businesses (those are easy to find).

I’d love to hear more technical content, please help me out.
I know you're asking for advice and not looking for someone to hire here, but the company I work for does just what you are asking for: Creating custom made software for B2B companies.

Check us out at www.bizzomate.com

We are focused on low-code solutions but we try to understand the customers needs through service design. We also have our own business rule engine that might be useful to your case. We also have experience building mission critical ERP-systems.

Anyway, check us out and feel free to contact us!
> Nim looks fine, so does Python, so which one do I chose?

Assuming you need to use libraries for stuff, you choose the language that has the better ecosystem, more users and more StackOverflow support. As a company you choose the language that makes it easier to hire devs in, and move them around from a project to another. Only when execution performance trumps all other concerns you select the faster/stricter language, and only for mature projects not for a POC which might be thrown away soon.

So you use the strict/performant languages for mature, execution intensive code that doesn't need much library support and where you don't need to hire many devs.
I you still need some help after reading all the comments, feel free to reach out, i will consult you for free to get you started (or maybe even after).
There is a functional core in js, and as such it might be an idea to take a look at common OOP design patterns and how they translate to an FP approach.

This is Clojure based, but there is a lot of similarity to js once you get past the syntax: https://mishadoff.com/blog/clojure-design-patterns/
> but would not bet real money that the colors I'm displaying are close to real life

Don’t overthink. Light knows only of wavelengths. Our brain is where colors exist. Everything here is subjective, trying to approach what human eyes would perceive from the original subject, or not - photography is an art, and only sometimes the goal is to accurately represent what’s in front of the camera and, very often, it’s the opposite.

When scanning originals, recording the originals in the most accurate way possible is desirable and, for that, I’d suggest using multiple (as many as needed to capture the response curves of the pigments) narrow bandwidth emitters and sensors tuned to those wavelengths. From there you should be able to reconstruct what a human eye would have seen through the lenses, but, again, what we see is nothing but what our brains make out of the light hitting our retinas. There will never be something that’s perfectly accurate.
I currently use Aiko’s free iOS app which does offline transcription using OpenAI’s Whisper model. It has been working pretty well for me so far. It can export in formats like SRT, TXT, CSV, JSON and text with timestamps too.
https://sindresorhus.com/aiko
> But as for your other point, yes, researchers are different from people in other industries because of the high barrier of entry into the field through years of schooling, and the uncertainty of the work. Anyone that’s motivated primarily by money wouldn’t go into pharma research, they’d go into CS or finance straight off university.

Careful with generalizations like this, you're not far from "all CS people are neckbeards" with this "all researchers are good people". My rule of thumb is "every large enough group of people is very similar to any other". This comes from the Central Limit Theorem.

Regarding you thinking researchers don't get paid from patents, here you go:

> “Recently, our organization at OpenTheBooks.com forced NIH to disclose over 22,100 royalty payments totaling nearly $134 million paid to the agency and nearly 1,700 NIH scientists,” Adam Andrzejewski, the group’s founder and CEO, wrote in a May 9 report. “These payments occurred during the most recently available period (September 2009 – September 2014).”

The article is mostly about a specific claim they made about Fauci but you can see even just at the NIH there's a lot of money being made personally by researchers or ex-researchers like this. Which is not inherently bad, but we should keep it in mind.

https://www.factcheck.org/2022/05/scicheck-some-posts-about-...
The interesting question is: What will Sonos change to make sure that such a desaster will not happen again? Besides some software engineering challanges I see a big failure in the approach to user experience design. It looks like hardly any real user was involved, but that is key to UX design.
> I learned a lot about JavaScript (and Node.js) by writing shell scripts in Node.js.

Totally! This will give you lot of insights into low-level working of JS. Of course, some Node.js specifics too. Reading from STDIN, parsing strings into structured data etc.
It depends! I've probably stuck around longer term more often than not. You can also write contracts that enforce the term if you want. Agree on things like this up front.
I did a lot of coding with C++ and ended up moving to 100% JavaScript for our game creation tool Construct (www.construct.net).

I'm now a huge fan of JavaScript - I think it's a really underrated language. People often still talk about it like it's 2010. The modern language features are amazing, the performance is incredible - including the GC performance - and it's memory safe and no need to worry about allocations. If you want static typing, use TypeScript, which is also very good and is basically a static type layer over JavaScript.

My advice is look at the modern language features which now have wide cross-browser support, and be sure to use them. It can significantly change your coding style for the better. By that I mean things like modules, private class fields, nullish coalescing, optional chaining, async/await, map/set - some of which are fairly old now but are still getting new improvements worth knowing about.
TBH it sounds like you need a tech business consultant (an actual consultant, not just a contract programmer) to help you work through this.

If you add your contact details to your profile I'm sure some people will contact you.

Ideally you'd want someone with a postgrad in business and a decade or so tech experience to help guide you through this (cough)...
simply false and a simple search brings up more results
There's JavaScript The Good Parts by Douglas Crockford.

I've read the book and watched a similar series on YouTube.
That is fair enough, but using Python as glue with existing C libraries is the acknowledged use case for Python. I think it is even admitted in this thread.

But for that use case the claimed performance improvements in pure Python (which I can rarely replicate) are not relevant. They could leave the interpreter as it was for +20 years.

For web applications, migrating to Go or PHP should not require much thought apart from overcoming one's inertia. Hopefully the scientific stack will be rewritten in better languages like Go, Lisp, Ocaml, etc.
Think about recent Boeing adventures. I will put these doings definitely in the evil category.
Scary. It’s an alert though, not a warning yet

>Information from the agency on Nankai Trough megaquakes is delivered at two levels — an alert and a higher warning. The weather agency issued the lower level alert on Thursday, urging people to be prepared for cases requiring evacuation. No evacuations are required for the alert level.

> A warning means people would need to be on higher alert, and officials would urge those who wouldn’t be able to evacuate quickly to do so before any large quake occurs.

https://www.japantimes.co.jp/news/2024/08/08/japan/nankai-ea...
How’d it go?
Technically, they’re still a creditor, and creditors get special privileges when it comes to things like that. So, while I would refuse, it’s probably not a violation of federal law.
literacy is a really good analogy here
I think they're talented, but they got their rise in a time when social mobility was generally easier. Once entrenched in popular culture, it becomes a matter of maintaining momentum. Digital music production has democratized discoverability, while people's attention spans remain the same.
I would recommend using Typescript and a strict linter if possible. TS is essentially modern Javascript plus static typing (so by learning TS, you also learn JS as a side effect), and strict linting rules will reject outdated Javascript features and nudge you towards the 'good parts'.

With those two things (a static type system layer, and strict linting) JS is actually a quite decent language nowawadays, especially in VSCode (e.g. see: https://code.visualstudio.com/docs/languages/typescript).
Both Google and Microsoft had plenty of time, resources and reasons to develop their own industry, they didn't, instead held hostage an insane amount of cash

Now they pay the price

That's what happen when your government consists of clueless warmongers

"Oh no, Samsung is developing their own homemade industry, sabotage! quick!"
still much more involved than picking up the remote and pressing a button blindly
Ah yes the classic SWIM defence.
Now that would be a violation of federal law. I would inform the store that my wife is a lawyer, and we can have her law firm contact their law firm to discuss why they are in violation of federal law.

Then I would ask them if they want to reconsider this possibility.

Now, if you actually want to use this tactic, I would suggest you look up the federal law in question, so that you can quote it by section and paragraph. Maybe keep a printed copy with you.
You're right, I over generalised a bit, it's going to mesh with some better than others.
I think you still need to do the templating in PHP, because you usually want to escape html chars. And because you want to seperate code and layout. Having "Hello <?=$name?>" in the template is usually not what you want. It is also harder to read than "Hello {NAME}".

Let's test templating in Python and PHP!

template.py:

def main():
t = 'Number {NR} is cool'
i = 10_000_000
r = 0

while i>0:
x = t.replace('{NR}', str(i))
r += len(x)
i = i - 1

print(r)

main()

template.php:

<?php

$t = 'Number {NR} is cool';
$i = 10_000_000;
$r = 0;

while ($i>0) {
$x = str_replace('{NR}', $i, $t);
$r += strlen($x);
$i = $i - 1;
}

print($r);

Results:

time python3 template.py
218888897
real 0m2.854s

time php template.php
218888897
real 0m0.994s

time pypy3 template.py
218888897
real 0m0.795s

So for this use case, PHP is 3x faster than CPython and PyPy is 20% faster than PHP.
Strangely enough, I'd be more comfortable answering "Most people squirm/try and get out of answering these" than "Soft ball" questions. Should I, uh, reconsider something about my attitudes?
All of these requirements look good for user security and privacy. I don't want apps to bring their own Blink or WebKit fork with all sandboxing and cross-site tracking protection disabled. I'm fine with apps bringing their own engine with the goal of performance or better user experience. These requirements enforce those expectations.

There seems to be a concern that Apple will use these requirements to ban every single alternative including Blink and Gecko. I doubt that is the case since the purpose of these changes is to allow reliable, responsible players to run their engines on iOS without giving the keys to the kingdom to every app that requests it. Banning Google or Mozilla would not satisfy the EU requirements. Banning BlinkButItAlsoMinesCrypto is fine.

The only additional thing I'd want as a user is transparency. I want to know if an app with a WebView is using WebKit, Blink, Gecko or EngineNobodyHasEverHeardOf.
IInvidious – An Apple II Invidious and PeerTube Client
Yea. My answer would start somewhere along the lines of: "my time is better spent elsewhere"

... becoming more toxic as it's asked more intently.

I don't think people actually want to know this for the vast majority of people, but maybe I'm projecting. I feel we tend to all be rather radical about Our Thing.

The true answer isn't as cute or pedestrian as one would expect. It's not good conversation, I think we're all just looking for compatible crazy - if anything. Emphasis mine/significant.

Edit: My username is a neat example, inspired by Mr Robot. Everyone has their type of hack and weaknesses.
Ask HN: Are databases implementing own memory paging (swaping)?
Are (any or all?) database systems engines implementing own memory paging (memory swaping mechanisms) beside just what Operating System is providing so they can still work even when memory available trough OS virtual memory is exhausted? Or in other words - so they could work on data sets far exceeding size of memory that virtual memory can provide?
What is the risk of just having the conversation naked? We just want to know each other, seeing each other naked would just speed things up, wouldn't it?

Answering private questions means this stranger now has knowledge I would consider "privileged" about myself, which they can use as they see fit. Mean comments? Oversharing with friends? Gossipping?

There's a reason we keep some conversations only between trusted parties, and getting to know which parties we trust takes time. You can't speed that up by skipping steps.
> Hell, the school had to force some of the teachers to give out their PPTs so the students could study them. Those profs responded by printing them 6 slides per page.

Why? I never got why this is made so hard. Isn't the transfer of knowledge the whole point?
The protocol won't die, but the people will.

For me, IRC stopped being attractive when Freenode changed owner. They broke it in two months and with no way to migrate nicks between servers, many lost their registered nicks on the channels that moved to other servers, and I had no want to stay on Freenode for the channels that stayed.

Identity is a major problem with IRC. Losing mine cut a core tether for me, it wasn't my space any more.
Mere presence of bacteria doesn't mean there's action that needs to be taken.
yeah lockstep requires a whole bunch of things to verify and break deadlocks. I suspect you need three processors to do that as well (so you know which one has fucked up.)
I have been using JS for more than 20 years, and I do not like it. There are parts of it I find useful, but I avoid using it as much as I can in any project.

The biggest reason for this being that the execution of JS code it down to the browser rendering the page where it’s deployed. As such it’s practically impossible to get any code to run consistently. This is of course only relevant in my day to day work as a web dev.

That aside, JS has some funny behavior. If you wish toninderstand JS better you could read up on how null and undefined works.

You could also read up on how functions work, they are objects actually.