skysight-inc/HackerNews huggingface dataset:
> What if the last element on a page is deleted when you click "next"?

That makes absolutely no difference. You're still querying the database for elements that come after a value from a data type for which there is an order. You don't need that element to exist to run a comparison. For example, consider a timestamp-based query: you don't need an element with that specific date to exist to search for any element whose timestamp was taken after an arbitrary moment.
Author here. Bare metal so far has been a "we built it because we could" kind of feature, so please be warned it's not as polished. Here's a quick tutorial.

Basically, ape/ape.S is a traditional BIOS bootloader. It also embeds a GRUB stub, which basically just switches back to the real mode BIOS bootloader entrypoint. So it should work with or without GRUB. The boot sector loads the rest of your executable of disk and prints "actually portable executable" to your display. It then configures standard i/o to use serial uart, sets up the page tables, enters long mode, and calls _start(). That's all I've got working so far. I would love to have e1000 and virtio though!

To try it out, here's how you build the included PC BIOS system emulator and boot an x86-64 ape executable that prints a spinning deathstar:

m=tiny; make -j12 MODE=$m o/$m/tool/build/blinkenlights.com o/$m/tool/viz/deathstar.com &&
o/$m/tool/build/blinkenlights.com -rt o/$m/tool/viz/deathstar.com

Video screencast: https://justine.lol/cosmopolitan/deathstar.html

See also: https://justine.lol/blinkenlights/manual.html

Enjoy!
Show HN: I created a DOSBox front end with 2971 MS-DOS games
Coming to DevOps? Learn how to code
Having self esteem dependent on others seems like a risky strategy.
While it’s an economic problem for a while, a declining population is wonderful news.

It’s the best thing that could happen to reduce our destruction of the environment, and the pyramid scheme of ‘endless growth on a finite planet’ had to end at some point.
Sorry, that was an edit typo. I originally had "frequency" but I figured that would be confusing when juxtaposed to "cavity size", took the inverse and forgot to flip the sign.

