skysight-inc/HackerNews huggingface dataset:
The problem is it's not directly in their interest.

Fake accounts are just as billable for boosting reach as real accounts. It will only be when companies stop advertising that they will be forced fix it. In the meantime they take the money and run. (or invest into business streams with actual long term value)
You're absolutely right. We took a lot of inspiration from the MobX API design.

One thing worth calling out: MobX requires you to mark getters as `@computed`:

class OrderLine {
@observable price = 0
@observable amount = 1

@computed get total() {
return this.price * this.amount
}
}

The equivalent Octane class:

class OrderLine {
@tracked price = 0
@tracked amount = 1

get total() {
return this.price * this.amount
}
}

This is more important than it looks. The fact that you don't need to decorate the getter also means that you can break up a computation that uses tracked properties into smaller functions without needing to think about how the smaller pieces should be written. You just use functions.

Here's what happens when you try to add methods with arguments to MobX:

import { observable } from "mobx"
import { computedFn } from "mobx-utils"

class Todos {
@observable todos = []

getAllTodosByUser = computedFn(function getAllTodosByUser(userId) {
return this.todos.filter(todo => todo.user === userId))
})
}

And Octane:

import { tracked } from "@glimmer/tracking";

class Todos {
@tracked todos = [];

getAllTodosByUser(userId) {
return this.todos.filter(todo => todo.user === userId))
}
}

The rule in Octane is: "mark any reactive property as @tracked, and use normal JavaScript for derived properties". That's pretty cool!
I think "state" is simply an overloaded term and that causes misunderstandings here. I believe by "state" GP meant specifically mutable state on the level of the programming language abstraction.

"Having state" often implies mutability, i.e. to be in a given state means the same thing can be in different states/configurations as well.

On the other hand people often also use the word "state" to refer simply to a "current state" of something at a given time, and then under this interpretation there is state in immutable objects.

As you already know, "representing (real world) state at some step/time" does not require mutability on the language level. These immutable objects are state snaphots of a hypothetical mutable object. Operations on them cannot mutate them, but instead derive a new snaphot that represents the new state at a given time after the operation. So working with those snapshot does represent state and state changes and models real world state, but the individual snaphots/immutable objects cannot be mutated.

Whether those immutable objects deserve the monicker "object", I don't really have a opinion on, but I wouldn't outright deny it.

Are they useful in similar ways that mutable objects are? I'd say so.

Immutable objects can still get you polymorphism/subtyping and encapsulation, features often ascribed to object oriented programming.
And the Amstrad 1512 PCs used DOSPlus, DRIs MSDOS & CP/M crossover.
By survey, over a quarter of Americans are "nones" when it comes to religion. Much fewer actively take the label of athiest, but there's functionally no difference.
Yeah okay, but the initial suggestion (just specify "sans serif") still holds. Or really, if we're talking about a webpage to last, why do we even care about what font is being used? If you care enough about a font that the glyphs used are important for layout, then obviously you're going to need to include the font. If the specific look of the page is essential to the content conveyed, it seems likely to me you won't be using a standard font anyway.

For typical "the words matter more than how the words look" content...can someone explain to me why we care about including the font?
Why was draw_down's comment killed? A quick glance at his profile indicates he is a 4 year old account with more than a 1500 karma, yet every recent comment by him is flagged/killed [1]. Yes, some of them appear trollish, but not all of them.

Does someone here have a grudge against him?

[1] https://news.ycombinator.com/threads?id=draw_down
Well this certainly isn’t the only reason, but a major one is that money is cheap. For example Europe has almost 18 trillion dollars of negative yielding debt. Interest rates in the entire western world except for America and last time I checked? Canada are returning negative yields after inflation. So as wealthy inequality climbs, and wealthy institutions have no where to put their money, it flows into riskier and risked assets chasing yield. I heard a funny quote something like: a decade of 0% real rates made the bond market your savings account, the stock market into the bond market, VCs into the stock market, and crypto ICOs into VC. It’s essentially describing how low interest rates pushed the world into riskier investments because the traditional investment class returns 0-negative in real terms.
Check out XLwings. It can do some pretty handy stuff.
I'd recommend checkout out Redux Toolkit and reading over the docs. Severely cuts down the boilerplate, but still walks you through the general ideas and fundamentals in a great way.
Somewhat related series of PSAs:

Nitter is an Open Source alternative front end for Twitter that requires zero Javascript to run, and it's really good, and is way nicer than Twitter's own UI, and yall should use it. I see Twitter threads hosted on HN all the time, and I kind of wish more of the posters would link to Nitter's public-facing instance instead of Twitter. I think its interface is just objectively better than Twitter's for browsing.

Invidious is an Open Source alternative to Youtube that is also really good and requires zero Javascript, but unfortunately it suffers from a lot of performance problems and videos will occasionally refuse to load -- Youtube is I think more hostile about throttling/blocking that kind of stuff, and proxying videos is probably harder than proxying tweets. You can donate to Invidious though, which might help them afford more powerful hardware.

In regards to Medium -- if you disable Javascript those popups will all vanish, and for the most part all you'll be missing out on is comments and occasionally a lazy-loaded image. It's amazing how much of the web (particularly news) works fine without Javascript, and getting rid of it gets rid of a lot of these annoying popups and requests. Use uMatrix, it makes it really easy to turn Javascript off by default and whitelist as necessary. And every person who disables Javascript is one more tiny audience metric to make it ever-so-slightly harder for news sites to ignore progressive enhancement.
I stopped using Reddit about 12 months ago, before that I had used Voat for only a few months before I dropped it.

I still have membership in HN, which is the last of my social media, but even that I have suspended several times in the last 12 months. I suppose I will logout of HN also in the near future, and then I will be a member of zero social media.

There is no way to be 'forgotten' by social media. You can only logout and resolve to never login again.
Try copying a pivot table in SQL.

A lot of simple functions in Excel are incredibly complex in SQL. You might technically can pull most off put then you end up with a lot of ugly SQL.

Also each time you make a change with SQL, you have to query the database again which can be slow and inefficient.

I use both tools together, exporting SQL results and opening in Excel for further clean up. That way you can take advantage of the strengths of each one.
Net cost of TARP is said to be something like $32 billion. If that's true, then complaining about it seems laughable in the face of people basically ignoring trillion dollar deficits.
Frankly, Smith's attachment to the labor theory of value is a bigger mistake than this. Wealth of Nations isn't an important book because Adam Smith was right about everything he wrote about in it but because it constitutes one of the first really comprehensive treatises on the topic. There is a lot of, for the time, great insight in that book. The biggest one is that the wealth of a nation is not measured by the size of its treasury but by the productive capacity of its economy. That might seem basic to modern people, but it was a much less well understood concept at the time.
Funnily enough, the kernel does trust RDRAND (for fetching a single-integer "random enough" value[1]). That's why WireGuard had a DoS bug on those chips until they patched around it to use the proper CSPRNG after a few failed attempts.

[1]: https://elixir.bootlin.com/linux/v5.4.5/source/drivers/char/...
> I wonder if it's possible to somehow create a "consistency checker" that can check to see what claims are compatible with what other claims.

Bad news: the political narratives of whatever party you don't like are self-consistent, and perfectly consistent with the facts that they hear about. The people you think are ignorant are already seeking out news from sources they know and trust, and they already evaluate new information in the context of whatever they already believe. The issue is just not as simple as you suggest.
The big divide is between apps and pages. Pages are just documents and should not contain any code. Apps are fine to contain code. The problem is that we now have pages that believe they are code and apps that have to be styled using the mechanisms for pages. This duality is here to stay for at least a while to come, and maybe for a long time.

But it would have been good security wise and privacy wise if this divide were made more explicit.
Here’s the full size album: https://photos.app.goo.gl/cwaKemRDusTK5W6SA
BJP's official philosophy is that India should be a Hindu-dominated country, Islam is the enemy of the Hindus, and all means necessary should be undertaken to suppress the Muslims. As you know perfectly well.
Lawyers are the scum of the earth.
This will continue until data protection legislation passes in the US. That’s the only way consumers will have any recourse.

