skysight-inc/HackerNews huggingface dataset:
Last time I looked into it end-to-end, it seemed like a NiMH cell would need to be reused like 500 times in order for it to actually be an improvement for the environment over one-time-use alkaline. NiMH is better than NiCd but still relatively nasty.
The sources of the high energy cost are:

- Ukraine conflict's impact on gas prices

- Cost of renewables from over 10 years ago when Germany jumpstarted the solar industry using subsidies.

- An ill-advised by highly popular switching off of nuclear plants. The Germans preferred higher energy prices now for less hassle and worries due to having Nuclear plants.

None of these points have any impact on the argument that solar is the clear winner of becoming the dominant energy source until 2050.
Japan's tech industry needs Africa's critical minerals
The only left-wing group i followed on twitter was banned so quickly i thought they posted CP or violence. They did not[0].

[0]https://fr.crimethinc.com/2022/11/25/elon-musk-bans-crimethi...
Yeah I did read it.

I’m just saying I choose to not care that much about these discussions. Pick a standard or some customizations that work for the team, and deal with it. But having discussions or debates on it that last more than 5 min is a waste of time.

For people like the author, their team should just accommodate him. If they can’t then unfortunately he would have to write code however he’s comfortable and run a custom linter.

And I disagree that either spaces or tabs are better. I don’t care, that’s my view.
Show HN: Analyzing the Correlation between Fed's Reverse Repo Ops and S&P 500
Too bad we didn't have such technology for the xbox "red ring of death". oh wait.
> The odds we live to see an asteroid hit us are slim.

Presumably this is based on a belief that humans are likely to go extinct. I don't agree; I think we're extremely unlikely to go extinct and, following from this, an impact is definitely something worth worrying about.

It doesn't even have to be a "planet-killer," a smallish impactor could wipe out a city.
Thanks to John Cowan for all his work on a very challenging PL standards efforts.

Someday, I'd be interested in what were the process difficulties overcome, and how, and what are the remaining problems or costs.

(Disclosure: I was involved in the working groups, briefly and in a much lesser capacity.)
Ouch. I'm am grateful to have picked up the "When in doubt, back it up anyways" habit before getting burned.
Ideally, but investors in the market do not seem worried based on share price movements for the aforementioned businesses.
It's the Revised Revised Revised Revised Revised Revised Revised Report on the algorithmic programming language Scheme. That's 7 "Revised"s, hence R7RS. Basically the RxRSes are full specifications of what you need in a Scheme implementation to conform to the Xth iteration of the language.
>Why would this ever be done on a browser level?

Because government says so. Its signaling/actionism for political/power purposes.
> If you don't want to read comments, then use an IDE that can collapse all the comments at once.

This will almost ensure that code and comments get out of sync!
A far less bombastic website for this story:

https://www.civilbeat.org/2023/08/a-state-official-refused-t...
Yes. One shot vs n.

Besides, Earth isn’t the only planet suitable for us :)
iirc, to utilize the fontconfig font name matching system to determine if a particular font for say, subtitles, matches.
I’m not searching for some huge wildcard — I’m searching for some video content which must be generated by somebody and uploaded. There are not billions of results for “cool cover of a song I like” — there are hundreds of results at most. I want those hundreds of results.
I'm in favor of anything that negatively impacts China. They are our greatest geopolitical enemy. Ban it. Ban Huawei products. Ban Chinese entities from any and all ownership of real estate or natural resources. Impose monetary limits on investments in pure financial instruments from their nationals. Make travel to the US more painful for their citizens. Punitively tax US companies who move their manufacturing to China.
Perhaps they should consider saving that font cache to the disk so you only need to add new fonts to it on startup.
that was the only way i could finish it in two days for the game jam, plus I love just coding in one file when the project's scope allows it
In principle, this could be implemented by only fully loading the font once you scroll to it in the combobox’s viewport.

