skysight-inc/HackerNews huggingface dataset:
I co-organized a weekly hacknight meetup of 40-70 people.

I wrote a script to make Anki spaced repetition flash card decks with avatars and names pulled from the meetup API. I would use GitHub Actions to run the script a few hours before the event, then drop the importable deck into a Google Drive folder. I'd review the deck before the meetup, and then at the event, I'd not stress about names. I'd pretend to introduce myself to new people like I didn't already know their names, but I'd be able to make them feel very welcome when I remembered, or introduced them to others.

Why do this arguably creepy thing? Because I am really forgetful with names, and when I forget, I become reluctant to approach people, which comes across as less friendly than I prefer to be. But I believe using people's names is REALLY important to community organizing. When I know names, I am really great at using them a lot, helping others learn them, generously making introductions, and helping people to feel a sense of belonging.

It was the best community organizer hack I ever came up with, until meetup locked down their API and broke it...!

https://github.com/CivicTechTO/anki-meetup-memorizer
I built my own lay man's digital signage solution.

I wanted to have a display in my living room, which shows the temperature of all rooms in my apartment. So I used an Android Picture Frame. This is connected via WIFI, and offers FTP access.

A Docker service on my local in-house server grabs a random background image from a folder. Depending if we have day or night time, the picture will show satellite images from earth’s day or night view.

It then connects to my home assistant instance, and pulls all the necessary values. A SVG template is then filled with these values, and they are merged with the background image. The service then uploads the image to the picture frame, and it will refresh the image after some minutes.

The whole thing uses templates and config files, so it's easy to extend.

Unfortunately, the picture frame broke down since, and I haven’t had the chance to buy another one yet.
I know who nvidia is selling those GPU racks to.
> including biomass, geothermal, and hydropower) is considered, renewables accounted for nearly a quarter (24.1%) of total generation and outproduced coal by 50.8%. Electrical production by the mix of renewables also surpassed that of nuclear power by 21.9%.

Renewables: 24.1%

Coal: 16%

Nuclear: 19%

Other non-renewables: 41%
GNU Compiler Collection 13.1 released
Not too fancy, but I built a math model & interactive visualization of my parking spot to understand how to efficiently park there without bumping into anything: https://observablehq.com/@mourner/kinematics-of-reverse-angl...

Discussed on HN here: https://news.ycombinator.com/item?id=21891919
This looks very nice indeed - was looking for something web-ready like this earlier today.

My experience in the Python ecosystem a few years back was that for dataviz, there was nothing that approached the polish and power of R’s ggplot2. Does anyone know whether that’s changed?
What we're talking about here is definitely art where a human is providing independent creative expression, in combination with generative tools
Neat proof!
I don't see any dropdowns for such a thing.
Show HN: A curation of resourceful websites and handy tools
Indeed, if we assume cyclists use the tunnel 100 days a year going both ways through it, thats saving each one nearly 60+ hours a year. If each one's time is worth $20, that is over a thousand dollars per cyclist per year - it only takes 9k cyclists to make the savings outweigh the costs in five years.
"my demand regarding the ChatGPT policy is that it must be everyone's individual choice to use it. After all, it is my data that I'm putting into it, and I, as a responsible adult, am aware of the data protection issues that this technology creates. In fact, I'm so aware, I might be better informed than some of those in Brussels."

On the bright side, at least you're not in Brussels, where you might have to deal with even more EU regulations!
I don't think MS sees a growth for .net at this point

1. Back in .net 6, mere *days* before the final release they yanked a hot reloading feature from the dotnet CLI that is typically used by the massively more popular, but free, VS Code, and making the feature exclusive to flagship VS. To me this spoke of a leadership who didn't care about growing .NET with new developers but only to prop up their old creaky VS $50/mo from their established customer base that is locked in to C# from legacy code. They rolled that mistake back but it was a big warning sign / wake up call for me.

