skysight-inc/HackerNews huggingface dataset:
“A friend made a 1-bit synthesizer”

Hi John :) https://github.com/74hc595/1-Bit-AVR-Synthesizer

I also spent a good chunk of time reverse engineering and reimplementing the 6800 machine code* a while back. It’s pretty brilliant. No hardware timers, everything is software delay loops with controllable cycle counts. (Which is why it’s a bit of a challenge to emulate these sounds; there’s no fixed sample rate other than the CPU clock frequency!)

There are several algorithms. One uses a wavetable approach and then evolves the timbre of the sound by subtracting part of it gradually, until things wrap around and start going crazy. And then there’s one algorithm (which makes the coolest sounds) that is basically two pulse width modulators that interact in some very weird way that I could never figure out.

I got to talk to Sam Dicker and Eugene Jarvis about the sound code when they were at California Extreme many years ago. They brought a printout of the original source code on tractor feed paper.

*The games ran on 6809 processors but the sound boards used a 6800.
Remote Timing Attacks on Efficient Language Model Inference
Thanks for asking this -- your question made me realize I don't have much experience with pain at all! The answer is pretty run of the mill stuff -- I got my finger stuck in a door-crack-like spot. Ugh.

Childbirth pain is not horrible and sharp like that. It feels a lot more productive, so to speak. It's not right to use the word "pain" to describe both things actually. Without that pain, you'd have to depend upon a nurse to tell you when to push -- there would be a delay between her seeing the monitor and asking you to push. It all seemed very unlikely to work to me (but of course it works). But if you feel the pain yourself, you will know when to push.

Also it comes in waves. After each wave of "pain", you get completely pain-free rest periods. But of course towards the end when the baby actually comes out, the rest periods shorten and the pain periods lengthen so it all kind of rolls into one. Many women are not so lucky as me and have prolonged labour, lasting into days. Mine only lasted a few hours so it was fine.

I completely agree with the other person who replied to you. Personally I said no to anaesthesia because they put that in your spine -- shudder.
They used coal, but apartment blocks use considerably less energy per unit living space vs detached houses thanks to their lower surface area to volume ratio.
I haven't lately been writing 'useless' stuff, but have done some things a few months ago.

I never finished it, but this got me thinking again. I wanted to try PyGame, never doing any game programming before. However, I started on a lot of the logic around a game where a bunch of introverted employees in a company are forced to participate in some sport, specifically a football game, with robots 'encouraging' game play. The purpose is to stay far away from the ball while all other players chaotically run away from it too.

Last year, I spent an inordinate amount of time writing a Makefile and scripts to prevent re-runs when distributing files and configs to various VMs. I used it a little but there was a problem with it that I couldn't solve, so I gave up (and funny enough, I just wrote a tiny bash function to do all what I did before with that :D )

I wrote a tiny 'time-series' database in bash. It only supported two fields - probably something to fix. But, I wrote enough to query it and aggregate results into time ranges. I never used it for anything, but I was thinking of writing an nginx handler to call it to see page hits on my blog (the site generator which I also wrote myself, which is probably less useless, but not that useful with things like jekyll :)) I also wanted to play with C and what came out of it was something of a unit test tool that I based off of the Mac OS X version of assert() that prints out in a semi-TAP format. Useless because I don't usually write C code :D

I recently wrote a web scraper for a site with stuff I wanted to download and parse into some structure, but have no clue what to do with the data now that I have it :) So, it's in the status of useless at the moment.
How do you know he's not talking about Isreal? Or about whichever side of the dumpster fire in Yemen that the CIA is undoubtably helping out?

We absolutely play world police way more than we ought to for our own good.
I vaguely hear a lefty in a leather jacket whispering sly warnings about neoliberalism. I may have even heard a hint of “I told you so” but maybe that’s just my imagination.
Back when people only used fonts that were preinstalled, comic sans was the default whimsical choice. In certain environments it got old fast.
The 'no free lunch' theorem is almost useless, because no real world data set is made of white noise.
It's from April and he didn't get any response in either SO or the mailing list?
True, I've experimented with generating cards but was't happy with it, definitely worth checking with newer models and multimodality :-)
That... would not benefit the government's constituents, tho.
Comic Sans getting all this hate… Papyrus is feeling left out