Partial preprocessing might be needed, however, in order to extract the proper font names for sorting and autocomplete.
How do you handle Gerbil's incomplete docs? I'll admit, when I was looking at them I had no clue how Schemes worked, but I found the lack of documentation to be a very difficult barrier.
It has been seen in the form "if you don't comply then your operation in the country will be considered illegal regardless what you do locally". That carries a different weight depending on the country, e.g. missing out on the market in Greenland isn't going to get you much but not being able to participate in the Chinese market can be a big hit. Movies are a more classic example of this push.
Can someone please explain the physics behind

1) A "faulty connection" and why it fails at a certain temp? Is it a partially broken circuit that doesn't work anymore if resistance is too high?

2) Why airblowing fixes it. Because it melts the crack together? Any why it doesnt do any other harm to the SSD?
Let's fix all those other flow bottlenecks too :)
>downright offensive at worst

People are so easily offended these days.

Having said that, if you work for a company and you get fired and blacklisted, you still don't eat. If you work for a wage, you HAVE to work for somebody or you starve. If you work for somebody, that somebody has a lot of sway over how your life looks. Better be good at kissin' ass.

Also, if you don't think the US healthcare industry will take every penny of your life's earnings upon your eventual and inevitable deterioration, you're fooling yourself.

FWIW, I'm a wage slave too.
I think a lot depends on the context, the job, and the languages involved.

Of course there is a trivial solution in pretty much any language, for example something like str(Decimal(x) + 1) in python. That's dead-simple and anyone should be able to do at least that.

The later addendum that they want someone to know how data is store by the computer seems to imply that they want an answer that doesn't use these conversions, which gets a lot trickier depending on the context. I think you'd still expect someone who does C/C++ work to get there pretty quickly, but it is more than 15 seconds - you have to think about some corner cases and how you handle the string having to be resized in some situations.

But in some languages, it isn't obvious to me how you'd do it (especially since strings are immutable in many languages) and I think it is maybe a bit unfair to ask someone who does Java or Python or whatever to do it off the top of their head.
The Generative Assessment Program
The dehumidifiers that I destroyed (cut the power cords and mailed them in) a few years ago were replaced with something else. I don't recall the name of them, but they were sent to me as part of the recall at no cost. It would be kind of amusing if the replacements were part of this recall.
> Obviously, people aren't asking for such a granular level of metaprogramming.

that `Obviously` is doing a lot of work there but more so i'm saying going from codegen facilities to static metaprogramming is a step in the wrong direction if the static metaprogramming is at the cost of the codegen.
Sure and it's not true of comparison across the USA either, lots of places you just straight up cannot get a phone line let alone broadband. It is comparable across two metro areas though, I think that comparison is fair.
Just tells you how much the freedom to do anything you want (in a non-convulted way) is worth.
oh! so sorry lol. maybe ill default to it muted, or just have the sound start a little softer to give players a chance to modify it
I'm currently working on a home server to build a homemade streaming service, something like a Plex server but worse because I'm the one making it. I'm using a Raspberry Pi 3A+. It was $25, and the MicroSD card I'm using with it was $50. I've got it working that it can stream video to my Android TV without issue. I put a big heatsink on it out of fear of it overheating, but I don't think it was necessary.

I installed Raspbian 64bit Headless on the raspberry pi. It took a bit of trial and error to set it up because I didn't know what I was doing, but ever since getting it running and being able to SSH into it, it's been really easy to work with because Raspbian is just Linux.

The server is a uvicorn server hosting an API made with FastAPI in Python. The impetus for my project was to learn FastAPI, and it was incredibly easy to learn. I already knew Android development so I was also able to write a client app for my TV that downloads and plays videos hosted on the server. The Android TV app was a little bit harder to make though just because of how quickly Android development practices evolve, and online resources/my own experience with it becomes outdated.

Raspberry Pi was a great choice for me. Super cheap, surprisingly powerful for such a small device, and I learned a ton of useful info in a very short amount of time

EDIT: Removed some details that were irrelevant
It's not so surprising: The position was just an internship, and the hiring manager was already familiar with the work product of the candidate (the app that drew their attention in the first place).
We're working on adding those as well.
Making Robots with ADHD
Honestly, this is the way most early stage startups operate, other than this one:

> 2. All Nighters over All Sprints

(and some early stage startups operate that way too)

These practices are all bad as a company scales - you need tests to prevent regressions as the code base grows, documentation to avoid repeating yourself, product managers making informed product decisions, etc. But when you have just a handful of employees, and a handful of customers, and are trying to rapidly find product market fit before your angel round runs out, YOLO-Driven Development is where it’s at.
They'll never do this because it dispels the illusion of independent media. It's the same reason cable news buys and shows ads: they want you to think the rest of the content isn't for sale. The truth is that the news is paid for by people who want to control the narrative, whether it's Logan Paul or Uncle Sam.
I have $HOME/tmp, for "temp but not tempfs"
Surprisingly little engagement with this post. I'm not in the market but can people who use gpus but didn't find their offering attractive explain why?
This is more like it. The Thai rail network is not that extensive so trains probably aren’t part of daily life for that many. India has a huge rail network. In both cases, though, train tracks are much more accessible than in developed countries and it’s common to see trains clanking right past people walking along. In India people happily walk across tracks at stations and hang off the side of moving trains.

Compare this to the UK and Switzerland, two places I have lived with extensive rail networks. I can’t think of anywhere that the train tracks aren’t clearly separated from everything else — either by fencing or raised platforms or level crossings with barriers. I have never had to think “better look out for a train” living in these places.

Edit: Zurich does have a freight train that runs down an inner-city street a couple of times a day. It goes very slowly and has many staff monitoring:

https://youtu.be/RWT58TBAdEw
I've been trying to get up to speed myself. It seems like the best way is simply reading the mailing list and checking out the codeberg issues. This issue [1] was given as an example of a non-technical problem that's easy to get distracted by when most of the core technical work should be straightforward. It's referenced in this candidacy statement [2] for John's chair position which is a good read to understand what's happening. It's essentially the classic language debate of breaking compatibility with past version versus evolving the language, and seems pretty complicated. I'm sure there are other problems. I'm still reading.

[1]: https://codeberg.org/scheme/r7rs/issues/126
[2]: https://groups.google.com/g/scheme-reports-wg2/c/TUbmlPY9lR0
They were perfect morsels of source code goodness
No, I don't. I also don't trust recommendations/suggestions from people if they give me an affiliate link, it doesn't feel genuine.
Ironically due to being unable to get the Ioniq 5 and ending up with the Tesla, I'm now in the market for a generator. If it's the quiet model and you live in western Canada, I'd be interested.

The Tesla even voids your warranty if you try and use a inverter from the cigarette lighter, such BS. I'm now worse off in emergencies than I was with my old gas car.

So far I've had to buy one of those AC camping batteries to keep the internet on, as during outages everyone's phones simultaneously switch to LTE/4G making it unusably slow.

I'm still buying a gas generator for heating, as my home heating is natural gas so I technically only need to power the fan/thermostat.
It sounds like to me a faulty solder joint (crack between the smd pin and the pad). Cooling probably causes a differential contraction which brings the pin into better contact, and of course clamping achieves the same.

It may have started with a hairline defect that got worsened by thermal cycles.

