skysight-inc/HackerNews huggingface dataset:
> The key thing to realize is a single object with a lot of attributes is itself not Object Oriented. Instead, it’s a 1970s style Structured Program in disguise. The attributes of the object are the global variables of the program, and the object’s methods are the program’s functions. Every function can freely access every global variable which is what causes many of the problems.

Yes!
Ask HN: Suggest Me a Language for This
- runs on linux
- have green threads or fibers or...
- talk to http, json, xml, redis
- low memory & fast

I'm thinking crystal. Any other ideas?
> What’s the last innovation they dropped on the world?

Rust, Wasm (although a joint project, inspired by asm.js which was purely Mozilla) come to mind.

Also, I consider keeping the focus on privacy in an age when huge behemoths of companies are determined to steal every aspect of our lives for profit to be truly important work, much more important than any tech innovation.
NLP is rapidly improving, a time may come when someone else can create good search just because nlp tech has gotten so good
India announces plan to connect 600k villages with optical fiber in 1000 days
Hi Don — google “constructive separation” for the general idea, with which you seem to be unfamiliar.

I can’t comment on anything about my exit. This will be my only comment, confined to general facts and CA law.

P.S.: CA 1101 labor law is real.
Fascinating. If the main mainframe use case is more database ops for banking or airline scheduling that doesn’t seem very compute heavy in my head so throwing hardware at the problem makes sense especially if you can save millions to invest in development and modernization.
Seeing Google from the inside, I have way more trust in it than the general public. But I do use Firefox as my personal browser because I like what they're doing with the tech stack. Having everyone just slap their logo on Chromium sounds like a way towards eventual stagnation.
All loads and stores are atomic. I'm also pretty sure ARM has coherent caches. What ARM does allow is for CPUs to optimize the order it loads and stores from cache as opposed to x86 TSO guarantee. DMB barrier instruction on ARM allows you to control how L/S may be reordered. Both x86 and ARM have special types of memory regions such as uncachable memory, but that's not something you are going to see outside of kernel space.
Mozilla did give us Rust and rr [1], both of which were genuine advances.

[1] https://rr-project.org/
Backdating options was a scandal in SV about a decade ago at all the big firms.
I'm venturing off into speculation here, but I don't think there's anything so organized or homogeneous about college admissions. Probably there are thousands of judges across various universities, each with their own biases, each trying to pick a hundreds of candidates among tens of thousands of applicants.

"US unis" don't seem like a homogenous block to me. But then, I went to a state school and received a fantastic CSc education that I would not trade for ivy league at any price. I've also interviewed/hired countless people and never even noticed what school they came from. I guess the policies of Yale don't bother me that much either way.
>Also, why don't you set an example and express yourself politely too

Because i can:

https://www.youtube.com/watch?v=caOq2rDe_C0

EDIT: Oh yeah a attack on a culture...what culture? The Fuck you NVIDIA but we send you firmware because otherwise nothing will work? That Culture?
> “[...] Drop whatever you are doing because it’s not important. What is important is OUR time”

> Most NPM packages

NPM packages tend to be free and open source so morally they don’t owe us anything. So yes what is important is the time of the authors of the packages. I am grateful someone took the trouble to release them and many popular ones are actually well maintained.

But cloud services that you are paying for are a totally different ball game. The company does need to maintain backwards compatibility for a good amount time and they need to value your time.
Not to get in the way of a good time but - your conversation with opposing viewpoints perfectly illustrates the conflict I'm trying to describe in the article.

Rust will catch mistakes you would've let through, but it'll only agree to verify a subset of all valid programs.
> And, if they do this, how are they generally speaking so successful?

They have almost complete monopoly on online search, web ads, online video, on phone OS, on browsers. And they are not afraid to abuse those to get more, and are getting away with this.

You don't need to do anything right when you rent-seek most of the online world.
Does anyone think the market is fair?

The market will stay irrational longer than you stay solvent.
Between auto-updates and the numbers changing very often, I'm not even slightly aware of the current version numbers for Chrome or Firefox.
Quantized Gravitational Conflations
> the constant deprecation of power features and customizability

