skysight-inc/HackerNews huggingface dataset:
Think of error cases and malicious input instead of well-written APIs.

When I was testing Gumbo [1] on all the HTML files in Google's index, I ran into one that had 48,000 levels of nested HTML tags. (Ironically, Gumbo itself handled this fine, but the test script I used to verify the output died.) I posted it to Memegen with a link to the original source URL, and then got called out for crashing Chrome. Apparently I wasn't the only one who didn't think about recursion limits in a parser. (Both bugs have since been fixed.)

What was the wayward HTML file? It was an XML file served with the wrong content type. The file contained 48,000 self-closing tags. When you parse an unknown element with a self-closing tag in HTML, it ignores the trailing />, treats it as an ordinary unknown element, and happily keeps generating a deeper and deeper DOM.

A stack overflow that results in a segfault is a pretty serious DOS vulnerability in a JSON parser. You probably could take down a good portion of the Internet by sending JSON requests to their AJAX endpoints that consist of 1M of {.

[1] https://github.com/google/gumbo-parser
I cannot make a choice that's truly my own when confined in a system and without my choice being effected by the system. More simply put everything is predetermined. So I think our sentencing is fundamentally too harsh when we're punishing humans that didn't have control over their birth into a life that will have whatever outcome that cannot change. I think the justice system should keep that in mind when designing the process it functions under. Although I think people prefer ignorance instead of reality.
Don't forget energy storage costs, as solar only works for ~half a day, and wind is intermittent. You need to have an on-demand source of energy in addition to renewables.
Well hot damn, it sure does. Thank you.
connections aren't free[1] after reducing number of connections from 200 to 60 my commit throughput doubled.

[1] https://brandur.org/postgres-connections
I'm sure that policy is enforced in a fair and totally non-arbitrary fashion— have they banned Linus Torvalds from their events? He's "tone policed" way harder than this guy.
This is true but slightly different regulations will apply to the data.
Fucking everything is a web technology; and if it isn't, then we are obligated to make it one so we can gain leverage from the huge base of developers trained in web technology but nothing else. That's the point of Electron.
That right there is precisely why the organizers had to take action. They want to cultivate a conference where diverse attendees don't feel like they have to make a choice between participating in an important professional and staying away from hostile actors. It ruins the atmosphere of the event.
It depends on the torrent tracker. I've settled down on several private ones, which normally max my 200mbps connection right away. The reason I prefer torrents is the back catalog. With Usenet, it was very difficult to find older content. Also, the content that is uploaded there is scene stuff, which for 15 years now, isn't the most quality stuff (technically). With torrents, the library is always there, and plenty of versions to choose from.
Ambrosia Quietly Back in Business
It's not about changing that persons mind. It's about maximizing the value of the event for the rest of attendees.

And no, on politics. Differences of opinion on how to run a country, where to put resources, what policy makes sense. All fair game. Whether or not a gender or minority has access to the same rights as everyone else? Not political. That's a matter of human decency. The very bare minimum to begin to enter professional ethics.
> If you want to operate assuming your data is always corrupt

It is not, though, no matter how much you keep shouting it is.

> because your engineers don't understand how to use the tools provided by their database....

...I'd be careful waving accusations of incompetence if I were you, it's not me or my coworkers declaring databases to be black magic.

> Seems like an awful lot of work to re-invent a wheel that your DB server can solve for you.

...try to run a car company without reinventing the wheel every few years, I dare you.

> I guess that is on you though....

OK boomer.
Excellent idea, he's frequently in the news being accused of all kinds of nefarious acts. Donyou want in?
Now that the elections are gone, there's no reason to keep him locked up anymore. It was just to remove the candidate most likely to win, instead of facing him in a fair election. Now it's easier to just let him go.

In 2022 there's probably new ways to prevent him from participating again.
> Is the goal of revenue starvation here to simply bring an end to content creation altogether?

Most people don't think of the future, only the present.

Most people only think of themselves, not others.

People aren't trying to hurt creators or prevent new film from being made, they're just trying to watch the awesome stuff their friends are talking about for free.
Some are.

The ones that aren't, I'm starting to feel bullish on.
But that's not what the parent is saying. They are saying that if piracy stopped dead cold, almost all pirates would just go and buy the content they were pirating. That's categorically not true, or at least not 100% true. People would probably buy stuff, but at a rate so low, the industry would be hard-pressed to notice the difference.
I wish they'd release the monster6502 as a kit or at least release the brd files so others can make/improve on it.
For those interested in the 6502, Ben Eater is starting a new YouTube series in which he builds a computer around a 6502 chip.

https://eater.net/6502
Way to fail the ideological turing test:

https://praxtime.com/2014/05/27/ideological-turing-test/
Transactions are a pretty widely used RDBMS feature AFAIK.
I’m thinking the streets of 2029 will be quite a lot like the streets of 2019. I don’t expect a massive change in surveillance or technology. I wouldn’t be surprised to see fewer cars (especially outside America). I expect the social problems would be different but I can’t guess how they would be different.
Cool, so I'm going to assume that means your answer to my question of "Do you have much direct experience with high-volume OLTP database workloads?" is "no". Given your "bet" as well as comments about schema change difficulty, I'm also going to assume you did not click through to my profile...
Yeah i can't stand Windows. Give Kubuntu a go, just boot a USB and play with it. You'll be surprised how far Linux desktop has come.
No, the web isn't greater for the class of apps that Apple is targeting with the App Store. Or at least, it's not so much of a better platform that devs in this specific category are going to decide to ship a webapp instead of charging for a native app.

A lot of this comes down to monetization. There are more Android devices out there than iOS devices, and more apps on Android. So is Android a better platform? No, the distinction is that iOS users buy apps, and Android users don't.

So if you're not trying to build an ad-supported, microtransaction-fueled experience, iOS is just a better platform to release on.

Similarly, the web is a very powerful distribution network for online apps, but there aren't many good ways to make money except via advertising, Patreon, and SaaS. The apps being sold on the Mac App Store mostly don't fit into those categories.

That means as a developer, if you want to build something that just works, that you just charge money for, that you don't need to host on some kind of remote server, or manage accounts for -- the web becomes a much less attractive platform.

The question is, once you decide to look at native, do you first look at Windows or Mac? I think that depends on what kind of app you're trying to build and who your target market is. For desktop games, 9/10 times you target Windows (which is why Apple cares about cross-platform game engines). For an app like Robomongo, I dunno. Maybe the economics become more interesting -- I'd be curious to see the revenue breakdowns for an app like that.

Interestingly enough, the lack of (well-designed) PWA features are one of the big reasons why the web is still not particularly attractive for certain classes of apps. (You can't store information offline in an accessible format, your webapp breaks whenever the browser cache is cleared, you can't make arbitrary cross-domain requests). I'm not a conspiracy theorist, and I don't see strong evidence that Apple is trying to kill the web. But it's not necessarily a crazy idea in the abstract, because I don't see the web as a dominant player in that space, and I don't see any economic incentive for Apple to care about making the web into a dominant player.
Sure, but now we're getting into higher level system design. The schema used to run the operational system may/will be different from the one used for reporting and analytics. This is what data warehouses were born out of with the flattening of data, star/snowflake schemas, dimensions, etc...
Eh. Most software can be pirated on iOS. Obtain an IPA (easy), resign it with Cydia Impactor and most apps will work no problem. There is now a "hack store" software that uses your Apple credentials to resign all the IPAs you give it and push them to your (non-jailbroken) phone.
Articles and books like this are so detailed and descriptive, they're like the 4K Youtube of the 19th century...
Lol. Good luck.

I’m the weirdo millennial who pays for cable and Netflix and Hulu and Criterion Channel and Amazon and Disney+ and Apple TV+ (well, that’s free for the first year) and basically every video service offered, but I still share passwords with people.

Like, my cable provider (who gives me access to HBO, Showtime, Starz, cable and networks on-demand and live stuff) offers me 6 or 7 user accounts. I have one. My husband has one. And then I create logins for my friends.

Like, I firmly believe in paying for content (as evidenced by the fact that I pay hundreds of dollars a month for it), but I’m also not blind to the reality of the current world, which is that people like me are what prop the business up. Plus, I pay Netflix like $18 a month or whatever for 4K and however many simultaneous steams. Netflix shouldn’t care what cities those streams are taking place in — especially since for half the year I’m out of town in a foreign country for half the month.

But what these companies risk, whether they know it or not, is risking making paying for content such a pain in the ass that the few of us keeping this industry afloat will just bail and torrent or use newsgroups or whatever.

I pay because it’s generally easier and is convenient and b/c I want to support creative work. But if it’s hard to use what I pay for and less convenient, I have no problem putting those several hundred dollars a month into seedboxes, adding redundancy to my NAS, and in spinning up VPS’ located around the globe.
I don't recall 32- or 43-line MDA text modes (and online sources on MDA I can find don't list such modes), but EGA and later adapters supported 43-line text modes, which I do remember using.
it’s a metaphorical -5/-5
> Especially on this board.

