skysight-inc/HackerNews huggingface dataset:
A common scenario in many locations in the US:

A district tilts heavily toward one of the two main parties -- it is a "safe" district for that party. The candidate nominated by that party in the primary election is nearly certain to win the general election. If the candidate is highly extremist / flawed, they might lose, but party affiliation is sufficiently strong nowadays (aka the electorate is sufficiently polarized) that a candidate can be pretty far to one extreme -- farther out than the bulk of the electorate -- and still win.

Meanwhile, there is a tendency for the more centrist voters in both parties to skip the primary. Thus, the candidate who survives the primary is often relatively extreme.

The result is that the victor of the general election is often to the extreme side of not only the electorate as a whole, but the membership of their party.

To oversimplify, imagine that political views fall on a one-dimensional spectrum ranging from 0 to 1, and the electorate consists of:

- 40% at 0.4 (center-left)
- 30% at 0.6 (center-right)
- 30% at 0.8 (heavy right)

In the primary, center-right voters are under-represented, and a candidate at or beyond 0.8 has an excellent chance of being nominated. Then in the general election, at least 2/3 of the center-right voters are likely to swing toward that candidate (because of polarization / strong party affiliation).
async/await is really just another formulation of linked stack frames, where control is explicitly yielded. At the end of the day, the thread stack state needs to be reified somehow, and all of these approaches are equivalent in power. The only difference is that now you have a type system that delineates between functions that can and cannot be shuffled between kernel threads.

The benefits that Go (and potentially Loom) provide are with the scheduler. When Go code calls into other Go code, it's fast because preemption points can be inserted by the compiler. The goroutine is parked when it is blocked (on I/O or some foreign function), and in the slow path this logic is executed on a new kernel thread.

Although the Go approach involves more overhead in the slow path, wrangling blocking code to work with the scheduler has cross-cutting implications for library design. I.e, I don't have to worry that a library I import that does file I/O will pin my goroutine to a blocked thread by using a blocking syscall.
It's not as simple as a tile-based map. Structures are built on a square tile grid, but objects on belts move at a much finer resolution, and have a bunch of specific behaviors (moving in two lanes, being picked up or dropped onto belts by inserters, belts merging into other belts, etc).

Older versions of the game actually used an even more flexible physics engine for objects on belt (not restricted to two lanes), but that was deemed unnecessarily complex -- and the current model is much more performant.
The rhymes with a few emails I've received.

maybe we work for the same fang.
Fully agree with this. I once heard it stated by someone "I don't like writing C, but I don't mind at all writing Postgres C". It is definitely a quality codebase and the credit goes to a pretty small set of maintainers over the years.
fixed! a hacker news mod changed the title, not sure why at first
Is The Intercept an Intelligence Operation? An Ongoing Inquiry
Long-time MicroConf attendee (and one time sponsor). Still, YC has an outsized influence on young people and I'd like to see the bootstrap model expressed as a more obtainable path to one's first million.
Serious thank you for doing this!
Well, but the gas does not reversibly expand again between the shock and the stagnation point. So clearly it is heating up, even if it were compressed isentropically.

The position is far from incoherent. Temperature rise during isentropic compression is well understood, as is the temperature rise and total pressure loss through a shock.
Well I consider myself very fortunate then, to not have made that claim.
I worked on a Scala project about 10 years ago. Compile times were atrocious.
A Java based OS that uses a mix of ISO C, ISO C++ and Android specific APIs for its native layer.

The fact that it uses the Linux kernel is completely irrelevant to userspace.
Wonder if the US government in its belief in free markets will bail out the oil industry? Trump seems to be courting those votes.
Slow Migration of User Data
I did startup school's first cohort, and I would say it's equally useful for bootstrappers and VC-minded founders. What it is NOT useful for is side projects.

I think nurturing a side project into a full-time business is a whole different skill that's actually quite difficult and requires even more luck than bootstrapping or VC-startuping.
Space Exploration mod adds a wonderful "new game plus" type experience: launching the rocket is just the first step towards building a galactic empire. You actually ride the rocket up into orbit and there are many new space-only buildings and sciences.

