skysight-inc/HackerNews huggingface dataset:
Show HN: I built a leaderboard for coffee lovers all around the world
I drink coffee every morning. One morning, an idea occurred to me:
what country drinks coffee the most?
Sure, you can read about that somewhere online, but that data is static.

I wanted to create a global leaderboard where people can track
their daily coffee intake.

The idea is simple: you drink coffee, track it, and the score
(how many mL you drank) gets added to the leaderboard.

The more you drink, the more your country climbs up the leaderboard.
Thank you! Daytona is an automation tool that soon will support configuration files such as devcontainer or nix, both on the to-do list.

Daytona automates the creation of the development environment on any hardware, whether local or remote. It connects it to a local instance of VS Code (or to a browser if preferred), creates a VPN tunnel to the development environment, and adds a reverse proxy so you can share it as well.

Furthermore, it is acknowledged that an architecture diagram is missing, which would significantly aid in providing a clearer explanation. Efforts will be made to address this as soon as possible.
I don’t quite understand why they happily subscribe to this model with Xbox PlayStation and Nintendo, but are adamant about getting their way with Google and Apple.
The other insane thing is studies have shown that type 2 diabetes can be reversed by fasting. Fasting is problematic to the medical industry because it is zero cost.

"Some studies found that patients were able to reverse their need for insulin therapy during therapeutic intermittent fasting protocols with supervision by their physician."

https://clindiabetesendo.biomedcentral.com/articles/10.1186/...
And tiny compared to a mainframe.

Points of reference change.
I wish there was button I could press so the eu/courts would address this immediately. So I don’t have to wait months/years.
Just make sure you cut a small circle from the tape overlying the breather hole of the sensor - that hole serves to let moisture buildup from underneath the sensor escape.
you don't need a developer account to sideload an app on ios, and it wouldn't change anything legally if you did (feature tiering is legal)

another classic example of android users who don't understand the things they're talking about. go on, tell me more about how "you can't copy and paste between applications in ios" or "there's not even a file browser" please.

