skysight-inc/HackerNews huggingface dataset:
Well, Rails is kind of an off-the-shelf solution to building web apps, so it makes some compromises to present a uniform process and API for some actions. One of those trade-offs is that the relationship between database tables in ActiveRecord is handled at the model/application layer instead of the database layer.

This has some benefits - it allows for a uniform definition of relationships regardless of database backend, allows for constraints that can’t be expressed by the database itself, and allows constraints to be used as a first-class concept for things like presenting error messages to users. But it also means that data integrity is not guaranteed - modifying records concurrently or outside of the application can result in a data model that’s valid according to the database schema but not according to the application model.

FWIW I exclusively use Postgres as my Rails database backend these days, and foreign key relationships are extremely easy to include in migrations. This still requires a companion definition in application code so that good error messages can be presented, but that seems acceptable to me. I’d hope that this eventually becomes the default for databases that support these keys.
Obviously IANAL either. But it appears to me that self driving car companies acquires permits/exempts for their highly modified production vehicles from the state DMVs to be able to drive on the public roads. And most of them have to submit year-end reports [1][2] Geohot's comma.ai (mostly himself) had tried to pull this off in 2016 but no avail.[3]

[1] https://www.theverge.com/2018/4/13/17235788/waymo-permit-ful...

[2] https://qz.com/863718/uber-received-a-stern-letter-from-the-...

[3] https://www.reuters.com/article/us-selfdriving-safety-idUSKC...
> What did that massive computer do?

I believe it's an IBM 604 Electronic Calculating Punch. This box was programmed with a plugboard and did BCD addition, subtraction, multiplication and division. It was built from 1100 vacuum tubes.

It wasn't a computer in the modern sense. It read data from a card (the box in front is the card reader), ran through up to 60 steps of calculation, and then punched the result onto the same card, at the rate of 100 cards per minute.

This system was introduced in 1948 and rented for $645 a month (about $5500 in current dollars).

More info: http://www.columbia.edu/cu/computinghistory/604.html
Check out Nim. They recently added support for a function declaration in addition to a proc. Function automatically checks that it is a pure function with no side effects.

Considering the flexibility of the language as a whole, this is really cool!
Yes. Let's sterilize the poor before they reproduce!

/s !
Hacker news needs some form of misleading/clickbait title flag. The article is actually about package delays at one of their warehouses during prime day and not the prime day website outages which were caused by their nosql database sable [0].

[0] (ironically, also cnbc): https://www.cnbc.com/2018/07/19/amazon-internal-documents-wh...

Edit: wow, I don't mean actually flagged and taken off the front page since there was some interesting content in there. I think the flag should just prepend the title with something like [Misleading title] so that users know it does not fully summarize the content of the article.
A Mathematician’s Lament (2002)
impossible Apple? What kind of apple is that? Is this some sort of fruit analist?
We used log and trig tables in the 90s (UK) at a time when programmable graphing calculators were widely available.
There is one house within walking distance to my job: the farmhouse that was here before it was developed. (there used to be two houses, but one was torn down last year when the owners sold). There is an apartment complex a long walk away but there are not enough units there for everybody who works in this office park. Even if you lived in either of the above you would need a car because there are no grocery stores withing walking distance. That is all my choices for living close to work. There is no transit within walking distance either. In short, if I'm to not have a car I need a different job. This situation is not unusual in the US.
You mean without specifying looping positions in the metadata? I would assume so, as long the length of an ogg doesn't require padding and you have a capable player.

One issue I noticed with the Lewton library is it wouldn't let me seek to granule 0 nor the first granule with audio samples. This means looping an entire ogg may not be possible using a single instance of the decoder, and if you set LOOPSTART=0 then playloop will crash. But, this could almost certainly be worked around by making a new decoder and reopening the ogg.
ask fox
Or part of one?

