skysight-inc/HackerNews huggingface dataset:
We wrote something similar a long time ago before knowing about browserfs. js-virtualfs https://github.com/MatrixAI/js-virtualfs/blob/master/README.... it has a list of unique features on it that makes it a better simulation of real posix filesystems.
Unix files aren't quite an exokernel-style "just securely multiplex the disk" but in some ways they come closer than some other alternatives. No file types, just randomly accessible bytes (well, and an execute bit); no multiple streams; no ISAM, just bytes (except that you do have directories); no insertion (but you do have append and truncate).

You could make them more disk-like by making them fixed-size, with the size specified at creation time, and accessing them in blocks rather than in bytes. Would those be an improvement? I tend to think not. Certainly if those were the semantics provided by the kernel you would want userland filesystem processes to provide appendable files.

Copy-on-write file versioning and cross-file, cross-process transactions, on the other hand, could be real pluses. I'd be okay with those being provided by userland processes rather than the kernel, but I'd sure like to have them.
Yes, also keep in mind that incentive won't last long (ref: https://www.transport.govt.nz/multi-modal/climatechange/elec...). Once EV's make up > 2% of NZ's vehicle fleet they plan to start charging.

Given the suitability of NZ for EV's it would be nice if there was more government support for their uptake.
Somewhere between $250 and $400 million.
But I’m going to guess you didn’t have a doctor with a briefcase full of Toradol injections in the dressing room, ready to shoot you up and clear you to go back out.
It may have been a calculated "go big or go home" gamble.
You can do the transition with some Udemy courses.
https://www.federalreserve.gov/monetarypolicy/bst_recenttren...

From 870 billion in 2008 to 4 trillion now.
> So managers are supposed to be part time kindergarten nannies now?

If their employees act like children, then yes. And I'm pretty sure we can all come up with examples of adults acting like children.
And you can also have Plex and similar to manage your library, if you need it.
I think this is a reasonable point, and your split() example is a good one. I wasn’t sure while I was writing the blog post if I considered isomorphisms to be parsers, and I’m still not entirely sure if I do or not, but there’s an argument to be made that they are simply parsers where the set of possible failures is empty. I don’t have strong feelings about that distinction one way or the other, though.
Two removable batteries? The 2011 unibody didn't have any removable battery. Were you using a case?
Ok Boomer
The idea appears to me to have been popularized by python, where it's straight called an antipattern to do the check beforehand [0]. The language also uses exceptions for standard control flow - for example, there's one called StopIteration that the language uses to indicate to loops that the current generator or iterator has reached its end.

[0] https://docs.quantifiedcode.com/python-anti-patterns/readabi...
That is given? Independent of culture and society.
Is anyone familiar enough with the internals of SMS, and particularly how messages are exchanged between carriers, to explain where a fault could occur that could affect messages sent by customers on all carriers? Do they all push messages sent by their customers to a single party who sends them back out to the recipient's carrier?
16GB. Interesting. Is this the magic threshold?

My Dell XPS has 8GB. Definitely not enough!
Are you genuinely curious, or are you being a troll?

Look at the content of your string, make a decision as to whether you would give it to a SQL engine. If you have not looked, it's presumed unsafe. If you have validated it - parsed it, in the context of this article and this discussion - and decided that you consider it safe, then it is a safe string from that point on.

