skysight-inc/HackerNews huggingface dataset:
> It is only by weighing of the lives of the people in the conflict at zero that the U.S. justifies prolonging this proxy war and continuing to arm and subsidize Ukraine.

Ukraine is literally fighting for their sovereignty, America is helping them push the Russians, who are raping and torturing citizens out of the occupied territories.

Every weapon to Ukraine is time less under Russian occupation, which is a good thing.
"Strings" are quite an abstract concept. They are a linear sequence of characters. But there are a number of ways to represent them - the simplest of which is a contiguous memory allocation, but depending on the use case you'd need more complex schemes. There are also different ways to do the necessary memory management (e.g. allocate statically at compile time vs dynamically at run time).

One of the most complex representations is probably the string rope datastructure - a balanced tree of string chunks, supporting efficient insertion and removal anywhere in the string.

Specific to C, as well as lots of low-level APIs, is only that strings are often expected to be contiguously laid out in memory and terminated with a NUL (0) byte. So you need to make sure that you always terminate with a NUL after writing to string storage.

Other than that, strings aren't any harder than other aspects of programming with manually managed memory.

Maybe motivated from higher-level dynamic or managed languages, is the popular idea that strings should always be allocated dynamically (like std::string for example), and support operations like string-append with automatic reallocation if the currently allocated memory isn't enough to store the new string.

In practice, that's not true at all - unless you are in a domain where lots of small intermediate strings are generated. This is pretty inefficient anyway and there is likely no point to use C in this case.

By far most strings in most domains are either completely static (use string literals), or are created once in a sequence of append operations and then never changed again. I get by, doing many different things from GUI apps to networking to parsers and interpreters, without any sophisticated string type. All I do is define some printf-like APIs to do logging, for example. Those typically just use a fixed size buffer for the formatting, and then flush that buffer to e.g. stderr. or flush it to a dynamically allocated memory buffer, but there almost never is a need to reallocate that string later.
A curious midlife crisis for a tech entrepreneur
Basically, be Aragorn (movie version).
And ate it.
Those tweets the Biden team is requesting are actual dick pics that Hunter never consented to being shared online.

You’ve been duped.
If you use a different data structure you would maybe use a different API for accessing it too
I'll never understand how people go "just YouTube it". Sure, I'll sift through a bunch of search results to find a 54 minute video that makes the point you meant to reference 23 minutes in after four ads.

Just give someone an actual link, to an actual article. Like this: https://www.theverge.com/2022/11/30/23486753/anker-eufy-secu...

> Despite claims of only using local storage with its security cameras, Eufy has been caught uploading identifiable footage to the cloud. And it’s even possible to view the camera streams using VLC.

