skysight-inc/HackerNews huggingface dataset:
Oh :(

How would you upload the content to said elasticsearch instance?
is it time to jump ship from mozilla????????????
The absolute worst in my small experience with it is anything touching the node ecosystem. Try to follow any guide or use any library not updated in the last week and there will be breaking API changes and deprecation warnings everywhere.
I can't emphasize France's success with nuclear power and the magic of thorium enough.
Programming is hard. Let's go activism-ing.
> It would be incorrect, the evidence is clear that it is a man made problem.

This isn't how you do hypotheticals. If, in the hypothetical world, it isn't us, the claim that it isn't us is correct, not incorrect by virtue of disagreeing with the non-hypothetical world.

And you didn't even address my point that this bullet point is completely irrelevant to what's happening and to what should be done. All the recommendations are identical in either case. Why is the bullet point present in the list? Wouldn't it make more sense to have a four-item list?
Yeah, that was more or less my approach to analysis for these files. Essentially it was an export that was quasi-aware of Unicode and dumped out certain fields (of course they had to be variable length) in their original encodings, whatever they were. I got more than a few of these.

Unicode is great, as long as everyone upstream follows all of the rules and nothing goes wrong.
In lab conditions with cat5 cable perhaps.

In the real world, the copper in the ground or on the pole is close to a century old, and probably qualifies as cat2 if you are lucky.
Yet the UK voted to leave the EU largely because of immigration.
It's incredible that 4Chan had a thread with pictures of a 3 men working on doors to the warehouse. They were welding them.

This was within 24 hours of the explosion. Was going to post it here but then don't really think this board would appreciate 4chan threads...

Picture...

https://i.4pcdn.org/pol/1596600309252.jpg
Brian Krzanich (former CEO of Intel) sold all of the stock he could as soon as Google informed Intel about spectre and meltdown.

It's hard not to think that insider trading won't be punished when even the most obvious cases fly by with hardly a mention.
As another commenter pointed out, the victim is the public's trust in the financial market. With transactions between private entities, information asymmetry is a normal part of life. But if you want to be able to sell your shares on a public market, the public first needs to trust that you won't screw them over. That trust is a public good worthy of government protection, just like we have government agencies to protecting clean air and fair elections.
I don't get it. Is Mozilla a Neo-Marxist organization now?

Why don't you talk about software development instead? About building FireFox? About disrupting tech?

It seems Mozilla is now run by people more interested into communism than actually building a fucking software and bringing value to the world. RIP Mozilla.
"A lock knows what data it protects, and Rust guarantees that the data can only be accessed when the lock is held. State is never accidentally shared. "Lock data, not code" is enforced in Rust."

[1] https://blog.rust-lang.org/2015/04/10/Fearless-Concurrency.h...
This whole article is full of wrong statements about healthy and unhealthy food. And I'm not taking only about the advertisements.
This appears the final section of a 2014 episode of Conversations with Bill Kristol [1]:

> CH. 6 : THE HIGHER EDUCATION BUBBLE (1:13:57 - 1:36:39)

> Is American higher education heading towards a major fiscal crisis? Thiel explains he thinks it is.

[1] https://conversationswithbillkristol.org/video/peter-thiel/
Shallow or flattened structures are always what I default to.

The example given does look better, but it's far more complicated to actually use.

Focus on flat denormalized structures as your default, its simpler and more discoverable.

At some point it does get unwieldy, at some point it is worth to find a seam and refactor out a chunk of logic.

The difference is you're using the codes modularity needs to guide what gets defined where, not some arbitrary idea of what looks neat and organised, because what looks neat and organised is usually not very flexible.
The first sentence is a prompt for GPT-3 to write the rest of your book. :)
ace. thank you for the clarification / insight :-)
ZzFXM – A tiny JavaScript music system
I think it would be awesome to have a list of things you can do with old devices.