Heck, there are a lot of people still paying off debt from ITT Tech; you can get Pell grants reduced if the college closes while you're attending, but not private ones.
This is a terrible design for this. You can fake it out just by changing your browsers User-Agent.
Devhunter
Sounds like Oracle wrote that to me!
Emotion-Driven Product Use Case Design
Or, we could give free vasectomies to people who display a total lack of empathy. Don't want to pollute the gene pool!
Fortunately, it is a question, which can stay unanswered with no practical consequences. It is a subjective counterpart of "Why is there something rather than nothing?", and we aren't answering either anytime soon.

Utterly absurd and completely false. An explanation for the question of why pain feels the why it does, for example, has enormous practical implications and consequences. The current neurological and medical approaches to pain management are poorly understood and often dangerous in extreme cases. We literally don't know why or how Tylenol works. That is a huge problem. The current best-case scenario, absent an explanation of the nature of the character of pain experiences, is that we find some neural activities that we can alter with advanced medical techniques which reliably suppress pain experiences. But it's not clear that 1) we will ever find such techniques, 2) that such techniques would exhaustively alter all the kinds of physical pain a human might experience, 3) that such techniques wouldn't negatively alter other aspects of a person's mind. If we had a fuller explanation of the nature of the character of the experience itself (rather than just treating consciousness like a black box), we might be able to alter the experiences more precisely and appropriately.
https://donatenow.networkforgood.org/UMDurham?code=SPENT
It's an interesting debate in notation. Not all log notations show the base, as they mostly assume you know which base you are in (even/especially in the slide rule era, to my understanding, where the base was always assumed by the slide rule in use; which stories posit was fun when mathematicians would default to natural log slide rules and engineers to base-10 log).

This article would be better if showed the base in its notation, but for the most part the bases are determinant in context of each paragraph, and that's roughly par for the slide rule course.
Nice article. Now I know why the ManualResetEventSlim didn't work in c# Blazor. I wasn't aware that multi-threading in wasm was work in progress.

The demo doesn't work on the standard latest firefox yet unfortunately (ver 63.0). Error: "this browser does not have SharedArrayBuffer support enabled". I guess this is a nightly firefox build thing.
Prisma Horizontal Scaling: a practical guide
In the Christian tradition, good deeds should result from one's faith, not be the foundation or requirement for it.

There has been great controversy over this between varying denominations, both in terminology and in belief -- it's not a universal belief among the varying faith traditions and hasn't been universal at any time in the past to now.
>The outage underscores the challenge Amazon faces as it looks to move completely off Oracle's database by 2020, and how difficult it is to re-create that level of reliability.

Without much of the technical details, that is quite a conclusion to come to. I mean, migrating a site as huge as Amazon.com from one database technology to another is going to be insanely challenging even if they have the absolute best database technology in the world.

I'm sure their database technology is up to the task, but it is probably going to be challenging to iron out the issues without impacting users. They've had decades to iron out issues with their Oracle databases.
10 000 USA UK Canadian Email Leads
Why I hate meetings – and how to make them better
She exhibits the same type of eurocentrism in that single line as the copywriting on those dreadful propaganda posters.
Samsung is now a lot better with security updates specially for S and note series. My S8+ got Sept 18 android security update in September. And I got my screen fixed at a Samsung repair shop at +15% of the wholesale price of the screen on AliExpress. They even replaced the battery under warranty.
Your wording here suggests that the later episodes were simply rated lower because they were later. However, I think your point is that the later episodes got worse ratings for something beyond the writers. Certainly possible. Even if nothing else changed, it must be much more difficult to write a fresh, funny episode when 200+ episodes have already been done. There were also external factors which might have driven a change in the comedy of the show, the beginning of Family Guy, e.g.
I am sorry but your comment is dumb on so many levels. You do know HK is directly connected to mainland China, right? No bridge is needed if they want tanks over there.
I was hoping to read some code analysis that supported your claim of off-by-one being more common in 0-based languages, but all I see in your [3] is a few different speculative reasons - am I missing something?

