skysight-inc/HackerNews huggingface dataset:
Allocations in this context usually refers to heap allocations. Temporaries aren't heap-allocated.
Sure, but US is was not facing modern anti-air in Iraq and Afghanistan regular Iraq forces were destroyed in 2003.
On the other hand, a Reaper drone is perfect to bomb a wedding that’s not protected by AAA
I somewhat agree, I’m not saying it would be the right or intelligent thing to do, but if we as a country collectively feel that we should not do business with China in certain fields, the only answer with teeth is an embargo. Even then the risk of Apple sales to China doesn’t go to zero, everyone remembers IBM selling typewriters to the Nazis. Do we think companies today are less greedy than IBM?
Do smaller tires work on slippery roads?
This is why I wanted to create a project called Tenex or 10x.
Its an interesting question. I'm not a union guy and spent my youth working in construction so I've encountered my share of plodding union tradesmen who took remarkably long to do small things that could be finished in a few minutes if you rushed. When I was young and foolish I'd often shake my head at the snails-pace they worked at.

I'm older now, and arguably a smidgen wiser. I've reacted with shock at hearing about old acquaintances who have been killed on the job or now endure chronic pain and are no longer able to work. Broken backs, bum knees, busted nerves, missing fingers, the list goes on. The plodding, methodical 55 year-old union guy is looking less and less silly the older I get.

In short, perhaps one reason a union might push back against performance-based bonuses is that it often ends up coming at a long-term cost to the worker that is difficult to foresee when you're an invincible 25 year-old trying to make a few extra bucks for the weekend.
>>>Iraq was already destabilized with daily NATO air missions overhead for a decade

Air missions which didn't prevent Saddam from switching from dollars to euros.[1] Clearly a more permanent solution was needed. General Wesley Clark stated as early as September 2001, leveraging post-9/11 sentiment, the US had decided to invade Iraq.[2]

>>>Libya and Syria were plunged into civil war long before any kind of intervention

The Libyan protests evolved into armed conflict/open revolt roughly around February 21st, when Qaddafi's Air Force bombed Tripoli.[3] Operation Odyssey Dawn began on March 19th, less than 30 days later.[4] In Syria, we didn't take overt interest in regime change, we merely occupied the most oil-rich portions of the country, which the central government lost control of early anyway.[5] Assad can't threaten the Petrodollar if he doesn't have oil to sell, and regime change would mean threatening Russia's access to the warmwater port in Latakia, arguably the reason Russia intervened. That would be an escalation with the Ruskies that I don't think we are prepared to risk.

>>>The Americans don't like it when you mess with their petrodollar, but they're not going to fight a war over it

Sure we will. Even the French will go to war to prop up the sphere of influence of their currency.[6]

[1]https://www.cnn.com/2000/WORLD/meast/10/30/iraq.un.euro.reut...

[2]https://www.salon.com/2007/10/12/wesley_clark/

[3]https://simple.wikipedia.org/wiki/Libyan_Civil_War_(2011)

[4]https://en.wikipedia.org/wiki/Operation_Odyssey_Dawn

[5] https://www.washingtoninstitute.org/policy-analysis/who-bene...

[6]https://wikileaks.org/clinton-emails/emailid/6528
https://archive.md/8w1r8

http://web.archive.org/web/20211207114124/https://www.wsj.co...
You could use the 'look' command, which does a binary search.

It's basically meant to look up spellings in /usr/share/dict/words, but it can work on any file. It will match any line that your pattern is a prefix of, so you'd have to add logic to eliminate longer matches.

But if you had some huge file to search and you wanted to do it from a shell script, that would be one way. Caveat: although it's fairly standard, 'look' might not be installed on every system.

