skysight-inc/HackerNews huggingface dataset:
Speaking from experience with JVM HFT applications (we used Scala).

There are a lot of tricks though to not require 1TB.

And allocation in general is a bad idea even if you don't collect because it scatters stuff all over memory and messes up cache locality. You really, really don't want to allocate in a performance sensitive jvm application if you can avoid it. It's the opposite of a lot of what I was told and taught (e.g. never do object pooling), but empirically, in my experience, allocations are the biggest slowdown. You can get an application a lot faster just by opening up the memory allocation tab in a jmc flightrecording and refactoring the biggest allocators, usually there is a lot of easy to optimize low hanging fruit that will give good performance improvements, even better than focusing on hot spots in code (in my personal experience).

By far the biggest allocator in trading is going to be marketdata and calculations on it. For reading marketdata from the exchange it's best to leave raw data in memory and access it with a ByteBuffer / sun.misc.unsafe. Under this pattern classes have 1 value, the memory address to pass into sun.misc.unsafe, then everything from there on is done with offsets onto that address. For calculations it's better to write things as static functions, or use object pooling.

In the course of optimizing a trading engine I wrote lots and lots of code to get allocations down to zero. It's definitely doable, but best done from the start, I refactored an existing trading engine to do that, it was not very fun.
>We had indications that H2O – the familiar water we know – might be present on the sunlit side of the Moon

Doesn't every part of the Moon get some sunlight over the lunar cycle?
I’m with you. Posting affiliate links on HN is spammy imo and makes me question the recommendation. Is it a not so good model but the one Amazon has? Why not but from Lenovo direct?
Old code? Do you need to run 16 bit code under Win64? There are solutions for this. Here are a couple:

https://github.com/otya128/winevdm

https://www.dosbox.com/information.php?page=0
But your editor is also a "computer". Editing lisp code with an editor tuned to s-expressions can be pure joy. Most programmers work at the character level of text files, many lispers work much closer to the abstract syntaxt tree (AST).
Actual campaigns can be good, or bad, and aren't really being referenced here.

The ad tech in question is the issue; the data collected, the platform itself. Think Facebook - in pursuit of creating a platform and getting data that allows for very specific targeting, they have created bubbles that magnify extremist messages.
Very unlikely I will ever talk to my computer irrespective of how good the speed technology gets. If I have to talk to my computer how will I work in crowded places ? How does it work ?
Intel Needs to Engineer Its Financial Future
I don't have any experience with their hardware, but both of my personal computers run Pop!_OS. If you're looking for a distro in the Debian vein, and aren't hardcore Free software (I think they include drivers to play with proprietary hardware), it doesn't get much better. I don't see myself switching away from 20.04 in the next few years, at least.
Ask HN: Prototype a business idea (Low code and cheap web app and CRM)
Hello,

1) I have 5 business ideas and I want to build a web app for customer applications. I don't know where to start as I'm not a dev (yet).

It will be a couple of forms for customer data, a hosted card capture page (probably stripe or worldpay or something), some blog pages for SEO, some way to spin up lots of landing pages for split tests, some way to aggregate and compare traffic conversion so I can optimise over time.

These requirements seem pretty generic: open a bank account, insurance policy, window cleaning subscription, etc. all the same sort of journey and requirements. If I can build a generic journey then I can wrap any product over it. If the business works then I can worry about building a robust, sustainable site later when I'm making money.

Simplest build is probably Wordpress + Elementor? Although I don't know PHP and WYSIWYG editors are heavy. At the other end of the scale I could write from scratch an MVC web app and host it on AWS.

I don't know how to evaluate the options, and I'm thinking that I must be missing some options, surely there is some Off The Shelf generic drag and drop, cheap web journey builder that will give a decent simple MVP launch? I'm limited by lack of ability but freed by my lack of ability :) What should I do?

2) I need a CRM to manage the applications and navigate the ones I want to work. I can create pipelines based on what data is missing on each application and I can create retargeting messaging campaigns in CustomerIO etc.

My friend is doing something similar in strapi but he's frustrated with it and I can't understand it anyway.

The CRM also needs linking to the analytics so I can flag cases as fraud etc that feedback into my dataset and traffic sources. I can design a SQL schema that stores the states of everything I need pretty easily and then run a report on it? But I can't build an API atm :)
AWS: https://reclaimthenet.org/amazon-aws-iran-proxies-vpn-sancti...

I'm not sure Azure has been available for Iranian IPs for the past few years or ever, feel free to Google "Azure Blocked Iran" though - plenty of petitions.
Its not the need for advertising. Its the unreasonable effectivness and devastating side-effects of the attention sequestration techniques developed in the last 10 years. Its not only that years of our of lives are being directly stollen by vapid bullshit, its that the effects of this manipulation extend well beyond the actual time spent engaging with it, with absolutely horrific consequences to our mental health, our coesion as a people and ultimately our physical safety. In a generation, if not earlier, the ad bussiness will be looked upon in a worst light than the tabaco industry. And this will be entirely appropriate.
So I'm asking HN for help. Where should I start and is there actually a product stack that can do this already for my MVP needs.

