skysight-inc/HackerNews huggingface dataset:
I'm doing fine.

I used to be much richer and healthier than I am now. I was also less happy and contented.

I experienced some health disasters and serious accompanying financial losses. I could list afflictions and disadvantageous circumstances, but I'm happier and more content now than I was before all of that.

During one of the particularly bad spells I turned to the writings of the classical Stoics, which I was already familiar with in a general way, because I was raised on the classics. I found useful tools there, and I used them to learn how to be happy.

Stoicism is less about metaphysics, and more about working out practically how to live a happy and virtuous life--how to be a good and happy person.

I assume it won't work for everyone, but it worked pretty well for me, and my grown children report that it has worked for them, as well. I think it's worth mentioning on the off chance that someone else might also find it helpful.

If you're curious, you can find a lot of resources just by googling "stoicism". The Wikipedia article is a decent introduction. If you want more specific recommendations, I suggest the _Enchiridion_ of Epictetus and the journals of Marcus Aurelius, usually translated under the title _Meditations_. There's a lot of value in Seneca, too.

You'll find that the ancients usually assumed the existence of the gods, but I'm personally an atheist, and nothing in Stoicism requires belief in any deities.

If you don't find it as useful as I did, I hope you find something else that works better.
Except that OpenGL and WegGL already proven that there is what the paper says, what the driver states and what the GPGPU actually does.
Actually, no, I don't agree with that. It's more of a balancing act than a piecemeal analysis. Being generally frugal leaves you more space to waste a few resources on specific things. Now, some things are over the limit regardless of how frugal you are generally, and pet cats may or may not be one of those.
"(Stated more formally: given non-negative integers k and n with k <= n, generate a list of k distinct random numbers, each less than n. We reasonably ask that this be done in O(k) time and O(1) additional space. Finally, the distribution must be uniform.)"

"...it’s also possible to use the language of cards: deal k cards from a deck of size n, without replacement. So a poker hand like A2345 of clubs is valid for k=5 and n=52, but a hand containing AAAAA of clubs is not."

These seem to be fairly straight forward problems to solve- can anybody ELI5 why the Vitter algorithm is necessary?
Hetzner is down to 0.4ct/gb (EUR 39.90 for 10TB)
Karma will take care of itself.
Tyler's son was born in 1853, and his son in 1928. Tyler had the son in his sixties, and his son had his in his seventies. Male fertility lasts a bit longer than female.
American Universities Must Choose: Do They Want to Be Equal or Elite?
It will get slow towards the end once each loop iteration has a very low chance of being productive (only happens when you're choosing all or almost all elements). You can fix that, though there's potential tradeoffs.
That sounds awful. I'm sorry you had to go through that. Sounds like an American high school sitcom TV series scene.
Anytime I discussed Free Solo with anyone, including my wife, my feelings about Alex couldn’t have been more opposite from theirs.

His bit about empathy and the fact that he’s, “just learning [his] lines” is probably relatable to many here.

His comments about deciding to solo mostly because he wasn’t comfortable asking anyone to climb with him, and didn’t want anyone to see him do something stupid, while ranking in the top 2% on the Mensa test.

I came away sympathetic — recognizing a kindred spirit who’s capable of a lot, but had a hard time fitting in with the world, while everyone else just saw a very impressive asshole.

Great article that builds on all of the personal dynamics present in the film.
LSEG: Rejection of Conditional Proposal from HKEX
> (Stated more formally: given non-negative integers k and n with k <= n, generate a list of k distinct random numbers, each less than n. We reasonably ask that this be done in O(k) time and O(1) additional space. Finally, the distribution must be uniform.)

As k approaches n the expected number of draws needed to get k unique values increases faster than O(k).
I've just learnt that James Clark (of SP and general SGML fame, and missed by the markup community) and WSO2 is behind Ballerina [1].

[1]: https://blog.jclark.com/2019/09/ballerina-programming-langua...
Ah, right. I wasn't thinking properly. Thanks for the explanation.
I would say it's not as interesting because a high-schooler (or Pythagoras) could easily verify the fact AND they would easily be able to explain how you came up with that sum.

One of my metrics for determining if a fact F is interesting is if P(F) is much larger than V(F).

Here P(F) is, vaguely speaking, the amount of effort required to "explain" or "generalize" the fact, and V(F) is the amount of effort required to verify the fact. In the case of e^{-x}, each individual example can be verified by an elementary schooler so V(F) is very small.
On the other hand,
I don't see how you could explain the phenomena of convergence to 0 without teaching the elementary schooler a large part of calculus, so P(F)/V(F) is large.
UFO talk is PR distraction correlated with military product development. A major component of it is to discredit conversation about observations.

In the 90s it was stealth aircraft, in the 80s it was Tomahawk missiles, 50s any of a dozen airborne platforms.
Ah this is just sounding like The Martian now
Trivial algorithms (like one implemented in Python) slow down when k is close to n. Or when n is large, then it is not possible to use bitmap to mark dealt cards.
Anecdotally I live 8km from work (same city, Europe), making a 16km/day commute.
Maybe apply some simple formal criterion, like if function is implemented in under 100kloc, then it's trivial and invalidates the patent.
Wow nice idea but the scanner price are very high.
Are the benefits of the platform really worth your money?
"I know it's toxic but from a technical aspect, that is really cool"

is a great alternative HN tagline
Metal Gear? : )
The following call which is in MatrixOperations for instance is about cameras - I assume this is some scene-object type of logic regarding 3d graphics?

