skysight-inc/HackerNews huggingface dataset:
Rust makes intuitive sense to anybody that knows C++ and Haskell (deeply enough to have seen the ST type constructor). There are some natural, healthy memory management decisions you might make in C++ that you can't do in Rust, but that's life. The obvious example would be if you want one struct member to point into another. I like Rust traits or Go style interfaces over classes. cppreference is far far better than any Rust documentation, which aside from Rust by Example, is an unnavigable mess. Oh, and it would be nice if C++ had discriminated unions.

I don't know enough about D to really comment on it (I read the black book on it 9 years ago, and the examples crashed the compiler), but... it has better compile times, right? There's a module system? I'd have to look at the D-with-no-GC story, figure out how hard it is to interop with C++ API's. I think I'd have better feelings about D (or C++) if it didn't have class-based OOP.
c.f. https://en.wikipedia.org/wiki/Aphantasia , https://old.reddit.com/r/Aphantasia/
> Here are a some facts about Red to debunk your attempt at spreading false information, like the "no tests" and "no comments". For the record, we have written a large number of unit tests (in addition to the regression tests mentioned above) since the beginning:

Yeah. If you only paid attention to what I wrote.

Here's verbatim what I wrote (fixing typos only):

Patching holes are usually like this:

- issue is raised on GitHub

- it's acknowledged

- a fix is written (with zero comments even for the complex issues) and merged

And this is an easily verifiable fact of life. I know that there are tests covering the bigger features.

> The plan has always been to provide architecture-oriented documents and code maps to ease the navigation for core contributors. Though, the core team does not have the resources for now to do that, as our short/mid-term roadmap is already overloaded. Some of our contributors have documented some parts, but those docs are scattered around, and in multiple languages, not necessarily in English.

Once again, you fail to understand what I wrote. While architecture-level documents are fine, and should be written, the codebase itself is entirely undocumented. It's nice that you yourself understand it. Hardly anyone else does.

To rephrase that: there are ~100 000 LOC of undocumented Red code. The percentages you show are mostly comments like "EXPORTED FUNCTIONS" or one-liners that you as the author may understand. Or these beauties: https://github.com/red/red/blob/master/runtime/parse.reds#L1...

Any file you open, it's a vast landscape devoid of any meaningful comments describing what things do, how they do it, what to expect etc.

> So, FYI, there is a "catch-up" stage planned between 0.9 and 1.0, where we will address those gaps, as we want a rock-solid and properly documented, 1.0

So, I'm looking at current speed of development and version increments. 0.9-1.0 looks to become reality in 5-7 years' time, and this is actually fine. However, you expect me to believe that you will go in, document all the Red code that will have been written by that time, and go and retroactively write tests for all the issues you fixed in the meantime?

I doubt that.
You might enjoy Hubski.
> the peril one often encounters in such ecosystems is that "the right technical path" for working with BigCo's system is totally un-translateable to general working knowledge

Having also seen many start-ups fail because they prioritized the right technical path over product-market fit, there's a balance that's generally unappreciated by both pure managerial and pure technical types.
teachyourselfcs.com
> You can advocate using them, but they only help the big players

Not true, they also help the end users, who often get lost in these discussions of big-vs-small companies. Turns out these "whales" everyone is so anxious to target provide benefits to end users, who are often the ones that end up bearing the brunt of the pain.
Yeah, pretty much. Speedrunning takes all the obsessive practicing of classical piano concert performance and applies it to video games. It's insane
This is great advice, I feel. I loaned my sister some money for school, and she made an honest effort to repay me, but started falling back on it after a while. So I just said "consider the rest of the loan a birthday present" and asked her to not pay anymore on it.