This isn't a philosophical debate about what "safe" means to humans, it's a programming discussion that says if you only want to pass "select * from reports" to your database, check that's what the string contains before you pass it anywhere.
Yes, is there some way I could have been more precise about that in my comment?
How difficult it is to set up a NAS? Any decent and up to date guide out there?
I currently use this in my language "Grammar" (https://jtree.treenotation.org/designer/#standard%20grammar). In Grammar you can currently define two things: cellTypes and nodeTypes. Grammar looks at the suffix to determine the type. So if you are building a language with the concept of a person node and an age cell, you'd write "personNode" and "ageCell". "ageCell" might extend "intCell". I've found it a pleasure to use.
Rust is extremely good at this with newtype syntax and the ability to apply impls and derives to masking types.

Your JSON data might be a string, but having a Json type that guarantees its valid Json is way better. Same with stringified Base64, a constrained numeric value for a tunable, etc. Because using from impls on these types lets the compiler figure out almost all invalid type usages at compile time and give you eloquent feedback on it.
Try to add autoscaling. You shouldn't be doing it manual :-)
The non-trivial part might be combining the trivial parts. :)
Note that this is being fixed in the next release: https://golang.org/issue/10958
Capital cost vs. captial gains is what normally dictates these things except we are talking about effective monpolies where the monopolist is protecting their prior investments and can choose to deny access to the market for everyone else. It's basically forcing consumers to help them turn a good ROI on already obsolete investments that should rightfully be killed ASAP otherwise.
OTOH, part of a designer's job is too see all tits, asses, dicks and cunts in the design that are possible, so that users don't see them later. Though this is more a lament to the author.
The tools themselves are probably as good as any other mid-range tools targeted at DIY customers

Not in my recent experience -- I got a tool set for Christmas 2 years ago -- the ratchet broke on first use (the retaining clip that held it together either broke or was never installed), one of the box-end wrenches snapped off while trying to loosen a tight (but not corroded) screw on a lawnmower.

I think craftsman still has a lifetime warranty, but I didn't even try to replace the broken tools, I bought replacements of Home Depot's store brand (Cobalt?) and found them to be of better quality.

A couple years further back I bought a Craftsman floor jack, it broke on first use, a pivot pin was missing, so the entire jack arm bent over to the side when I tried to lift my car -- it wouldn't retract so I had to use my car's tire jack to lift the car enough to get the broken jack out.

I took it back to the store and the clerk said "Put it over by that other one", and that other one had the exact same problem.
One of the best explanations I've read on this is here: https://www.reddit.com/r/Economics/comments/d6e8qv/the_fed_p....

Although, I must admit I don't understand the carry-trade dynamics that much. I hope someone else can throw some light on that!
I have a "bookmark" post type on my site where I save things for later - https://www.jvt.me/kind/bookmarks/ which I tag based on what it fits under, which I find useful for "here's something I may want to go back to, or others should see"

Also as an aside I thought the theme looked familiar - I use the same underlying theme but have customised it a bit over the base theme, cool!
The first time my site ended up on HN, I set up Cloudflare because this community blew my site off the internet pretty quickly.
I was referring to the standalone towers in the Midwest. Maybe elsewhere. When I was a kid i would wake up on Saturdays at noon due to the siren. My dad also had a police scanner I could hear. One summer I put 1 and 1 together

All you need is a dtmf decoder and a small transmitter to set the off those large sirens on high poles throughout that sprinkle the country in small towns and probably large cities
K-Mart filed bankruptcy 17 years ago, and Eddie Lampert has been picking through its bones for the past 16 of them.

Retailers take a really, really long time to die.
Deep Bayes
Well, let's check the text.

> It is a resource to someone who can look at it and understand its use and value
Yeah I was hoping there was something specifically engineered for that use case instead of relying on customizations.
And then presumably your children need to have 3-5 children each, and their children have 3-5 children each, ad infinitum?
Visits are basically mandated everywhere now (just the NHL will take 10 more years while everyone else has already made them mandatory)

If you are required to wear a visor anyway it feels like the version with a few bars covering the teeth/jaw can’t fog up that much more than just the visor alone?
If you have an Ace around you, they are awesome. I've talked to a reasonable number of employees that both cared _and_ knew what they were talking about. They also tend to have a huge variety of nuts and bolts and other hardware. Store was a little disorganized, but seemed to carry quality goods overall.
> Like what if I'm one of the institutions waiting on the sidelines to make some money off of short term lending and the Fed keeps tamping down on what could be a source of profit?

That's the problem. If you are one of these institutions, you're setting your interest rate much higher than is healthy for the repo market.
Another explanation here. https://www.washingtonpost.com/business/the-repo-markets-a-m...
Thanks! And thanks for the link, I'll give that a read.