For example, I'm using the original Nexus 7 as a MIDI interface (virtual piano) for FL Studio even though it's a 2012 product.
I agree, one of OOP's problem is conflating code organization with data-structure and access scopes. Especially true when each class must be its own file as well.

In FP, in contrast, you might have one namespace that contains your entire set of functions. Each function is still just its input to output. So when you read the function, in your mind, there is nothing else you need to think about, just the function that fits in only 7+-2 line of code most likely.

Now, if you find that the functions need some logical grouping to help you find them, or if you need to split things in more than one file to share the file with other projects or for multiple people to more easily work on the code, you can do that as well, and move some functions out to other namespaces, but doing so only affects your import statements, not the structure of your data or anything else of that sort.

Similarly, in FP, things are immutable for the most part, which means you don't have to think about all the other parts of the code that might modify the value of your variable, or list, or map, etc.

Another issue with OOP is touched in the article as well, the OOP structure doesn't map with everything you'll need to work with. That's where the whole ORM issue comes in. For example, tables are really hard to represent as objects. Which in turn makes working with them and manipulating them more difficult than it needs to be.
Is revenue * X a good formula to determine market rate, and if so, what should X be?
One that I can think of:

The way npm install always check latest package version and use them, even if package lock already exists. Which broke apps build many many times due to developer does not recognize this behavior. I know there are npm shrinkwrap and npm ci. Its just other package manager usually follow lockfile on install and have other command to upgrade the lockfile.

Also npm install download gazilion file for each dependencies. With deep directories.

In the past, there are problem because npm way of installing dependencies and hitting this infamous windows file path length limitation.

All are now already fixed or have alternative. But at that time, composer definitely much simpler and reliable.
If you love the US, you should embrace thoughtful articles that bring up neglected but valid points in insightful ways. This article is not that. This article is yet another "orange man bad" lamenting that America now isn't as great as it was from WWII through 1970.

The problem with articles like this is that the people who already agree with the author will think the article is insightful and focus on the parts that are obviously correct (social cohesion genuinely has decreased), and the people who disagree will focus on the parts that are obviously wrong (oh look it's that misleading statistic again about the top X Americans having more wealth than the combined wealth of the bottom 50% because the bottom 50% have a combined wealth of about $0 because debt exists).

The article gets shared by people who agree, who think everyone should read it for the author's "deep insight", and shared by people who disagree who say "look what the brainwashed people believe", and the article gets lots of clicks and ad impressions and everyone hates each other a little bit more.
Well he didn't buy gold, he bought shares in a company whose main business is gold mining.
Ive always wondered something: comparing to languages like Swift, is Rust really better if it takes so much cognitive overhead and architectural backflips to work around the borrow checker's limitations? Couldnt we be spending that time adding features, or optimizing the parts of the program that the profiler shows us are inefficient?

Using Rust seems like it would make sense for an extremely low-level performance-sensitive application, but do people use it for higher level things? If they do, why?
Covid-19 is causing a microcredit crunch
> The Brendan Eich situation

I'm going to repeat what I said about Eich in another thread:

Mozilla built a brand around openness and the idea of "putting people first" and making them feel "empowered, safe and independent." (Those quotes are from at least one version of their mission statement.) Eich's backing of the anti-gay-marriage initiative was a PR problem for them in a way that it might not have been for many other companies. Also, he violated the first rule of holes (i.e., when you're in one, stop digging); it's possible they might have been able to do effective damage control without booting him if his initial response hadn't been, in so many words, "it's my money and I can do what I want with it."

And, sure: it is, and he can. The CEO of a nonprofit Catholic hospital chain could also use their money to donate to Planned Parenthood. But, if they did, we can be reasonably sure the hospital's boards of directors would have words with them about it.

As for the others, well:

> Baker calling a former conservative employee's views "traumatic and damaging" in their obituary

It sounds like he was not merely conservative, but extremely strident and pushy about certain things. Also, you're giving that obituary a super reductive reading, given all the nice things Baker also says about the guy despite their obvious disagreements over those views.