Off-by-one can show up in a bunch of ways that are agnostic to the underlying indexing, so it isn't obvious to me that there would be a substantial difference at all. Also, given what's said below about the ease of writing code which fails to consider custom indices, I'm not sure I believe just switching to 0-based or anything else in Julia is as painless as you suggested earlier - it could introduce its own off-by-one errors!
Some of the last people using them for work may have been graphic artists, who called them "proportion wheels". I don't know how many of the folks sizing photos knew that they were using circular slide rules.
Gates also has interest in condoms as a technology: http://www.slate.com/articles/health_and_science/science/201...

Resnic is not the only one who has been trying to build a better condom. In November 2013, the Bill and Melinda Gates Foundation began distributing $100,000 grants to teams of researchers who’d submitted proposals for “the Next Generation of Condom.” The Gates Foundation hopes that at least one of the grantees will develop a product that men in the developing world want to use, which will consequently have “substantial benefits for global health, both in terms of reducing the incidence of unplanned pregnancies and in prevention of infection with HIV or other STIs.” The winning proposals include Resnic’s; a condom made of graphene, which is a form of carbon that’s a single atom thick; a condom incorporating plant-based antioxidants; and an “ultra-sheer wrapping condom” made of polyethylene, a type of plastic often used in packaging. Meanwhile, in 2014 a California inventor raised more than $100,000 on the crowdfunding site IndieGoGo to develop the Galactic Cap, a condom designed to fit snugly on the head of the penis while leaving the shaft bare.

I don't know what's happened since 2013, though; there do not seem to be any readily available updates in the last couple years.
This is a good point when comparing USA churches with their European counter-parts.

However, the comparison I was making was specifically about the USA.

Even without tax/public funds (or preferential tax treatment), American christian churches did engage in all of the things you list.

There are hundreds of private, non-tax-funded middle schools, high schools, colleges, universities, and seminaries in the USA.

Many of our hospital systems (that have long sense become beasts unto themselves) were started as religious charities without state funding.

Almost all non-state-owned orphanages and homeless shelters were religiously affiliated charities that did not receive state funds.

And many of these things were done by home-grown congregations.

In an American context, the fact that the church did fill these roles even without preferential state support -- in fact, in a country where preferential state support was explicitly forbidden -- just makes the "then vs. now" comparison that much more concerning.
I disagree with the other guy - definitely continue to bother trying.
The problem with that is, as other people said last time it was up for discussion, that if you are willing to pay to avoid ads, you are the demographic that is even more attractive to advertisers, meaning they will pay you even more to reach you.

The thing I don't get is, there has to be products out there that are actually useful, but I don't see advertising for those*

*exception: some sleeping headphones I saw in an app on Twitter, but they fail to meet my requirement: I want to put them on, go to sleep, and not hear a noise after that. I will pay 1k+ for this, iff they really work.
Leave No Network Unexploited: The Story of China Telecom’s BGP Hijacking [pdf]
It's not just that it lost the family moments; the comedy writing got much, much worse. Comedy doesn't have to have tender moments, but it does have to be funny.
> Why do I have over $7000 on my CC bill?

Leaving the rest aside, an awful lot of people end up here via medical bills. Even with means-based billing or health insurance, a bad accident or a chronic issue can add up extremely fast. The player might even have had savings that were wiped out paying down a higher bill before the game started, and settled the rest on a credit card.

(Yes, most hospitals offer payment plans at better rates than credit cards. No, I don't think all healthcare providers do, and no, they don't necessarily offer any clear way to find out.)
Analysis of Larry Ellison Keynote. Can Oracle Really Compete Against AWS
Amazon unveils first San Francisco “Go” outpost
College degree, working a 9$ / hr job. Not saying this is impossible, but probably not the case of most college degree holders.
> I regularly pay the copyright office a $50 fee to register the works I create that I believe are most likely to be infringed. I also send around a dozen DMCA takedown notices once or twice a week. If not for the DMCA I would be sending cease and desist letters and filing lawsuits. This is way better.

