skysight-inc/HackerNews huggingface dataset:
I know someone who wanted to build up a solid mathematical foundation after years of considering themself to be bad at it, and ended up loving Spivak's book on calculus. (Another well-written book on calculus, in a very different style, is the classic book "Calculus Made Easy" - this book is old enough to be available on Project Gutenberg.)

You can learn linear algebra without learning calculus, but to really care about linear algebra you have to know why it's useful. The main lesson from (multivariable) calculus is that you should approximate functions by linear functions whenever possible - so the basis of almost everything else in math is a deep understanding of linear functions (and the occasional quadratic when you need that little bit of extra oomph). Once you manage to convince yourself to care about linear functions, the subject magically becomes easier to learn. I don't have any especially great textbook recommendations - perhaps Strang's book?
Windows 7 version of paint on the other hand is better than most paint like applications on Linux so if they made that version cross platform then we could finally have a decent simple paint program everywhere.
It's funny how arrogant you seem to have gotten working at Google. Looking through your post history a couple of years ago you were doing grunt work you would see as below you now. The belief that all Google employees are doing hard innovative work is untrue. A large portion are centering divs and wrangling JSON.
Can you run whole desktop environments like XFCE, Gnome; or run a Window Manager like i3?

I'm a long time VMware user and never really used Unity (name?) view which allows running Linux apps seamlessly on Windows or Mac. WSLg seems to be the same feature.
Does your herd immunity include vaccinating the herds of deer and cats which also carry and transmit?
It seems like Texas, as a whole, has decided to commit economic and political suicide. From the self inflicted failures of the power and gas infrastructure last winter, to the latest assault on women, this law could potentially have all social media ban Texas residents.
Fwiw I personally find their android apps to be among the highest quality of any android app I encounter.
In vanilla vim I just foldmethod=indent which works great for python.
Well, there is SSH.

But better integration between shell and terminal could be hugely useful.
Some corporations have exhausted the RFC1918 address space. After exhausting that they tend to fall back to the space allocated to CGNAT. And once that is finally exhausted they tend to fall back to privately used public IP addresses (PUPI addresses). We allow all of this on GCP in our VPCs: https://cloud.google.com/vpc/docs/vpc#valid-ranges
A Palm Zaire 31 was the first mobile device I owned. I could type on it with an external keyboard, which was awesome. You could stick an SD card full of music in and use it as an MP3 player or stick a card full of Atari 2600 games in and play. So I kinda got to play with the mobile future a bit early. But the touchscreen was squishy and you had to type with a stylus. They really pushed the glyph recognition but it never worked very well for me.
> The risk here was very much a return to the Google/FB

Only Google?[1]

In addition, there's a very steep slippery slope in use here. It is currently possible to sideload on Android, and has been since day one, and yet we don't see the kind of end result you have predicted.

[1]: https://www.macrumors.com/2021/05/06/apple-hulu-special-api-...
It's like what Weather Underground used to be like.
Mysterious radio signals from the center of the Milky Way are detected
All these new Texas laws will be ruled against, likely before the Supreme Court. It’s all for naught and likely going to cost Abbott his job. We’ll see how strong the Texas conservatives are but I think these laws have them divided. They were insanely unified during Trump’s era and that’s how we got here.
Atleast the European countries have laws that require equal pay for full-time vs contractors. Its about time the US instituted such laws too. It's just gross how companies get away with using contractors for the same job as full-timers but treat them like lepers that don't deserve equal pay or benefits.
> The problem here is that i DON'T tolerate this from large companies either. I find the pixel tracking thing outrageous and disable images by default in my email client to avoid it.

If you are already using OSS today and grabbing that software over the internet, you are tolerating it even if you claim otherwise. If you pull something down from GitHub, Microsoft has all the data that we're talking about here.

> I understand your argument, I just find it personally strongly disagreeable