you are probably talking about paywalls. my 2 cents is that all that pay-to-read content is somehow going against what the internet stood for: a network where information could be freely shared. this will always find some resistance.

what about having a separate network where they can take all their pay-to-read blogging platforms, newspapers & magazines, etc?

the other thing is that it's impossible to pay for all these digital services. and more and more are being created. something is wrong with that model and it won't last long.
Oh! Seems like I missed the joke. :)
The link in the top-level comment addresses all of these concerns, among other considerations and carefully calibrated corrections. They clearly know what they are doing.

They have a high quality map of the variations of gravity across the surface of the Earth. They also have a model that accounts for atmospheric drag.

https://research.csiro.au/slrwavescoast/sea-level/measuremen...
> It's useful to talk about what say, GC, laziness, lifetimes, ownership, typeclasses/traits, higher-kinded types, higher rank types, variants, elm-style records, etc. do to a language, and how they compose, but I think you can't go very far talking about how "paradigms" compare.

Sure. My experience has been:

* GC, lifetimes, and ownership are all high-benefit and high-cost. The cost with GC is at runtime (where the cost is so high that in many domains GC is not tolerated at all; in many others, of course, we take it for granted as fine), and the high costs of lifetimes and ownership are at development time.

* Variants and records are high-benefit, low-cost.

