skysight-inc/HackerNews huggingface dataset:
That's mostly because Matz (the creator) made that one of Ruby's most important goals. A language made for people. How well the implementation of that goal resonates with you is very personal.

It worked wonders for me. I always felt that brackets were too messy. And I bet it didn't help that, at the time, I usually worked with other students that generally didn't uphold any style guide. So brackets weren't indented properly and not much time was spent in making the code readable.

So when I got my internship I was thrown into Ruby with a style guide to adhere to. Which definately made my introduction a lot smoother compared to what I was used to.

I still prefer the do-end notation for methods, though.
I'm frankly kind of sick of the constant denigration and apologies being written slavishly to foreigners on behalf of all Indians by Indians. As an Indian, I accept there's a lot of cultural problems and crap in the country but to the degree that people will prostrate before the Western elite reminds me of our colonial days. Like, literally everything in that paragraph could be written about literally any part of the world cause humans are just that shitty. In this particular case, the person making the video made it in Hindi so it very specifically created a spike from Indian users

I wish my fellow Indians would stop this constant self flagellation and appeasement and have some goddamn pride
Let every app haul its own libraries. Be surprised that they aren't patched and contain vulnerabilities.
Nope. Big-O is a mathematical measure, not a practical measure. Mathematically speaking we don't care if malicious input difficult to construct. We care that its possible - which it is - so the upper bound on time is at least O(n).

If you think this isn't useful in practice, you're right! If you want to compare the actual speed of an algorithm, benchmark it. And once you've done enough of that, your intuition will guide you far better than big-O notation ever could.
compiling from source, i guess
In essense there's two main issues raised:

1. Apps still use the filesystem=host/home instead of intended portals bypassing the sandbox.

2. Common runtimes have un patched security issues.

Re 1) This is a backwards compatibility option until app developers start explicitly coding for flatpak compatibility. Given the money involved (~0) I can understand why it's taking some time. As a user one can address this with flatseal[1].

RE 2) This is more a problem of the ecosystem rather than a problem of the people developing flatpak. And it's not like this problem is not often encountered in other ecosystems. This just shows that the ecosystem is still in early stages. Still it s something worth pointing out and hopefully people at freedesktop.org look into it.

[1]: https://flathub.org/apps/details/com.github.tchx84.Flatseal
https://jsben.ch/WCjjG

Well, seems like it does matter. Using an array is 50% slower than using an object and that's slower than using a Set in Chrome. Even worse in Safari. In Firefox array wins but you need to use a static array.

I don't know all the rules of JS. Semantically declaring an array in the function itself creates a new array on every invocation. Of course the JS engine should be able to figure out it doesn't need to create a new array every call but apparently Firefox's JS engine doesn't do that.

Note: I'm making the assumption we're talking about JavaScript since the code looked like JavaScript to me. I get that in another language the results might be vastly different.
"Explain it to me" is good. "But what about this sensationalist angle?" is not.
Brain Eating Amoeba in Texas City Kills 6 Year Old Boy
Hubble Watches Exploding Star Fade into Oblivion
Isn't that what flatpak portals were supposed to solve? I think then it's fair to say that an app that doesn't make full use of the advertised sandboxing features of flatpak shouldn't get an unqualified checkmark on that.
It might have been something you were thinking, but it's pretty much the opposite of what you said.
It could at least prevent access to dot files or places where dangerous things could be dropped (e.g. ${HOME}/bin).
Ha, thanks for that post.... :-) it makes me remember...
15 years ago I played with it a lot since I somehow enjoy emulators.

Just for those who are interested:

Bochs itself, written in C/C++, is by itself an absolute fantastic project. Its a x86/x64 PC emulator which, when you read the source code, blows your mind... a complex project, but very very well written.

