HackerTrans
TopNewTrendsCommentsPastAskShowJobs

chrisaycock

no profile record

Submissions

The DOGE Bros Want Another Shot

theatlantic.com
2 points·by chrisaycock·الشهر الماضي·2 comments

There's Never Been a Better Time to Study Computer Science

theatlantic.com
8 points·by chrisaycock·قبل شهرين·1 comments

French weather service alerts police after suspicious Polymarket bets

ft.com
6 points·by chrisaycock·قبل 3 أشهر·0 comments

SantaCon Leader Ran His Own $1M Con, U.S. Says

nytimes.com
2 points·by chrisaycock·قبل 3 أشهر·0 comments

Glasses Got Worse on Purpose

worse-on-purpose.beehiiv.com
63 points·by chrisaycock·قبل 3 أشهر·23 comments

The Age-Old Urge to Destroy Technology

newyorker.com
2 points·by chrisaycock·قبل 3 أشهر·0 comments

He designed C++ to solve your code problems

stackoverflow.blog
3 points·by chrisaycock·قبل 3 أشهر·0 comments

Economists Once Dismissed the A.I. Job Threat, but Not Anymore

nytimes.com
20 points·by chrisaycock·قبل 3 أشهر·9 comments

Apple Plans AI Reboot with Siri App

finance.yahoo.com
5 points·by chrisaycock·قبل 4 أشهر·0 comments

Tech Workers Max Out Their A.I. Use

nytimes.com
5 points·by chrisaycock·قبل 4 أشهر·0 comments

COBOL Is the Asbestos of Programming Languages

wired.com
7 points·by chrisaycock·قبل 4 أشهر·3 comments

The Dirty, Dystopian World of AI Data Centers

theatlantic.com
4 points·by chrisaycock·قبل 4 أشهر·0 comments

Young billionaires are behind the prediction market boom. They hate each other

npr.org
8 points·by chrisaycock·قبل 4 أشهر·1 comments

Jensen Huang of Nvidia Named IEEE Medal of Honor Recipient

corporate-awards.ieee.org
1 points·by chrisaycock·قبل 6 أشهر·0 comments

Ask HN: Has anyone been able to renew their IEEE this month?

21 points·by chrisaycock·قبل 7 أشهر·2 comments

Show HN: Proposal: Copy-and-Fuse Compilation

gist.github.com
2 points·by chrisaycock·قبل 7 أشهر·1 comments

comments

chrisaycock
·قبل شهرين·discuss
Yes, it's true that someone can put together a simple language like in a university course. The difficulties, as mentioned at the bottom of the post, are things like metaprogramming features or optimizing compilers.

The tail ends of a language implementation (parsing and code generation) are a fixed cost; the "middle end" can grow unbounded as more production-quality items are added.

My language: https://www.empirical-soft.com
chrisaycock
·قبل 3 أشهر·discuss
The conclusion from the article is that broader economic uncertainty from tariffs and the Iran war have a bigger effect than just AI.
chrisaycock
·قبل 4 أشهر·discuss
std::execution is very interesting, but will be difficult to get started with, as cautioned by Sutter. This HPC Wire article demonstrates how to use standard C++ to benefit from asynchronously parallel computation on both CUDA and MPI:

https://www.hpcwire.com/2022/12/05/new-c-sender-library-enab...

Overlapping communication and computation has been a common technique for decades in high-performance computing to "hide latency", which leads to better scaling. Now standard C++ can be used to express parallel algorithms without tying to a specific scheduler.
chrisaycock
·قبل 4 أشهر·discuss
The government is free to cancel its own contracts. The judge is saying that the government cannot prohibit other entities (like private contractors) from doing business with Anthropic.
chrisaycock
·قبل 4 أشهر·discuss
The project relies on Rayon [1] for scheduling parallel tasks and Cranelift [2] to JIT the hot loops.