On the 'get it in front of a customer' thing - I agree and struggled with this decision a bit after I'd made it as a result. Probably the best way to validate you're building the wrong thing, or it's not ready yet, is hearing 'no' and hopefully why.

Super interesting factor in this case though is that basically I am the customer - it's really a product I'm building because I want it to exist. I asked myself the question, would I honestly pay for this right now? The answer was no. So at least for customer number one, me, I did kind of have that answer. Maybe cheating a bit though :-)
There was a good discussion (I can't get link) where an expert basically said that STEM enrollment for girls fell through the roof in last few decades is highly correlated with series of Disney movies that virtually every young girl was exposed to multiple times building their characters as "template" which deeply affected psycology of these children.

https://www.washingtonpost.com/posteverything/wp/2016/06/24/...

https://www.independent.co.uk/life-style/women/disney-movies...

https://srcd.onlinelibrary.wiley.com/doi/abs/10.1111/cdev.12...

https://link.springer.com/article/10.1007/s11199-011-9930-7

http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.933...

https://scholarworks.sjsu.edu/etd_theses/4094/

https://link.springer.com/article/10.1007/s11199-017-0773-8

http://www.hillpublisher.com/UpFile/201803/2018032844432581....

https://firescholars.seu.edu/cgi/viewcontent.cgi?article=105...

https://macsphere.mcmaster.ca/handle/11375/14406

https://en.wikipedia.org/wiki/Criticism_of_The_Walt_Disney_C...
I think that in the US there are about three million programmers, of whom maybe 10% use Emacs, or about 300,000. There are about 110,000 NCARB-registered architects in the US, and presumably the number of architects is similar to the number of current AutoCAD users (of whom most of each group belong to the other.) But wait! The US Census Bureau estimates the number of US architects at 141,000.

So I thought at first that the answer was obvious but now I don't anymore.
Pixel 4 has a flaw that no software update can fix: It Bends
Suspended Amazon sellers are being stifled by an email glitch as holidays loom
What seems broken about that? Do you think it's broken for each company to have a unique design for its website? Or do you think the "design systems" are the wrong way to architect the design of a website? Or something else?
Why not use renewable energy to synthesize the regular airplane fuel? That would be carbon neutral, and it would avoid all the issues with heavy batteries and upgrading or replacing existing planes.
Ask HN: How did Parrot Analytics measure viewership if users used Apple TV app?
pretty sure mason55 is referencing (perhaps unknowingly) an example from joel on software. you can read more about it here: https://www.joelonsoftware.com/2005/05/11/making-wrong-code-...
My Friend Mr. Rogers
Perhaps in the cold war era.

In the current age, where GPS can be post-processed precisely enough to measure things like land subsidence, there are networks of base stations at fixed locations recording GPS observables and providing historical archives [1] - some operated by US government agencies, some by private companies, some by universities and suchlike.

Due to the use of GPS for things like aircraft navigation, the government also issues 'NANUs' ('Notice Advisory to Navstar Users') and provides an online archive of them [2]. So we can say with some certainty that GPS SATELLITE SVN31 (PRN31) WAS UNUSABLE ON JDAY 349 (15 DEC 97) BEGINNING 1300 ZULU UNTIL JDAY 349 (15 DEC 97) ENDING 2200 ZULU.

Someone who wanted to find the largest recent GPS outage could download the archived NANUs and parse them.

[1] https://cddis.nasa.gov/Data_and_Derived_Products/GNSS/RINEX_...
[2] https://navcen.uscg.gov/?Do=gpsArchives&exten=txt
I have provided a translation of the NonEmpty datatype into Java in this comment: https://news.ycombinator.com/item?id=21478322

However, to answer your “why” question: mostly just because I write Haskell for a living, and my primary personal motivation for writing this blog post was to share with my coworkers and to point to during code reviews. Therefore, it makes the most sense for the examples to be in Haskell! Haskell is also especially well-suited for communicating this sort of thing if you already understand the notation, as you can sort of see from the Java translation: it’s significantly more verbose just to get the same idea across. Still, it’d be great if someone were to provide a “translation” of the same ideas to other languages, no doubt!
Interesting, I was there in 2004 and it was ass to elbows and impossible to shove through to the next room. The paintings nearby were amazing though.
Perhaps an identifier can be used so the user can quickly verify the email matches the page.

It could be something like a sequence of 3 emojis because matching numbers is hard.
> But that sounds like an inconsistently enforced rule which means selectively applied, eventually done so on factors that would be considered unacceptable if written down.

You're going to have to pick a position on the spectrum between always-enforced rules and purely honor codes (and social pressure). We know the former fails because hard and fast rules can be and are gamed. We know honor codes and social pressure only keep honest people honest. So in practice, where on this spectrum do you stand?

If it's your company, or team, or club, or whatever other gathering of humans, you have to make a choice on this question.
Growing CA pension costs hitting cities and fire districts – hard
so? What could possibly go wrong? :-)
You're both right, competency is in fact really damn impressive.