Mozaa is a translation to Delphi (Version 7) of Bochs v1.4 (I think) right before Bochs introduced the x64 instruction set for emulation in Bochs v2.0. Hence Mozaa is only capable to execute 32-bit x86 code. It seems that the tranlation was done in an automatic fashion and then corrected where nessesary by hand. It has some translation errors, one in the protected code emulation (I think it was in the "call" instruction procedure - can't remember, long time ago).

If you want to compile Mozaa with Delphi, make sure that the compiler optimization are switched on (they are not when you download the project)

BTW: Thank you Peter for posting Pascal/Delphi topics form time to time to hn. Even though I have never replied (and most of those posts have zero comments) I really like this stuff. :-)
So like Docker.
The melting pot metaphor was replaced by a salad bowl, wasn't it? Assimilation (which is the melting pot) is now considered a crime against humanity and the whole "separate but equal" is the new hotness.
So many comments in this thread assume that people live in SF/NY purely for the money and access to jobs. I think people are missing the point that people actual like living in these places too and are willing to pay a premium it.

I live in New York and like living here. I understand the cost of living here is high, but I also know that there are few places that can offer the lifestyle New York can. Given the option to keep most of my salary and relocate to a lower cost of living city, I think I’d stay in New York.
I’ve stayed there for extended periods (months) and while I may not live like a poorer or even average income Japanese, I can say day to day life quality is pretty ahead in Tokyo/Osaka/ surrounding areas at least (but then most people live in and around Tokyo or big cities).
> not follow it.

How? Any idea?
Packages from your linux distribution. Install using their standard package manager.
yes i do cause i've worked in both the government and private sectors. all government jobs required a background check and some even security clearance. quite a few private did also, but most of them don't cause they don't want to spend the money on them or down right don't care about your past cause they have a past themselves. i will say that just because you have a criminal record doesn't mean that you are automatically disqualified. you just have to be upfront and tell before they do the background check. the whole thing is that everyone hates wasting their time. if you tell them up front that you have a history most will thank you and tell you not to worry about it. that is why i'm saying that you have to courage to knock on the door. lots of people see that the job requires a background check and immediately move on disqualifying themselves.
Social media is 99% noise anyway, it's not really the place for considered debate. Given that these platforms are globally connected and not local, it's not surprising that emotional international issues dominate over local issues.
Checking WildFly, a JavaEE Application Server
I agree that this kind of capability is essential for usable sandboxing on desktop systems.

Though the trusted filepicker is tricky to do when one logical document consists of multiple files. For example separate subtitle files next to a video file are common.
Measuring regular changes in lighting (the day/night cycle) is actual time. (So would be heartbeats, although heartrates vary so much that measuring them would be very inaccurate on a daily scale.)

All definitions and measurements of time rely on counting events that are believed to happen at regular intervals. A second was defined for most of history as 1/246060 of a solar day, in other words, measuring changes in lighting.
So what? Then the BSDs would have been used instead. Or something else.
> seeding your hash with your hashtable pointer

This is not how worst-case complexity analysis works. Worst-case means worst-case, ie. the input is selected by an adversary with complete knowledge of your algorithm and initial memory; and there is no source of randomness other than the input itself.

And, yes, that's usually not applicable in practice. But worst-case complexity is a theoretical concept defined only on abstract machines (implicitly a Von Neumann-like machine here).

Instead, to do useful analysis on hash tables, you should use probability complexity analysis, which allows your algorithm access to a source of randomness the adversary doesn't have access to.
Pyston: a JIT-based Python implementation by Dropbox (2014)
Basically, whenever i read the word "atomics", in my head it's Patrick Stewart shouting it: https://getyarn.io/yarn-clip/8b3057a8-84ea-44b3-97fe-9e393a3...
Google Pledges $1B in Licensing Payments to News Publishers
What about packages that isn't provided by your distribution. Or packaged software in your distribution is too old, and you have a reason to use a new version.
There seems to be some discussion here.
https://archive.vn/KtOfk
That’s weird, my OG Pixel says it has received its last security update on October 6, 2019, and has no updates available
This is pedantic, you are purposely using an unreasonable interpretation of "it's actually O(n)".

