skysight-inc/HackerNews huggingface dataset:
I bought a super cheap Goke SoC based security camera unware that it does not function without big brother connections to some chinese ip. A bit of looking around late it turns out someone cracked the password of the telnet server and some guy on a russian forum (4pda.ru i think) has already made a patched binary that works fully offline. I ran radiff2 on it and it was quite a few modifications to make it work. Without knowing much about ARM, would've taken me ages to figure out.
This is a bit tangential, but I've been completely impressed by a ton of the Bad Apple "ports" to various platforms (particularly the Sega Genesis and the Atari 2600). It's amazing how the simple choice of making a mostly-binary music video has made a song popular in hacker culture.
In China, they have communist regime for "birth control". In Western countries we just need ideology and propaganda in mass media, without any regime.
Hi, everyone, this is Owen.

Since I found Everything I know (https://wiki.nikitavoloboev.xyz), I was fascinated by this concept, about the wiki, second brain, lifetime notes, backlinks, tags. I realized that "Yes, this is what I want to do", I used to create many blogs, Tumblr, WordPress, Hexo, Hugo, Gatsbyjs, etc. But I do not post too many posts, cause there is a certain cost for a blog post. But not for note/wiki. And also I like tags, wiki links for connecting my notes, and there are no other themes that support this. So I created a new Gatsby theme for this.

I have used this theme with foam for 2 months, it's really helped me to save some things that are valuable to share with other people, and of course, for me.

My wiki site: https://wiki.owenyoung.com/

Foam Template: https://github.com/theowenyoung/foam-template-gatsby-theme-p...

Obsidian Template: https://github.com/theowenyoung/obsidian-template-gatsby-the...
I'm in the odd position of recommending Microsoft Edge...
It would be the biggest irony ever if the web settles on sql.js [1] plus persistance based on IndexedDB.

Then to comfortably store data, we would have SQLite running in WebAssembly persisting the data via the awkward IndexedDB API which uses the comfortable SQLite API to store the data in native SQLite.

[1] https://sql.js.org
It is trivial. No one's expecting you to find and state the exact current state of the literature, just to clarify that you were overstating the case at the time.

The problem is, you stated it as undisputed fact, when you didn't actually know it to be. Posters are only asking you to correct that overconfident "fake it til you make it" misrespresentation.

"Update: I was going off of my memory of the literature at the time, it turns out I was just parroting what I understood Gibbs's position to be; there are good reasons to believe China wasn't a major factor."

That didn't seem so hard. OTOH, if you're just optimizing for sounding confident and smart, I guess none of that matters. But you've spent at least as much effort complaining about changing as it would have taken to correct it.
“She didn’t know how basic stacks worked,”

Sure, most programmers have at least heard of a stack, and some could tell you the name of an operation one might do to a stack, and quite a few could at least tell you the name of an algorithm that did said operation, but stack-based programming is kind of a niche domain so that sounds more like the thing a non-programmer would say to impress other non-programmers.
"I am skeptical that any well-fed, satiated populace will spawn any kind of violent revolution"

Relatively well fed people started the american civil war, which is a kind of revolution.
Two other posts of interest:

[0] https://news.ycombinator.com/item?id=28809770

[1] https://news.ycombinator.com/item?id=26968680
> Such export tariffs can be a form of capital controls imposed by a government, but aren't they typically banned in free trade deals?

Except it’s not a form of capital control. It’s a trade tariff. You want tariffs, which are typically what’s reduced in trade deals. Capital control or not, without tariffs the offshoring you describe would make sense. (You just wouldn’t repatriate the profits from Mexico in a world without free movement of capital.)

Also, why would Mexico implement an export tariff in this example? To decrease the domestic price of cars? More realistic: the U.S. would implement an import tariff. Capital controls on either side would, again, do nothing.
Location: Buenos Aires, Argentina. GMT-3
Remote: Yes
Willing to relocate: No
Technologies: NodeJs, React, Typescript, Docker, SQL, AWS (SQS, SNS, Lambda).
Résumé/CV: https://tinyurl.com/87tu8w94

Full Stack developer. I love delivering complete features and taking full advantege of Cloud solutions. Experience includes ThreeJS (with react three fiber).
Zerohedge is not a reliable source.

It happens that this title is within the realm of reason and fact, and Robert Reich, a White House veteran, has been shouting about how grotesque is inequality from the rooftops for years. Nothing will happen so long as the wealthy control the media and the political process that manufactures consent and buys policy.
The issue there is when it comes to likely fraudulent transactions. Like, a bank shouldn't have to give you 10MM in US currency because you hand them a "totally real check from Bill Gates" that looks like it was printed off a laserjet printer. But, they do make laserjet printed checks and maybe Gates uses them for the lulz.

All transactions have some likelihood of fraud, so it's a fuzzy line.
In summary, we should replace one impossible and nebulous goal ("infinite growth") with another ("post-scarcity society"). Human societies seem to be organized around chasing dangling carrots like these as a method to steer resources, but make no mistake: the kind of carrot that is dangled makes little difference.

The article talks about Communism, but fails to mention that the USSR did not consider itself to be Communist. Rather, all the inhabitants were working on "building Communism" and once achieved everyone in the world would enjoy a post-scarcity society. Surely such a grand goal justified poor living condition - that are temporary anyway? Don't you believe in the vision of the party?
> Instead - I have an informal contract that almost all fields are plain unsigned bytes (0 to 255) which works fine for my use-case, requiring just 1/8th the space.

Right, but that informal contract is at the detriment of everyone else having to also specify the expected limits of numbers they work with. It makes your particular usecase easier, but it doesn't make the standard better in the grand scheme of things.

> And to go the other direction - I have a desktop running some financial software, I pass around json payloads there, but a double is NOT ENOUGH. I want a BigInt field for numbers there instead, because rounding errors that would be a-ok for a ph sensor are absolutely not ok for calculating financial data.

And JSON doesn't guarantee you that, you have to shop around for languages and implementations that permit this. If you then have to make work with an implementation that always deserializes to doubles (which is a compliant behaviour) or bytes (which is a compliant behaviour), you're screwed. Again, this might work for the simple case of you controlling both ends of the serialization, but it's terrible for trying to work with an end that you don't control (ie. when actually using JSON as an interchange format).

> And this: "everything non-compliant must fail the entire parse." Is just fucking insanity. It's the literal antithesis of the robustness principle: "be conservative in what you send, be liberal in what you accept"

The Robustness Principle followed blindly is known to be harmful when dealing with long-term standards, evolving implementations and the human element of software engineering [1]. My opinion is that an interchange format's job is to transfer some data reliably and atomically: the deserialized data should be either be 100% correct or the deserialization should be rejected. Anything else can and will lead to bugs, and bugs that are then difficult to solve (as at that point it's difficult to agree whether the serialization was not conservative enough, or the deserialization not liberal enough).