Here’s EPIC’s summary of the legislation options: https://www.epic.org/GradingOnACurve/
Great write up, going deep into the topic.

This comments section tho.
"(and the benefits of division of labor are controversial, to this day)"

No, the benefits of division of labour are not remotely controversial.

Does everyone at a company do financial planning, marketing, hr, write code devops?

No, rather software people write/support software.

Finance people do finance.

Marketing people do marketing.

Even in factories - are almost no products these days assembled from start to finish by the same team.

There might be some cases wherein there's a decision to be had, but generally no. There's no controversy here.

Finally - Smith's story is still valid. Making pins faster using division of labour is still probably valid.

The 'truthiness' of the story isn't even the issue - the issue is the 'impact'. A single labourer might be able to do 'all the parts of the pin' by doing a different task each our of the day. But for more complicated processes, wherein there's real skill involved ... not so much.
This article is a great headline that doesn’t even begin to scratch the surface of what’s wrong. I’d say the internet has become an Amazon-style marketplace of fake do-do. Anything you search for results in nothing but endless fake domains with fake reviews designed to pitch you more ads and track you even more. Finding an actual original legitimate source of anything is essentially impossible at this point.
I’m not sure this is true. For example, what can I learn from JS that isn’t in better languages? In tech we have this weird situation where many things become popular without good reason. It’s ironic, because a group of people (nerds) who think they are the epitome of rationality are actually the opposite: we make very emotional decisions when we could be entirely rational, as we have access to data other fields do not.
Do Warrantless Searches of Electronic Devices at Border Violate 4th Amendment?
This was the problem that crypto was intended to solve, but is failing because the fiat ramps are under-developed.

There are no good international money sending services because it’s a highly regulated industry. These regulations, such as AML laws, are important but cause transactions to be slower and more expensive.
I think that's a pretty bad misrepresentation of the situation. The root problem is that security-first people have a hard time trusting anything for real entropy to seed the RNG at first boot.

RDRAND is used, but not trusted by default (and there was a fault in AMD RDRAND with old un-patched bios). systemd applies a seed file generated during last boot, but again disables the option to credit the entropy pool, because it does not trust that this wasn't an improperly prepared and distributed VM image with the same seed file used over and over. There are lots of things that very likely contribute usable entropy, but the kernel can't know with absolute certainty that any particular one does not have some flaw. The final straw was ext4 optimizations and modern SSDs resulting in very few storage controller interrupts, and some programs using getrandom() during early boot, and boot locking up indefinitely for some users running the latest linux kernel, ultimately due to paranoia about the RNG entropy sources.

So if you have to choose between failing to boot up, or just giving the best random numbers you can despite lack of certainty/guarantee of sources of entropy, Linus prefers to not fail to boot up. I know that OpenBSD trusts that seed file, which Linux+systemd uses but does not trust, and I'm not sure what macOS and Windows do, but they probably trust RDRAND, which Linux also uses but does not trust. (My personal fix is to trust rdrand, there's a kernel cmdline option for it.)
Check out lit-html. You write functional style code, but the library does efficient minimal mutations of the dom with no virtual dom, and no dom diffing.
When they lied about their monitor size I got a coupon for a few bucks off my next purchase of an Apple monitor. Never used it.
This is massively hyperbolic. The internet is full of great resources from authoritative sources.
this is incredibly awesome :) solid work, really excited to try this out!
It depends on the proximity of large unplanned cash outlays to payday.
Earn $100 to $500 Every Single Day
This other article linked here, discusses it:

https://news.ycombinator.com/item?id=21847583

Interesting that the eyes on every TPDNE image have a specific position that could (for now) be used to detect them.
> Also, how many foreign militaries have had problems like this with basic ship steering?

> From what I can tell, the US Navy is uniquely broken here. UK, Australia, Japan, France etc. do not have have their ships plowing into slow cargo ships.

