skysight-inc/HackerNews huggingface dataset:
The most impressive thing to me was the inbuilt BBC Basic, and the availability of every system function to basic with SWI calls.

This contrasts with languages like GW Basic or even commercial QuickBasic (QBX) or Visual Basic: second class citizens when it came to accessing system calls under Windows (or dos).

In fact, I wrote simple basic code to access the undocumented random number generator within the BCM2835 chip - it worked perfectly under RiscOS and even a dedicated BBC Basic emulutor for the Pico.

This is what the code looks like for those that are interested:

REM MAP MEMORY

SYS "OS_Memory",13,&20104000,32 TO ,,,RNG_CTRL%

SYS "OS_Memory",13,&20104004,32 TO ,,,RNG_STATUS%

SYS "OS_Memory",13,&20104008,32 TO ,,,RNG_DATA%

SYS "OS_Memory",13,&2010400C,32 TO ,,,RNG_FF_THRES%

SYS "OS_Memory",13,&20104010,32 TO ,,,RNG_INT_MASK%

REM CHECK WHERE THE REGISTERS ARE MAPPED

PRINT “RNG_CTRL MAPPED AT &”;STR$~(RNG_CTRL%)

PRINT “RNG_STATUS MAPPED AT &”;STR$~(RNG_STATUS%)

PRINT “RNG_DATA MAPPED AT &”;STR$~(RNG_DATA%)

PRINT “RNG_FF_THRES MAPPED AT &”;STR$~(RNG_FF_THRES%)

PRINT “RNG_INT_MASK MAPPED AT &”;STR$~(RNG_INT_MASK%)

REM THESE INTS BECOME REGISTERS R0-R7 RESPECTIVELY

A%=1

B%=RNG_DATA%

C%=RNG_INT_MASK%

D%=RNG_STATUS%

E%=RNG_CTRL%

F%=&1

G%=&4000000

REM GET A RANDOM NUMBER FROM THE RNG

DIM RNG% 30

P% = RNG%

[ OPT 1

SWI “OS_EnterOS”

LDR R0,[R1]

SWI “OS_LeaveOS”

MOV PC,R14

ALIGN

]

REM INIT THE RNG

DIM INIT% 30

P% = INIT%

[ OPT 1

SWI “OS_EnterOS”

STR R5,[R4]

STR R6,[R3]

SWI “OS_LeaveOS”

MOV PC,R14

ALIGN

]

REM LETS INIT…

CALL INIT%

A%=0

X%=0

FIRST%=0

REM KEEP READING RANDOM NUMBERS UNTIL THEY ACTUALLY BECOME RANDOM

REPEAT

X%=A%

A% = USR (RNG%)

PRINT “WARMING UP &”;STR$~(A%)

IF FIRST%<50 THEN X%=A%:FIRST%=FIRST%+1

UNTIL X%<>A%

REM DISPLAY RANDOM NUMBERS (RETURNED FROM R0)

REPEAT

A%=USR (RNG%)

PRINT “&”;STR$~(A%);" ";

UNTIL 1=0
Some professionals don't do web design, and pictures are common in some countries. The website looks ok, but could obviously be cooler (though, that should not matter too much). It is a strange domain indeed. There should be something more straightforward name that can be used. I think all that appeals more to programmers than HR types but idk.
I think these tools are the solution to the shortage of doctors, and will greatly improve performance by taking more parameters into account. Not sure though if a simple LLM can do that. (Shortage of doctors is a thing at least in DE and CH)

Doctors study like 10 years to follow a decision tree based on patient background and symptoms.

Especially in countries where education is harder to get by this can be useful, I imagine.

Then we transition from doctor to med-tech, like in the sci-fi movies.
HN is only site where I can post from PSP
hello. posting this from opera mini on java emulator. thank you admins for not requiring js for posting ;)
For a lot of this stuff, there is no "wrong" because it's a matter of taste and familiarity, rather like asking which of the human alphabets is "wrong". It's undoubtedly very clever, a reimagining of lexing from scratch.

