skysight-inc/HackerNews huggingface dataset:
Hm, from what I can tell this doesn't seem to be possible.

There is one way to open a directory without read permissions, which is with O_PATH, but the resulting fd can only be used "to indicate a location in the filesystem tree and to perform operations that act purely at the file descriptor level". And indeed if you try to use this fd to fsync() you get EBADF.

I guess this is just an edge case of an edge case that most people aren't concerned about. One way to work around this issue with a bare minimum of compromise to security would be a setuid program that does nothing but open its working directory then fsync it.
Reasons to Be Using Facebook Advertising
Well. You sir seem to have interesting banking stories to tell.
> emulate most of Oracle database functionality

What is the basis for this statement?

* MATCH_RECOGNIZE isn't supported

* reference partitions aren't supported

* TIMESTAMP is incompatible and the default compile options are comically bad

These are the first three things that came to mind and none of them are supported so I stopped looking further.
Yes, this story reminds me of some clients I’ve had that always want to customise off the shelf software to do what they want when it would be easier to build it from scratch.
Reading the article may help. The article states that it was a temporary event.
Yes, that is along the lines I'm thinking, but for processes rather than web requests. I don't know enough about Arc to know if the server still has everything in memory between requests or not, and if it would survive a server restart, but certainly the Racket example is serializing the state so pretty much what I was thinking, yes. Thanks!
California Republicans Admit They Placed Misleading Ballot Boxes Around State
I have always thought that the hardware was responsible for the creation of each programming language. Well, not entirely, but a large part of the reason was the hardware and the new or different capabilities of the moment.
That's coming from the gas plants in SA that are required to provide network inertia

They're currently working on replacing that with battery

(this is explained in the article)
That's ~30hrs after the point in time highlighted by the article.
Which is why the criticism that they “don’t care about music” is so silly- that’s not the thing you make money by caring about. They cared about legal stuff.
Someone please re-purpose this to use Twitter handles!
Say you put a red marble and a blue marble in two envelopes. You randomly post one envelope to Australia. One year later, you open the other envelope. You now know the color of the marble in Australia.

What's the difference between this and quantum entanglement?
If you're thinking about PHP, I don't think it's more used than Javascript or Java. Maybe even behind Ruby and C#.

Unless you count all the Wordpress installs (where most webmasters don't write a line of PHP) it's not that popular nowadays. We're in 2020.

Anyway, it's besides the point. He's giving examples of languages you can use to write a website, not making a list of the most popular languages.
Getting on site to realise X is completely wrong is so standard most architects spend probably 20%+ of their time talking to builders. This level of QA never happens in a factory.

The buildings also look horrendous by default, artificial and cheap looking with a complete lack of character. I’m all for prefab in theory but it’s like building a whole piece of software without testing any of the interfaces fit together or that say logging and error handling are plumbed in without testing them. It’s clearly a recipe for disaster even with the best organised prefabricator.
In my experience, maybe it just isn't there yet, serverless has much more points of failure than a conventional infrastructure. I am sure there a lot of software that really needs the scale the cloud can provide. Funny thing is that we tend to use it for tiny apps, some IOT voice interfaces or BTB tools that we don't want in our corporate network.

I doubt cloud providers can dictate environments, other providers would quickly fill the gap to meet developer preferences. I also think that more developers care about lock in these days.
I love how many people here and in Twitter are complaining about being woken up at 2am, to be told you've won the Nobel prize, incredible.

Try having children, sleeping till 2 will be a blessing!
Start to build.
It is clear that Facebook is either unwilling or unable to effectively address the spread of misinformation. In light of this, I'm increasingly of the opinion that if misinformation and conspiracy theories are like viruses, then we should be practicing "political distancing," if you will. This doesn't mean being politically ignorant, but rather engaging in the minimum amount of political content you need to and no more. This would slow the spread of misinformation, since it simply doesn't have as many people to "infect" as quickly. While this may appear to go against the democratic spirit of maximum political engagement, democracy has worked before Facebook (and would probably be a lot better with less use of it). I think people's "default" political beliefs are generally less insane than many of the conspiracy theories (and if your beliefs already are that crazy then going on Facebook will only make them worse), so reducing engagement with political content should be something positive. This isn't something the journalists will recommend since their careers depend on clicks, but I think it's in everyone's best interest for people to back off the scrolling through the feed all day and take a break.
I find that leaving things to read in open tabs and not acting upon them immediately is a good thing. Once I circle back to them I often find myself thinking 'why would I wanna read that? it's a complete waste of time, what was I thinking?' and close that tab. Kinda procrastinating on procrastination ;)
Best Black Friday Web Hosting Deals
> and et cetera.

FYI, the “et” means “and”. https://en.wikipedia.org/wiki/Et_cetera is good reading.
Does one know one is a runner up for this prize? If you knew you might win wouldn't you stay up and stay near your phone and just take the next day off?
What serverless does is to force the developer to have a sharp separation of code and persistence. For all cases. Even saving a small inter-request variable that lives for 5 seconds or less.

What serverless does is to force scalable architectures.

The price is slim to no control over build and execution environment as a consequence of not taking the underlying architecture into account. For many people this is not an issue. These people will be very content with serverless and should definitely use these types of solutions.
"You wanted a banana but what you got was a gorilla holding the banana and the entire jungle."

Sometimes, it is better to have something that solves the 10% of the problem you are facing than something that solves 9 other problems you don't have but forces a cognitive overload on you because of the more general abstraction for dealing with those problems. Usually, you cannot solve all problems for all people and you need to make trade offs.

Reinventing the wheel is really a bad analogy for this. A car wheel is not a substitute for a bicycle wheel, a bicycle wheel isn't much good on a wheelbarrow, a wheel barrow doesn't help out much on a skateboard, on and on and on. The act of inventing the wheel defined its parameters and necessary characteristics so that (mechanical) engineers could have them manufactured to their specifications as needed for the thing they were designing. If I design a new wheel it isn't invention.

The similar "fit for purpose" notion in software is not widespread. Many of us somehow feel that implementation is more invention than manufacturing or design. The goodness of fit criteria are not often discussed or are difficult to define or measure. The things that sqlite can do that postgresql cannot and vice versa are important. They each leave some problems unsolved so that they can solve their chosen problems.
You might have better luck adding weight to the fence, to change its resonant frequency.
I agree, I'd have liked to read about how he chose to set it up, there are 4 pi's in there, but for all I know, it could be that no more than a single one is actually doing anything.
Development is the industry of graft.
so this means the quantum computing is not possible ?
Ask HN: How do you keep track of all the interesting sites/articles you find?
At the moment, I just bookmark all the cool stuff I find in FF, and have it synced across my devices, but are there any "better" ways to keep track of this stuff?
Hey hey,
Yes, I did not want to display 2-page CVs on the landing page. But apart from my CV in the middle, the rest are real applications. Not everyone has a lot of work experience when they start their journey :)
Oh, and they got the job with the CVs mentioned on the landing page.