Norway lost a destroyer last year after colliding with a tanker. Keep in mind the US Navy is larger than the next 13 largest navies combined. 2 of 3 of these events happening to the US Navy isn't statistically significant enough to say it's a uniquely US Navy problem.

Not to say they don't need to get their shit together.
I don't know why markdown is so popular other than maybe "it was easy to get running" or "works for me".

It's better than "designed by a committee" standards, but it lacks elegance or maybe craftsmanship.
If you are using Firefox, you can set the history storage period to centuries, search history in the URL bar (or History page) or when Firefox is closed query the places.sqlite database in your profile:

sqlite3 ~/.mozilla/firefox/profile/places.sqlite 'SELECT title, url FROM moz_places WHERE url LIKE "%mozilla.com"'
Outside of the solid technical foundation and pedigree, the organization of how Ember is managed is one of its best aspects. There is no single massive company that may decide to drive development in a major breaking way.

Ember has always focused on ensuring upgrades are fairly easy to do, and has only gotten better over time.
"Then a bunch of Macedonian teenagers..."

Uh, is this a commonly accepted fact? I literally had not heard this before now.

I thought it was "somebody sitting on their bed that weighs 400 pounds".
RIP, A better world.
> Santa Claus is based on Saint Nicholas, a Christian figure, and is exclusively used to celebrate a Christian holiday.

Yes, he was a Christian - but how about you actually dive a little deeper into what he did that triggered the imagine of "Santa Claus". I suspect you would argue that Coffee is a Islamic? "What! That's crazy!" How about read up on how Coffee was used to help Sufis stay up for long seasons of devotion.

Just because Saint Nicholas was a Christian figure, doesn't mean Santa is a Christian icon. Let me help you a little - here's a video. https://www.youtube.com/watch?v=_oXf5ESdtXA

> Stating a fact about how corporations try to please everyone? Why does that offend you?

:: Sigh :: Let me help you again.. https://www.merriam-webster.com/dictionary/sarcasm

> What does that have to do with this?

Stop being lazy and read the thread. (face palm)

> You can instantly take my comment down by flagging it (as far as I know). The mods of HN can take it down too.

I don't censor people; hence the thread. Do Please Read the thread and stop cherry picking things. Now you're just being argumentative without context.

> Sure, but some of us are stuck on a certain app for our jobs.

If it offends you that much, get another job.Free Market.

> just as they can (and should) speak freely about the people they want to be "canceled".

I think you have a totally different view of Cancel Culture. Speaking freely is one thing, calling for action is another. Cancel Culture is calling for people to be shut down. It's like having the freedom to say anything you like but say something that's a call to action to harm someone isn't free speech. Cancel Culture is a weak version of calling to action to silence people.

If your company forbids you using anything other than VS Code, then maybe you're at a bad company and that's a great litmus test.

> unedited speech (like Twitter or reddit).

Did you seriously say Twitter? Really? Okay... that's a VERY rare opinion.

Anyhow - I'm done with this silly thread. I find the extreme usage of the letter "a" to be very offensive to me :)
I have seen the theory that the most optimally emotional ideas are the ones that go viral: https://m.youtube.com/watch?v=rE3j_RHkqJc
Vitamin E Acetate may be the cause of the fatalities, but that's not the full extent of the problem. Lack of testing or fraudulent testing for pesticides seems to be a serious issue as well: https://www.thestranger.com/slog/2019/01/07/37770867/why-eve...

Beyond pesticides, I'm also generally skeptical of some of the solvents used for extraction. Supercritical CO2 extraction should be perfectly fine, but apparently not every brand is using that.
Please, just learn SQL instead of creating more Excel messes...

Absolutely, it's amazing the things you can do in Access!
Because it's good for privacy.
Emotion is adaptive, but only if the emotion is revulsion at the idea of skepticism.
I noticed that too. But then I thought: What if, before he started his presentation, he told the audience to save questions for after the presentation.
This is a good point - but do 'steam engines' matter in terms of economics? Smith was pre-industrial revolution, concerned about the mechanisms of efficiency, pricing etc.. That one piece of the process was able to leverage the energy of coal ... definitely 'changes everything' in terms of output, but perhaps it doesn't change the fundamental economic equation.