On the other hand, I'm adding it to my list of examples of "left handed scissors" languages, along with LISP and FORTH themselves. Languages which a few percent of people regard as more intuitive but most users do not and prefer ALGOL derivatives.
A part of become a good runner is letting go of expectations. There is a lot of quasi meditative written on the topic, but even if that’s not your thing: even if you walk/jog/walk to retain a constant, middle to low heart rate you could easily have the same effort as a trained runner doing some great mileage. The humbling part is part of the experience. Stay away from anything with speed for the first thousand miles. It will only lead to injuries. The good thing is, both condition and speed will improve very fast and the happy run feeling isn’t based on speed or distance. It’s being outside, alone, in silence with sounds and weather while doing something actively (but not overly). Did I mention I miss running? (Alas I am now missing some necessary cartilage.)
An alternative to Jetson are the SBCs or SOMs based on MediaTek Genio 1200 (MTK MT8395).

The CPU included in this is based on the same Cortex-A78 cores as the latest Jetson Orin, but it should have much better performance per dollar, because the cheaper Jetson variants are intentionally crippled, with many disabled cores and very low maximum clock frequency.

The GPU is weaker than on Jetson Orin, but it should be enough for many applications. There are also a couple of AI accelerators and dual simultaneous video camera capture at high resolution.

In any case, Genio 1200 is much faster than any Pi and also than RK3588. It has a similar performance to a flagship smartphone of 2021.

In the beginning, the SOMs and SBCs with Genio 1200 were expensive, in the $400 to $500 range, so while they were a better deal than Jetsons they still had worse performance per dollar than a SOM or SBC made with an Intel N100 CPU (or its Atom equivalent).

However not long ago Radxa NIO 12L has been announced, which uses Genio 1200 in a SBC of smartphone size at a price of not much over $100, similar to the older and slower RK3588.

Therefore it appears that it has become possible to obtain Genio 1200 at a decent price.

Perhaps if you contact MediaTek sales they might be more willing to provide design information than Qualcomm and they certainly have better prices.

Moreover the Radxa NIO 12L schematics and PCB assembly map are published on their site (a practice that was standard many decades ago, including for the leading US companies, but which now sadly survives mostly in Chinese companies), you can download them and study them to evaluate the effort of designing your custom board and possibly avoid any pitfalls in your design.
If you are on iOS then you can use Working Copy [1] to sync notes through GitHub, GitLab, etc.

To automate the process you can create siri shortcuts like

* Obsidian is opened -> Pull the repository

* Obsidian is closed -> Commit Changes -> Push to the repository

[1] https://workingcopy.app/
I am developing Stripe but for Data
Hi, I am writing the Stripe for data. This is probably my 100th project trying to build a useful product and I am glad to say all have failed so far but I am not giving up. I believe I will someday build a product people want to use and need. Please do read through my project thesis below and tell me if I should continue working on it.

So, I want to make a play for data. Sor of Stripe for data. Aka. The data infrastructure for the internet.

Companies especially startups can offload their data needs to us they can store their data with us, and then we provide API endpoints and apps on top of their data.

I know, you might think db as a service like MongoDB, or backend-as-a-service like Supabase and Fireside, or storage as a service like AWS, etc; but this is different.

Just like companies stopped worrying about setting up payments and payment infra when Stripe came out, I wished companies, with my new project, will stop worrying about database and db infra. In fact, I wish, with my project, they wont have to write a single line of database/data code anymore, except maybe to connect to APIs.

Your thoughts (through comments will be much appreciated).
Mutative: Efficient immutable updates, more than 10x faster than Immer
Related and recent,