My background is audio processing is one of my hobbies, I have torn down and repaired noise canceling headphones and understand how they work (and have previously talked about this on Reddit and been corroborated by an actual engineer at a company designing such headphones), I have implemented laser galvanometer closed loop feedback systems and worked with them (which is both a similar control system problem, and a different part of OP's research paper on the light path), I have attempted room and speaker response cancelation (and wrote my own DSP firmware for implementing biquad filters, which I use for my DIY living room rig), making an open source speaker calibration system is in my future project list and I've recently done a lot of thinking about this... and, most importantly, since this is neither my professional nor academic field I have no reason to overstate my claims or mislead about the importance of my work, unlike way too many academic researchers (see also: that guy who I recently called out for being a paper mill about side channel leakage methods after he successfully spun a false media story about generating Wi-Fi signals from RAM using a misleading paper title; in that case infosec is in fact one of my professional fields).

I don't like to brag or anything, I'm just a curious guy who likes tinkering with (lots of) things... but if you insist on asking "what are your credentials", well, there you go.
Or people stop buying the products.
Is racially-biased algorithm delaying health care for one million Black people?
I have experienced the worst of both worlds. Storing JSON documents in a text field in MySQL (the version used didn't yet support JSON), and at my current place we are using Mongo for relational data.

:(
Wow, so they finally found a use for the ISS! Small wonders.

But I wish they had smuggled a chain saw up there and sparked it up.
>The bad actors are:

I used to think it would be a good idea to call out people for their mis-deeds but after a while I realised that these stories are often followed up with some crucial missing information. It probably isn't the case here but it happens often enough that I'd be wary about calling them out.
JACK: Okay, so what is psychological operations?

HENRY: Psychological operations is a skill set which is used to persuade, change, and influence the behavior of the target audience.

JACK: To persuade, change, and influence the behavior of a target audience. To persuade, change, and influence the behavior of a target audience. Huh.

HENRY: That could be with your adversary or with your friendly population. The main thing that PSYOP does not do is PSYOP – perform PSYOP on the American public.

Sure they don't! This is as reassuring as "The NSA does not wiretap Americans".
The full title (which doesn't fit the 80 char limit) is "Is a racially-biased algorithm delaying health care for one million Black people?"
Or become the rebel, start pushing back and have fun, do your own things if you deem them in the interest of the company.

You'll either get fired quickly, or recognized as a valuable asset.
Automatic for the People – 7 predictions for the future of knowledge work
Every time HN posts Zoomquilt I want to comment about the Amiga demo from 1997: Captured Dreams by The Black Lotus. It was one of my favorites back then, here's the same effect running on good ol' m68k (music warning):

https://youtu.be/jI8aVV8QIJ0?t=91
Israel is that high primarily due to ultra orthodox Jews. Who might actually create a sustainability problem if they keep it up since they have many kids per family (4+).
It uses 17-25% CPU with Chrome, 4k fullscreen, 60fps and I use a Dell XPS laptop.
On Windows, Authenticode signatures rely on and use PE header - I'd also love if the author could answer this one. If it does work, I'd also like to know why it works :)
Denmark: Home Alone

Personally: Jingle All the Way.

Why: Because it's so bad it's good.
Are there plans to lay more underwater HVDC cables between the British Isles and the rest of Europe? This seems a no-brainer to allow everyone to take advantage of the UK's (mainly Scotland's) huge wind and wave power generation capabilities. Right now there are only a few interconnects [1] but when combined with the masses of hydro and wind power generation in Denmark and Scandinavia this could make the European grid robust while maintaining a high level of production from renewable sources. It's not just about selling your excess, but about being able to import it when needed too - everybody wins.

[1] https://openinframap.org/#5/55.09/0.91/L,P
Maybe climate is in absolute equilibrium. Warmer climate opens new areas for living. Just look at the globe - there are much more land in the north than on equator.
...but GPT-3 will only ever describe itself by explaining the features and capabilities of GPT-2. That's usually a very easy giveaway.
Might be a little off-topic, but I don't understand why monitoring solutions are both so expensive and simultaneously tend to offer such a low resolution. HTTPS-calls aren't particularly computationally expensive, why does 10s or lower poll intervals not exist for cheap? I expect that for most of these monitoring services, redundancy and fixed development costs are much more expensive than the actual underlying infra, so the marginal cost of extra HTTP calls is probably low. Why not offer high resolution as an offering to set you apart from the competition?
European and American families do this too.
I use materialistic app for Android. mainly because it provides widget showing top stories on homescreen
Maybe that's why the speakers of Sony's xm series are designed to lie flat on (my) ears while Bose's leave more space but are considered slightly less efficient at noise cancelling compared to the xm's. For me ANC is by far the most important feature but having my ears pressed for longer than one hour is painful. And I tend to wear my Boses (QC35 and HP700) easily 8+ hours.
The production line for the BBC B is firing up right now, meanwhile I'm getting my order for an Austin Allegro in before the rush.
> I don't understand what you mean by "original book"

The Mythical Man Month.
Systemic solutions are needed. Placing the onus on individuals will fail and this very argument is a distraction injected by the abusers because it will fail.
>The "industry" is not about computers, it is about the use of computers to solve people's needs. You're confusing the engineering with the need.

No I'm not. Every "need" can be formalized into a specification.

>Sure, people wrap up stupid or simple ideas in layers of abstraction, usually because they want to sell consulting.

So?

>But this article was more about looking beyond the boundaries of simple software development, needing to understand the context of where these systems operate.

And I'm saying this article is just listing examples and making analogies. It doesn't formally define what a system is and it doesn't talk about any ways to use this theory to optimize a system nor does it try to define what optimize is. It's just one out of a million articles that tries to talk about "design" and create an analogy or metaphor out of it while teaching the reader absolutely nothing new.

>Essentially, your argument is proving the early part of the article, where the author is comparing how some juniors are excellent "engineers" but can't move up to higher levels of abstraction, vs others that might not deal well with individual details, but have a better understanding of how the systems they develop need to interact with the rest of the world.

Yeah, I didn't care for his argument, he's free to make that analogy. Think what you want on how I "proved" it... The meaning of the metaphor itself is irrelevant to my topic, it's the fact that the metaphor exists and basically introduces nothing new to the concept of design that is my part of my complaint.
More self help nonsense
Weird article. Sure, rendering engines are very complex, but they produce very complex images. So you can not just compare old engine against new ones and say that the simplification failed. When tech X is claimed to simplify rendering, the claim usually implies that the simplification happens for comparable visual output; achieving raytracing-like lighting and effects in conventional rasterizers would be even more complex, especially for dynamic scenes.
Centralization of Bitcoin Wealth (2017)
Is this technique SEO friendly?
Indeed: as far as I understand it, Cosmopolitan works across different OS's (or even without OS), but not across different CPU architectures. Comparing that to Java is a gross exaggeration indeed.
The stream (https://streaming.media.ccc.de/rc3/) is... kaput:

500 Borken
that's tons since for windows 100% is all virtual cores utilized. If the machine is 4 cores/8 threads - that's one full core.
Wouldn't you saturate the bus fairly easily with a Mellanox card?

I can't imagine the experience would be optimal.
So, in your opinion there's no hope for active voice cancelling? Maybe with earbuds?

I'm a silence junkie living in world getting noisier with every day it seems - so this subject is of high personal importance to me. That's why I'm interested in getting an idea about where to place your assessment.
FBI Bitcoin Wallet (2013)
Sadly!
Do you think it makes sense to have formal training for Systems Engineering?

It relies a lot on experience, intuition, and dealing with uncertainty. The uncertainty makes it rather impossible to develop an intuition. To me that suggests that it should be learned rather as an apprentice where the master substitutes as a quicker feedback cycle compared to the real world where feedback comes back years later.

Only when we understand the field well enough that we know what the deliberate practice for training should be then it makes sense to turn it into a course.
It doesn’t circumvent anything, it just adds another place that people can potentially be confused. Now you have your site packages in a Linux file system in a container you need to fiddle with, and so you install your packages there in a virtual env? Do you use cobra? Etc.

Not saying docker isn’t a good solution sometimes, but if you just want to manage local python dev environments venv will get you through it with far less complexity and far less confusion.
Is there a proven way to rid our bodies of microplastics? or at least dampen their effect?
Having given the apelife source a glance, it seems quite possible to me; it already shows you how to create a window on Win32.

And SDL2 has already been ported to Emscripten/WASM after all, and OpenGL is really no trouble, since it's usually accessed through a mostly platform-agnostic C API wrapper already (see for example, https://github.com/Dav1dde/glad ).

And maybe you could use MinGW to support POSIX on Win32...
Of course the capital costs of this are absurd (that's basically what you're saying here), but if it results in tomatoes and strawberries which don't taste like paste, it's worth it to me. Dutch greenhouse farms are considerably more realistic [0], but who knows, this may have some niches in extremely urban areas.

[0] https://tour-pronl.com/en/mice-tourism/tours-for-professiona...
You're misunderstanding what the parent poster was saying: when working on a large AAA game, content management (art, game design, etc.) is as much a bottleneck as engineering efforts. And a number of those bugs you're concerned about are rooted in content too, not lower level engine bugs.

I've worked about half of my career in the game industry. I've practiced TDD and written automated tests (and frameworks) for desktop, web and mobile apps. Some of those have been in the medical industry where the testing is crucial. I say this to make it clear that I'm familiar with solid software engineering practices.

With that in mind, games are the hardest software I've encountered for writing automated tests. It's just notoriously difficult to do in an effective manner. It's not impossible, but it's incredibly difficult.
How much slower is Ray tracing for equivalent quality? (Obviously it will vary, but I'd be interested in even a very handwavy estimate)
Arm DevSummit, Improving Your Android App to Prevent Security Vulnerabilities
Lessons from 2020: A Short Story
Alternative: Traditional tamil houses are supposed to have a fairly large platform (size of a twin bed) which is explicitly designed for not just the owners, but any passers by to sit and take a break.

The tradition as it's told is that anyone can also choose to spend the night there, and it's the house owners obligation now to provide them with a hearty meal and whatever else help they may need.

I like that idea, but doubt it can actually work in any large town or in these times.
> Pilots, for example, are considered to be getting compensation when they log flight hours, even if no money changes hands.

The above comment is so vague that I won't even comment on it.

Depending on the details, it could be either correct or not.

1) For example, if I fly an airplane, I can take real estate photos that I sell myself as a private pilot. That's how many new pilots funded further training back in the day. There are several other business activities that private pilots are allowed to do.

2) Most pilots log all hours flown, without concern for whether being paid or not. (The only required logged hours are to meet various currency requirements, but I've never seen anybody do minimal logging.)

So when interpreting FAA drone rules, I would carefully read them with the understanding of how airplane and airspace rules reply, hence my original post above. If you don't know why and how the FARS were written, then you're probably wrong, as most of the posts above appear to be uninformed.

The most important thing to know about FARS is that they're intended to separate traffic. So if your drone is in an airspace where other aircraft are flying, you likely have a violation. If you recall a couple years ago, drone pilots griped about 400' or 500' AGL max. Well, look at a sectional chart to see why. If you can't read a sectional chart, you shouldn't be flying drones near a city or airport.
I did something like this years back with the original oculus sdk, it was really fun to tie it to fov.
Show HN: I built a flashcard platform that supports latex and code highlighting
Hi HN!

I'm the university student behind memordo. I built this because I wanted to help my classmates use flashcards, because I believe they genuinely help with retention.

I started from scratch with a blank html document, and now ~600 hours later I have landed on a nuxt/laravel stack. I have learned so much from building out this platform. I have spent a lot of time on the dynamics of public/private decks, checkout: https://memordo.com/app/public/244 to get an idea of the platform.

Anyways I would love to hear what you guys think about this. I myself personally use this tool everyday to review flashcards.

/Morten
Question is, they signed off on how much other outdated/useless crap that we HN readers aren't qualified to comment on?
Introduction to Google Go – Beginner Guide
"Only require JIT compilation if they're launched on a non-x86 machine" is a heck of a caveat.

The x86-64 instruction set is not a good portable IR. Some well-known problems:

* It's much more irregular to decode than other instruction sets/IRs

* There is a truly vast set of instructions, very many of which are almost never used. So in practice you need to define the subset of x86-64 you're using. E.g. does your subset contain AVX-512? AVX2? AVX? BMI? X87? MMX? XGETBV? etc etc etc. These decisions will impact the performance of your code on actual x86 CPUs as well as non-x86 CPUs.

* x86-64 assumes the TSO memory model which is horribly expensive to support on CPUs whose native model is weaker (e.g. ARM) (which is why Apple added a TSO mode for M1; no other ARM chips have this)

Honestly, declaring x86-64 your portable IR and then claiming that as a technological breakthrough sounds like a trick to me. I'd agree it's a breakthrough if you define your x86-64 subset, show your x86-to-ARM compiler, and show that it produces code competitive with your competitors (e.g. WASM compilers).
Best Paid and Free Stock APIs in 2021 – Blog
BTW, just if it didn't become clear from all the proposals I had: I adore your work with Oklab. Humanity would benefit a lot if more scientists and engineers were able to think like you -- from first principles and completely out-of-the-cargo-cult-box. What you propose with Oklab is practical and a huge improvement over the current practice.
It should be a crime to saturate the environment and everyone in it with poisons - not something decided by "markets".
Macroeconomics, money and post-Brexit recovery
> Has anyone quantified the penalty in using register renaming to allow for a split register file in high-performance implementations while allowing compatible low-power implementations with a single register file? Maybe the transistor savings are dwarfed by other concerns in a modern hardware implementation, but given RISC-V's academic goals, economy for FPGA implementation seems useful.

I'm not sure I fully get your point. A low power implementation would have one physical register for each register in the instruction set (ie. for RISC-V it's already split). If you have a unified file in the instruction set then that means that you're going to have fewer GPRs available (ok for RISC-V as 16 is enough really) and you either need unified in your OOO implementation or you need to make integer->floatingpoint forwarding an exception (at which point you'd be better just to split 16/16).
I though Lion King was ok.

The new Beauty and Beast movie however was a whole lot worse than the cartoon. Lumiere, Cogsworth, Mrs Potts, etc all felt a lot more human and emotional in the cartoon than with the “realistic” CGI. They actually looked creepy in the new movie.
Lol, the Sonicwall appliance at work blocks this as "Cult/Occult". :D
> “Terroir” is just marketing gobbledygook

A lot of it is definitely blatant Marketing, but having been in the culinary Industry and tasted countless wines from various regions their is definitely a reason why that phrase to describe a certain experience has persisted. Certain Pinot Noirs from various regions taste, smell and feel unique in your mouth and accentuate a dish differently than others.

And I'm not a wine snob by any means; I usually just drink whatever is Organic or preferably Biodynamic or leave it the the sommelier if I know them and is really just matching the right amount of tannins (or lack thereof) that matches the dish I'm eating or making, and I saw the leap that you're describing in California happen in my lifetime.

Back then as a kid I saw wine as that horrible tasting stuff from a box we were forced to drink at church/school in the US, in direct contrast with my Summers in Southern Europe where I had small glass at dinner which was remarkably smoother but something I personally didn't enjoy at all and told it was because American/Californian junk was inherently inferior. Only to turn the tables around in about a decade or so and created World class products from Sonoma and Napa that commanded a premium in Europe.

Which was also a phenomenon with olive oil by the way.

Personal anecdote: I can enjoy a $35 bottle of wine from Rioja just as much as a $200 bottle from Bordeaux depending on what I'm eating and I think food plays the bigger role in if I enjoy a wine or not than the wine itself. Also my Ag focuses just as much of not more on soil microbiology than the type of cultivar that is grown with remarkably different results, so the same should apply to grapes.
Interesting point about Lucene (I'd highly recommend reading the code base, if you're a Java dev, for some inspiration) is that it's creator and still the project lead, Mike McCandless, works for A9 at Amazon.

Edit: TIL Doug Cutting originally created Apache Lucene.
How does this differ from peco [1]?

[1]: https://github.com/peco/peco