skysight-inc/HackerNews huggingface dataset:
fabs like tsmc would hire design firms like nvidia to produce designs to fabricate; the division of labor would be the same as at present, but banks and investors would send their money to tsmc to pay to nvidia, rather than to nvidia to pay to tsmc

There’s a bit of a snag with this. Chip designs are rarely ever done from scratch. Instead they’re iterated over many years, similar to how browsers, operating systems, other critical software is developed. It took NVIDIA decades to get where they are now. If anyone else can just take their designs as a starting point then NVIDIA’s whole investment (billions of dollars in R&D over decades) ceases to be a competitive advantage.

I think what would actually end up happening is that chip design as NVIDIA is doing would cease to exist as a business. Perhaps we’d end up with something more akin to an open source model like Linux. But then cost of manufacturing (paying for the masks and order startup costs) would still run into the millions, and TSMC would hold all the cards.

The reason I brought all this up though may have been missed by all the commenters to my original post: the U.S. government and their strategic interests. Having American companies like NVIDIA (and Apple as well, really) lose power and marketshare is not in the interest of the government. The last thing the US wants to see is for China to close the technology gap on this stuff.
Utility is intense offline data crunching, which will be much more cost efficient and less complex than equal cloud based or self hosted distributed setup.
Remaps Capslock to Ctrl and it will make a lot of sense. Other heavily used shortcuts are Alt+d, Alt+Backspace, and Alt+Left|Right.
Marketing people write a lot more
I have to agree with the other commenter (drewg123). Been a Vim user for decades but don't use Vi-mode in the terminal.

> the problem she describes is a non-issue. And I am not a pro.

Not sure what you're saying here. Julia didn't describe a problem but a preference ("I didn’t really like using it"). I'm not sure how you can you call someone's preference a non-issue. It's a preference and we're allowed to have those last I checked! :p
> Why do you believe that what you wrote is true?

Because I've seen this claim many times over more than a decade, and have seen evidence multiple times. I've also been able to search for it when I was curious and find it without issue.

Here's the first search result, a Vice article from 2018: https://www.vice.com/en/article/evkmz7/study-again-shows-pir...
Thanks!

In maybe similar spirit, another screwy way to explore terminal IO mechanics I came up with when reading the start of Kernighan's UNIX Programming Environment:

Open up three terminal windows:

1) `man ascii`
2) `nc -lvp 9001 | xxd -c1`
3) `stty raw -echo; nc -nv 127.0.0.1 9001`

With the #3 terminal active, try reproducing the whole "Hex" column of the manpage, in order. And, observing that some values have multiple ways to produce them, and also observing the multi-byte payloads of some of the other keys.

I'm not going to pretend to grasp through and through what exactly I'm accomplishing with this but will happily read any commentary.
A properly soldered ring with the right treatment will not have a seam. On the other hand, castings can easily end up with imperfections and porosity, especially in the hands of an amateur with limited equipment.
I almost always book tickets for business travel 1-3 day before the trip. I am completely price insensitive (I do not care if my employer pays $100 or $400 for the ticket), my schedule is hard to predict ahead of time (if there are no important meetings on Monday, I will fly on Monday. If something important pops up I may fly on Sunday or on Tuesday). Downside is smaller seat selection (I mitigate by always checking if aisle seat available before booking) and sometimes convenient flights sell out.
I'm curious how HFT relates to pro audio programming. The timescale is close to gaming (usually <10ms for desktop PC work), but you really care about the tail of the distribution. All the audio processing happens in a high-priority callback that's called for every audio frame and needs complete within the time budget, so you typically never allocate, do IO, or use any blocking synchronization primitives [1].

It's not hard real-time like you're going to crash your car, but if you miss your deadline it causes an unacceptable and audible glitch.

I've always been a bit surprised that Jane Street uses OCaml. I know they've put a lot of attention into the GC, but it still seems fundamentally indeterminate in a way that would make most audio devs nervous.