(Personally, this means I won't buy an Eufy camera, and it doesn't change the fact that Anker's chargers have been far better made and reliable than their competitors in my experience.)
Let me check in a year
"""
According to legend, the Cyclopes had only one eye after making a deal with Hades, god of the underworld, in which they traded one eye for the ability to see the future and predict the day they would die.
"""

https://www.greek-gods.info/monsters/cyclopes/
LinkedIn be like.
More details, from the people behind Apple’s internal leadership training:

Ever since Steve Jobs implemented the functional organization, Apple’s managers at every level, from senior vice president on down, have been expected to possess three key leadership characteristics:

1. deep expertise that allows them to meaningfully engage in all the work being done within their individual functions

2. immersion in the details of those functions;

3. and a willingness to collaboratively debate other functions during collective decision-making.

When managers have these attributes, decisions are made in a coordinated fashion by the people most qualified to make them.

Article:
https://hbr.org/2020/11/how-apple-is-organized-for-innovatio...
I've been legally threatened twice by a German restaurant on google for leaving a 3 star review on the basis that it damages their ability to do business. Pretty ridiculous... . Google required me to post proof I had been there, but that didn't stop the Restaurant threatening a second time...
Maybe it needs some sort of automatic internal plausibility check — reflecting on its own output. Pointing out its mistake basically triggers that, for the particular aspect that is being pointed out.

Humans probably do something similar. Sometimes you notice that what you’re uttering doesn’t completely make sense, or is missing some bit to be comprehensible. Then you correct yourself or elaborate.
iirc it's also mentioned in "the never ending story"
It's an impressive number indeed, although comparing it to the GDP's of the (at best) regional powers you mentioned is not particularly relevant. Defense spending as a percentage of US GDP is actually relatively low by historical standards at 3.3%
Why We’re Suing NSO
Yes, but did you do that BEFORE noon?
I have a 1x1px black image just for this. I find that backgrounds slow down how quickly I can identify the icon that I want.
That first one is pretty good.
Assuming that all of what's written in the article is true:

Amazon is ultimately responsible. Amazon is supposed to protect honest merchants / sellers against these exploitations.

As long as customers keep giving money to Amazon, there's very little incentive for Amazon to take responsibility and fix these things.
https://archive.ph/omjtX

The robots can read forever. Us humans, we must get in line.
I manufacture my own product that sells well on my website but even as the manufacturer I find selling on amazon to be too expensive and too risky. Instead I have my products listed so I can prevent others from controlling the product pages and reselling them but leave them as unavailable to purchase On that platform.
Ask HN: Consultants, what tax software do you use?
I've been paying a CPA $1800 a year to prepare my taxes and realized I'm getting ripped off. Can anyone suggest tax software for a simple return (several 1099s, maybe 2-3 dozen invoices, solo 401k, minimal expenses, home office deduction, etc)?
I love the “manager as problem solver”.

It’s a somewhat tricky balance between “micromanagement” and problem-solving, but then problem solving is a bit of a discipline after all.
Show HN: Discover Websites and Search
Hi HN, this is Saran. I would like to build my own web search. I was't sure where to kick start. I got an idea from DDG bangs.

Hence I made a POC to discover new web sites and search for what you're looking for. As of now, I am forwarding the queries to respective sites. Planning to add more filters for each web site (e.g. sort by recent, filter by date etc),and make the query string more reliable.

What do you think? Your feedback is much appreciated.
Do you have a valid Trademark for the areas you sell within?

If the answer is "No", than anyone registering in this product class can:

1. Leverage a copyright violation take-down. While you may think it is superfluous and lame... the courts do not.

2. sue you for damages to the brand (the law will see it as probably not yours) once the grace period to register IP expires. The grace period is usually 1 to 2 years once published, and after that you are likely SOL in many jurisdictions.

3. freeze your inventory imports into a protected area (see Fluke banning the color Yellow case)

4. freeze your banking account through the courts (for counterfeiters these are likely disposable shell import-only firms)

You may have thought a pad-printed generic China produced item is somehow worth $7m inventory risk, but it sounds like the "pay-me-develop-a-product" scam run by IP trolls with old inventory to unload. I had two cons try this on me once when I was young and slightly more gullible... I fed them to my lawyers as some crazies can get aggressive.

You should take note many China manufacturers often attempt to register client product trademarks domestically, as they want the domestic markets in compensation for a low-ball contract. If you try to change contract manufacturers, than the nasty side of working in China appears. Note, trademark and patent scooping is dirty, but it happens everywhere... in some places it is more culturally acceptable.

Rule #23: Don't compete to be at the bottom, as you just might actually win.

Best of luck =)
The "bullet" in the name made me expect it to be more outlining-centered. If you're looking for that, Logseq is a great option.
Manager wannabes should be screened for narcissism and sociopathy and rejected if exhibiting these or similar traits. Unfortunately, recruiters are often already screening for these traits for the top management candidates and reject anyone who doesn't exhibit them.
This is not the detail that matters. Anyone in government, including Congress, can ask someone to do anything. They cannot coerce or appear to coerce regulation of speech. This is extremely well established.
I’ve had a very different experience with Siri while driving hands free.

“Siri, put on my focus playlist”

“Okay, playing your focus playlist on Deezer”

“Siri, take me home”

“Getting directions to home”

“Siri, take me Cornish Pasty Co.”