Because at the end of the day, I'm not going to let money destroy a relationship, and I gave her that money to relieve her stresses, not to contribute to them. So from now on, if I give money to my family, I let them pay it back according to their conscience and ability. People who need money really don't need more things to worry about.
Victims of #Pylocky ransomware can decrypt their files for free
Once again Eve proves to be much more interesting to read about than to actually play. I love these stories though.
Companies pay to get their job listings in front of the HN eyeballs. This is advertising.
NOVA: Apollo's Daring Mission
And of course I assume this data is archived indefinitely?
Yes. And this may go on for years after you have actually moved. I have a friend who moved out of NYC around 8 years ago and due to is income level is audited by NY every year. He now has a detailed system so he can account and prove his whereabouts in multiple ways every day of the year.
I suppose it has something to do with real labour involved in the preparation process.

Besides, crappy lunch can be done quick but tastes like rectum.
> We don’t know what causes autism

> There is absolutely no doubt: vaccines do not cause autism

???

> A growing group of people now believe the earth is flat

No, you just fell for an internet meme
I am going to keep posting the ledger of harms - https://ledger.humanetech.com/

Until we see all the issues in one place like a github issue tracker, solutions will always be piece meal and confined to personal experience.

We need more issue trackers like this, so that people with solutions to one issue or another have some sense of the big picture. Also Big Tech cant weasel out of one issue by talking selectively about another.

Who knows, maybe one day we will get to proper integration/system wide testing for fixes to social issues...
Driverless AI from H2O and
DataRobot
I think that the early expectation was that, since (non-.NET) Visual Basic was being sunsetted at the same time, VB6 developers would quickly adopt VB.NET, and that would lead to VB quickly becoming the most popular .NET language.

Which, yeah, proved to be hilariously wrong. Here we are in 2019, and I can still name several actively maintained applications that are written in VB6.

Another thing they couldn't have really known at the time was how exactly C# and .NET would evolve over the following decade. Once upon a time, interacting with COM interfaces was much easier in VB.NET than in C#, and that made it relatively more attractive as an enterprise dev language. C# 4 more-or-less closed that gap -- VB.NET's other practical advantages are so minor they don't really even bear mentioning.
This matches my experience as well: in our devops group it's basically a weekly occurrence to have a statement like “this is much {easier,safer,more robust} when we can use systemd”.

Upstart was better than SysV but it took many years to add basic functionality (e.g. setuid/setgid, console logging, etc.) and there are still problems like not being able to reliably keep a process unless you remember add things like post-stop sleep blocks.
I think a lot of the difference with Eve vs. other MMOs is that it's all a single shared instance rather than multiple separate "servers"
how does 'stylish' compare with 'get programming with f#' ? i read get programming with haskell and it was good (even if too slow).
no they forbid dual mandate, they have now groups but those are super nationals. but the country receiving the regulations do, so there's that.
Math/physics curiosity and absurdism, mainly.

It's a die that always comes up 1, without cheating. How is that not art?
A filter cap. It is in parallel to the actual load and once it's charged, there is not current anymore. It only booms when the voltage is to high.

Many chips, like a bluetooth chip, don't draw power continuously, but there are spikes. These spike in current can lead to the voltage dropping to low. A filter cap acts against that.

Sometimes, especially in prototyping circuits, where nobody took care of properly designing a power supply, filter caps are the first cheap shot at fixing weird behavior.

If you wanna know more, google the term, there is way better explanations then mine, form people with way more profound knowledge.
Pretty cool, but worth noting that most rare-earths aren't actually that rare and supply shortages tend to be because of the long delay in ramping up mine production. We aren't close to running out of any metals/minerals the last I heard. I'd be interested in seeing the economics of mining this mud compared to more traditional methods.
> I don't know what the answer is, but it seems like we should be able to do a much better job selectively returning results to "wall off" the things we want to separate and avoid accidentally letting through, rather than simplistically blocking words, which is clearly what's happening in some cases.

This is just defense in depth. If you know a query returns 90% CP before filtering, even if your filters are 99% sensitive, you're going to get some CP in the first few pages for that set of terms. So if you identify a query as CP-seeking, then you would rather probably just show nothing at all. Of course, the definition of CP-seeking would have to be tuned, but the ratio of legitimate to CP results would have to be a component of that.