[1]: http://www.rossbencina.com/code/real-time-audio-programming-...
Never underestimate the amount of work needed for authorization.
Having some tests is necessary to avoid mostly of the bugs that other comments are pointing out.

Perhaps it's just me, but I don't trust code that hasn't been tested.
I have not watched Handmade Hero, so I can't offer any comments any their comments based on factual claims about the software. A few things though:

I am not linking to handmade hero, I'm linking to a separate project of his (his performance aware programming course) that is actually aimed at being an educational piece.

I lied, I will comment on one factual piece. "normal library code in favour of hand-rolling your own half-baked implementations based on outdated trivia." Yes, that is the whole point of the series (not the characterization as half-based and outdated trivia). The point was to show how to build a game (and its engine) from scratch to as big of a degree as possible. The avowing of library code is the point, to show what it takes to build engines rather than call a library so that the industry has more people who would even attempt doing such a thing.

Equally anecdotally, based on available online information, he worked for a long time on core technologies at RAD Game tools, a company which essentially every gamer, expect maybe pure mobile gamers, has purchased a game that used their technology. It may be possible that he acts (or acted in HMH) based on outdated trivia and favoured premature unfounded optimization, but I find it hard to believe based on the content of his I've engaged with and his track record.
The vendors can now just tip the town officials for choosing them.
So public libraries have prevented people from writing books for millennia? They've always offered free access to books.

Personally I use these services like a public library too. I buy most of the books I'm sure I want but I use public libraries and download sites alike to explore more. Once I actually dive into a book I buy it but many I don't.

Of course this depends on a honour system as you could easily download everything. But books are cheap for the amount of time you spend on them and it's a nice thing to buy.

Note: for technical books that equation can be very different and I could be more likely to download yes. Though i don't usually consume technical content in book form anyway. I tend to explore by doing and learning as I go.
There are separate HN guidelines for Show HN posts: https://news.ycombinator.com/showhn.html and there is a link there to tips from the moderators.

Beyond that, I'd add that Show HN is specifically not a way to weasel around the guidelines prohibiting advertising and marketing, self-promotion, or soliciting customers. Such posts get ignored or flagged.
Whenever someone brings up this subject, I'm reminded of this classic article from Linus which has appeared many times on HN: http://www.linusakesson.net/programming/tty/index.php
>You can get an Ikon/Epic pass for under $1000

Not anymore, you can’t.

Epic is $1004. Ikon is $1359.
People often ignore evolutionary psychology. You should ask the question why do humans have these bad traits and tendencies? Because these traits helped us dominate in the game of the survival of the fittest.

Yes Grahams two cents here makes sense, but always talk about why the trait from an evolutionary perspective even exists. It exists because it worked for a certain context and was good for millions of years. Explain why it doesn't work for this new context.

Instead all I hear is people calling certain traits bad and explaining how we should live life like suppressing all these traits that took millions of years to evolve.
A note file with the commands written would be your best bet. Then bring the most common ones in your shell as aliases or functions.
Unless you want reproducible installations on multiple platforms.
conda works really well for local hacking. Whatever it does, it sidesteps almost all the other footguns I have encountered with local pythons.

on the other hand, I've found Go to be meaningfully superior for many things, and Rust to be meaningfully superior for many other things, and Scala excellent for the JVM and I simply can't actually recommend other languages for professional greenfield work outside of exceptionally niche cases.
Nice because it has eclipse market capability with which you can install vrapper and other handy plugins.
But you will still need to maintain a grid that's sized to handle situations when there's no solar.
including duckdb as well.
No, they're not. Just teaching a beginner what the hell a venv is is a nightmare
Most certificates only matter to people who don’t know anything about your job - only one I know that is universally recognized as “damn this guy is good” is CCIE, and even that is starting to fall off with CCIE Enterprise being kind of a proprietary joke.
Gotcha, for some reason I was under the impression that the Arcade kit or DevKit had an odd memory setup of 640mb or something like that.