That does not look like a general-purpose linear algebra library to me.

public static MatrixSingle CreateBillboard(in Vector4FParam1_3 objectPosition, in Vector4FParam1_3 cameraPosition, in Vector4FParam1_3 cameraUpVector, in Vector4FParam1_3 cameraForwardVector)
The algorithm described in the article has other desirable properties:

* IDs are returned in sorted order

* IDs are generated one after another, ie could be implemented as a generator or coroutine

* No additional space required during the computation

Resulting in a single pass.
The concerns I have around the project are more in the FAA certification process than in the EPA. I don’t believe this is a partisan issue; it’s stalled under both Democrat and Republican administrations.

I think that the 737-Max issue will put so much more spotlight and brakes on anything that seems remotely risky, that the alternative fuels program (which was already struggling as you note) is unlikely to make serious near-term progress.

Almost tangentially, I believe that we have a viable fuel technically (G100UL) that is likely to be (or be the template for) the fuel ultimately selected, albeit possibly a decade or more in the future.
Did a Teenage Tiger Woods Compete on American Gladiators? An Investigation
A Ferrari parking ticket probably wouldn't get anywhere near 1% of its owner's annual income though?
Long-term outcomes of childhood sexual abuse: an umbrella review
Wolfenstein 3D's FizzleFade uses an LFSR to visit each screen pixel exactly once in a pseudorandom order: http://fabiensanglard.net/fizzlefade/index.php

There's an alternative FizzleFade implementation using Feistel networks: http://antirez.com/news/113 -- I think the same technique could be used here to randomly permute the index space.
Reading this I can't help but think that Apple Arcade has to be a huge success with parents - a quality, woory-free gaming environment with fixed, affordable cost.
> because it really drives home the point that a compiler is just another piece of software

This fact is already conveyed conveniently by writing the compiler itself in any language. The important this is the transformation from structure to structure and the recursive nature of grammar rules.

Having wrote an assembler, a linker and for another project a sort of compiler with Flex & Bison (FsLexYacc actually) I think emphasis should be on how close writing a parser and compiler are (because one task include the other ). Thus, understanding the main ideas in compilers can be reused for real tasks such as data parser, where is can solve problems more eloquently than ad hoc coding.
To make it match with human brain, this would be more helpful indeed:

>At 5% uncertainty

>At 1% uncertainty
Cherry Servers Gives $30 Free Credit for Bare Metal Cloud
I think the appeal of solar panels on a car roof is that you don't need any infrastructure at all. Just park you car wherever and it automagically recharges.
>hundreds of thousands of working programmers around the world are productively using Go

Source needed. Even the Go surveys only have mere thousands of respondants. Just because you're stuck in a Go bubble does not mean the world outside is the same.

> still continuing to ignore the supposedly superior solutions.

Go was literally made because Google said their junior employees are not able to understand more powerful languages. Go is a dumbed down language so that their armies of developers can be efficient code monkeys.

Thousands of people are using excel macros and being very productive. That doesn't mean it's a good language either.
This is in the context of a substance we’re trying to use to destroy enemy tanks and kill/injure combatants, not make s’mores out of.
Elevating original reporting in Search
I assume the "fine" is actually a fraction of what France believes it should've gotten in taxes from Google's local operations?

So yeah, in that case, Google "won" in the end here, since they don't have to pay the full amount.
DoH servers are not open proxies, they're just DNS resolvers with support for a security layer; they are comparable to HTTPS, SMTPS, SSH, etc. servers, not to a VPN.

VPNs are not a substitute for, nor a better solution than DoH in the same way as they are not for HTTPS or SSH.
The python algo does not get slow when n is large. The k~n case obviously calls for inverse selection.

https://github.com/python/cpython/blob/master/Lib/random.py#...
I wish fiscal fraud was more hardhly punished. In a democratic nation, it's basically stealing money from all of us, and not putting a share of resources that supports programs that benefit citizens of all income levels.
> But it could not be simpler or easier to bypass Google.

Really? Unless you pay Apple considerably more, you will have a google search bar prominently on your phone that you can gimp but cant hide or change to another search provider.
iOS 13 exploit bypasses the lockscreen for access to contacts
Family Tree Inside Git
CBS have some kind of deal with Ten.