Yeah that's true. I'm saying DMCA is better than ContentID and its ilk.

Let's take a piracy example. I completely agree that DMCA-Takedowns directed at Google should be checked and (if the claim is valid) processed. It gets very problematic when you proactively filter uploads. Uploads should generally be allowed by default.

> What do you recommend? Fistfights?

No. Adapt. I realize this is easier said than done. But any company today has to constantly innovate. Never assume any given business model is save for anything more than short to mid-term. This is easier for tech companies because they breathe this kind of culture. But in the not-so-distant future every company will become more like that, or not exist anymore.
If the unikernel is running as a normal process, all that potentially vulnerable code is still on the box, and still potentially executable in the event of a vulnerability. The security selling point of a standard unikernel is that the all the potentially-vulnerable code doesn't even exist, because only the libraries that are actually used get compiled and linked into the app, and it has no code relevant to functionality that it's not actually using.

The paper suggests using system-call filtering via seccomp or similar to block off this attack surface, but if you trust seccomp to have zero bugs, you might as well do traditional process sandboxing a la Google Chrome.

The problem unikernels solve is that traditionally, a vulnerability in C code means "game over" and the box is completely pwned with all memory and storage directly accessible, while with a unikernel, a vulnerability means only that an attacker can access other functionality within the app, and can't rely on eg. a shell or a debugger being available to arbitrarily move bytes around.
WooCommerce Bulk Edit Plugins
I think it was always edgy, a bit shocking, and what was edgy and shocking when they started became normal later on so they had to push the envelope a bit further.
NASA makes progress on fixing Hubble gyro
Unfortunately the tooling story is poor for VMs. There isn't a good analog for the Docker toolchain (build, pull, push, etc) or container orchestrators (e.g., Kubernetes). These stories are at least as important as "lighter and safer".
I'm 26, male. I sort relate to your situation when I was 19.

Interested in CS since spent a lot of time in front of a PC as well. You would consider me "average" at UNI. Studied CS at the top UNI of México (not an IVY league), but good enough to catch attention of FAANG's. Never stellar in comparison to my other classmates who had been programming since they were 12. Spent a lot of time with videogames since HS and UNI, and fooled around classes a lot. Felt like a bum when graduated (compared to what my classmates were achieving at those times).

Two tips:

1. Ditch videogames, porn, binge-watching series/movies/random videos, gambling, drinking, etc. Anything that is taking 3-4 hours of chunk of your time per day. You need this time for tip number 2.

2. Show up everyday. Start picking books, tutorials, courses, articles on Web Programming, Python, Algorithms, Security, Business, etc. On a daily basis, 2 hours per day. After 2 or 3 years it will be drilled in your head, you will feel competent and grow confidence. It is extremely important that you do this everyday, even on weekends, double it down on weekends.

I feel so much better right now after 4-5 years. My employers consider me a top performer and handle me responsibilities (and compensation) way beyond someone my age.

Vamos hombre!
Original title is China’s Maxim – Leave No Access Point Unexploited: The Hidden Story of China Telecom’s BGP Hijacking, but it was too long to submit.
My young friend has a PhD in physics; published and respected. Drives a bus.
Show HN: Orac – Filter news from social media using AI
I don't think we're "moving toward a communist phase", as that requires a complete change in motivation.

