skysight-inc/HackerNews huggingface dataset:
Just a reminder that revenue != profit. McDonald's net income for 2017 was US$698.7 million [EDIT] which is only 13% the number cited in the above post.

Don't be misled by people unintentionally (we hope) citing revenue numbers to bolster their case.
Trains, busses, and street cars were much more common in my city until the 50s. Every major town around me (within 4 hours), and my city was established by because they were a rail stop.

I feel this is most pronounced when I go to the mountains 2 hours North; which was a popular summer destination at the turn of the 20th century to the mid century. Now it's a long drive away and no longer has the visitors it used to have.
"a long time" = a maximum of three years?

I think the two of us just disagree on how spans of time should be labelled.
Ahhh, the good ol' "fires burn houses down all the time" defense of playing with gas indoors.
Interestingly, I started off with Elixir & Elm and then moved on to Haskell. Elixir & Elm both feel like DSLs with abstraction level purposefully constrained relatively low. A lot of the concepts in those languages didn't make sense until I started picking up Haskell.

I don't really know if it's ultimately worth it or not but as a programmer I want to evolve by raising the abstraction level in my code. Haskell is the perfect platform for that.

Btw any examples of those warts in Haskell?
You have absolutely zero understanding of wealth.

An example to prove my point:

You have an apple seed. You plant the apple seed. You tend to the growing plant (soon a tree). A few years of work tending to the plant, and you get hundreds of apples every year.

No money is necessary. Wealth is about abundance. Money is just one type of scorecard.

Apologies for the strong tone, but the type of thinking that you just displayed has destroyed civilizations in the past.
A friend found an old San Francisco bus schedule from the 1920s. I just remember it was faster to get from downtown to the Outer Richmond in 1925 by bus than it now. And actually faster than it is by car too.

Also remember San Francisco to Yosemite was I think 6-7 hours by train at one time.
apt get install burn-laptop
Actually, I'm pretty sure it's a research limitation. It's not clear how lifetimes and locations (in the lvalues sense) relates to more traditional linear logic which is well understood. And this despite the existing research into regions.
Don’t do this here please. Either offer something constructive that is related to the content of the parent comment or don’t post at all.
I'm curious what other trade-offs you've noticed yourself making. Can you share?
> When playing AI Dungeon 2 the player can choose from several possible settings and characters. These choices generate a starting prompt and context sentence. The context sentence is always included as input to the model to help keep it grounded to the chosen setting while the starting prompt is the beginning of the story.... For each action you type the model is fed the context sentence as well as the past N action-result pairs in its memory to generate the result. We found N=8 to be a good amount of memory to feed the model.

from the blog post: https://pcc.cs.byu.edu/2019/11/21/ai-dungeon-2-creating-infi...
The post was declared false and retracted in an HN comment above.
I was also wondering this. There seems like a pretty good case for the headline, but the more interesting question from the article is whether funding the GSA through some alternative (appropriations) would save the government money compared to the IFF. Which may come down to the kind of behavior the IFF incentivizes, whether it be corruption or self-serving yet legal optimizations. The information you provided about the base rate would have benefited the article by giving some idea of the scale on which the GSA operates.
They should provide the breakdown of accused specifically for Non-Consensual Sexual Penetration. They lump all sexual assault together and then break down by accused, which seems like they’re trying to hide that it’s the drivers who are doing the actual raping, and it’s the backseat passengers who are trying to cop a feel during a drunken makeout session.
I've never directed a movie but I'm not allowed to say that Dumb and Dumber 2 is a terrible movie? Your logic makes no sense.

I've read well and deeply across a broad spectrum of classic philosophy and psychology and I think Simon Sinek is a dilettante and basic thinker. I'm allowed to have that opinion regardless of whether I have written books or not.
Personal attacks will get you banned here, so please don't post like this.
We've asked you more than once, including https://news.ycombinator.com/item?id=19811041.

https://news.ycombinator.com/newsguidelines.html