If it is a bad solder joint, reflowing bridges and fixes the joint. It won't harm the chips as long as the temperature is correct, since it needed to be soldered in a reflow oven in the first place. However (I believe) there is some risk of excess heat corrupting some data, and/or worsening the defect, so if you can back up first using the jury-rig, that's certainly preferable.
> Idris is primarily a research project, led by Edwin Brady at the University of St Andrews, and has benefited from SICSA (https://www.sicsa.ac.uk) and EPSRC (https://www.epsrc.ac.uk/) funding. This does influence some design choices and implementation priorities, and means that some things are not as polished as we’d like. Nevertheless, we are still trying to make it as widely usable as we can!

-- https://idris2.readthedocs.io/en/latest/faq/faq.html

At this point, the creator has described it as "Pac-Man complete", able and easy to implement a game like Pac Man. (Or itself - it compiles to Scheme but is written in itself.)

Dependent types are still rather new; I believe Idris and its libraries are one of the largest, if not the largest, body of general-purpose software that uses them. (F* maybe?) How to use dependent types properly in a standard library seems be an ongoing development.
Stuff like this: https://github.com/fable-compiler/Fable/issues/1822

And this Flutter binding launched a year ago by one person and then never touched again: https://github.com/fable-compiler/Fable.Flutter

It just seems like an incredibly ambitious project that appears to have very little equal but is mainly worked on by a handful of people but no corporate backing. I get the feeling that if you want to use it, you'll either be the only one doing what you're doing or among just a few people. I already use F# and feel this way about the core language itself.
Pain is the most effective teacher. Idiocy should hurt.

Wanna stop this? Put cameras on the cars to catch the splashy shots; have the city post them. They could use the ad revenue.
This suggestion is a fantasy and would imply leaving the Berne Convention and TRIPS ( Agreement on Trade-Related Aspects of Intellectual Property Rights ) which is part of the WTO.

Doing this only in the US would put our intellectual property in similar company as North Korea, South Sudan, and Turkmenistan.
It's funny how projects grow like this organically.

Perhaps burned by experience, one time I implemented a mini-language for specifying some business logic that I knew—just knew—that our client would change his mind on a dozen times and not understand the half of the ramifications of his requests and would only arrive at the solution he really wanted by trial-and-error. Was the little language I made as complex as a "real" compiler? Goodness no. Was I happy to have a flexible language-based solution? True to my predictions, I did get many, many logic change request and handled them with ease. Yes, I was very happy after that.
> all I learnt is that it's somehow related to Scheme

It is Scheme
Thirty year mortgages have always been a bad deal. No different now.
WHO Twitter Account Promotes “Traditional Medicine”
To be honest, building something on your own time is very different, in that, it's much easier.

You start from scratch, you can pick something you're interested in building and maybe also feel you can succeed at. You make up your own requirements, as you see please, so things aren't ambiguous or changing in requirements constantly.

There's no prior legacy constraints, there's no time constraints, it doesn't require finding ways to deliver faster by leveraging other developers.

You get to spend as much time as you need, go watch tutorials, take a hiatus, come back to it when refreshed, fail multiple times and try again, etc.

You can choose the programming language, framework, library ecosystem, that you're more familiar with and comfortable with.

And so on.

So having someone that can show some cool personal projects I've found isn't always a great way to know if they'll be good in a work environment and on a team.
Going back to the old (pre-X) Twitter iOS app
It wouldn't take too much effort for amazon to make their marketplace better in general, but they make money off of it being bad.

The incentives aren't aligned, at least until reputation is hurt badly enough to cost them more profit than the short term gains they make by allowing false reviews and false advertising.
To be fair, I don't care what the name of the font looks like in the font itself. I want to see the text I have selected updated with the font selected in the list.
It is not demonizing to say that electric cars have a round trip efficiency of ~80% while round trip efficiencies for electrolosys->storage->fuel cell for anything outside of a lab is in the mid 30%.
I don't disagree.

But the problem is that the taxpayers and not those corrupt dipshits will be footing the bill.
## Data:

I have a Synology for data accessible via NFS, SMB, and a couple iSCSI mounts.

## Compute:

I have an off the shelf Thinkserve running Ubuntu + Cockpit for VM management via the Web. I
I have 3 VMs running on the Thinkserve.

1) A single node microk8s instance. (This is mostly so I can stay familiar with k8s. Most of it could also be in a docker-compose file). This runs most stuff: portainer, Immich (photos), Jellyfin, Plex, Kavita (ebooks), Nextcloud, owntracks (location tracking), paperless-ngx, NodeRED, and Fasten (health tracking).

Most apps are deployed in portainer from a GitHub file, so a git commit is all it takes to update an app.

2) A VM for downloading things from YouTube and other places, categorizing/renaming them, and putting them on the NAS.