They made ONE switch to a superior and standard extension model, and HN loses its minds. Do you really think you're in the majority here? Making it a more secure, faster and just better browser is just the only way forward. Without that Firefox would just be slow as hell, wouldn't play YouTube or Netflix videos, and not have any extensions left because no one wants to create an extension from scratch just for Firefox.

They tried their best and I hope it's been enough, even though the future looks bleak.
>No reason to involve the state in this private matter.

You won't be singing the same tune when they take away the tax breaks, your right to visit your partner in hospital, your right to live in the same country as your partner should you be of different nationalities, etc. etc.

I'm so sick of straight people who essentially say "well if gay people can get married then I guess marriage shouldn't be a real thing any more". In 100% of cases these people turn out not to have even minimally thought through the implications of this. But maybe suddenly stripping straight people of their right to get married would be the only effective way to stop the endless stream of heartless and hurtful comments on threads like this.
Yes, but there might be other downsides... Suddenly every developer turns into 'maintenance man' just refactoring existing code to make it neater without adding much.
> constant deprecation of power features and customizability

Can you be more specific?

Advanced customization is provided by extensions and they're as well supported as ever.
The BigTable paper is available here: https://research.google/pubs/pub27898/

> Bigtable maintains data in lexicographic order by row key. The row range for a table is dynamically partitioned. Each row range is called a tablet, which is the unit of dis- tribution and load balancing.

And later...

>The master is responsible for assigning tablets to tablet servers, detecting the addition and expiration of tablet servers, balancing tablet-server load, and garbage col- lection of ﬁles in GFS. In addition, it handles schema changes such as table and column family creations.
Each tablet server manages a set of tablets (typically we have somewhere between ten to a thousand tablets per tablet server). The tablet server handles read and write requests to the tablets that it has loaded, and also splits tablets that have grown too large.
"widely considered" by the biased haters who write history?

Whatever they say, the opposite is usually true. When they say "bad at the job" that should be read as "good at the job". Likewise, when they say "good at the job" it means "bad at the job".

People with sense and a love for America do not often become history professors.
People always say "why can't I opt out?" but the reason they say it because they want to opt out while not moving country, or really changing anything about their lives, they just want to not pay taxes right where they are.

As though taxes, government and broader social organization has nothing at all to do with why the roads are paved and there's a municipal sewer system. Or why it seems like it's so hard to find a body of land on Earth where you aren't subject to another, possibly much worse government (military is funded by someone...)

If moving somewhere you wouldn't have to pay taxes always seems like it would be too hard, maybe think on that.
Not using the designated pedestrian crosswalk is a very unsafe practice.

Still, we should expect autonomous vehicles to cope with that, which is certainly not the case yet.
People definitely use it for higher-level things, and it's nice there as well - not the same level of comfort as a garbage-collected language, but still very nice.

When writing code that isn't that performance-sensitive, cloning is often an option (and gets you past a lot of grief with lifetimes), so is reference counting, etc.

Rust's set of rules just means you can never, for example, accidentally hold a reference to a value that's been freed - it'll error out, and then you can pick whether you meant to borrow it, to share ownership with reference counting, or to clone it.
I recently migrated off of digital ocean into aws.

I was originally planning to go to go for the native k8s experience.

Then I read somewhere online that was doesn't sunset services where as gcp does.

I was half way through the migration process to gcp and bailed on a dime.
If your actions lead to death you can be tried for manslaughter.

If your actions bring the global economy to its knees the feds lend you money to prop it back up...
Why Compensation Lawyers in Brisbane Should Be Paperless
> If your views involve heavy-lifting calculations ...