Any function taking just a char would be O(1) since it only has 256 values n can take, discussing their complexity would be meaningless making it obvious that someone talking about the complexity of includes() is talking about the size of the array.

The goal of computer science is to get insight about the performance of programs, not being pedantic and reduce the problem to the absurd that have an obvious answer, in this context the meaning of O(n) is perfectly clear.
Elaborate please, why is receiving messages in an ordered fashion a foot gun and a trap? Isn’t it totally acceptable to rely on this type of behavior if your use case demands it?
According to Oxford Dictionary:

"guys [plural] (informal)
a group of people of either sex
e.g 'Come on, you guys, let's get going!'"

-- https://www.oxfordlearnersdictionaries.com/definition/americ...

This is also my (local) experience of the word usage: that it's used for groups of any sex.
That's the thing. Not every package is available on every distribution.

Snap/Flatpak were meant to solve that issue.

Edit: There's also the fact that practically most packages on Ubuntu or Debian, for example, are outdated.
What about webassembly?
"I don't sing my mother's tongue"
Yeah - I mean certainly home folder with restrictions would be good. Things link dotfiles in home and ~/.ssh should certainly not be accessible or editable by a sandboxed application without knowledge.

I think the Downloads, Documents and Movies folders people tend to have etc. those major sub-folders would be enough for normal use.

Also, perhaps file type limits could be imposed that mean at that files are only accessible to apps that can open them. Of course, I'd want my text editor to be able to open files across root file system, if I open it as root - so I can see how quickly a person can want sandboxing, and then also want none - but the less apps with privileged access, the better.

Also I think some people had hopes it would be closer to IOS level sandboxing, which is heavily restricted on file access, and frankly can be annoying because of it, but does have the security benefit at least.

Also, the security update gripe is significant. The isolation of packages only matters if it works. Like at least if I run stuff myself inside container, I can choose to update the underlying OS and force certain packages etc. at the same time as sandboxing, and mount only certain folders if I actually need them.

I think it's hard to make it both simple for users and powerful enough provide the levels of granular access I'd expect for context specific sandboxing. I would want a principle of least required privilege, with some ability to escalate it (like Android asks me all the time if I want to allow software to do stuff at point of the privilege being required).

I had high hopes for Flatpack, Elementary OS went all in on it for a better way to deliver their curated apps. https://blog.elementary.io/elementary-appcenter-flatpak/

I guess though, they curate and approve the apps, so perhaps they are able to make certain assurances that are not universal to Flatpak availability.
I hope that he doesn't die purely so he can be tried when he hopefully loses the election. Even if he gets pardoned somehow he'll probably be at war with NY for the rest of his waking hours.
appimage
It's partly related to economics: 2 generations of extremely rapid growth followed by a generation of stagnation. It's partly demographic. An aging population. It's partly cultural phenomenons that seem pathological, particularly among youth. These seem to be connected to the earlier two.
> Apps still use the filesystem=host/home instead of intended portals bypassing the sandbox.

The main issue seems to be the fact that flatpak still claims these apps to be "sandboxed", which is simply a lie. Properly communicating this situation to the user is all the article really asks for (and this seems very reasonable)
I've never seen Landau's notation with two variables, I don't think it exists. At best you could say it is O(n)*O(1) which is formally equivalent to O(n).
>...and California home insurance stupidly low (50$/month for 1+ million house).

This is the first I've heard of stupidly cheap home insurance. I'm sitting here in Iowa paying about 8x by value. Why is it so cheap? I don't present earthquake or wildfire risk, and almost nobody has pools...which are all decent risk factors.
We do go the other extreme and take credit for what Indians do and "Ancient Indians" did.
> Japan in general is about 10 years behind the western world and in some places even more

Sounds good to me

Edit: because the West is such a utopia in 2020? Please...
The obvious method would be to have more children.
Honestly I think this is entirely counter-productive for anyone that's not mega-rich.

