skysight-inc/HackerNews huggingface dataset:
This was very interesting thanks! I was especially surprised that the effective interest rate of Premium Bonds is 1.4%, which is pretty good compared to today's savings rates in the UK. When I last checked (quite a few years ago) Premium Bonds were quite a poor deal.

It's a little unfair that you said "the Lottery prize fund is weighted very heavily towards the larger sums that you'll realistically never win" but don't qualify that the effective interest rate of Premium Bonds also includes some high value but unlikely prizes. I wonder what the interest rate is for 50th percentile prize winners.

Edit: This page[1] on MoneySavingExpert shows the median (50th percentile) Premium Bond winnings are 1.16% over a year if you have £15,000 invested, and are 0%(!) if you have £1,000 invested. They also have a winnings calculator[1], which shows that median probabilities don't compound over time in the way you'd expect: for £1,000 over 5 years the median return is £50, which is equivalent to 0.98% compound annual interest. (It may actually be fractionally higher because I don't think the calculator assumes you re-invest the winnings in Premium Bonds.)

[1] https://www.moneysavingexpert.com/savings/premium-bonds/

[2] https://www.moneysavingexpert.com/savings/premium-bonds-calc...
I think some of the classic graphic adventures have aged pretty well (e.g. Monkey Island 1 and 2). They're still graphically beautiful and the writing hasn't aged badly.
The article links to the code: https://github.com/robertdavidgraham/whats-enc/blob/master/b... and provides an explanation of what it does: AES decryption with CBC mode.
The best FPS game you can play right now is Escape From Tarkov.
There is no other game that captures the fear of screen death and the adrenalin rush that you get, when you escape with your precious loot so well.
The overall game loop is very addictive though...
It'a prep for robberies and a lot investment properties that will "liquify" an investors ability to create loans. I'll just use my Visa and American Express there.
I play a lot of OpenArena and I must say it's still a lot of fun, especially with friends.
While true, as others have said it could be rolled out piece-meal. For me, for example, simple text diffing would scratch a major itch, both for text and code.
But it isn’t now so it doesn’t apply to this conversation about these stamps.
This looks interesting. Is stylus-support (iOS and Android) planned? Free-form marking and writing notes directly on an ebook (in whatever format) would be awesome.
Oh interesting, thank you for the correction.

In any case Matrix would not rule out working with the IETF in the future, but for now the Matrix.org Foundation manages the governance of the protocol.
Incident Management: How to train for the tech-fu required
I went through a breakup 8 months ago that brought up a lot of old patterns, including some suicidal thoughts.

A shaman was coming through NYC to work with vets with PTSD and I was invited to sit in a ceremony with him.

I was afraid I was going to loose my mind / be sent to hell.

And I did. The trip immediately amplified my fears and put me into a hellspace that was also outside of time.

I had what felt like an eternity to be face to face with these fears and paranoia.

At one point I thought, the reason people do this is so they never do it again.

5 minutes later I was back and thinking, wow that was intense but really useful, I should do it again immediately.

So this time I was able to surrender to the experience and not fight it.

It wasn’t very visual but I did encounter a very dark energy that felt like the Devil. This energy was the depression and suicidal impulse. I went deep into it and it was frightening but I eventually confronted it in a very direct way and just said “I want to live my life”.

I then came out and observed a sort of metaphysical geometry. I could see a white light at the center and surrounding it the darker energy I had just confronted.

The dark energy felt to me like “sin”, as in the archery term that means missing the mark.

The white light was the bullseye.

And I was reminded in a very deep way that the way to ensure being able to embrace the experience of death and head into the white light, is to practice embracing life every day.

Step into the adventure of your own mythology, take the risks, speak the truth, follow your bliss, and also face the pain and suffering head on.

It took a couple weeks to integrate that, and waves of the experience resurfaced at times like while in the subway - (which in reflection was a new way of experiencing social anxiety) but I knew to stay with these experiences and to integrate them.

After that experience my life really became much more stable, I expanded my theraputic executive coaching program (ALCHEMY) tripled my income in a few months, shipped a number of creative projects (majagual.org; MemeScope.com; anthonydavidadams.com/lsd; dnnyc.org to name a few)

And the suicidal thoughts really feel gone this time.

Integration is really important and needs to be focused on and I’ve done a number of things to support that.

Mandala Journaling (I have a free pdf of my practice on my website)

Cuddle Therapy

Oxtocin Supplementation

Yoga

Breathwork

Co-leading a men’s group

I also co-founded dnnyc.org to help decriminalize natural entheogens in New York City.
It's unclear what you mean here. Lots of uses of vtables will use offsets to look up a specific slot in a vtable, but the total space used by vtables in most systems will be a tiny proportion of the heap, so storing the pointers in the vtables as offsets doesn't seem likely to make much difference.
We are entering the Golden Age of studying our Sun
As a former full-time pedestrian: thanks. more than once it's reminded me to be more careful!
very good article. Thanks for sharing this.
Agreed. Personally, I hate annotations. This is the reason why I never bothered with any tool in PHP ecosystem that relies on annotations. It looks ugly, it feels ugly, it doesn't fit with my mental model - I avoid it entirely.
A Beginners Guide to Jmeter for Load Testing
One time I had TomTom accidentally switch itself on in my bag on the floor, set to Homer Simpson's voice and trying to redirect me to home.

As I got further and further away the "turn left here" and "turn right here" directions got more and more frequent, until eventually he just started repeating "turn around where possible" until I was able to find somewhere reasonable to stop and turn it off.
Just to build on this, pedestrians have priority at marked pedestrians crossings of course but also outside of marked crossings when crossing a smaller road where a car is on a main road and is wanting to turn into the smaller road.

https://www.gov.uk/guidance/the-highway-code/using-the-road-...

"Watch out for pedestrians crossing a road into which you are turning. If they have started to cross they have priority, so give way"
I've also seen this in HK. The team I worked in, used to work mainly with people in Singapore, my local colleagues just didn't know what to do with their manager not being in the office with them. Half of the time they would just sit around and do nothing, until our manager explicitly told them what to do, and even then they struggled.
Software without changing requirements is absolutely not eventually trivial, unless ‘eventually’ is a nice word to mask all of the required project complexity.

The Mars Rover has specific requirements, is this more trivial than a startups new web-app?
The bottom 50% of US citizens have -0.2 trillion in wealth. That's right, they are in debt.

Never in the history of the world have the poor had less than nothing.
Thats a pretty negative picture you paint there.

To me, those are fun things to solve.

The answer is to still have clients and servers, just that the servers deal with the grunt work of routing traffic and the clients just stream the data through a server.

Push vs pull, depending if you can get upnp to open a port to the client.

Skype was originally a peer to peer application, seemed pretty popular and while it still was p2p? It was written by the people who wrote Kazaa, remember that?
Did you work with someone to help you integrate the trip?

Rick Doblin helped me integrate a psychosis I had 20 years prior within about 5 minutes of meeting me.
> But these plastic bags, which were often difficult to find or expensive to purchase, were treated gently and used constantly (both back then and now, it is common to find a matryoshka of plastic bags in a Polish person’s kitchen, with the largest one serving as the mother-bag)

We still do that in our household (Slovakia), it just feels wrong to throw a perfectly fine plastic bag which can be used again. I just grab it the next time I am going shopping. I don't do it for financial reasons (they have 0 value for me).
I read it more like this:

If you are building right thing, but you are not aligned, then you will not build the right thing and you will fail. But if you are aligned, it's easier to steer the ship closer to the right thing.
I thought everyone did that! We've been doing this in the UK since way before the tax, when they were free they were useful as bin bags.
Its just a case of p2p with people running servers (like bitcoint does) and differentiating between the two based on a bandwidth test.
Not just that but the discipline is bad because it’s young. The fact that the majority of IT projects fail is just crazy.
A plastic bag from a German store was almost a status symbol, it signaled that you either went abroad or have a family member living in the West.
Yeah I see how it sounded that way. Right the reverse is true, they are charging so little that if you have a customer it’s still almost free.
Funny how you mention the atoms, since the idea of atoms goes back to the ancient greeks, they coined the term. Obviously they had no way to prove it.
https://en.wikipedia.org/wiki/Atom#History_of_atomic_theory
No, but I assume most can read the numbers? People are good at seeing patterns.

The countdown timers seem well-established so people know what they are.

The decibel meter is probably something people will figure out quickly (number goes up when noise goes up).

The reset is something people will definitely figure out quickly - bottom number goes over 85, countdown resets.

Are there no fines for ignoring traffic lights? Since this is deployed to only a few traffic lights, seems like handing out a bunch of fines to everyone ignoring the light once or twice should be enough for a sufficient number of drivers to stop ignoring it.
> I think this recently re-emerging trend of attributing them with almost magical cure-all qualities is risky at best.

...and it's somewhat surprising, because we said the same things about benzos (which turned out to be pretty harmful), tricyclics, and SSRIs.

When Prozac was released people were talking about "better than well" and saying the medicine licensing system was broken because only ill people could get hold of prozac and we were depriving other people of this substance that would improve their lives. SSRIs are useful, but they're not magic.

Carefully used psychedelics are likely to be similar: really good for some people, not much use for others.
Version History already exists in MS Word for documents that are saved in OneDrive with AutoSave.
Choose the right typeface, then

- put too many columns on the screen so that content scrolls down for a mile and the right side is always clipped

- after 'mobile' users complain, replace that with a single column with snap-into-view flibbery-gibbits that do not resemble any previous design

- implement CSS rules that make menu items or content just disappear if they do not fit on the screen

- remove any pseudo-static navigation or structure, all pages are now ?queries. Hopefully the search engines will abandon you and the drop in traffic will put you out of your misery.

- suck the entire site into SQL and vomit everything from script parsed JSON.

- the site is now completely blank to visitors with whitelist-js

- I have a special folder with bookmarks to 'blank' sites. I revisit them now and then to see if they have gone bankrupt or -- possibly -- hired some old geezer that put up static pages again.
Apple Maps is no where near google maps. It took me to someone’s driveway as “an entrance to” an elementary school, when in reality the school was behind their backyard with no direct access. They haven’t fixed one thing I painstakingly reported over the years. I wanted Apple Maps to succeed but from what I gather they are too disorganized to compete with Google Maps.
> The fact that current testing practices are considered "effective" is an indictment of the incredibly low standards of the software industry.

It's not tests' fault that programmers are lazy and write tests not for every function, or write unit tests without integration tests or write vice versa.

Whole article is just low-quality whining.
I think A Mathematician's Apology is a good read, but if you're looking to learn mathematics there are probably better places to start.

If you want a cursory view of various parts of mathematics, you might prefer Courant's book "What is Mathematics?". Depending on your background and interest, there is a volume of books (available as a consolidated cheap Dover paperback) called Mathematics: Its Content, Meaning, and Methods.

I recently came across A Programmer's Book of Mathematics[0] -- I haven't read it, but the author is a developer and the content might be more appropriate if you're just starting out -- both of the other books I mentioned are older, and are really wonderful texts, but might possibly be overwhelming depending on your appetite and background.

Finally, if you're more interested in math that's relevant to software engineers, there's Knuth's book "Concrete Mathematics".
In 2019 the UK used 46.5 billion litres of hydrocarbon road fuel [0]. Let's say it all has diesel's energy density of 36.9 MJ/litre. That's 1.71585e+18 joules per year total.

Let's pretend fuel use per capita is constant across the country. On 2018 numbers, London's 8.9 million people [4] out of the UK's 66.44 [5] gives it about 13% of the total, so 2.299e+17 joules.

If you get 286kJ from burning one mole of hydrogen gas, London would have to burn 803 gigamoles per year, making the same quantity of water in the process. If water weighs 18.0153 g/mol [3], that's 14.478 million tonnes of water per year. If that all fell as rain, then assuming water weighs a tonne per cubic metre, spread out over London's 1,737.9 km2 [4], that would be an extra 0.0228 mm of rain per day.

In July, Greenwich sees an average of 1.1 mm of rain per day [6], so that's on the order of 2% extra rainfall.

This calculation is extremely approximate, and i have neglected to account for a the water from the combustion of hydrocarbon fuels. Rain is not the only way water gets involved in weather - i'm not sure how to estimate the effect on humidity, for example. And the effect will be bigger for denser and drier cities (Dubai!).

It would be interesting to see a proper analysis of this.

[0] https://www.ukpra.co.uk/en/about/facts-and-figures

[1] https://www.acea.be/news/article/differences-between-diesel-...

[2] https://personal.utdallas.edu/~metin/Merit/MyNotes/energySci...

[3] https://en.wikipedia.org/wiki/Molar_mass

[4] https://en.wikipedia.org/wiki/London

[5] https://en.wikipedia.org/wiki/Demography_of_the_United_Kingd...

[6] https://en.wikipedia.org/wiki/Climate_of_London
Open Port Checker Tool
Seedr: Get Anything Instantly
Горнолыжные курорты Австрии лучшие список
People don't like to be told they did something wrong
> Why not just have your editor insert the semicolons for you.

They don't insert the semicolons automatically as it can't tell if it's the end of line or I'm about to invoke a chained method etc.

Not sure what the down votes are about as it literally increases 2 to 3 letters of extra typing just to append the semicolon after auto completion.

> In JavaScript the automatic semicolon insertion is almost universally reviled.

Why? There's literally no need except on a rare occasion. My IDE happily gets rid of JS semicolons and it's far easier to type.

Ruby and Python don't need one. Just feels tedious compared to other scripting languages.
A dispatch dictionary covers many of the typical usecases?
https://alysivji.github.io/quick-hit-dictionary-dispatch.htm...

Though I have missed switch statements a few times in Python, when implementing state machines - for parsing or sensor/actuator logic. Though these tended to be quite simple and not performance-critical, so a if/elif sequence was just fine.
Ways GM could enter the electric market.

Electric Malibu: Totally makes sense

Electric Cadillac: Wow, forward thinking!

Electric Corvette: Whoa, world changing

Electric Hummer: But I. But we. Wait. What?
Incessant honking is just another form of mass of mass ignorance.

Whether it is spitting, throwing cigarette butts, stealing any small thing that isn't locked down, or honking, the end result is that everyone's quality of life decreased - even the people doing the bad thing.

The ignorance is that anyone who took just a moment to think through the situation would realize that such actions do not help. But for some reason, large numbers of humans default to low level mental functioning whereby they spend most of their lives operating without rational thought.
FTA:

> The reason this works is because the backing stores of array buffers are allocated using PartitionAlloc (I’m not entirely sure if this is still the case, but this was the case approximately 3-4 years ago, and I haven’t seen anything to suggest that it has changed). All PartitionAlloc allocations go on a separate memory region that is not within the V8 heap. This means that the backing store pointer needs to be stored as an uncompressed 64-bit pointer, since its upper 32 bits are not the same as the isolate root and thus have to be stored with the pointer.
Genetically engineered moths can knock down crop pests, but will they take off?
Huawei powers remote diagnosis platform in Wuhan’s makeshift hospital
Stylish Ways to Slay in Your NYSC Official Kit
Good developers can write bad software too. Primarily because there are a lot more factors to software quality than just developer quality: management quality, team dynamics, cost/time pressure, market dynamics, etc.
I've watched this a while ago, there is a nice part about his opinion on garbage collection about 40 minutes in.
I have and can advise it.
It's true that big-O notation only concerns behavior with large N, but it's a bit disingenuous to say that the loop executes a constant number of times -- by that argument, you could say that if you implemented size() by strlen() it's O(1) because the string must be less than 2^64 bytes long on a 64-bit machine.

So I can see why someone would claim that implementing size() via strlen() "only" for small strings shouldn't be considered O(1), because strlen() is O(n) and within that class of strings the runtime is increasing as the length increases.
Considering the number of pickup truck EV and large SUV EV in the plan, I think this exactly what many non-EV people want.
Read "Never Split The Difference" by Chris Voss. It was the best book i read in 2019 and it will change your mind on how you look at negotiating.
That would be my concern. It's only a matter of time before battery recharge trucks roam the streets and rescue people from offroad power failures. Cheaper than loading an EV on the back of a diesel flatbed to be taken to a recharge station, which I often see in California.
Fast by Default: Algorithmic Performance Optimization in Practice
> it's so rare for an application to ask you to open a port in your firewall, most users probably don't know how to do it.

in home settings this step has been automated for something like a decade or more. One of UPnP or NAT-PMP are available on basically every router
Yes, once you are familiar with. Otherwise, PHP with its generic curly-brace syntax is way easier to grok (I have to work on a codebase in Ruby and the funny syntax + no strongly typed compilation pass makes it really hard for me to get started modifying things).
Not all of them. I believe Microsoft uses a special format for Office documents in OneDrive. (These files are converted to xml when you access them with non-Microsoft software)
Could FPGAs Outweigh CPUs in Compute Share?
1 hour 25 minutes in, he talks about long compile times, another interesting part if you're just dipping in.
I'm not talking about extraordinary events like a giant meteor strike though. I strongly suspect there are plenty of buildings that would collapse if there was a small flood or if they were hit by a car in the wrong place when they have been designed to remain standing in those circumstances. They're incorrectly designed, or incorrectly built, or incorrectly maintained. There's so many ways for things to fail. The only reason they've not collapsed is because those circumstances have never arisen. They probably never will. That doesn't make them correct.
America has 2600 km of hydrogen pipelines:

https://hydrogeneurope.eu/hydrogen-transport-distribution#PI...
Sure.

But I've seen too many dev departments building crap over and over again and feeling pretty good about themselves the whole time.
I used to encounter this article _all the time_ in the late 1990s as an argument against Borland Delphi, which was by far the most widely used Pascal variant then.

You can reply point by point about how it is factually wrong about Delphi:

e.g.

> There is no break statement for exiting loops.

Delphi has a "break" statement. (1)

> case statement ... there is no default clause

Yes there is, the "else" case. (2)

Many of these "extended syntax" features were likely added due to the criticisms in this paper. So in one sense the paper was valuable in causing that, in another sense it's usefulness was over by the late 1990s.

And then the eventual fallback argument is: "Ok, then Delphi is not Pascal" which was technically true, but then this article is allowed to stand as "an argument against Pascal (not Delphi)"

... and is soon picked up again as an argument against Delphi (because it's "Pascal" ).

Round and round it went. So tiresome and ignorant.

1) http://www.delphibasics.co.uk/RTL.asp?Name=Break

2) http://www.delphibasics.co.uk/RTL.asp?Name=Case
Affiliate link masquerading "article”. What does mouse buying suggestions have to do with any of that....?
Learning to ski well in Tribes was one of the most satisfying things to learn in an FPS back in the day.

If you knew how to really ski well, and had the map mastery to apply it well, it almost felt like cheating sometimes because new players had almost no hope of keeping up.

I'm sure in today's world it would get patched out.
I don’t buy into the idea that big law firms are more accountable than anyone else. I’ve spent too much time behind the scenes to fall for that anymore.

Can you imagine trying to sue a global law firm for malpractice? Are you aware that everything gets pushed down to the lowest, least experienced associate because that’s built into the business model?

Some firms are better than others, but I just simply don’t trust any of them any more.

Edit: I also don’t have too much respect for senior partners at big law firms any more. What kind of person cedes that much of their personal equity? If they were really great, they’d take their clients and run away from the huge, dysfunctional cost structure of BigLaw.
True, but the answer lies on the latest comments.

> So I think that after the lengthy discussion here, this issue can now be closed. In summary: the use-after-free potential with string_view is accounted for in the Lifetime profile, even if there may be bugs or limitations in preliminary implementations that mean it is not diagnosed.

This is the big difference across both language communities, being willing to improve instead of being stuck with what was born alongside UNIX.