Nooo, not at all. Your tasks should be I/O bound, not CPU bound to take advantage of asyncio. Maybe the async server using multiple threads with multiple event loops, but don't ever do a CPU-heavy task in an event loop because you just invalidated using asyncio completely.
It's my understanding that current state of the art very low kN, but high ISP efficiency hall effect/ion grid thrusters can achieve 6000-8000 specific impulse without an absolutely ridiculous amount of electricity. There are designs that have been ground tested but not flown which could achieve 15000-20000 ISP but would also require immense photovoltaic arrays, or a small nuclear reactor.

Once in orbit unless you need to achieve a lot of delta-v in a relatively short period of time, I'm not sure why an engine/fuel combo with only 800 ISP would be a logical choice. It's certainly a whole lot more efficient than a bipropellant chemical rocket engine, which maxes out around 385-400 ISP. Although it's never flown I believe the theoretical efficiency of a NERVA would be around 800.
Can you give an example of something that can be done in J that can't be done easily in numpy?
Yes, but Chrome is considered the default. If something doesn't work in Chrome, I will get in trouble with my boss for implementing it.

If something doesn't work with Firefox, we tell the users to use Chrome.
I take it you are not naming the individual in question because this would make it obvious that they aren't actually all that prominent or important.
Amazon's ML University is making its online courses available to the public
Whenever I contemplate putting an ancient device (back) on the air, I always end up finding out, that at least one of the wireless technologies/chips aboard the device has security problems, and replacement firmware (if the problem is fixable by SW/FW) is usually not available, or from dodgy sources with unknown "goodies" added.
(In those cases, I also don't trust the soft-toggle in the UI)

PostmarketOS is my current "Favorite" FW for hopefully getting some old devices back into service, mostly for interfacing with some IOT installations. They are working to get the Mainline kernel to run on many old(er) devices, since these days only a correct DTB is required to boot on nearly anything. (iiuec)
To do sieves in J like the blog post mentioned, the equivalent numpy would be:

>>> arr = np.array([10, 20, 30])

>>> arr[arr > 15]

array([20, 30])
So if a company pays its CEO less, will they get a tax credit? Unlikely. With coronavirus, why does a company need to have a San Francisco HQ? Simply move the headquarters to Las Vegas, Reno, or Texas, and hire remote.

To my knowledge, there aren’t too many hardware companies in San Francisco; they are mostly companies they have employees that sit at computers typing stuff or calling people. Other than cachet, why would a company choose to locate in the city limits? The tax is admittedly rather small, but being in San Francisco is a death of a thousand cuts.
I'm happy you enjoyed the article! I seem to remember scoped threads were part of the standard library at some point, but they were eventually proved unsound and removed.

I'm too lazy to go find a reference right now but it shouldn't be overly hard.
Tokenizing strings is usually not something that happens unnecessarily, but it's required for the implementation of e.g. keyword search. So it's not something people can just avoid doing.

> These locale libraries modify the string binary and break the Japanese encoding. You can't easily implement no-op local for Japanese because these modification are often cause by the fundamental common part of the library rather than language specific part.

Can you give an example of a situation where that happens? Is it an issue with e.g
Shift-JIS encoding vs. Unicode?
I've never thought about it before, but I've consistently used "image" ever since I learned about the <img> tag as a kid. It's very interesting that you can segment groups by which word they use.
This was what had happened on Earth in the The Expanse. Most of Earth was on "basic", and you kept it provided you obeyed the rules (one of which was strict limits on breeding). But getting anywhere was almost impossible - in the series you have the street doctor who just can't get educated and trained as a real doctor because even being good at what you do, there's 10,000 more people in front of you who are just better.
In a sense the religious folk are more dangerously individualistic.

While the secular folk make connections with other (real) humans, the religious folk connect with a fantasy ... their "community" is just an assumption that everyone does/should share their fantasy ... and they become pretty damn nasty when that delusion is threatened.
Check out the original bigtable paper and it’ll make more sense. I think the author maybe misremembering some technical details here though.
Which although probably not in UK or the EU's longterm interest, is not an existential threat. Political unrest and migration are not new.
In Texas City 35 years after the disaster it was nothing like the rest of Texas.

They partied like there was no tomorrow, almost like they were in California and were going to be wiped out by an earthquake any minute or something.

The cultural anomaly could be seen to have evolved from a scale of disaster not shared by other nearby industrial communities.

For a person in their 20's Galveston was a fun beach resort, Gilley's was a spectacle in itself, Austin was a great college town, but Texas City was wild.
I also like apples stance on privacy.

Given that they are probably the only company that could pull it off, I'd really like to see apple become more open(i.e. Stallman-ism constrained by reality) philosophically - they love to tell their users right and wrong, but if they made a fairly open ARM MacBook that I could run anything other than MacOS (If it's not windows I want things like eBPF to play with) I'd buy it in a heartbeat.
I don't think Covid-19 has shown that. A lot of world leaders maybe took a bit longer to react than they should have, but once it was clear that the virus was spreading they acted sensibly to prevent widespread contagion and those countries now have rather low infection rates.