If you're Warren Buffet, of course you'll have a thousand offers and propositions a day and you have to say no to most of them and find that one gem.

If you're regular Joe (and, yes, that most likely includes YOU reading this) you can't afford to shut down most opportunities or you'll never get anywhere.
I thought the real take away was that we (humans) have an inherently bad understanding of the true nature of randomness.
He suggests that a 'Black Swan' is still a 'Black Swan' (completely new, and totally unpredictable), but there are also classes of events that we 'think' we can ascribe a probability to them, and others where we actually can.

The problem is in conflating the two.

His investment strategy, as I understand it, is to capitalize on that confusion. Which is exceptionally hard work, in spite of a summary of Taleb's idea.
this user wrote this comment twice. Perhaps a bot?
Trump is particularly unfit and old so I am not confident that he'll come out unscathed
The space operating systems booting up where no one has gone before
Malthus’ argument fits your later points, but not why a sub-population is experiencing unemployment. Unlike food, jobs don’t grow on trees.
Spreading the PPAs culture, hoping that usage, and consequently tooling, will improve.

What at least some people don't understand, is that PPAs make the source available, so one is not downloading a black box.

Plus, they also add reproducibility, which is not to underestimate.
It's like saying we don't need vaccines any more because no one is getting sick.
>I've traveled a fair bit, and every part of Japan that I've been to feels like I've timed-traveled 20 years into a better future

That's strange. To me traveling Japan feels like entering an alternative history where the 80s never ended.
"Cultural appropriation doesnt seem to be a problem anywhere else but the USA."

This is usually referred to as cultural exchange or sharing of culture.

The fact that cultures shouldn't be shared is indeed a new phenomenon, one that I personally don't agree with.
Aaand it's flagged. How dull
> That's the thing. Not every package is available on every distribution.
> Snap/Flatpak were meant to solve that issue.

https://xkcd.com/927/
Also how long has the proportion of junior doctors been 6%? If the ratio 15-20 years ago was closer to 3-4%, and medicine is a slow field to progress through, then there's your answer.
Read only is already giving the keys to the kingdom if internet connections are not limited. Any sandboxing that doesn't protect against exfiltrating private documents is not sandboxing at all.

It's fine if it's a trade off between usability and security but then they shouldn't call it sandboxing or make it very clear that that's the trade off.
Have you head of the Plant Kingdom?

They just stand around doing nothing the whole day.
> Japan in general is about 10 years behind the western world

In which areas is Japan behind? What are some of your observations?
> Almost all popular apps on Flathub still come with filesystem=host or filesystem=home permissions, in other words, write access to the user home directory

I agree it's absurd to have a sandbox system that doesn't protect the home directory [1]

Browsers and smartphones have an advantage here, because every app uses their file-open and file-save dialogs. If the user wants to open /home/user/pictures/whatever.jpg the sandboxed code gets access to that file and that file only, with the user's explicit consent. And if the app's file formats and suchlike don't match that way of working, tough luck because there's no alternative.

Whereas on Linux, where there are already 6+ other ways of packaging and distributing your app, a new entrant doesn't have the power to dictate terms or force developers to change their programs. And distributing a version of Gimp that couldn't open files in the user's home directory would be absurd.

[1] https://xkcd.com/1200/
SEEKING WORK | EU, Remote

Hi there, I‘m Evgeny! I‘m an experienced JavaScript developer focusing on fast-growing startups.

Technologies: AWS, JavaScript/TypeScript, NodeJS, React, NextJS, Redux, etc.

Upwork: https://www.upwork.com/fl/esamsonov

LinkedIn: https://www.linkedin.com/in/ycagwyw

Personal: https://esamsonov.com