Fair! And I understand yours too. I also think your argument is more idealistic than practical for the current state of the ecosystem, especially considering how many parties already have access to this web traffic data. Maintainers having this data too is a very benign additional party to have access to it. Furthermore, it's a concrete way we can all chip in to help OSS maintainers and make their jobs a little bit easier, short of reaching for your credit card (which we should all be doing too).
That’s exactly how I’d interpret it. Which is not what many people here have been arguing. If this is the case, it’s not what Epic ultimately wanted and still lets Apple avoid allowing alternative In-App purchasing mechanisms. But it makes a lot of sense… protect people inside the garden, but still let people buy their VBucks anywhere else they want to. This also mirrors what happens on other game platforms - if you buy vbucks on Xbox, it has to go through Microsoft. But you can also buy prepaid VBucks gift cards at Target.

If this is the case, it’s a minor win for Epic, at best. And limits the collateral damage to other game platforms (Sony, Microsoft, Nintendo) that also have the same in-app purchasing restrictions.
Winners of the 2022 Breakthrough Prizes
One of the reasons we might want to pick an existential type is that it lets us (or the users of our library) compose a theme using a number of different colors of different types.

In your example, you have two different calls to `someFunc` that are each eventually converting two different colors, so you might say something like:

let
somethingRed = someFunc (RGB 0xff 0x0 0x0)
somethingBlack = someFunc (cmykToRGB $ CMYK 0x00 0x00 0x00 0xff)
in (somethingRed, somethingBlack)

In this sort of situation there's not a strong difference between the two. There are a few other situations that, if we expect to encounter them, tip us in favor of considering existentials though. The big one from an API design standpoint is that your approach makes it a bit more work to allow the user to mix-and-match colors from different encodings.

If you think about the `ThemeInstance` in the article, it's a `Map String SomeColor`. If you wanted to eliminate the existential type you'd probably end up with something like:

newtype ThemeInstance theme encoding = ThemeInstance
{ getThemeInstance :: Map String encoding }

So you can have a `ThemeInstance RGB` or a `ThemeInstance CYMK`, but the user isn't allowed to freely mix-and-match.

Of course, you could use an ADT rather than an existential type here:

data SomeColor = SomeRGBColor RGB | SomeCMYKColor CMYK
myThemeInstance = ThemeInstance $ fromList
[ ("red", SomeRGBColor (RGB 255 0 0))
, ("black", SomeCMYKColor (CMYK 0 0 0 255)) ]

Now you can case match against the constructors in `SomeColor` if you want:

myFunc someColor = case someColor of
SomeRGBColor rgb -> someFunc rgb
SomeCMYKColor cmyk -> someFun (cmykToRGB cmyk)

But if this is library code, you've now created a closed encoding- meaning that a user who wants to work with YUV or HSL or some esoteric encoding can't do it.

At the end of the day, it is a design decision. If you opt not to go with existentials and typeclasses you'll end up with a different sort of API with different benefits and limitations.
The supreme court tossed out the last "clear reversal" without a hearing.
Stay home when sick has been a very good result from this mess.

I hoped the 'stay seated until your row is called' when exiting aircraft would stay in place. The selfish people reverted to rushing the aisles.
Rolling Stones Tour Manager Mick Brigden Dies After Accident at Home
SSNs are entirely insecure as mentioned earlier in this thread. Geographic prefixes are a drop in the bucket on that front.

The post that I replied to is almost entirely incorrect as it relates to available SSN “keyspace” (misnomer), uniqueness, etc.—-for which geographic prefixes and group numbers are relevant.

I supplied direct sources, so no idea what your “even if what you say were true” skepticism is rooted in.
"Sometimes I feel like I'm the only person that doesn't feel like they need "a better shell"."

You are not the only person. There are HN readers who are not programming language wonks, who actually enjoy using the shell.

Whenever someone today, usually one of said programming language wonks, tries to "improve" on existing shells it never manages to improve over the relative speed/size/simplicity I am getting with ash already. It never feels like its being written by someone who likes the shell; it feels like some programming language wonk who dislikes the shell (thus wants to "improve" it).