There are plenty of other interesting features like auto-FFI, bytecode caching (similar to Python's .pyc files), and "daemonize" mode (similar to mod_perl or FastCGI).

[1] https://docs.rs/rayon/latest/rayon/

[2] https://cranelift.dev
chrisaycock
·قبل 4 أشهر·discuss
The one piece of advice I give new PhD students is to maintain a list of your references for a bibliography ahead of time. For every paper you read, copy the citation in BibTeX format and write a couple of sentences to remind yourself what the paper was about. Do this for every source, even if it doesn't seem important at the time.
chrisaycock
·قبل 4 أشهر·discuss
I hadn't realized that Kalshi is a YC company:

https://news.ycombinator.com/item?id=33696486
chrisaycock
·قبل 4 أشهر·discuss
> I think it would be the best to start interpreting the query and start compilation in another thread

This technique is known as a "tiered JIT". It's how production virtual machines operate for high-level languages like JavaScript.

There can be many tiers, like an interpreter, baseline compiler, optimizing compiler, etc. The runtime switches into the faster tier once it becomes ready.

More info for the interested:

https://ieeexplore.ieee.org/document/10444855
chrisaycock
·قبل 4 أشهر·discuss
Indeed, my very first attempt used numpy.searchsorted:

https://numpy.org/doc/2.2/reference/generated/numpy.searchso...

I couldn't figure-out how Arthur's bin matched on symbol though, so I switched to a linear scan on the right table to record the last-seen index for each "by" element. While it worked, my hash table was messy because I relied on Python to handle a whole tuple as a key, which had some issues during initial testing.

The asof join I wrote for Empirical properly categorizes the keys before they are matched. That approach worked far better.

https://www.empirical-soft.com/tutorial.html#dataframes
chrisaycock
·قبل 4 أشهر·discuss
I first encountered q/kdb+ at a quant job in 2007. I learned so much from the array semantics about how to concisely represent time-series logic that I can't imagine ever using a scalar language for research.

Fun fact: the aj (asof join) function was my inspiration for pandas.merge_asof. I added the extra parameters (direction, tolerance, allow_exact_matches) because of the limitations I kept hitting in kdb.

https://code.kx.com/q/ref/aj/

https://pandas.pydata.org/docs/reference/api/pandas.merge_as...
chrisaycock
·قبل 6 أشهر·discuss
The article points out that tools like TLA+ can prove that a system is correct, but can't demonstrate that a system is performant. The author asks for ways to assess latency et al., which is currently handled by simulation. While this has worked for one-off cases, OP requests more generalized tooling.

It's like the quote attributed to Don Knuth: "Beware of bugs in the above code; I have only proved it correct, not tried it."
chrisaycock
·قبل 7 أشهر·discuss
I had been thinking about this idea for a long time, but I doubt I'll be able to get around to it. After speaking with a friend this evening, I decided to just jot it down for anyone interested.

Basically, use copy-and-patch compilation in a vector language to fuse loops and avoid temporaries. It can be employed for a baseline compiler that will use less memory than an interpreter and will have a much lower startup cost than an optimizing compiler.
chrisaycock
·قبل 6 سنوات·discuss
The business model I've eyed is to license to service providers, like securities brokers and data vendors in the finance industry. That way, their customers can execute queries in the cloud.

For example, a crypto broker wants their traders to write their own models. A stock-exchange advisor wants their asset managers to compute their own transaction costs. Etc.

Basically, Empirical will be a value-add component for existing customers of these larger providers. Instead of shuffling market data over the Internet, the user will "send the query to the data."

Every firm I've shown Empirical to has had the same word-for-word response that most end users have had: "Does it handle streaming?" I put the sales calls on hold while I try to get this done.
chrisaycock
·قبل 6 سنوات·discuss
I was pretty bad at explaining Empirical in the beginning. During alpha testing, I emphasized the technical merits (statically typed Dataframes!) rather than an application domain. Once I figured-out I needed to push time-series analysis, then the user feedback became more focused.

After starting the public beta, I heard the following sentence several dozen times: "This looks amazing! Does it handle streaming?" And thus began the quest I am currently on.

About the only advice I can give is to keep practicing and keep an open mind. The feedback will get less negative the more you hone your pitch.
chrisaycock
·قبل 6 سنوات·discuss
Empirical is statically typed. I can run a backtest overnight knowing it won't crash because of a type error or misspelled column name.

I'm currently in the (long) process of adding streaming computation. Once that's ready, Empirical will be able to handle everything from gargantuan CSV files to real-time data using the same language primitives.

I talked about some of these goals when I launched on HN last year:

https://news.ycombinator.com/item?id=19969390
chrisaycock
·قبل 6 سنوات·discuss
I did Startup School in 2018 and was one of the inaugural grant winners.

The program was extremely helpful for getting me through to the launch. My product is a moonshot sold to enterprises, so it took an enormous amount of work upfront to get something into users' hands.

The accountability of a cohort was critical for the lonely days of coding something that is both ambiguous and ambitious. Also, constantly being forced to explain my product really helped me hone my message and sales pitch.

I am still friends with some of the people I met back then. I seriously recommend this program to anyone who is starting out.
chrisaycock
·قبل 16 سنة·discuss
We can add Skulpt (Python) to that list too.
chrisaycock
·قبل 16 سنة·discuss
Right, it's same reason we still have ARM despite the success of x86. Or why some hardware vendors bundle FPGAs rather than rely on GPUs or custom ASICs. The instruction set is absolutely vital for a given domain's performance.
chrisaycock
·قبل 16 سنة·discuss
Whenever I hear "standardized bytecode", I think of Parrot:

http://www.parrot.org/