Regarding the ATS, here is a response I gave to a similar question:
If you don't know how ATS extract data, use a text-based resume and the right keywords. A word document is most of the time, the best choice. But if you know how the data extraction works, you can play around with the layout and design. Imagine we have a scale from -4 to 4. I will put you at 1 with the template because the data can get extracted in the right order, and the keywords for the sections are right. But the rest is currently up to you. Check out the job description. What keywords are they using there? Skills mention earlier are more important than the ones at the bottom. Use them in your resume as well.
On the other hand, perhaps endeavors akin to NixOS and Guix will make maintaining your own operating system trivial.
Qihoo’s Wikipedia page is listing additional controversies: https://en.m.wikipedia.org/wiki/Qihoo_360
Which makes them totally inaccessible in some countries where Spotify does not offer services or offers a limited set of them. My favorite podcast went Spotify and I since then I just can't get access to the new episodes.
Climate change spurs doubling of disasters since 2000: UN
Using a stack like serverless framework the amount of lock-in is negligible.
I believe the latest POSIX spec has fixed the close issue. Long story is https://www.austingroupbugs.net/view.php?id=529
Personally, I tend to use MiniZinc for prototyping and experimenting and for solving simple problems.

For building larger solutions, I would also probably use a solver directly. Reasons for that would be customization, integration, and data handling issues. For me the go-to system would be Gecode, but there are a lot of very interesting and varied solvers available.