Give me a shell thats even simpler, smaller and faster than ash. That would be an improvement. Early era and deliberately "reduced" shells I have tried in place of ash do not have command history. I have tried to learn to work more "deterministically", without need for history but have never succeeded. I think it can be done. (So does the maintainer of the Heirloom Project.)^1 In practice I often edit command lines in vi, using the fc built-in. Why cant I do all editing in vi or ed. I suspect its the addictiveness of the "REPL" workflow.

For whatever reason, I am more motivated to try shells with reduced functionality than I am ones with increased functionality. For any repeated task, taking a long view, non-interactive use is always faster than interactive use, so although a nifty feature like tcsh-style auto-completion might speed up interactive use, a script that automates navigation is going to save time in the long-term.

1.
"interactive use. The Bourne shell provides job control if it is invoked as jsh and runs on a terminal. Of course, it lacks fancy features such as a command history, command line completion, etc. But working with these features tends to distract the user's attention. After a familiarization phase, use of the Bourne shell can lead to a more even-tempered, concentrated working style. Give it a try. Seriously."

https://heirloom.sourceforge.net/sh.htm
It's almost like they're trying to embrace the Linux ecosystem and extend it for windows users...
Apropos of nothing, I had a friend who always pronounced DOS like the Spanish for "two" (like DOHS). Most everyone else I ever met pronounced it like "DAWHS". One day this friend meets my boss at dinner. My boss, though a nice guy, was pretty strictly conservative about certain things. Apparently the pronunciation of "DOS" was one of those things. They went back and forth with "DOHS" / "DAWHS" for a while. When I left the table they were still at it. I stayed at the bar for a half hour 'cause I didn't want to know how long that was going to go on.
Cool! May I ask what project you’re working on?
I absolutely get your point. I just disagree. And you are not getting my point: “Birth rights” doesn’t exist. It is all in your head. You might use the idea of “rights” to justify to yourself what you are doing. Others will use other made up justifications (gods, ideologies, skin colour, race etc.) But it is a made up human idea. Lions doesn’t need to appeal to its “birth right” to kill you. Evolution doesn’t care about your “birth rights”. You either survive or you don’t. That’s it.
I think your NAP argument doesn’t really work for a very specific reason. Every punch in the face results in a punch to the face. Every homicide results in a death. Those actions always have an aggressive consequence, so most libertarians can justify prevention and incarceration and removal of liberties as a consequence of the aggression. However, every cough, even from a Covid-19 positive person, does not result in a death…or even an illness. Further, even a vaccinated person could cough and infect someone if they had COVID-19, including another vaccinated person. So is it truly aggression if there is a possibility of no negative consequence and a possibility of a negative consequence no matter which direction was chosen? I think you could maybe make a NAP case if the vaccines were a 100% effective and the unvaccinated ALWAYS caught and passed on Covid-19 causing severe illness. We aren’t at that stage, so this fails the NAP test in my opinion.
you made a whole page of checkboxes that i can't check AUUUUGHHH
We read the 4000-page IPCC climate report so you don’t have to
Jokes still on you, because that’s still the easy part.

The hard part is still running the service, dealing with scalability problems, security, bugs, customer support, new features, content moderation at scale, legal compliance, meeting service level agreements, supporting multiple platforms, etc…

If only architecting the platform and writing the code was all we needed to do… every developer would be doing it.
While that is of course technically true, we are living in an imperfect world and USB Ethernet controller implementations should probably be aware of those millions of switches out there that use a handful of switch chips with known bad implementations.

Keeping to whatever the spec supports is nice, but if the world doesn't work that way you still get a broken product at the end of the day.

Instead of pause, it should (at least have the option to) disconnect. Ethernet link training isn't a computationally expensive and lengthy process anymore, at least not from the user's perspective. Between plugging it in and moving your hands to your input device L1 and L2 are up before you even get a chance to look at your display with L3 being available pretty quickly thereafter.
I have been using graphql since 2019 and it has been great for me. Overall if you have a big team, it is much more easier to manage. The graphql ecosystem is growing and tooling are standadized (nowadays the N+1 can be easily solved)