Also, you have to be sure to maintain your file in sorted order. So no adding things by appending to the end, and checking if something is in the set is much quicker at the expense of adding things being much slower.
They did. It's called Chrome.
why is this voted down? can’t we have a conversation and hear some other opinions?
Allowing people to bet on inflation would be complicated. You’d need to take payments, hold their money like a brokerage, and have the ability to payout. The blockchain let’s you implement such a scheme in a few lines of code. Definitely simpler to do on a blockchain.
Object graphs where there's no clear owner are not automatically "incorrect" - whatever they're modelling might be non-hierarchical itself - yet would result in a leak without a GC.
i got a similar impression, although i thought of it rather than being "anti-old-school" as less flattering "naive oss/linux mentality".... and a bunch of thoughts cursing how much this hurts progress.

the mention of specific ages and the tone of it was way off the mark...

the arguments don't really hold much weight either - frustrations rather than roadblocks. even after reading the article, which i expected to find interestingly informative... and did... i'm not sure there is any sense to be found in the rationale beyond the developer wanting an easier life. thats never a great line to follow in software development imo... its pretty much the opposite of the whole intent.
Don’t agree with Elon Musk on many things but this one hit home:

"…it does not make sense to take the job of capital allocation away from people with a demonstrated great skill in capital allocation and give it to an entity that has demonstrated very poor skill in capital allocation"
> One way to solve is it to use not use timestamps, but use a monotonically increasing version number associated with a row that gets updated for every event/update or whatever and is sent along with the event message payload.