Thanks for the correction!
The case is brought by the federal government in federal court. The recent Supreme Court ruling is applicable only to the enforcement of the federal gratuities law against state and local officials, federal officials are still prosecutable under the federal gratuities law. So, bribing these particular folks after the fact is still illegal.
Wrong title (2023)
A Uniquely Challenging trivia game built on Chatbase/OpenAI
I might be biased for some almost personal reasons, however I think there is one book that anyone serious about the field should just read, period.

“Trades, Quotes and Prices”

Authors:

Jean-Philippe Bouchaud, Capital Fund Management, Paris, Julius Bonart, University College London, Jonathan Donier, Capital Fund Management, Martin Gould, CFM - Imperial Institute of Quantitative Finance.

I’m a practitioner and this book is foundational.
> Python feel like cargo

I am sold. Was thinking of trying out pixie after poetry took whole day and still couldn't resolve deps.

Looks like there are more python package managers that chat apps from Google ?
Websockets from Scratch [video]
Why does cloudflare cost $600k for 2 years?

What exactly are they paying for? Surely
I just noticed that the video about donating to charities ends with the narrator trailing off with "I don't know what I should say".

I am surprised we decided to upload those videos. It might have been during the time when people weren't being paid regularly
Or cost cutting of essential services
I realize that.

But the point of reading a blog post would be to learn something insightful, to see the reasoning or argument by which the poster came to this particular conclusion. Hopefully with some consideration that I'd not thought of before.

This boils a complicated question with nuance and problems and facets of debate into a rather vapid "I like this answer." of a post. It's not worth anything: I come away from it no richer than when I came.

Like, trivially, someone could write the opposite answer on another blog. And whose answer is right? (They of course need not even bother actually writing it out. A "right" answer is created by argument, not spilled ink.)
Stanford study shows where – and why – recharge is uplifting sunken ground
It's missing my favourite optimistic lock, the Delusional Lock.
guys just use matrioshka.py it is your one-stop package management system for python.

just prefix any other package manager with matrioskhka

e.g. python -m matrioskha rye install pip install pipx setup.py install

A single distribution command for all of your projects.
That is nice if you have a need for overlapping timers, but if you don’t, I wouldn’t complicate things to much. The good thing about is that it is very easy to set a timer. (A few touches on the watch, or just saying “timer for 45 minutes” to Siri.)
Japan and Korea join Australian-led pushback on Chinese hacking
The cynicism of HN surprises me sometimes.

I love Rye. After using package managers from other languages like cargo and hex, the lack of a similar system for Python always had me yearning for more. I'm really happy to say Rye has completely solved this itch for me, and its a real pleasure to use as someone who doesn't want to install different tools to manage venvs, python versions and my project's dependencies. Rye just does it all.
Socials explode after judge shuts down accounts of Aubreigh Wyatt's grieving mom
Show HN: Generate animated charts to boost your social media engagement
Then why aren’t you doing it?
A lot of our core packaging development is now happening in uv [1]. Rye uses uv under the hood, so as we improve uv, Rye gets better too.

E.g., we recently added support for "universal" resolution in uv, so you can generate a locked requirements.txt file with a single resolution that works on all platforms and operating systems (as opposed to _just_ the system you're running on). And Rye supports it too in the latest release.

[1] https://github.com/astral-sh/uv

---

I work on Rye and uv, if you have any questions :)
Well, I probably should not have played this, given that I'm (seemingly) in my last year of my PhD.

Back to paper writing...
How do you run a Java program without compilation?
I mostly agree with this...

> Use Postgres for Fulltext Search instead of Elastic.

Yea, that's not quite the same. Im going to make the argument that a well tuned search platform along side your data storage is probably one of the most useful things you can have. It's one of the first places where you will be "let down" by the Postgres solution.

As a document store, a queue, Postgres will do the job up to a point. When and where it breaks down in one of these ancillary roles you're likely to have the resource to support more systems, or a more "focused" tool.
Anton Napolsky and Valeriia Ermakova have done humanity a great service and I sincerely thank them for it. They are true heroes. I hope they remain safe and out of reach from the deranged laws and the "justice" circuses that are US courts and their jesters.