Edit: between the parent comment and these, you were outright harassing another user:

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

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

And you did it here too:

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

This is bannable behavior on HN. I'm not going to ban you because not only have you posted good comments to HN recently, one of them was an Aleksander Blok translation. That's first rate. But please don't do anything like the above in the future.

It's important for HN that people be able to discuss their work, or their employers, without being harangued. Should they disclose it? Sure, in principle and when appropriate, but that doesn't mean every comment has to include it like boilerplate. The range of appropriateness has some elasticity. Neither gregable nor joshuamorton was out of line (anyone can just check their profiles). Your attacks on them were out of line though.

Using people's employment information to attack them just disincentivizes them to participate in threads that they probably know a lot about, since most of us are experts in what we work on. That's a really bad tradeoff for HN, so users need to pull their punches.

https://hn.algolia.com/?dateRange=all&page=0&prefix=true&que...
You can tell who was born with a silver spoon in their mouth by their response to this. The "why can't we just make all jobs great forever" responses crack me up. It's classic virtue signalling by liberal elites: demand that life be a perfect fantasy land for everyone, then put forward zero realistic proposals to achieve it. Doesn't matter that it will never happen because you've already gained your social capital with your circle of people who think and act just like you.

It seems to me like it used to be a lot more common for people to take up a "shitty" (e.g., low paying, menial, and hard) job when they were young, to help pay their way through school, for some extra pocket money, etc. You would do this during the summers, or part-time, or both. This was just considered an ordinary part of life and a character building experience.

It seems like this experience is a lot less common now. In part because we're coddling our children and our young adults (hard work increasingly seems to be a dirty word and something no one should ever have to do), in part because we're handing off all the worst jobs to illegal immigrant labor.

I'm sure this will prompt some "ok boomer" type responses (I'm not that old btw) but that's just how it was when and where I grew up. I was expected to work and make money as soon as I was able, because my family wasn't rich. They were also super clear with me that there was no free rent after I turned 18, and that if I wanted to go to college I needed to pay for it myself. So this fantasy land "we'll have only perfect jobs for everyone and work will always be a fulfilling endeavor" crap does not connect with me and I suspect does not connect with 90% of Americans. It is popular with techno-fantasists who went to Stanford and work in SV and drink the kool-aid from their employer about how they are changing the world by optimizing the profitability of some billionaire's advertising inventory.

(None of this is to suggest that Cierra Brown's situation is fine and we don't need to change anything about the system btw! Biggest practical issues I saw in that article were that she doesn't have healthcare and she walks away from 2 weeks of work with only $215, something is very wrong there.)
As someone who spent years working service jobs, it's more like - I know that you don't have to be an incompetent asshole just because you're running a cash register or whatever.
It's never been easier to avoid having a child. If someone makes that decision poorly, it's on them and they should have planned ahead like a good parent would. Otherwise, I'd rather see subsidies of birth control products to minimize the excuses people have for making bad decisions.
From the article: "Apple’s support team has responded to some people by telling them that the company is aware of the issue and at work on a fix."

No one doubts that Apple will resolve the problem. The mystery is why Apple keeps releasing new hardware and software products with obvious defects like this. Perhaps their corporate culture breeds an attitude of benign neglect towards proper testing and QA.
I seem to have missed something:

Apple claims Location Services cannot be disabled because it is needed for Ultrawide Band (UWB) compliance.

And what about UWB? It cannot be disabled either? Do you have a say if someone wants to send you a file 'simply by pointing at your iPhone'?
I remember some pictures of Pittsburgh from the 1940's. With the steel mills belching smoke. You can imagine why people fled to the Suburbs. Seems like considering environmental regulations and the resulting clean up that that was ultimately a mistake.
Three special cases, I think? Future, Result, and Option.
I went to a talk at Re:invent that covered Nitro Enclaves and I didn’t get the sense they were like SGX at all except for the name.

The way they were described was as a secondary EC2 instance that inherited however much CPU and RAM from a primary instance that you wanted to assign it. He actually mentioned being able to run a full OS in the enclave. The secondary instance would be associated with a primary EC2 instance with strong constraints on connectivity, being only able to communicate with the primary EC2 instance via vsock and with KMS (maybe other AWS services as well).

Another session mentioned the code was cryptographically signed and potentially couldn’t be changed.
Hell, we all only exist because of a happy accident.

(Well ok, not so happy for some cases.)
OK I updated their script to work with AWS Flashbar. :-)