It is a concept that is known as vector clock. I suggest take a look at vector and Lamport clocks (named after Leslie Lamport), very useful in distributed systems using messages.
no, red goes fasta
Ok, I've changed the title from the rather generic and baity article title, to its subtitle. But an article being about a project and its supporters doesn't make it bad for HN. Often such articles contain interesting things. (I haven't read this article.)
you absolutely can and should change your government. Otherwise your children or grandchildren will have to and it will be even harder for them.
Good article. I've heard in the past that cartilage can heal but for some injuries it's just not practical. Some meniscus tears can heal but the recovery takes a year of slowly increasing activities.
Even the worst groups can admit mistakes one funeral at a time unless mistake is their raison d'être.
... we just need to manipulate earthquakes and solar flares to control his PRNG.
I think that might’ve also been humor? Some dry, mathy humor
> Maybe so much speculative fiction based on no empirical evidence is no fit way to conduct science.

Well, if they can make predictions that could in principle be measured, then LIGO or some future version may become good enough to measure them (or observe their absence). That's actually one of the ways that science is conducted.
Hardening Rook and Ceph Data Security – In 18 Minutes
The K-Lens, a light field lens that captures 3D data for post-capture refocusing
LinkdedIn's blog post https://www.linkedin.com/pulse/29-big-ideas-change-our-world... for reference
I miss weird devices.
Every time there’s a conversation about ISO’s and booting someone mentions netboot, I still don’t understand at a granular level how it works and the native documentation, at least to me, appears to be written in Greek. I can’t make heads nor tails of it. Do you have a guide you followed that explained how it worked and what to do?
The CMB shows the universe at the point where its density became low enough that photons could move around freely. That's the furthest point that we can "see" if you required "seeing" to have to do with electromagnetic radiation.

But there are other types of radiation that penetrate dense matter better: neutrinos and gravity waves. Right now it's "holy shit I saw one" for both kinds, so we're a long way off from doing any kind of imaging in those media. But if we ever manage detectors large enough and sensitive enough, we should be able to take "pictures" of the universe when it was even younger than when the CMB was released.

Dense enough matter will stop neutrinos, so that signal will be further back, but not the bang itself. So far as we know, nothing stops gravity--so that signal ought to be... interesting.

(Or at least, that's what Lee Smolin says in his book: Time Reborn)
That’s awful easy to armchair in from afar. On the ground that is a hell of an expectation.
This part is kind of interesting — it looks like gosec at least gave the opportunity to catch this but that was missed due a misunderstanding of what was in scope for filepath.Clean:

https://github.com/grafana/grafana/commit/c798c0e958d15d9cc7...
It is a problem only if you are mixing up application layers.

If you keep your queueing system and business process as separate layers with queueing system serving only as a means of transporting business events then you can make it all to work correctly.

Think in terms of IP protocol (as in TCP/IP). It is unsuitable for transmitting financial transactions. Yet, financial transactions can be made to work on top of it if you separate the layers and treat IP only as a component mechanism of getting data from A to B.
I seriously disagree with this. I expect a whole hell of a lot more out of American management. Money is not the measurement of all things. Apple could have:

- pointed out China is confusing its politics with business

- thrown this out to a shareholder vote

- tried to see what customers outside of China thought

- threatened to pull all manufacturing out of China

- required China concede control elsewhere: Apple can operate in China without CP mucking around and could own 51% of more of everything it runs

Goodness gracious serious companies understand there's more going on in international business that top-line numbers.
I feel like if goto is bad design it should be specially avoided in operating systems since they are so crucial to everything a computer does if it’s good design then why not adopt them in applications?
How would you define such a contract without adding a "bool is_valid" (or semantic equivalent) to every object, the constructor of which might fail?
I would imagine the churn is a big killer and lack of decent documentation on the current version. Apple cannot even keep their example code for their platform up to date. If you are on the Apple platform you have to deal with it, but there are other, stronger ecosystems for other language on other platforms.
Ah, I misunderstood. I was thinking someone was trying to make it through to the other side without leaving.

In the situation you're describing, you're certainly correct that it's easily carried insurance. Although I'd leave the shovel. The ground is already going to be so toxic that a little bit of poop on the way isn't going to even be noticed. Might as well save the weight in the pack.
What you are saying here makes sense, but I wonder practically speaking how well a prohibition like this will work, given that universally whenever a government pushes back on some vice (alcohol or drugs, for example), it causes a backlash... I have to wonder if smoking is any different in this regard.
> 1. The corollary is that code that does not contain unsafe code is guaranteed to not contain memory safety bugs, assuming that you trust and/or have audited unsafe usage in your dependencies.

Doesn't this assume that there are no bugs in the Rust compiler (for "safe" code)? Isn't that still somewhat of a big assumption at this point? I get that is indeed a very core goal of Rust, but has this been proven for any/all released versions of the Rust compilers?
It's ok, you can just say "fart".
How do you deal with failures to allocate in stdlib?
It's not about protecting human rights and no apple didn't do that. It's money they protected. This seems like whitewashing comment.
Without WebKit being open source and maintained, Chrome would never have existed.
if people get vaccinated, yes. or if a billion people die and mutations becomr less deadly
> If it take me twice as long to get to the same solution, I'm ultimately less productive.

Exactly, that's why having to guess command/args and google the man-page is way less productive by a lot. For minimal productivity gains in the time it takes you to type a few characters you've wasted minutes.
An absolute zero on the patriotic scale. And when I say patriotic, I don't mean the "we're the best in the world" type of patriotic meaning, but more like "tiktok is a sign of things to come, let's try to slow down the inevitable ass-kicking of our economy that's upon us."

Having said all that, he never had a choice to begin with. When Google decided to stand up to China, they didn't bet the farm but "only" a lower double digit percentage of their revenue (my hat's off to Google for that). Apple cannot produce their hardware anywhere else in the world at the scale and quality level that they are currently getting from China. I am saying this as someone who has a good amount of insight into how the Chinese production capability compares to other parts of the world.

His fiduciary responsibility was to do what's best for the company. If he stepped down, it would have taken no time to find the next guy who would have happily done what's best for the company (except less well). So really, it's entirely inevitable.

If you buy into the last sentence, you might want to ask yourself what the long-term future of a capitalist society looks like when it's economically attacked by a very capable totalitarian regime that can think strategically rather than being beholden to the capital markets.
Ah, ok.

Given the style some of the graphics would be fairly easy to convert by hand in Inkscape. But maybe some like the Sloan Great Wall would be more difficult.
Why would you learn it if you aren't targeting apple users.
The two judges are saying it isn’t a monopoly. That doesn’t not make it a monopoly. There are countless things the status quo officially allows or says things are a certain way. That does not make it true.

Judges and many influentials in the Justice system repeatedly give almost no punishments to white collar crime. Yet the same people many times say justice is being served in the country.

A more direct example: Courts still rule that gerrymandering for the purpose of screwing over the other party is allowed. Of course wink wink they say it isn’t allowed. However some basic obvious lying is all that’s required to allow this.

It’s still politically motivated and undemocratic gerrymandering/voter suppression. Regardless of what judges or the Justice system says.

Laws and the Justice system are just that. They aren’t beacons of principle or morality.
Freedom to smoke does not work with public health services, as your freedom to harm yourself is also harming your fellow citizens who have to pay for your treatments. You can't even have a system where people get to opt out of public health coverage, or you end up with people dying on the streets who opted out and later find they can't cover their health costs.
Apple documentation has been like this for years, and its not even limited to swift.
yeah, tell me more. I was one of the students in Kiev, Ukraine during “Orange revolution” in 2004. Yeah, it is scary but not fighting for your future is scarier.
It's not inevitable. They took a cue from Apple to make dumb product decisions like followers. I bailed out from Lenovo at the T480 stop because the T490 was contaminated by Apple KoolAid. Dual internal batteries for real 10 hour runtime, 64 GiB RAM (Intel and Lenovo both say it shouldn't work but it does. memtest86 proved it), quad core i7 (a little old but plenty fast), discrete graphics, plenty of ports, USB-C charging, repairable, good keyboard with spill drain holes, optional magnesium display top cover, mil-spec drop rating, compact, a bit on the heavy side, and swappable external batteries.

