skysight-inc/HackerNews huggingface dataset:
> Oracle PL/SQL's error handling

Is this about the database engine itself? Or just the query parser? Or even just exceptions in the query language itself?

FWIW, Scylla is not an RDBMS. I don't know about its architecture and am not interested in digging more. And that thing works reliably? I don't know - not my cup of tea. Why am I reminded of Node.js? Not cherry-picking here...

future<file> sstable::open_file(component_type type, open_flags flags, file_open_options opts) {
auto f = new_sstable_component_file(_read_error_handler, filename(type), flags, opts);
if ((type != component_type::Data && type != component_type::Index)
|| get_config().extensions().sstable_file_io_extensions().empty()) {
return f;
}
return f.then([this, type, flags](file f) {
return do_with(std::move(f), [this, type, flags](file& f) {
auto ext_range = get_config().extensions().sstable_file_io_extensions();
return do_for_each(ext_range.begin(), ext_range.end(), [this, &f, type, flags](auto& ext) {
// note: we're potentially wrapping more than once. extension mechanism
// is responsible for order being sane.

In the 60s or so, people came up with this thing called scheduler. It allowed them to run things (virtually) at the same time, while not needing to make a mess of their code... They also invented cooperative multitasking, where the scheduler only kicks in when explicitly called.

f = open_file_or_schedule(filepath);
read_or_schedule(f, buf, size);
This article reminds me that in working days, I thought I barely had any time to "think for myself"

Wake up, shower, grab coffee and commute (mostly looking at my phone)

Work as a developer (looking at the computer, some occasional short discussions with colleagues)

Eat at desk (looking at computer or phone)

Commute back (looking at phone)

Back home, maybe watch TV series or play a game (screen again)

It got me thinking that my mind was focused on a screen for 80%+ of the day. No time to be "idle" and to let my mind wander. Screens, notifications, alerts and apps designed to suck out as much attention and screen time out of me dominate the day.

Since then, I thought of changing my field of work and do something more manual, or that requires me to interact with people. I also picked up playing instruments and "real" life hobbies since then in an attempt to get away from the screens.
Good writing, good story telling skills. I read this the whole way through, and I usually just skim. So she is able to write in such a way to do that.

Now, the actual technical or learning content is lower than the usual articles of the same length but it was a pleasanter read.
NASA has one up to 2017. It does not look pretty.

https://climate.nasa.gov/vital-signs/global-temperature/
This is true, but if you have a tighter tolerance on how much load each machine needs to be able to handle then you may be able to waste less resources.
article is from 2006
Much as I agree that fossil fuel burning is a horrendous thing that has sent us on a life-threatening trajectory, I also think this narrative is overly simplified. The fight to minimize fossil fuel would benefit from a more realistic (i.e. humble) approach IMO. Doubting if Thomas Mann will be the person to do that though.

To be clear, climate science has come a long way and has shown beyond any reasonable doubt that fossil fuel burning is changing our climate in ways that already is causing damage to the livelihood of millions if not billions of people, something which will accelerate in the short term and put our capacity for adaption and human compassion to a severe test, that we will probably fail miserably.

So the core issue is not up for debate. But there are still claims that rubs me the wrong way, for example that is that this is "a fight between science and self-interested industry". Yes, to some extent. But climate science is not a mature science like (some parts of) physics. As a science it is still struggling to explain why things like ice-ages were (are?) a recurring phenomenon.

The reason is that climate science is in essence a historical science. What this means: while we can tell that the climate has behaved in a certain way historically, and many times (not always) understand why, we have no way to determine the accumulated future effects of warming beyond a certain, in geological terms, fairly short horizon. It may well, through the combination of various tipping point effects, planetary, intergalactic or even hitherto unknown extra-galactic phenomenon have the exact opposite effect, as far as we know.

So part of the drama is in my view caused by climate science trying to establish itself as a mature science with a predictability powers comparable to sciences that can perform reproducible experiments, downplaying its own nature as a historical science. The fossil burning industry (and all the other interests tied in with them) is handed a gift in a way, since they can appeal to the natural intelligence of the average person, and get an agreement that the climate science is making hyperbolic claims.

We don't know everything, and it would serve the sane discussion well to delimit what we can and can not predict.

https://en.wikipedia.org/wiki/Geologic_temperature_record#/m...
Just commenting in the hope that the Purism team also reads HN: I can totally second this, with an 2kish resolution and nice i7 w/4-6 cores + HT I’ll immediately replace my aged MBP with a Purism Librem 15. On a second note: Your offer of a privacy first notebook is worth to me as much of a premium as apple‘s OS and design are.
Will the 3D chip geometry be possible soon? Production, thermal balance etc. Will that alone change the programming paradigm much?
If you bought a 1st Gen Firestick, those are sluggish. The FireTV square box are very snappy (I have 4 1st Gen FireTVs that are still super responsive). I also have a Chromecast and the Chromecast never gets used since the FireTVs are so good - and lets be honest, the Chromecast is much more limited feature wise.
When I was still working as a programmer I noticed that many, maybe most, breakthroughs in my work I made at breaks - at lunches, tea breaks, waking to meetings, etc. I was stuck and not making any progress trying to work through the problem - and then when my mind shifted the solution was coming to my mind from a completely different perspective than what I was trying. It is counterproductive to get glued to the screen the whole day - it might work when you solve easy problems, but in programming you all the time need to solve problems never encountered before.
Fantastic video, the best on the topic of pm fit if you ask me.
Sounds defective. I've got 6 of them and I replace batteries once every 9-12 months or so.
Apple announces free 13-inch MacBook Pro battery replacement program
Crazy. This was happening to me today as well. Tonnes of spam from my email, but being sent to these weird blanket emails. Worrying.
It’s nothing to do with signing keys.

If php has permission to extract an archive with new files over the current ones, it has permission to write a malicious file over a current one.

I’m not talking about a vulnerability on the wordpress central infra that delivers a malicious update via the legitimate update path.

I’m talking about a vulnerability in the millions of wordpress installs that have filesystem permissions to overwrite themselves, to facilitate “auto update”.
Ask HN: I've 2m/m unique visitors, what to sell to them?
I have more than 2 million unique visitors on my sites (~10 sites) and I'm not selling any product to them. I'm earning money on other ways like selling links and promoting specific services (affiliate) but I really like to turn to product. So, I need your advice, thoughts and sharing experiences like this. My sites has to do with traveling and education.
> natural selection will encourage war to reduce competition for resources / survival.

Not commenting on the rest of your comment, but that's not how natural selection works.
Sideloading is supported. There's even an app called Downloader (http://www.aftvnews.com/downloader/) that lets you sideload from the web.
Why not use wordpress as the backend for your static site? The user can create pages and posts like normal and once they are done you can build the static page from the wordpress api.
how was the will of the people ignored in the 2016 election?

I agree in the larger sense though. In my opinion, the only way to stop a corrupt government is to shrink it.
Clearly the WSJ must be A/B testing, because the price I quote is what it shows to me: http://sufi.andreparames.com/wsj.png Are you sure you're not just looking at the promotional time-limited discount? Because yes, that's half that. But it only lasts a few months.

As for the average salary, I do have to say it's after taxes (I didn't write "gross", but "base" might have been misleading, though it's how it's called here). The gross is 1154€/month. Yes, it's fucking low. This is why we emigrate a lot.

Here: https://en.wikipedia.org/wiki/List_of_European_countries_by_... See the orange bit in the western part?

By the way, "the poverty line" doesn't exist, each country has its own. Which are you referring to?
Yes, this is also what I was looking for. The thing is that I did not find a game which would be captivating enough for the children to go beyond one session or two.

Monopoly: everybody hates everyone afterwards.

Settlers of Catan: very repetitive, I believe that we did not grasp the key intent of the game.

When they were younger games such as "Mille Bornes" ( a French board game) were OK, but these are really games for small children.

They read a lot, do not play videogames very much and do not watch TV, enjoy chess, etc. -- so they seemed like good candidates for board games.

I may try D&D (with a real MD) someday, who knowns.
That would have been nice, but you can't actually filter by return-path in gmail :(
> ZUCK: i don’t know why

> ZUCK: they “trust me”

> ZUCK: dumb fucks

That's everything I needed to know, and why I didn't ever sign up for it. Zuckerberg should rot in jail.
This other company[1] built a prototype of a low-cost vortex in Chile, and claims it produces 15Kw consistently with a drop of 2-3m. If true that's fantastic. As suggested in their video, they could could build several of those in a row because they don't need a massive reservoir.

[1]: https://www.youtube.com/watch?v=gY3p2e1-kN4
...and references the good old Reiser file system.
That's not an explanation.

Why is coffee so bad?

I can find a ton of papers on the positive effects of coffee. Only very few on possible negative effects, they primarily focus on cafestol and kahweol as bad for cholesterol, but only when the coffee isn't made with paper filters, which trap those oils.
DMARC could solve this problem, but it would break a lot of things reliant on forwards. When Yahoo set their DMARC policy to reject, there was quite a stir about it:
https://www.ietf.org/mail-archive/web/ietf/current/msg87153....

In this particular case, it seems the major issue is that spammers got access to 69.64.35.11, which is included in telus.com's SPF record. In the end, this will hurt deliverability for legitimate emails sent with telus.com in the return path, and I suspect telus.com's customer service will have some explaining to do for their customers.
Nice site. On thing I would like is the ability to swipe through the photo albums.
I guess I'm not the target market for them because I don't see the point of any of these things.

I have a PS4 Pro, which provides for all my entertainment needs, including Amazon Video, Netflix, iPlayer, YouTube, and whatever else, and seems to sidestep all the annoyances and limitations. Snappy UI? Check. 4K video? Check. Frequent upgrades and ongoing support? Check. Storage, if you need it? Check.

I suppose there's a pretty large market of people who don't have current gen consoles hooked up to their TVs for whom these kinds of peripherals are more appealing.
Belarus Moves to Tighten Control Over Online News, Social Media
I wanted to mention hydraulic rams too! I think they're easily one of the most ingenious and clever mechanical devices ever invented. It's too bad they're not practical for large scale systems.
Can't reply to stephenr because comment thread is too deep, but it's perfectly possible to run WordPress without write permissions anywhere near executable code and then to schedule automatic updates at a different privilege level.

Since this is done extremely rarely, that leads me to believe that its more of a cultural problem (perhaps with the WordPress team, even) than a technical one.

Spent 5 years in shared PHP web hosting, can confirm that most of the people are muddling through with the bare minimum of understanding to get WordPress going.
The E480 or E680 can take upto 32 GB.

The Lenovo "search by specs" page ignores their own customisation options, which is a bit frustrating. So Lenovo will tell people that they offer laptops with 16 GB RAM, when many of their laptops can be customised from Lenovo with 32 GB.
I found this comment fairly condescending and presumptuous. Not everyone has the time and ability to follow everything. That doesn't mean their "head is below the ground." Twenty years ago, I was an infant.
So, I am the one who disabled it from the Amazon Store. Not Amazon. So, the issue is not that dramatic.

The reason is that they refused to approve the 3.0 version of VLC, which meant that people were downloading a beta version from quite a long time ago, with lots of bugs. So I preferred to disable it instead of having more people load an old version.

The actual issue is that this precise version had a small database bug/issue that is very annoying to fix/work-around, and when you update, you lose the first audio playlist (video files, audio files, playlist files work fine). So, I'm not even sure that we can fix that in a correct way. But, for Amazon, they think it is a blocker. Sure, that meant that version is buggy, but that's even more the reason to not have more people download it.

Remember, we don't make any money from VLC, even if it is free, you are not the product (no ads, no spying, no telemetry).

Anyway, this is one of the reason why I dislike appstores: they make you lose a lot of time jumping through hoops, and the quality is not even there. All of those appstores have lots of crap in there. And, except the Google PlayStore (that has other issues), all the interfaces to upload/edit are very bad and buggy...
I'm using Firebase for all my backend needs. As a relatively inexperienced programmer, I found Firebase to be extremely time-saving and easier to implement into my app. Granted, I'm only at a prototype stage so I'm not sure how well it will scale in the future.

I use Firebase for authentication, database (Firestore), storage and hosting. I have not faced any issues yet with any aspect of the suite.
Show HN: Dmn-Check – Static Analysis for Decision Model Notation (DMN) Files
You have to pay most up-front for solar. If you don't have the money at hand, forget about getting a credit when recession strikes. It's a good investment if you expect money devaluation without high interest rates but in a recession you expect deflation first and cash is king.
Can there be positive self selection and specialization of the surgeons? Those who don’t believe they can probably operate successfully don’t do that at all and the others get more insensitive.
Additional, often unnecessary, complexity and the tendency to use it indiscriminately even if it's not pertinent to solving the problem at hand.

I've seen teams spending an inordinate amount of time just for servicing Docker and its surrounding infrastructure while they should've been working on their actual products instead.
I'm quite excited about using blockchain for music licensing. A quick Google search shows that there quite a few that do that.

https://noisey.vice.com/en_us/article/d37mez/these-7-blockch...
I use paid service proxy bonanza ($12/mo for 2 IPs), and build my own as well using squid ($5/mo DigitalOcean).
My understanding is that these commercial terminals tend to be focused on emulating non-standard terminals used by by systems like IBM mainframes, etc. which are in no way VT100 compatible.

I believe that these products are also optimized for allowing non-technical staff to use old 'greenscreen' terminal UI applications. These products usually have features like macros for commonly-used sequences of key-combos, and they also do things like figuring out if the screen is showing a menu, and turning the menu entries into something that can be clicked by a mouse so it isn't entirely keyboard driven.

For a dev and/or ops person on a modern Linux system, there's almost certainly no reason to look into this stuff.
My opinion is that autonomous vehicles shouldn't rely on GPS or GNSS so much as those do today. It should be only one possible location information system, not the ultimate authority as it seems to be with many systems today. Lack of satellite navigation shouldn't prevent the system from functioning reliably. If it does, the system is fundamentally flawed.
would the downvoters care to point out their reasoning?
73% sounds really efficient. How does it compare to other power plants?
The call center I used to work for expected us to give one warning for such hostile behavior, and then simply hang up if the customer kept being abusive and/or threatening.

In general its, simply a bad idea to be rude to the person you expect to provide assistance.
Thanks for the info, but why won't they approve v3.0??
I'm still waiting for a hotel room where the TV isn't a postage stamp 3 miles from the bed.
Acorns Australia has changed its name to Raiz
> Everybody was doping.

Lots of people weren't doping. In fact the vast majority of humanity wasn't doping. Many of those non-dopers may have been competitive had cycling not been full of dopers. The cheaters drive the honest out of the sport.
Same with the Olympics. If someone wants to tell me those weightlifters are throwing my deadlift 1 rep max overhead without drugs, I’ve got some fine Louisiana swampland I’d like to sell. Except in this case a whole country was a “fall guy” (Russia).
I appreciate the article is from 2006, but it would be nice to see a similar write up for recent EFI-based machines and maybe other architectures, as well.
What does "over pay" here mean? More than what you perceive the value of the product or service to be?

I think the key here is shifting your mindset to see value as percieved by the customer.

Percieved value is actual value.
I quit all social media and that included WhatsApp, about a year and a half back. Everyone is fine with me leaving social sites but how dare I leave WhatsApp? They look at me weird for that.

Surprisingly though, Signal is slowly gaining popularity among the smarter crowds.
And yet I'd bet a lot of money that innovating again was a large part of the reason IBM management justified to itself and shareholders these layoffs.

Turns out, again, that management had zero plans for innovation. Instead, they only had the standard MBA plans : we're going to get a cheaper, MUCH worse, workforce. No more decisions to make for management, so they don't have to take the risk of being wrong anymore.

Innovation ... died. Bill Gates became the richest man in the world taking one of their more obvious opportunities. But managers looked good to other managers, you know, in ways they were taught in their MBA education, and only in those ways. IBM ... withered and died, in the opinion of a lot of people. IBM watson, their poster child for innovation, is not even a bad joke in the AI research community. It's actually unknown. It's an empty shell.

Today, even the financial community is saying stuff like IBM is like McDonalds ... it's a real estate play (you're essentially betting on their ability to sell-and-lease-back their real-estate portfolio and pay out the short term profits from that to their shareholders). There is much justification for that in their financial reports.

It's a bit wider than that: they own some things, and they're rent-seekers, who are to deep in debt and are finding they have to sell ever more income-generating assets. Every product they have, even the ones with deep market lock-in is declining fast.
> because some people actually believe that heroin addicts deserve to die...

You only have to look towards the Philippines to know the kind of results such an attitude if left unchecked can engender.
>Armstrong was the fall guy

He was far worse than just cyclist who doped. Most others just doped, cycled and kept heir head down.

Armstrong was toxic bully and leader of the doping world who attempted to destroy other peoples life's. He crossed lines others did not cross. His gangsterism and strong-arm tactics against his accusers over the years deserve no sympathy.
Yup! My ThinkPad 25 might not be super light but this side of 2011 it's the only seven row layout so it'll do and it's 3.5-3.9lbs depending which battery I take with me. I have a server rented at Hetzner which few laptops could match and none you want to haul around if you don't drive.
At the Bottom of the Ocean, a Gloomy Discovery
Because when people update from 2.1.1 to 3.0.0, they would lose their custom playlists. Indeed, it is a bit annoying, but we considered that it was not worth fixing that, notably for the FireTV UI, where it is very hard to create some playlists, therefore not many people are impacted.
Yes. Yet I often struggle with the UI. E.g. on mobile, when searching for events, you have to swipe a menu to the right and click "events", which is not obvious. Also getting a list of RSVP'd events is not trivial.
Interesting unintended consequences. Thanks for the detailed explanations. Cheers.
Agree. But, regardless, all of this makes it extremely difficult to take cycling seriously as a sport. The fact that it marries this kind of terrible behaviour with an almost priggish, "serious business", attitude does little to help.
How to Buy Mithril Token: Buy MITH Instantly (2018 Updated)
> What could go wrong.

Well, after several years not much went wrong. There was a single case where the updated broke the update process, thus forcing users to a single manual (still one-click) update.
I.e. the worst that happened is that in one instance wordpress was as bad as any other major CMS by not having working automated updates.

What went right however is that probably thousands of wordpress infections have been prevented by automated updates that work 99% of the time.

Wordpress surely isn't perfect, but the fact that they have automated updates that work most of the time means they're more secure than any of their major competitors for now.
But what if your face was on Facebook before GDPR is in effect?
You are conflating structures used internally to implement a relational database, and structures exposed as a first-class building block for your own systems.

Think of Redis a a shared, in-memory, well-tested implementation of basic data structure primitives that takes care of a lot of the fiddly nonsense around them without you having to do the work. Postgres is awesome, but it's targeted at a different use case and has different characteristics; it's overkill for something like a shared key-value store, for example.
You pay more per IP than per server!? Why don't you get 3 DO instances then?
Do you recommend any books in particular in this area? It's something I need to learn more about.
> schedule automatic updates at a different privilege level

That is inherently not the default for wordpress, and at that point you may as well be installing via deb/rpm.

I didn’t say scheduled updated are bad I said a self writable web app is a fucking security nightmare.
> Amazon Fire TV is terrible.

Yet Amazon keeps raving about how they are "consumer-obsessed". It's like they don't test their own devices.
What about the new Ryzen Mobile? Decent GPU and CPU, no crazy power overheads with PCIe or GDDRx.
Men have an advantage because they are already men. If women take the same kind of drugs men take they start to become men. Testosterone is the best performance enhancing drug there is.
Turning the Apple //e into a lisp machine, part 1 (2013)