skysight-inc/HackerNews huggingface dataset:
Off topic but related: I played around with getting Nim running on an Arduino.

1. I found a critical bug almost immediately, but Andreas fixed it within 24 hours, and was super helpful.

2. Once the issue was resolved, it was surprisingly straight forward to get it running. I started by wrapping the arduino libs, and quickly shifted to wrapping the AVR libraries directly.

One take away was: Nim (and Julia) are likely really nice languages to run in these sort of low-level environments.

Another take away: there's an opportunity to develop a low-level C-based library to better support efforts like this. Both AVR and Arduino libraries weren't designed to be wrapped in something like Nim. And the Arduino codebase could use a healthy refactoring.
>The grandparent misunderstood why the author was being vague

Perhaps, but only the author can confirm this.
For failed states why do you have the expectation that their currency (Fiat or otherwise) will not collapse?

Venezuela was stripped of its manufacturing capabilities with the exit of foreign investment due to sanctions. Their former petroeconomy now is worth nothing.

The intrinsic value of their currency is lost, as the Venezuelan gdp in absolute terms disappeared.

Currency exchange rates is the least of their problems.

They are out of value. Not out of valuable cash.
Zuckerberg sued by DC Attorney General over Cambridge Analytica data scandal
Personally, I very much dislike that this makes the zero value of `SearchTree[T]` not useful. I personally feel that anything which only handles data (as opposed to something like an os.File) shouldn't require explicit initialization.

I genuinely think I might personally converge on the `Comparator[T]` approach only (at least for types), for that reason.
Ask HN: What are the pros and cons of redirecting mobile users to m. subdomain?
Just wondering what benefits or challenges/problems everyone's run into following this strategy like some large platforms use like Twitter's mobile.twitter.com.

Any tips, tricks, advice?

Thanks!
Then this feaure should be disabled so that nobody relies on it.
With placement new you can allocate wherever you want, as the memory region is one of the parameters.

You can also overload it, so that it can be given as implicit parameter.

Modern C++ compilers are also able to do escape analysis and remove new altogether,

https://godbolt.org/z/f9vnxG88K

If you try AVR instead of X64, the optimization will be missing, which is only a side effect of the backend not having as much attention in what it looks into.
Chess.com Robots.txt
TAOCP is meant to be a textbook, a reference, and a historical account of algorithm development. I find it most rewarding to pick the most interesting part to me at the moment to read. I also ignore the MMIX code (even though I did work through the MMIXware book) and focus on first intuition, then code, and then the math that teaches me new ideas or new methods.

I find the MMIX code less relevant to my line of work now as getting down to machine-level optimization requires a whole new different suite of tools. The ensuing optimizations on modern CPUs seem deviated from what the MMIX code can help.
I personally know two authors who have approached me about creating simple sites where they can sell their self-published books and blog about their book's content.
Yeah, TAOCP's casual style puts me off too. Side by side with high watermarks in technical writing like The C Programming Language, Specifying Systems, or Loney's Elements of Coordinate Geometry its shortcomings are pretty obvious. But that's an opportunity for a clever editor to make an actual reference manual out of TAOCP sometime in the future.

Knuth's a good, engaging writer, but TAOCP's content and typography are definitely better thought out than the prose.

EDIT: Just remembered a BBC interview with a philosophy professor about Kant. Apparently Kant is criticized for being really verbose. The professor's retort was he sensed Kant had so much to say and so little time to say it that he didn't edit very carefully, giving it a similar kind of bloated, meandering quality. Even so, Kant is held up as one of the GOATs, because in the end it's the content that counts.
I read that the opportunity wasn’t due to defense radars being down. It was due to a diversion tactic (annoyance drone) created to fool the radar operators into focusing on a false flag.
No, not even remotely.

I've found that OOP has too many footguns and becomes a nightmare to debug. in contrast, I find that e.g traits in Rust (insert equivalent for your language of choice here, I'm aware Rust isn't the only one with it) are a much cleaner fit. I'm not really sure what the official term is, but I refer to it as Composition-based programming. It sits in a perfect middle ground of being object-oriented-ish without letting people go hog wild.

This all said, I find codebases that use only "functions & data" to be very cumbersome as well. We have patterns for encapsulation that have kind of gotten thrown out the window over the years and it's frustrating. Too many of these codebases feel like they have an inadvertent bus factor of one due to the code being so un-encapsulated, and it's one or two people who really know how it all works.