https://youtu.be/jVhlJNJopOQ?si=8qENZvgeBrRdB-xp
Wasmer 5.0-Rc1 Adds Experimental Support for Wasmi, Interpreter Mode Support
It's for listening to your prometheus metrics: http://promaudio.5pi.de/
Startup promises to recycle nuclear waste into new energy
By skimming docs I notice that you use <%- %> tags for outputting un-escaped strings. In contrast ERB uses <%- and -%> for trimming leading and trailing whitespace of the surroundings. In security sensitive context of escaping output you might not want to appear as mimicing ERB while deviating at the same time. A user might end up using un-escaped output all over the place by accident.

But great work overall!
I got the impression that she had the surgeries in the US and that she was employed at Adam Savage's Tested at the time.
Therefore, I had always supposed that her employment would have involved health insurance.

If she had gone back to Sweden to do it, the surgery would have been free but she would first have had to reestablish herself in Sweden and then struggled with waiting time for her first doctor's appointment and possibly multiple referrals before she would have been put on a waiting list for surgery ... during which time her condition could have worsened. (I live in her old home town and have gone through something similar...)

If she had been diagnosed at a hospital in the US she would already have been in its system and would probably have been put on its priority list right away.
Not related to the content of the paper (for reasons outlined below) but what is this ?

> Polyhedral geometry can be used to shed light on the behaviour of piecewise linear neural networks, such as ReLU-based architectures. Counterfactual explanations are a popular class of methods for examining model behaviour by comparing a query to the closest point with a different label, subject to constraints.

I swear my brain is degrading daily or every new "paper" that comes out is trying to find a way to be as obtuse as possible.

I could swear "Counterfactual Explanations" is an oxymoron.

> Minimality Guarantees and Targeting Desiderata

Really ?

I didn't think it would be J.P. Morgan Chase that would break my ability to follow a sentence today.
Joke's on you; I drink water from glass bottles only.
>* It's my view that MVC (and therefore Rails otb) is not ideal by itself to write a production-ready app, because of the missing service layer.

How is that so? Can't you add a service layer and call a service from a controller? I don't know about Ruby but for .NET and most Java frameworks this is possible.

To take an example from .NET frameworks, which I am mostly familiar with, you use WebAPI for web applications and MVC for websites. An API just returns data in JSON or whatever form and MVC returns HTML + javascript + whatever media and files.

A controller receives the HTTP request, does some logic, make DB requests, receives models and uses that logic to update a view and serves that view as an HTML file.

Controller - does actions and uses logic

View - describes how the page looks

Model - contains data

Nothing stops the controller to call a service layer which will call a data layer instead of just calling directly the DB.
I think that as of June this year, that saga has ended in favor of X:

https://www.eff.org/deeplinks/2024/06/win-free-speech-austra...

https://archive.is/rgNKq
That is usually the end of the conflict.
I wrote a Python script which could turn any Youtube video into the opening sequence of Netflix's Dark.

Highly recommended to watch btw
Isn‘t that what the id selector is for?
The thing is... it isn't just another regular register. Reads from the PC are 8 bytes ahead, because that's where the PC is in the pipeline at read time. Branches are PC+8 relative for the same reason.

It's a design choice that makes sense in the classic RISC world where pipeline details are leaked to make implementation simpler. Delay slots in other RISCs work the same way. But it causes a lot of pain as implementations evolve beyond past the original design, and it's why Aarch64 junked a lot of Aarch32's quirks.
NAT44 translates only client addresses, leaving server addresses intact, NAT46 has to translate both client and server addresses, which can be taxing if there are more servers than clients behind NAT, which is further exacerbated by server farms as each domain now has several addresses. Well, if clients connect only to facebook and google, that's only two addresses to translate.