If I had to buy another laptop today, it would be difficult. Probably another T480.
Yes, exactly. According to both contemporary accounts and traditional usage, cocaine at low doses via brewed or chewed coca leaves is a an all-round better stimulant (meaning it has fewer negative side effects) than caffeine at similar dosage levels via coffee. I’d be interested in trying it. But the specter of being refined into a hard drug prevents coca leaves from being imported or even studied more thoroughly—and cocaine is schedule II with recognized medical use.
It is, but it's also a complicated story that doesn't seem to go well. Basically past honeymoon period, the open source part of the project just was increasingly left on the side of the road.

https://en.wikipedia.org/wiki/Darwin_(operating_system)
Spiking ones need to solve differential equations and our current hardware designs are too discrete for it to be an efficient strategy (barring an algorithmic breakthrough).
John Mather goes into detail on this in the "Making data beautiful" podcast episode, check it out here https://asd.gsfc.nasa.gov/blueshift/index.php/2009/06/18/pod...
Or install the vim emulator plugin. It's not perfect but it does a lot
Here we get to vote but nothing changes, don't worry about it.
In case of a shooting war all those F-35 would get destroyed by cruise missiles before they could take off.
Possibly, but aircraft in their sealed revetments are a difficult target.

Also, an attack of that nature would would certainly trigger Section 5 of the Collective Defense, and then US resupply. I suspect most NATO members who buy the very expensive F-35 do so in the belief (or hope) that the US will replace these aircraft immediately, from US squadrons, if necessary.
My personal opinion is because Swift has turned into an "us too" language. There's a large rush for all popular language ecosystems to rush to whatever trendy development exists in language design now days to retain the momentum of community. I write/maintain a decent amount of code in Swift these days. I'm proficient in some parts of it, clueless in others. Like Kotlin, and Javascript, and even Python to some degree (I do a lot of Kotlin and Python too), these multi paradigm languages are sort of a "use it however you want." There's no unifying simplicity in them. So it becomes a race to the bottom of utility. Why use Swift, when it looks and feels like so many other languages, and when it's clear the rate of the changes in it will primarily benefit Apple?