(As a side note, I never got the hate for JS classes - I know they don't behave like true classes in other languages, but I considered that a plus. React was 100x more approachable with them.)
That doesn't really turn on any crypto-related concepts at all, but rather false/deceptive disclosures about the security itself. That actually would be equally illegal to do with regular securities too - you don't fuck around with disclosure documents, that's an absurdly easy way to go straight to jail.

> These traders allegedly created the false impression that more than $2.5 million worth of NSGs were traded daily on BitForex during the first 60 days and that the price of NSGs was steadily increasing due to investor demand. According to the complaint, however, the manipulation scheme collapsed when investors tried to sell their NSG tokens, because there were no actual buyers, causing the token's trading price and volume to fall precipitously."

This is also the fund owners doing something nefarious - that doesn't mean that somebody else executing a transaction according to the contract and the market could be held accountable because the fund's customers lost money. Someone has to be on the other end of every transaction, that is how a market works.
>> The Neptune is a rather unremarkable anti-surface missile with underwhelming capabilities.

> It had enough range to reach the target from shore, enough precision to hit it, and enough warhead to kill it. That's good enough.

When you put it like that, it's kind of scary to think what GP's definition of whelming capabilities would be.
Is an m. site ever any better on a phone than the real site?
Eh, I can see many people preferring decentralized leverage over centralized i.e. Bitmex. And even if there were other decentralized solutions for leverage back then, they may have liked the security posture and liq parameters of MakerDao specifically.
And nowadays (maybe even back then) US citizens cannot use Bitmex.
Well yes if they don't have the prerequisites then they can't progress. But there's no reason you have to have that exact set of lessons to learn algebra. There's the books that you're given, you can read them yourself, there's other books by other people, there's videos, there's catch-up classes, there's tutors you can hire.
I've used Airflow for a few years and here's what I don't like about it:

- Configuration as code. Configuration should be a way to change an application's behavior _without_ changing the code. Make me write a workflow as JSON or XML. If I need a for-loop, I'll write my own script to generate the JSON.

- It's complicated. You almost need a dedicated Airflow expert to handle minor version upgrades or figure out why a task isn't running when you think it should.

- Operators often just add an API layer over top of existing ones. For example, to start a transaction on Spanner, Google has a Python SDK with methods to call their API. But with Airflow, you need to figure out what _Airflow_ operator and method wraps the Google SDK method you're trying to call. Sometimes the operator author makes "helpful" (opinionated) changes that refactor or rewrite the native API.

I would love a framework that just orchestrates tasks (defined as a command + an image) according to a schedule, or based on the outcome of other tasks, and gives me a UI to view those outcomes and restart tasks, etc. And as configuration, not code!
"Independently usable" does not have to mean "totally independent". The libraries could be related to the same product using the same infrastructure.
Considering I didn't find a single successful Switchblade drone video in 3 months (1 which missed quite a bit), I would say this output is heavily moderated and for good reasons.

Ukrainians want to prop their technology for sales/morale (Stugna), US probably doesn't want to show off their latest technology marvel.

The other option is, Switchblade drones are completely useless and thus unused by Ukraine. I don't believe that even if it may not be some wonder weapon to solve it all.
thanks for links.
I guess, I'll take a serious look.
Yes, Airbyte is using Temporal. Here is a blog post they wrote a few weeks ago that goes into more detail about it: https://airbyte.com/blog/scale-workflow-orchestration-with-t...
Rust handles this in a "correct", if annoying way: the stdlib sort requires its elements to have a "totally ordered" trait, and floating point doesn't have that trait. You have to either give a custom comparison function, or use a "non-NaN and totally orderable floating point" type some non-stdlib crates have.
Port it to a modern language so PHP can finally die, add support for PostgreSQL and MS SQL
Functional programming does not prevent you from setting up boundaries between modules and group functions together.
> If this is true, then you almost have to concede the model is broken.

PhD training prepares people for the academic career and faculty positions. Less than half of PhD graduates actually end up in the academic career. So yes, you could say the system is ...not perfect.
@task.python(task_id="this_is_my_task_name")

def my_func():

...
gzip doesn't do a stat(2) and detect that /dev/sda is a device node? looks at gzip source code -- sure looks like it will delete device nodes. And seems like the wrong thing for it to be doing.
Spline.design is great.
> do you think parents are going to give up their children willingly?

No, they won't want to lose their kids. But if they have no means to support them then they will. So because they aren't receiving any financial assistance for shelter, food, and clothing then they will rely on having a partner. We have now incentivized that type of behavior. Failing that, if they can't provide a safe environment for their kids then we will take the kids out of the home. We do this today. We could altar the civil rights act to include children in these situations.

> children growing up without their own parents is only going to make things worse.

Adopted kids do great. It's about structure and predictability.

> your ideas work under the assumption that these parents are not capable of raising their kids.

Correct. All the evidence says they are not capable.

> the problem is that they have to raise their kids and make a living in an environment that is not supportive.

Correct - as stated above we incentivize them to create a supportive environment or we will create one for their kids.

> the big factor that you are missing is that we don't know if those children will be capable to have families of their own.

We will teach them how. They will be so removed from their environment of shattering poverty, drugs, abuse, etc. They won't even recognize that world and will be disgusted by it. They will learn how to be productive people that can not only take care of themselves but can care for others. These are learned behaviors. One of the reasons we have generational poverty is because bad habits are passed down. The cycle never gets broken.

> children in institutions is not children with parents.

Institutions are a surrogate.

> it smacks of hubris and arrogance. the assumption that people should be able to take good care of their kids without help and anyone who isn't is simply incapable and should not have had kids in the first place. that you know better than they do, and they should just submit to your authority.

Or we can continue to double down on the same bad ideas we've been trying for the last 60 or 70 years. Talk about hubris and arrogance!

The main difference is I'm actually trying to help the kids. Not create government dependent parents that will vote for me because I get scraps sent their way.
drw: I'm confused, why submit this? It's pretty standard rules + ASCII art.

It seems you are affiliated, is that right? Did you do the ASCII by hand?

Or perhaps this is actually an attempt at self-promotionm I see a job application link hiding in there. ಠ_ಠ
> the upper-division undergraduate math department course called "Algebra"

And be careful what you wish for - the way eighth-grade algebra hurt your brain when you were 13 will be nothing compared to the way abstract algebra will hurt your brain when you're 20.
Society is most certainly okay making decisions that endanger an individual's life and limit their liberty even for choices that did not endanger anyone else's life (cf. prison system), vaccination is small beans by comparison.
a note: I'd recommend using tee instead of dd for that job, or add iflag=fullblock if your dd supports it.

The thing is that dd issues a read() for each block, but is doesn't actually care how many bytes it gets back in response (unless you turn on fullblock mode).

This isn't really a problem when you're reading from a block device, because it's pretty uncommon to get back less data than you requested. But when you're reading from a pipe, it can/does happen sometimes. So you might ask for five 32-byte chunks, and get [32, 32, 30, 32, 32]-sized chunks instead. This has the effect of messing up the contents of file you're writing, with possibly destructive effects.

To avoid it, use `tee` or something else. Or use iflag=fullblock to ensure that you get every byte you request (up to EOF or count==N).
I just tried it in a different browser, firefox focus (also ios) and got the blinking; it was slightly different, there seems to be some other issue there too. BUT after force quitting ff focus, the issue is again gone.
The issue is it's locked away in proprietary garbage and has been for decades. There just isn't the same level of interest for FPGAs as there is for micro-controllers or embedded linux platforms.

I don't doubt your thousand hour quote. But at the same time I'd say there is probably 10k years of garbage and cruft built in the current toolsets.

FPGAs need an LLVM moment. Right now, the current set of HDLs available are terribly unergonomic and pretty much re-implemented for each FPGA provider. We are roughly at the K&R C era for FPGAs. To get out of that, we need good middleware and open standards.

Once that happens, I think we can finally start making some real higher level hardware description languages. FPGA programing, in particular, seems like it would be fairly amenable to functional programming concepts.
You'd probably have been ok if you destroyed the blanket after you were done with it. Maybe that's a business, certified destruction of items claimed on expenses.
(note: the "pcie5 only on the first slot for X670E, no PCIe 5 for X670" appears to have been a false rumor, per the computex presentation it's "X670E is PCIe 5 on everything, X670 is PCIe5 on the first slot, B650 is pcie5 only on storage".)
This is 180' different from any of the scholarly well researched information about GW1 and 2 that is out there.

You sir, you need to provide some references.
Whoever said that should be a guest on Conan's podcast, because that's one of the funniest things I've heard all day.
The color of your function can be "effect polymorphic". In other words, e.g. List.map works with both pure and impure functions. You don't have to write two versions of List.map.
What's weird is... cocaine can kill you, no OD necessary. Alcohol will kill you. Smoking national brand cigarettes will definitely kill you. Opiates generally don't kill you. Notorious addict and writer William S. Burroughs lived to 83, and died of a heart attack. His death had nothing to do with using heroin for 60 years or however long.

What hurts opiate addicts is the lifestyle, not the drug. But if they have a job and a stable economy, there is no health effect. What kills opiate addicts is two things.

1) The user quits, then maybe after a year of being clean, to celebrate perhaps, they take their regular dose again, and their tolerance has dropped to nothing, and they accidentally overdose. I believe this is how Sublime's Bradley Nowell died, and possibly Tom Petty.

2) Evil, sociopathic dealers that spike their heroin with fentanyl, likely aware they will kill someone, because they think it is good advertising, letting everyone know their stuff is strong. I believe this is how we lost Philip Seymour Hoffman, and many many others.

