skysight-inc/HackerNews huggingface dataset:
My take:

<subheading>Transit improves traffic</subheading>

When many people travel on the road as a unit - in a bus for example - traffic flow improves compared to everyone driving their own car and thus travelling as separate units of traffic. Most of the bad stuff we dislike about traffic results from "friction" and interaction: yielding at intersections, the gaps between vehicles following each other, being slow to react on green light, and so on.
But traffic won't automatically improve with more transit. It needs to be planned such that ...

---

In your long version (which you admit can be improved) I dislike the fancy, prestige words of "residents", "destination", "greater number or proportion of people" can just be "more people". I find that good, world-renowned experts are not afraid to write in simple words but still give deep insights into special topics. I find that the less pretentious and shorter the words are in an academic paper, the more likely it is to come from a top research group or top researcher.
I actually pay the experts who do the workshops or sessions :) All part of valuing the work.
I've only had two SSDs fail on me, and in both cases they died without any warning. Didn't get discovered during boot or anything. Two different brands, very different uses.

So while they _can_ fail in a graceful way, that's not been my experience.
I'd be happy to help here too, let me know. I can try to hack some elisp together tomorrow.

Looks like rope would be a decent place to start.
Your "thing" is that you can learn new things as required.

It's actually the ultimate thing.

Those other guys with a thing like, say, SQL or LAMP or maybe java etc etc, they can't learn totally new things, or they would.
Twitter to relaunch account verifications in early 2021
I think it’s important to be more specific here. You can always mess up and pass the wrong thing, the type system can never know what is semantically correct, no matter how strict your types are. They’re about ergonomically reducing the space of valid programs.

There are a lot of interesting tradeoffs to be made there. Over strict specification (whether parsing or type checking), specifically checking for invariants that aren’t actually useful, can make code and systems brittle and hard to change, just like under specifying them. The specifications can also be different depending on what you’re doing with the data.

Also as the expressiveness of types increases, the space of possible ways to constrain your program space goes up, along with the complexity of the transformations of that space, making it difficult to understand what the valid program space actually is, hard to understand when you’ve accidentally excluded perfectly valid programs, etc.

So yes, fundamentally there are always types and underlying structure to useful data, but saying that it has “a” type is dramatically over-simplifying things.
(2016)

Discussion at the time: https://news.ycombinator.com/item?id=13027132
I like how their experiment was literally pitting ants against each other.
> Allowing non citizens to own real estate in your country is a grave strategic error that has not yet revealed itself.

It's not so much owning real estate but real estate with the sole purpose of investing/using it as a way to park assets.
Not to be too nit-picky, but it doesn't actually have a for-loop. The for you linked to is not a for-loop but a for-each loop (simply called for). Well it is actually more restricting even then a for-each loop, as it maps over elements and can only return a collection of the same length as it iterates over.

That said, you're correct it does have a pseudo while-loop. Though it will still force you to use a managed mutable container along with it, which is still safer than without. Also, it's a very ackward while-loop, as it doesn't support continue or break, that's because in reality it isn't a real while-loop, it's a fake while-loop built on top of a recursive loop.

And for all other readers, it's true, Clojure doesn't disallow the use of less abstract less safe construct, it simply makes them more ackward to use and not the default and obvious choice. The reason for this is also something the article didn't bring up, but higher level safer abstractions often come with a performance cost. This is why most languages have escape hatches for whatever safety mechanism they provide, and why Rust lang loves to talk about "zero-cost" abstractions.
If you can keep your head when all about you
Are losing theirs and blaming it on you,
If you can trust yourself when all men doubt you,
But make allowance for their doubting too;
If you can wait and not be tired by waiting,
Or being lied about, don’t deal in lies,
Or being hated, don’t give way to hating,
And yet don’t look too good, nor talk too wise:

If you can dream—and not make dreams your master;
If you can think—and not make thoughts your aim;
If you can meet with Triumph and Disaster
And treat those two impostors just the same;
If you can bear to hear the truth you’ve spoken
Twisted by knaves to make a trap for fools,
Or watch the things you gave your life to, broken,
And stoop and build ’em up with worn-out tools:

If you can make one heap of all your winnings
And risk it on one turn of pitch-and-toss,
And lose, and start again at your beginnings
And never breathe a word about your loss;
If you can force your heart and nerve and sinew
To serve your turn long after they are gone,
And so hold on when there is nothing in you
Except the Will which says to them: ‘Hold on!’

If you can talk with crowds and keep your virtue,
Or walk with Kings—nor lose the common touch,
If neither foes nor loving friends can hurt you,
If all men count with you, but none too much;
If you can fill the unforgiving minute
With sixty seconds’ worth of distance run,
Yours is the Earth and everything that’s in it,
And—which is more—you’ll be a Man, my son!
Who Will Miss the Coins When They’re Gone?
An emulator can emulate timers however it likes...
BBC backs another children’s coding platform, based on RISC-V CPU
The fact that common ones were listed in general audience documents like day planners and dictionaries should tell you it was important. You can even see commonplace examples pop up in old novels and even movies from time to time — if you don’t know, they can sound like weird slang, which of course is what they are.

Also pretty general purpose: sure, I imagine some companies had special codes, but as they would sell these books at stationary stores they were the kind of thing you’d need to go buy if you list yours or left it at home, say as a traveling salesman. After all, reducing “six units of model “luxury natural” need replenishment” to “AVOCADO SIX REPLENTISH STOP” saves you 5/8ths of an expensive charge probably coming out of your commission.

A hundred years ago a stamp cost a penny, a newspaper or cigar five cents and a five word telegram could cost a dollar (with Western Union that included physical delivery to an address, though you had to tip the boy).
If I understand it correctly, the next Debian version will come with PHP 7.4:

https://packages.debian.org/testing/php/php

Is that correct?
Of course, and such a thing would never take place in a system of economics where there are no consequences for taking accountability for failures. Because I’m sure such a system exists. Right?
I feel like often the opposite can be true as well. Obviously hashtables are better for large collections but often collections are very small (sizes typically follow a power law; most strings will be smaller than the pointer to their first character; most collections will only have a few elements) and arrays can win here due to less indirection and better locality.

Compare this to many functional languages (or lisps) where the most convenient data structure to hand is the singly linked list. It was already bad for performance when those languages were invented but in modern times they are relatively much worse than before.

Sometimes I think that the performance of C programs come more from the fact that it such a massive pain to do anything in C that you can usually only do the simplest thing and this tends to be fast and reliable. The problem is that if you can’t do a simple thing it will either take a lot of refactoring or you’ll do a complicated thing and your program will randomly segfault.

This is also my theory as to why languages like C have better libraries than lisp: it is such a monumental pain to do anything in C that people go to the small extra effort to package up their achievement into a library either for others or in case they need to solve the trivial problem again themselves. Improvements can them come later as needed but get shared. Compare this to, for example, lisp where the attitude is usually that libraries aren’t flexible enough and generally not that hard to implement yourself (so long as you aren’t so worried about data structures), and I think this is the reason there don’t tend to be so many libraries, especially for trivial things.
The problem is we are talking about something that is orthogonal to the effect. An example is more like getting prescribed anti-depressants for back pain. I hear it helps with the pain, but you are getting personality alteration as a side effect with it.

Like if im suffering pain, I don't want to get drug-induced quasi religious epiphanies from psychedelics. I Just want the pain managed. And what's really annoying about LSD is how it keeps getting promoted as a wonder drug here.

What happens when docs start prescribing it for back pain too?
Just wait until you learn about the sex life of hexaploid species... an offspring needs parents of at least 3 different sexes.
Ignore the applications for spatial computing in the article, industry already has a very long list of concrete applications that they are trying to operationalize today. The real use cases aren't as sexy as the articles but they are incredibly valuable and utilitarian.

