skysight-inc/HackerNews huggingface dataset:
I agree with you that hooks are a menace and seem to have been introduced for the same reason - to make new developers think less. I think that backfired spectacularly, but that does not mean you should not learn it and also know why this is an anti-pattern. Unfortunately junior devs are very happy to jump on the hooks and then when you come in to fix the mess, it's just a poor show.
Turning humans into emotionless robot workers via brain implants.

If it is always-on, it’s like slavery.

If you can turn it on/off, it’s like schizophrenia.

This whole thing brings up so many practical phylosophical and ethical questions.
Merkel prefers that governments are not bound by first amendment protections. I would not take her political opinion as applicable to America.
It’s a polite way of saying something. So I’ll give you an example, I know I can’t really date certain people that post prolifically on Instagram (you can extrapolate a little more from what I just said). This is not a hypothetical, I’m genuinely very insecure about whomever I’m with doing it.

Anyways, what’s a polite way to say that to a new person that you just got involved with? You just avoid it to begin with, nothing personal.

Someone in leadership also has needs. They need a team that respects and looks up to them. If they hire someone that clearly has a better resume, this is just not going to work. They can’t tell the recruiter ‘no, I can’t interview this person’ because usually the resume is good enough for a phone screen, so they go through the process.

But the answer is always simple.
What if Amazon finds out they aren’t moderating users’ messages and Signal gets used in some future attack.

It’s not a far leap for Amazon to “take a strong stance against serious threats to our democracy” by kicking off signal.
I use Java since first beta. These getters and setters are always looking awkward for me, unless they are part of a library API, so they are useful for providing backward compatibility, or they are lazy objects, or they are defined in an interface. In my own code, I avoid using them in POJO.

For example, I prefer

public class LineOptions {
public Color color = Color.BLACK;
public int thickness = 1;
...
}

void drawLine(int sx, int sy, int tx, int ty, LineOptions options) { ... }

ctx.drawLine(0,0, 100, 100, new LineOptions() {{ color=Color.RED; thickness=3; }});

IMHO, it is much simpler and easier than classic POJO + Builder patterns.

public class LineOptions {
private Color color = Color.BLACK;
private int thickness = 1;
...
public LineOptions() { }
public LineOptions(Color color, int thickness, ...) {
this.color = color;
this.thickness = thickness;
...
}
public Color getColor() { return this.color; }
public LineOptions setColor(Color color) { this.color = color; return this; }
public Color getThickness() { return this.thickness; }
public LineOptions setThickness(int thickness) { this.thickness = thickness; return this; }
...
}

ctx.drawLine(0,0, 100, 100, new LineOptions().setColor(Color.RED).setThickness(3));

or even more classic

LineOptions opts = new LineOptions();
opts.setColor(Color.RED);
opts.setThickness(3);
ctx.drawLine(0,0, 100, 100, opts);
> But then why not just introduce a rule: Django ‘apps’ can only talk to each other via pure Python dicts like an interface? (rather than sharing models)?

1. One person or group needs to decide on what the rule should be, what the boundaries are and how to enforce those boundaries. This is usually not an easy process, ymmv.

2. After a decision is made, you'll have to decide on how to put the rule in place. Are you going to stop everything and make sure all code paths are working according to the new rule? Are you going to do it incrementally? New features = new rule, old features = common sense? Another variation?

3. You then start running your new rule and maybe you enforce it with some custom static checks, and when that fails you hope your code reviewers will always catch this every time.

4. You still need that one person or group to make sure this actually gets done and to assess if it actually has a positive impact on velocity and reliability.

Or you can put in an implicit "rule" that new code happens in a separate repository, where you don't need to care. A developer that has to do an API call because they simply cannot "import" another module or "query" someone else's data has no choice but to do the right thing - though many opportunities to do a lot of other wrong things too, this is not a panacea. But when we're talking about more than ~5-6 teams, the coordination effort of making sure everyone is aligned on a monolith can be much tougher than to go to multiple services (hopefully not micro).
Since this game is long-since "out of print", what are the chances of MS releasing the source? Are there any groups/orgs doing that sort of advocacy and outreach?
If you already know any JVM or .NET language, the first step would be to understand the full stack, you don't need C for that.

