skysight-inc/HackerNews huggingface dataset:
I definitely have work friends, but it's disingenuous to call most peoples relationship with their boss just a "financial relationship".

In the US your healthcare and well-being are pretty much dependent on your job. And make no mistake, this is 2020, where your org will fire you for any reason so long as it makes sense to an MBA. As your sole source of income and healthcare they wield immense power in your life, and any interactions you have with coworkers or other work-related engagements are going to revolve around that power disparity in some way. Sure there are freelancers and well paid devs who can come and go as they please, but those are a tiny minority compared to all of those who are thusly constrained.

Point is, don't make work your social life cuz when they fire your ass you're going to lose your support network AND your meal ticket.
> Why do phones require device-specific builds and ROM flashing just to install a different OS? Why isn't there a phone out there with a normal boot loader that allows me to install whatever OS I want like I can on a PC?

A few reasons:

1. Proprietary drivers are the norm for mobile devices, whereas (with a few exceptions) this is not the case for desktops/laptops.

2. Even when the drivers are free, standard practice among device manufacturers seems to be forking the kernel for each device and working off that fork. These things don’t and can’t run on mainline Linux/Android.

See the Librem 5 and PinePhone for what are probably the only two devices attempting to fix the above problems. And even if you fixed those:

3. ARM devices typically don’t have the same device enumeration capabilities as x86 PCs, meaning you need a separate device tree for each one. I believe there are also efforts underway to improve this situation, but that’s where we are at the moment.
Oil prices going down is a good thing for the economy.

I think people are confusing cause with an effect/correlation. Oil going down usually indicates a recession. Bad economy -> Lower demand for Oil -> Lower oil prices. In that case it's a signal/trailing indicator.

In this case it's: Increased oil supply -> Lower oil prices -> Everything gets cheaper to make -> Increased economic activity
Underwriters/actuaries.

Many underwriting jobs can be remote. Entry level salary is around 50-60k with just a BS. Fair amount of growth and opportunities. Can get an MBA/go into management and make > 100k.

Actuaries require more math/stats but can be hired with a BS. But, I've got a friend who started at 80k with a Stats BS in a low cost of living area.
Likely because of the volatility and the demand it caused.
Analogies are just analogies. The point of my comment was that you need to approach this with an open mind, forgetting what you already know from other languages.

> Overly-concise code being difficult to maintain is a well-accepted fact.

Your well-accepted facts do not apply to this totally different paradigm. You seem to think those well-accepted facts are universal. They are not.

I have spent the last two years learning about array languages and think it is a fascinating topic, so I tried to give some advice (based on my own experience) to those who want to make the same journey. My point is not that you need fluency (you need some fluency to understand anything complicated), it is that the fluency you have in other languages may be counterproductive. Your comment is an excellent example of this.

Try to read a tutorial. Rewrite it using "meaningful names". All we have done that at some point, and all we started finding the sort names more comfortable to work with after a while. Don't take my word, give it a try.
Show HN: Tetris Clone in WebAssembly with Rust
I have empathy for the engineers there. Here's hoping they get the resources and support they need.

After vents like this juniors turn into seniors, seniors into VPs, and VPs going on sabbatical.
I still think that the AppleTV is where this will start. They now support multiple accounts, have an app store, etc. iOS supports keyboards and mice, and they have a "conference room display" mode that brings them into a business setting.

Release the iWork suite and some sort of thin client/remote desktop app and then see how people use them. Learn, iterate, repeat. They can build an ARM-based Mac bit by bit, out in the open, without anyone freaking out and killing their x86 sales.
I guess that's true. It was my inner compiler-writer speaking there. (To match defunctionalisation with the initial algebra pattern does require HOFs in all but the simplest cases, I think.)
How woke illiberalism is killing the academy
Just a guess, but I imagine he's talking about how we've been taught certain context clues from media that aren't exactly accurate. For instance, that bubbly low passed sound when a character is underwater or the crunchy punch sounds that aren't what a real fight sounds like.
Ask HN: Resources to learn about the airline industry?
Somehow I'm unable to find much about the industry in terms of:

How Airports are priced and work

How Planes are manufactured and their supply chain

How routes are planned

etc.

Does anyone have any resources they know of on these topics?
Is it related to the forced shutdown?
I can practically just smell the inflation.
Yep. And volatility is no fun for anyone in the meantime.
I get the feeling that some people put things in the wrong bins deliberately "to annoy the silly greenies".
> There is no other reason we are here, than money.

Various articles indicate that competitive pressure and trying to speed up development of a competitive alternative was also a cause for this. A new airplane would've required more work to get it certified. Making the changes under an existing type certification saves a lot of time.

Possibly a more engineering focussed company would've developed an alternative much earlier than when Boeing finally woke up.
Orthodontist

https://www.ziprecruiter.com/Salaries/What-Is-the-Average-Or...

NY average is $320k, but range is $80k to $435k. Braces ain't cheap!
Seemingly this is the strategy of many Bitcoin exchanges as well, as every time Bitcoin price is going down, mysteriously Coinbase is having issues with their systems.
The leap from senior developer to vice president is a lot further than you're implying... a lot further.
It's a really nice setup. We try to plan it around a low-cost lodging option (one of our houses or a family cottage). You end up with a week long vacation for basically the cost of travel (at least for biking).
This is a good reminder that all these new mobile(brokers|banks|&c.) are not as good as the historical systems that have been stress tested for decades. All is good when everything works as expected but as soon as the slightest issue arise you're in for a ride.
I wish my vote was 1 out or 300 million at a federal level. Due to the electoral college my vote in California is worth 1/3rd what someone in Wyoming's is worth.
> Like I mentioned, these are just a couple problems from a longer list. Occasionally, I pick one and (try) to solve it. If I tried to solve them all, I wouldn't have much time left for anything else. :-)

> My more general point is Emacs is pretty janky.

Well, for various definitions of "janky," perhaps. But I think your problems are mainly from third-party packages and your init file, not from Emacs itself. It's very common for Emacs to get blamed for badly written packages and code copied from random places. Such problems usually disappear by running `emacs -q`.

> I just checked, and 36% of the files in my site-lisp directory are using lexical scoping.

Maybe you meant the `lisp` directory? `site-lisp` is for site-local files, e.g. ones provided by the distro packagers and sysadmins, not by Emacs itself. I have a single file in my /usr/share/emacs/26.3/site-lisp directory, `subdirs.el`, which contains, in its entirety:

(if (fboundp 'normal-top-level-add-subdirs-to-load-path)
(normal-top-level-add-subdirs-to-load-path))

In contrast, /usr/share/emacs/26.3/lisp contains 258 .el.gz files, from Emacs itself.

About the same percentage as you mentioned use lexical-binding, yes. Patches welcome, I'm sure, although I wouldn't expect a noticeable performance improvement by changing them to do so.

> Dynamic scoping can be handy! Here's (incredibly nasty) my fix for the hard-coded 1-second delay in shell mode:

That is pretty nasty. ;) There are two better solutions:

1. Use ansi-term instead of shell. ansi-term is the better shell package included in Emacs. AFAIK there's no reason to use shell over ansi-term. Just call `M-x ansi-term RET` instead.

2. Generally, use advice rather than `flet`. But I can't recommend advising `sleep-for`, as that would be likely to cause problems.

And FYI (you may already know, but in case not), with lexical-binding, you would have to use either advice or `letf` with `symbol-function` to override functions like that.

> The fact that such a fix is needed, on the one hand, and that such a fix is possible, on the other, are emblematic of the both cultural and technical reasons that emacs is not more robust.)