But one thing will always remain and you have to remember is that graphql is slow by design. If performance is critical to you, don't use it
Seriously, what a breath of fresh air
Virtual Machines gained popularity as are kludge to get around the remarkably horrible state of operating systems. The inability to reliably save and restore the state of a computer grew to be so costly that it became worthwhile to pay the performance penalty of a layer of emulation/virtualization to route around it.

Containers were the next logical step, as each virtual machine vendor tried to lock in their users. Containers allowed routing around it.

Both of these steps could be eliminated if a well behaved operating system similar to those in mainframes could be deployed, so that each application sat in its own runtime, had its own resources, and no other default access.

There's a market opportunity here, it just needs to be found.
One thing that's bugged/occurred to me. People keep acting like Apple will no longer get to charge 30% to developers for in-app purchases, but it seems like they may still be entitled to their 30% and even in this ruling Epic still owes that 30% -- Developers will be able to use alternate payment providers, but may still owe a commission to Apple? Tim Cook alluded to this in his original testimony, and the judge doesn't seem to have had an issue with it, and she ordered Epic to pay the 30%.

In other words, only the anti-steering violated California law, but otherwise, she validated that Apple's business model is reasonable under the law and supported the commission structure, it seems.

That seems like a whole can of worms. How will Apple know what to bill developers for apple sourced transactions? Do they need to build new reporting APIs? Within the next 90 days? Is it the honor system? Will developers raise rates on their sites to cover Apple's commission? Will this all have been moot? What if a developer doesn't pay? Can they be removed? Does apple send them to collections? What does that do to developer relations? Or does Apple abandon commission for external sales they alluded to needing to collect.

Edit to add Tim Cook quote from Epic trial [0]:
“IAP helps Apple efficiently collect a commission” — for payment processing, but also customer service and the use of Apple’s intellectual property. Without in-app purchases, “we would have to come up with another system to invoice developers, which I think would be a mess.”

[0] https://www.theverge.com/2021/5/22/22448139/tim-cook-epic-fo...
Taco Bell Wants Your Old Sauce Packets So They Can Be Recycled
"Computer, please conquer Australia for me by dinnertime."
That and RIM's BlackBerry OS 10. It was fantastic and remarkably consistent across the board, even third-party apps like WhatsApp. Android's and iOS's swipe-up-to-go-home feature may have originated in BB10, but BB10 did it way better.
I would strongly encourage you not to be backing up your messages on the server, even if they are encrypted. Better still, switch to auto deleting messages. You never know when your message history will be used against you. Carrying around years and years of every conversations can put them and you in potential danger. Words are frequently misinterpreted. Stored Communications are your liability.
This link is not great for people unfamiliar with the project. I went to the Wiki link in the menu to figure out what this is.

LibreELEC is just enough (Linux-based) OS to run Kodi. Kodi is entertainment center software.
> Go buy a different phone.

The plaintiff here is a developer, not a fan of any specific device.

"Just don't develop for the phone, then."

Great, who's going to pay out the lost sales?

Also, assuming I "just don't buy an Apple device," I can [legally] develop an app on my Windows or Linux device?
I don't know about WSLg specifically but last time I heard if you runs a x server with an application like VcXsrv, install XFCE and configure it to use the x server. You can pretty much run XFCE or any other desktop environment in WSL. I don't know about the performance however.
TIL. Thanks for taking the time to explain!
John Searle: Problem of Consciousness in Philosophy and Neurobiology [video]
Maybe they don't have time.
Well the last parking ticket I got was a result of putting the wrong space number in the machine, I got them more frequently when I was younger and stupid or forgetful. (I had a bit of a problem with sleep and would park somewhere and take an unplanned nap and get a ticket).

In the cheaper ticket city I would freely not pay the meter more or less breaking even on cost, and now in a more expensive city I do unless i’m only intending to park for a few minutes.
FWIW I’ve been using 2 thunderbolt to display port cables to drive 2 4K60 monitors since 2016. The cables cost me roughly $10 CAD each. I guess I was just lucky?
I could check the ones on the bottom row.
Luckily they don’t explode very often, but they’re found on a regular basis: https://www.france24.com/en/live-news/20210520-wwii-bomb-fou...
Anyone else worrying about Windows swallowing up Linux?