2. Speaking of hot reloading, their much touted hot reloading feature SUCKS. It has nothing on the JS guys. Hot reload is a massive deal. How is Blazor ever going to compete with the JS frameworks with a horrible hot reload story. Not to mention Blazor is way heavier in terms of KB and also is way slower rendering performance to boot. Can you even use tailwindcss with Blazor since the compiler relies on your framework being able to hot reload the css changes?

3. .NET MAUI by all accounts is just a massive disaster at this point.

4. Their latest Teams 2.0 UI rewrite is in *drum roll* react.

I dunno it all just speaks of an underfunded / understaffed group at this point whose top brass doesn't care about them beyond the meager, dwindling, VS pro subscriptions they get from them.
It's not fair to reduce the role of Windows to an advertising tool. It's also a spyware.
XTDB – an open-source Datomic alternative
Can this device really be of any use ?
I mean, is it just a beautiful gadget to play with antique tech that is not used anymore ?
Or can you really have fun and make it work on stuff you have at home or around you ?

Does it work with "real" 2000's stuff ?
That's the reason I'm using Lazarus, even if I prefer programming in C++ rather than Pascal... it's basically like VB6, you can design a form, associate code to events and make an application is seconds. It also has database support, it is multi-platform, and generates native code. It's too bad that such a tool doesn't exist for C++! (There's Qt of course but I find that you can't make things SO quickly with Qt Creator)
> Every message is stored in your local database, you don't need to connect Internet.

Very nice!

> If you connected Internet and signed in with Google, messages are automatically synchronized between devices

Nice to have but not ideal for privacy-oriented people who actually appreciate the local database feature. Better add support for SFTP, WebDAV or something to synchronize via my own server.
IMHO the crutial word is not premature but rather optimaization. Not everything is an optimazation.

Merging two loops into one is an optimazion that should be postponed until it's necessary and the system have been profiled.

