skysight-inc/HackerNews huggingface dataset:
I like the careful review of python at the start.

The "stories" in the writing seem good. If you want to learn by reading somebody explain how to solve a problem, I think this is a good text for you.

I don't think there are enough exercises... with a title of "problem solving..." I was expecting more focus on (challenging?) problems in the exercises. If you want to learn by thinking about how to solve problems, this is not the text for you.

I could not find a comparison of the orders of various operations on ADT's. I thought I would find something like that in Chapter 3. I think that omission makes it hard to understand the big picture.

Details seem raw:

* The table on page 9 shows the Pythonic not equals operator is `=!`.

* 2.7 Programming Exercise 4 should really be specifying linear _in what parameter(s)_ for clarity. The operation is O(nk) presumably. Exercise 5 assumes that n = len(data) from Exercise 4. The claim that O(n log(n)) < O(n k) depends on k and n, but that isn't clearly stated.

* 3.14 Programming Exercise 7: this exercise has in mind only one particular solution. Does not a double ended queue have O(1) enqueue and dequeue?
Another person addressed the window material problem (the tech doesn't exist).

Given that, I think it would be more attractive to have more spacious interiors, namely higher ceilings and wider corridors.
The Kenosha Shooting Suspect Was in the Front Row of a Trump Rally in January
I wonder how much time and effort has gone into solving the hallway effect. Or the cocktail party effect.

Maybe we just assume it can't be solved but haven't really tried that hard, or at least that recently?
Well, that sounds logical. I do the same, too.

1. Current work

2. Today work

3. Review for when work

4. Far future work

Everything in 1 and 2 are lined up for work. Anything without clear action items requires follow-up and clearly signals non-urgency so it's in 3 which is the end of the day. And a 4 is just intentionally forgotten.

If you stick that in your github.com/username/me/README.md then it's documented behaviour.
Craigslist, basically.

Classified ads were the difference between profit and loss for a lot of local newspapers. Craigslist devastated that market in a matter of years.

Commercial ads were doing fine, and I bet there are a lot of local businesses who wish there was still a local newspaper they could advertise in. But it wasn't enough.
There were all kinds of problems with the test suite that could've been optimized. The problem was that there were too many to manage, and that deleting them was culturally unacceptable.

Lots of them made real DB requests. It's hard to get a product owner to justify having devs spend several months fixing tests that haven't been modified in 9 years.
Recovered from a hack or a ban?
let's say you want to permit gambling, because people should be free to gamble. Even in the case of permitting it, there are still legitimate reasons to have regulatory systems. For example, if you go to a casino to play craps, you as a consumer have an expectation that the casino is giving you fair dice. Now we could say that such a thing shouldn't be regulated, let the market decide or whatever, but now every time you go to a craps table you have to test the fairness of the dice yourself. So every time someone new comes to the table, they're testing the dice. It would be ridiculous. Even if you ran an entirely fair organization, everyone would be coming to the table and testing the dice because they don't trust the ecosystem, and your ability to have a fun and care-free gameplay experience becomes hampered by bad actors creating an ecosystem of poisoned consumer expectations; it would not only harm players, but it would also harm proprietors that wish to host games with fair dice. Or you can just say "you know, maybe casinos should not have the freedom to give people unfair dice".
Unfortunately, it turns out that (for ideal gases, such as our atmosphere) a 'negative shock', i.e. a rarefaction shock, is impossible. It would violate the 2nd law of thermodynamics!

And if you have multiple, subsequent shocks (one at the aircraft tip, another at the engine inlet, another at the wing, etc), the later ones will eventually catch up to the first one, resulting in the N wave we would want to avoid.
I recently participated in C++ on Sea (https://cpponsea.uk/) - online, of course. The conference setup used https://remo.co/conference/ which automatically groups people into tables, where each table is essentially a video conference call. You can move around freely between tables but each table can only hold 8 people.

I felt it was possibly better than a physical conference because it's so simple to join new conversations - no walking around looking for interesting groups (you can see who is currently sitting at each table) and none of the nonverbal social awkwardness in joining a conversation. Plus you always have the names and profiles right there. Never been easier to meet people imo.

I'd contradict your claim based on this experience. You clearly can establish small groups, and it seems to work really well when you do.
It's not paywalled for me.

Medium has this policy that you get a certain number of free articles views per day or something. It also sometimes blocks certain browsers, but this I am unsure of.
The aviation industry did something worse? Nope. It invented the high bypass turbofan engine which is quieter, more fuel efficient, and enabled affordable mass air transport.

Concorde was incredibly noisy, unsafe (do the numbers) and only available for a tiny number of elite travelers.

Most of the folks commenting here have never heard Concord take off or land. It rattled the entire city.
Ha, how about that. By the way, you might enjoy Lord of Light by Roger Zelazny. You're the hero of the story.
As others constantly show us, illegal is only illegal when someone actually enforces the law. Even if it weren't illegal, if it only impedes a small subset of people, or if it impedes people without money / resources, then Cloudflare won't give the tiniest of a damn.

Their record is clear on this. They only care about those who give them money. Any attempts to give you things for free is to bait you in to becoming dependent on their platform.
Where do you draw the line between gambling & investment...?

Example: Median returns across venture capital are net-negative, even if expected value is net-positive:

https://techcrunch.com/2017/06/01/the-meeting-that-showed-me...

The effect is even more extreme for early-stage startups given the power-law nature of returns.
Huh? They build a tool. If it's not Palantir then it'll be someone else, likely the NSA. I'd be surprised if they aren't already investigating ways to analyze without Palantir's help. Your scorn is misguided
I’m almost positive we’ll see similar actions taken by the current US administration as we get closer to November. Basically shut everything but Fox/OANN down, so they can be the single source of “truth” and declare victory. Ready for your downvotes.
Calling these investments securities would probably lose a broker their license.
Great, now they have time to make a Greg Egan tv show instead.
It is a fantastic teaching language. So it something like Python. Except it does have very little syntax to get in the way. Close to zero syntax, in fact. You can spend 5 minutes on it, then you are off the races.

Advanced concepts (like recursion) are natural. Even more advanced concepts (like macros) are easy.

You get the understanding that code is data. Also due to that you also get 'configuration' for your application for free.

It is also a great foundation to build on. So it doesn't have OOP by default? Build your system. It will work just the same as if it were built in the language. Racket is actually notorious for being a foundation for other languages to be built upon. This very site is (or was?) built using Arc. https://en.wikipedia.org/wiki/Arc_(programming_language)
> There are an awful lot of people who believe that Rittenhouse shot in self-defence

Self defense after running into an unarmed crowd swinging around a rifle?

I'm not going to say he's guilty just yet, but the police charged him with first-degree intentional homicide.

I think it's fair to say the people who believe it was self defense have a lot of explaining to do given the facts as we know them.
> But it's very difficult to expose yourself to the open internet nowadays unless you're hosted in a cloud or have something like CloudFlare.

Yet, millions of websites are working fine without cloud and without CloudFlare.
Interesting Historical detail.
I don't buy that any significant population watched extremely low quality cams vs paying $10-15 for a theater ticket. I think it was mostly a stupid risky prestige thing for sceners.

Theaters probably "lose" orders of magnitude more revenue to teenagers watching 2-3 films after only paying for the first ticket.
Ford Project inside garage is closed to public – but could change how you park
Boris Johnson and the revenge of the school librarian
> the sounds that it does make are not intrusive

That's quite arguably false.

> Think of hearing button feedback in sci-fi videos.

Most people are in fact not actually in sci-fi videos, and are often in situations where they would not want their device to start beeping and clicking.
Health insurance (USA; upstate New York) costs me $2,300/month in premiums plus $4,000 annually in copays for a family of four. I'd happily take the higher Canadian taxes.
Dunno how many is a bunch, but I have an HP microserver that's quiet and cheap. They're intended for small offices, and can be picked up refurbished for $250. I have ~12(4x3)TB in mine, in two mirrored vdevs for 6TB usable. Less than $125 for all the (used) HGST drives too.
Speaking of least favorites I’d propose the glottal stop /ʔ/.
This is cool, thanks for the tip! How is performance compared to meet.jit.si?
Amber on black is fairly good I think. At least compared to green or white.
There's a huge space to occupy between 'hi' and launching into your life story before you know if the other person is even reading.
Really? Microsoft was ruled a monopoly over similar issues with browsers. All the big tech monopolies should be shifting uncomfortably in their seats right now. They are rapidly losing support from the pro-business conservatives who are normally against this sort of regulation on account of being deplatformed, shadow banned, and railroaded. Who's left to stand up for big tech? Is that the new Democrat platform? I don't think being pro-monopoly is going to rally the progressives.
It is great to see people using GitLab to continue to use Mercurial now that BitBucket deprecated it https://bitbucket.org/blog/sunsetting-mercurial-support-in-b...
Anything in the sky is something which at least obstructs the view. If we have too many even black body satellites - which have zero reflection or emission in interesting spectral parts - we're still can't see through them. If we have too many of them, we still have a problem. So - theoretically - it's a choice between space flights and astronomy.

Maybe there can be a more optimal solution than what we have today.
We’ve updated hundreds of examples to the latest version. Here’s the gallery: https://observablehq.com/@d3/gallery

We’re still in the process of republishing some of them and were hoping to announce tomorrow but it looks like someone noticed and here we are on HN.
I think you’re right but I’d love to see them try to argue that pro-scarcity point to its conclusion. Why would we need jobs if the point of jobs is to get money and the point of money is to get scarce goods. The replicator would make the whole system obsolete unless the pro-scarcity side straight up admits they just want inequality for its own sake.
Not a very effective retort when GP lays out their thoughts and justifies their position...
> non-CS engineers and scientists can write their own code

Having seen plenty of code written by non-CS engineers and scientists, my experience is that formally trained programmers have excellent job security.

Have you ever tried maintaining that kind of code base?
Same. Or I reply "nohello.com".
I'm not sure if WhatsApp's chat data is accessed by FB too. I thought it was impossible after they implemented end-to-end encryption. A friend of mine recently bought a mattress and talked about it with other friends in a WhatsApp chat. One of those guys didn't even look up the mattress anyone on the web but still got an ad for it on FB in a few hours. Could be just a coincidence. All of them are on Android.
Can confirm. I'm a healthy 30-something that's married with two kids in Nevada. No state income tax here, but we pay ~$1.6k/mo for what is considered mediocre-to-poor health insurance coverage.

My youngest (2.5 year old) is at the ER with my wife right now getting an x-ray (insurance & the pediatric urgent-cares all referred us to ER, no one else would x-ray <3yr olds) -- I'd guess it'll cost us at least $2-3k, assuming they say it's "not broken". Substantially more if it "is broken". Yay USA.
How on earth is this considered a reasonable accommodation for people with access needs? Stinks of something created with no consultation whatsoever with the accessibility community.
>If the police followed the "Rule of Law" there wouldn't be a disproportionate amount of Black men who face violence from the police. Should "bad cops" be held accountable? Or is everything fair game when "enforcing the law"?

For sure. but not with violent riots.

>Similarly, "accede or we will riot" is precisely the logical progression from "we've asked nicely to not kill us".

No, its terrorism. I have no problem with protests, but violent riots to push police reform are political violence, something I think leads to only more violence.

>Do you expect Americans to simply watch their family, friends and neighbors being extra-judicially killed?

No. But I expect people who perpetuate violence for political aims to keep perpetuating violence for political aims. I don't think its acceptable unless they're ready to receive political violence in kind.

>It's this inability to empathize with a population,

No. I empathize, but my empathy sits behind the knowledge that the rule of law and state monopoly of force must be maintained or all will devolve into tribal war.

>and an uncritical view of those who enforce the law that will lead to non-action, leading to more riots.

Choosing to commit political violence is a choice the rioters make. If the options are abolish the police or get riots, my reaction is "call in the national guard".

There are plenty of people to empathize with, and I don't think political violence is worth any empathy. Justifying political violence is a precursor to real civil war.
Goes for anyone pushing anything.

It's still 50/50, because you have no proof either way.
I haven't kept up with the scene but as long as set top boxes & sticks exist, can't you just buy a $10 HDCP decoder on eBay and re-compress with minimal loss?
> Putilo is “wanted” in both Belarus and Russia and facing up to 15 years imprisonment

Isn't Telegram based in Russia? I'm surprised Russia didn't try to get them to bock Putilo, or at the minimum that Russia would cooperate with a Belarusian internet block.
A for-profit company isn't going to spend millions and millions on something that doesn't benefit them. Something can make a company money and be generally good for others as well. If they get some good PR while making money and making things better, then more power to them
Linux dropped support for i386 not too long ago. Older versions of x86 are not supported either.
"Reducing our payment processing costs" doesn't have quite the same ring to it.
They aren't arguing against regulation

They're arguing that you shouldn't have fineprint that says "if you only let millionaires sit at your table, you can use loaded dice"
They also used to have fake reviews in their website.
Amazing Joy Division T-shirt now for only $ 13, most sizes and colors
Tell it to the people who used to play Rocket League on linux.
> So much of the engineering mindset jumps to solutions instead of clarifying problems. I'm guilty of this constantly.

This is because it's easier to rely on knowledge, but it takes extra work to develop understanding.

It's also a culture issue. A close friend of mine works for a web dev agency. Numerous times she's told me how they're discouraged from asking questions. They're told they are experts and experts have _all_ the answers.

Nearly as often I hear stories about something going sideways because knowledge isn't enough, they're short on the necessary understanding.

Despite the pattern, the leadership doesn't change the culture.
Tar is a convenient format for basic embedded data storage since it's easy to parse and you don't have to build custom tooling to prepare them. We'd store small pre-gzipped web resources in a tar file and send them out as is without needing onboard compression. The blocking factor puzzled me for a bit when I was trying to store a few hundred bytes and couldn't understand where the extra 10k was coming from. Sometimes you have to RTFM.
That’s a solid point. I’d look out for Apple to push their app install ads into more places (eg. the home search bar, various apps they bundle with the phone). Maybe a second attempt at iAd - it will be easier for that to succeed with the competition blocked.
TIL: Oxytocin and OxyCotin are different drugs that are both pain killers. I remember being prescribed Oxytocin after my surgery and it was a fun woozy drug. Never tried OxyContin.
The reasons for doing so vary. Organisation and performance are the two largest considerations.

Old-style Linux filesystems (ext2fs) used a serial list rather than btree or hash for insertions and deletions. I discovered this in the late 1990s when working on a web dump of about 125,000 files. Rather than split the directory, I created a reiserfs filesystem (the most available hash-based option at the time. Insertions dropped from several seconds per instance to thousandths of a second, possibly less (I don't have the data any more, this by recollection). Ext3, ext4, btrfs, and other alternatives have resolved this concern.

Other concerns are globbing, max shell argument length, possibly hazardous filenames (dashes, switches, etc.), file-scanning for filetype highlighting, the risks of unintended interactions, and simply preferable organisation (date, source, topic/context).

In practice, most filesystems should handle tens of thousands to millions of files per directory. But setting caps of a thousand or so may make life more tolerable if there's any direct human interaction. Far fewer for GUI tools.

Squid's 'cache_dir' tuning parameter is an example of hashing practices "in the wild". It's based not on total objects per directory but on the level 1 & 2 directory tree sizes, 16 and 256 directories respectively (8,192 total directories), typically for a few GB worth of content.

http://www.squid-cache.org/Doc/config/cache_dir/
i was hoping this was a utility that i could use in my console not a webservice. though it seems very useful in its purpose!
Conversely, I just use a code editor, a web browser, and the refresh button. I've never felt the need to use something like ObservableHQ, before and after it came into being.
Tensorflow. Also the MSDN, specifically for .NET. I think having relevant examples explaining the impact of the arguments is more important than a dry explanation of the function itself.
>This sounds like a description of police departments throughout the United States.

No. Racism is bad but not all police are racist (I would guess most aren't) and the violence is not for political purposes.

>The rioters aren't doing that. The rioters are releasing pent-up frustration and anger at a system that abuses them. They're not sending any message other than their own pain.

Disagree. They're burning down businesses, attacking people, threatening them and intimidating them. You can be in pain without attacking others. Once you attack others you're not communicating pain, you're attacking people, and you can expect to receive it in kind when the people you intimidate and threaten communicate their own pain.

>The organized protesters are making such demands. They're being met with extreme police violence and aggression.

yawn

>Please actually attend a protest to see how the power dynamics work.

I have been to protests, but violent riots are not protests, and rewarding violent rioters and defending them is its own power dynamic. The power dynamic right now is heavily on the side of violent rioters and people pushing political violence, and it will lead to even more tragedy.
Delirium Tremens beer.

Death cigarettes
I started working on a game in Go (with Ebiten-- which is an awesome engine for native!) and hit perf issues in simple scenes that just worked flawlessly with similarly trivial code in C++ with SDL. It wasn't about the size as much as the performance overhead of having a GC and just generally maybe more lax runtime overhead philosophy than Rust / C/C++. I think deterministic memory management and memory layout control is the main perf benefit you get with WASM over JS for the type of stuff I was working on-- both things there's more natural methods for in Rust and C++. I also prefer being able to monomorphize generic code and have it inline etc. (esp. with entt) vs. the vtable stuff you tend to see with Go interfaces (this is totally up to coding style / practices and both are doable in both...).

You can also see this with Gio UI library in Go where they try to minimize GC overhead yet one keeps hitting GC pauses in WASM. The author talks about some of the issues with Go on WASM here: https://changelog.com/gotime/128

It did help that after diving back into the new stuff in 'modern C++' with auto, lambdas and move semantics I was able to write quite ergonomic code without any actual manual memory management stuff going on.
The RNC and DNC warn against it

https://www.cnn.com/2020/07/10/politics/dnc-warning-tiktok/i...

The House voted a 336-71 to bar usage on government-issued devices

https://www.politico.com/news/2020/07/20/house-tiktok-federa...

Seems to me there's strong, bipartisan backing.
> Apple’s policies would have even blocked the World Wide Web if it had been invented after the iPhone, because Apple policies disallow running code not reviewed by Apple, accepting payments directly from customers, and accessing content not reviewed by Apple — all fundamental features of the web

YES!
It is very difficult to get excited when your first exposure to a language consists in

"Please ignore this public static void main() {} business, all this will become clear by the end of the course. Maybe. If we have time to cover it all. Just copy and paste for now. Don't forget the semicolons".

Also all the configuring of the development environment. IDEs, runtimes and the like.

Scheme runtimes tend to be both very lightweight, run anywhere, and they give you a REPL. So you can immediately start experimenting.

Things like Javascript and Python you give you some of that experience out of the box too (and Python gives you more libraries) - but you'll need to learn a bunch of syntax first. And most of that syntax is arbitrary and not relevant to the problems being solved at all. Scheme and Lisp have a strong mathematical background so, just like math, they end up being elegant.
esnipe.com
I love the quick chat protocol. It's a concrete example of what to do, instead of just saying "please don't just say hi".

I think there is one good strong counterpoint to it -- it is if there is a chance that the words "tomato incident" will be screencast to a meeting containing execs and/or external clients. Some people operate in "hello protocol" all day, and for them, I find it easier to just let the extra round trips happen.

Similarly, if I have access to a colleague's calendar, I usually check it before I initiate a quick chat protocol message, to avoid the same failure mode.