skysight-inc/HackerNews huggingface dataset:
Yes, wind/solar require more peaker plants to handle their unreliability compared to nuclear but seeing as nuclear is 3x as expensive, I don't see it as the optimal solution to getting carbon neutral.
Thanks! That makes sense to me. Personally, I usually like tools and practices that can feel rough when there's too much complexity. When there are problems, I think it's generally good that people feel like there are problems.
GraphQL has advantages that make it great in certain situations but it can be very difficult to wrangle it at large scale and you basically need to hire Facebook GraphQL engineers once you get to a certain size.

If you are using Typescript on backend and frontend (react/reactnative ok, native ios/android app no) then checkout tRPC. https://trpc.io/ tRPC is basically: you just call your backend functions on your frontend, and TRPC handles the API that makes it work. It shares types and when you define a type for your backend, and call that function, you get the type on your frontend.

Incredible for small apps/teams, but has it's limitations (especially before the most recent version) and probably not the solution for a big honkin app.

I've been playing with create-t3-app and it's pretty nice, great way to launch a basic typescript/trpc/nextjs/prisma app. https://github.com/t3-oss/create-t3-app

I use GraphQL at work and it's fine, it's just a lot of code and codegen and work for a small team, we'd be faster on tRPC but tRPC didn't even exist when this codebase chose graphQL lol
It’s clearly business, not self sacrifice. Your interpretation of that as negativity is a reflection of your own judgement not mine.
Tried searching for your username name, but, nothing happens.
If you don't have the ref locally but you have it open in a browser tab, you should† still be able to manually hack the URL to get a diff. Eg https://github.com/git/git/compare/95d1613a9fce4bcfc82d8ba48...

† My company's not on Github Enterprise and I don't have a repo and a second user handy to double check on public Github.
> Consider 'dd' for example

This is a fair point, and I suppose something I just have grown used to, similar to how I can type `tar xvzf` without any `-` at all, and it works.

> MacOS' tools are also different.

Tbf when I talk of using BSD tools, I'm talking about using MacOS tools - I don't have any BSD installations, I just recognize that MacOS includes mostly (?) BSD tools by default.

I do in fact install coreutils, and either alias them or move PATH priority so they get called first.
Please Mozilla, don't touch the user.js functionality in Firefox
It's pretty simple. "they won't pay at all": would you want to add the feature if he paid you? Then tell him that.

Don't want the feature? Just say no, close the issue and move on. Especially if your project is MIT licensed, it's crystal clear in the license that very one thing: you don't owe anything to anyone :) You don't need to be nice, you don't need to explain. Life's too complicated to be upset about those things.

If the person keeps on insisting after that, you can block him from GitHub.
> It works out to around 80 gigawatt hours per cubic meter and most of that material is silicon. By comparison a nuclear powerplant goes through around 240 kg of uranium to generate that much power.

Well, one cubic meter of uranium is ~19000 kg, so not sure what your point was.
even if you know how to do it, running large sharded rdbms clusters is incredibly far from "breezingly easy"
Details will depend on your schema, but the moral equivalent of “SELECT * FROM master_table” is a good start.
Here are a few techniques that I use, in addition to requesting talks from people who know the code base, asking for code walkthroughs if they know the code, and just generally learning the terminology for various things in the domain (i.e., getting familiar with the Nouns and Verbs of the system):

- Check out the source code and look at how the codebase is laid out. i.e., the directory names. This often gives me an understanding of what is vendor code or third-party dependencies, test, and 'core' source code.

- How to build the product, and what artifacts are produced. This will tell you a lot about where to start looking.

- Take a small bug where further information is requested to help triage/solve the bug. This could be reproducing the issue by clicking around or performing a workflow by issuing commands, or rooting through logs and database entries to ascertain the state of the system. This is often an instructive exercise because it requires that you understand how the system is deployed, which is always a good thing to know, and how to troubleshoot an area that you know little about, which you will often be called upon to do. Reading the logs gives you a pretty good idea of the system initialization sequence, particularly in a cloud product. Ditto with looking at the core metrics or example traces of the system. Traces, if available, instantly lay bare a 30000 ft view of the system before you.