Many of us were doing systems programming with other languages before C went mainstream.

What you need to learn is computer architecture.

Getting back to JVM or .NET, you can get hold of JIT Watch, VS debug mode or play online in SharpLab.

Get to understand how some code gets translated into MSIL/JVM, and how those bytecodes end up being converted into machine code.

https://github.com/AdoptOpenJDK/jitwatch/wiki/Screenshots

https://sharplab.io/

Languages like F# and C# allow you to leave the high level comfort and also do most of the stuff you would be doing in C.

Or just pick D, which provides the same comfort and goes even further in low level capabilities.

Use them to write a toy compiler, userspace driver, talking to GPIO pins in a PI, manipulating B-Tree data stuctures directly from inodes, a TCP/IP userspace driver.

Not advocating not to learn Zig, do it still, the more languages one learns the better.

Only advocating what might be an easier transition path into learning about systems programming concepts.
Why haven't I seen this before?

Why am I on Hacker News at 1 in the morning on a Friday (Saturday?)
> I'm not anthropomorphizing frogs. I'm saying frogs have an instinct to survive, like any living creature.

Ah, here's the problem. They don't have an instinct to survive as such. They have a variety of evolved instinctual behaviors that have a net effect of increasing survival rate, but there's no evidence that any of these instincts involve an awareness of mortal danger an in intermediate mechanism. That is, it's not a direct instinctual response to a realization of mortal danger, like you'd get in humans and perhaps some other larger-brained species.

Particularly for smaller brained animals, to say that there's one instinct to survive ("an instinct to survive") is a sloppy over-generalization from a bunch of specific corner-case instincts.

Particularly for more simple-brained creatures like frogs, you can't reason about behaviors as if they've evolved a sense of mortal danger and then deductively reason their response to mortal danger. They have a bunch of evolved survival-enhancing responses to specific stimuli, but it's an over-generalization to say they have a generalized instinct to survive.

Take domestic sheep, for example. Given the chance, they'll often get them stuck on thin cliff edges while looking for grass, and then need to be rescued by humans or else fall to their deaths. You can't just say that sheep have evolved a generalized survival instinct and cliffs are a mortal danger and then use deductive reasoning to conclude that sheep avoid cliffs.

This sort of misuse of deductive reasoning held human civilization back for millennia, until the enlightenment brought much more widespread use of inductive scientific methods. Deductive and inductive reasoning both have their places, but I find it's human instinct to over-use deductive reasoning. (That is, there's a tendency to take overly general high-level axioms and assume they say things about all specific cases.)
> I imagine “absolutely must” is up to interpretation.

There is no way for app developers to "force" additional privileges.

They still can't exit(0), but for instance a GPS tracking app (navigation, running, whatever) that isn't allowed access to the GPS can't very well function without GPS access, so in that case your app is allowed to fail.

They cannot be excempted from asking for, and abiding by the users decision, but they can be excempted for not working "as advertised" should the user not provide the needed capabilities.
Udemy courses for beginner developers – 2021 Edition
And how is ubnt supposed to do that, on your own domain, as you've done? I suspect you don't really know how any of this works.
Go instead decided to go with a minimal runtime with a one-two order worse GC than any you can find in the JVM, which will result in inferior throughput in actual world benchmarks.

While generating less garbage decreases the load on the GC so it can sometimes get away with it, complex server apps will not fall into this category. So actually, I really don’t see much value in go, other than the “you can throw as many developer at it, because they can’t really step on each other’s foot” which is actually great for what it was created for.
Just a question:

Do the organizers know about the security vulnerability?

Where do they get the vulnerabilities from?
KVM and QEMU maintainer here.

> most stock QEMU-KVM deployments simply run qemu as root with no extra sandboxing or MAC like SELinux/sVirt.

