skysight-inc/HackerNews huggingface dataset:
Did you see this?

https://engineering.fb.com/2024/06/24/data-infrastructure/le...
https://wegrok.review

I'm working on trying to make code reviews easier, faster, and more powerful. Adding rule based automation to check for common errors.
But how could some 7 year olds have vastly different ”pre-requisites” than others?

In my experience aptitude plays a far bigger role. Yes, you compensate for lack of aptitude with a lot of hard work, but that’s a different matter.
Newbie here. How do you express foreign key - primary key relationships when you define your schema, in Postgresql and/or SQLServer ? Is it via an integrity constraint, or can it be just an informative metadata ?
It’s definitely at least partially tied to the Apple account location and just not physical location. I’m a Canadian and have been living in Europe for three years now and don’t get any of these new Europe only features. I’m guessing because my Apple account is still tied to Canada / I use a Canadian credit card on it.
Be careful, most bios will let you use only 1/4 of the total ram for the integrated GPU. Some - really bad - bios are even limiting to 2gb totally ignoring how much ram is available.
I’ve been working on the same side project since nearly a year now.

Self Host Blocks https://github.com/ibizaman/selfhostblocks is a modular server management based on NixOS modules and focused on best practices. The manual can be found here https://shb.skarabox.com/

Compared to others, its goal is to make best practices easy, be declarative, robust and fully featured.

I’m a self hosting and data sovereignty advocate and this project is my contribution to this space.

Best practices easy is made by adding a layer on top of the stock nixpkgs modules that make for example Vaultwarden easy to secure (/admin behind SSO with Authelia) and easy to backup. One doesn’t need to understand how to setup Authelia nor what folders to backup. That is taken care for you. https://shb.skarabox.com/services-vaultwarden.html

Declarative is taken care by NixOS but it goes further than the stock nixpkgs modules. For example it installs the needed Nextcloud apps for LDAP and SSO fully unattended. https://shb.skarabox.com/services-nextcloud.html#services-ne...

Robust thanks NixOS being a declarative OS, for example by adding a grub menu for every new deployment, making rollbacks easy. But also thanks to extensive tests that for example validates that the SSO integrations do not break on upgrades.

Fully featured because for every service it provides, it makes setting up the reverse proxy, backup, LDAP, SSO, etc. easy and importantly in a standardized way thanks to contracts I’m adding https://shb.skarabox.com/contracts.html

All of this is not meant to stay in this project though. I’m slowly working towards upstreaming everything into nixpkgs. I’m starting with upstreaming a feature that allows out of band secrets to be interpolated into config files easily https://github.com/NixOS/nixpkgs/pull/328472 I make extensive use of this is Self Host Blocks already.

Finally, I’m using this project for my home server and one in my parent’s place. So I’m using it in “prod” already.
If you want to know about this in podcast form: https://features.apmreports.org/sold-a-story/

Takes more time than reading the article, but the podcast has IMO a nice pace of leaving you curious and giving you info. It includes opinions from teachers, parents, etc.
> One more thing: the comment-replies to the post on LinkedIn are utterly derranged and I genuinely can't put my sense of unease into words.

I don't want to dig up my old credentials to sign in to see the entire set, but from what's publicly visible...

Perhaps the sense that some comments are mostly desperate scrambling to self-promote, and a few of those also contain fawning ingratiation which they seem to think may be reciprocated?
Sounds great, I know a lot of people who could benefit from this.

I think CSS has historically been a lot harder than it was supposed to be, because browser support was shit. They were slow in adopting new CSS features, and existing features (even simple features!) weren't correctly implemented in all browsers (looking at you, Internet Explorer!).