3) A VM dedicated to Home Assistant, with a pass-through USB to their SkyConnect device to control ZigBee/Thread home IoT stuff.

Each VM runs a cronjob to regularly put my Github pubkeys in my authorized_keys file for break glass SSH access. I detail my normal access below.

## Network/Security:

I use a Unifi Dream Router (UDR) with VLANs for most devices, one for IoT that's locked down, and one for my personal laptop with certain SMB traffic allowed for backups.

I don't allow incoming traffic (well one exception for Plex). I leverage Cloudflare pretty heavily for DNS, ingress, and access control.

I have 4 cloudflare tunnel pods on the k8s node. And a tunnel agent on each of the VMs, the Synology, the hypervisor, and the UDR. I use Cloudflare's ephemeral certs for SSH in tandem with cloudflared on my clients so I can SSH in a normal terminal (as opposed to the web SSH client).

Ingress traffic comes in via the tunnels which takes care of dynamic DNS. HTTP traffic runs through Cloudflare Access connected to my Google account which requires FIDO2 to log in. Non HTTP traffic (or non-browser traffic) are authorized via Cloudflare WARP + Gateway (mostly applicable to native Android apps).

## Internal DNS:

I have the cloudflared agent running in the UDR to allow incoming traffic for management, but it also creates a local DNS proxy that sends encrypted DNS requests to my Cloudflare Gateway allowing me to collect metrics and do filtering for any DNS on my home network.

## Backups:

I use rclone to backup an encrypted blob to Hetnzner storage.
> It's a semi-noob illusion

The evidence provided for this is example comments from 10+ years ago complaining that HN was becoming Reddit way back then.

However, Reddit 10+ years ago was very different from Reddit today. It is arguably(?) much worse today.

HN may be turning into Reddit continuously, it's just that Reddit keeps moving the goal posts.
> A single IR allows you to freely reorder passes rather than having to reimplement them if you want to move them earlier or later in the phase order.

...i'm not trying to be rude here but... that's not how any of this works...

you can scholar.google.com "phase ordering llvm ir" to find thousands of papers that demonstrate.
Two problems are that (1) the font name isn’t always very suitable to give a good impression of the font, and (2) for some fonts (symbol fonts, very ornate fonts, very small fonts) it can make the font name unreadable.

A better solution for the use-case of selecting fonts by looks is a dedicated font selection dialog that shows both the font name and a customizable example text in the font, and also lets you control the font size and variant (bold, italic). Some applications do exactly that.
Yes. You, me and the GP commenter seem to all be vigorously agreeing with one another. Job interviews should be based on what the role entails. If that includes data structures and algorithms, so be it. If not, leave them out!

As the GP commenter said:

> It really depends on what you're working on. ... It's all context.

I brought it up because many (most) commenters in this thread seem to be claiming that this knowledge and skill is never useful. That its ridiculous to ask about this stuff in any job interviews, except as a ritualistic hazing ritual. This is also absurd.

> As a Web developer, inverting a binary tree is not a thing an employer has ever asked me to do.

I've never had an employer name any data structures explicitly. Its our job as the software experts to know which tools and technologies are relevant. But with that said, I can't remember ever using custom data structures in frontend website code either. If I were hiring a web developer, there are so many things I'd rather spend time talking about in an interview. (HTML & CSS knowledge, web frameworks, design skills, raw programming skill, etc.)
A lot of apps run only on Windows (and maybe Mac if you are lucky).
Western Digital sued over claims of data-trashing SanDisk, My Passport SSDs
Reflowing the controller worked for me twice for now. Once with an Intel Optane drive that worked without issues for 3 years and started overheating one day. And another one from a fanless machine that used an mSATA drive that chose to die on a Sunday, with no spare mSATA disk lying around. In both cases I went for short hunting under a microscope, looking for that one guilty shorted cap, yet finding none. It was the controllers with "tired" BGA solder balls, which could use some tender loving care of 225°C (soak) -> 400°C (peak) -> 325°C (hold) reflow.
CSS-tricks.com hasn't posted since April