- For web apps, the router file. There is usually a file that contains various route definitions and the entrypoints to them. This is a great start for figuring out what links to what. Something basic like a simple GET of a collection or a health check is a great way to get your feet wet.

- For web apps and others that use a database, the database schema. Often I just do a COUNT(*) of tables and look at the schema tables that contain the largest number of entries.

- Unit Tests. For a particular functional area, these are an excellent aid to understanding what the expectations are and how they are tested. I also write unit tests for areas that do not have them as a way to get familiar with the codebase.

- Results of Smoke Test and Integration Test runs. These often give you a bigger picture idea of what the system does in relation to others that surround it, and the major 'compartments' of the system as it were.

- Fixing bugs of varying complexity. This is an excellent way to instantly get familiar with building, testing, code reviewing, and putting through standard precommit testing your change. The change itself is incidental; the things that you learn during this process will help you get productive quickly.

- Writing small features that are very self-contained and interact with one or two areas of the system. This helps you understand a few system areas inside-out, and you can slowly grow your understanding of the system by doing features that touch newer areas that you'd like to know.
I am thinking of using a *BSD for a remote NAS VPS. I'm comfortable with linux. I was having trouble finding guides on how to harden a BSD at the basic level. SSH lockdown? Is there perhaps a better way to connect like over a VPN or something for this type of use case?
I hate this headline and wince every time I see it, even the article quotes

> There's nothing special about ZFS that requires/encourages the use of ECC RAM more so than
any other filesystem. If you use UFS, EXT, NTFS, btrfs, etc without ECC RAM, you are just as much at risk as if you used ZFS without ECC RAM. I would simply say: if you love your data, use ECC RAM. Additionally, use a filesystem that checksums your data, such as ZFS.

And goes on to say

> I have nothing to substantiate this, but my thinking is that since ZFS is a way more advanced and complex file system, it may be more susceptible to the adverse effects of bad memory, compared to legacy file systems.
Fun science fact: the echidnas’ internal monologue is in the voice of Idris Elba.
It's also not that hard to implement attribute filtering with REST endpoints. People make a big deal about being able to control the shape of your API responses with GraphQL, but this completely achievable with standard REST APIs as well.
I took a look at your comment history because I became curious if you yourself were perhaps an AI being tested on Hacker News. I noticed you said in another thread that you might have had enough of life. I doubt a non-sentient AI would say that, although Douglas Adams made famous a character he created called Marvin the depressed robot.

I think depression in a person is a good test of sentience. You might be interested in Kurt Vonnegut's "Breakfast of Champions" (not the movie with Bruce Willis, which is an abomination) in which he feels everyone but himself is a robot and considers killing himself until he meets an artist who restores his faith in the creative spark and soul of humanity.

Sentience is a scale anyway and apparently Elon Musk gets a low score, meaning he appears to be a bot - to Twitter at least

https://arstechnica.com/tech-policy/2022/08/twitter-says-mus...
You’re thinking too Silicon Valley.

These services didn’t need additional rounds of funding and aren't the kind of thing that would scale like a unicorn.

Some services might only been transient (like services based around a particular sports league or TV series) or be regional (like government sites or, also, sports leagues).

Not every service out there has aspirations to “change the world”. Some exist to fill a niche. But sometimes that “niche” still covers millions of people.
CBSDfiles, reggae and bastillebsd can all build jails from a file based method
https://payatu.com/blog/manmeet/graphql-exploitation-part-4

