skysight-inc/HackerNews huggingface dataset:
Well of course they'd do that

The US already want to redirect the traffic using their Starlink satellites, for spying [1-3]

Is it good, is it bad? i don't know

But both the US and Russia shouldn't be there to begin with, even more true for the US

But what should we do when the Ukrainian leader is openly asking people to come and test their "equipment" in his own country, next to civilians [4]

[1] - https://foreignpolicy.com/2022/05/04/starlink-ukraine-elon-m...

[2] - https://www.washingtonpost.com/technology/2022/03/19/elon-mu...

[3] - https://worldcrunch.com/starlink-ukraine/the-constellations-...

[4] - https://nypost.com/2022/07/20/ukraine-invites-arms-makers-to...
Thanks for your work! Is one of the first apps I purchased :)
> HSTS should be considered hostile and not recommended until amended with the removal of the "no user agency" clause.

Have you seen the new malicious websites with fake CAPTCHAs that say "click allow to this dialog box to prove you're human"? If you give nontechnical users an easy way to bypass a security check, the bad guys will just tell them to do so, and they'll listen. And remember that if a technical user really does need to bypass HSTS, they can, even if it means editing a SQLite database by hand.
This is great! Would love to join the discord. A couple things that I'm curious about: can you make a script/app start by default, can you use a node library (murmur specifically), can you interface with peripherals (led and knobs). I'd like to turn my old androids into screen-less walkie talkies, and phonk feels like I might be able to avoid android studio, which would be a relief.
TLDR: the fMRI brain image lights up a bit more when the person encounters something unexpected. Yet another stunner from "neuroscience" using up thousands of dollars of funding to tell us something we either already knew, or that is entirely irrelevant.
sure, I agree that the legal status is unclear. My point was mostly just to rebut the dismissal of the comparison by my parent poster.
Also the Seiko Spring Drive.

. . . the Tri-synchro regulator uses three types of energy to regulate the moving parts and establish synchronicity:

* Mechanical power, from the mainspring
* Electrical power, creating a reference signaling via an IC/quartz oscillator
* Electromagnetic power, to apply a brake via a rotor/stator.

These three forces work in harmony to regulate the way the spring unwinds and to make possible the precise movement of the second hand.

https://www.grand-seiko.com/sg-en/collections/movement/sprin...
I suspect that some readers of Hacker News were not born when this was popular.
Do you have a link to the catalog? Without knowing more about them it's impossible to suggest anything.
Poor return on investments in chipmaking in China
AWS Identity and Access Management (IAM) Deep Dive
I wish I knew how to access a human! It is hard to believe that this goes on.

How do you do a download?
Ask HN: Better way to create Anki cards?
Hello HN, i've been trying to use spaced repetition to help with my studies but creating cards in anki is a pain, do you have a better way to create cards? ( or an anki alternative that makes this easier? )
I'm surprised there isn't an AWS module already, they have a bunch of providers. Wonder if there is a reason for that or if someone just needs to put the work in, I see a feature request for it. I may dig into it.
I think I figured it out. An AI will make a cryptocurrency and people will mine it, and mining will directly advance the AI. It will be negative utility to humanity, and it will doom us.
Yeah, when I read this article, it seemed very strangely written to provide almost no info whatsoever. Guess it makes sense if it's supposed to be for kids.
Well no, and if we're being pedantic I didn't imply that.
For an ultra simple hash table, you just need a few things (the following is from my head).

First is a 'reasonable' hash function (although with a few more lines you can do better [1]):

unsigned int H(char* s){ int h; for(h = 0; *s; s++) h = ((h << 5) + h) + *s; return h; }

And then to build your hash table:

int L = <table length>; // Large enough to reduce collisions
char** t = (char**)malloc(L * sizeof(char*));
memset(t, 0, L * sizeof(char*)); // Set it all to empty by default

Then to use it:

/* Put example */
t[H("key string") % L] = "value string";
/* Get example */
char* v = t[H("some key") % L];
if(v) printf("value -> %s\n", v);
/* Remove example */
t[H("another key") % L] = NULL;

For them most part you can get pretty far with just this in C.

[1] https://coffeespace.org.uk/projects/hash-functions-part-2.ht...
Agree completely. What I find truly weird is when Gen Z commenters in the west say “society”. Do they really believe marriage is some modern, western, or Christian invention?

When they push forward as social animals with no social support network and things eventually take their toll (age/entropy/etc) they will fall back on someone else’s marriage for help - their parents or siblings.

I say this as a late 30’s person with no marriage. I thought I had one and it didn’t work out unfortunately. Now it’s just me and I am in true shit if really anything remotely severe goes wrong.
It is so bad.. but how do I download the data?
The brain is a survival engine, not a truth detector. If lies improve fitness, the brain lies.
Glad to hear! Appreciate the kind words :)
>I can login to with just a password

If you can, so can anyone. Although using a unique/rare password (globally, not just among your accounts) is probably enough to make this a non-issue.
Both websites are working without hiccups. But I noticed that the website linked in [2] (free of javascript) sends a JSON response directly to the browser as a result of invalid email submitted, which may be puzzling to less tech-savvy users. Maybe this is even done for every error?

I inputted this-is-an-example-email@example as the E-Mail address, and as the response to the form submission, received a plain JSON document, which may not be desired. http://1507103400/dir/fastcomments.txt <= request example

But regarding performance I'd say it's perfectly usable. `neofetch --stdout` output of the machine on which I tested is also in the linked file. I used the palemoon browser.

I didn't test out Links browser, there's a chance it might work.
Love these suggestions! I'm using an old Motorola X Pure as one of my CCTV cameras via the excellent free IP Webcam app for a couple years now, but with a twist:

I've done this before with an old LG phone, and it seems that leaving the battery in the phone for camera purposes is a bad idea. It turns in to a spicy pillow within a year. I believe it's the heat - from getting cooked in the sun through the window, from the CPU working hard to encode MJPEG stream, and from the wireless radio constantly transmitting that stream, all while being held near maximum SOC..

So what I did this time around was remove the battery completely! I found an old 5V USB phone charger, say 1000mA output, and used a diode to drop the voltage to ~4.2V or so. Nothing out of the usual for a phone to see soldered on it's battery terminals.

Now this worked, but I found that certain high-load situations would cause the phone to power off. Solution was to add say 5000uF of electrolytic capacitors to the output of my new power supply.

With that added, setting Android to sync automatically via my NTP server with a command through the ADB shell, setting it to always connect to my IoT VLAN WiFi, and setting IP Webcam to start after boot, this solution has been working perfectly for quite some time!

It was a fun project too, and I got to reuse an old phone, and old charger I never would have used again, and some random capacitors that have been rolling around in a parts box for years. :)

Bonus: I control the camera's "night vision" mode via Home Assistant automations (turn on/off around sunset/rise) through the JSON API the app provides. This also provides some sensors like temperature, etc. The video stream is fed to ZoneMinder, which HA streams from. Motion detection in ZM triggers object detection via HA, and I get reliable notifications while I'm away!
Not to discount the research or its usefulness, but I feel uncomfortable with sterile language that, to me, implies that humans are nothing more than accidental automatons that can eventually be replicated and replaced by AI.

Aren't we more than that?
If the banking software lets you log in via an Android emulator I'd say it's a pretty badly written piece of banking software.

I understand why HN readers would want to maybe use an emulator to avoid having a phone but really what other use case is there than that or a scammer trying to spoof you.
I think that survival instincts are symptomes of consciousness. I feel its almost by definition.

Which poses interesting questions, is it a form of molecular chemistry chained reaction? Or is additional physics / maths required? Or something else of course, not discounting anything.
I don't have the same view, in my mind you have created a single point of failure for _yourself_. I use Authy for MFA, which comes with a desktop app. Phones dead / missing? No problem, I can get OTP's from my laptop.