It's amazing how powerful the mod system is. FNEI is a great in-game directory of resources/recipes that I'd recommend with any new mods you're trying. SpaceEx add a whole new 'navigation satellite' mode that lets your remotely configure buildings and an interface for selecting planets and stars (in addition to the standard new buildings/recipes/vehicles of most mods).

Factorissimo (building that can be entered and contain more land than their footprint) and Recursive blueprints (automated blueprint usage) also add tons of potential depth.
Amiga Emulator: FS-UAE 3.0.5
Almost everyone you see who has a personal brand that is popular on the conference circuit is willing and able to do this kind of self promotion. It’s not for me, but I don’t see it as objectionable because I see it as part and parcel of the role, and I think the role is a valuable one that should continue to exist. Technologies benefit from having some well known and well liked “names” behind them, and it gives them the confidence to try something new instead of the old thing which moves the industry forward.
I'd argue that the majority of vegans do it, at least partially, for animal reasons. I started to see how it would affect health but quickly enjoyed the peace I felt from not harming animals
It mentions namespaces in the last code block on the page.

// Namespaces are supported
renderer:options "invisible"
physics:options "nocollide"
I don't think so. If anything there will be more arable land and more rain in much of the world. Additionally many crop plants grow faster with increased C02 (which is why marijuana grow ops put CO2 in the chambers of course). It also may be an opportunity to move off areas with depleted soils into virgin areas. At the time of the Cambrian explosion CO2 levels were ~20 times higher then they are or will be if we keep right on our trajectory. The earth didn't melt down and life flourished.

And this is assuming much at all happens. I've been watching this issue for over 30 years and no longer believe they can predict with much accuracy at all. I was quite an alarmist in 1990 but not any more.

Imagine writing a program to model this. With the interrelated variables (more CO2 means plants grow faster which uptakes more CO2. More heat means more evaporation, more small cloud cover, which means less heat. Industrial output means more air particles etc etc), the flux and all the various unknown factors (what will the energy output from the sun be in 50 years?). You mess up one small thing or make a bad assumption and it blows up. I honestly don't know how any rational person has much faith in the granular predictive power of this at all if they stop and think about it for a bit. Models are good to see how stuff works. Models at this scale to predict? Highly doubt it.

That being said, man does influence the climate to an extent it is clear. We should be cleaner. We should get off fossil fuels in an orderly fashion as they are filthy anyway. But, we don't have "12 years left to do something!". That is and always has been complete bullshit.

https://extinctionclock.org/

It's most especially annoying to hear the latest iteration of projections based on tenuous models touted as "fact" and anyone who doesn't believe is some kind of conspiracy theorist. The continual stream of failed predictions from the doom promoters is reason enough to be suspicious. The earth warms and cools. With or without us.

Finally, to all the 20 somethings turning red and mashing downvote right now, you will live long enough to see. In 30 years things will not be significantly different. Florida will still be there. There will be no mass climate migrations. The polar ice caps will still be there. There won't be a huge increase in anomalous weather events. But there will probably still be a loud group of people proclaiming "We only have 10 years to DO SOMETHING!".
> Sometimes I wonder how things would be if we had more than one hominid species in the world and I get trapped in fascinating hypothesis of all sorts.

What fascinating hypothesis? Why not spell it out rather being so coy? Well we have different races of people. Why not work off that? It's not like we lack diversity amongst human.

> Then I remember how we treat animals in general

Oh I see now. It gets exhausting and boring to see everything twisted for the vegan agenda. You should see how we treat plants. Now that's horrifying.

> it makes me think we'd be destined to have a dominating species making all others miserable

99.99% of animals killed on earth aren't killed by humans. Each day more animals are killed in nature than are killed by humans in a century. Most animals are made "miserable" by non-humans. I doubt you're losing sleep over that since you can't win virtue signaling points that way.

> Just thinking out loud.