The problem already exists at scale today in many, many companies that everyone has heard of. Mitigating and working around this has been a large part of what I do for many years. If such a platform came into existence today, dozens of companies would each happily spend tens of millions per year to use it tomorrow; they are all ready lighting similar amounts of money on fire in this area on infrastructure that doesn't work.

The business challenge is that the engineering effort required to build such a platform is simply too large to easily fund, even inside large tech companies. There is no appetite for that scale of investment in infrastructure software anymore, everyone kind of waits around for something to show up in open source that they can re-purpose. Less risk and less cost. In this particular case, that is unlikely to happen for the foreseeable future, someone will need to make a real investment.
Except they won’t. Instead nobody will pay the exorbitant markup, so the scalpers sit on them until it’s clear they won’t make a profit, then return them all to the reseller. So 80% of the first units will remain unused in-box for a few months.
They are not alone in Denmark: https://www.netsite.dk/blog/2020/11/php-8-webhotel-lanceret-...
Thanks for testing! I'll write a description of how it makes the predictions and add it to the tool.

But in short, it uses a machine learning model that I trained with a dataset that contains all stories and comments between 2006 and 2017: https://www.kaggle.com/hacker-news/hacker-news

I've tested various approaches, and currently, the algorithm takes the title as an input and transforms it into an array of numbers between 0 and 1 (each character is a number). Then I give these arrays to the machine learning model (brain.js feed-forward neural network) and the number of scores as an output. After learning and iterating over the data, it spits out the prediction model that I can use to predict the outcome of different title variations.

I've tested the algorithm with approx. 10.000 posts and it has been able to predict 60% of the cases correctly. So, it's not perfect yet, but I use this method in a situation where I don't have any experience of which type of title would work + I don't have time to do "proper" pre-testing.
UVB-76/The Buzzer (4625Khz) LIVE

https://www.youtube.com/watch?v=LegzZZRIqj4
Could you suggest a better and cheaper alternative?
Previously you weren't able to do that, but you were able to disable booting without signature checks. I'm mainly basing this info off this sole tweet: https://mobile.twitter.com/never_released/status/13263157410...
aside from the standard GNU utils right now it's mostly just guix the package manager and https://www.gnu.org/software/shepherd/
The author of the black swan book explained that the covid pandemic was not what he meant by a black swan event. Because it was not something entirely unpredictable.. if we look back, we have been talking about pandemics for decades.
Great expression.
alternative: don't be online...
TwidereX Is Coming
> Things will never be the same again after the dust settles. And yes, I’m talking about Linux.

One has to be in quite a techie bubble to equate Linux kernel features with actual world-changing events, as the author goes on to do.

More on-topic though, having read the rest of the article, my guess is that while these features will let companies squeeze some more efficiency out of high-end servers, they won't change how most of us develop applications.
Before the invention of radio this was a property of language as well. Famously you could walk from Paris to Rome and every village could speak comfortably and naturally with its neighbors, yet by the time you got to Rome they spoke a language essentially incomprehensible to Parisians.
Some fig wasps have zinc plated ovipositors.

https://www.popularmechanics.com/science/animals/a12957/foun...
> How do people become linux kernel hackers?

Honestly, by hacking it.

There's a famous book about Linux internals that I don't remember the name (but has "Linux" and "internals" on it). But I have never seen anybody doing it by reading a book (despite how excellent it can be). You just go change what you want or read the submodule you are interested in understanding, and use the book, site or whatever when you have a problem.
And it's not fresh hires either.

https://www.justice.gov/usao-az/pr/former-raytheon-engineer-...
Most importantly, if you always keep this mindset, you will never stop learning!
The story of Amateur Radio operators organising in order to clear their frequencies of the Soviet 'Woodpecker' (OTH RADAR System) always makes me smile: https://www.qsl.net/n1irz/woodpeck.html
What's with HN allowing just links to Wikipedia with no substantive associated discussion from the OP?
I worry about responses like yours because they are based on an impressionistic and ultimately incorrect understanding of western history. This way of approaching our history is frequently used in what is effectively woke propaganda, as well as propaganda in support of Chinese authoritarian style government.