What about text messages? Google voice. Which of course has a desktop interface. I've been doing this for years. It's nice not to have to rely on a watch, or phone entirely - although they do make my life easier.
Some apps will. But most "secure" apps would refuse to run on the virtual device.
Nice, what's next? Jailing everyone who ever had an abortion? Why aren't y'all americans doing that yet, if it's apparently acceptable to punish people for things they did before the supposed crime was made illegal?
It says the review can take up to 45 days but they say it is permanently disabled after 30 so that doesn’t work!
I've never seen a bank accepting more than a single device with an active instance of their app.. I would be over the moon if they did but they don't. So, last time I broke my phone, it took quite a while to get access to my bank accounts again.
I agree, that should work. Thanks.
```Record or rewind any change to your code to keep you and your team in sync. Host it all for free with unlimited public and private repositories.``` - https://github.com/

Once again, just because they were legally obliged to do it it doesn't mean the action is not immoral. Oh god, will I do it... Okay, I think I must, because my point is not going through I see. Think of Nazi Germany. It was illegal to try to save jews. Was it moral not to do it?
But it became industrialized by business-types. The BOFH thing was personal. They considered (still do, sometimes), users of their systems to be "the great unwashed."

Basically, pests.

Business types look at users as a resource to be exploited to make money.

Basically, livestock.

Different outlook. We try to discourage pests, but we breed and incubate livestock. In neither case, are we particularly interested in the long-term benefit to our users. If anything, the BOFH types are actually working towards the benefit of their "lusers," because that's their job.

I write software that is targeted at a demographic that I actually respect, and sincerely want to benefit with my work (so, naturally, I don't get paid for it).

I'm constantly fighting with "modern software types" that want to treat users of the software that I write as livestock. They -quite literally- can't understand my PoV.

It's fairly discouraging, really. I'm treated like an idiot, because I actually want to help the users of my software.
if only that was a way to prove who you are through some kind of system

oh I don’t know like private/ public key infrastructure that works well in crypto

solutions are clear
Probably not to GitHub or the courts. If in a few years it is discovered that GitHub missed something they can tell the courts "We did our best to comply, look at all the accounts we killed [and other evidence], so go easy on us for an honest mistake." In general the courts look kindly on someone who tried their best to obey the spirit of the law but missing one hidden detail.

If you are affected you could take this to court, and might even be able to convince them that the law went too far in incentivizing GitHub to delete your account. It seems very unlikely, but with a good lawyer courts can do weird things. If you do pull this off, then that would change court precedent, and when combined with a few dozen other cases eventually make it so courts will not accept deleting all accounts as a useful to to prove attempting to comply with the law. (Let me be clear, I doubt you could win this case, but it is theoretically possible so I offer it for completeness sake)
Are we?
Isn't Web 2.0 the web with user-contributed content, i.e. social media? For me, being part of Web 2.0 would not be something to be proud about, it's the tech that brought uninformed, angry populist rage online...
> OFAC can only sanction foreign entities

There are a variety of sanctions mechanisms. Tornado didn’t have to be controlled by North Korea (it isn’t), just used by them to fall afoul of U.S. law.
> So why would the scanner also be disabled?

I'm not aware of that happening.

Looking at the video linked in the article showing Epson waste ink pad replacement, it actually looks like a pretty simple process with a couple of screws. Much easier than Canon's procedure of disassembling the whole unit from the top down.

But if you add in even just 20 minutes of (messy) labour in the Epson scenario, that's where the cost becomes more than replacing the unit.

It's unfortunate, but at least they don't do what HP does with their inkjets... if we're accusing anyone of malice when it comes to inkjets, it should definitely be HP.
I almost never found that painful. Maybe a couple things that help: 1) Improve modularization. APIs should be small (as a rule). 2) Don't write a new file for each "class". It's not a problem to have files with more than 1 KLOC. But it is problematic to have a lot of really small files, as is (I think) customary with say Java.
Does anyone know/recognize what TUI this is? May be custom, I don't see anything referring to a specific one like tui-go, bubbletea or anything.
I agree - GitHub can block whoever they want. But doing so despite not being required to by law is a valid reason to criticize them.
I think so as I had given a different email when I got in using my ID.
No idea how they got my PayPal but seems to have happened to a lot of people!!
It is certainly possible to soundly reason about them. The C standard just does not describe how to do it.