(now, still not being able to figure out a calculator app on ipad? that's a fair one lol)
This is why it made me upset to see this Doctor on TikTok telling people unless you have Diabetes, you don't need a glucose monitor and making fun of people who had one.

Where is the harm in getting data on how your own body deals with glucose?
> Tim Sweeney could lead by example and remove Unreal royalty fees and make his app store free for all. There's no freedom fighter here. Just another greedy troll. -zyang

Unreal Engine is free up to $1 million revenue and 5% after that.

How is that a "greedy troll"?
> So basically, most people using AWS is definitely people who don't need it to scale.

This is what we would expect, right? Surely the huge majority of AWS users are small and wouldn't have the slightest interest in owning/managing their own hardware.
I think it's a huge mistake for any ecosystem to be impenetrable to new players with fresh ideas.

We see this in the web browser engine space with Chromium.

That's why I find the glee with which prominent EE community types appear to condemn Flux really frustrating. Yes, Flux has big problems and a huge mountain to climb. To me, that's why we should encourage them. There are a million easier things those folks could be attempting, so shitting on them for trying to bring a new perspective is self-defeating.

As for Altium, I haven't used it because it's very expensive and tied up in a larger enterprise ecosystem. It doesn't make a ton of sense for solo or small-team designers to use a tool heavily influenced and full of tooling for use by the world's largest companies.

That's why I found Flux so compelling; my partner and I actually want to use the "Figma for electronics", if such a thing can be provided without critical bugs.
Apple doesn’t hold a grudge

Nvidia
I'm not sure but I understand that this ruling applies only to harmonised standards mentioned in the original rulin. So harmonised standards related to safety of toys directive. Not all harmonised standards.
I respectfully disagree because that goes against individual freedom. I understand that historically in the US there's been racism but that's no reason to erode individual freedom.
Exactly - and many of the Vision Pro reviews talk about Fruit Ninja being great!
This is highly personal thing it is apparently very inaccurate for some people, I've never been below or over dangerous levels without it giving a warning. What has happend once or twice over the decade I've used it is that it will get stuck in a bad reading, so you do not see the variations. It has always got unstuck when I've gone below 3.5 mmol/liter or so.
I feel it’s much more that people on HN are able to evaluate that Kagi is much better than Google, and really want other people to see that. Unfortunately, shitty search results are usually good enough for most people, so it’s hard to justify the switch.
Like I said before this seems par for the course for him
Do EU courts consider sworn foreign testimony entirely inadmissible as evidence? It is a fact that Epic swore before a court of law, a foreign court but still a recognized court of law, that they did all this on purpose. EU law might still not allow for its submission into evidence, I don’t know, but that isn’t nothing either. Unless prohibited by law, a Judge in his professional judgement might still allow it.
What are those kind of offense which company or individual commit equally?
>Though given its success, I expect it to be emulated.

I'm wondering by what metric do you define success.
That's actually a historical quirk, because modern keyboards have = where old APL keyboards had × and - where old APL keyboards had +. You'd press Shift+ for - and Shift× for ÷ meaning that Shift gives the inverse function. Similarly, they Shift/ for \ (which is the inverse of / in APL).

See https://en.wikipedia.org/wiki/APL_(programming_language)#/me...
Ah damn I thought this was going to be available to JavaScript. Would be amazing for one use case I have (an HTML page containing inline logs from a load of commands, many of which are substantially similar).
> There's 1 service on py2

Are you sure about that?

CentOs migration has been in progress for years lol
This is much nicer than calling GPT in the middle of my code. Honestly the aesthetics of Fructose just make the code so much neater
I agree. I think one way to achieve that is to first acknowledge the important distinction between modes of programming and levels of abstraction. See, even in programming, we’re still restricted to a given domain. A web dev does not program to the network stack, thus needs not to known NICs and TCP frames internals. The web dev only interacts with the lower levels via high level parameters (data) through the low level APIs, which are already done and settled, not directly with code. The same goes for each layer and domain. Now, expecting users to write actual code is not realistic or sustainable. What’s more reasonable is to imagine a scenario where users needs only to give the parameters for the functions which are already done and settled. So, composing super high level functions in an environment which disposes of an extensive library of utilities seems the way to go. Users already do parameterization everyday, such as when they press buttons and fill forms. What’s missing is simply an abstraction which gives them the power to compose those functions. Regarding the paradigmatic framing for an end user language, I think stack-based programming offers a superior model, because the context window is directly visible and easy to track and reason, but more than that, stack languages offer a good avenue for learning, since it’s the easiest model to teach by analogy, even physical analogies can be made. It boils down to just pushing and popping in a coherent order. The order of operations is in fact the program. Hard to beat this simplicity and universality.
You can literally make that entire graphic a font glyph. I understand there's caching, but your point doesn't really apply to the above example.
Do you know how Heap is doing these days? I see many similarities to the article we're commenting on.
My father worked as a locksmith in his teens (early 70's) in a small town. This reminded me a little bit of the alarm systems he said he worked on in some neighborhoods where several houses would be basically connected in series, so that one alarm being tripped would really show only that one of several houses in an area may have an intrusion.
Yep, the article says the exam is still on-site and proctored. Any cheating would have to be self-contained to the laptop and not obvious to someone looking over the cheater's shoulder.
An interesting aspect of OpenAI's agreement with Microsft is that, until the point of AGI, Microsoft have IP rights to the tech. I'm not sure exactly what's included in that agreement (model, weights, training data, dev tools?), but it's enough that Nadella at least made brave sounding statements during OpenAI's near implosion that "they had everything" and would not be disrupted if OpenAI were to disappear overnight. I would guess they might have a major disruption in continuing development, but I guess at least the right to carry on using what they've already got access to.

The interesting part of this is that whatever rights Microsoft has do not extend to any OpenAI model/software that is deemed to be AGI, and it seems they must therefore have agreed how this would be determined, which would be interesting to know!

There was a recent interview of Shane Legg (DeepMind co-founder) by Dwarkesh Patel where he gave his own very common sense definition of AGI as being specifically human-level AI, with the emphasis on general. His test for AGI would be to have a diverse suite of human level cognitive tasks (covering the spectrum of human ability), with any system that could pass these tests then being subject to ad hoc additional testing. Any system that not only passed the test suite but also performed at human level on any further challenge tasks might then reasonably be considered to have achieved AGI (per this definition).
For diagrams, PNGs just are not a good choice. We did this as a response to mainstreaming high dpi displays back when Retina hit the market.

It's been a big success. The resulting SVGs are significantly smaller in filesize than PNG, and are crisp and readable no matter how the user zooms in.

The path conversion is a single inkscape command line invocation. It's worth doing.

If it comes out of a vector application, you likely don't want to rasterize it for distribution.
With shared dictionaries you can compress everything down to under a byte.

Just put the to-be-compressed item into the shared dictionary, somehow distribute that to everyone, and then the compressed artifact consists of a reference to that item.

If the shared dictionary contains nothing else, it can just be a one-bit message whose meaning is "extract the one and only item out of the dictionary".
To combat this wouldn't malicious extension buyers simply keep the developer name the same? Or is developer name strictly policed by the Chrome Extension store?
But so does breathing. How does that danger balance in relation to other factors?
Please do try it, it really does speed things up if you care enough to learn it. IDE integration is a must. A lot of people seem to try it for five minutes, then conclude with absolute certainty that “this sucks” which is very annoying. If you like building good web views fast but don’t care enough to learn the massive core of css (or some hot new js-to-css-or-whatever tool) then tailwindcss is perfect. I build web views every now and then, but it’s not interesting to me, I want to rabbit hole on the real issues, which usually reside elsewhere. Also, I learned it years ago, and that knowledge is still useful, can’t say that about most web tech :)
The reason you build cache for most purposes, is fast data retrieval. A major component of "fast" is the latency of a disk read vs a memory read. Redis and memcached are in memory by design, so entirety of your cached table will be in memory. When you design a cache using postgres (assuming on an RDS instance), although data will be cached in memory based on access patterns, I don't believe there is a direct way to control what data gets cached, which makes this implementation slower for a lot of real world use cases.

This gets even slower when you have a distributed DB like AWS Aurora Postgres because your data on disk can be on different EBS volumes, so bringing it in memory can be slower than even RDS Postgres.
I think even for SaaS products, the enterprise customer contracts should include statements around making the source/infra code available under an open license. That would help companies gain confidence in a way that they can always hire the ex-employees and continue using the product.
(These are just the ones I recall offhand from personal experience on gwern.net using SVG in quite limited ways, mostly just for the link-icons.)
Is there a way to calculate significance of the fit? I.e. something similar to the Student's t-test?
What are 'treatable' causes other than food intake?
> In what way does it look bad?

For example, on my 27” 4k display with 150% DPI scaling, I can’t easily distinguish commas from dots.

I’ve been using displays like that for a decade now. Aptos is the only font with that issue.
Mapping Credit Card Delinquency Rates in the U.S. by State
Interesting fact: Kate Wagner, the author of the "vanished" piece is the creator of the McMansion Hell blog and not only a cycling journalist. That's in the tradition of CLR James who was a noted socialist author and noted rugby commentator.

https://www.madamearchitect.org/interviews/2022/10/1/kate-wa...
If you weren’t meant to do it they’d have countermeasures to prevent you
At one point, SVG couldn't do that. It was a long time ago, but I recall not being able to use SVG to render sideways text because the text tag wasn't supported by browsers.

For IE, we had a PNG font that we displayed slices of, and then we migrated to rotation css as various browsers supported it. (I think IE was the last holdout, but it's been a while.)
I second, I wore it multiple times as a non-diabetic and it was very enlightening.
What are you basing that claim on? As far as I can see Apple's financials only break out revenue by geography, not net income.
So glad to see medical monitoring made available to people. Different problem but an O2Ring continuous blood oxygen monitor was a big help to me in understanding my sleep apnea and getting it treated.
Congrats to this thread for intelligently considerately tugging at the thread here.

I have such a hard time staying so level. It's so obvious to me what a a benefit internet connectivity is to this nation. Giving families access will set people on far better paths, will have economic returns for the nation. The costs here seem not bad. I'm definitely not worried about a couple arguably less deserving people getting access, especially given the relatively minor pay-out involved. It seems obviously not worth it to care so intensely about some borderline cases of oh you make $62k now (or whatever), sorry you are cut off now.

Ideally we would be figuring out how to make connectivity a public utility, as so many municipalities have done over the world, greatly reducing cost and increasing speed. But in America we keep having to pay businesses to do things at enormous costs, protect their absurd profit margins, because in part there's so much fear & angst around government & public ownership.
Should have (2002) in title.
chrome team usually trials changes like this with extensive a/b testing via telemetry. Got to be a large overall win even with this.
https://practicalbinaryanalysis.com/ may not be focused on linking and loading per se, but touches on these topics in a way that felt (to me) more lucid than the book you've linked.
General conditions of access for Google Play in the EEA
They started a rewrite-from-scratch of all the apps, including mobile, using a custom in-house server-driven UI framework with a Kotlin DSL backing it, without so much as doing a proof of concept to find the tricky parts first. And by “started” I mean “committed to it” before anyone had so much as written a line of code to spike it out. Which, YMMV, but to me that seemed then, and still seems now, just wild.
youve found an extremely bizarre edge case where CICO doesnt perfectly hold and you think thats some sort of death knell to the general principle that if you eat more calories than you burn you will store it as fat?
They probably meant vLLM https://docs.vllm.ai/en/latest/
False positives in medicine can cause unnecessary interventions that carry their own risks. Believe it or not, there is an optimum level of ignorance for maximum health.
It’s funny because lisp enthusiasts will say “yes, lisp is harder to learn with all the parentheses, but trust me, it’s worth it” And then list some actual benefits.

Whereas APL fans will insist it’s not hard while listing no benefits besides dense code.
We hacked Google A.I.
And ads is the one line of business that is growing.

All of the privacy and app tracking restrictions conveniently relate to them having all of the tracking data and third parties not having it. Your data is "private", to everyone except Apple.

This is the reason Apple is violently opposing any software coming from sources they don't control.

The way the DMA was written is a convoluted joke. It could have been a lot simpler: hardware device makers shouldn't be able to block third party software. A more extreme case could prevent companies over a certain size from manufacturing hardware and the operating system.
Bees and chimpanzees learn from others what they cannot learn alone
Could you share sales numbers to give us a sense of where the company was at?
I don't use it for that, but a quick test showed that with podcasts it will continue to play them if you switch to another app, and the media playback control does appear in the iOS notification centre. But it doesn't do anything clever like persist your playback position, or let you navigate around the app while continuing to listen to a podcast. So not that great really :(
How will I know when this extension changes owners?
Those places (all places) should be primarily using local flora.
Another angle: If a CEO denies to employees that an acquisition is in the works, to retain employees, but there actually was an acquisition in the works, and an acquisition happened, and it included employees' stock becoming officially worth $0 (or some other arguable financial harm)... could that constitute legally actionable fraud?
> presumably apple's ban on epic games is for life, not just for a year or two. and registering a new account doesn't change that - it's just ban evasion.

They didn't ban every epic account back then, just the violating account. I am pretty sure most of epic games accounts are still there, just the fortnite account got banned.
Couldn't agree more. I think the iPhone 15 Pro may be my last iPhone. Apple's entire reaction to the DMA has left an incredibly bad taste in my mouth.

I used to think these were my devices, but Apple has been making it crystal clear lately that they consider them to be their devices.

"We own the customer" is the new mantra of Apple.

Maybe it was always that way, with the iPod and iTunes, etc.

Thankfully I've never felt that way when using a Mac.
… according to Epic
They may have to realize that unlimited growth is simply not possible.
Do these completely replace the nvidia drivers? Do they support DLSS 3 by chance? For some reason nvidia never released support for dlss 3/3.5 unless I missed it.
Redis is completely in memory, therefore all data is in memory. Postgres on the other hand does have a cache of it's own, does not give you fine controls over what stays in cache. What stays in cache depends on data access patterns. E.g. I cannot make an entire table of my choosing to be in cache.
Yeah, functional programming and pure functions seem perfect for generative programming. Granted, I think they're perfect in general, but as long as human programmers are still stuck in the world of object-orientation (the modern sense), then they're going to be wasting the time in the LLM feedback loop. The LLM should be be able to write a unit of code however it wants in a way that is as self-contained as possible. Since an LLM can, in theory, quickly "understand" code that most software engineers would object to, then we should get out of the way of LLMs rather than expect them to be like we are.
Why wouldn't you simply use SQLite (or some other in-memory flavor of SQL) instead of hacking the main Postgres db and adding load to the primary instance?

The author makes a valid point that there's something nice about using familiar tooling (including the SQL interface) for a cache, but it feels like there are better solutions.
If the choices are "it worked in 2017" and "it was written by AI" then clearly it was AI:

1) The program is invalid. The "predictionsaccuracy" should be "accuracy".

Therefore it cannot be working code from 2017. Furthermore,

2) The loadtxt() does not read the linked-to CSV file because of the header line. NumPy reports: 'ValueError: could not convert string 'Pregnancies' to float64 at row 0, column 1.'

The fix is to add skiprows=1 to the loadtxt().

As a couple of style notes:

3) Modern Python prefers f-strings, f"Accuracy: {accuracy*100.0:.2f}")