Regarding your claims specifically:

Americans did not hang witches "all the time". Prosecutions for sorcery and witchcraft occurred in the USA in the late 1600s, that's true -- but they all occurred all over Europe into the late 1600s.

https://en.wikipedia.org/wiki/Witch_trials_in_England

https://en.wikipedia.org/wiki/Witch_trials_in_the_Netherland... (ended trials exceptionally early)

https://en.wikipedia.org/wiki/Witch_trials_in_Finland

https://en.wikipedia.org/wiki/Witch_trials_in_Denmark

In England, the last person prosecuted for witchcraft (thankfully not executed) was Helen Duncan in 1944:

https://en.wikipedia.org/wiki/Helen_Duncan

Most European kingdoms did not have slavery in Europe; it's in the colonies where all of them established slavery. The US was such a colony. It's perhaps unusual in being a place where slavery was abolished as a result of a war between the ruling inhabitants, as opposed to a slave revolt or something like that. The British followed a more orderly process, though, abolishing slavery in the colonies and then compensating the slave owners out of the treasury.

Slavery was abolished in the English colonies in 1833. That's 32 years before it's abolition in the United States. That might not be the "much longer" that you had in mind.
There is no peer reviewed paper or technical document. I've got the patent, and various grant proposals, and my various attempts to explain the concept online.

You are right that the ion current will be small. I'm anticipating that the plasma will be a non-neutral deuterium plasma.

The energy distribution will be thermal targeting 15kev for the prototype.

I wasn't familiar with the Liouville theorem. I'm not quite sure how to reconcile this. Seems a bit paradoxical. I'm going to have to investigate further.
That’s a great article. Thanks!
Show HN: A GPS for any map (Android app)
> It is common to see me creating a huge 20GB virtual machine disk image, using it for a few hours, then deleting it

The SSD in my current desktop, a Samsung 960 Pro 1TB, has a warranty for 800 TBW or 5 years. So that's 800/5/365.25*1000 ~= 438 GB per day, every single day.

And it's been documented the Samsung drives can do a lot more than the warranty is good for.

Either you're doing something else weird, or you're not really wearing them out.

[1]: https://www.samsung.com/semiconductor/minisite/ssd/product/c...
S60Maps 1.0.0
Oxford/AstraZeneca vaccine results face growing scrutiny
Keep in mind technological knowledge is not the only factor. We pass on hiring plenty of technically competent people because of their communication skills. Knowing what you don’t know is one way to improve your communication skills.
I appreciate how some people are able to release so much of their ego and write things like "I did this in just X days", or "I'm only 15 and did that".

Not that I'm a genius like them. But sometimes having these ego bursts really helps getting some attention.
libuv is tracking in https://github.com/libuv/libuv/issues/1947
We've all seen Snowpiercer, we know how this will end.
Recreating Famous Presidential Neckties in Pure CSS
This is the kind of post that appears when drugs come up. It's personal opinion, without any facts, strong on unfounded typically assertions and word-weaseling ("..when an objective observer...") and ignores what has been done over a thousand times before, with answers. Answering posts like these is a treadmill for everyone and an ascent for none.
Isn't the TPM a large part of why it's difficult to run anything other than iOS on an iPad/iPhone?
Yes, was warning / log previously, now it throws. So what was a warning and just going on is now an exception that interrupts.
I can't help empathizing with animals in such a situation. It must be like getting teleported into an otherwise empty room with a tiger in it.
(Turns out that humans with chainmail fare a lot better than those without!)
It could also be down-voted because the idea of detecting a gene responsible for blood types visually is just silly?

I have a predominantly Caucasian genetic disorder. The quick-and-dirty visual test for "How high is your risk of being a carrier or having the condition?" is "Are you White?"
In the limit you end up with Warrior Forum and a community of marketers who basically just market marketing to wannabe marketers who want to market because marketing is a thing, sometimes in scammy and cultish ways.