query dos {
allDogs(onlyFree: false, limit: 1000000) {
id
veterinary {
id
dogs {
id
veterinary {
id
dogs {
id
veterinary {
id
dogs {
.....
Wait, what? When OW2 comes out and I don't want to buy it, I can't play OW1 that I already purchased anymore?
https://twitter.com/rsgnl/status/1555655110633689088
This isn't entirely true. Most (all?) of the games require the Steam client which they are constantly updating and increasing the system requirements for. Systems that could previously run the Steam client and games just fine can no longer run those same games after a while. If I remember correctly the Steam client no longer supports systems running Windows XP, Windows Vista, OS X versions before 10.10, etc... to name a few. This is currently preventing me from running some games I've purchased and I will no longer be making any purchases on Steam until they resolve this problem.
A small PSA about nix-env and its issues as well as what alternatives to use.
Valve is also a games developer, and they never pulled any of their old or failed games. You can still play Artifact or Ricochet multiplayer (if you really want).
There's been dozens of lawsuits and no smoking gun. We had a pandemic going on and so mail in/drop of ballots were promoted.

Show some evidence for this concern or just drop it. Ironically, election security is in peril because the GOP is installing officials that are ready to steal the next election.

I don't treat the NYT as gospel; it's yet another input for consideration. I'm painfully aware of confirmation bias and do my utmost to take whatever truth becomes apparent.

"Political" has varied meanings/interpretations. In the context of laws and regulations vs. partisan power mongering.

Dealing with a pandemic required unfortunate actions which are political in the first sense. The anti-vax movement has been embraced by the GOP and it is very much political in sense of identity.

I do agree with you on the corruptive nature of political parties.

Long and short of it: I "lean left" but don't make my identity about that. There are classic elements of old school conservatism that I agree with but modern conservatism has now been coopted by the Evangelicals and they are bat shit crazy. Goldwater was prescient and correct in his concern about that happening.
with multiple backups

Multiple rotating backups would have solved your problem before ZFS.
Ask HN: How do I get rid of Uber’s notifications?
I have all mobile notifications turned off except trip-related, but I’ve started getting notifications for errand services, “getting going with Uber”, etc.

I double-checked my settings and verified all optional notifications are disabled.

I even updated the app in case there was some new setting that couldn’t be disabled in the old iOS app. Anyone else having this issue, or ideas about how to fix it?

Can this sort of thing be reported to Apple, as a developer not obeying their own notification rules? I am considering disabling notifications at the app level and sending trip-related notifications via SMS. But I’d rather not do this because it’s less convenient and seems more brittle.
I ended up buying Affinity Designer/Photo, and Procreate on ipad, to replace a huge amount of what I did with adobe software. It’s not perfect but its close enough, and I’d rather do a one time purchase and just have the license instead of the monthly subscription.

I think adobe is pretty happy with the results of their switch to subscriptions, but I personally don’t get enough use out of it to pay monthly. I used CS5 for years and years - I don’t need to have the latest and greatest. Maybe for someone else it is worth it.
When generating human readable alpha codes, never include vowels.

Avoid generating codes like FARKU, WANKR, USUCK etcetera.
It means "I accept", but I guess you already figured that out...
Ddr5 has some form of built in ecc. Finally bringing it by default to the masses

Edit: sorry, this is misleading. See below or ignore. Ddr5 "ecc" that I am referring to is not the same as what one would think when saying ecc normally
>You don't own your games on steam, uplay, or any other drm filled service.

Off-topic I know but Samsung retroactively disabled the oxygen sensor software for Samsung phones in Canada. I had been using it for a few years but one day after an update it was disabled by Samsung. The physical sensor still existed obviously but it was no longer usable on a Samsung phone that I owned. I think that should be illegal.
data lake isn't a new term (relatively). I remember first hearing it when I worked at Google like 5 years ago, and the context was always referring to some enormous raw data store. Probably the term "lake" is supposed to evoke a sense of largeness and shapelessness. If you wanted to train a model, you would tap into a data lake which had up to petabytes.
I feel your sentiment, but Adobe is probably not the best example to use since it is clearly sold as a subscription and the annual subscription service solves a lot of historical issues* while being nearly 27x cheaper than buying the CS master-suite outright. Also Adobe never made moves to kill the apps which you did buy outright (they even still offer some cut back versions of their apps this way).

A better example is Stadia - where you buy the game, can only play it in Stadia and since Google seem likely to pull the plug on it; those games will quite likely become unplayable forever.

I can only partly sympathise with Ubisoft's argument that online services can't go on in perpetuity. Since there are a lot of really reasonable counterpoints:

1. Ubisoft aren't discontinuing online service for remastered editions

2. Is it really unrealistic to keep running such a service, at least until it is no longer played by large numbers of people? Also similar to your line of thinking, it's a shame that Ubisoft can't be compelled to release the server software when they discontinue online play.

3. They are literally still selling a title which will no longer be playable in less than 2 months.

4. DLC for these games wasn't free, and it'll be gone.

People aren't being unreasonable here, they're right to be upset.

* Adobe: Creatives/agencies were almost always on different versions of the software, or simply didn't have all of the apps. Something that hamstrung the industry and made it very difficult to switch agencies. Secondly each app began to reproduce functionality of their sister applications because it wasn't realistic to possess the master suite (e.g. 3D, vectors and video in Photoshop.) Now with the suite available to everyone, the apps are becoming more focussed for their purpose, and developers can spend more time enhancing that core purpose, rather than having to code shoddy me-too functionality.
It's the saddest thing to me about the state of many cars today. They play engine noises on the speakers inside the car.

What is this nonsense, who wants to live in the matrix?

I chose the red pill. I jubilantly drive a stick shift car with a radio that has a cd player and buttons. Not a single touchscreen in the car. It has an engine, I hear it the organic way, through the transmission of vibrations from its operation straight to my ear holes. Not through a computer that plays a sound sample based on the position of a sensor on the throttle.
There's a local non-technical solution in the site guidelines:

Please don't complain about tangential annoyances—things like article or website formats, name collisions, or back-button breakage. They're too common to be interesting.
I would hand those off to an auto reply bot. Simple repetitive questions get simple repetitive answers.
I am currently in Phuket, I spent most of my time in a coworking with lots and lots of Russians (no idea why roughly 80% of the coworking were comprised of Russians)

1. Many of them tend to speak loudly and it was quite annoying. I don't know if it's because of the language or culturally.

2. Nobody seemed to care about what was happening in Russia. I am a French guy in Thailand, I have nothing to do with what the French government is doing, if some Russians are in Thailand, I don't see why I would assume they have anything to do with what's happening in Russia. These guys were just engineers or designers working and living in Thailand.

But yeah, if you are among the ones that speak loudly for whatever reasons, just try to act normal in public spaces, I would assume only crazy people spending their whole life being "purist" would ressent you for your nationality.
Go to a comedy club open mic night. You'll have a ton of fun.
I started with Max for live, and it has one of the most gentle introductions to programming in general that I have ever seen. More than any one tutorial, will be the communities that help you.

Follow communities like:
old.reddit.com/r/creativecoding
/r/p5js
/r/maxmsp
/r/puredata
https://forum.puredata.info/category/7/pixel
https://openframeworks.cc/ (<-- highly recommend this)

Find the programming environment you want, feel them out. Do you want to focus on the simplicity and abstract a lot of the animation details away? Open frameworks and libcinder are my recommendations there, though I imagine JavaScript libraries have come to the forefront. Visual languages like VVVV are a bit better at making you reckon with how the hardware sees the code, but have smaller communities. Vsxu is for example, amazes me but is seemingly entirely undocumented. Go for the big communities before you pivot, maybe.

Google things that you'd guess are introductions. Typing creative coding JavaScript into duckduckgo yielded a bunch of university courses, whose coursework might be free. That is often the case with pure data, which I like.

Paid languages, usually based around the entertainment industry tend to have very involved and helpful communities, as they can be focused on the concepts rather than the language.

https://derivative.ca/download. <-- touch designer

https://cycling74.com/search/page/1?sortBy=rel&tags%5B0%5D=&... <-- maxmspjitter

Search forums for links to blogposts. Use generative music as well as visualizations.
Confession - I have only played MGS-V and Metal Gear Rising so maybe I can't say for all of his games, but as far as I can remember MGSV flashed his name at least five times on every load and every mission before it let me start anything.
Here’s another great ICE simulation that walks you through how everything works. It’s interactive!

https://news.ycombinator.com/item?id=26991300
More than half of them are losing access to DLC, which in many cases is part of the game -- in the form of expansions.
Ask HN: Vision Statements for Politicians?
Given that politicians are our elected leaders, why haven’t more of them put for vision statements that embody their aspirations and leadership style?
Bad phrasing on my part. Wind/solar/nuclear are all basically pure capex with no marginal cost to producing max energy so they all need to be run at 100%.

To handle daily/seasonal energy demands though, you'll want to run any of those all the time and thus dump surplus energy into some type of storage to reduce capex costs and dynamically handle demand with some type of peaker.

So your options are nuclear surplus + storage or wind/solar surplus + storage but why light your money on fire with nuclear creating said storage when wind/solar are 1/3 the cost.
> Using markers is smooth, a bit like writing with a pen on paper.

What I personally like least about whiteboards is that I cannot use the whiteboard markers sideways like a chalk, which is the best writing position to avoid contact with the board. When I write with a pen on paper, I can put my arm on the paper, but this is not advisable with a whiteboard. The pointed ends of the markers lead to a very uncomfortable position where the hand needs to be turned as far out as possible to bring the tip of the pen as perpenticular as possible onto the board. In this position it is quite difficult to achieve good quality handwriting. I myself know only one person whose whiteboard writing is genuinely visually appealing. However, I also agree with other commentators here: You need a good blackboard and good chalk to really have fun writing on it.
I think it's important to note this wasn't written by an expert on ZFS. And I'm pretty certain this author is actually wrong about this particular point, as ZFS does allow a number of extraordinary measures to recover a pool from a corrupted state, such as:

zpool import -FX mypool, where:
1) -F Attempt rewind if necessary.
2) -X Turn on extreme rewind.
3) -T Specify a starting txg to use for import.

There are a few other points you might consider:

First, what kind of failure might cause an unrecoverable corrupted pool, and how useful are other filesystems data recovery tools actually, if corrupted in a similar fashion? Is there an apples to apples comparison that you can share? I believe the author and you are sharing speculation.

Second, how do you know you have corruption with another filesystem until you read back the data? And do you even know you have corruption then?
Seriously outside of very specific use cases I think there is a major bandwagoning with zfs. Using snapraid for larger unchanging data or normal raid without striping for vms or dbs allows your recovery story to be more flexible/robust
Hah, they didn't even notice how Maybe is algebraic and State is coalgebraic ...

(I completely made this up, it could be true according to my limited understanding, but more likely it's completely wrong.)

I think the confusion comes from a different source: Obviously, Monads are an extremely powerful interface. But such an interface only make sense when we have some form of hiding of implementation details: As long as I know the constructors of Maybe, I can completely ignore or reinvent the monadic functions. So State is actually the better example here, because in a paramatrically polymorphic type system, we don't know anything about the concrete state when implementing return and flatmap. We need a composition technique that works for every possible state.

So unless your language has a parametric type system and/or allows for hiding implementation details, you won't ever benefit fully from and thus never grasp an intuition for monads.
SciPy 1.9.0
Humorists all over the western world are finding that the newest members of their audience don't even speak their language any more.

Kind of reminds me of the Funnybot episode of South Park.

I for one think the prank that GOG pulled is HILARIOUS
I didn't really appreciate this until I got an ECC workstation. It's noticeably more stable than my previous machines, even under abusive levels of load.

Noticeably more stable, as in, "never ever crashes" as opposed to "almost never crashes" without ECC. Thanks Linux! :D