* Higher-rank types are low-cost, low-benefit.

* Laziness and higher-kinded types are both features with costs that significantly outweigh their benefits.

It sounds like you disagree with the last bullet point. If so, then either we've had different experiences or we walked away with different conclusions from them.
Vape lung ‘breakthrough’: culprit in THC products could be vitamin E acetate
For me it more lays plain the inherent contradictions of (this version of) free will than directly disproves it. What would it mean if the conscious decision to do something came before any neural activity reflecting that?

(Dualism!)
I was getting these for awhile on every single delivery, then they stopped. I wonder why?
I’m not sure I follow - what do you mean?
> It was hand routed by a human

And let's be clear, it was hand routed in both senses of the word. The layout engineers cut the mask by hand, crawling around on the table sized photomask.
I think you are trying to be tolerant, but are you implying that people cannot reason themselves into conservative views?
Yes, and the 'rock in the shoe' model has been trained against as well. Good luck.
Random note (fully aware this isn't your main point): Electron for background/system tray is actually not too bad. It was about 12MB for a minimal tray app last I checked. At this stage it's just Node.js with some system API hooks, not chromium. It's only when a window launches that you get the chromium bloat to 80MB+.
‘AI will change human consciousness beyond the Enlightenment’: Kissinger
Pick a processor you think will be relevant for at least 5 years. ARM ?? PIC ??? then get a reference board with NO OS. GET toolchain if you have not already Learn to boot it with your own code. Now learn interrupts
Then finally you are ready
I did something similar a while back and the amazon affiliate program cut me off after the first sale. They don’t like price comparison websites. CamelCamelCamel seems to be using affiliate links though, so I guess it’s still possible.
I typically keep search indexing separate from document storage and delivery. That way I can design each independently to do what they do best. Something like postgres can do both, but I would still logically separate the problems so I can move to better solutions when they arise.
"hostile actors"

Seriously? What exactly are these actors going to do?
I think we’d be surprised what is already here. You can’t drive a stolen car through a medium town in Kansas (Lenexa) without the police chasing you down before you get out of town. Kansas!
He is a thief and a corrupt. But given that the current government is not far from being the same, I really don't care too much if he is released.

With Lula or the Bozo, Brazil will remain being the country of the future, never the country of the present. So happy I ran away from that place.
Greed has a ceiling, eventually the customer will unsubscribe entirely.

Maybe we could also measure by wifi how many phones are present and refuse to play video until the # of viewers in the room has dropped to the contracted level.

Maybe we should ban book and DVD sharing. If I finished reading my book, should I be allowed to just give it to someone who didn't pay the publisher ? No, I should be thrown in jail in fact! Along with the presumptive reader!

Calm the hell down and go take a swim in your Scrooge silo.

(remember, these are paid accounts! Paid "unlimited viewing" accounts that can only be watched by X logins at a time, they're making plenty, and the sharing has a limit on it already by virtue of how many devices can be simultaneously viewing)
If you product doesn't make money because of piracy, then perhaps your product sucks. GoT was the most pirated show ever, and also the most popular show ever. Piracy isn't that big of a deal if you make a good product, it actually helps.
Shan gao, huangdi yuan - The Mountains are High and the Emperor is Far Away.
you will be pleased to learn there are ransomware families that target macos and linux as well
Let's be real. Apple doesn't like low quality apps on its platform. Does that mean it rejects low budget open source apps that use shoddy frameworks like Electron? Yes.

Apple charges an arm and a leg for its hardware ($25 per GB of RAM, with vendor lock-in via solder, 400% markup over every retail price, and similar for SSD), so they don't want any software wasting that precious power and capacity.

Yes, it is bad for non-wealthy power users, but that's never been Apple's market.

Fortunately for us, on the hardware side, Apple has been making shoddier hardware (soldered components, broken keyboards, missing Esc key), while Dell and LG and others have been improving their premium lines.

On the OS side,
Apple and Microsoft have been working hard to close the quality and power gap, with Microsoft shipping Linux on Windows and investing in Open Source, and Apple trying to turn their machines into iPads and Adobe boxes.

It's hard to dig through the clutter in the PC side, but if you are willing to research and to pay close to Apple prices, you can get great Windows+Linux machines from Syatem76, Dell XPS/Precision, LG Gram, Lenovo, and others.
I agree, whether or not a given data model has foreign keys is a math question with a correct answer (up to isomorphism of the data model); if it does, where in a system they should or should not be enforced is an entirely separate, implementation (vs semantic) level issue.
Or allowing undocumented, private APIs to be used liberally makes it harder for Apple to make important changes.

Certainly, Apple places a lower priority on backwards compatibility than, say, Microsoft, but they do give people warning when they’re going to change a public API.
Now I know a thing about this Wood guy that I would never have known without UB's complaint. It does not, in fact, inspire me to lend him support, or even the clean socks I am led to guess he lacks.

Another result of UB's announcement is that I have noticed Uncle Bob, appropriately or ironically, shares initials with the infamous Undefined Behavior.
Novels published serially were typically planned in parallel. Those who read them as they were published would probably have forgotten many details the author relied on them remembering by the time later chapters came out. They most likely still enjoyed the novel, but would have enjoyed it more if the end was read closer in time to the start. Naturally, they can reread earlier chapters to get the full experience. There are presumably exceptions, where the author has no real plan, and the chapters only meaningfully relate to adjacent chapters, but such works are rarely hailed as great novels.
Aren't the labor laws discriminating at a scale that is several orders of magnitude smaller than Amazon, though? The implied context in the GP is that they're talking about Amazon's size as opposed to, say, Target or Walmart.
The concerns in this post have already been answered in OP's post.
Many large companies try to extract concessions from cities in this manner. Sports franchises are notorious for this, despite being much smaller than Amazon.
That's a lot of words to say "Amazon is conspiring to raise prices, benefiting manufacturers at the expense of consumers". Sounds like an antitrust violation to me.
So people are pirating out of altruism or because they want to steal content. You didn’t pay for the right to the content — it isn’t yours. It’s stealing no matter how you justify it. The creator and financer of the content isn’t getting paid when you steal. And GoT was popular which is why it was pirated, not the other way around.
You can write them but to do so generically you need to do code gen. Unfortunately this means learning a code green template library.
I do the same thing. I pay for cable TV including HBO--through Comcast, no less--because I want to pay for the content I am watching. However, my friend who lives in Ireland has a subaccount on my cable account and uses a VPN to watch sports. And I run my cable TV through my Plex server to both DVR content and to be able to watch whatever is coming through the coax to my house without being told "you can't stream outside the United States" or whatever.

I will absolutely pay for the content but I have no shame in reformatting it into something that then makes sense for me. I happen to disagree with people who could pay for it and don't, but that's on their conscience and shoulders.
I used to do something a little like this with postgres advisory locks. Worker takes out a lock that signifies it's working on a task, if the worker fails or loses its connection in any way the lock gets dropped along with the transaction being rolled back.

Example: https://gist.github.com/risicle/f4807bd706c9862f69aa
If the concept of Yakolevian Torque becomes obselete we'll just stop referring to it regardless of how it's named. If it only needs to be updated in a way that obseletes the older descriptional name we can just give it a newer more apt descriptional name.
Wouldn't the MAGA hat wearer bring diversity to the meeting as well? I for one would be interested in learning why someone intelligent would support Trump.

Look, this sort of thing is unsustainable. If you interact with a large group, someone, somewhere, is going to wear, say or think something you do not approve of. It is a mathematical certainty and part and parcel of the human condition. Far from a problem, this is good, its through differences and debate that we grow, we learn and maybe come together.

This SJW culture on the other hand is all wrong. Its weak, fragile, authoritarian and self-righteous, even as it contradicts itself. It is profoundly un-American, and it does does nothing but weaken and divide us all.
The context is selling physical goods, in general, on Amazon, not just books.
That sounds like a social credit system. Good behavior raises credit, bad behaviour lowers it.

> how can ... If they cannot trust

Bravery?