I don't think you can use port numbers to disambiguate between servers as clients will connect to port 443 for https.
My first "home" computer (a home-built COSMAC Elf) had 256 bytes of static RAM (in two DIPs). No DRAM at all. I don't think Radio Shack even sold DRAM.
Sure - I work in games, and we stream eventsfrom clients that we want to store in Clickhouse. We've got a native desktop application written in C++ that generates a json payload (we control the format of this). We don't need OSS, but we don't want a SAAS service - we want on-prem (or self managed). Clickhouse Cloud would be fine, TinyBird not.

> Estuary (an ETL tool) just released Dekaf which lets them appear as a Kafka broker by exposing a Kafka-compatible API

This is definitely an improvement, but if it looks like kafka and sounds like kafka, I get a bit sus.

> If you just want to play with CH, you can always use clickhouse-local

I've done that, but getting from this to "streaming data" is where I get stuck.

> If you don't need streams

Afraid streams are what I'm dealing with..
A bit late, but I wrote up an example inference script here: https://gist.github.com/mcognetta/7a98e50859664b8efbb4ec094a...

It is a bit roundabout, since it involves converting maia models to onnx before loading into pytorch and some outdated versions of libraries (maia/lc0 are a little old). We were using this for transfer learning for a competition, so we needed some flexibility that we didn't know how to do quickly/easily in TF.

Hope this helps.

------------------

Personal note: given your interest in chess ai and your starcraft username, I think we would have a lot of shared interests. Feel free to reach out (info is in my profile).
I wonder how captive portals are supposed to work with IPv6 temporary private addresses (RFC4941).

I’ve never run a captive portal but I always assumed that the router just redirects all port 80 packets to the portal (and rejects everything else), and then upon authenticating, the gateway puts your IP in the “allow” bucket and you get access.

But if you’re generating random addresses every few minutes, you’d need to continually reauthenticate, unless the system has some way of associating the temporary addresses with the original connection. Maybe it listens to ndp and uses MAC addresses to associate? That would be more advanced than most captive portals I’ve seen which seem to only care about ip addresses. Maybe just none of them use IPv6, or simply break with temporary addresses?
I really went down the rabbit hole reading the history of the map brushes, thanks for sharing!
Trading: Enhanced Backtesting for Practitioners
Backtesting stands as a cornerstone technique in the development of systematic investment strategies, but its successful use is often compromised by methodological pitfalls and common biases. These shortcomings can lead to false discoveries and strategies that fail to perform out of sample. This article provides practitioners with guidance on adopting more reliable backtesting techniques by reviewing the three principal types of backtests (walk-forward testing, the resampling method, and Monte Carlo simulations), detailing their unique challenges and benefits. Additionally, it discusses methods to enhance the quality of simulations and presents approaches to Sharpe ratio calculations that mitigate the negative consequences of running multiple trials. Thus, it aims to equip practitioners with the necessary tools to generate more accurate and dependable investment strategies.
Exactly how we do services.

We have one model file per db table (a "repository") in which we define all queries that "logically belong to that table" (sure they do joins and/or sub-queries that involve other tables, but they still "logically belong to a specific table").

Once we need logic that combines queries from several "repositories", we put that in a "service" file that's named after what it does (e.g. PriceCalculator).

Most of our business logic is in the models (repositories and services), other encapsulated in the SQL queries. Repositories never call services. Model code never calls controller code. Pretty happy with it.
Give me a breakdown of how many 9am 30 minute commutes I'll get reasonably rained on (20%+ precipitation) divided by normalized sun flower hours during the non-winter 3 seasons, please.
(Not a typo: 6800 with two zeros, not the 68000 of Mac and Amiga fame. The 8-bit 6800 is mainly famous for getting completely undercut by the 6502 and thus never making it into any home computers.)
> I could swear "Counterfactual Explanations" is an oxymoron.