To be clear, I don't hate Swift at all, I like some bits of it, it's just that there's no real draw for me to play with out side of the Apple eco system. If Apple made it so that I could use it write Android apps with it (kinda like Dart is supposed to be), I would be much more excited about. If Swift was dedicated to a small set of unifying principles (kinda like Elixir), I could get more excited about it.
If iMessage isn't revealed in the future to be accessible by the CCP, I'll eat my hat. It's not even protected for users in the USA [0]. Do people really think the CCP would allow encrypted messaging it can't access? If so, I've got a bridge to sell you.

[0] https://www.rollingstone.com/politics/politics-features/what...
It's actually one of three possible images: floppy, HD MBR, or raw binary.
I wonder if “custom scopes” is going to be a recognizable term for people?
Equinix to Expand into Africa with Acquisition of MainOne
You're being uncharitable. It was just to make a point about efficiency, not to compare technological aspects of it.

I could have used paper-clip manufacturer instead of ISRO for that matter.
Will it be possible to see all the search results within each file? The lack of that feature is why I almost never use GitHub's code search for my repositories. Instead I'll download the repository locally and search there.
>Tech, finance, and the automotive industry are three great examples of for-profit industries that are almost always insulated from feedback from reality and are constantly "out there with a begging bowl."

And with all three what's missing is competition.

When you get big enough competition stops existing and quality stops mattering for a very long time. You can only fail because you're awful at what you do when you're small. Get big enough and you can just buy out anybody better than you.
The information is most useful to those who avoid any activities that might cause a bit of knee discomfort.

You can toughen up your knees by gradually ramping up the stimulus over time, and high impact sports of youth won't necessarily prevent one from being able to run a marathon in their 70s.
No where near as chilling as to be constantly being anxious about your social score, getting disappeared for political speech, overstepping your bounds with a corrupt local government official, and a 100 other things.
They sure figured out billing though, at least in the USA.

I used to have sympathy for them, but that is lessing.

I honestly feel most doctors have about 50 medications they hand out, but know 99% of their patients get better with time, or Placebo.

I've had a running appointment with a doctor for over 30 years for two drugs. They are addictive, so I have been hesitant on going off them.

Looking back, I wish he never returned my call.

Do I think he's well meaning? Yes, but only because I have kissed his arse for so many years.

You figure 6 patients a hour, at $450, it's quite the money maker.

I wish the USA would allow more drugs over the counter, with the exception of antibiotics.
Money is only part of the problem. At least in Australia, the shortages of Doctors in regional areas is a problem that doesn't go away simply by throwing money at it. An unhealthy population strains what is a limited resource.
> not everyone is working on a device that needs to be secure.

And those drivers can continue to be written in C. Rust is merely an option.
your link only reports on primary and secondary dengue. There is no analysis of how long of a gap there was between primary and secondary, and whether that length of time matters. I don't see any evidence whatsoever in that link of a "long-lasting" original antigenic sin.
This is not practical for many organizations which would want choice of vendors rather than do it inhouse or be hostage to MongoDB Inc.
Cool - just noticed some shimmering when zooming in - is mip-mapping enabled? (This might be a source of slowdown too).
Because there's no need when your model is "set up the store, sell as much low end crap as you can in 3 months, shut down store, rinse, repeat." They aren't playing long games, they're moving cheap unbranded surplus quickly. They're using excess and part discards (or parts that fell off a truck) from branded products. China has essentially no protection of patents or ip, so factories follow the product leaders, copying whatever is currently in demand.
I started a news aggregator that at the peak was ranked in the top ten Alexa sites in a country (was doing 100M page views / month). Alexa was the standard that people would use to judge how successful a site was.... Until people figured out how to massively game it.

For a pretty small sum, you could approach illegal download or porn sites to embed an iframe of your site or do a pop-under ad, and instantly be in the top 10. People aren't actually visiting your site, you're just getting "shadow traffic". Then you'd go tell advertisers "look, we are one of the biggest sites in the country".

We didn't play that game but our competitors did and it was really frustrating.

Anyway, the point is their rankings weren't very reliable (this was 8+ years ago, maybe they've gotten better at detecting traffic fraud).