GitHub: Nintendo Submit DMCA Notices to Yuzu Forks (https://news.ycombinator.com/item?id=40236699) - May 2024 (29 comments)
Don't rate Tesla's Full Self Driving too highly, tech investor says
Debian stable, but my hardware is all old.

Hardware that uses a new chip, such as some wifi devices released in the last couple of years, may require using a kernel from backports or waiting a couple of years for a new major version.
We all know this isn’t replacing doctors. We do know that when applied correctly, this will assist doctors and other clinical specialists in their work. With doctor burnout at all time highs, I think stuff like this is amazing.
The raku devs are working away on rakuAST, which is now in v6.PREVIEW and early adoption is eased by the Slangify module https://raku.land/zef:lizmat/Slangify

raku’s killer app is its built-in Grammars … now you can write Actions that build AST right in your code. What does this mean? You can define your own Domain Specific Language (DSL) in your code and then just tag the blocks that use it. (Well raku is anyway a collaborative set of DSLs - eg for regexes, quoting constructs - but AST now makes this extensible by user code)

The first examples of this are Brainf*k and BASIC interpreters.

Checkout this introduction… https://dev.to/lizmat/rakuast-for-early-adopters-576n
I think this is a fair criticism. The Merkle Tree here isn't used. I was just inspired by the diagram and come up with binary partitioning solution.

In terms of performance, it's fair to say that this binary partitioning algo is slightly worse than a cursor / search after pagination since there is an overhead of checking count while the cursor pagination does not need to.

Hmm, It never cross my mind to change/correct the design of using ES as a primary data source. My guess now is it would take as much effort or higher to migrate between ES -> SQL compared to ES -> ES.

I think the snapshot approach is interesting. If I had to start over, I'll most likely explore that.
The article does:

> many of their posts convey a general sense of urgency about the need to prepare for “war” or to “stand up” against many supposed enemies, including drag queens, immigrants, pro-Palestine college students, communists—and the US government.
Your first point: this would obviously be serious fraud. I'm not sure if you have any evidence of this in this particular case or is you are alleging this is standard practice by PE funds?

Your second point: why would someone lend money to a company which was going to go bankrupt? If PE firms always made the companies they controlled bankrupt, no one would lend to them.

Your third point: if someone buys a company from you, how does it make you a creditor of the bought company?
It is entrapment if they gave the dude ordering the fake bomb the idea and opportunity to buy a fake bomb lol. The FBI is notorious for finding vulnerable people and pressuring them into trying something. If anyone else did the exact same things to trick people, they'd be arrested.
This is a perk of coming from non-English speaking country. I will get call from my bank? Great I can switch to my original language. Too bad that scammer likely does not know how to speak it...
> All extracted carbon will be eventually burned.

Extraction operates on supply and demand. When people stop demanding it, they'll stop digging it out of the ground.

There are two ways to achieve this: 1) You make burning it more expensive (carbon tax). 2) You make alternatives to burning it cheaper.

You can do both at once. In fact you want to, because the first one gives the second one economies of scale and the second one reduces the economic impact of the first one.

Preventing extraction is pointless because it has the same effect as the first one except that instead of the money being collected as a tax that could be refunded to the population as a tax credit, it goes to the people who are still doing the remaining extraction. We could, however, stop subsidizing extraction.
They did say "simple", not "easy"...
If you’re receptive to any kind of argument about reducing consumption, then how could you ignore an argument about reducing consumers?

People that want others to do things like avoid plastic straws but themselves have 2.5 unadopted kids per household are obviously being somewhat hypocritical
Well we disagree. I think there's way more effective things you can do, and this is demonstrated by the netherlands where I live. For an idea to be good it doesn't just have to in theory be net positive, many things can be net positive if you use tax money for them. The problem is we don't have an infinite government or infinite resources or time, so we should pick good measures.

All the cities maintaining a bunch of locations full of helmets for free pickup would just create more waste. I bet people would pick them up and just discard them when it wouldn't be convenient to use them. And nobody wants to pickup and wear a discarded helmet that is dirty and was in the elements so there would be huge waste. You can have a similar effect without any waste by just having a class that teaches children to ride bycicles at school and tells them the benefits of helmets and keeps helmets there for that one class. This memory would be with you for life, and you'd make your own decision.

If helmets were cost prohibitive I'd be with you, I believe in using tax money for that kind of stuff, but price is not the reason people don't use helmets.
As I posted on the "cognition" lexer thread, some users prefer "left handed scissors". Just as it is not equally intuitive for everyone to write with a particular hand, it is not equally intuitive for everyone to program with a particular language.
I’ve used a lot of them, but have been sticked with Debian last year and looks like this is the best choice for now. Nothing breaks, works well, tested packages in apt, fancy apps are availabe as AppImages or snap.
Perhaps a simple explanation comes from looking at this from the eye of the producer and seller of such objects. They produce plates in 20 different patterns for example, and find some sell out, some sell half, some don't sell at all. So the producer is now out the cost of the ones that don't sell. They can concentrate on the patterns that sell better, but there is probably always some uncertainty in which patterns will sell the best. If they produce one reasonable unpatterned plate no one will reject it because of the pattern, so perhaps patternless or extremely simple-patterned objects result in more profit. If you're in the fashion or a fad-linked business then patterns matter, but otherwise complexity would seem to invite rejection since personal tastes vary widely and probably become more finicky as patterns get more elaborate. There is a lot of clothing in the US that is simply destroyed every year when it doesn't sell. It takes time and effort to find out which patterns people like each year.
The "short" life span is one reason we take risks.