This is not true. OpenStack uses Libvirt for example, so on Red Hat/CentOS systems it will be hardened with SELinux by default. The same is true for virt-manager, which runs as either an unprivileged "qemu" user or as the user that invokes it.

Not all the code in QEMU is of identical quality, but the subset that is used by cloud providers is very mature and is also tested in Google's open source fuzzing cluster. Thanks to a student from Boston University who came up with some pretty cool techniques, we can cover devices effectively without having to teach the fuzzer about each device's registers.

> many cloud providers use KVM-the-kernel-module, but an in-house replacement for QEMU.

Two of them--certainly they are the big ones, Amazon and Google, but pretty much everybody else is using QEMU. For what it's worth, Amazon is also using QEMU on their old Xen-based instance types.

Firecracker is the only open source virtual machine monitor that cloud providers use in production apart from QEMU, as far as I know. It's a very interesting project and the people behind it have also started rust-vmm, a library of Rust crates for virtual machine monitors and device emulation backends. Several QEMU developers also contribute to rust-vmm, focusing especially on the abstractions needed to avoid unsafe code in virtual machine monitors. There was already an instance last year of problematic unsafe code in Firecracker that wouldn't have been there had it used rust-vmm's vm-memory crate, and in fact Firecracker has since switched to vm-memory. So there is plenty of collaboration between the authors of various VMMs.
Why? forum shopping is nothing new. The EU has a similar problem with Germany's Dusseldorf court, also popular among patent trolls . That's for instance where Apple sued Samsung to gain a quick preliminary injunction years ago with a doctored image of Samsung tablet[1] -- and Apple did get one -- though all of Apple's claims were overturned later, in large part due to Germany's higher legal standard for infringement.

Now, do you believe that universities or medical research institutions that do not produce or manufacture a product themselves shouldn't be able to patent their invention only because they are not in the business of producing themselves?

A patent is usually for very specific methods or utility that usually doesn't cover a product in entirety (trade dress is a different matter and deals mostly with overall impression). According to an old estimate from RPX, there are over 250+K active patents in modern mobile devices -- you aren't saying that thousands of other inventors not employed by Apple, Samsung or other modern portable device makers, should have no say in patent business?

In case of VirnetX, the key executives at the company are also the inventors of the infringed patents -- Robert Dunham Short, Victor Larson. They were granted while they were working for SIAC and later bought by and re-assigned to VirnetX.

[1] "Why Apple Went To Dusseldorf," https://www.forbes.com/sites/parmyolson/2011/08/24/why-apple...
China did.

It's called WeChat.

Definitely very state-controlled, yes.
Isn't that pretty much what Caltech, IIT, the University of Tokyo or Cambridge or Oxford are?

No legacy admissions. No quotas. Large populations trying to get in through entrance exams and school performance?