(I have come to think, as a software engineer, that we've comuterized so much of social life such that our economy literally could not afford it if it wasn't mostly crap).
Yeah, you're totally right and I actually will now! Infra wasn't ready at all for the HN hug. I think I'd had at most 20 simultaneous connections prior to this!
> how do you describe type "such value doesn't exist in the db table yet"?

Depends what you mean by that, but depending on the context, you may not want this in a type.

If it's a "Dirty" value / not inserted yet, you can just wrap it with "newtype Dirty ... = SomeRecordType ...".

If you mean something that you just checked that isn't in the database, you probably just want a properly named true/false, or a Maybe result. Encoding the value itself as not existing in the database will just bite you when something else inserts one in the meantime.
Big farm. No kidding.
Think about how variance propagates through that chain of work though,especially for tasks that are contingent on other tasks...
If you got time to lean, you got time to clean!
Title taken from that used in the print edition of the San Jose Mercury, 11/5, page A7.
Oh my god, the arrow keys. After 2 years still can't use them.
> However, wouldn't it be even better if the benefits were not just received by the public, but steered by the public as well? In fact, if we imagine public management of such funds, then we need only have a political process in order to establish a management policy.

I think this assumes far higher governmental competence and efficiency than is warranted.
Perhaps if the war hawks had allowed for the development of nuclear reactors with passive safety mechanisms- rather than exclusively funding R&D on those with weaponisable byproducts, we'd have globally usable nuclear energy technology today.

Regarding the irrationality of the fear of current nuclear reactors, requiring active intervention (with control rods) to prevent nuclear meltdown is a genuine and justified cause for concern (as evidenced by Three Mile Island, Chernobyl and Fukushima).
OK that makes sense, and I’ll do a bit of reading on materialized view functionality before actually implementing anything.
The "other factors" would be the extraordinary extraction of money by Eddie Lampert.

A similar story seems to have repeated itself with many retailers including Toys R Us.
I'd bet more on the European carry trade, with various financial firms attempt to arbitrage the difference between negative interest rates in Europe and positive rates in the U.S. That creates a natural demand for short-term dollar loans:

https://news.ycombinator.com/item?id=21478251
Absolutely. And it's important to keep in mind that were it not for unions (SAG-AFTRA and IATSE mainly) it would likely be a very different story, with low wages and unsafe working conditions.
Yes. Sure. If they don't come with a loan or a city taxing your asshole away with property taxes.
Avoid Burnout Before You’re Already Burned Out
But not unique at all : Kodak, Nokia.
"What's the idea for Box CI? A CI service that does everything for you, except for running the builds."

Marketing advice: define "CI" near the top of the first page. The word "Integration" is not on the page either. I am familiar with Continuous Integration but not the abbreviation CI.

Adding to the confusion, the font on (most of) the home page is sans serif, so CI cee-eye looks like Cl cee-ell.

Moreover, you mention CLI on the page... though I did know what that is!

Good luck with it.
Milk is in the back because they have to maintain the cold chain, and the refrigeration is in the back. Putting it anywhere else risks spoilage if a pallet takes too long to unload or gets left unattended.
Apparently this is a thing in Cuba: https://www.bbc.com/news/technology-33816655
> Sometimes it takes a conversation with someone else unfamiliar with your work to really question your fundamental principles