Email: iam@esamsonov.com
This is a jaw-droppingly horrific system you're imagining. Amongst other things you've effectively insulted rich criminals from any repercussions, and basically given them a slave underclass (please, no snarky comments about current justice system). Do you genuinely think this a good idea?
So, that's an optimization problem around cost of benefits versus amount of revenue, right? The company can view it from the aggregate perspective; they might lose money on some low-hour employees, but still capture the revenue, enhance their market share and convenience, and make it up on revenue versus cost aggregated over all employees.
I think this is also true for a lot of ebook meta files. Some have separate thumbs and things.

Certainly one could select all the files and drop them in. But that's asking a lot of the opening program, and isn't usually how they're set up.
I have a very, very different definition of success than Warren Buffett does.

I say yes to as much as I can, and my life has been extremely fun and interesting as a result. If I could do it again, I'd say yes more and I'd say yes faster.
That's part of it but I think it's more complicated than that. For instance I have heard b2b sales described as a diagnostic process. If you know exactly what you can deliver and it matches exactly what the customer needs you encourage them to say yes. It will likely go very well and then the relationship will grow over time. Otherwise you thank them for the opportunity and move on.

The same arguably applies to all business deals and doesn't have much to do with your current level of success. If you pursue the right opportunities you will do well. I know people who have struggled for years because they consistently went after the wrong opportunities. The difficult part of course is being able to tell the difference!
But compiling isn't so simple. For example, if it require a dependency that is not in your distribution then it won't be easy to compile.
Distro packages get full access to your system (install scripts get root) so if your issue is trusting the software vendor they are strictly worse.
It's important but 'most important of our time'?
Or, make people aware they are passing files between different sandboxes.

..à la Qubes..
https://www.qubes-os.org/doc/copying-files/
In my opinion, the sharing of state in the manner you described leads to implicit coupling between components, which can be hard to hold in your head as the application grows.
I'm still trying to find a good app for Android tablets that has a decent tablet UI and supports one of the major syncing services. On my iPad Pro, I was previously using Feedly + NetNewsWire, which was fantastic.
You should contact your administrator if you are still paying per-line for your .bashrc
What is needed is removing the source of the problem in the first place.

You are in a foreign country, with no friends, no family, working over time, in some places extremely little money.

If you are burnout the first thing that you need to do is to stop. Make friends and lovers, travel and work outside for a year or so.

To use medication or drugs is not going to solve your problems,if you continue living such an unnatural lifestyle.

And I said that having lived that lifestyle myself, but I took my breaks from the toxic system.
For europeans, working in the tech industry increases people's exposure to Americans and American points of view significantly. So I think it's likely true in general that as the author represents, this is is mostly people making the change in their own country, people on this forum are going to have disproportionately more experience with it coming from the US because of their greater dealings with the US. Hence most of the discussion here being about US-imposed incidents.
If no one gets sick then you don't need vaccines.
Sure, but those types of PRs aren't what's happening here.

Check out this PR: https://github.com/OscarZhou/CSharpTraining/pull/1/commits/8...

How would you like to receive dozens of PRs like that? You would absolutely consider that blatant spam.
One more time. DNA replication relies only on particular structures and enzimes to transform these. There is no notion of time whatsoever. Only availability of structural elements, and concentration. Everything is decoupled and feedback loops based.

And sequences of actions are maintained by pipelining of physical molecular structures - each enzime recognizes it's own unique patterns. That is it.

In old times this was called principle-guided science.

Understanding of principles spares one from knowing all the details.
Ask HN: GitHub project SEO
I’ve been working on a GitHub project (https://github.com/mcpcpc/kirc) for the past ~1 month, posted to HN about 2 weeks ago and received some incredible feedback (thank you!), and now i am focused on search engine optimization (SEO) to make my project easier to find.

My question is, what steps should GitHub developers take to establish higher search engine ranking?
+1... need outgoing connections whitelisting, blocking all by default.
When was the last time you used a fax machine? We maintain one specifically for communicating with Japanese companies.
Yeah, because cultural appropriation is not a thing. It doesn't make any sense.