Worth noting is that MiniZinc is starting to get more and more support for integration into large systems, for example with the python interface (https://pypi.org/project/minizinc/).
When can we expect Zheap to land? 14?

With the new pluggable Storage API, Are there any other new storage engine other than Zheap?
actually the marbles change colour every 1 second and you can take them really far apart, meaning one can go at a really high speed and distance trough universe, so the time would have dilated for it. when you open them both have same color
>When you stop and think about it, that’s like the stupidest idea ever.

No, when I read the headline I immediately thought, "Why would would anyone ever want to do this?".

I once had to work with some crappy visual basic editor from Microsoft. It basically ran the compiler on every keystroke and if your code is temporarily invalid then it will open a dialog telling you your code is invalid (with no indication what is invalid or where). You know, my code might not be valid in this second but it will be in a minute. However, since every construct had to be valid until I reach my "destination" the editor forced me to think outside of it. People write out their thoughts as code so they don't have to keep them in their head. Sometimes those thoughts are not valid code but they are thoughts nevertheless.

Then there is the obvious data transmission problem. We have 10 fingers so we can easily transmit 10 bits of information per second. Try doing that with your tongue or your toes. We can have blind or deaf programmers but if you lose both your hands your career is over.

Programming is text because anything else would be stupid. Show me your semantic muscles and I'll change my mind.
The envelope is moving to Australia faster than light.
My boss paid for decent shielded room 4x4 meters in size €80k. I wouldn’t toy with foils an the apartment walls, that sounds like complete nonsense to me when I know how industrial shielded room was build.
How does it compare to posthog/snowplow/rudderstack?
I think this makes sense. But I also think it's not easy because I posit that the people most susceptible to being swayed by extremism or conspiracy theories on Facebook are also the same people who would scoff at the concept of political distancing. In fact, they may decry it as attempts to suppress free speech. In that event, it's like COVID-19 deniers. They are the ones who would most flaunt the guidelines to avoid COVID-19, so they are the ones who would be most susceptible to get infected and spread infection among other COVID-19 deniers. This idea of political distancing may stop the spread of misinformation among the general population if the general population agreed to it, but it's the peopled swayed by extremism and conspiracy theories that would cause the most issues and/or societal damage anyway. How do you slow down the spread of misinformation amongst people who seek it out is the more difficult question.
One theory in favor of space mining is that (and I personally believe this is wishful thinking) one asteroid might have a lot of titanium in it that would be worth trillions (and probably crash the titanium market).

But again, personally I think that's wishful thinking to try and get investors to push money into a space mining company. Based on nothing whatsoever, I believe most asteroids will be made out of fairly worthless materials.
Ask HN: Why am I getting Google Drive notifications about strangers' documents?
Google Drive keeps popping up messages like this:

> [redacted]@gmail.com "Mentioned you in [Russian-looking document name]"

What gives? Why on Earth would I be notified of documents mentioning me? And how do they know it's me? Is it basically any document containing my email address or something? This seems such an obvious phishing/trojan attempt that I've not clicked on any of them.
Side projects are great (for recruiting) if:

1. You don't much or any professional experience with software development.

2. You are experienced, but are trying to break into another field - and haven't done any relevant work in your current position (for example - front-end developer pivoting to systems development, or whatever)

I've encountered a lot of recruiters lately, that were more than interested in checking out personal projects. Hell, I've also seen some data science and ML positions where they explicitly asked for cool/interesting side-projects, where you'd use the tech to solve some problem.
Actually, that is a very good question and probably caused by the general immaturity of software engineering. Languages are not created in a planned, thought-through manner. Instead they are designed by human beings.

But what if they were, in fact, planned?

Let us quickly come up with some obviously orthogonal properties of a PL: evaluation strategy (by value, by name, by need) memory safety (manual, automatic), type system (none, nominal, structural), and implementation choice (compiled, interpreted). That alone gives us 3x2x3x2=36 possible languages and there are a) many more orthogonal choices to be made and b) several subchoices (e.g., which garbage collector, or which kind of polymorphism in the type system, what kind of macros, etc.) - also some of these choics are not truly orthogonal to complicate matters even more (interpreted languages tend to be untyped for some reason, for instance).

All in all, it seems there should be hundreds if not thousands of languages even if we would design them like we design wrenches or screwdrivers.
OrbNet: DL for Quantum Chemistry Using Symmetry-Adapted Atomic-Orbital Features
I thought they were fairly enjoyable books but I didn't find the initial scenario at all plausible.
I use Pocket.
It also Syncs to my Kobo-E-Ink reader.
And it saves the progress in articles.
So i just tag interesting articles.

https://getpocket.com/
Try pair programming with someone who's faster than you and you'll realize how much you are missing for typing slowly. It's like being a carpenter with a fretsaw or a jigsaw, you can do the same work, but you won't finish at the same time.
Sorry, I wasn't clear enough: I'm looking for a Teams client alternative. If it was up to me to decide, I would have switched to another software a long time ago :)
In my experience, having started and abandoned side projects in both aws lambda and google app engine, half your project becomes:

* Well, obviously we use a hosted database

* And obviously, AWS provides our logging and all our analytics.

* Obviously when people call our lambda functions, they do so either through an AWS-specific API, or one constrained to a very limited set of forms.

* Of course, we can't blindly let everything access everything, so naturally we have IAM roles and permissions for every lambda function.

* Well, the cloud provider will look after secrets and things like that for us, no need for us to worry about database passwords.

* Naturally, with all these functions and IAM roles to look after, and we need tagging for billing. We should define it all with CloudFormation scripting.

* Well, the nosql database the they provide comes with their specific library. And as it shards things like this, and doesn't let you index things like that, you've got to structure your data this specific way if you want to avoid performance problems.

* You don't want your function to take 200ms+ to respond, your users will notice how slow it is. So no installing things with apt-get or pip for you, let me get you a guide on how to repackage those into the vendor-specific bundle format.