“Okay, getting directions to Cornish Pasty Co.”

“Siri, play DefCon Radio on Soma FM”

“Okay, playing DefCon Radio on Soma FM”

It integrates with Apple Car play too. Nearly everything I’d interact with the center console for before, Siri does for me now.
Actually, there are four binding times involved, but perhaps they differentiate the two approaches?
it's that way, but twitter limits their API to 300 posts/user/3hours, and some power users hit the limit

"""

there's a little star on the documentation saying that an app can only create 300 Tweets per user or per app for every 3 hours.
I believe that the influx caused a lot of new power users from twitter, that post a lot, to come over and that's now causing the crossposter to hit the limit.

"""
This is how I felt speaking to some people in India. They could speak, but there was zero understanding, as evidenced by their actions. Personally when learning languages I develop ability to understand years before considering myself to be able to speak it, but it is clear that not everybody does that.
Came here to say basically the same. Especially the libel laws are extreme.
https://archive.ph/A4xti
Main quest: kids are 4 and 5 now and are thriving in school.

Side quest: still have a job that I’m enjoying.

Side projects: none.
Human level hand dexterity certainly is a holy grail.
> prevalent use of Starlinks on frontlines

Wouldn't anti-radiation missiles (usually used against SAM batteries) seek these Starlink terminals?
Yes they can. Well established and not even controversial in legal circles.
Show HN: A project to find good real-estate deals online
I am pretty pleased with the results :) Made mostly for educational purposes, but maybe I could use this one day
At some events, casual conversation has a burdensome, perfomative element.

Perhaps what has changed is the veneer. There is more meme-dropping in addition to garish status-boasting. The narrator mentions some interesting ideas but doesn't feel the need to impose himself. I laughed at the passing mention of spirituality without religion... It's hard to Do No Harm in the world that we have built.

Narcissocial media has also made people ready to assert things that are -- to be frank -- none of my interest or business.
In the style of Donald Trump, I would say that the algorithm to calculate Fibonacci numbers is the best, most incredible algorithm there is. It's huge, folks, believe me. The way it works is, you start with the number zero, and then you add the previous two numbers together to get the next number in the sequence. It's amazing, trust me. You just keep doing that over and over, and before you know it, you've got yourself a whole bunch of Fibonacci numbers. It's huge, folks, it's huge. And nobody does it better than Trump, believe me.
> Often the worst managers decide at a young age they’re good leaders, can lead people to do better than they would themselves, and decide they want to get into management.

Pretty much this, but I want to refine the statement: "the worst managers are those who _want_ to manage."
I always assumed there was some form of cheating the system with reviews, but was not aware that there were tools out there to help the end consumer. I always relied on wits and common sense. Thank you for posting this and looking forward to seeing what others use. I would definitely use this kind of tool.
> This program by itself is as large as the economy of Uruguay or Croatia

You mean as the annual GDP of Uruguay or Croatia? This is not a program that goes on for one year, it spreads over decades. You are not comparing apples and apples.
> That said, the SEC, which AFAIU would normally take the lead

The SEC only has civil enforcement authority, ie lawsuits. Criminal complaints must be referred to DOJ. They also tend to be much less creative than Justice at finding jurisdiction over non-US entities.

The entire reason crypto companies incorporate outside the US is to avoid SEC jurisdiction. But crimes against US persons are crimes wherever the company is located.
> The trick is the size is hidden before the adress of the buffer.("Learn this one simple trick that will change your life for ever").

This has drawbacks:

1. you can't convert an existing buffer to an sds buffer