> You don't necessarily have to identify every single image to know that certain terms should not be returning results from sites and pages that have a high probability of being porn

We definitely already do that, and have been doing at least since the late 2000s.

> Anecdotally it seems like all we've done is to edge closer to ruining search for legitimate situations without accomplishing much.

Objectively, this is not true. We have accomplished a great deal in terms of CP suppression, and search is better than it ever has been for the vast majority of legitimate queries. Regardless, I'm sorry that you feel that way.
My PhD is in Computer Science (mix of algorithms and data mining and some bioinformatics). I switched advisers few times.
I can teach, I love teaching and I have huge experience being a teaching assistant. But there are some issues with teaching right now:
1-Most universities require teaching and research.
2-I want to move to software engineering work.
3-If want more and not start software engineering now, as a fresh PhD graduate, the problem will be worse later.
>I know people with masters and doctorate level of education in medical and chemistry and other highly technical fields who believe in UFOs, creationism (the 10,000 year old Earth variety), among other things

There should be a registry of doctors who are creationists or believe other nonsense (I'll give the UFOs a pass depending on just how fervent their belief in them is; I mean, can you prove we haven't been visited? The evidence isn't very good but you can't prove a negative. If they believe they've been abducted, however, that's a whole different level. Of course, I also can't disprove their claim but I'd rather err on the side of caution and assume they have mental problems and find another doctor.).

I don't want a doctor giving me medical advice when they don't even believe in basic science.

>It all comes down to that better decisions are the decision I agree with, whoever the I in any given instance is.

Perhaps, but I think it should be obvious by now that people who decided to vote for Trump have had an extremely detrimental effect on the nation's economy and well-being.
Except it wasn't clear that anybody would ever be able to do this to HK. Goons were considered utterly hopeless at wormholes and every previous attempt to take and hold wormhole space failed miserably. It's notable that massive coalitions like PL or CFC simply haven't recorded any successes against people like HK, ever. This was a monumental effort and it doesn't deserve to be swiped under the rug with a "ah, well, Init is bigger, so it doesn't count".
TPOT python library
Most of the comments here are either elaborating on the OP, or justify lurking. I am a mostly-lurker myself, but I felt the need to comment here, since I was hoping to see the discussion go into a different direction.

The OP uses the word "insane", not outlier. It's clickbaity, and used in jest, but I think it better captures a subtlety of this phenomenon: The prolific commenters are molding every discussion in their image. They might have an interesting angle on the story, or they might just be saying trivial things with beautiful prose. In any case, there is a lack of diversity in general -- discussions are driven by the worldview of a few.

That would be an argument for lurkers to make an effort, even if, like this comment, it's just a barely-formed idea.

Edit: "molding the discussion" -> "molding every discussion"
N. David Mermin – Making better sense of quantum mechanics
Genes, Environment, and Luck: What We Can and Cannot Control
People have always read way too much into this essay instead of looking at it for what it is: marketing material for Y Combinator.

It doesn't speak to you? Ok. That's fine. You aren't the target audience. Obviously there have always been millions upon millions of people who live perfectly happy, productive, successful lives working for large organizations. However, some subset of people have always felt dissatisfied in this arrangement. For some of those, this essay might be the spark they need to look around and find something that suits them better (and maybe Y Combinator can fund them.)

I'm feeling old that the average HN reader anymore doesn't seem to know who Paul Graham is.
From the comments to the article:

> Annelisa Stephan	on December 18, 2018 at 12:07 pm

> You can browse all the photos at the following link:
http://primo.getty.edu/GRI:GETTY_ALMA21118428440001551