A VPN will fix it.

https://polsy.org.uk/stuff/ytrestrict.cgi?ytid=https%3A%2F%2...
If we just throw our hands up in the air and declare everything a "miracle" we never learn anything.
> Because if he’s right we really, really want to pay attention to this problem so we don’t all die.

You could say that about any doomsayer. It's important to use their reputation and authority, and your own context within reason, to weight the significance of their prophecies.
I may be misinterpreting the question here but can't the author just use a large prime to to pull from the array like you would when hashing? Its how you would in place shuffle a music playlist.
Fines are meant as a warning. If you impose a 50bn fine then every other company out there will start having second thoughts about entering the EU market. Lobbying will skyrocket and a lot of things could stale or worsen for the economy as a whole.
> So if you're right, then Pornhub is a bad example. I agree that ESNI won't help.

You need to replace "won't help", with "makes matters worse" for that to be correct.

> "However, the reality that a large number of domains are on shared IP addresses,"

Also, the reality is that a large number of domains are not on shared IP addresses.

> "You've not demonstrated any reduction in privacy"

Incorrect. It's pretty straight forward:

1. Shared IP before ESNI: Increases the number of companies that get to see which website I'm visiting.

2. Non-Shared IPs before ESNI: Increases the number of companies that get to see which website I'm visiting.

3. Shared IP after ESNI: Changes which company gets to see which website I'm visiting.

4. Non-Shared IP after ESNI: Increases the number of companies that get to see which website I'm visiting.

1, 2 and 4 are all making matters demonstratably worse. 3 only makes matters "better" if you think that Cloudflare is a better custodian of your browsing data than your ISP, which is not always the case now, and will not always be the case going forwards. And until ESNI is in place, we're stuck on 1 and 2. So in the short term, Mozilla are definitely definitely making things worse for their users.

> People have been sharing IPs on domains long before Cloudflare was invented.

Also, people have been not sharing IPs on domains longer before CLoudflare was invented, and will continue to do so after DOH is the default. So lets drop this "ESNI will fix it" argument, as it doesn't work unless we centralise the web.
Golang Startup Kit for SaaS
Nicely said.

I was thinking of ways to solve the problem by eliminating the overhead of checking whether a random number was already drawn, when Vitter's solution was to make the random number generator produce random numbers in a sorted manner, thus eliminating that overhead entirely.

EDIT: Then again... if the algorithm is to be used to shuffle a list, wouldn't returning the selection in a sorted manner defeat the entire purpose? If k = n, output would be input...
I get the last mile isn't literal but I think many use the lack of transport facilities as an excuse and forget about walking.
Changing Career Paths in Tech
Getting this wrong can tank your product - see what happened to Draw Something http://epeus.blogspot.com/2012/04/draw-something-ceo-grace-a...
YouTube advertises big brands alongside fake cancer cure videos
I live in an average residential street in Europe full of 3 story residential houses. Our house with 6 apartments has 3 garages, the majority park on the street.

Sure, the government or the electricity company could just install car chargers and put a solar plant to power that in some rural area. But if I want something now then buying a car is much simpler than lobbying for that.
I'm surprised the Israelis never bought the XL since they basically use the F16 as a bomber.
It does not matter now, because I need to leave in 2 months tops otherwise I will be deported. I am planning to move to the Americas south cone (Argentina or Brazil) so it is preferable an opportunity there or remote than in my current host country.
Actually turns out Boston Dynamics had a good idea and over-engineered it. LM built a cheaper, wheeled, semi-autonomous troop support vehicle that ended up selling pretty well.

https://defense-update.com/20070529_smss.html
"Use the original title" is pretty tricky because BBC appears to aggressively AB test headlines.
There's some debate about whether there is a significant link between childhood sexual abuse and schizophrenia. We have lots of evidence that there isn't a significant link.

Some discussion:

https://twitter.com/SameiHuda/status/1172183459256840192?s=2...

https://twitter.com/TheLancetPsych/status/117155362921772646...
not only that, the cost-of-living estimates are often wrong. sure, it is cheaper to live in some places, but then you spend a lot more traveling to other places to get things that your local place doesn't have. in some places the cost-of-living also depends on your life-style.

if i live in a country where the average cost-of-living is low, i find that it's because of a generally poorer living standard and i have to spend a lot more compared to the local average to get the same standard that i'd have elsewhere.
Use temporary stacks to improve your dev flow for serverless
Actually panels might be very heavy fot the car to carry but what about some kind of nano tech which allows to absorb the energy coming from the sun and supply it in the batteries. Yes its much complicated to do but a valuable idea to think on.
I watched a TV show called Billions and it is illuminating as to how these big companies and people easily avoid touched by the law. They pay pennies on the dollar aka fine and move along with 0 actual damage.