javascript:(function()%7B(function () %7Bvar i%2C elements %3D document.querySelectorAll('body *')%3Bfor (i %3D 0%3B i < elements.length%3B i%2B%2B) %7Bif (getComputedStyle(elements%5Bi%5D).position %3D%3D%3D 'fixed' || elements%5Bi%5D.className %3D%3D%3D 'awsui-flashbar') %7Belements%5Bi%5D.parentNode.removeChild(elements%5Bi%5D)%3B%7D%7D%7D)()%7D)()
Can you describe what kinds of accuracy are possible in various situations? What data sources are currently supported other than WiFi and Bluetooth (magnetic fields are mentioned)? Is mapping of the WiFi/BT/Magnetic field required? (And how often is remapping typically required? If I move my WiFi emitting laptop to a new location does that require remapping the entire WiFi space?)
Pi & the Art of Computer Programming – Don Knuth's 25th Annual Christmas Lecture
I understand why you’re there, and I’m with you having worked as a consultant in this role a number of places. Once you’re in the seat there’s a way to do it right.

The OP’s point about morale impact,however, still stands regardless of a consultant’s intentions, I think. Further, the fact that shorter engagement consultants will not really understand your org even with outside experience which is hugely exasperating for “human capital”, “change management” or “just do X” IT improvement decks.

So many organizations go straight to the outside instead of trying to establish some healthy internal dialog around improvement. To me this is an anti-pattern, and happens to be hugely profitable for consultancies.
Ask HN: How important is it that MariaDB says “Bye”?
MariaDB [(none)]> quit;
Bye

It's not necessary.

It's not helpful.

It's hilariously anthropomorphic because I am the programmer editing the code on the machine.

I barely notice it.

But it's there.

And I am curious what the HN community thinks of it's worth.
the story of a 29-year old working in fast food sounds pretty disturbing. it sounds like a lack of planning more than anything. McDonalds is meant for kids in high school living with their parents. It's pretty disturbing that a 29-year old would have failed to plan for over 15 years wasting her time and working in a job meant for kids half her age. I would say she should start getting some real skills to get a higher paying, normal job, or better yet a career. Don't blame other people for your lack of planning or lack of skills. The internet has leveled the playing field and allows average people to get skills without ever leaving their home.
The Champion Who Picked a Date to Die
Hope this doesn't get flagged, hn weirdly hides posts that mention-

Apple marketing.

They likely bought themselves into the top spot. Now that you are in the Apple ecosystem, you will be buying Apple stuff.
If you prefer a bit of OS polish while Librem improves, why not using AOSP on a Pixel or Xperia device?
Stop shopping at Amazon. they are no longer consumer friendly like they were a few years ago.
Yeah I have an EV that gets 240 miles on a warm summers day but it drops down to like 160 on a day where it’s below freezing climbing a mountain. I’m OK with that. It’s still an absurd amount of range for a technology that would have been unthinkable a decade or two ago. I think once EVs start surpassing ICE cars in range it will be a non issue for most people.
> The eight recruiters allegedly helped create fraudulent records, including transcripts, that students could give to immigration authorities. Authorities said in the original charging documents that they collectively accepted more than $250,000 in kickbacks for their work, not realizing that the payments were actually coming from undercover agents who worked for Homeland Security Investigations, a division of ICE.

According to the article, seven of the eight have already plead guilty.
Ask HN: Minimal global communication (transport layer)
Is there a low-bandwidth technology (probably some sort of radio) which allows communicating bits between two arbitrary points of the planet , in a practical way?