> Click the links to the right of the screen reading “Connect to digitized images of…” to browse the various series. From there, select an item by clicking the blue title link. Once you are in a record for an individual image or album, click the thumbnail image to the right of the screen to see it larger and, in the case of albums, page through the contents.
Show HN: Pam_pwnd – A PAM module to test passwords against previous leaks
True but only until the 'language/tool' becomes self-hosted.
I think part of the reasons is the parallels to real-world war. Humans are naturally pre-disposed to warfare, but (thank god) never have a chance to experience it in day-to-day life. This attack was probably closer to some of the epic battles of history than most real battles today, so reading about it is as interesting as reading about WWII or the Mongol conquests.
There is net migration INTO California, but the mix keeps changing. Over time, taxpayers move out and "beneficiaries" move in. This isn't a value judgement, its a stat.
> AIUI, Swift uses reference counting, not fully-general GC. So, it's really not different from Rust from that POV, other than the fact that Rust can avoid the overhead of atomic refcount updates (or sometimes of reference counting at all) in many cases where Swift requires it.

No, ARC is a kind of GC. In particular, you have the same pausing behaviour as mark/sweep GC, because freeing any value might result in having to free arbitrarily many other values whose reference counts now go to zero.
Even the outliers are unlikely to break one PvP encounter every 1/2 hour on average. Most people would call that boring.

(Total kills) / (player base) is going to tell the real story for most players. Some of these numbers are of bots and players piloting multiple ships waiting for an ambush etc.

However, as PvP destroys wealth much faster than it’s created PvP must inherently be rare.

PS: I don’t see any listing for daily ships lost. But 1 per 60 hours of gameplay seems about right from what I recall.
"but it's perfectly functioning and always has been."

This is so deeply wrong it's offensive.
> [...] might [...]

Punitive measures on information like this rarely encourage anything. The worst part is people look at the intent and potential effects of legislation as though it is the actual, realized result. I have to assume the reason is a mix of naive optimism, anti-big-web-tech, and the inability to take the bad with the good so e feel obligated to keep shaping things. Real, actual teaching and encouraging and efforts and money and motive and all of that is far different from what's happening here.
It works better if you add water as reaction mass. :)

http://aircommandrockets.com/water.htm
Of course, my friends (and I) already know about this and the paper improves upon it.
Sorry, I think I misspoke. I didn't mean that I think of it in those terms normally. working with RF everyday, I think of it as time and frequency domain in the sense that you were describing. But mathematically I could see how the polynomial makes sense. Also, I was only thinking about discreet time since we are talking about the fft.
...at the cost of globals all over the place and significantly fewer code-to-interface (rather than code-to-implementatation) moments.

I'd rather test a well-factored JVM or .NET application than I would any Ruby application I've ever seen in my life, to be frank. I've never, not once, had to write a mock (awful) for a test in a JVM or a .NET application, and the quality of my tests reflect that.
>Why is an Eve battle that destroys tens of thousands of dollars of value (or more) more gripping than a minecraft world with tons of detail?

Minecraft isn't an immersive universe, and it doesn't really have that much detail to draw one's attention outside of gameplay.

Eve, meanwhile, has social and political depth and the complexity of its space opera setting, and its stories would make for interesting sci-fi drama even without the real world financial consequences.

It's basically the difference between the lore of Super Mario Bros and Game of Thrones.
You are assuming that everyone who gets caught by a camera is driving recklessly
That's not the same code, is it? GP's code does not seem to compile in C++: https://godbolt.org/z/5oAIYE

But it does in C: https://godbolt.org/z/zdTKiE
honestly? i do. i've worked for a big bank as well as a small (10~15 people) startups and i hugely prefer a startup; mostly (if not all) because of stuff pg cites on this article.

i feel more free to be creative, to implement interesting stuff, to experiment. not having that management layer on top of you is kind of liberating.