> The removal of "meritocracy" from the governance document in the name of D&I

Some might argue that this kind of nitpicky language monitoring is an awfully unimportant tiny hill to die on. Maybe so, but it's hard not to see "I must take a stand in defense of phrasing changes I probably wouldn't have noticed if this blog post hadn't made a point of calling them out" as, well, an even smaller and less important hill, isn't it?

> Promoting BLM and anti-racism content

If someone is truly offended by "anti-racism content," I'm gonna have questions about them.

> Recall Michael Jordan's reason for staying away from politics, "Republicans buy sneakers too".

Just for the record: he's donating $100 million to Black Lives Matter.
Interesting blog post. All of these are implemented as trivial operations in numpy, so while J or APL might be the originator of the syntax, this 'tool of thought' is not as esoteric as the author makes it sound, and learning J if you already know numpy (or TensorFlow or PyTorch or..) isn't that remarkable.

>> np.array([1, 2, 3]) * 2

array([2, 4, 6])

>>> np.array([1, 2, 3]) * np.array([4, 5, 6])

>>> np.arange(0, 16).reshape(4, 4) + np.array([5, 5, 5, 5])

array([[ 5, 6, 7, 8],
[ 9, 10, 11, 12],
[13, 14, 15, 16],
[17, 18, 19, 20]])
ETH2.0 “accidentally” deployed, and gets adopted
> because the bottom 50% have a combined wealth of about $0 because debt exists).

I find that to be a relevant metric.
Not actually true. UK is considering offering citizenship to 3 million HK citizens. So it’s really not about immigration in general, but the kind of immigrants (e.g. “immigrans taking our jobs” or “importing terrorists”).
This reminds me of that "sells shovels" way of becoming a millionaire
That digit span test is incredibly irritating. I've done it 10 times by now and I can't get more than 9 digits.

On a more philosophical note, I've wondered if there are some outstanding math or even societal problems that could've been solved already if humans had the capability of holding onto 13 or 15 more things at a time rather than just 7ish. It always feels like we're going to be limited in some way with regards to that if the problem is incapable of being broken down or collapsed.
> I'm not trying to pick a fight but I'm genuinely curious to see how you would disprove my statement. Like, a formal (counter) proof etc.

You've proven it yourself:

> That's cooking- not baking, btw. Apparently that requires precision, but I don't really bake.

How is baking different from cooking that baking requires precision whereas cooking "does not"? It's the same process: raw ingredients are subjected to chemical and thermochemical reactions to achieve a result. Their recipes are in the same cookbooks. They have a significant overlap in ingredients.

Where do you draw a line?

Is Beef Wellington coking or baking? Or do you go by feeling? "Today I'm baking, so I'm going to do a precise beef Wellington recipe"?

What about Shepherd's Pie? Baking is defined as "to cook by dry heat especially in an oven" [1] Exactly what's being done to the shepherd's pie (as is done to any other pies). Precision or "it's not a proper way to use it, you have to wing it"?

Or mince pie? If you have meat in it, then "it's pointless to give such precise instructions", but if you remove meat, then "apparently that requires precision", is that how it works?

> And yes, to be honest, "grab ingredients in the quantities you desire and cook them" is how I cook all my meals. There are very few things I actually measure

I am not you. And many people are not you. I presume that you learned how to cook as a kid from your parents? It means that you did receive quite precise instructions at one point until you learned how things work. And I bet that for any new recipe that you've never tried before you will look for and work with precise instructions.

[1] https://www.merriam-webster.com/dictionary/bake
Oh I know, I've fought that beast so much for a while. Was just stating my first reaction.

I did get really good at submitting tickets from the redhat support tool cli though hehe.
> What would you have Mozilla do? They're trying to develop other services that can actually make them money so they don't need Google's money to exist, and people here are shitting on them left and right for this.