Joining two large lists by a hash join instead of a nested loop is a design decision that should be made at the outset.
My high schools IT manager got so sick of me he eventually just gave me creds and told me if I abused his trust he'd be really disappointed in me. I never bypassed a single filter system once, just made sure whatever computer I was on was functioning, up to date, didn't need any attention and fixed anything broken. In retrospect, Weird way to get me to stop fucking around, but worked extremely well for him.
You can just get DJI Goggles 2 ( https://www.getfpv.com/fpv/hd-fpv/dji-digital-hd-fpv/dji-gog... ) and buy a quad with the O3 Air unit (The same video system that is in Avata) and bind them.

What quad you want to buy depends on what kind of flying you want to do. There are all kinds of them for freestyle, long range etc.. If you want something with prop guards, here is a decent one: https://www.youtube.com/watch?v=aFBBTtNZUPc . See if you like it? Geprc, iFlight are usually decent brands. When buying, go for ELRS 2.4 Ghz version with GPS. ELRS is just an open source rc link system that has really good range.

Gimbals and headtrackers are possible with DIY quads. But that is mostly used by fixed wing people. For just racing/freestyle kind of flying you don't want those kind of things. It is just one more thing that breaks. Here is an example of a DIY headtracker: https://www.youtube.com/watch?v=YVC5HyJGU4Y . I think DJI just has some beginner friendly features with additional sensors for collision detection, automatic takeoff/landing etc... Once you are used to flying, those are mostly useless.

If you want an alternative to DJI video system, there's Walksnail Avatar, which is quite decent too (Comparison video: https://youtu.be/d0VoBp9-sn4?t=550 ). Both DJI O3 Air Unit and Walksnail Avatar have onboard recording system which eliminates the need for a GoPro. At least for non/semi professional footage. For stabilizing the footage, people just use Gyroflow: https://gyroflow.xyz/ later on.

As always, before investing in Goggles/Quads, do get yourself a good transmitter and practise flying on a simulator. Maybe Radiomaster Zorro or Radiomaster Boxer: https://www.youtube.com/watch?v=b0b1tQ-hyCQ . ELRS version.
I'd be willing to pay for shipping to EU if you'd be OK with that, subject to a sane price.
Exactly WHAT “value” of a dollar changed while I read your comment?

Since “the value” of everything else in dollars is what the unit “dollar” is supposed to measure, it’s inevitable that the value of the dollar in terms of everything else also changes.

If your kid grows bigger, you can't complain to your wife that “A foot was a third of a Little Joey last year, but it's only a quarter of him now! Damn, the foot sucks as a unit of measure!” Or, well, of course you could, but that would be idiotic.

When the price of bread doubles, then yes, the dollar that used to be worth a loaf is now worth only half a loaf. Complaining about how that is “a change in the value of a dollar” is about as smart as complaining about how the foot isn't the same amount of Little Joeys as it used to be.
Seed funding wasn't enough?
Very cool! Would be awesome to have something like this for more countries (maybe the entire European network)
I'm sure at least their "parents" did.

$tongue in @cheek
Thanks! Personally, I have immense respect for Storybook and the engineers behind it. It supports a dizzying amount of use-cases.

Having said that, however, I think that they did go too far down some paths that I would have liked to not see it go down. I feel like them supporting so many use-cases came at a cost of usability. In addition to this, there is quite obviously too much framework-magic, causing obscure undesirable behavior.

However, it's still an awesome tool. Just a little too full-fat for some of my more simpler use-cases :)
> except the non-savvy (or privacy-conscious) consumer.

Every single hotel I have been to already requires your ID and records your information at check in. In fact, it is required by pretty much all city laws in the US.

I also would not want to stay in a hotel that does not require it.
> Seriously why does big tech deserve this free & super-private window into me & my ancestors lives?

I don't think anyone's claiming it deserves anything?
Meeting Attention for Software Engineers
One of the slides lists:

> Has driven changes in upstream Rust: more try_ methods for Vec that don't panic in OOM: https://github.com/rust-lang/rust/pull/95051

I was curious to have a look at that PR, but it seems it was closed after a long discussion (mainly because it would add ~30% more methods to Vec?). So which changes landing in upstream Rust is the bullet point referring to? Was the Keyword Generics Initiative born out of this?
Well, that would not be very accurate since less than half of humanity is a penis bearer
Hacking school security prepares these kids for the real world, where they have to hack company security to get any shit done. (Yes, I'm salty at a lot of security theater in companies with Big Dumb Company Disease.)
Do you have a pointer to some doc explaining how to do that in foundationdb ?
Worth noting that there already exists a product in the Indian market by a big music label that addresses this exact issue. I’ve bought my grandfather one of those and he’s very happy with it!
ADHD is a blessing and a curse. Anything you don't enjoy doing becomes very difficult, and it takes a lot of conscious effort to turn doing those things into habits so they'll stick.

However, people often ignore that there is an equal and opposite side to that coin, and people with ADHD can hyperfocus to an absurd degree on tasks they enjoy. An internet connection and a desire to learn something is a powerful combination for someone who can shut out everything else in the world for several hours at a time.

If you have a job you enjoy, ADHD is usually a boon. Unfortunately, high school is mostly stuff that falls into the "very difficult" category.
Siri reveals the problem with deep integration using proprietary standards. A modular stack designed around interoperability and open standards makes it far easier to swap a subpar software service with a superior one. Conversely, deep integration using custom interfaces requires redesign of many stack components to switch to a different design principle for just one component.
Can't you just change the keyboard on your iPhone?
And assuming that this will increase the number of people who choose to bike instead of to drive, you can also add savings for all the remaining drivers who get a slightly easier commute.
> That Apple is swimming in money just makes things like this more jarring.

This is a common theme. Big Tech Company X is rich therefore they should be able to do Y. But corporations don't really work that way, they build a monopoly around a few domains and then their organization is structured to maintain that monopoly. It's the exception, not the norm, for established companies to gain competency in a new domain, and it usually comes with an acquisition or a special initiative by senior management.
I was curious what kind of range that might have, so I put what you said into chatgpt and asked what the range of a typical car or home stereo would be, and it gave me this (not sure if it's correct). FWIW, much less than 20 miles, haha.

--
The maximum power output of a personal FM transmitter allowed by the FCC is 250 microvolts per meter at a distance of 3 meters. The range of the transmitter depends on various factors such as terrain, obstructions, and interference.

Assuming ideal conditions, such as no obstructions or interference, the range of the transmitter can be calculated using the inverse square law. This law states that the strength of a signal decreases with the square of the distance from the source.

At a distance of 3 meters, the signal strength would be 250 microvolts per meter. At a distance of 6 meters, the signal strength would be 62.5 microvolts per meter (250/4). At a distance of 9 meters, the signal strength would be 27.8 microvolts per meter (250/9).

Typical car and household stereos have a sensitivity of about 2 microvolts per meter. Using this sensitivity value, we can calculate the range of the transmitter for these devices.

For a car stereo, the transmitter would have a range of about 26 meters (square root of 250/2). For a household stereo, the transmitter would have a range of about 63 meters (square root of 250/0.5).

However, in reality, the actual range of the transmitter may be shorter due to various factors such as interference and obstructions.
I made
- A screenshot to text copied to clipboard
- Another variant had translation from one of the local languages that I can't read to english
- Built a keyboard identifier for windows that could know which USB keyboard the keypress came from and then suppress keystroke and then launch the program (differentiating keyboards is unnecessarily hard btw)
- A python app that could pin any app 'on top' or change it's opacity %
Having to walk a guest when the hotel cannot meet the terms of the reservation is part of the contract between the big hotel brands and franchisors. If the hotel operators do not fulfill the walk policy, then you should contact the 800 number for Marriott/Hilton/IHG/Choice/Wyndham/etc and they will mail you a check for your expenses and bill the hotel owner.
There's a difference between what theoretically could be achieved with IT - in a perfect world - and what is actually being done in praxis right now. There's no concept in place, as far as I can tell, other than "we need to have tablets in schools".
I believe GP stating s/he’s blind in the previous sentence means s/he’s grabbed the short end of the stick on this one
This link is not very informative.

For instance, it states that producing one litre of dairy milk requires more water than producing one litre of almond milk. OK, and? In itself it means little. Almond farming is creating big water pressure in California, which is already water-stressed. Is having cows in England creating the same water issue? I don't know.

It's not clear what the proportion of transport is in the total emissions. 'Transport' is also vague as it can go from local to intercontinental, as mentioned.

> If you want to reduce the environmental footprint of your diet, switching to plant-based alternatives is a good option.

That strikes me again as avoiding the glaringly obvious option: reduce/stop milk consumption. Otherwise, it sounds like marketing for one product over another one.
> The thing about LLM is that it answers based on data it has seen before.

Modern LLMs are able to perform web searches to make decisions on contemporary data. Once they have proper API support your concerns should be resolved, hopefully in a few weeks.

> reliablity and safety issues.

The solution to this is fine tuning / RHLF. OpenAI have done a pretty extensive job at getting political safety for ChatGPT with RHLF. It seems reasonable that RHLF could achieve a similar result in the hardware domain.

> you can't ask questions you did't know you needed ....

Solvable by prompt engineering. You can wrap user input in a prompt. As a toy example: "Here is user input $userInput if you have safety concerns about their project please respond with questions you think the user forgot to ask". Might also be possible to tweak with fine tuning/RHLF.
I this similar to some of the smart mirror projects that exist?
If I were a Rust user, I'd be really afraid of what will happen to Rust when Microsoft gets hold of it in any way. Just look at what happened to C++ after it got popular because of Windows/Visual C++ and the strong ties between Microsoft and WG21 in the 90s/00s.

To quote Steve Jobs: "They just have no taste."
I work in the field and I'm not entirely sure about the cardinality of types of attacks. On one hand, there are password spaying, RDP bruteforces, email attachments, social engineering etc. On the other we have BlueKeep, ZeroLogon and the tons of RCE present in VPNs (looking at you PulseSecure), Routers, and Firewalls.

I would say that breaches often are related to RCE that ultimately derives from buffer exploitation. They are notoriously difficult to detect with forensics techniques, so they might not be discovered and tracked.
But that's not what is taught in the schools around me where everything is done on tablets, too.
Pretty cool stuff. The algorithm returns the largest item that’s at most the size of x. At each step it checks array[k] and then checks either 2k or 2k+1 next.

The last k will be past the end of the array so you have to backtrack to discover the actual lower bound.

k records it’s turns in binary such as 10111. After another right turn it’s 101111. So to backtrack, you strip off the trailing 1s.

How to do that though? There’s an assembly instruction called ffs that will give you the first bit set from the right side. So invert k to get 010000, ffs gives you 4. So for k 101111, shift forward by 4, you get 10. Cancel the right turns, now you have the index of the lower bound.
Four Word Game
Rearrange 16 letters to make a grid that reads the same vertically and horizontally.

See this video to get a glimpse
https://www.youtube.com/shorts/Z9NInxptwKM
Depending on what you mean exactly with "IPv6 could include IPv4 addresses inside its address scope", IPv6 actually does that.

For applications a subset of the IPv6 address space is set aside for IPv4 connections. So applications only need to support IPv6 and can communicate with IPv4 destinations using ::ffff:<ipv4-address>, so for example ::ffff:8.8.8.8 is a valid ipv6 address.
But that still requires the host to have a IPv4 address for this to work (it's only so applications can support both while only requiring support for one address family).

For IPv6 hosts connecting to IPv4 hosts there are different methods that translate IPv6 to IPv4 (NAT64, SIIT, etc.), but most (if not all) just embed the whole IPv4 address space inside IPv6 (and again you can have something like 2001:db8::8.8.8.8) and then translate based on extracting the IPv4 address from the IPv6 address.
And in combination with DNS64 you can have ipv6-only hosts that can communicate just fine with IPv4-only hosts (all ipv4 traffic gets routed via NAT64).

The problem is however the inverse. IPv4 is not forward-compatible. A IPv4-only host can only ever form outgoing connections to other IPv4 hosts, since there is no way to put more than 32-bits of information into the 32-bit destination field of the IPv4-packet.
You can of course expose certain ipv6-only hosts to the ipv4-internet using for example SIIT, but that requires a 1:1 mapping between the IPv4 and IPv6 host.
If you don't have that explicit mapping, how would a gateway know which IPv6 address you meant?
going.com is US only. Sad.
> At least in March 2023 it was "slightly better" that people would go straight to assuming the answer is "Ukraine".

Ignorants perhaps. Several other active conflicts predate Ukraine's war[0]. It's just that nobody cared much, maybe as the people dying weren't white?

Wanna have fun? Pair the Wikipedia link about armed conflicts with the stats about the major arms exporters[1].

.0: https://en.wikipedia.org/wiki/List_of_ongoing_armed_conflict...

.1: https://www.statista.com/statistics/267131/market-share-of-t...
This is a great observation.

By default, using a name like `janedoe91/fibonacci` pulls the latest version of that particular scrap from the scrapyard. But all of its references are baked-in unless the author updates them.

The way around this is that consumers are empowered to use whatever forcing upgrade strategies they want. All scraps are transparent, so you can pipe everything through an "upgrader" scrap before execution, which replaces dependencies all the way down the stack with their latest versions. I'm sure many of these upgraders will exist depending on what types of tradeoffs you're looking for.
What baffles me is that everyone talks about software quality but very little organization actually measure their software quality. Not just some made up metrics but exactly how well the software meets its requirements.

And not that we don't know how. For any ML model, we have a validation data set and it is imperative that we measure how well a model performs on this data set and not the training data set. We know that without a validation, a machine will overfit its model into the data it has. Programmers... do the same thing. We're very good at passing tests and, unless we have a separate independent validation and verification process, we convince ourselves that green tests = quality. So our tests are always green but our backlogs are always red. And nobody seems to notice the contradiction.
It's not a good reason but I believe this happens because voice command has to go to Google server, Google talk to light vendor API, light vendor communicates with your device, and lights go off only if all of this succeeds.

Meanwhile, button in vendor app will not use internet so lot less can go wrong.
Ah yes? How do Milan and Berlin differ from Brussels?