* You want to test your functions locally, with access to an interactive debugger? You're living in the past, modern developers deploy to a beta environment and debug exclusively with print statements.

* And so on.

In this case, a lot of the 'complexity' one hoped to eliminate has just been moved into XML files and weird console GUIs.
Although I don't disagree with the sentiment, there's a difference between using only what resources you need and maximising the 'productiveness' of every moment of your life.
Funding someone else's education is never a good idea (with the exception of your own children).
I understand he's giving examples but out of 6 examples, I think PHP had its relevance
Facebook hasnt changed since the start? I completely disagree. What fb was at the start was actually useful - simply a way to write a status update to your friends and see what they have been up to in chronological order. None of the tracking or manipulative bull.

What it has become (and rapidly since going public) is an attention-seeking addiction portal trying to gain every dollar it can from clicks. Full of ads, showing you only the friend status updates it wants to show you from its blackbox algorithm, inferring what your interests are based on whatever you click on, adding on tons and tons of functionality to keep you in the bubble (events, marketplace and so on)

It is very different to what it began as.
"Disinformation" existed way before social media. Except it spread through your physical social circle. Which arguable might make it even more potent, because hearing something from a friend face-to-face might make you much more likely to believe it.

The speed of spread might have been slower, that is an argument to make. But to suggest disinformation is a recent issue is ridiculous.

And what exactly is disinformation? To me it looks like every "twisted truth" of people on the opposite end of your political views is disinformation, whereas when you're own side does it it's creative truth telling. I find it absolutely ridiculous when some politician claims the other side is lying, it is the most ridiculous hypocrisy from professional liars on both sides. There is not a politician out there who has not selectively used statistics, or outright lied. Where do you draw the line?

So from a practical perspective, what exactly are social networks to do? How do you define truth? How do you define where each side slips into disinformation vs marketing? For that matter, at what point does advertising become disinformation?

I really think this is an impossible problem to solve, because humans do everything on a sliding scale, nothing is black and white in terms of communication.
> Every AWS Lambda function I've ever written can be ran as a regular node/python process. The lambda-specific part is miniscule.

Of the actual function code, sure.

Of course, if you aren't manually configuring everything and are doing IaC, that isn't generic. And if you are supporting the Lambda with any other AWS serverless services, the code interfacing with them is pretty AWS specific.
Bletchley Park: Facebook donation gives museum a boost
Did you read the first sentence in that paragraph? That entire paragraph is talking about when _POSIX_SYNCHRONIZED_IO is not defined:

> If _POSIX_SYNCHRONIZED_IO is not defined, the wording relies heavily on the conformance document to tell the user what can be expected from the system. [...]

If you check your Linux system, you will see _POSIX_SYNCHRONIZED_IO is defined:

printf "%s\n" "#include <unistd.h>" "#ifdef _POSIX_SYNCHRONIZED_IO" "#error _POSIX_SYNCHRONIZED_IO is defined" "#endif" | gcc -fsyntax-only -x c -

and hence the rest of that paragraph isn't talking about this situation.
Really? We're calling people Covid-19 deniers now?

This doesn't seem to be in keeping with the spirit of discussion or rules on HN.
This doesn’t automatically scale down to zero though which to me is a key differentiator of true serverless.
I think there is something to be said here. The car is a superior technology to a horse, but in many ways a prefab house is an inferior product. It's a regression, built from a need for skilled tradesmen and a lack of this labor supply.

I think a better way around that need would be to bolster training of skilled people which would lead to increased labor supply to meet this demand, rather than trying to figure out how to wring the last dime out of everything.
Biggest Data Breaches
> Technically correct, but completely missing the point. OP is worse, because he can’t even acknowledge the value that Spotify brings to hundreds of millions of people. Implicit is the claim that they’re only using it because they don’t know any better. If they were as intelligent as OP they would use Winamp and share songs manually.

Clearly this was my intent, and I'm glad you appreciate the intelligence of my remarks.

The substance of my argument isn't to point out that WinAmp should have a 50 billion dollar market cap instead of Spotify. It's an observation that the trends in our industry are disappointing because they favor lock-in, simple interfaces for non-power users, monopoly, and consolidation.

You get "sharing" with a whole lot of bad.

A hypothetical "good" company could provide much more than what Spotify does and in the same breath not monopolize all the podcasters or prevent data export. But why do that when you can capture 90% of the market, hold them completely captive, and not do these things which take effort or risk your stranglehold?

I dislike the future we found ourselves in. There was a lot of promise, I suppose wholly imagined, that never panned out.

I'm angry because I imagine better. This shit sucks.
Load Third Party Dependencies Later Using Google Tag Manager
Disinformation isn’t the problem with Facebook.

Censorship and surveillance are. It extends even to “private”, 1-on-1 messages. You simply aren’t allowed to communicate freely or privately using it.