(Lots of rich kids wind up at those places, but they have worked for it)
Used vue for a few years then new place was svelte, I like it it but not because of the simplicity (or more because the simplicity that comes from it's killer feature), I like it because it's compiled.

So a lot of the abstractions that make life pleasant simply go away.

The in-browser dev tools (svelte tools) lag far behind vue dev tools but it's newer.
Herbal Grown CBD Oil Need to Know Before Buying
Herbal Grown CBD Oil is the name of the improvement that is bound to take your life straightforwardly into his hands. CBD will doubtlessly uphold your quick answer for the misery similarly as body pressure additionally passes on the most awesome aspect dynamic fixing that shows a couple of inclinations. On the critical note, if you have an interest in reducing apprehension and engaging with despair, the upgrade will believe it or not work inside the body and moreover decrease ear burdens this doesn't include an inclination forming meds in it. It simply fuses the enchanting make-up and a CBD hemp plant exemplifications with the Co2 ejection technique, so it doesn't give any man-made trimmings regardless. If you really need to accomplish their wellbeing and wellbeing according to your craving that this is an appropriate condition to go into for the treatment. Continue to scrutinize impressively more.Click Here https://ipsnews.net/business/2021/01/15/herbal-grown-cbd-oil...

https://sites.google.com/view/herbal-grown-cbd-oil-cost/

https://medium.com/@samueelby/herbal-grown-cbd-oil-review-wh...

https://latest2021.wordpress.com/2021/01/14/divatrim-keto/
I've been an enthusiastic follower of MOOCs since 2013 and it's amazing to me that there still isn't a better option than OCW for a serious, long-term learner.

Coursera and edX each had some great courses at their peak but the vast majority were lower-level, they came from a wide variety of institutions and most were time-restricted. As a result, even for subjects like mathematics or computer science there just wasn't a path for an ambitious learner to piece together the full material from a bachelor's degree. These days, even automated graders are behind the paywall and the promise of an education for all is more distant than ever.

OCW is truly an invaluable resource worth supporting and sharing!
It's also a non-sequitur as we know the virus already left China in November.
Apple announces a small iPhone SE 2 in 2020
Agreed. It becomes really messy moving all that state around.

Still in its infancy but we’ve settled on a model where we use Hasura to sync the whole datastore to the frontend as a mobx graph. It’s relatively easy to then drive the frontend off layers of computations on that graph. We’ve also put a transaction layer on mutations of the models so they’re automatically batched and sent as a single request / dB transactions.

It’s liberating to get to a place where I can just update models in the frontend and have that reflected everywhere because, as you point out, there’s enough to coordinate in all the bits you have to mutate.

Edit: we borrowed the idea from how linear.app does it
Has anyone had much success with nano? I wanted to use it on an ESP project but it never got off of the ground.
I remember receiving this avalanche of out of office replies any time you published something there that made it through moderation,

It was really popular back in the days
50 years of C and a few less of Objective-C and C++, have proven that C.A.Hoare was right regarding language defaults in computer security, in the approach taken by ALGOL based systems programming languages, starting with ESPOL/NEWP.

If I want unsafe languages, C and C++ already fulfil the purpose with 50 years of ecosystem.

Being safer than UNIX for certain kinds of customers, is one of the selling points of Unysis ClearPath MCP, thanks to NEWP.
This got worse with the introduction of GitHub. Obnoxious users were always a problem, but before centralized OSS warehouses at least they had to go to the project's web site and mailing list.

Where they'd be told to get lost if they misbehaved.

With GitHub, the branding of products is lost and most credit goes to GitHub. If a user isn't satisfied, he does the proverbial left-swipe and goes to the next project in a second.

If you tell a user to get lost, you violate the tenets of the new corporate sponsored cultural revolution: Newcomers are always right.

The last 10 years have been a coordinated attack on OSS to make developers obedient and silent cogs. It works, because at present they are showered with money in return.

Will it continue to work in 5 or 10 years?
This is going to be ''the next big thing'', I'd like to predict.

But one request, please: make 'break' implicit at the end of each case in switch statements, introduce fallthrough (fallthru?) as a keyword instead.

(How many times did you need to NOT use break in switch-case?)
Can confirm, though I need to qualify that most of my experience is in the software related programs.

In each and every framework so far, the EU is touting 'reduced administrative overhead', 'simplification of participation' and 'focus on SME's', but has in practice done exactly the opposite.

Especially since Horizon 2020, there has been a 'coup' by the large enterprise and large academic research groups. You can see the same trends in national programs as well.
Thank you, i didn't quite grasp that difference.
I'll guess that Zuckerberg's definition of "private" is not at all the same as yours or mine. Personally I'd define "private messaging" to mean a way of talking with other people (via tech, obvs) such that nobody else knows anything about it - neither content nor metadata/network. But there's another possible definition, much looser, along the lines of "Having a conversation with somebody else" with no significant restrictions on eavesdropping or metadata collection - something closer to having a "private" conversation in an airport lounge: it's not intended to be heard by anyone other than the participants, but who knows who's listening in.
The usual warning against 'good idea' as most important ingredient, is apt here.

In fact, I read the story as a shout out to perseverence. More than 'an idea'. (Belief in) A good idea can help you persevere, sure. But execution is king. And for that, you need hard work, ability to push through, and perseverance.
It has been tested by the syzkaller fuzzing tool for years, and Google has done extensive search for vulnerabilities in the code (they did find some!).
Show HN: Ultron – web based text editor with syntax highlighting written in rust
VisiData: Data Science Without the Drudgery
Every language is fundamentally broken from day 1, whether it is a known tradeoff or something that remains hidden for several years.
Also, even if you had the perfect language with a presumably not-mainstream feature, you would have to make that feature somewhat known in the developer ecosystem (just look at Rust’s borrow checker, it does cause issues for newcomers as opposed to features already having an analog in other languages). While FP ideas were known before Java (ML predates it by quite a few years), it has become only recently more acceptable, so it makes sense to only know incorporate it into the language (and yet again, do note that FP is not a silver bullet so java has to let developers write imperative constructs just as well as before)
> However with our choice of 2^16 blanks between each item, we can support no more than sixteen consecutive insertions between the first and next item. After reaching this limit we would have revert to the previous approach of shifting items forward.

I do not see why this is necessary, you could also reindex the positions because only the relative order of integers matters. How hard can it be to recreate a bunch of integers once every 16 insertions in the same place in the list?
No, it really doesn't.

Every single other virus ever has had a zoonotic origin. SARS-CoV-2 has a 96.3% homologue.

The default, as with literally every other of thousands of viruses, is that like all the others it is the product of zoonosis.

For most viruses too, the exact intermediate animal hosts aren't precisely known.

It's really akin to find a new species of bird and trying asking for evidence that it specifically came from evolution and not genetic engineering. Sure, it's possible that it didn't, but every single other species of bird came from it and it's fully expected to happen.

And by the way, the exact intermediate host for the original SARS was also never determined conclusively until fifteen years after the first outbreak.
Yes you can: <script>. It still works, you know.
I have been using Mithril.js for a while and never ran into problems, but admittedly I only used it for small, personal project.

What I liked about Mithril was its simplicity: a clean API with a handful of methods but batteries-included at the same time, and very easy to learn, too!

Eventually I decided to write my own micro framework which borrows heavily from Mithril in terms of api design and approach (https://h3.js.org) -- basically, like Mithril, it comes with its own Virtual DOM implementation, hyperscript syntax (imho the best way to write a view, once you get used to it), a minimal router but also more obvious ways to manage local and global state.

Yeah, I am not even thinking about competing with React or other frameworks, as long as it works for me. I have learnt more building a micro framework from scratch about how single page application work than from using React or Angular and constantly checking stack overflow and other docs to make sure I was doing stuff "in the right way".

I would however be curious at what are the limits of such frameworks. Real-time dom updates... depends how complex I guess, and how fast. It would be nice to have a way to benchmark this properly...
For CSV/TSV files SeekTable can do various reporting (including pivots) really quickly, naturally just in a few clicks.
USA Jobs – The Entryways of Chance
Server side's actually okay, I think the android app has a number of bugs. For example I tried to set a folder with several thousand pieces of media and a few other files to auto upload and it'd keep triggering "nextcloud is not responding" pop-ups on my phone. It's ~6 gigs but didn't complete for two painful days. It was almost impossible to open the app cos it's intensely trying to sync that folder.

I thought I managed to cancel it yesterday and remove the folder from auto uploads but today it's trying to upload the contents of that folder again even though I can't find it in my auto upload setup.

I've also felt it misses instant uploads once in a while but never investigated to prove that or the circumstances so take that with a grain of salt
Elite: Dangerous?
Federal court justice being sued for decision to send man to jail
I wouldn’t call express a framework though. It’s just a web server with some middleware ecosystem.
But if you don't control the client, you will now have to deal with client side migration and server database version management. If you create an additional v3, you will need to decide to either keep v1->v2->v3 code or v1->v2, v1->v3. Also, reporting.