We get it.
Web apps don't care about which kernel the browser runs on.

In what concerns Crostini, it even uses another Linux kernel running on top of a container.
In Loom we can make some trade offs around our knowledge of the Java stack and the standard library.

1. We know that no JVM frame contains a raw pointer to anywhere else in the stack.

2. We know which stack frames are JVM frames, and which are native frames.

3. We know that there are unlikely to be native frames in the portion of the stack between the point where we yield control and the point we want to yield to.

4. We can change the standard library to check if we are in our new lightweight thread or not and act appropriately.

Knowing these we can avoid function coloring and push the complex management of green threads into the standard library, and reuse existing task scheduler code to manage these virtual threads, and we can work to make thread local variables etc work seamlessly with this new concurrency abstraction.

This puts us in a very different design space. We can move a portion of the stack to the heap when a thread is unmounted, and we can change things about the GC and other internal systems to make them aware of this new thing that can be in the heap.

This type of approach would be much harder in a language like swift that tends to coexist with C and other languages that use raw pointers or a non-moving GC, so I think the question is not which is the better approach but which is the better approach within your language ecosystem.
There's really only one appropriate response to nebulous and meandering proposals like this.

It's a great idea, now send us a patch.
Yet you are here, on HN, a forum with a code of conduct (they're called guidelines but the commenting rules constitute a CoC), and this CoC is enforced firmly.

I don't mean this in a snarky "get outta here" way, but: why are you here? Why not any other forum, tech-related or otherwise? Why not 4chan? Whatever the reason is, is the answer not quite likely to be at least in part made possible by the CoC and its strict enforcement?
No they aren't. What's that have to do with anything?
Good luck running serverless code in a lightbulb.
SQLite is amazing, and “lite” is really not fair. I’ve seen it handle 1tb+ with at least decent performance.

It’s not a replacement for a real DB but it is damn close.
I haven't seen any of pfdietz' arguments in a book.

But ThenAsNow already recommended the excellent "Modern Compressible flow" by J.D. Anderson, and, in extension, I can recommend "Hypersonic and High-Temperature Gas Dynamics" by the same author.
>> Combine it with being on-topic and stylistically correct and get your "good" parody.

OK, how do I do that? What do I do differently than the author of the paper?
Other good examples of this style: http://artscene.textfiles.com/vt100/ and http://www.textfiles.com/art/

To play the former, you’ll want to limit the rate that your terminal displays the text. I use `pv`, or “Pipe Viewer”, as such:

clear && curl -s http://artscene.textfiles.com/vt100/bambi.vt | pv -q -L 2600
> By “mirroring the includes” do you just mean listing the .h files in the build files?

It's not just listing them once, so they get installed or such. You need to list them as dependencies for objects that get built.

> I just found this tutorial to get the compiler to list your dependencies for you with (GNU) Make

Yea, that works very well. A lot of projects sticking with make use that via some makefile hackery (e.g. postgres). Cmake etc do so automatically as well(at least for the common generators).

But with bazel you have to basically maintain that manually on a granular basis. So if you add a new #include to some random .c file you often also need to add that as a dependency. There's a bunch of error checking around that to make it easier to get it right, but it's still seems like a lot of work to me.
What makes it so complex compared to other products you've worked on?
first time I've heard about IFTTT I was really excited by the possiblities, but once I tried it, I noticed I had no use for it because I was/am not: a developer, a marketer, a social media manager, a smart home/car/tv owner, a system admin. This sums up my 5min experience with this software.
> Why wouldn’t you enable RTX and DLSS in a 3070 or 3080?

Not every game supports RTX, those that fully rely on it are still performing so badly that a 15 fps increase can be marketed as "double 2080 performance", while saying absolutely nothing about the much more relevant rasterization performance.

Using DLSS can be misleading as picture quality is very difficult to objectively compare. But common sense makes the idea of "More performance with more details!" just sounds too good to be true, even with ML magic involved. Reminds me much more about something like Temporal Filtering: Giving more performance, but a slight cost of picture quality that might not be too noticeable with the extra raw pixels trough upscaling.
In my opinion, The Proper Way To Teach Computer Science was the one area where Dijkstra made his most detrimental contribution, by promoting a particular school of instruction based on strong opinions with weak to no empirical underpinnings.

In _Coders at Work_, Knuth offers a counter-argument that I find compelling:

> Seibel: It seems a lot of the people I've talked to had direct access to a machine when they were starting out. Yet Dijkstra has a paper I'm sure you're familiar with, where he basically says we shouldn't let computer-science science students touch a machine for the first few years of their training; they should spend all their time manipulating symbols.

> Knuth: But that's not the way he learned either. He said a lot of really great things and inspirational things, but he's not always right. Neither am I, but my take on it is this: Take a scientist in any field. The scientist gets older and says, "Oh, yes, some of the things that I've been doing have a really great payoff and other things, I'm not using anymore. I'm not going to have my students waste time on the stuff that doesn't make giant steps. I'm not going to talk about low-level stuff at all. These theoretical concepts are really so powerful-that's the whole story. Forget about how I got to this point." I think that's a fundamental error made by scientists in every field. They don't realize that when you're learning something you've got to see something at all levels. You've got to see the floor before you build the ceiling. That all goes into the brain and gets shoved down to the point where the older people forget that they needed it.

> Peter Seibel. _Coders at Work_

It is clear from the reading the EWDs that Dijkstra considered actually doing something with Computers detrimental to the practice of Computer Science as he conceived it, but the kind of Computer Science he practiced past 1975 or so was not particularly useful to Computer Engineering, because it refused to engage with it, and, as the article points out, it was not even particularly good math, because it refused to engage properly with that field as well.
I wonder if there are any binary blobs required to boot? I guess the WiFi/Bluetooth modules would be the main problem but those are removable
I think he's right. Consider this: if you were the person who managed to sniff out that Forbes was bad news, you would be someone sniffing out $3B in fraud. That kind of makes you a wizard.

The reason these people are so profound is specifically because they can fool a lot of people in a con over many many years.
Most notably, this is not a case intended to prove if Mitchel cheated. Such proof would be sufficient, but not necessary for Twin Galaxies to prevail. Proof that of cheating can remain an open question: so long as Twin Galaxies isn't shown to have taken it's actions with malice then they win.
Perhaps, but I suppose I'd personally nudge a friend to post it for me? Maybe humility isn't valued much in the Valley, but coming from elsewhere it feels off.
What surprises me is quite how consistent it is. The blobs look perfectly consistent over thousands of layers, which seems very unlikely - even a tiny perturbation would grow bigger in each successive layer and eventually cause the blobs to be chaotic in nature, even if the first row was consistent.
Meh. This was innovative back in 2009 on Sony / Motorola phones. They actually went further and had haptic feedback, capacitive sensing on the back, or infrared sensors for “wave” type motion detection.
Ah, pointless exclusion of the middle.
How is this legal? Sincere question, since all (nearly all? perhaps a couple have been put into public domain) of these games are protected by copyright. And yes, it is hurting the copyright holder in many cases, because many of the titles are still sold through distribution sites like GOG.com. Some of these games are not even that old (<20 years).

They have a DMCA page, but their philosophy seems to be "put it all out there and wait for the DMCA notices." Disingenuous at best since they must know ahead of time that they are violating a lot of IP. It's one thing to be against our global IP laws. It's another thing to flagrantly disregard them. You can be against something without violating it.

How does archive.org get around this with their software collection?
Mendozaaaa!!
AirPods Pro Service Program for Sound Issues
Try this:
https://youtubevanced.com/
Thanks so much for the thoughtful reply! I will follow up when I've had a deeper dive into the product.
It's not, because it is a real DB. It's just one for single user access only.
HN discussion of the issue: https://news.ycombinator.com/item?id=23826070
Show HN: Caramel, an OCaml to Erlang Compiler
Oh. I think it might have been Harpoon II. The screenshot at https://www.mobygames.com/game/dos/harpoon-ii/screenshots/ga... looks like it might be what I remembered. I'll have a look. Thanks a lot!

Edit: I'm now sure that's it. I even found a scan of the original gaming magazine (the German "PC Player") with the test I read back then.
Crazy Engineer’s Drawing Robot / Arduino Drawbot
Just use Clojure.
> Adding the nesting factories mod (can't recall the name)

Factorissimo or Factorissimo2
To someone like me, who believes that the universe is, must be, fundamentally a computer...

Why do you believe that?
How to deal with extreme physical pain
I love PG and sometimes I see some cases where maybe Sqlite would work "better" but just as soon as it starts to get a little bigger I start missing all the cool stuff that PG has.

Sqlite is still awesome but PG is more awesomer. And since the cost is the same I just stick with PG now. Unless I'm resource constrained (which for my work is rare)
This is like that time a couple years ago when Apple added a way for you to use headphones with your phone.
Google Cloud CEO tells employees it isn’t helping with virtual border wall
Don’t Ghost Me, Bro. A plea to recruiters and companies
That was more or less Python's fault, rather than PyGame, which uses SDL also. I remember getting a huge speedup for one game with import psyco; psyco.full(). It's going to continue being true that Python + whatever is going to be slower than almost any other lang + whatever, even with more GPU support. But still, lots of games (even shippable ones) are possible, and lots of non-game applications. I'm still in love with the pygame/SDL1 way of doing 2D graphics, it was just so straightforward, and working with their interfaces and abstractions (pygame.sprite was nice) rather than SDL directly was always more pleasant too.
People who "get annoyed and brake check the vehicles" should be apprehended and launched into the sun. There's no excuse for behavior like that.
Hence why I use a core duo with 8 GB, SSD to test Rust compiler improvements, using a toy project I ported from C++ into Rust.

C++ version, with binary dependencies, a couple of minutes, not longer than 5.

Rust version, as if has to compile the whole world, 16 minutes currently.

My measurement is against .NET Native, D, Delphi on similar hardware.

On positive note, Cranelift just got merged, that will certainly improve compile times.
Here is what the SDLang example would look like in EDN (Extensible Data Notation), a subset of Clojure:

; Maps are denoted as key-value pairs inside curly brackets:
{:title "Hello, World"}

; Vectors are denoted by square brackets:
[:bookmarks 12 15 188 1234]

; Or you can use a map with a keyword that maps to a vector:
{:bookmarks [12 15 188 1234]}

; Maps are collections of key-value pairs:
{:author "Peter Parker"
:email "peter@example.org"
:active? true}

; Data structures are heterogeneous and nest:
[:contents
[:section "First section"
[:p "This is the first paragraph"]
[:p "This is the second paragraph"]]]
; ^ Hiccup actually renders these to HTML.

; Everything is an expression, so strings just work:
"This text is the value of an anonymous node!"

; A matrix is just a vector:
[1 0 0
0 1 0
0 0 1]

; Or you could partition it into rows:
[[1 0 0]
[0 1 0]
[0 0 1]]

https://github.com/edn-format/edn
Simple! You just rig up another contraption with to a gite extinguisher
I had the exact experience, but I'm not a web developer. Hugo was one of the more frustrating things I ever tried, I converted to Zola in about 2h and it was simple and it simply works.
BASIC got a whole generation of people interested in programming.

I've yet to meet somebody who got interested in computers through correctness proofs.
"In fact, most cave bear fossils have been found inside caves, and paleontologists think these bears probably lived in the caves full-time, rather than just popping in for a quick four-month nap"

Well, the article states different, but also to me this seems highly unlikely. Also because apparently this cave bear was not found in a cave.
Why are you seeing so many promiscuous women commenting on things?
Or that’s where they were found because that’s the best-preserved place they sheltered in or went to die in. Especially for tigers: even domestic cats are known to search for a place to die alone and especially prefer cooler, darker places.