I believe that people are selfish. Helping other people feels good (you're exerting power over someone my helping them), thus the wealthy are content to do so once their quest for riches has been fulfilled. Instead of the public owning the means of production (socialism), I think the wealthy will retain control, but give freely (or insanely cheaply) of the _fruits_ of production. The average person doesn't want control, they just want the fruits, and they're content to let the wealthy play their political games if they get what they want.

Instead of seeing a complete reversal of capitalism into socialism, I think it's _far_ more reasonable to expect something like UBI where everyone receives according to their need, but they still don't have control of the means of production, and society certainly won't be classless (there will always be the wealthy/powerful, but perhaps no "poor", esp with automation taking must labor jobs).
I'm surprised by android 5.0, I thought newer versions focused on making it more friendly for less powerful devices.
Developer here. Like a lot of programmers, I struggle with distraction, and I get frustrated with time wasted on addictive social media. I also feel frustrated by the lack of control I have over the algorithms that control what I see on social media, and the constant tracking and privacy invasion.

So I've been working on Orac as a way to get interesting and useful content that matters from social media, without losing focus. It's currently an early preview version. The front end is built as a web app with React and GraphQL, and it uses deep learning to rank quality and predict attributes about stories it finds shared on social media (such as seriousness, objectivity, political stance etc). The back end is AWS Kinesis for stream ingestion, Lamda for running inference, and DynamoDB and ElasticSearch, along with AWS AppSync.

While it's experimental, the content predictions are already pretty interesting, and it has a bunch of pre-built filters as a way to play around with them - such as moods, personas and filter bubbles.

Would love to know what folks think and if this is something useful to people that's worth pursuing!
False dichotomy logic fallacy. These things are not at all mutually exclusive.
Forget younger audiences. I was hearing people at work parrot the "both sides" BS from South Park directly.
I think it's because South Park has always been a vehicle to comment, usually specifically, on current events and popular culture. The world of South Park is really a sandbox for Trey and Matt to caricature whatever they're choosing to ream on that particular week.

The Simpsons, Futurama, when they address these kinds of issues, they feel like they're 'reaching' for it. Or, worse, just 'not trying'.

Someone else here mentioned The Simpsons, and the Family Guy, were much better at the time that they focused on the struggles of the families themselves.

I believe that this is because unlike South Park, where, even from the name, the town itself seems to be the focus. Which allows it to be moreso whatever they want it to be.

'The Simpsons' and the 'Family Guy', are meant to satirize, or at least revolve around, the daily struggles of the 'American Middle Class Family'.

When they don't, and they reach for 'current' events, which often usually feel dated by the episode release due to the extended 6-9 month production period, they seem stale and unfunny. South Park's 6-day production period, awesomely described in the fantastic documentary 'Six Days to Air', allows South Park to comment literally on things that happened the day before. It's incredibly hard to make that feel 'stale.' Really, worst-case scenario, South Park just doesn't seem 'funny' enough sometimes (this season hasn't been great), but definitely never 'irrelevant'.

The early seasons and episodes of the Simpsons are timeless. Many of them could've happened any time over the last three or four decades.

• 'Homer's Enemy' (S08E23) - A new employee at work gets jealous of Homer's 'easy' life.

• 'Mr. Plow' (S04E09) - Hijinks occur when Homer and Barney start competing snow removal businesses.

• 'Homer the Heretic' (S04E03) - Homer decides he doesn't need to attend church any more, and Marge doesn't like the example that demonstrates for the kids.

• 'You Only Move Twice' (S08E02) - Homer is offered a new work opportunity in a 'perfect' town. This episode does involve satire, but James Bond is such an old trope, and the films are still coming out, therefore it doesn't seem 'stale'.

None of these classic and fan favourite episodes rely on tropes of the era. They're still as funny today as when they were released. (Especially 'You Only Move Twice'. What a gem. Oh, Scorpio.)

Futurama, as well, does best when it focuses on it's sci-fi premise. It's supposed to be the future. We don't need comments about Apple products in there, we want the mind-bending 'Rick and Morty'-level plots of 'Roswell that Ends Well', or the genuine moments of emotion like Fry's dog at the end of 'Jurassic Bark'.

Again, it seems like early seasons of these cartoon sitcoms have a habit of sticking to their initial premise, and maybe perhaps the creator's visions. There's tons of reasons for this, but in 'The Simpsons' case, the death of Phil Hartman in 1998 drastically affected the show as a whole. I think a lot of the spirit was lost along with him. RIP, Troy McClure.