4) The y_pred contains only 0s or 1s so the following is unneeded

predictions = [round(value) for value in y_pred]

and y_pred can be passed directly to accuracy_score().
Even at that, the memo system didn't make wasting everybody's time the default action, and the way of least pain.

In the memo system, sending a memo costs you something. You had to hire a secretary who could take the memo and type it up. You had to dictate the memo, so you could hear how stupid or petty you sounded. You could watch the secretary for her reactions--is she enjoying writing it, or is her soul slowly dying at the sheer inanity of what you are dictating?

Compare with email: the default path of least pain is to waste everybody's time. In another thread I used the example: You only need to send an email to 563 out of the 1,000 people who are on the department mailing list. Do you A) spend a half hour filtering out the 437 people who don't need the email, or B) just spam the whole list, knowing full well that 437 people are going to waste 5 minutes determining whether it it applies to them?

Of course you are going to just spam the whole list. But 437 * 5 minutes is over 36-man hours of wasted time. You wasted as much time as if you had just called in sick for a week.

You'd get punished if you didn't show up to work for a week. You might even get punished if your boss sees you wasting so much time filtering out 437 names from a mailing list. But there is absolutely zero cost or consequences to you for wasting a man-week's worth of effort. You did it, and you'll do it again in another half hour, when you need to send another email...

But of course, you haven't really saved that half-hour! You more than pay for it because you have to spend 5 hours a day filtering your own email. You don't even realize its wasted time, because it feels like actual work--taking documents from the in-box, stamping them, and putting them in the out-box. That's what office work is, isn't it?

THAT is the evil of email. The default, least-cost action is the one which costs the company the most, and externalizes and makes imperceptible that cost.