I hope their intentions are altruistic.
People who ignore semantic drift are literally gay.
That comes across as straw manning. The point is that all kinds of problems are seen as intractable to the cynic, not that every optimist has the correct approach to solve the problem.

It’s easy and weak to just throw up ones hands and say it’s too hard but I don’t want to live in a society where 100% of people take that approach.
It’s amusing how last year people said they couldn’t trust any vaccine approved by the FDA while Trump was president and running for re-election. Now those same people believe those same vaccines will save the world, not because the FDA released more data or that additional studies have proven the vaccines more effective than they were last year, but because there’s a new president.

If your idea of “trust the science” starts and ends with “who’s in the White House?” you have a different definition of “science” than I do.
Still pretty simple:

"Just like with flour, keep them in their own containers, and keep track of which container is which. If you lose track, bake something small as a test or test the cable by plugging it in."
As far as I can tell, that's a myth --- beryllia was only used in military radar magnetrons, not consumer microwave oven ones. It is extremely expensive, its other characteristics are not required, and its toxicity requires special handling measures during manufacturing, so alumina is used instead.
The U.S. Tourists Who Only Travel by Train
Link to video: https://m.youtube.com/watch?v=Dk8wFplHqro
They are similar. Both are a type of collaborative filtering (http://en.wikipedia.org/wiki/Collaborative_filtering).

Though I don't know any details about Last.fm's algorithm. Most likely it is based on neural nets, which are opaque to the user. I think this is totally fine for music recommendations. In that domain the are few adversaries and the cost of a bad recommendation is just a skipped song.

For information content I feel the stakes are higher and there are more bad actors who would love to grab our attention. That's why I think it is important to have a transparent algorithm.

And yes, LinkLonk does find your "neighbors" - people that like the same content as you did. What is more, LinkLonk connects you to those people, that liked that content before you did. And they are likely to be more informed than people who upvote the same content after you upvoted it.

Since we still have few users I would suggest to start using LinkLonk as a tool for bookmarking interesting content and following RSS feeds. Hopefully this would make it useful enough before the number of users reaches a critical mass for the network effects to kick in.
I have been getting by with VcXsrv just fine, for simple apps like IDEs and stuff (vs code, pycharm community).

The advantage of wslg would be running hardware accel'd apps?
There might be some implementation details, in particular for thunderbolt 3.

Some 9 years ago, I worked at a place where we had macbooks and Apple Thunderbolt displays. I don't remember ever having issues. And I personally had two displays daisy-chained, with random USB and FireWire peripherals hanging off them. One of the screens or the computer itself developed a contact issue many years later, which of course isn't great, but the connection itself has always been rock-solid.

I remember at one point, after the High Sierra upgrade I think, but I'm not 100% sure on the date, I had some issues with the same thunderbolt screen and the same MBP. But by that time, they had already changed the font rendering, so I didn't use that display as often. Also, the GPU drivers at the time were terribly broken and the MBP would lag like crazy when using it. A few upgrades later, it was solved.

However, in PC land, I have an HP desktop with an HP thunderbolt / usb-c card, and it's hit-and-miss. My understanding is it has something to do with waking up the controller or something, but I've never managed to get it working 100% reliably. DisplayPort alternate mode is broken on Windows, too. I have a friend with a Dell XPS with integrated Thunderbolt, and he gets the exact same behaviour. At least his DP output works...
Assuming we can trust doctors, you get a letter from your doctor. I mean a medical doctor, not a fake doctor working in a medical establishment like Fauci's wife has been pretending.
Note how she has the first spot under the 'meet our doctors' heading which is misleading because she is not a medical doctor like others in the list.
https://clinicalcenter.nih.gov/meet-our-doctors/cgrady.html
> which is typically peak demand, right at the same time as solar generation fading

This is known as the Duck curve.

[1] https://en.wikipedia.org/wiki/Duck_curve