Would you rather climb a mountain and risk losing your life in an accident if it means 50 years of remaining life or 950 years?
Disclaimer Corbado Co-Founder here: That passkeys (WebAuthn) as a standard can support different levels of security requirements in the future on a common ground is probably the best thing. Even with an unknown new passkey provider, that's still more secure for the average consumer on a broad scale with legitimate passkey providers being 99.9% of the market. For regulated entities, that's an important area of extension. But even for banks, passkeys can easily replace the first factor, as phishing there is the biggest concern. I would argue that Passkeys+SMS OTP for banking is probably far more secure than any other option currently available (even with the sad security of SMS OTP), just because consumers cannot give their First-Factor voluntary away to phishing... Well maybe not better that any option but a lot of them.
IOW, there isn't any real stack growth, it just appears that way when running in the devtools with the "async call stacks" feature enabled.
Federal Marijuana Rescheduling Announced
Ask HN: Ambitious, Career advice, working less hours
Bonjour

I am an intermediate level software developer working a standard 40 hour week. 4 years experience full stack.

My goal is to build my own software and live off it. Working towards this goal, I have already sold one piece of software I built for around $10,000 in my spare time. About 1.5 months effort. That is about 1/6 of my yearly salary for context.

I have been offered the ability to work 1 less day every week. This would come with a 20% pay cut.

Given that I want to work on my own stuff, and that I have strong drive and willpower and believe I can repeat my software sale and improve on the number….

Should I take the pay cut for the extra time to work on my own stuff?

I need advice on pros and cons.
Which models? Most models have a ~7B parameter version that isn't as good but will run with a smaller amount of memory.

Cheap is a 4060 16GB, which can run the lower parameter models but there are obviously limits to speed, which models, and size of context.

2 x 24GB 7900xtx/3090/4090 on a motherboard that can split the PCIe 4/5 x16 bandwidth provided by the CPU across a second x16 slot (so 2 x8) is likely the most GPU memory that can be useful on consumer hardware. The bandwidth splitting is sometimes reserved to the top end gaming branded boards so "cheap" is stretching it.

Beyond two cards you either need to fork out for A6000/RTX6000 48GB cards or need an Epyc, Threadripper or Xeon platform that's more generous on the PCIe lanes and 16x slots.
Why? Just because you find one solution doesn't mean you find another one too.
Please update the title to the correct one: "Google Says Its Med-Gemini AI Healthcare Models Beat GPT-4"

Looking at their past shenanigans "Google Says..." makes it mean a whole different thing...
"Dirty Stream" attack impacting Android apps
My mum died that way.

Alzheimer's, leading to not drinking enough water (not that anyone around her was aware of that until the coroner's report), leading to kidney failure.

Her last day was very obviously painful, and given the nature of the condition, I suspect that the instantaneous experience of pain was her whole universe.

My dad died from bowel cancer; took a year of gradually wasting away. That was also natural.
Using a LLM to compress text
My goal was to waste as much of their time,

My personal best was 2 hours and 10 minutes before it was me that got sick of playing them.