For anyone wishing to engage in a public good that upsets a well-funded US industry (like sharing books, building emulators or compatibility software, fan games, etc), please consider hosting your project on Tor from the start.

If evil can flourish on Tor without prosecution, then so should the good.
I long ago decided that the Compose key is the best solution to this problem. In many cases, the Compose sequence is intuitive, e.g., Compose+l+- gives you £, Compose+t+m gives you ™, Compose+*+l gives you λ, and Compose+e+' gives you é. Compose is easy on Linux/BSD (some variation of setxkbmap will generally let you remap a key as Compose), and there's a WinCompose for Windows which behave essentially identically. There's a sort-of-solution for MacOS using Karabiner, but I've forgotten the details.

The thing about Compose is that it fits in with touch-typing, whereas choosing the character from a menu means you have to stop, look at the menu, and select the desired character, before going back into typing mode. Perhaps that's good for people who almost never use non-ASCII, but that would definitely slow me down.
All build systems allow arbitrary code execution at some point / layer. This isn't a real criticism or issue.
Same here. I have a Panasonic Plasma hooked to the AppeTV 4K in the bedroom, and the picture quality is awesome.
> I just don't know what you mean by precisely wish to bar ownership

If foo() doesn't need to share ownership now but may need to later, declaring it as foo(const std::shared_ptr<bar> &) instead of foo(const bar &) allows this change without revising any prototypes. However, if we precisely wish to prohibit shared ownership by foo(), we can do so by declaring it as foo(const bar &).

> Prove it. In a single threaded program with scope based ownership

The incorrect assumption that you came to is that we were talking about stack variables. But anyways, here's an example that's both scope-based and single threaded:

std::vector<std::shared_ptr<bar> > v;

with an algorithm that selectively adds our pointer to the vector one or more times, and another that duplicates and removes elements according to some ongoing criteria. The object gets deleted when no pointer instances are left in the vector.

In practice most code is multithreaded (not that it matters) and most shared_ptrs are held inside other objects (not that it makes a difference either.)

> Are you saying I'm wrong then saying the exact thing I just said?

I'm saying you misunderstood and now I clarified again. I'm at the troll-detection threshold, so this is my last clarification. Take care!
There are many international intellectual property agreements which effectively make one country's copyright laws apply in another country. For example: https://en.wikipedia.org/wiki/TRIPS_Agreement

While I agree many copyright laws are broken in many ways, this sort of agreement is also what makes the GPL of source code copyright holders enforceable in other countries.

Chinese GPL violators were a big deal in 3D printing a few years ago, with many companies not releasing their 3D printer firmware source based off the Marlin GPL software.

It's been a while since I followed that but it's apparently got real legal precedent now, with a Chinese court fining a local GPL violator: https://segmentfault.com/a/1190000040661920/en
Counterpoint: contentment is a prerequisite for healthy sustained effort. It’s easy to get up every day and chisel away at something inch by inch - sometimes with little to no perceptible progress - when you are fulfilled elsewhere in your life.
in the case you mention, the geopolitical considerations run strongly counter to what you suggest

chinese policymakers can loosen domestic restrictions on innovation such as copyright and patent laws; then the laws in the us will only restrict us companies like nvidia. in large part this has happened, which is a major reason chinese companies (in both prc and roc) have become the leading organizations in a wide variety of high-tech fields, including solar panels, cell phones, electric cars, nuclear power, and microelectronics

your nvidia analogy predicts that gcc engineers and linux kernel engineers would have terrible job security, since anyone who needs a gcc backend or device driver written can hire literally any programmer; there are no legal restrictions. but in fact this seems to make the barriers to entry higher rather than lower. they're just in the form of 'human capital', knowhow, rather than in the form of the assets of a company