But this is a great comment.
Is that site crashing anyone else's browser?

I'm using chrome on Android and it kills my browser every time.
Do you see integrated super caps or batteries into the package or die at some point?
If all you want to do is serve up HTML... you don't pick react.
Why the Yoda title?
Betelguese Fades More
> Was it indeed a foolish choice not to trust RDRAND?

From that output? No, not at all. It's not backdoored, it's the same as any other microcode bug. What would be more insidious was if it gave back 0xD82C07CD, 0x6BAA9455, 0x82E2E662, 0x7A024204: seemingly random but secretly predictable. (Hint: Python, random.seed(0))
Thanks for posting, I didn't know about LuaRadio.

After playing with some examples I noticed the weird behaviour of the gnuplot windows that get focused and refreshed (including decorations) at every sample so that beside wasting cpu power for unneeded drawing, it takes away focus from the shell where the program was invoked, making impossible for example to press ctrl+c to stop the program. I was forced at every test to ctrl+alt+f1 to a full screen console to kill the process.

There's a nice Lua GUI project called TekUI which includes a basic graphing control that could be imported and extended to do the same without the need of an external dependency like gnuplot.

http://tekui.neoscientists.org/screenshots.html (look at about half of the page)

http://tekui.neoscientists.org/releases/

It's highly portable, a few years ago I managed to compile and use it on a A10 ARM processor board (Hackberry if memory serves).
> The surveillance system doesn't automatically flag health concerns – often scientists dive into the data once their suspicion is raised, as it was in this case. The outbreak only became apparent in the data once researchers defined more closely what they were looking for and focused on one age group.

I'd be surprised if there wasn't some kind of outlier detection method that could automatically flag a sudden increase in unusual cases.
>AI-fueled eternal September

We will see in our lifetimes how droves of spureous personas flood the internet forever
Off topic or no, this is very disturbing. Are we talking about power noise, or timing noise? The former is generally hard to counter, but we should be able to get our timing right. And doesn't DJB understand all this well enough to get the code right?
Child prodigies: How geniuses navigate the uncertain journey to adulthood
He was also more willing than most to abuse the trust of his fellow students at Harvard.

I imagine it is only a small fraction of people who would be so brash as to ask fellow students for their email passwords, but with the benefit of hindsight, it seems clear that someone who asks for that information probably wants to do something nasty with it.
Economic causes of populism: Important, or important on the margin
How is this different from read(open("/dev/random", O_RDONLY), buffer, sizeof(buffer))?
It creates delight. Celebrating the end of year and winter season
Interestingly both the IIHS and NHTSA perform crash avoidance tests but getting a comparative table of ratings is difficult. You can pull up individual cars, or one manufacturers cars, but not everything. Also, on the NHTSA site, US VW Golfs 2018/19 don't seem to claim have "Crash Imminent Braking" features, but have optional forward collision warning - not sure how that maps to general "Advanced Emergency Braking" features. I wonder if this is a case of overselling to customers.

[0] https://www.iihs.org/topics/advanced-driver-assistance
[1] https://www.iihs.org/ratings
[2] https://www.nhtsa.gov/ratings
What's the limit?
What world is the author living in? Probably just the world of a web developer. Most people use the modern web all the time, it sucks, but sucks != unusable. Very clickbait headline.
Comments which were killed due to flags are distinguishable: they say [flagged]. His comments are just [dead], meaning either they were caught by the spam filter or draw_down was shadowbanned; presumably the latter in this case. HN’s policies around shadowbanning continue to mystify me.
Did anyone archive the Martin Shkreli video where he shows his Excel workflow? Think what you will of the guy, but that was one of the most info-dense videos I've seen, and it's a shame that YT saw fit to remove it.
National Science Foundation awards grant to dev next-gen cloud computing testbed