There is plenty of PL work (in particular everything considering ML with imperative features, many decades worth of work) where references are values, that works perfectly fine.
I'm sorry, what exactly does your comment have to do with effective altruism? The free stuff that EA advocates want to distribute are deworming pills and mosquito nets. That in no way precludes development of local manufacturing. Moreover, cash infusions like with GiveDirectly help kickstart a virtuous cycle of local production and consumption.
Isn’t it broad strokes to paint office work as “better” when a lack of discipline is the problem and not where the work is performed (this is only an observation, please don’t take it as anything other than constructive criticism)? Accountability and the ability to push through the emotions around procrastination are not necessarily location dependent.

I’m sure, for some cohorts, they must be in the office to deliver. For many others, this is simply not the case.
This is breathless but misleading. With recent conservative judicial decisions the notion of general privacy is on the ropes, but KYC has always precluded financial privacy at any scale other than unstructured cash transactions, and you're still supposed to report those in your taxes. This is in line with the treatment of other entities that fail to maintain KYC compliance.

The state has the power to levy taxes and prevent transactions with entities that it considers harmful (OFAC is effectively this); this is the state taking steps to do so, while GitHub is deciding that people who are attempting to evade those laws are outside the risk profile of "who we want to provide services to".
This varies case by case, and widespread attacks definitely happen.