I suspect that by Counterfactual Explanation they mean something like "property A must be X otherwise constraint B is broken".
I feed all the wild birds birdseed and since the grouse started following me I started giving them chicken crumble but I do not currently have chickens at the moment.
I recall there was research some years ago that predicted when entangled particles are measured, their wave function collapses (and entangled particles' properties take on definite values between each other) at a speed which the lower bound was supposed to be about 10,000x light speed (c).
https://www.science.org/content/article/quantum-physics-gets...

But this seems to measure the speed at which particles can become entangled in the first place, which I always assumed would've been on the scale of Planck time, but 232 attoseconds is pretty long compared to 10^-43 seconds.
Second this! Why lock yourself in!?
TS running under Node.js for the backend, I'd dare say, looks pretty standard.

But I like to imagine the Web frontend made in Go, compiled to WASM. Would be a fun project, for sure.
It'll run just fine but it may gently roast your crotch if you use it on your lap.
Notably, this is a microkernel, multiserver operating system[0].

0. https://en.wikipedia.org/wiki/HarmonyOS_NEXT
There is also play-cs.com which is the real counter strike 1.6 in browser.
Blame both Democrats and Republicans. There is more than enough money to go around in this nation, but they’re all too busy sending it abroad whether direct spending, frivolous military deployments, or subsidizing our own defense industry.

The whole system is rotten and corrupt.
Show HN: BulletJournal.click – A minimalist digital bullet journaling system
I built BulletJournal.click because I wanted a simpler way to organize my life digitally while maintaining the core principles of bullet journaling. Key features:
start journaling instantly
Supports rapid logging with customizable bullets
Built-in collections for tasks, events, and notes
Minimalist interface focused on productivity
Would love feedback from the HN community on the implementation and usability.
https://discord.gg/ableton
Yeah well obviously you'll have people from Brazil, England, France, Germany who have no intention of ever going there rating it as 1 star.
In our model we have "repositories" (they dont talk outside the application, they basically contain queries related to a specific db table), and "services" (they call models, do queries that we not related to a specific db table and may talk to outside the application).
>Are there any decisions they've gotten wrong?

This list paid for with your tax dollars:

https://constitution.congress.gov/resources/decisions-overru...
As Paracelsus already wrote, "All things are poison, and nothing is without poison; the dosage alone makes it so a thing is not a poison." (https://en.wikipedia.org/wiki/The_dose_makes_the_poison) That might be one of the reasons why predictive toxicology is hard?
The CSS outline property is (was?) unreliable on Safari. Things like the border-radius don't affect the outline shape -- it's always square even if you to to create some Apple-patented rounded rectangles using border-radius.
The code for the verifier contract and the chain signatures smart contract is under "Learn More" in the page. I think I will update the design for them to make them clearer in case people miss them.

Also there is the proof service the frontend uses to outsource the proof generation computation from the browser https://github.com/esaminu/proof-service
Geocentrism is not a particularly Christian belief. It's also as true as heliocentrism.
I believe you may be conflating opinion with fact, unless you add some qualifier like "based on potential throughput" or some such.
Raspberry Pi (branded) SSDs and SSD Kits on sale now
IPv6 may already be irrelevant – but so is moving off IPv4
Court Rejects Byju's Settlement, Paving Way for Insolvency
Also, at some point you need to tell people "you don't own this land, so you don't get to say what gets done to it."

I'm half expecting the future more conservative SCOTUS to shoot down land use regulation as a taking, requiring such regulation to be combined with payment for the value lost instead.
Actually it looks like their arguments are presented entirely in terms of tradeoffs. They argue that the carbon benefit from electric cars (cited as very far down the list on e.g. https://drawdown.org/solutions/table-of-solutions) isn’t worth the cost to biodiversity, water use and pollution, cultural values and history, peacefulness and tranquility, etc.
https://www.protectthackerpass.org/mining-lithium-at-thacker...
No doubt they spend lots of money, but if net economic activity was quantizable then we wouldn't need to spend tax dollars. We could charge use fees and have the RV producers and hiking boot makers contribute in order to safeguard their business. But parks have value beyond the economic. They are valuable as cultural centerpieces. They define national identity. Without Yellowstone, the US would be less of a country. Without Central Park, New York would not be as iconic a city. These things need to be funded without regard to economic activity. They are beyond math.

References to economic activity in relation to parks can be dangerous. Once we see them as engines of economic activity, then we will seek to maximize that activity. A national forest should not be described as a source of timber fees and tourist dollars. Down that road comes drilling for oil in parks, more roads, more hotels and the inevitable conversion of wild fields into condos.
>OOP-langs historically make this very hard

I don't think is just the langs, but mostly the old culture around those. I do .NET development using a data oriented approach and nobody calls me an incompetent developer. I also teach junior colleagues to be vary of OOP-ness for the sake of OOP-ness and overusing patterns.

I am not aware of any OOP language that demands inheritance, encapsulation or method overriding. It's the people who do.

>If you build an app on top of a db, you biz logic will get intertwined in the queries and the some of the code that's close to those queries (i.e. model code). That code represents you business logic. Trying to write the biz logic separate from the db is --to me-- just a way to make your project go over budget and hurt your performance.

I tend to separate, when possible, business logic from DB logic and from other kind of input like calling into external APIs. But I do that trough layers. I put a repository over the DB and its job is to just fetch data from DB and deliver it as data structures. I use that repository in a business layer.
C structs are record types, but, while the standard does guarantees an in-memory ordering, in the general case you can't really iterate through members and always have to access by tag, so it might as well be unordered.

Also in C++:

struct A { int x; int y; } a;
struct B { int y; int x; } b;
template<class C> concept has_x_y = requires(C c) {
{ c.x } -> std::convertible_to<int>;
{ c.y } -> std::convertible_to<int>;
};

int sum(has_x_y auto z) { return z.x + z.y; }
...
sum(a);
sum(b);
What religion do you consider that to be? It's a widely expressed belief, but I don't think I know the name of it.
There's a missing word here (which otherwise makes the sentence nonsensical):
"He’s also expanding into new areas, most notably computing, where Arm is making its own push."

I'm guessing cloud computing, but guess you could add any buzzword in...
Microsoft hired ex-Eclipse team to build VSCode.
RVA20 plus some bit manipulation is not very exciting for enthusiasts.

With no RVA22 or Vector, but fastest cores available for purchase (once they are), these boards are going to be very helpful when employed building packages for distributions, relative to the U74-based boards they use atm.
LLMs can't reason, or can't reason logically to be precise; what they are really good at is recalling.

So if you want accurate results on writing code you need to put all the docs into the input and THEN ask for your question. So download all docs on Vision, put them in the Gemini prompt and ask your question or code on how to use Vision, and you'll get much closer to truth
I think the ORM (with Entities) is an anti-pattern. It makes simple queries slightly simpler, and hard queries impossible to express: hence you will need a way to express hard queries.

Also Entities are usually mutable.

What clean architecture prescribes here VERY bad for performance. Some of your business logic will dictate how you write your queries if you care for performance.
Thanks, this context is very relevant.
Broadcom (The makers of the chips used on the pi) did have a bid to acquire Qualcomm back in 2017 [0] but the bid was withdrawn after Trump blocked the deal.

So nothing will happen to the Pi (Arm also has a a minority stake in Raspberry Pi)

[0] https://investors.broadcom.com/news-releases/news-release-de...
No problem, as they are used in chromebooks:

https://chromium.googlesource.com/chromiumos/third_party/ker...

https://chromium.googlesource.com/chromiumos/third_party/ker...
Not OP, but I think that what s/he's saying. By itself, MVC is not complete for production apps, ie don't put business logic in the model &| controllers. Rather it must be in a service layer which is entirely dependent on the developer to provide.
>I would kinda expect REST framework to be able to generate Swagger (aka OpenAPI) definitions out of the box.

Me too, but, as I understand, this is a MVC framework that is returning HTML, not a framework to build web APIs.
I live in a rural area. It is filled with all kinds of wildlife from earthworms to bears, all of whom leave their metabolic waste in large quantities everywhere. Should they all be eradicated and all the fields and forests be cleansed in the name of Good Hygiene?
"It" being pure anti-scientific belief?