ofc this is not for everyone (just like remote work is not for everyone -- i love it, but i don't recommend that every single developer out there stays at home from monday on), but i do think (from my own experience) that you will become a better professional working for startups.
Ah, thanks, you're probably right about where I got it from.
>If you want to balance the ageing of society and the electorate, open up voting to the young by way of balance.

As I pointed out in another post here, I personally do NOT think the problem is age, despite the thrust of this article. As I said before, the alt-right is not full of geriatric people, it's full of men in their 20s-40s, mostly men with poor education.

As a man in that age group myself, I hate to say it, but I think the country would actually be better off if only women (of all ages), and men over the age of 60 could vote.
And they support MS Office files formats in Pages and Numbers...
> It's meant to allow EU news publishers to bill Google and the social networks for distributing snippets/link previews of their content.

I see this as an unreasonable reduction of previously established fair use. The fact that most of the companies linking to news articles using snippets are American, like Google and Facebook, while many news publishers involved are EU-based hints at a geopolitical motivation rather than any fundamental change to the fairness of this sort of use.
"In a weird way, this might be EU's strategy to finally deal significant damage to Google and Facebook,"

Yes, it' a strategy of their failing commercial entities to wring a profit out of entities like FB and G who they think are profiting.

Of course it's among the worst strategies available.

What they need is more innovation, not more regulation.
Many of the activities we do today for recreation are surrogates for things that were a means of survival for our ancestors.

George's Hebert, a French naval officer who introduced to the world the modern military obstacle course was inspired by fitness of indigenous tribes he had met in Africa.

"Their bodies were splendid, flexible, nimble, skillful, enduring, and resistant but yet they had no other tutor in gymnastics but their lives in nature."

Hebert's Grandson, David Belle, founded Parkour.
Introducing a new state management library using React
Yesterday's post got no attention so reposting as a text post (I checked first if it was okay to double post. Looks like it is!)

I've created a state management library that uses React for components, setState, lifecycle hooks, etc.

You can represent your state with React components that return arbitrary values from render(), composing a big object, big array or string, and you can mix JSX into it as well.

Check out the repository at https://github.com/fabiosantoscode/react-applications and leave it a star if you want to watch for new changes.

If you want to watch the video, it's at https://www.youtube.com/watch?v=FgzJk4k4IhU

Oh yeah, and pure functions work just as well. Just got to work on adding React hooks, which I've been loving to use.
I agree that they are no panacea, but we also have an example of the Intel Xeon phi, which did have high speed hbm memory. That too did not compete with GPUs. I think the majority of it has to do with the GPU chip itself being extremely simple, with no Branch prediction, no branch difference, very simple caching behavior, etc. They are able to allocate a much larger portion of the die to just throw fma units at it.
Lumping together $50k-$50M as though that's a meaningful interval is especially misleading.
One way to "fix" this, unfortunately, is the same way some firms "fixed" their non-GDPR compliance. Block European users. More specifically, block users coming from IPs known to be located in Europe.

Fundamentally, laws have jurisdictions that they are valid in. Imposition of a law outside of a jurisdiction is problematic at best, as it enables some bad actor countries (pick and choose who you want to consider to be in this group) to export their internal battles globally.

A great example of this is the US's FATCA rules, which have resulted (at least initially) in many non-US banks denying banking options to US citizens. Due to the threat built into the law, of being unable to leverage US banking system, if they fail to comply.

As someone else commented, the road to hell is paved with "good intentions". Solutions will emerge to route around the liabilities and costs this creates, but probably not initially.
New App Uses Sonar to Detect Opioid Overdoses
So how do you explain the exact opposite actually working in the wild?

Over the past couple hundred years, almost all full communist/socialist governments have failed, while market-based capitalistic ones have pulled billions out of abject poverty.
Capacitors do not conduct any current in steady state but rather conduct more current with higher frequency. The equation is i = C dV/dt

So depending on what frequencies you want to filter out you can change the capacitance C.
I’m not sure how accurate that is. It’s obvious to me that American companies larger than mine have cared enough to take action. If they really had no obligation I’m sure they would have simply done nothing.