So even beyond the obvious detail, that Naloxone saves lives, I don't understand what life insurance companies have against opiate addicts, and more so than smokers and drinkers? That makes no sense.
For my Python things, I aimed to be compatible with the oldest supported Python for people on older OS's or who aren't constantly updating their Python installations. That way my stuff was still accessible to them.
It’s the Libertarian fantasy. Crypto bros, many VCs, angels, and other mini napoleons think they can solve the world’s problems without addressing any of their personal problems, studying history, taking responsibility for their actions, engaging in community building, or hiring people with spines. Which is why crypto and ilk keep reinventing every scam and repeating the mistakes of the past that directly led to regulation.
Exciting!

Back in 2011-12, my MFA (poetry) thesis project was a sort of poetic ~conversation between myself, and (selected) poems generated by a program I wrote, using transcripts of Glenn Beck's TV show.

I really, really wanted to be able to generate video ~performances of the generated poem in each pair for my thesis reading (and for evolving the project beyond the thesis). I have to imagine videogrep could support that in some form, at least if I had the footage. (Not that I want to re-heat that particular project at this point).

Great work.
All-In Summit: Bill Gurley and Brad Gerstner on Markets, Downturns and Cycles
Yes because it's freshly invented by the OP.

Just junk.
Nothing other than baseline functionality should be standardized. Client features are totally irrelevant to the goal of sending and receiving messages.
First, let us be agreed that we do not want to see anyone dehumanized.