Satellite phones support voice and data, but I'm asking about something much simpler, just to be able to send a few bits now and then (eg. "I'm alive", or location).

Unfamiliar with Ham radio, I have the impression that it always requires experimenting and tinkerering, and not intended, in most of its forms, to be an invisible transport layer. I wonder if/why not there is a reliable global transport layer which can be used anywhere, even if at the price of having very low bit rates with high latency.
It took me awhile to realize how bad sticky divs are for my users. Justification of using sticky elements was that they were always visible. But why? Because they are frequently accessed elements? Scrolling to top doesn't take much of effort. They might be frequently accessed, but they were also not that hard to access.

It hit me hard, when I saw my user's screen which was relatively small and my sidebar and header were both sticky, leaving only a small area to display the main content.

I've now gone back to mostly non-sticky elements. It's refreshing. Not seeing those "frequently accessed" elements isn't much of an issue. I don't think I ever complained about popular websites not having its header sticky.

Letting users focus on the main content has been by far the most beneficial thing from my perspective.
From conversations with a biochemist, I gained an appreciation for the complexity of genetics. It’s like a computer reading byte code to boot, except the computer makes the hardware that executes the code. That’s the simplest layer of it. I only know a scratch On the surface of how interconnected it all is. If you have an error in a gene that will likely cause an incorrectly generated protein. Proteins and protein synthesis must be relatively resilient to this kind of common error. If that system isn’t resilient then other systems prevent the error from propagating. These solutions must exist or else life wouldn’t work. And this is all in a single cell. Cells coexisting is such a strange thing.
Thanks! That's a lot easier on the eyes!

So I did this:

javascript:(function()%7B(function () %7Bvar i%2C elements %3D document.querySelectorAll('body *')%3Bfor (i %3D 0%3B i < elements.length%3B i%2B%2B) %7Bif (getComputedStyle(elements%5Bi%5D).position %3D%3D%3D 'fixed' || elements%5Bi%5D.className %3D%3D%3D 'awsui-flashbar') %7Belements%5Bi%5D.parentNode.removeChild(elements%5Bi%5D)%3B%7D%7D%7D)()%7D)()

To add the flashbar from AWS to the mix, how would I do that with the streams like this? I'm sure if I hunt a bit I'll figure it out.
Ego-wars are all over the place, even if you avoid political and BLP articles. Burnt-out long-time editors are the most combative. Due to their connections, they won't get blocked.
Which is more powerful than any game genie by a great amount, with its included debugging tools - really not just useful for games, but in general for all sorts of RE on Windows. Sadly only on Windows, I've always hoped that maybe they would add support for GDB stubs some time - there is a remote mode already, afaik.

It's also surprisingly all written in Pascal(or Free Pascal) which is actually a pretty pleasant language(even if not very popular anymore), if anyone's ever curious: https://github.com/cheat-engine/cheat-engine
> we can eliminate harmful mutations from being passed on to subsequent generations through screening.

And the truly bad mutations should self-correct before passing to subsequent generations.
I think it should be mandatory for all of the students to work even for a short period of time in the services industry. They will gain perspective of how shitty customers can be or how shitty bosses can be. When they eventually get into their shoes, hopefully they will remember how it felt to be on the other side of the cashier’s counter / boss’ desk.
Again, why not?
> I find it very interesting that most people assume it should be the employer's responsibility to provide for the employee's wellbeing. Call me naive, but I think it should be society's responsibility.