I can query in SQL and I understand web apps and services but can't code. Willing to do whatever it takes to prototype my ideas. An idea for scale, traffic source is <$1 a click and end to end conversion about 5% based on friends who are in this product vertical.
Warrant issue aside, CBP should not be above the scrutiny of Congress. They should never be allowed to tell Congress to piss off.
Volunteer -> elect
Wear some sort of sound containing bubble around your head, fits in nicely with the whole pandemic thing :)
Studies disagree that you on avg. see large gains from test prep on the SAT.

https://slate.com/technology/2019/04/sat-prep-courses-do-the...
Interesting. Is the slower allocation due to it having to increase a reference count somewhere, or is there more to it than that?
I don't have the right hardware to test this right now, but I believe unmodified system 7 binaries (and earlier) should run on up to OS X 10.4.11 from 2007 on PowerPC Macs, using the Classic environment.

In an alternative reality where PowerPC stayed competitive, I wonder how long they would have maintained the compat-layer. Given it's apple, probably not long, but I think it's worth pointing out backwards compat was only broken when both the OS and the CPU were changed (twice in the CPU's case).

My understanding is that running 16 bit code on a modern CPU is itself a sort of backwards compat mode which isn't supported in 64 bit operation, so you need a full emulator to run the executable. Neither Apple nor Microsoft seem keen on keeping CPU emulators around long term (IIRC Windows used to have something like this built-in for emulating 80286s for Win16, mostly for non-x86 arches like Alpha/MIPS/PowerPC, I think?)
These days, laptops, in my opinion, are best paired with a powerful headless desktop running Proxmox on the local network or over a wireguard VPN (possibly tailscale).

Laptops are so bad these days for so many reasons. I can't personally get away from Apple even though I hate the current generation of laptops. However accessing the "real thing" remotely (local network) works well and lets me get cheaper Apple devices to do my work off.
In a croweded place the noise has to be cancelled or speech recognition application must learn to recognise with noise in input audio.
Also, conference rooms now often have huge displays. What kind are these, and what do they cost?
Those and the Purism are super interesting, but useless if you don't want enUS keyboard layout.
It's distressing how much your choice of a lawyer affects your life. I would have absolutely no idea how to go about choosing an FMLA lawyer.

It's true that you often make choices in life based on insufficient information, but this isn't like picking an auto mechanic who screws up your engine. The engine doesn't look at you and say, "Well, you picked the wrong guy, so I'm not going to start". There's a judge here who is watching the lawyer screw it up, then clutches their pearls and declares that they're just ruling on the lawyer's performance.

It's a deliberately antagonistic system, and the consequences are people's lives. You absolutely, positively cannot engage in it yourself because you don't know how -- but neither do you generally know how to choose somebody to do it on your behalf, either. And even if you get "close to, but just off of, the right one", you lose -- even though there are at least two other human beings involved (the judge and the opposing counsel) who could nudge you in the right direction. They've deliberately conceived the entire setup to make that impossible.
On the same site, I've found a "partial Forth interpreter": http://www.dbit.com/pub/pdp8/tss8/ (forth.pal). I thought you might be interested.
Covid-19: How the Czech Republic's response went wrong
Some parts of some craters are in permanent shadow.
Corexit was a way bigger crime than the oil spill itself and a huge amount of profit was made selling the chemical. Discusting.
I use a desktop replacement laptop for my work computer as well. I wouldn't want to travel with it, but it's good for a home office and occasionally bringing to the living room or into my employer's office. I wouldn't spend my money on one, but the economics make sense for a primary work machine. The thermals are good enough to run with the lid closed, which my cat likes and it keeps him off the keyboard.
You don't have to give up Lisp's features to get compile-time type checking, as there are Lisps that have it.
Probably one of my favorite courses during my undergraduate studies at University of Michigan. Recently, I needed to brush up on statistics and was excited when I found this entire course available online.

All of the course materials are available under the 'Materials' tab, including the labs.

The lecture playlist on YouTube can be found here: https://www.youtube.com/playlist?list=PL432AB57AF9F43D4F

Back when I took this course, they were teaching us how to use SPSS, but it seems like they have since transitioned to teaching R. Definitely worth checking out if you need to review the fundamentals of statistics and probability.
Super cool!

Other upcoming missions that are going to be looking for water on the moon:

- Lunar IceCube, a 6U CubeSat designed to prospect for lunar water will launch on EM-1, the first Artemis mission. The 14 kg CubeSat will search for water in ice, liquid, and vapor (in the Moon’s very tenuous atmosphere) forms and includes an Iodine-based electric propulsion thruster

- Lunar Flashlight CubeSat, another of EM-1’s 13 secondary payloads, will search for ice in permanently shadowed lunar crater regions using an onboard laser.

We discussed these missions in Orbital Index a few weeks ago: http://orbitalindex.com/archive/2020-09-30-Issue-84/#lunar-i...
A big problem with the assistants is that as soon as they fail at a query they seem stupid, I feel stupid, and I stop using them for a long time.

Last weekend I had the following failed queries:

"OK Google, what is the air quality like at Mt. Shasta today?"

"OK Google, add a waypoint for the last gas station before the mountain pass"

"OK Google, what percentage of people can you detect to be wearing masks on recent Instagram photos tagged at a location within a 10 mile radius of Mt. Shasta?"

These are all things I would expect a computer assistant to do really well. They have access to so much data, and so many APIs, that they should be able to break down these sentences into a SQL-like query and give me results. The third, for example:

"recent Instagram photos" -> Instagram has an API

"tagged within a 10 mile radius" -> parse the cities within a 10 mile radius and look for tags in all of them

"people" -> use your wonderful person detection networks your friends at Waymo developed

"wearing masks" -> I'm sure your internal datasets have this label, so run an object detector

Then compile and reduce the data to give me the number I want.

That's what I want an assistant to do. But it couldn't even do the first, which just involves a single API query to fetch air quality index information. Bleh. And as for the second, it has no idea what "last gas station" or "mountain pass" means; it's a query a human would know to be extremely commonplace.

It turns out that the current generation of "assistants" are mostly just template-matchers which really doesn't help me much at all. I can set my own alarms, thank you.
FAANG isn't interested in entering a highly regulated industry.
I'm surprised this article doesn't talk about the common issue with writing a trading bot in Java, which is the floating point types. I worked on a trading bot in Java over a decade ago when it was common in the industry to do so. We wrote a fixed precision decimal library which was about 4x faster than the alternative BigDecimal type. It worked out quite well, but Java doesn't allow operator overloading, so the whole code base looked like a mess with tons of a.mul(b.add(c)) looking lines of code.

When C++14 came out the project was ported to C++. It needed to go fast, but more importantly it needed to be stable and readable. An error in code could cost us, which wasn't something we could accept. Moving to modern C++ wasn't fun, but the code is clean, easy to read, works and works well.

Today, the code base has started to be ported to Rust, but unlike going from Java to C++, this move isn't as big of a deal, but the added safety is appreciated given the nature of the project.

Today it's pretty common for firms to create their own lisp like or Haskell like programming language. By having it FPP it can mirror mathematics a bit closer which reduces bugs, yet by having it in house it can be fast, otherwise these companies would use a common language. We are the only ones I know of moving towards Rust. I imagine a lot of firms who are aready C++ are going to stay with modern C++.
Migrating Data When You Never Erase History
I do the same.

The current one I'm reading which I really like is The Art of Doing Science and Engineering by Richard Hamming.

You can find it on Stripe Press: https://press.stripe.com/

Right before that I read The Making of The Prince of Persia (also stripe press and also good).
The key part of that, as you've noted, is sitting President.

Citizen Trump would have been vulnerable to federal charges three different ways in 2018 if he hadn't been elected President.
I think you might be projecting a bit here, as I have not "attacked you" at all.

I asked a question, and you answered it. In turn, I responded to the substance of your comment. In retrospect, my initial comment probably would've been along the lines of "is the Daily Wire any more unreliable than mainstream news sources?", as I can't think of any mainstream news org that hasn't published multiple factual inaccuracies in recent memory. Which is what I said in my follow-up comment.

Then you asked me to not shoot the messenger and provided a link to your source.

At that point, I probably should've said something like "shoot the messenger???", because I haven't actually done that in this conversation. However, even if I had, the conversation is about information/news (and its propagation), where everyone is a messenger, so I'm not sure who else there is to shoot. So that's what I responded to. When I was talking about "knowing the truth for yourself", that was specifically in the context of my previous statement about bearing "objective" truth. Sure, you think what you said about The Daily Wire is true, I'm just maintaining that this is a subjective truth and therefore a messenger is still responsible for its spread. Even the source you cited has a lot of subjectivity in their methodology, and they seem like they want to be objective.

But again, after re-reading my own comments I have no idea at which point you think I attacked you. In fact, the only person that can reasonably claim being attacked is me, who was called rude and insufferable for something I didn't do. My unsolicited advice would be to not take disagreement on matters of substance as a personal attack, and even if you do feel attacked don't go all scorched earth and start name-calling.
How to remove a hacker from my phone
the distinction is they already found molecular water in the parts not lit by sun
> By "instantiate", I mean to insert the actual implementation in one .c/.cpp file you write

I know. In my original comment I tried to make it clear that some (but not all) of my points applied to these libraries that have some separate compilation. In my second comment I apologised for not making that clear and tried to stress it even harder. I'm not sure what else I can do to make it clearer.

> The owner of this repo ... His libraries

If you just use this guy's libraries, and that works out for you, then all power to you.

But I'm worried about C++ beginners stumbling across this page on Hacker News and thinking, hmm, using C++ libraries is so hard that I need to restrict myself to libraries like these. That is simply a myth - using vcpkg is really not hard at all, and well worth it for all the other libraries it gives you easy access to. Again, if that doesn't matter to you then that's fine, but I want readers to know that the option is available.

By the way, that the vast majority of libraries linked to from this article are not by the author and do not have the separate compilation model you talked about - they're simply header only with inline functions.
There’s a lot of good content, and the explanations (both before and optionally after you answer a question) are usually pretty good.

It’s not perfect, but it is pretty good — the single largest change I would make is “more practice examples for any particular topic”.
I think the real problem is social, no one wants to hear you talking at your computer in a coffee shop.
What language was the team counting in nanoseconds using?
Stop Creating, Start Breaking
Pair of studies confirm there is water on the moon
> shitty vacation policy

That's debatable. Canada's minimum vacation policy is 10 days a year, which is absurdly low. Some companies offer more time, but that's only if they are somewhat sensible.

From what I heard, European companies is way more humane on that sense.
When a Californian leaves for Texas, the average intelligence in both states goes up.
> It's due to a bunch of systemic problems and America's history of racism and slavery.

How do you explain then, that asian-americans (on average) outearn whites, have a higher SAT score and are less likly to be in prison? They have been impacted by racist policies too:
https://en.wikipedia.org/wiki/Internment_of_Japanese_America...

> This of course will lead more black people to turn to crime, because they have less good options, because they are on average, poorer and less educated. All the old laws and our history going back to slavery still has effects today that are compounding and allow the problem to continue to exist.

poverty and education dont explain those numbers, but there is (at least partly) the growing number of fatherless homes that correlate with many factors influence positive outcome.
https://www.npr.org/sections/ed/2017/06/18/533062607/poverty...
https://datacenter.kidscount.org/data/line/107-children-in-s...
You want black people to get out of this cycle? Dont be a criminal, comply with police, educate yourself, help others do the same. But somehow this is called "acting white".
The problem with modern Antifa is that the definition of "fascist" is becoming so loose and so unhinged from historical context that it is meaningless.

For example, according to many activists claiming to be associated with Antifa, if one believes that trans-rights matters are not a major priority – compared, say, to class issues – that makes one a fascist. Think of the extreme leftists of May 1968, who were fighting against what they saw as insufficiently punished or even resurgent fascism. Since advocating for sexual minorities was not a central part of their struggle (even feminism or gay men’s issues were at the margins), we are supposed to assume that those anti-fascists were themselves fascist. That’s absurd.
Wayfire's developer here, have you looked into output configuration on our wiki?

Also, is there a chance your 4K screen has negative coordinates? It is well known that Xwayland does not react if an output has negative coordinates (or at least partly negative coordinates).
I think it's a lot easier than that to be honest - most TVs have separate boards for the "smarts", and on the smart section, many will have a separate wireless module (usually so it can be independently certified).

I'd pay for the service, for sure.

If the TV fails to boot with the wireless module removed, perhaps cutting an antenna trace might be sufficient.
I did various medial trials in college for money and have mixed feelings about this. When sitting in the various waiting rooms, it was very clear that was only one kind of person that did "open" (not targeting people with a disorder but rather recruiting healthy volunteers) medical trials: the poor. I got to know lots of of people well (we were frequent flyers in the medical trial world), and our common characteristic was that we really needed the money.

It's kind of like non-pay electoral offices. You only get candidates that can afford not to work. In medical trials, you get the kind of people that are willing to, for example, get infected with the common cold and have you blood drawn 6x a day for 4 days for about 80 bucks a day. It was not horrible, but often uncomfortable. Study recruiters still call me, and now that I have a decent paying job there is no way I would ever consider doing those kinds of studies again. Simply not worth it.
I think that's getting a little high minded for the purpose of the OP's question. I think it's fair to interpret the question as "Is there a good faith argument that HFT is beneficial to markets in a way that also benefits everyday citizens? Are there positive downstream effects? Is the intent of HFT strictly selfish?"

I don't think your comparison to academia holds up there.
> Last time ReactOS came up here some folks were concerned about legality too, and I think there even was a salty Microsoft employee ranting about stolen code from the source leaks.

Link to the actual dicussion here with the comments of the MS employee:

https://news.ycombinator.com/threads?id=axelriet

ReactOS developer's explanation on how they work:

https://www.youtube.com/watch?v=2D9ExVc0G10