Some other leaders (i.e. Bolansaro, Modi, Putin, Trump, and probably some other leaders of countries where we don't even know how bad the situation is) have reacted poorly, leading to less good results.

Even in places like the United States which has been doing a terrible job, I am amazed at the scope of sacrifice that has been made to prevent the potential of millions of deaths, and by the generally high level of compliance with social distancing. It's not good enough, mind you, and those sacrifices will be for naught if we don't eventually get things under control, but having 90% of people in stores wearing masks is a lot higher than just about anyone would have guessed if one were to suggest this scenario as a hypothetical a year ago. I think most health experts expected about 50%.

Really, the whole world has been quite united I think on average despite poor leadership when you look at the actions of individual people. On the other hand, as pandemic fatigue sets in that early solidarity seems to be getting weaker.
IE made life miserable for developers. I am not sure we would have cared if it were not moribund.
"Firefox would just be slow as hell"

Why is that?

The problem is they get into to web standards game which is driven by Google to create pressure everyone else to spend millions on the newest standards.

I don't need the newest standards, 2000 web works perfectly fine for me (except HTTPs).

Firefox is slow with many tabs open on Win10, Ryzen X3900 with 32gb of RAM (writing this from FF)

They broke exetensions several times without any benefit to users, but losing extensions on the way. One of the core features for power users dropped for nothing - well for their own fun rewriting the browser and rendering engine several times, I guess it was fun at least doing "interesting things".
I found a US patent that suggests HCQ can repair DNA damage from ionizing and non ionizing radiation. My hunch tells me that the government stockpiles it in case of an infrastructure attack uses cell towers to make people sick.
He will go down as one of the greats.
This reminded me very much of working in R or working with Numpy.

I however always thought having an array as the primitive in R was great only because R is focused on statistics and data science.

My understanding is that J claims to be general purpose programming and as such I’m surprised the paradigm holds.
HA! Got you fanboy! There is no war between tool's...just in your head.
Or near critical infrastructure
> Rank Is actually implicitly done by numpy using a mechanism called broadcasting.

Numpy's broadcasting is scalar conformability, to which the rank operator (and general conformability) provides a general case. Example in j:

] x =. i. 2 3 4
0 1 2 3
4 5 6 7
8 9 10 11

12 13 14 15
16 17 18 19
20 21 22 23
] y =. i. 3 4
0 1 2 3
4 5 6 7
8 9 10 11
x + y NB. this will error because + expects that, if its arguments' shapes are not the same, one will be a prefix of the other
|length error
| x +y
NB. this is easy enough to fix, however
x +"2 y NB. +"2 is shorthand for +"2 2; meaning, choose rank-2 arrays from both the left and right arguments
0 2 4 6
8 10 12 14
16 18 20 22

12 14 16 18
20 22 24 26
28 30 32 34

Numpy will actually do this without the rank operator, because it uses suffix agreement rather than prefix agreement (which is absolutely bonkers—j used suffix agreement for about 5 minutes in 1990, before realising it was an awful idea). For for numpy, see if you can add:

np.array([[[0, 1, 2, 3], [4, 5, 6, 7], [8, 9, 10, 11]], [[12, 13, 14, 15], [16, 17, 18, 19], [20, 21, 22, 23]]]) + np.array([[0, 1, 2], [3, 4, 5]])

Intelligently. (I'm sure it's not overly difficult to come up with a solution, but can you do it with a single higher-order function call which generalises to other argument shapes?)

(The j equivalent, (i. 2 3 4) + (i. 2 3) also works without trouble.)

------------------------------------------------------------------------

Another example, which may be more illustrative, is the ability to perform reductions along arbitrary axes. For example:

] x =. i. 4 3
0 1 2
3 4 5
6 7 8
9 10 11
+/ x NB. sum reduced along leading axis, the default, producing an array of shape 3
18 22 26
+/"1 x NB. sum each rank-1 array (vector); or, reduce last axis, producing an array of shape 4
3 12 21 30

------------------------------------------------------------------------

Another curiosity, which I have thus far neglected, is the extent to which numpy's being 'a little more verbose' is actually incredibly important in shaping the way you approach and think about problems. The great-uncle comment also addresses this, but Iverson probably says it better than either of us can: read https://www.jsoftware.com/papers/tot.htm
The point of UBI though is to dismantle the administrative overhead and waste of existing welfare systems. A proper UBI implementation deliberately ensures it is administratively difficult to try and selectively remove people from the system.
Ghost.org deleted my website
Aggressors can almost always find a way to rationalize their violence. When they are in the majority, they can self-congratulate, claim that they were only following orders or social norms. Defending one's self requires no such mental gymnastics.

No matter how you slice it, violence is an inescapable part of the human condition. People debate the non-aggression principle in depth and try to reach idealistic conclusions. Principles are important, but human affairs rarely neatly fit with these ideals.
Can someone tell me if it's safe to store batteries as shown in the article? Isn't there a chance that the terminals get shorted by the metal box? I recently saw some (more than 50) alkaline AA batteries stored in an old biscuit tin: wonder if it's a hazard in any way?
The mentioning of DoD contractors made we wonder: would the EU help fund the development of Firefox, in order to secure competition in the browser market?

Mozilla would need to restructure and move Firefox to the foundation, but MDN, Firefox and possibly Rust could be funded by donations, corporate sponsors and perhaps the EU, assuming the money could be directed correctly. It would require a management skilled in seeking out these funding options and a brutal focus on openess, but the latter IS something Mozilla knows how to do.
> the 10 million migrant number.

Just the other day I read a long and detailed article about a predicted number of 200 million "climate migrants" by 2050, 86 million from Africa alone.

Nowhere in the long article was ever mentioned that in the same timespan Africa's population is predicted to double, adding 1.2 billion people to the current number. But of course, hey, "climate change".
This question is phrased oddly. I want my child to enter an educational environment where he will flourish. It's not obvious to me that having the brand of an 'elite' school is all that significant.
You are right. After they ousted the inventor of Javascript, the woke crowd there set about making Firefox into a chrome clone. They also annoyed the users with everything else that was not a chrome feature. I knew this day would come.
https://www.opensourceforu.com/2016/08/firefox-past-present-...
Nobody pays EMACS a few million a year and runs their core business through it.
Creating a "new browser" is monumental task, and it's not enough to make something that works. Browsers are extremely high risk pieces of software with an attack surface comparable to an operating system.

Building something competitive means being able to make reasonable assertions of security, and that takes tons of resources.
Quantum computing breakthrough – possible solution to tech's biggest hurdle
Remember that V* * = V is valid only for vector spaces with finite dimensions.
I used a setup like this for a _long_ time. One of the first things I did was to build console menus with Python and ncurses for typical tasks (restart Apache, tail logs, etc.).

The next step was to setup a "monitor" user with separate keys and a restricted shell that invoked those menus.
"5g could beat out ISPs at cost"

Fixed line ISPs share much of the same infrastructure with 5g/4g providers. The only difference between them is the last mile, so it's not like 5g providers magically dont need any backhaul infrastructure and could provide dramatically lower prices.