2. you can't slice into a buffer, because the metadata is part of the string's buffer (even if it's before the pointer)
Somewhat related, there is a Twitter thread about (not quite isometric) hex-grid pixel-art [1].

In a previous thread [2], Oskar Stålberg, creator of the games Bad North, Townscaper, is talking about his use of grids and their dual for procedural tile placement.

Franekk, an amazing pixel artist, is reacting to this that hex-grids are difficult for pixel-art, and later figures out that Oskars trick does indeed work for pixel-art too [3].

[1]: https://twitter.com/Franrekk/status/1485669221711425544
[2]: https://twitter.com/OskSta/status/1448248658865049605
[3]: https://twitter.com/Franrekk/status/1486045914930233351
A ton of that stuff does get posted to HN.

There's meandering with multiple sometimes subtle qualities along the way and there's ... meandering.
Based on the fact that this is the top-rated comment, it would seem to be a position shared by a significant chunk of the HN readership.
How does that work with Whatsapp? It claims E2E. Yet Australia requires companies to develop backdoors if necessary to get access to private information.
No official consequences , but he did come down with a sudden serious and moderately rare illness immediately after making that claim, which interfered with the book launch that the claim was related to.

I'm not saying it was a conspiracy, but I am saying that it's the kind of plausible deniability I'd aim for if I was writing a story about the British Government wanting to get away with an exo-legal punishment.
it doesn't seem badly implemented, and yes, generic API post limit.

some power users are hitting the 300 post/3hours limit according the linked thread.
> But that's tedious to write. So create a small macro

> #define ls(x) (x).size,(x).data

Doesn't that double-evaluate `x`?
> influencers always highlighting when a product they endorse was made in the US

Which is often bullshit. The fine for lying about this tends to be $0, and it's likely to be years before you get caught.

https://www.nytimes.com/2019/03/05/us/politics/made-in-the-u...
Crypto broker Genesis owes Winklevoss exchange's customers $900M
See also the Wikipedia article on the Search engine manipulation effect:

https://en.wikipedia.org/wiki/Search_engine_manipulation_eff...

The fact that Google appears to change its search results depending on where users are located is rather concerning.
I bought something on Amazon because i wanted 2 day shipping and didn't want to to the local store to get it.

ORDER PLACED
November 24, 2022

Arriving 7 Dec - 8 Dec

They were generous and updated the delivery date last night. It use to say Dec 9 to 12 when i checked yesterday.

I've had this happen too many times as well. With this crappy delivery time I would have been better off just going to the store which had it in stock and the same price.

They also charged me $20 for "return shipping" because when i had this item in my cart it was "removed" as it was no longer available from the seller i selected. I mistakenly added a similar looking, same priced item and needed to return it.

I was unaware that amazon no longer does "free returns"?

I gave up on amazon long ago. If i want Chinese products i'd rather just order from aliexpress directly.

Deciding to give amazon another shot cost me $20 and 2 weeks waiting??
WDC still sells the 65C02 (uses CMOS logic instead of NMOS): https://www.westerndesigncenter.com/wdc/chips.php

One fix in this variant is that all reserved/undocumented instructions are NOPs, they don't do anything unexpected. Another one is that you can stop the clock entirely and it will not lose track of what it was doing earlier.
So, like the jan 6 trials? Where some people are STILL waiting for theirs.
> Stuff that worked just fine for years is suddenly overwhelmed by the usage spike. Lots of volunteers putting in lots of cycles to scale things.

To put it in numbers:

8,022,767 accounts as of now, on roughly 3,200 instances.

Vs
5,638,056 accounts on ~1,225 instances on October 26th, the day before the purchase closed and the growth spiked.

On Oct 26th, the last 24 hours of new users was 3,751. Last hour it was 3,626, and last 24 hours 57,286. We're way below the craziest peaks, but the signups appears to be reasonable stable and slowly increasing at the current level - no sign of falling back further towards where it was.

The growth in new instances has been outpacing the growth in new users for some time. Of course many of those are single-person instances, so harder to say exactly how that affects typical instance sizes.

(numbers are from https://bitcoinhackers.org/@mastodonusercount - a bot which posts hourly stats)
If the ground station is near the server, then latency would actually be lower with Starlink. One use case of Starlink is HFT on the NYSE from London, a use case that terrestrial networks are too latent for. This is because the speed of light in a vacuum is 50% faster than the speed of light through fiber, and the distance traveled is just as often shorter as it is longer - depending on satellite position.
Good management is just leadership.

Real leaders understand the burden of command and take it seriously and the stress is not sustainable for nearly anyone for the long term, so experienced leaders don’t want to do it unless it’s absolutely essential.
B2 and B21 are capable of carrying nuclear bombs, doesn't mean that's the only thing they do:

https://en.wikipedia.org/wiki/Northrop_Grumman_B-2_Spirit#Op...
It's as if everyone parroting this line stopped reading at the "However":

"10.Both parties had access to these tools. For instance, in 2020, requests from both the Trump White House and the Biden campaign were received and honored. However:

11. This system wasn't balanced. It was based on contacts. Because Twitter was and is overwhelmingly staffed by people of one political orientation, there were more channels, more ways to complain, open to the left (well, Democrats) than the right. https://t.co/sa1uVRNhuH

12. The resulting slant in content moderation decisions is visible in the documents you’re about to read. However, it’s also the assessment of multiple current and former high-level executives."
Null-termination was not a C invention.
"I sold all my fire extinguishers, got rid of all my insurance, and got rid of the locks on my doors yesterday, and nothing has happened! This proves no one needs any of these things."
Because some ISPs (like the monopoly over here) give you only about 3% of your download speed in upload. No, that figure is not off by an order of magnitude - I have 900Mbps download and only 25Mbps upload. That's less than 3%. And they don't offer 25Mbps upload for any cheaper.

Sometimes you gotta take what you can get.
Taibbi hasn't leaned left in quite some time and that may be why you like reading his articles.
so following the cult like dogma of the late steve jobs is more inline with HN standards? probably yes
"Your honor, I have not proof that I was actually pressured in any way but I felt that way."
Unbiased, factual descriptions are really hard to come by. Here's an ok take on it:

https://www.reddit.com/r/OutOfTheLoop/comments/z3isaw/whats_...

You'll have to do your own digging around to build up your own opinion if you want more info. From my digging, it still seems like pretty much nothing we didn't already know.
How can you call a company that lives off ads and just lost its top ten advertisers "thriving"?
I thought this was just supposed to be a cool little portfolio project by the developer. Now they have a "careers@" email address... implying this is a business? What is their product? This seems very peculiar to me.
Edward Snowden becomes a Russian citizen
this single program is almost twice as expensive as twitter!
Musk himself tweeted that hate speech is free speech. The only catch was that it would be demonitized with reduced reach.

https://twitter.com/elonmusk/status/1593673339826212864

Evidentally that doesn't work on celebrities.

Posting a swastika alone is not necessarilly a call to violence like posting a confederate flag or ACAB isn't always a call to violence.

It's been more than evident that the drivers Musk's policies on moderation are commercial and personal which is well within his right.

Others are pointing out the hypocrisy of him claiming that his motivations for setting policy have been a dedication to 'free speech absolutism' which is clearly not the case.

If yourself and others the moderation policy on Twitter was too oppressive to right wing views and are happy with this new direction all I can say is good for you. But you and those same other people should come out and expressly say that instead of getting on a high horse over "free speech absolutism" when thats clearly not what you're interested in.
so they'll first rake in the cash and then, once sales stop, proceed to nerf it.
The bulk of my Amazon shopping now is done by setting CamelCamelCamel alerts for legit products and when one hits, triple checking I am buying from the actual company.
I respectfully disagree. A PhD is to apply knowledge you already know. If you want to go the academic route, go for a Masters. That's what you use to learn. I have a PhD in CompSci, and I can tell you, that's NOT the path to follow to learn a subject.

Now, if you want to go the independent learning route, I can recommend the Udemy course: https://www.udemy.com/course/python-for-data-science-and-mac... It will give you a good hands on overview of all the current topics in Machine Learning.

You first will be learning to USE ML methods, then you can start extending the ML field itself (if you want).
Of course, you get all the expected tut-tuts from functionaries of the U.S. empire, which would give Snowden the Manning treatment the second he was extradited, a fate against which he is protected by obtaining a Russian passport.

Not sure if this was the original Guardian headline but the current one correctly places the emphasis on the passport as the motivation for Snowden's actions.