Perhaps the most famous one on Android was the Stagefright attack, which could take over your phone by sending you a malicious MMS (which you didn't even have to open), or by getting the system media player to play a malicious MP3/MP4.

That was a while ago and I haven't kept current on similar attacks. Running an unpatched system is a gamble that nothing like that is still waiting to be discovered.
Having worked in the EDA industry, though more on the electronics simulation side, there's a surprising amount of complexity in these tools. I think the complexity is such that it needs more than a single entity supporting it otherwise only the features that CERN directly uses will get enhanced.
Yeah and leave your wifi open so that you have plausible deniability for downloading CP.
DAs and police are directly or indirectly answerable to the public. Court proceedings are generally public record. Elected local governments have authority over law enforcement. See the recent case (without judging it's merits) of Gov DeSantis suspending a DA who refused to enforce abortion bans.
What most people overlook when considering the power of jury nullification is that like almost all other powers of participants in our legal system there needs to be checks and balances.

The check and balance on jury nullification is not telling people that it exists. Yes, it is a pretty crappy check and balance, but no one has been able to come up with a better one.
> A bit saltier than I would put it but I mostly agree. Years ago when I read Peter Singer's book on effective altruism I emailed him asking why he named 20 men but only 5 women in the EA movement. He just said women were underrepresented in the movement but didn't really know why.

Where you trying to add a point? Your comment reads like a non-sequiturs over gender inequality that goes nowhere fast, to the point that it reads like something generated by a machine learning model in training.
I don't think it's safe to assume something obviously bad today won't be good by many/most measures tomorrow. In fact I'm quite certain that the advancement of society doesn't rely exclusively on constraints, but also on expanding freedoms and loosing poorly conceived constraints.
A Tiny Software Protocol for Communication over UART, SPI, etc.
Great and inspiring, sad this topic has not attracted much of attention.
This insert routine can destroy an unrelated key, so I'm not sure it's appropriate to call it a hash table.
>So perhaps your suggestion of lawyers deciding on verdict has some issues?

As far as I know, bench trials are successfully conducted throughout the world.
> Replace the code with Tornado.Cash source.
Everyone's account is banned by Microsoft.

Code is speech, that's settled law. It's the entity and wallets that are sanctioned. If someone is a member of the Tornado Cash group on GitHub, it’s safe to say they’re in at least legal jeopardy. GitHub puts itself at risk by knowingly continuing to facilitate their work.
There is no behavior in our universe that exists outside the laws of physics. So whatever we are, it is a product of our physical form. If that's true, then we can build something else that also exhibits our same behavior but is a purely non-biological organism.
You obviously didn't read the whole blog post.
They probably mean that you will ruin your day and your evening by procrastinating at home. The day isn't relaxing even if you slack, and the evening is stressing because you eventually still need do to some work.

On the other hand that could easily be solved by all being in a long group call / chat. But if your coworkers only know email and telephone, then good luck.
When waste ink absorbers are full, a fault condition is spilling ink out the bottom of the printer... mainly when (some) non-genuine inks are used. I've seen it happen a few times.
I’m not advocating making software multithreaded only, since obviously that doesn’t make sense.

But, in many modern languages (including c++) multi threading
1. Doesn’t significantly detract from the performance of single core systems
2. Can massively improve the performance of multi core systems, even with 2 cores or more.

For appropriate applications, the memory overhead and the cost of the bootstrapping code for instantiating a worker thread should be dwarfed by the time of actually computing the task (we’re talking about actions 100ms or longer). Not using multiple threads when you could reasonably half or quarter that time (without needing to drop support for single-core systems) is just foolish. If you’re that worried about single core performance then maintain two code paths, but at least recognize that the majority of commodity systems sold today, including the ones you listed, have multiple threads available to them to do the work that have the most painful wait times.
I am very loyal to ConEmu. They were here long before Windows Terminal showed up and they are still the best one. Easy to set up color schemes, support for all the different types of terminals. I also love that "like slime for vim"[1] supports them. I doubt I'll ever switch.

1: https://github.com/jpalardy/vim-slime
If we want to talk about important differences, then you need to understand the difference between money-laundering and privacy.

In short, if you are not concealing the source of your funds to conceal a crime being committed, you are not guilty of money-laundering. It's that simple. KYC laws apply to banks and corporations, not individuals and not protocols and not code.

Privacy is not against the law, and neither is deploying a privacy tool that happens to be used by criminals. The comparison to matrix is surprisingly apt here. I have no doubt that criminal activity is facilitated by matrix, but the idea that they are responsible for that is ridiculous.
Feel free to back it up with real examples. Otherwise, previous conversations with you have just been frustrating exchanges about pie-in-the-sky stuff. Just seems like you want to be bombastic for the sake of being bombastic.

> and sheer code execution performance is never the bottleneck in a realistic-sized system.

TIL that code execution perf doesn't matter and I've wasted almost a decade of my life focusing on it. Wow I wish you told me sooner!

What a ridiculous comment.
When adding 256 kilowords of memory to your PDP-10 cost $230,000 (2022 dollars) you were either clever or unemployed.

If your programs couldn't run on the machine you had, they were no good. Nobody was going to spend a quarter million dollars on equipment for the sake of source code beautification.
Nobody knows how to do a failure analysis. I used to work in r&d, now that I’m building websites and mobile apps the culture doesn’t care. Pointing out obvious design limitations will, more often that not, make me the asshole.

Not even trying to delay ship or get future rework scheduled, just having it documented is too much. Out of sight out of mind.
Not to mention Tornado is a very popular open source Python web server.
Please explain how AI risk is not oversubscribed.
The #1 thing lost is commuting, both the time cost and the carbon emissions
> Again, these are people who came so close to thinking about genuine issues of welfare, put their money behind their blog posts, and then... walked back into the introvert weeds of worrying about (...)

So many words just to say "they don't value the exact same stuff I value".

You're free to put your money where your heart is, just like them. It's not right to hit back at those who are doing what's right by their own account.
I don't disagree with your specific point here, it's easy to dynamically allocate threads based on system cores. But I disagree that you should write your code for a medium speced system.