charge businesses for Firefox Enterprise Edition, that way businesses are paying for support and funds development towards Firefox.
Like most of the "great minds" of the age, he was a gentleman scientist. That is, he came from some wealth that was mostly self-maintaining (in his case, family agricultural holdings - not super-rich, but not having to make his own living either). After Napoleon, he was promoted to middling nobility with all of the privileges that entails.
If you don't say "it's us", you generally mean that it's a natural occurring phenomenon / cycle. And with that generally comes the assumption "...therefore we don't need to fix it, because it will fix itself.".
Yup, and precision instruments were not something you would have at a regular household.
Also: functional programming feels better in JS than in Python. On the other hand, it's nicer to write for-loops in Python.
Yep, Googles stuff looks nice, but I can’t afford to use their stuff. The time budget simply doesn’t allow for rewriting things more than once a decade, and even that’s a pain.
Dutch intelligence: countries hack as it's simple, fast, low risk, effective
From what I've heard, the borrow checker is much more suited to low-level programs like embedded programs, and for other kinds of programs, the borrow checker is in the way a lot more. That could be why you don't understand the complaining (if they are correct, that is).
I think this is really common. I've met quite a few Google engineers whose whole identity is defined by their employer. Its striking, and a testament to the malleability of the human mind, even if the individual is "smart".
There are a lot of very lucky people after that disaster.
Thanks for the link.
You are right, you could say: "It's a problem, it doesn't matter if it's us or not, but we have to fix it".

Question is whether this helps the debate or not. It could help.
Clarification for anyone going off the title. He bought stock in a gold mining company. Not gold itself.

I find the title to be a bit disingenous.
Steel frames gives you a much smoother ride, and unless you do a lot of short climbing, the difference in weight doesn't matter that much. In fact, a heavier frame carries more momentum, which can be a benefit in some cases.
TLDR of the article:

> In the Emacs world [...], when they make an API obsolete, they are basically saying: “You really shouldn’t use this approach, because even though it works, it suffers from various deficiencies which we enumerate here. But in the end it’s your call.”

> Whereas in the Google world, deprecation means: “We are breaking our commitments to you.” [...] It means they are going to force you to do some work, possibly a large amount of rework, on a regular basis

It's fine if they want to go hunting for their Perfect API v10™, but just leave the old APIs alone - build abstractions under them if needed. Don't push that work onto your customers.
https://en.m.wikipedia.org/wiki/Pierre-Simon_Laplace

According to his great-great-grandson,[4] d'Alembert received him rather poorly, and to get rid of him gave him a thick mathematics book, saying to come back when he had read it. When Laplace came back a few days later, d'Alembert was even less friendly and did not hide his opinion that it was impossible that Laplace could have read and understood the book. But upon questioning him, he realised that it was true, and from that time he took Laplace under his care.

Another account is that Laplace solved overnight a problem that d'Alembert set him for submission the following week, then solved a harder problem the following night. D'Alembert was impressed and recommended him for a teaching place in the École Militaire.[8]

With a secure income and undemanding teaching, Laplace now threw himself into original research and for the next seventeen years, 1771–1787, he produced much of his original work in astronomy.[9]
Buy YouTube Views is one of the best way to gain views on your video.
Dive and save is one option you have, as admittedly being a long time at a company does not usually end up in a great salary.
Related:
https://randsinrepose.com/archives/the-diving-save/

The other more popular approach is to "play the game" as I think of it, I.e. every 18-24 months you switch to a new job with a substantial increase in pay as result.

I wish this wasn't the case, but I guess it is what it is.
> am I wrong to think secularism plays a big role in the lack of empathy

America is by far the most religious country in the first world.
> Let’s say hypothetically that Apple was dumb enough to pull a Guido van Rossum, and declare that Swift 6.0 is backwards-incompatible with Swift 5.0, much in the way that Python 3 is incompatible with Python 2.

Damn, I was waiting for this. The whole essay was a setup for this paragraph. Reframes the argument using a shared traumatic experience for everyone. This humanizes the effect, we all know someone that lost someone to the Python2/3 transition. I can't count the number of Python friends that turned into Gophers, joining some cult of middle class bearded tech dad with a side business distilling pear brandy.