You're right, but then we have the employer class generally lobbying against society actually providing these things.
Honestly it’s just market inefficiencies at this point. I build battery packs for drones and RC planes and the lead acid stuff is just garbage. They can’t perform to more than 60% of their rated capacity and then start voltage sagging. The energy density is pitiful. A small UPS under your desk with LiFePo4 cells would outperform the lead acid 3-4x for the same space and last longer for the same or less money.
lol, I'd say it is definitely an overgeneralization, but I've seen the culture they are referring to and it is very real and very irritating to deal with the messes they create. Don't read too much into it.
Sure. It's like Bitcoin, where people mint their own coins if the computation they do meets the rules of the network. In this it's a hyrbrid proof of work for transactions, with proof of stake for inflation. Just like CDs in the normal world, when you lock longer you get higher interest. However unlike the real world, when others aren't locking as much or as long, you get more. And if more people lock more and longer, then you get less (similar to Bitcoin mining, except rewarding stake mass length instead of hashrate.)
Monads are not "Programmable Semicolons". I understand the thinking behind the statement but it really does a disservice to people who doesn't know Monads using those kind of analogies.
Things like this happen at the UN:

A Swede will tell a joke. The swedish congregation and maybe some other Scandinavians will laugh. Then a moment later the English-speakers will laugh when it's translated into Englisg, then everyone else gradually, depending on how long each other language's translation takes.
WOW. This is really impressive:

You enter the house and find that it is empty. The door is locked but you can
still hear the screams of those trapped inside. You search the house and find
nothing of interest. You then realize something is wrong. There is an eerie
silence in the house
> go back outside

You return outside and see the house has been completely destroyed. You also
notice there is nobody around. You look at your watch and realize its night
time. You walk towards the wreckage of the house and begin to feel sick. You
can't stand this feeling anymore. You decide to leave
> rebuild the house

You rush into the ruins of the house and start rebuilding it as best you can.
You put all your energy into it and soon you've rebuilt the house enough so
that you can live comfortably again. You spend the rest of the day building
it back up and finally fall asleep
One of the authors here. I agree with all the folks’ suggestions here! When I was in college, I took extra writing courses beyond what was required for an engineering degree (they counted toward general humanities credits I think). People always told me how important communication and writing was in engineering. Not sure the courses are what did it for me entirely, but it certainly taught me concise “technical communication”, as well as story telling, and forced me to practice! A huge key to good, clear writing is reviewers. I ended up essentially rewriting some of the articles multiple times based on feedback. And we all had some great editorial help on these articles to give the articles that final polish.
I think it's a bit more nuanced than being at the country level.

For instance -

https://support.apple.com/en-ca/guide/iphone/iph771fd0aad/io...

"Australia: Ultra Wideband transmitters must not be operated within a nominated distance from specified Australian radio-astronomy sites."

Further, your phone certainly doesn't have to know where it is to figure out what cellular bands to use, but instead that's based upon the SIM and cell provider settings.
Show HN: Tool to create your personal page and newsletter for free
A variant on the OP's question.

What are good books on leadership that are written by people who have actual experience of being great leaders?

Most books on leadership seem to be written by people who have no experience of leadership, they just know how to market their books.
Check out OCaml's 'let-binding' syntax: http://jobjo.github.io/2019/04/24/ocaml-has-some-new-shiny-s...

It's a general-purpose programmable syntax similar to do-notation that supports monadic, applicative, and other operations.
Location-check icon still appears on iPhone 11 when Airdrop is disabled via Apple Configurator policy and location permission denied for all Apple system services.

Is UWB used for features other than Airdrop? Location reporting of nearby tags/devices?

One avenue of investigation would be to capture all iPhone 11 traffic via VPN (e.g. Charles Proxy) and correlate network traffic with appearance of the location indicator.
What saddens me even more is that language designers doesn't deeply investigate previous work (other languages) before designing a new language (that then turns out to be very far from what it could have been with a bit more thinking invested). Yes I am looking at you Go and Rust.
I get this error: https://gist.github.com/montanaflynn/98fc85684a52ca021a9509c...

Even after restarting, maybe it's related to the path I've taken.

Also it would be great if you could load a game before choosing adventure type, class and name.
I'd guess electricity is only 1 of ~20 things I need civilization for.
> then there will be no one to take care of retirees in their old age, so there really is a compelling interest in the government fostering that...

Some governments just open their borders with the hopes of being able to tax the heck out of the new arrivals to make up for the lower birth rates.