This is one of my favorite tools for development. I always sketch out an idea (no coding) and then try to describe it to someone with zero CS background before diving into an mvp. The times when I didn't follow this process - well - just as op described while trying to document the cli, I basically wrote the damn thing 2-3x over. So instead of a couple hours of chatting with other people, I had to spend days/weeks running in circles around my own work. Please, if you have juniors or if you are a junior, try to drive this lesson in.
Symantec Becomes “NortonLifeLock”
The Eerie, Persistent Scam That Calls You from Your Own Phone Number
Breaking it down until it's all trivial is the most non-trivial part of the exercise.

If everyone could do that trivially, then there would never be any problems.
I'm still using a laptop with a MagSafe charger and have never seen the connector becoming unreliable (nor do I know anyone has had this issue).
Thank you for the suggestion. I don’t know for certain that it’s a tenable solution, because we are using some services that would take some time to vertically integrated if we were to go to a colo. But when we reach that scale that will definitely be an effort worth exploring.
1 in 3 San Francisco residents wants out
I think an annuity (as opposed to a 401K) would be the private version of a pension, right?
This was code written in PHP 3 and part of pricing and tax calculations on an import with data coming in from a custom made inventory management system module for an ERP solution running on Windows outputting the most god awful XML in UCS-2 with node names that contained accented characters, and converted that data into temporary MySQL tables for the custom made web shop.

Fun fact: the import, to take into account the fact that product IDs could change (as the entire product database with over 50k products was rebuilt with every import), would also update the IDs of all items in customers' shopping carts at the time of the import. Great fun if the customers had a product in their cart that was discontinued or changed.

That single function was 56 kilobytes of code.
Same reason anyone does, they expect a positive return given the terms. Staying open / selling assets = cash flow.
Well, you need buyers for one. And those buyers need cash. (And where do they get the cash... the repo market)

Banks don't want cash. Cash sucks in terms of value. It's liquid, but it is constantly losing value due to inflation. Assets typically appreciate in value, so it is in the best interest of banks to maximize assets and minimize cash. You trade liquidity for value/earning potential. (Just thinking about opening a certificate of deposit at a bank compared to a money market or savings account. Lower liquidity == Higher interest rate)

The repo markets exists so that banks don't have to hold tons of cash. If it didn't, banks would need TONS of cash on hand for all of their transactions, and it would significantly devalue them.
The reasons to pirate shows used to be that "cable is all or nothing and cost so much, let me pay only for what i want to watch". So now you can signup to services for only 10$/piece instead of a $100 bundle, takes less than 5 minutes to unsubscribe and switch. And now the new reason to pirate is "there are too many services"

This was never about availability, it was always about not paying.
Thanks! That’s awesome. I know roughly how to understand PG query plans, but it doesn’t ever seem to actually help me figure out a solution. This service looks like it will help quite a bit.
> The last project I was on, I took time to write Terraform to deploy to AWS Elastic Beanstalk where I ran Docker containers. It took me two days to get all of that setup, and I consider that time to have been poorly utilized.

To be fair, you don't need that whole stack to run containers, and most of the work you had to do was to operate a particular choice of infrastructure services and tooling that are not necessary to run containers.

All you need to run containers in a single-node setup is Docker, and that's it.
Ask yourself what happens with that process when you're 53.
Repo market overview - http://people.stern.nyu.edu/jcarpen0/courses/b403333/08repo....
Does anyone think the TouchBar should be relocated to where the "MacBook Pro" logo resides? That way it'd be in front of your eyes and fingertips.
GX1000's “Roll Up” Video
Yes, it should be an excuse and a reference. If the US is going to ruin its economy by being forced off of fossil fuels, other countries shouldn't be able to use it as an advantage to take power and continue to ruin the environment.
CI is a pretty widely understood industry abbreviation at this point.

> Adding to the confusion, the font on (most of) the home page is sans serif

I mean, except the logo at the top of every page.
Man Killed over a Sandwich