Best Yegge Essay Yet! Welcome back Steve.

edit, finished the essay. He smoked GCP in this one, damn damn hard. Hickory.
Sounds to me like what was mentioned by tyingq was described accurately:

"Maybe I even skirted the rules a bit by sending him a free sample of my cool toy and some rough code samples. He took it well beyond what I could. I didn't ask for anything."

Certainly seems easy enough to argue complies with:

"send bloggers free products to review or give away in return for a mention in a blogpost"

If you don't ask for mentions in blogs, that Webmaster Blog post doesn't technically apply, right? There's gray area in choosing to send free samples to people you are pretty sure will mention/link to you in a blog post, but where you don't ask them to (or place any expectation on them to). So "skirting the rules a bit" sounds about right to me. There weren't "review units", they were "free gifts". No request or expectation of a "review".
The biggest trap of software development is that it’s easy, trivial in fact, to write software that you yourself cannot understand, and in turn no one else can understand.

An interesting counterpoint: https://www.linusakesson.net/programming/kernighans-lever/in...

I've never had problems with too many fields or even global variables. A recent "weekend project" I did of medium complexity (video decoder) has around 50 globals and zero actual "objects". That might be a bit atypical since it's mostly a set of nested loops and not as "branchy" as usual "business code"; but on the contrary, I've had problems with the ultra-deep callstacks and massive indirection that this sort of "micro-structuring" tends to produce. The micro-complexity goes down, but the macro-complexity goes up and it becomes harder to see the state of the whole system at once, which is extremely important for debugging. Following data as it flows between multiple objects and jumps around between functions is much more difficult than scrolling slowly through a long section of mostly straight-line code.

I wonder if being able to see more of your program at once, as APL programmers often espouse, is really the key to effective programming. You may only be able to hold "between 5 and 9 things in your brain at any one time", but to be able to see the other 40+ with a single glance at the code seems much more important to me. To use my example of a video decoder above, the existing implementations I could find were all multiple files and multiple functions in each file, and to study how they worked was rather tedious. When I wrote my version in a single file with very few functions and objects, it seemed much simpler, and my sense of understanding increased. It was a similar feeling of epiphany as when I first saw https://news.ycombinator.com/item?id=8558822
I’m talking about non-experts approaching a subject with genuine curiosity and an honest desire to form a balanced perspective. I don’t have a PhD in climate science nor biology nor history so I believe the most reasonable starting point is to try to understand the expert consensus. Scientific skepticism on the part of non-experts is just a form of cynicism or - more generally - a form of confirmation bias.
Ask HN: Should Microsoft Buy TikTok and Make Kevin Systrom CEO?
I'm a brit, so speaking from the outside.

I'm getting sick of this downtalking of everything. People have various fuels, and optimism is one (cautious, realistic, measured optimism, together with appropriate self-belief). This is not reflection, it's putting a hole in that tank to drain it out.

It was incompetence that got the US into the mess it is, but if the US is sick, I have full confidence it will get well again. USA'ians putting down the US unrealistically will hurt your country as much as any other factor, draining your confidence - and to be clear, there are sate actors out there who are happy to chip in.

This is bad and it's going to get worse. Consider yourself in a war and now try to see how to survive it and contribute to it instead of wallowing in apathy and fear. Of course the faults in the US are there and they are deep and must be acknowledged before they can be fixed, but they will be fixed and the US will be stronger (and just maybe smarter) for it afterwards.

Destroy a person's hope is the most effective way of destroying them, and you're doing it to yourselves (with, I'm sure, a little help from others who want the US shrunken).

(I'm normally on the negative side of things but watching people sink themselves into blackness over it all isn't realistic, as much as believing that 'hope is enough' or 'god will fix it' isn't realistic).
try using four libraries and chances are they require two different version of a build tool installed globally