The content soon becomes more about narcissism than value creation.

"I started from nothing and now I have a beautiful house, a beautiful wife, a beautiful car, and a beautiful boat, as you can see on this beautiful website, and you can too - if you sign up for this free newsletter which will give you some sticky free content and then introduce you to my special Monthly Success Diamond Club Offer which is usually $1000 but for today only...'

And then it turns out all of the above are hired for the photo feature and aren't real. But maybe wishing hard enough will make them so. And so it goes.

I don't think we're close to that limit here, but it does exist and reliably seems to exert a dark gravitational pull on the hopeful and unwary.
You can use CMake on Windows without MSVC or MSBuild.
> Is this fixed in php 8?

I don't know. It's one of those cases where fixing it to do the "right" thing would potentially break a lot of software depending on this sort of erroneous behavior. Part of me wants to say "I hope so" and part of me is kinda terrified at what might happen if they did. Shouldn't be difficult to fix, but it would definitely take some time.

Someone should know if there's a decent linter that would pick this up to make it easier to fix, I would imagine!

> I did not think this was possible as there is no type coercion and not well documented.

I think when applying the equality operator (==) in lieu of the identity operator (===) between strings PHP uses heuristics to decide what to do. If it looks like a number, it coerces it into an int or a float. As an example:

php > var_dump('1e12' == 1e12);
bool(true)

As ridiculous as I think it is, I also take the approach that it's just what PHP does. Weird, maybe a bit eccentric, probably a contributor to difficult-to-find bugs, but it's just something we have to keep in mind. Perhaps I'm feeling charitable because it's Thanksgiving!
Lucky woman to fall in a high risk category and still live through it. I feel like I understand what you are saying but I would phrase it differently as your statement comes off a bit cavalier about the risk. I would say that while there is a lot of fear about COVID, and much of it justified on the mortality and long term effects that many people are suffering from, do not live in complete fear life can and will prevail. Be cautious on risk, where a mask for your benefits and to minimize the risk to your community etc.

For me when I read your statement it almost comes across as a "well I got wasted and drove home drunk and made it home safely (not self driving vehicle FWIW), therefore I should always go home drunk and maybe advocate that my friends should try it to". Now I'm not saying thats what you are writing but it's a bit unclear.
"At speeds in excess of 40 miles per hour, 100% of the SUV incidents studied resulted in the death of a pedestrian, compared to 54% for crashes involving cars at this speed."[0]

"The GHSA reported that the number of pedestrian deaths involving SUVs increased by 50 percent from 2013 through 2017, while the number of pedestrian deaths caused by passenger cars increased by 30 percent over that same period. That reflects booming sales of SUVs and the fact that pedestrians are much less likely to survive the impact of an SUV."[1]

[0] https://brandonlegalgroup.com/iihs-study-suvs-present-a-high...

[1] https://eu.usatoday.com/story/money/cars/2019/02/28/pedestri...
Best of luck with the book! Will make sure to be on the line for when it comes out.
It is not more powerful. You cannot do this for example:

function hello($name='Joe',$title='dear')
{
echo "Hello $title $name";
}
hello('Sue');

Try here: https://3v4l.org/6MZHh

With your object properties approach, you always have to use the variable "names".
War Room – Take the fear out of digital advertising
io_uring allows the kernel and the user program to communicate purely via shared memory without having to perform a system call, i.e. a context switch to the kernel.

Do windows completion ports also work that way or do they involve a system call to be performed in order to consume completion events?
I would say for the better - it's the only thing keeping RSS alive. Although I will also say that having to administer a database is overkill for most use cases.
An article about why using setters and getters for member variables is frequently a bad choice.
Ahh I didn't realize.

I assumed it was professions that have a licensing requirement where you must have a specific degree (like having an MD to practice medicine) vs some areas of finances where you don't need a particular diploma to pass the required SEC exams or certifications.