[1] - https://datatracker.ietf.org/doc/html/draft-iab-protocol-mai...
If the value of assets drops you get a deflation and central banks hate that, so in practice what happens is that asset values get propped up on an ongoing basis. This is the situation we are finding ourselves now.
No states enforce federal laws. The federal government does that. If there is no state law criminalizing cannabis use there it's legal in that state.
And you will know us by the company we keep
Whats app was fined 250 Million. It might be a small % of their revenue but it's a significant cut of their profits for that year.
The acquisition can bring along customers and partnerships that would be difficult to create from scratch, especially when facing an entrenched competitor.
Nor is there evidence for the claim that the so-called "obese" (as measured by the flawed and worthless BMI standard https://www.npr.org/templates/story/story.php?storyId=106268...) are dying disproportionately. Calling it the fault of the "obese" is just another way of deflecting blame from the criminally selfish and incompetent behavior of the previous administration and leaders in states like Idaho, Texas, Tennessee, and Florida.
I am aware, as you might be able to gather by reading past the first sentence of my comment. Of course if you'd just said what you needed the binary tree for, I could have given you a better answer.

If you don't have a use case in mind, I'd suggest just trying to actually use Rust for something instead of spending time trying to construct problems where Rust would be bad at the solution.
For Python, instead of BeautifulSoup I prefer to use selectolax which is 3-5 times faster.

Also, I think very few people use MechanicalSoup nowadays. There are libraries that allow you to use headless Chrome, e.g. Playwright.

It looks like the author of the article just googled some libraries for each language and didn't research the topic.
In a follow up tweet, he admitted that he was pretending to have an offer for 150M in that exchange, so yea, he was lying.
Why no mention of selenium? Is it not cool anymore?
I have never heard of mechanicalsoup: is it selenium replacement?
I never said it was pure and I never said I'd drink it "pure" and even gave a specifically bad example (the asphalt shingle roof runoff) and mentioned proper treatment and catchment.

This is not the kind of system you'd probably find doable on a small city lot and yes I guess people would be tempted to just drink their asphalt shingle roof runoff - until they see the water. But the context presumably is acreage type off-grid living. The landscape can also help. Dunno if you saw a recent-ish article here on HN on some South American farmers directing rain water such that it flows slowly through various layers on slopes until it reaches the bottom even having it re-emerge as natural springs in some places. Won't work if you live on the prairies, sure. Could work in other locations.
When you use `go get` to retrieve a version of a dependency, it adds a line to a `go.sum` while with a hash of the code at the version specified. You can distribute your code without a copy of the dependency. When someone else runs go get on your module, it will attempt to retrieve the same version of the source, checking the hash. If the hashes are different, an error is thrown.
> Many languages or libraries' XML parser are dangerous by default.

Seriously, XML External Entities is an incredibly dumb feature. To have it enabled by default makes it even worse.
> Which "nobody" does, so it is a problem in practice.

who's nobody? if developers care about performances, they obviously do. What if the json file is 500MB of logs? Furthermore, all these JSON deserialization lib tricks might work in some languages that are dynamic or support runtime reflection, it doesn't for other languages where using a proper evented parser is mandatory.
It would go away for me because no one ever uses the real first.m.last address; all the misdirected mail is from people who think firstmlast is their email address.
> approximately 16,000 deaths shortly after receiving it [...] That implies the odds of dying from the vaccine are 1 in 11,250

No it doesn't. The website you link to even specifically states "Reports are not proof of causality".
By 'dealing with', do you mean 'covering up for...'
Asking for a fiend.
This is another related and terrifying article:

https://www.propublica.org/article/black-children-were-jaile...

A judge in a Tennessee county, Donna Scott Davenport, locks up elementary school children (as young as 7) basically at whim for crimes that don't exist. They're given a "perp walk": handcuffed in front of their classmates and teachers, paraded through the school, and off to jail in the back of a police car. She has them put in solitary confinement. She failed the bar exam four times before passing. The children cry and throw up as they're sent away.

I was never sure why we only got all worried about fascism when Donald Trump came around. Articles like all these show that, if you're poor enough or black enough, it's always been here. I wish I felt like I was exaggerating in saying that, but I don't think it's much of a stretch.
Many things that were adaptive in humanity's evolutionary environment, such as eating all the calories available are not healthy decisions for specific individual humans today.
At what scale? Work-wise, 7-12 a day depending on each individual project/activity's pace.
I'm still not certain why this is

It's mostly sheltered Americans who misinterpret Linus's way of doing things as "toxic". Said sheltered Americans also coasted their way through life without ever having a Linus-esque reality check, so again they perceive that kind of concise communication as a personal material attack on them. Is Linus a bit too curt? Maybe, but he gets things done.
Job security is less important than career security. They are not going to put their career in jeopardy to protect their job especially in the current media landscape in which journalist are constantly changing jobs.
The digits of pi are incompressible and unpredictable, yielding only to computation, but definitely not random.

The word random implies a lack of order that we can't rightly claim knowledge of.
Even setting aside the environment, there is only so much oil and natural gas. IIRC, there is only enough to last through this century.
who knew we would replace the shoe designers with automation before we replaced the sweatshops that produce them with automation.
My email is last.first and someone out there has the same first.last. We aren’t related AFAIK. Anyway, there’s been a few conversations we’ve had over the years where some doc or something has put in the wrong email and we forward the appropriate email or delete it. We’ve never had a serious conversation or anything, just “uh hey, did you get this email?”
> Granted, the legality of cannabis is a grey area since states allow it but the Federal government still maintains it as illegal.

This isn't some incidental detail - it's the entire reason why the banking and credit card industry doesn't want to interact with cannabis right now.

Guess who regulates the banking industry and has authority over interstate commerce? The federal government. This particular example has nothing to do with credit card companies making a statement against cannabis, and everything to do with them not wanting to break the law.
That's not true at all. I live in the northeast and my dispensary simply can not take credit cards even if they wanted to; credit card companies are liable for the transaction and they don't want to run up against federal law.

Some dispensaries can take debit card transactions, and they have to do so through "high risk" processors... companies like Square will not work with them because of federal law.
No one has suggested forcibly injecting anyone. But sure, not allowing people who aren’t vaccinated to participate in all facets of society can be construed as a type of force. Unlike you I see that as reasonable.
That is a very weak rebuttal and does nothing to address that fact that risk from COVID once you are vaccinated falls below the other accepted risks of society.

Care to address that or do you just want to keep building strawmen?
I routinely read code of crates I use (which is placed under ~/.cargo if you do not vendor) and of the Rust standard library (which is placed under ~/.rustup). It's usually the fastest way to figure out how something works, since Googling/Stack Overflow will usually result in a lot of related, but not really applicable answers, and some incorrect ones.

As for supply-chain issues, I just vendor my dependencies. Problem solved. Just run cargo vendor and copy stdout to .cargo/config.toml in your project. Done. Now not only you're not vulnerable to someone pushing malicious code to crates.io, but also have one place where all the dependencies of your project have their source code available to read for you. If you archive your project and then want to get back to it after years on another computer which did not have the dependencies installed, you don't need to hunt on the internet for dependencies that don't exist anymore[1]. If you want to work on a project without an Internet connection, all you need is the repo, you don't need to worry if a given computer has all the dependencies installed in the right versions. If crates.io ever goes down, or they take down a crate, you're safe as well. Although it's not the default in Rust, it's very well supported by cargo, if you want to develop in this model.

[1]: Yes, those are my bad experiences with Python dependencies.
OP was a bad negotiator and he's acknowledging it.

To me this seems like the "reality distortion field".

There's just no amount of "good negotiation" that is going to get Apple up from $50m to $150m here. Apple was willing to pay an acquihire amount of money and Ali wanted an acquisition that respected the last couple years of work they put in. The two sides were pretty far apart. So they didn't make a deal. That's all there is to it.

Steve Jobs somehow pulled a trick, though, convincing Ali that the reason everything went sour is that Ali was a bad negotiator. Just because he's Steve Jobs doesn't mean he knows the "correct" valuation of your startup! He's just trying to bully Ali into revealing whether there are other offers on the table.

The principles of negotiation here are simple... Ali had to find another company willing to pay a lot more than $50m. There's no way that a lot of talking to Apple is going to change how they view a small acquihire target.

I mean, saying "I know X" when in reality you aren't 100% confident... that's completely a Steve Jobs move! How many times did he say a product was absolutely amazing, when actually it's kind of just a middling quality Apple product?
Microsoft Edge.

Chromium based, has vertical tabs (window border can be switched off too) via flags. Works great.

Vivaldi promised many things but its performance sucks indeed and I hate the fact that the browser has bullshit features like Phillips ligths controls or something.
States don't enforce federal law.
I just needed a service to reliably fetch raw pages that I can process in my own application and so far I've been happy with this: https://promptapi.com/marketplace/description/adv_scraper-ap...

$30 / month for 300K requests, rotating residential proxies, uses headless Chromium, etc.
Always interesting to see just how far ahead you/some project was - or wasn't.
This feels like one of the only case studies the modernhish world really has. Super intereting. Good history too.
> It absolutely is an issue in practice. If system A handles dupes by accepting the first and ignoring the rest, and system B implements last-key-wins, then that's a potential source of bugs. The system might not fully parse to a map.

But the system shouldn't be automatically be parsing a "json map" to a map at first place:

{"foo":"bar","foo":"baz","foo":"qix","fiz":"buzz"}

Shouldn't be deserialized into a map. but a Array<Map<string,string>> like structure.

A SAX style parser for JSON can help do that.

Thus the issue is the choice of parser indeed. Not JSON.
I've been using Brave, but I shut off the Rewards junk.

Every option has serious trade-offs, so you're going to have to decide which are acceptable to you.
In the US/Canada and Japan at least, it’s not that recent Perhaps a novelty in the early 90s - even then, the major online services all had online shopping options. Ebay, PayPal, and Amazon were all growing rapidly by 1999, and the dot-com boom was filled with retail shopping startups that were popular - just not profitable or well managed.
> For a junior programmer, a programming language is something like Angular or Blockchain, while for a senior developer, a language is Ruby or Python.

What?
> As an American, receiving too much food was not something I expected to see as a reason not to live in America.

That's kind of the problem. Americans are blind to the problem, takes an outsider to notice it.

Four points:

- Too much food makes you fat, which brings health problems which brings you into the vicious circle that involves US healthcare
- American food is generally unhealthy, hence see above ... eating more is bad, not good - we're not exactly talking five-a-day veg in your average American diet !
- Food waste - excessive portion sizes lead to partial consumption which leads to food waste
- Excessive portion sizes lead to the need for horrible US agriculture practices because its the only way you can make large portion sizes remotely viable
"Only 5% of the US hunts anymore. Everyone is dependent on industrialized economic distribution."

There are 25 million deer in US, there are 300 million people.

I sympathise with your tirade, but all systems of power work this way. If tomorrow morning all people of Russia would forget who Putin is, he would become nobody.
yeah its crazy how real and crispy they can get. My new experiments with StyleCLIP are even weirder
You're ignoring the case of a list being densely packed and embedded inside another data structure. If you bloat a data structure with a useless machine word, there are all sorts of ways for that machine word to hurt the resulting program, and you can't just handwave that away.

The Linux kernel is made by people who spend weeks to shave one bit off the size of a data structure. Do you really think they'd respond positively to your saying they don't need to do that?

You really need to stop assuming what kind of computers other people are programming

The larger point here is you don't get to decide whether other people's use cases are legitimate. Either Rust gives you complete control of the machine or it does not. It does not, not in safe mode, but Rust people keep doing this annoying motte and bailey thing about it.
Is there a CSS file I can drop in to change them to radio buttons somehow?
Where do(es) the [income from the] fine(s) go?
Its hyper regional. And when processing solutions are found, they may be gone the next month. You see a similar situation with groups like Eaze in the SFBA. Some months they just don't have a debit option, some months they do.
I don't think the makers of this machine believe this is a viable solution for farmers right now, but they realize that "buy it cheap from China" is becoming more and more of a problem in the long run and something that needs to be fixed. We'll have to give up on the "if it dies, just buy a new one, it's cheap anyway" philosophy sooner or later.

I see this project more as an experiment on how to make a functional and durable machine that is fixable when it breaks.