FWIW, there is no call to `sleep-for` in my Emacs 26.3's `shell.el` file. I suspect you have a configuration problem, or perhaps you installed an Emacs that was packaged poorly, with ill-advised patches applied.
Because it was always done that way.
Global share markets are going down the toilet, and there is no toilet paper to flush them down with!
The Remarkable Utility of Dataflow Computing
> I don't believe this holds up to scrutiny. APL as a language was made to be spoken, and it seems to have succeeded in that. Alan Perlis briefly touched on that in a great paper,[1] and just about everyone who's worked with the language and its derivatives agrees that your statement isn't true.

The people who have worked with the language are a small and highly specialised minority of programmers, unusual in many respects. I haven't worked with APL, but I have worked with symbol-heavy Haskell-style code, and I've found that even if these operators theoretically had standardised, pronounceable names, in practice being able to talk about them was a genuine problem. If there's some special difference between APL and symbolic Haskell libraries, what is that difference?
The fact that these controls on the stock market have been triggered reinforces my doubts that our current "profits and growth over sustainability" view of how public companies should operate is in any way good.

Short of a huge change in COVID-19's mortality rate, few if any of these businesses will go under in the next year naturally. The fire sale of stocks due to short-term impacts to revenue, however, just might do what COVID-19 can't.
It's similar, but Haskell uses :: for types, and : for building lists, while the other ML family languages (and typescript) uses : for types, and some use :: for lists.

Also Haskell doesn't have modules, so I thought it was ML. Though I think someone said it was F#? I don't know those well enough to tell them apart.
Yeah I'm feeling pretty much the same.

If this was the status of our builds at work, I'd be very worried.

It's interesting to see how it spikes up and down though, never really paid attention to it until now:

https://www.koyfin.com/charts/gip/INDU_EC?t=SPX&t=NDX&frame=...
Ehh... I mean ... if the whole rest of the world was somehow unaffected by this ... then ...

You do get that a reasonably conservative projection is that within a year most people in the world would have gotten COVID-19? How the heck did Trump do that?

The only means of slowing COVID-19 has massive effects on the economy. There is now way in hell this would not have had a massively negative impact on the world economy. If you could give some meaningful argument for why US is handling it worse than the rest of the world, by all means. But just saying "Trump is bad" seems to be completely disregarding the reality.
Being busy makes you unproductive
Good for short/medium term economy, terrible for the environment though unfortunately. So probably bad for the long term economy when carbon/environmental risks take effect.
I'm doing my part by not having an account with them.
Microsoft developed XHR in 1999 to support Outlook on the web.
Ming is dead.
I mean, if you work on a CRUD application, you're kindof stuck where you are. If it's written in Python, I think it's naive to think that your JavaScript knowledge will be very helpful: So many things are just too different. The JavaScript developer is looking for promises and maybe event streams, but 11 years ago, Python asyncio was uncommon, so you've got a thread-per-worker model. It's terrible any way you cut it!

What you've got that's similar: Block structure, single dispatch, everything's an atom, and a few seemingly familiar keywords like "for" and "if" that despite working differently, often appear in familiar patterns. I mean, how different is for k in x: than x.forEach(k =>? It seems like enough of these things dominate those first few steps into the unknown that they provide a comforting handrail into the descent into the coming madness, but it's difficult for me to believe it provides anything more than that.

And it's my experience that kind of comfort can be a lie: To read a fragment of well-documented code, to be amazed in the work and thought that clearly has gone into it, only to discover that fragment contained a bug I skipped over (since that area was so well tested and so clearly good) simply because I didn't bother to actually read it. So now I read. And maybe I read JavaScript and Python a little slower than others, what's important to me is that I also read JavaScript and Python slower than I read k.

I think that's a valuable trade.

But I think you're touching on something important: It's very difficult to mix in a little bit of k into an existing application to "try it out". I hope that there may be things we can do to the environment to make k more accessible and approachable that don't involve trying to cut out this valuable thing, because this thing that makes k unique is just so good I don't want to give it up.
In startup land, a junior developer is another startups senior developer, and same applies to senior developer <> VP. Simply down to what the startup you're working at. Might not be that far.
Building a shareable personal journal alone, with help
There have been Hotspot backends for ARM and AArch64 in OpenJDK for several versions now.
Better presentation than Twitter:

https://www.targetliberty.com/2020/03/everything-you-should-...
Postscript is a concatenative (stack-based) language, not algol-like at all. Just as array languages, concatenative ones are terse and regular, but reversed (left-to-right evaluation instead of right-to-left).

In my opinion, it is a fair comparison.
Something tells me Robinhood users will abandon stocks altogether after this week.
I _kind_ of expected this after last time. I wouldn't want to be working there right now :o
In that case, I recommend using `general`, which is designed to make configuring EVIL keymaps very easy. It also provides a `use-package` keyword. I use it for all of my keybindings even though I don't use EVIL.

https://github.com/noctuid/general.el
What I was trying to say is that all of this comes down to finding transforms in a very large search space that convert certain inputs to certain outputs. So maybe there are generalized algorithms that can do that better than GAs or NNs or any of the other specific approaches.

Look at all of the effort that has been put into optimizing rasterization in 3D graphics. But meanwhile a student can write a ray tracer in a page of code. I would have preferred that the industry put more effort into the ray tracing side because the abstractions are so much simpler that it would have progressed the state of the art further. Instead we ended up with relatively complex and proprietary implementations of SIMD and that's great and everything but that completely overshadowed the alternatives.

And at the end of the day, users don't care if their 3D framework uses ray tracing or rasterization. All they really see is performance or efficiency under the current paradigm.

So when I see pages and pages of relatively cryptic NN code, I wonder to myself if maybe some other simple curve-fitting or hill-climbing algorithms would produce the same results. Or maybe even spitballing with a GA and letting the computer discover the algorithm would work just as well. It seems like with 10 times the computing power, we could use algorithms that are 10 times simpler. But I'm not really seeing that.

Ok to be a bit more concrete: say you have teams all competing to write the best sorting algorithm. Maybe they all independently derive each of the main ones listed here:

https://en.wikipedia.org/wiki/Sorting_algorithm#Comparison_o...

But none of them read the fine print to see that big-O complexity wouldn't be judged, just code size. So the bubble sort team ends up winning with the simplest implementation.

Maybe the judges are running the contest in order to find the smallest code that performs sorting. Maybe they have a special computer with a billion cores that can only hold 256 bytes of code each. But the contestants are still thinking linearly in terms of serial execution so submit solutions that really don't help.

I feel like everyone is focusing on the details of whether to use RNNs or CNNs or any of the other types of NN:

https://medium.com/@datamonsters/artificial-neural-networks-...

When we should really have "classifier" algorithm that works like a "sort" function in a programming language. The computer should use the best machine learning model for the use case automagically and not trouble us with implementation details. Then we should be able to build up larger constructs out of those basic building blocks.

I'm not articulating this very well. Just trying to express a general frustration I've had with AI from the very beginning and trying to point out alternatives that could get more people involved and bring us artificial general intelligence (AGI) sooner.
In most financial companies, the next step up from senior developer is VP.
> Recession? Definitions are toxic to the real problem.

Okay, then lets not use them. Is what we are seeing now primarily a consequence of of COVID-19 or not?
Correct use of functional programming:

[The Pure Function Pipeline Data Flow v3.0 with Warehouse / Workshop Model](https://github.com/linpengcheng/PurefunctionPipelineDataflow)

1. Perfectly defeat other messy and complex software engineering methodologies in a simple and unified way.

2. Realize the unification of software and hardware on the logical model.

3. Achieve a leap in software production theory from the era of manual workshops to the era of standardized production in large industries.

4. The basics and the only way to `Software Design Automation (SDA)`, just like `Electronic Design Automation (EDA)`.Because [The Pure Function Pipeline Data Flow] systematically simulates integrated circuit systems.
The article's lead is a lie. Slate reports that "$3 billion represents only a small part of the bank’s takings from just this one scam", but that's simply not true - as they quoted (!!), Wells Fargo was only accused of taking millions. (The Warren quote they pointed to seems to also be a lie, but I guess it's plausible that she has some principled reason for thinking that $12 billion of profits are "from" the fake account scam even though they're not directly taken from customers.)

This doesn't fill me with trust that the article's other examples of misconduct are reported honestly.
Max played a critical role in what I think is an under-rated science fiction movie called “Until the End of the World.” He comes into the story pretty late, and is crucial to a tricky transition from a “road” movie to something far more dramatic.

That seemed to be a popular role for him later in life—a sort of super character actor who could come in and punch up the gravitas of any scene with just a few lines. I think that says a lot about his abilities as an actor.
Another way to put it is that Coronavirus is forcing people to realize that we’ve been papering-over weaknesses with easy money for quite some time. That said, “economists have predicted 5 out of the last 3 recessions” — people have been warning against one for years now.

But the problem is that coronavirus is threatening the real “brick and mortar” economy — travel, restaurants, retail, etc. Its hard to address that without fiscal stimulus, and we haven’t seen much talk in terms of that yet.

Add to the list sub-prime auto loans, a huge amount of student loan debt...
itsfoss
Real rates are (and have been) negative. :/
I don't know if it was a good bet but I moved all my 401k into money market accounts for the time being last Thursday. I feel like those who say I should ride the wave down are probably not telling me the truth. All indicators seem to suggest a 25% correction or more before the end of the year.

I've been buying stocks heavily on the latest dips and so far that is all down around 20%. I diversified investments in cruises, airlines, real estate, banks, tech and more. It feels like 2008 is happening all over again.
Incredible that anyone is still using Robinhood! It's pretty obvious that it's a broker not long for this world.
Scrum master seems to pay well around these parts.
Agreed, let's not discount COVID-19. You're going to get a steady drip of ugly news for months. There is reality to the COVID-19 news too. I'm expecting heavy hits to airlines, cruises, theme parks, sporting events, etc... Profits will decline.

If you're not needing the money soon, you'll probably be fine with riding it out like you may have with the great recession. I'm pained by the stories of boomers and others who sold low during the great recession and didn't catch any of the gains when things started turning back around. This too shall pass.
That makes a lot of sense to me, but it doesn’t seem to be the case and I don’t understand why.

Is it oil prices down -> large oil based economies at risk due to vastly lower margins -> global instability from inability to make payments?
Maybe, but SpaceX strongly dislikes doing expendable mode, if at all.
If their brokerage license isn't pulled after this, what does it take? C-Suite _literally_ setting customers' money on fire?
Quick link to the live view for DJI for anyone who doesn't want to search for it: https://www.tradingview.com/chart/?symbol=DJI
Junior programmers may not be writing compilers but there are at least two scenarios I can think of defunctionalization can become useful to the mediocre programmer.

1. Serializable, scriptable configuration parsing (i.e used widely in video games such as visual novels)

2. RPC over network where request/response paradigm isn't applicable (i.e a distributed state machine, language server etc)

Both of these can be worked around with existing techniques but they can also benefit from defunctionalization for much better debug-ability.

In my comment, I stated that even non-junior programmers have hard time reading these kind of articles and I believe they already deal with problems like 1 and 2 in their career.
Yes, I fully understood from the beginning that there are workarounds that mean that this can technically still be used for transmitting images.

The point is that this remains a pragmatically useful solution.

While it could technically be used to transmit images by parallelizing it, etc., the goal is to make it bad enough for those purposes that practically, other solutions are better.

By creating a really bad channel for images, many other solutions become pragmatically better (e.g., snail mail & encrypted USB drive, carrier pigeon, etc), even though it remains mathematically possible to use this.

The analogy is a common home front door lock set. They are good enough to prevent casual break-ins, but can cracked in minutes by a professional burglar. The lock does not need to be perfect, only good enough that it becomes pragmatically easier to break in by other routes (e.g., crack a window, etc.)

The question is, what is your solution? Ban this too because it is mathematically imperfect -- i.e., ban all encryption -- or what else?
Sinews