also, you may not be aware of this, but tsmc is a chinese company, and it's already left the us behind. sentences like 'The last thing the US wants to see is for China to close the technology gap on this stuff.' reflect wishful thinking that the technology gap is the other way around from how it actually is
I prefer my bootloader (be that it may, GRUB, lilo, or even BusyBox) because thosr image will go away once the kernel is started.

Nothing for hacker to see and analyze the bootloader, assuming you did not load a driver to the NVRAM/Flash/UEFI/EFI.

Nice security compartment alization.

Redhat is smothering this easential security abstraction of 1st stage loader: not a good security model.
Obviously the correct way is to accept a templated type and use perfect forwarding. /s /s /s /s /s
Have you tried conda? How is it compared to Rye?

I haven't had an idea of Rye yet, but conda can do "manage venvs, python versions and my project's dependencies" fine.
I do like that Rye's Python builds apparently use libedit instead of readline. One less GPL-licensed thing to worry about for redistribution :)
I recommend Rye because of its python bianries (credit to Indygreg). What a time saver!
There's really not much maintenance for maintaining simple static assets.

Once you build the pipeline, it's not that hard to maintain CDN releases.

GP was just voicing a wish that a certain piece of software or service as described without predatory pricing exists.

They never said they wanted it for free, you did.
if so, then that is bad. the solution isn't to remove red light cameras (which can save lives, by preventing drivers from entering an intersection with perpendicular cars), rather to standardize how long yellow lights should be
Thank you. I appreciate your point of view.

Have a wonderful day!
Pixi is limited in focus to the Conda ecosystem within Python's ecosystem. Rye is not quite what Cargo is to Rust, it's more like a faster Poetry. Both Rye and Pixi are using uv, which aspires to close the gap for Python packaging tools to be the Cargo of Python. Rye will likely fold into UV at some point in the future.
My High School banned Phones in 2011
Multimodal RAG
I don't think node really existed when this was made in late 2009. It was built with jsf: Java server faces. Its a bit like a more enterprisey version of GWT. Everything on the page was a huge class with lots of horrors that eventually became html css and js that you never wrote.

I checked, node existed but it was a toy compared to jsf.
I believe this is a Google doc preview. On my iPad it had terrible scrolling performance, and the shortcut to scroll to the top of the page (tap the top edge of the screen) doesn't work :(
> Are you okay with a bait and switch executed on a shorter time frame

If I pay for it, I’m OK with it. If I decide I’m not OK with it, I’ll either not buy it or learn my lesson and make a different decision in the future.

> How about a third party breaking into your house and breaking your things, or is that only alright when the original manufacturer does it?

Why don’t you take a wild guess here?
Hassle isn't really what I think of when I think of Python. C++, yes, but not Python.
Not sure if this is what GP was getting at, but in games a shared pointer (or similar custom resource handle) to something like a texture can be very useful - you want to share resources between objects in the scene so that you don't load a thing from disk when it's already in memory, but don't want to hold onto it forever to save RAM.
This exactly. I filled hundreds of pages of behavioral data during my PhD. Although I don’t know the exact numbers, I’d wager that my publications came from only 20-25 pages of data.

If you anticipate low success rates, you can find success either through luck or through diligent experimentation with an expectation of null results. Null results which, by the way, can often improve your odds of downstream success.
Hulu locked out their users during Disney login migration
Here's an intuition that might help: Suppose we define β=1/T, the reciprocal of temperature. (See https://en.wikipedia.org/wiki/Thermodynamic_beta.) As a system gets hotter and hotter, T gets bigger and bigger, so β falls closer and closer to zero. If β falls past zero and becomes negative, then T will also be negative.

(Also: If T=0, then β would be undefined/infinity. This corresponds to the fact that absolute zero temperature is impossible. β is arguably a more natural way of thinking about temperature than T is.)
It technically compiles it to memory before running it, but the point is that you don't have to invoke javac first. It's a relatively new feature.
Unreal Engine 5 – Lyra shooter sample running in browser with WebGPU