>> With regard to consciousness, humanity is alone and unique on planet earth, and perhaps the entire galaxy. This is so evident that it is pointless to debate

I disagree, I do not think it is evident at all. I do think it is engrained, and I suspect it is a view point that arose from a theological defense rather than a natural observation.

No comment on the rest of what you have to say, I don't think any of this points in the direction you are suggesting it does, but I can hardly fault you for being on guard against it.
You're assuming folks in charge of monetary policy:

a)know what they're doing (they're not: large economies are chaotic systems, anyone pretending to know what effect pushing a lever will have is either delusional or a bald-faced liar)

b) have an agenda that's aligned with the greater good. News at 11 : they're not. Their agenda is to stay in power.
> It's sad one is labeled a racist or anti-feminist or w/e when you point this obvious fact out. ~70% of black kids are born to single mom's

Where it ventures into racist territory is to present these statistics on their own absent the context of mass incarceration, over policing and manufactured black criminality that play such a large role in the disparity that you’re pointing out. To blame it on culture more so than a correlation with poverty and a cycle of incarceration feels awfully close to blaming black people for the systemic racism to which they’re subjected.
As a university employee with a spouse who is tenured faculty I can assure you that phd candidates are not a net positive work wise from an institutional perspective. The good part is that you can usually rely on a phd candidate to produce the work they have been assigned. Masters candidates, you have a 50/50 shot of being assigned someone who will produce anything of value.

All you need to do to verify this is to look at the large number of candidates that languish after even a little of their institutional support goes away. Look at the percentage of candidates who can't get even to, let alone through their proposal then add on all the candidates who make it through their proposal but can't make and progress to a defense.

Everyone pays to get a phd. Like many others you are confusing a salary with compensation and in this case opportunity cost. Take 3 or 4 years to get a phd and that can be half a million in opportunity cost alone. Institutions certainly charge tuition and fees but your compensation as a candidate exceeds those benefits. The excess is what a candidate sees as their paycheck.

I know you don't want this to be the reality and I am sympathetic. I once worked as a camp counselor for an entire summer only to find my paycheck at the end of 3 months was a total of $100. I technically got paid a lot more but apparently the camp charged us for food and lodging and $100 was the net. It was a rude shock to be sure, but as an adult you need to understand how things work and why they work that way.
> Why be so nihilistic about life and the world that you want to do it over?

The technical caste, for the most part, believes in emergence rather than creation. If this has all come about through pure chance, why wouldn't someone think that our own minds, limited as they are, can eventually do a better job?

As for the true rulers of this world--the bank accounts behind the paychecks, whose memos set a thousand wheels into motion--I suspect that they take the Old Testament very seriously--if only to play for the other team; to reform the creation of a deity they deem malevolent. They don't have to believe it's achievable. They already know. The highest authority said so. Think along the lines of the masonic temple legend, or of gnosticism--with all of its offshoots & predecessors...

> like adherence to severe and rigid religious regimen

This is an insightful connection, which is no doubt true in many cases. Some inherit religion in their tribal identity package--never delving too deeply into its substance, yet ready to kill and die for words carelessly read. Others come to it earnestly--being late to understand sin, and too filled with trembling over their own sins to punish others harshly. The same can be written for science/engineering, with its wide gate for careerists and its strait gate for Teslas & Newtons.