Things are better now, for the most part, but everyone seems to have migrated to web frameworks, and writing HTML and CSS from scratch has become something of a dying skill.
I am working on ByteChef(https://github.com/bytechefhq/bytechef). It is an open-source, low-code, extendable API integration and workflow automation platform. It automates daily routines that require interaction between independent business applications. ByteChef maintains automation definitions in an easy-to-understand workflow format.
Is there already a browser with its own engine? Does any browser have this planned?
It's not so much obtuseness as different assumptions about what is "normal" law: most young American computer-science trained programmers probably believe that ISPs or even Pirate Bay websites are not responsible for online crimes such as piracy, the authorities should go after the distributors of pirated material, and so this event does not fit the prior mental schema. It's a difference due to values, expectations, context having to do with how we reason about technology and in large part this depends on one's background technical culture, which varies depending on country as well as the type of university of study, exposure to Silicon Valley attitudes, etc.
Reasons for Grafana GitHub stars spike
I've seen a spike of new daily stars for Grafana, there were around 600 on August 16, 2024. Generally there are around 20.
What could be the reason of the spike ?
This can be seen here: https://emanuelef.github.io/daily-stars-explorer/#/grafana/grafana
It usually only exist when hate speech needs to be protected.
is there a game where you're the indigenous people and you are trying to stop an empire colonizing you ?
We’re building an off the shelf software and ECU that allows you to convert anything to EV (classics and low volume OEMs) with enough tweakable knobs to suit every application.

There are some players in this space already, but we have repurposed some OEM grade hardware that we usually reserve for the big players and so we can offer differentiating features such as DC fast charging, bidirectional/V2X, and things like this to the retrofit market.

B2B to start with.
Dupe with >700 comments: https://news.ycombinator.com/item?id=41341353
Maybe, although I'm skeptical, but regardless: if a regulation backfires or becomes unenforceable and the regulator cannot correct course, then I'm gonna blame the regulator.

You wouldn't accept blaming the user if a UI caused wide-spread issues. Legal systems aren't that different. They're made for people and they have to work for people.
There is no regulation to make cookie banners annoying, afaik. Plus there are addons that solve this problem.

Could you explain your annoyance with bottle caps?
I'm working on a paid Ruby gem for bespoke Stripe subscription integrations. It cuts down integration time from +6 months to less than a day, and handles many Stripe API pitfalls.

Stripe has a "developer friendly" and "easy to use" reputation. But, since 2019 the EU regulation has stepped in and made things more complex with 2nd factor authentication for payments (3DS/SCA). This made payment integrations way more complex. Integrating Stripe subscriptions now easily takes 6 man-months (I'm being very optimistic here).

Also, there are some basic scenarios that are hard to get right:

- Creating a paid subscription and ensure a customer always has a card on file (this one is almost impossible).
- Upgrading a free ($0) plan to a paid one.
- Upgrading paid plans, eg $10 to $100/month and ensuring immediate payment.
- Guarantee customer Tax location, keep the flow simple.

I made a video analyzing Stripe integration of a successful SaaS company (+$100M valuation). I first paid $30, then upgraded to their highest $2000/month plan - for free!

https://www.youtube.com/watch?v=YuXp7V4nanU

The gem I'm working on is intended to be used with Ruby on Rails apps. It covers all the above mentioned hard cases, and irons out many more Stripe API kinks. And yes, it handles the basic-but-impossible "ensure customer always has card on file if they start paid subscription".

After buying the gem you can hand-off the task to the junior developer (it's that simple). They follow the integration tutorial: follow the steps for Stripe dashboard config, do the local env config, done.

The product (Ruby gem itself) is ready. I'm now working on the web app, tutorials etc. If anyone wants an early, guided access, please email me - contact is in the profile.
Sunshine: Self-hosted game stream host for Moonlight
https://online.stanford.edu/courses/som-xche0001-nutrition-s...
Like https://podscan.fm/

being built by

https://x.com/arvidkahl
It's unfortunate that with Samsung phones you can't uninstall the myriad of bloat apps, not to say of their telemetry volume (compared to Apple at least).
Ah, configurable data loss.
I could not install the Italian train app while travelling in Italy due to this.
Since ppl exaggerate individual cases to a generic form, i remain sceptical about "gang of 12 year old". not to say, it doesnt exists. everything is hyperbole on the internet.
The point was that language specific standards aren't nearly as important as broad industry standards.
> The EU will [...] then annoy you to no end with cookie banners and attached bottle caps.

You know there's no EU cookie banner insertion agency that intercepts traffic and injects cookie banners - the sites could handle this way less obstrusive.

I'm with you on the attached bottle caps though. It's just a minor annoyance but you really gotta ask: Are environmental benefits really worth the negative reactions to regulation this will spur in the population every time someone tries to drink from a plastic bottle?
They are attached to the bottle permanently, and tend to get in the way, depending on how
the manufacturer decided to implement the regulation.
Is there any reason to use that instead of Delta lake?
> Custom browser engines means "a blink monopoly on the web". Some of us were around the first time and remember how shit that was.

Don’t care, this should be fought with regulation and competition, not by phone manufacturer deciding to enforce monopoly on their devices that they’ve sold TO ME.

As a user, I want proper Firefox with proper extensions, Apple can get a handful of deez.
They're referring to new rules mandating tethered caps. Drives some people nuts.

https://www.euronews.com/green/2024/07/02/why-are-bottle-cap...
Starting a startup to get rich is a gamble at any stage in life but starting one to be in control of your work life is much more achievable.

Imagine having experience, a bit of a financial cushion and a strong sense of your own values and priorities. I can't think of a better time to give startups a go.
https://archive.is/EL3AB
Regulations are backbone of societies. Most of engineering is heavily regulated except for computer engineering.
Thanks for reporting! May I ask what browser and system you are on?

When going underground it starts raycasting shadows, which is heavier on the GPU, but the difference shouldn't be that big.
Ask HN: How much do you spend on your AI coding workflow/environment?
What's your stack and how much do you spend monthly? Do you find it to be worth it?
PBKDF2 makes it harder by using more ALU related functions to calculate the key. The problem is ALU's are rather easy to add to a chip, which means it is relatively easy to increase parallelism. ALU parallelism is I'm guessing what you are thinking of.

The others target other constraints, with varying degrees of success. Scrypt for example targets the connection between the CPU chip and DRAM. It doesn't use a lot of CPU time, but rather jumps in a very random way over a whole pile of memory. So adding ALU's doesn't help you crack scrypt. You have to increase memory bandwidth. How fast you can access memory is effectively limited by the numbers of pins you can put on a die, and the number of pins is far harder to increase that the number of ALU's.

So the answer is yes parallelism always helps, but if you chose the things that constrains you to stuff that is hard to add (like pins) adding that parallelism is hard.
I'm not posh enough to routinely pour my drinks into a glass so an attached cap either drips, scratches, or gets in my way and I have to tear it off and then usually remove the plastic ring since it now comes with prongs that only sometimes come off with the cap.

Attached cap is also less convenient when screwing the cap back onto the bottle.
JSON is usually the least bad option for machine-readable output formats
I've been using ChatGPT for similar visual recognition things. Recently I took a video of a car because I really liked its color. I upladed the video to ChatGPT and asked to extract which paint color I'd need to specify to a modding garage to put a foil on my car. ChatGPT really impressed me, extracted a screenshot, did a color analysis of the paint, found the palettes from paint vendors and found for me the exact paint code to tell the garage. I was speechless.
Amazon CEO: AI Code Transformation Saved Us 4,500 Years of Developer Work
How come we say drawn line has 0 width and using paper instead of drawn line has non 0 width? I can say a paper has 0 width as well. But if we are to stick to physical world, then neither drawn line nor paper has 0 width.

You can't just treat things differently just because.

If your point is to obstruct view of an object, knowing objects dimensions we can calculate it's position behind the paper wall/line.
Not optimized for mobile in 2024, seriously?
Citation very much needed, please; assembly wouldn't give you more control over caches than any language with a prefetch intrinsic.
Woah that’s really cool!
I think you could make by with some kind of async memory-touch system call, i.e. "page in this range of memory, notify me when finished". The application would have to call this on blocks of the mmap prior to actually reading it.

This of course means you lose some of the benefits of mmap (few system calls, automatic paging), but would maybe still be beneficial from a performance perspective.
My city used to have a similar site. It was great. Got an hour to kill? Check the site, find a nearby bar with live music and head on over.

It ultimately got shut down because no one wanted to pay for it, and people started posting spam instead of activities.
SSL certificate expired, fyi
Last month I built a node based web server that can proxy and redirect anything where the blueprint is a tiny config file in json format.

I am going to expand it to provide a health dashboard of connected sockets, supported domains, and traffic analytics as a web service.
I wouldn't mind if ruby copied the rails docs style exactly (https://api.rubyonrails.org/), and I'm pretty sure rails wouldn't mind either.
Do you think it is possible to integrate this with an existing string interner in the Rust ecosystem? Or one would need to roll their own?

The goal would be to compare two strings using only the 24-byte values, without touching the allocated part (if it points into a string larger than 24 bytes)

The first thing that makes me think this is impossible is that you only define an owned variant for your string type. But your can cleverly wrap a &'static str rather than allocate on heap, so if the interner can give a &'static str I think this could work, with some boilerplate. Namely: for strings smaller than 24 bytes don't intern and build a CompactString inline, for larger strings, intern, get a &'static str, then build a CompactString out of it. Then, two check if two strings are equal, you just compare its 24 bytes, and don't need to touch the interner for this at all.

However this only works if the interner actually leaks memory. If it returns you a &'a str that isn't 'static, then you can't store it on CompactString, unless your lib also provided a borrowed variant.

Also, to think about it, since interned strings are immutable (they are not a "string builder" like String is), you don't really need the capacity value for them, just the length. So it suggests a 16 bytes size, not 24. (but one could imagine an application where it's optimal to store 24 bytes inline rather than 16 anyway)

I think that this could be achieved with an 16 bytes &str wrapper, maybe something like &CompactStr, that works just like your CompactString, but wraps a &str instead (and offers no owned variant). Maybe such a thing could conceivably be included in the compact_string crate?

(Maybe make it 24 bytes even if it "wastes" some bytes, just to make it bitwise compatible with CompactString, so that borrowing CompactString into &CompactStr is zero cost - and then just zero out the remaining 8 bytes when a &CompactStr is stored on the heap)

[0] I was reading this post https://dev.to/cad97/string-interners-in-rust-797 that was written in response to this fasterthanlime post, but it contrasts interner with small string optimization, when you actually could have both!
Record players, CD players, and MP3 players were meant to become worthless after the advent of each successive device with the final myth being the idea that streaming would consolidate all the spending into the smartphone. These rumors have always been greatly exaggerated. Now, kids are buying up old iPods, CD players, and your uncle’s Technics receiver (mid even for its day) above their historical MSRP.

There are three questions at issue:

1. Is the point of this watch to be a sound, efficient investment? No, clearly it is meant to be a personal luxury object and experience. It’s ok to indulge, but seem to agree that this watch is an extravagance —and thus it is wonderful but fundamentally beyond purely rational.

2. Is this watch a good investment, money-wise? It would be if it appreciated, and it may. It could also wind up (ha) depreciating, as ochs and junior make many similar pieces and OP is wearing it actively enough to damage it.

3. Is a series of lower end, 4-year supported, shorter lasting goods ($500 for 4 years) a worse decision than one, long lasting, analog artifact ($100000 for 80+ years)? I think that’s up to each person.
>give Google even more power over the internet

If it was North America too I have no doubt we would see Firefox (as we have on Android) along with uBlock Origin.
oulipo, gouache.. these are names i haven't heard in a long time

jokes aside, i was curious if weld-less 18650 packs would be possible... seems like you guys answered that 10 years long question :)

kudos
The hypothesis is testable - we've been observing and calculating the behavior of black holes and other astronomical objects for decades. This paper is looking for stuff that is physically possible but unlikely to occur naturally. What test would you like to see, short of "yep there are aliens"?
According to the Telegram FAQ (https://www.telegram.org/faq#q-do-you-process-data-requests) data on their servers is encrypted and the keys are split and stored in different jurisdictions (and different from the jurisdiction where the data is stored).

With such a setup what does it mean to comply with warrants? Are we saying that Telegram should voluntarily yield all information regardless of jurisdiction?
> I'd argue this "regulation" is really a deregulation...

If your argument is an attempt to rebrand something as its antithesis then the argument seems fundamentally disingenuous to me. Arguing the regulation is good is one thing, arguing it is bad is another. But arguing that regulation is deregulation is not an intellectually honest position.

Prior to these laws consumers could delegate certain decisions to Apple. Afterwards, they can't. It is illegal and the regulators will get unhappy if Apple tries to make said decisions. A clear case of regulation. "Deregulation" doesn't mean that everything gets set up the way that a 3rd likes.

And it might be more competitive but if it was I'd have expected to see Android or the Windows phone ecosystems do much better than they do.
I have been working on a little price tracker for the Hetzner Dedicated Server auction (https://radar.iodev.org/). Using Sveltekit for the first time, and decided to go frontend only with duckdb-wasm.

I pull the data every hour with a GitHub action and redeploy the site nightly. The duckdb is regenerated every time and I can flexibly change its structure as required. So far I didn’t change much (eg. no normalization) since it’s not really needed. It also turns out to be surprisingly small, with compression a few megabytes. I haven’t written much SQL in some time and duckdb is very powerful.

Most of the texts are AI generated as I’m usually very bad coming up with this. I really gotta learn that one day. Webdesign is the other weakness, but with all these UI libraries these days it’s less of a problem.

I guess it’s pretty niche, but maybe interesting for some.

It’s a fun little project.
The problem is that the generals down the line from them are also doing what seems to be the same thing and succeeding.
Ah Linus..
> lack of resources, hunger, mental distractions, illness, or motivating incentives

Sure, that's a factor, but people can also simply be dumb. There's no quality equal for all humans, whether it's length, strength, weight, hair color, or intelligence, regardless how you measure it. The (rather superficial) article looks at it from the first person stance, but individuals are bad at estimating their own cognitive capacities.
friends. you understand that you can just.. take it off, right?

fully unscrew the cap then just either continue twisting the cap over the the edge - honestly effortless - or just.. pull it off? the cap still functions as a cap, afterward.

apologies, but i don’t understand the furore over this change.
I only have a Samsung tablet and I could either disable or uninstall all of their apps. Also, I think you can remove them effectively with `adb`, without root, but haven't tested.
That is a really fun idea, I love it.
That was for the politicians, not the generals.
You can read the actual regulation instead of being sceptical. And the most annoying ones are being sued already. The change may be slow, but we'll get there.
The American
Alien(s) 1,2 and 3
Limitless
The Bourne movies
Heat
Leon

It's not about the movies themselves but for example with Bourne or the American, it's certain scenes that get me in a mood. A single professional or group doing his / its thing, it's kind of calming.

Feel free to suggest movies in a similar vain.
But you can flip the cap so that it stays open and in a single place when attached. There is often a small bump at the bottom of the cap that makes this easier. I also drink straight from the bottle and I find this unobtrusive. Even helpful - I no longer misplace a cap; I guess that was the goal.
no they are not lying, they just have a different meaning for "democracy", it just means "them". So if you are against them, you are effectively against "democracy".
I took this to mean that the arbitrary decisions apple make about what you can do no longer apply.

For example, apple didn’t allow you to have a custom dialer, and have not approved fart soundboards due to there already being many.

These are all specific well known and publicised restrictions that the author was turning into a parody. As you thought the author was being literal you clearly aren’t part of the target audience.
It feels weird knowing that user counts of Twitter by regions is like that[1], with content fractions occasionally mentioned to be even less generally palatable, and seeing nothing recognizably related to the second one on the list. Talk about free lunches...

1: https://cdn.shopify.com/s/files/1/0840/8370/3830/articles/Nu...