Look at what happened to Panama papers or Bermuda Papers or even what Snowden had said.

"Little people pay taxes" was a line I read in Panama Papers book, one which I'll never forget
MISP improved model to expire indicators based on custom models
Mee too :-)
Thanks that's an interesting link. I think it backs up what I'm saying though, even with a fantastic cycling infrastructure, hills half the number of trips by bike.
I have also noticed this trend, not just online, but also offline with friends.

While it seemed annoying at first, I quickly came to love the fact that this happens. I feel like this might be a natural tendency starting to be developed in the wake of fake news, and opinion-generating bot armies on the rise.

Better to ask for a source one time too many, than one time too little.
That too, a parking ticket of $1
Probably the hardest things are the space and time requirements. If you relax e.g. the O(k) time requirement to O(k log k), the problem essentially becomes trivial.[1]

More generally, though, what solution are you thinking of? (The problem, as stated, is actually fairly difficult! As far as I can tell...)

---

[1] See: https://en.wikipedia.org/wiki/Coupon_collector's_problem . The solution is then to draw repeatedly and then check if this card has been drawn.
Creating Multiple Models with Form Objects in Rails
Google Maps uses aerial imagery (photos taken from planes)[0] because it's higher resolution, and I bet that's what you're seeing here. They don't fly those planes often and they don't fly them over random uninhabited islands, whereas there's a company that takes satellite images of all the land on the planet daily.

[0] https://support.google.com/earth/answer/6327779?hl=en
But you cannot rely on that every day. On cloudy day it’s not going to help you. So while it maybe fine for a PHEV, I still think than having PV installations over every parking lot makes more sense.
كلمات اغنية تعالى تشوف بلقيس مكتوبة كاملة
indeed, in some ways 'profit' is tantamount to 'cheating the people who made that profit (employees) out of their fair share' - certainly when it comes to many big tech companies.
> This is so pedantic! Of course people know why they're angry.

I've yet to see a single yellow vest giving an articulated speech about why things are bad and how to fix them. You don't go far by screaming "this thing is broken I'll burn things until someone fixes it"

> And the climate crisis. And education reforms promising even more brainless indoctrination. And the National Universal Service which is a nicer name for militarist/fascist propaganda aimed at children. And racist anti-immigration laws in which Macron doubled the maximum retention time for undocumented people (45->90 days). And police violence destroying the sense of community in whole districts. And health care workers slowly being pushed to suicide by an administration that wants to close down public hospitals to ensure a new economy for private health.

Welcome to capitalism, have a seat while we fuck the world up.

> Burning rich people's shit is literally the most peaceful we can do in times like these, given the pace at which they're killing us.

What's the real plan though ? What happens after "burning rich peoples' shit" ? Nothing, because yellow vests don't want to get into politics, and not getting into politics means they're just screaming and burning shit until they're bored of doing that. The 60s were much better in that regard because thinkers still existed back then with people like Vaneigem or Debord.

> yet has ~10% extreme poverty,

The difference is that if you're poor in the US you live in a tent in skidrow [0] or the like, if you're poor in France you get a (shitty) flat and enough money to eat and dress yourself, you can still go to school and get medical treatments, &c. And btw most EU country have higher poverty % than France. [1] The question isn't really how many people are poor but how do you treat them.

> very similar in some regards to the USA.

I don't think you're being fair here. Public pensions and public healthcare puts France miles ahead of the US (and most other countries) for the average citizen. And that's not even taking into account vacations days, min wages, mandatory holidays, working hours, unions, parental leaves, retirement age, police brutality, &c. The US is only a better place if you're in the top 10%.

> Representative democracy is the structure that failed us in the first place. Never again: we won't stop fighting until we have a direct democracy without a ruling oligarchy.

Tell me how the US is better again ?

Sure we can do better, we always can, but look around, besides maybe Switzerland and a few northern countries, which are doing slightly better in some aspects, I don't think France as anything to complain about.

[0] https://99percentinvisible.org/episode/the-containment-plan/

[1] http://www.lefigaro.fr/economie/le-scan-eco/dessous-chiffres...
There's always something to work on, so the problem is sometimes that growth teams are ofte too narrowly focused. You're done with landing page, then move on AdWords. You're done with AdWords, move on improving sales team. Making forms work better is not everything.
>It’s hard to build markets with open source.

Only if you can't create something valuable. But if it's not valuable, then it's not your property, it's worthless.

>Now, you get Android for “free” but only by turning your customers into the product.

Paid services still turn the customers into the product, e.g. Windows. Also Android is not open source.

>get to control the standard by fiat

Commercial dealers have a long track record of anticompetitive practices. It's the whole reason why antimonopoly law was written.
Reflections on the Last Two Years of Spotify’s Bug Bounty Program