After that I put the "This Number Out of Service" tones (http://www.k3pgp.org/telezap.htm) on my answering message. That knocked out a lot of the spam diallers.

Usually I don't answer any number that's not on my contacts list, and let them go to voice-mail. If they really need me, they'll leave a message.
The difference is yubikeys have been mainly used in enterprise settings where the reset approach is "get IT to assign a new yubikey to your account or boot your old yubikey". Passkeys are aimed at the general consumer who has been a very rare user of the yubikey. Now you're back to trusting every user to physically keep track of their passkeys, rather than trusting a pool of IT admins.
How about improving the processes and reduce the amount of forms and admin work instead?
Looks really nice, but the only concern I had — how does the perf compare to more mature libraries like faiss?
Google reverse image search will so that too, and has been working for 10+ years now?
Not sure about this one.

When in my fourties I looked in the mirror one day and thought "my god man you have piled on a few pounds lately".

I immediately went out and joined a gym for a bit of indoor running

So, I went weekly for an hour or two. I thoroughly enjoyed it.

My I'm not sure!

I was happily running along on my treadmill one day, hreart rate at a constant 125bpm, whe suddenly there was an almighty commotion on the treadmill next to me.

The guy running next to me had collapsed.

He was 52 years old. I knew this because we had had a few chats.

He suffered a heart attack in the gym and died on the treadmill.

Poor guy. Poor family.

I gave up going to the gym after that.
Everyone that comments that "nothing is free" is just being a pedant in a way that means the conversation can't usually go forward as easily.

People do understand that with government programs, "free" means taxpayer funded. As in, almost everyone understands that. The comment isn't needed. Those comments are the reason I put things like "fare free public transport" - not because it is more realistic, but because arguing with these comments is exhausting.

Society is full of things other people helped pay for - and you most definitely use them. Your health insurance company pools money together to cover everyone's ills, for example. You don't pay individually for your infrastructure use - other people help you pay so that you can get electricity. And so on. You can't have modern society without this.
So dictators live 1000 years instead of 100?
That's moral to you?
Correct me if I'm wrong but I don't think you're meant to clone them per se. You're better off creating a unique passkey for each device, and if one is lost you can revoke that passkey without bricking your backup device as a login method at the same time.

That's how I treat my Yubikeys at least. The only downside with this is that some services (e.g. PayPal) only let you create one passkey.
Do you think an AI hardware startups will find success? I only see vision or headphones as a form factor that could really make it. Meta Raybans are gaining a loyal base, with a lot of people speaking highly of them — as a complement to phone, rather than trying to replace it. Thoughts?
Regulating weights and measures is a basic function of government since Babylonian times.
6min/km is an average pace, so I do wonder why you still hate it? Have you looked into your cadence? Are you steps too long or the shoes too hard? Or do you have to run through post-apocalyptic ruins?
Living to see 70 and beyond is a very recent phenomenon. It has nothing to do with nature, in some ways, the opposite actually.
It most definitely is a bonus if you aren't there now.
I've issued a few bounties on my repo [0], and it's worked fairly well from my perspective. I'm both the bounty assigner and the maintainer in this case.

Keep in mind that open source is always a bit messy, and a lot of people on all projects (even without bounties) never actually follow through with contributions that they plan to do for a whole host of reasons. The way I've approached it is once someone either has a track record of contributing or makes substantial (visible) process on a PR I assign the bounty to them.

[0] https://github.com/getgrit/gritql/issues?q=is%3Aopen+is%3Ais...
My dad is a plumber, and I learned a bit while working with him. I was in software development for about 8 years, intermittently (casual games and microcontrollers in C++, Java/Kotlin for Android), and at the last job (the Android one) I burnt out so bad I got clinical depression which took years to manage. Plumbing to me is a fallback that is going on for too long. Pays the bills and meds until I get fit for demanding mental work. By the way, my lower back is demanding some mental work, for a change, after 3 weeks of carving out grooves for pipes in walls and floors with a big perforator
Crazy thought: the police are needed to enforce order, because some people are assholes.
I doubt that that is what parent meant.

More like you go to sleep and never wake up again. No fear, no pain.
If the authors don't draw conclusions from that, I wouldn't either.

For example, suppose the main impact of exercise on cancer risk were simply the correlation with time spent outdoors in the sun. Then you would expect to see a chart like this. But a conclusion like 'limit running to 3 hours/week, while walking can be up to 12 hours/week' would be totally wrong.
Windows 10 phones home when pressing "start" button, while Windows 11 phones home even without a click, just move the pointer at the corner of the screen and this is enough.
the money is going to shareholders, i.e the public
Python's plans for async was originally to use generators (that's the original reason for `yield from` IIRC: an async function may need to yield / await multiple times before it "completes" and returns a value).

Ultimately async was introduced because:

- mixing async-generators and sync-generators was extremely confusing and difficult to wrap your way around especially if you needed to nest them (e.g. a generator yielding awaitables)

- lots of statements may need async for which generators are inconvenient and require manual desugaring and ad-hoc protocols with pure generators most notably asynchronous iterables