skysight-inc/HackerNews huggingface dataset:
Epic stuff, and I think this experience may well be more valuable than the homework you avoided. Basically you did harder homework in order to avoid easier homework.

The problem is letting other people use it; of course it's nice to help people, and it's altruistic to do so for free, but some of those people might actually need this homework to learn, and you may have deprived them of that. (Although I also think watching a video and doing some multiple choice questions is the laziest low-effort homework assignment there is, and the damage may not have been all that big.) But you used logic and programming to work around a math problem, which are roughly in the same field, so I think that's fair.

A slightly similar situation: my previous job was at a bank, and banks over here are bound by all sorts of ethics and rules, and are required to regularly train all their employees in balancing the interests of customers, society, and the bank. This bank did that by gamifying it: we had an app where we had to answer all sorts of ethical questions and make sure our score in the app was over 70% at the end of every month.

A coworker used our testing framework to access the app, answer questions randomly like you did, and store the correct answer to use next time. It apparently worked very well, but using tech to avoid ethics questions is quite a different issue than yours. (He shared it with me when he left, and I tried it, but it didn't work for me.)
Japan to Restore Visa-Free Travel from Oct. 11
Adobe's financial performance has been pretty outstanding.

In 2015, their net income was 630 million dollars with 13,893 employees.

By 2019, through steady growth they have grown their income to 2,951 million dollars with 22,634 employees.

In other words, while in 2015 an employee produced 45347 dollars but in 2019 the same person produced 130739 dollars.

I would be slow to presume they do not know what they are doing.

Does anyone even know when Adobe last had a net loss quarter?
That's hilarious (and sad), thanks for sharing. IIRC driving a 9 ton big rig is a constitutional right.
I do commend the use of science and data analysis that the author is advocating.

There is a caveat. Most science, even when high calibre and delivering clear results, doesnt reliably predict wwhat individuals should do. It only speaks to an average across the population. Individuals have unique responses, which can vary by degree and also by direction. The gold standard is always careful experimentation on a case by case basis. This phenomena is more apparent in diet science where dissecting causation and elaborating mechanism is particularly difficult. Many studies are narrow in scope, with short duration, and applied to limited demographic types... limiting generalisability. Larger, longer studies in more natural contexts produce results that often conflict, presumably because of factors we don't fully understand.

So my two cents would be to remember that results of studies are not always true for individuals, annoying as that is.
If you're serious about change you'll need to experiment.
Human seasonal influenza under Covid-19
Which is a shame because restrict is not in C++
Wouldn't that be more of a consultant role, rather than having the entire newly acquired org report to him as a manager?
Physics and Music (1966)
Don't remember where I found this but here is a good comparison of many Slack/Teams alternatives.

https://docs.google.com/spreadsheets/d/1-UlA4-tslROBDS9IqHal...

I'd like to see something like Matrix, Wire become more mainstream but will be impossible task with Slack/MS already entrenched into so many orgs.
> It amazes me that people want to give the government this much power.

It amazes me that we let social media platforms run freely with whichever narrative, ideology they enforce. Government influence has in most cases a negative outcome, but letting these platforms, especially ones at the scale of Twitter and Facebook, act freely is unwise.
Hi, may I know if there has one API Gateway behind API Hero?

Here has one solution (Apache APISIX) just for reference: https://news.ycombinator.com/item?id=32937696

P.S The website is beautiful and attractive! Especially the How it works section.
I mean, unfair to put expectations on Signal to solve problems (especially right away). It could be that the solution didn't occur to someone until recently.
Hm the data for Greenland is wrong.
I think it does, but not in the way you expect it. For the longest time this API was the only reliable way to get anything onto the lock screen of some Android phones. If it didn't use this API, you would need to unlock your phone before you could get to the snooze/dismiss buttons.

I can easily see the dev calling into the API to initialise the alarm dialogue before actually playing the sound (after all, who wants an alarm they can't turn off?) and the API call that used to go through without issue now throwing an exception, killing the wakeup process dead in its tracks. I haven't reversed the APK, or course, but it's a very likely scenario.

I don't think this is how the API is intended to be used, but you can find plenty of stackoverflow answers like https://stackoverflow.com/questions/35327328/android-overlay... that (ab)use the window API. This one: https://stackoverflow.com/questions/46860993/window-over-oth... shows the API change, throwing exceptions on API level 26 (Android 8) that didn't get thrown before.

On modern devices, these old workarounds are usually no longer necessary. There's a separate API which is easier to use for interacting with the lock screen now and the permissions to take over the lock screen have been made harsher. For a maintained app this would mean fewer compatibility hacks, less weird lingering visual artifacts in edge cases and a better alarm. Sadly, with the dev ending their operation, the alarm is probably stuck calling old APIs with limited support now that Android security is tightening. Such a change broke clipboard sync in KDE Connect, for example, except it didn't leave a compatibility workaround for old apps.

I'm in favour of better privacy and security but restricting previously unrestricted APIs is a painful process. I've gone so far as to root my phone to provide the necessary permissions but I don't think I'll be able to do that forever...
I've been gone for about 4 years, and admittedly don't read many company annual reports (and my super balance I get in a more digital upate).

I haven't really seen it crop up in the online stuff I read (some of it Australian financial), but I can see how it would be easy to miss as well.
Show HN: A Stable Diffusion desktop frontend with inpainting, img2img and more
I was frustrated with laggy notebook stable diffusion demos. Plus they usually didn't have all the features I wanted (for example some of them only had inpainting and some only had img2img, so if I wanted both I had to repeatedly copy images between notebooks). So I made this desktop frontend which has much smoother performance than notebook alternatives and integrates image generation, inpainting and img2img into the same workflow. See a video demo here: https://user-images.githubusercontent.com/6392321/191858568-...

Features include:

* Can run locally or connect to a google colab server

* Ability to erase

* Ability to paint custom colors into the image. It is useful both for img2img (you can sketch a rough prototype and reimagine it into something nice) and inpainting (for example, you can paint a pixel red and it forces Stable Diffusion to put something red in there)

* Infinite undo/redo

* You can import your other images into a scratch pad and paste them into main image after erasing/cropping/scaling it

* Increase image size (by padding with transparent empty margins) for outpainting
Doesn't that depend on what school is for? If the importance of school is overwhelmingly the subject matter or the grades, then I'd agree that high-performing children need less help. To the extent that children need something else from school, high-performing children might need more help than average-performing children. Maybe the average-performing children are more dependent on effective study techniques, while the high-performing children can perform at the expected level with little study. If the subject matter turns out later to be useless, at least the average-performing children have picked up the study techniques they need to learn something useful, but the formerly high-performing children might then face a bigger challenge. Even if school subject matter is useful, that doesn't help those who already know it; they aren't gaining knowledge or productive habits.
> unless you are clashing with another resource under your own name, I don't see the point of failing.

Is that not the conclusion? The tester was clashing with their own names?
France’s Macron seeks ‘massive’ boost for renewable energy
Figma doesn't sound like something that would fit Apple at all.

One of their differentiators is their performant web app which is something Apple is very much against. Then collaboration where Apple is also bad at on top of iterating fast, which Apple is also bad at for software.
All of this thread I read so far is complaining on a very high level. Compare the teams era to the pre teams era where companies often either had no meeting software and experience at all and onsite visits or phone calls was the only option, or they used Skype for business which was arguably even worse. Then the minor annoyances of teams seem small in comparison.

That's not too say these things shouldn't be improved, but bundling teams with office for free sure made my communications with most of my customers 1000% easier.
> The .so file is installed on the file system like any other library.

Nope, it is built into the kernel image - at least on my system, but there doesn't seem to be a config option to disable that.

> When mapped into the process address space, it's just a normal ELF image. The functions all conform to the normal C ABI for the platform.

That's purely for convencience because it allows ASLR for the vDSO and there is no point in making it a new ad-hoc format if every C library already needs an ELF dynamic linker - if the vDSO was a thing before ELF it would surely have a different format.

> We do need to manually link the vDSO functions though: the kernel uses the auxiliary vector to pass the address of the vDSO ELF image to the process, allowing it to parse the ELF header and find the addresses of the functions. In most cases, the libc will do this while initializing itself prior to calling main.

You need to look up the entry points in the vDSO before you can call them but that is really no different than checking the kernel version before deciding which syscalls to invoke. And no, the vDSO is not loaded like any other .so - it is very much a special case [0] even if the libc ends up reusing some of the normal .so code and structures. For example, it needs to be loaded even for statically linked binaries [1].

[0] https://sourceware.org/git/?p=glibc.git;a=blob;f=sysdeps/sys...

[1] https://sourceware.org/git/?p=glibc.git;a=commit;h=1e8bdc3a2...
Not sure if you’re asking seriously but I guess I was one of them so I’ll provide a serious answer: I never agreed with HN’s hate and always believed (and still believe now) that fb is a net positive for the world.
Why would Apple be interested? They really don't care about applications anymore.

I'm a bit surprised they even bother with FCP and Motion at this point. I have no idea what they would do with Figma. They can't even get SwiftUI to work after several years, so offering up a design product as part of Xcode or something would definitely be lipstick on a pig.
I caused a bit of an "incident" at a web dev company I worked at many many years ago by removing commit access from one of the "technical managers", whose hobby was removing every single comment he could find.

"But the code shouldn't need comments," he'd complain, "it should be obvious what it does otherwise it's just bad code!"

Yes, you dobber, it *is* obvious from the code, the *how* is obvious, but the why and the what might not be. The comments explain what it's doing stuff to and why, and in particular why you'd want that and why it's important. Disk space is free, so in a big long comment just write up what that particular bit of business logic is intended to achieve and what it expects as inputs and outputs.

or, TL;DR "DOCSTRINGS BITCH DO YOU SPEAK IT"
Yeah, the 'why' often literally doesn't exist as information in the code anywhere, e.g. business rules, domain-specific knowledge, etc. If you're extremely lucky it might exist as 'why comments' :)

I do wonder if ML could be applied if you actually also train it on your particular (large) application where if might be able to 'cross-reference' domain knowledge present in commented code to other similar code. (But then you might want to just remove the pseudo-duplication anyway.)
It's annoying how the rhetorical "one third of Pakistan underwater" has been repeated as fact even though a quick glance at a topological map shows that to be impossible for values of "underwater" that mean "comes up to your ankles at least".
I think what he means is using nuclear energy and engineering to reduce heat stress on the population (ie air conditioning etc)
> If you have a big GPU don't let it dangle. Support it somehow.

Or remove it. Takes five minutes to unplug and unscrew a card. Had to do that with my 6900xt recently while moving.
Thank god, finally found someone with the same issue. This is incredibly frustrating.

I'm also wondering why the news coverage of this is so abysmal. In the Netherlands there is very little if any awareness of this, in my bubble at least. (We all seem to very aware of every goddamn bowel movement of every soccer player.)

Even my government seem to just very recently become aware that using data and generally working in a structured manner is preferable to just winging everything all the time. Some departments are even starting to use basic statistics which some even call AI. Nobody is quite sure what anything means and how to make sense of it and all these high-level decision makers studied history, administration or something legal. Absolutely nobody with a clue about anything beyond '80s tech - if even that. It's downright disturbing to see this immense gap and we are supposed be somewhat advanced. But I digress..
> survived on eating only potatoes, cabbage and carrots

Surviving and thriving are very different things. Even obese people could be told to have survived, because they live long years; yet, they leave many on the table.

> And one still builds muscles with just 60 gram of protein per day

Only untrained individuals can do that. Most of the population with just 6 months of training will easily hit the wall with less than 10% of calories coming from protein.
Why do I need Docker for such a simple task? From their blog:

> The proxy is extremely lightweight. An inexpensive and tiny VPS can easily handle hundreds of concurrent users. Here’s how to make it work:

SSH into the server.
Install Docker, Docker Compose, and git:

I'm sorry but installing Docker on a tiny VPS last time I checked wasn't any light at all.
It's trivially true though? If you had a functioning justice system, the lynchers would be arrested and it wouldn't happen again.

It's also true in more significant ways, in that lynchings happened because people felt that crimes (or "crimes") were not being appropriately dealt with.
Is there any effort being done in rating prompts in regard to the image the model output and/or what the user chose as being a satisfactory image?

I could (probably naively) imagine that this would be the next step in making these models even more pleasing to humans.
Or at least in creating a GPT-based "companion" model that would suggest, from an initial subpar prompt, a prompt yielding better results.
A thing the psyche does is make people willing to accept any information that supports their views without questioning where it came from, while at the same time dismissing any piece of information that contradicts it, also without having the mental fortitude to check. It's easier to hide and feel strong in a crows than to stand alone with your views. That's why the artificial echo chambers in social media, that all the censorship created, are so effective.

I did some light digging with the information you provided. The source is not an "independent researched", but a member of a Washington based think tank "The Woodrow Wilson Center". Literally everything he wrote in the past years was slandering Russia. Where did you think the gigantic budget of the CIA went?

The proof you provided is a telegram screenshot. You want me to make one that reads "Russian troops offering lollipops to Ukranian POWs"? Should take the average ycombinator reader minutes to whip up such a picture. You should know better.
Schedule cronjob for the first Monday of every month, the funky way
I'm so infuriated by your link I'm at a loss for words.

EDIT: This is an UNIVERSITY newspaper? I thought it would be some kind of british tabloid or something... depressing
If by secure you mean the messages cannot be intercepted, yes Signal is theoretically secure as the process of communication is encrypted. On the other hand, Signal can be blocked as it is not truly distributed and requires a Signal server. Very simply put, blocking the Signal server disables the Signal network. That's why Signal is asking someone to setup a proxy server on their hardware that can then allow certain users to connect again to their Signal servers, via the proxy.

Note that these proxies too can be identified and blocked.

Worse, their IP address could be used to identify you in any investigation. This was the legal risk I was pointing out as you do not know how Signal will use your infrastructure (in ways that may make you liable for something in your own country) or how other countries may become hostile towards you for allowing Signal to circumvent their laws.
The whole human existence is the attempt to explain things happening around you (even if don't get them) to basically calm down our consciousness.
This is bad, but it is really no different than:

int * b = new int;
*++b;

Dereferencing past the end is always UB in C and C++ and it is hard to fix at the language level when using raw pointers.
This article sounds like more of a cult or superstition than the "conventional wisdom" medical advice it wants to replace.
Talk to Your Multilingual AI Assistant
Love the ThinkPad 235 — I have one too :)

It's a Ricoh Chandra in disguise! https://aichi.to/~thinkpad/tp235/index.html
Principle of least privilege. If websites ask for camera permission they should have a good reason, and you should be able to disable it in the browser. Unfortunately, you can't enforce what cookies will be used for technically, so it's done legally instead. But the preference could still be in the browser, where it belongs. I'd be fine being denied service if I don't allow tracking cookies.

Another option would be to spoof/containerize/pollute/sabotage the cookies through the browser or an extension, and opt back in for sites that you need persistence with.
The point is that OP is ignoring the blindingly obvious element of racism involved in lynching of Black Americans in the Jim Crow South (and indeed elsewhere). The post is bordering on apologism for these crimes by painting them as merely a rational reaction to underpolicing. If there is a place for wildly revisionist takes on this part of America's history, I'd suggest that HN is probably not it.
Hollywood stars turn to Ozempic diabetes drug to achieve weight loss
Memes can't be forced, this looks like a "how do you do fellow kids" situation.
Docker images are just tarballs no? There’s almost no overhead at runtime. Of course you could fork it
It's capitalized in the title, so it's a PROPER noun. And I've worked in software development for a long time, and have read HN regularly for a long time, and I've never heard of "Backstage" as software.

There's a wide world out there, which some HN posters "forget."
Okay, how about this: The PCI slot goes on the bottom of the mini-ITX motherboard, and extends out of the bottom of the case. The GPU is in its own enclosure, with a PCI edge connector on the top, and you stack one on top of the other.

I'd really like to find a way to daisy-chain them, but I know that's not how multi-gigabit interfaces work.

Raspberry Pi hats are cool. Why not big mini ITX hats?
Yes, I just want to go back to the time of the Famicom Disk System, the Sega CD or the Satellaview.
> The problem is letting other people use it; of course it's nice to help people, and it's altruistic to do so for free, but some of those people might actually need this homework to learn, and you may have deprived them of that.

This, when the scope is limited to yourself, it's very different from when it impacts others.

Back when AOL Instant Messenger (AIM) was super popular, I was in university and had read about ARP poisoning. Our school was pretty cheap, so all the dorms had hubs instead of switches. This meant that it would be, theoretically, possible to ARP poison an entire dorm, MITM attack and read all the text being sent on AIM since it was sent in the clear. I had a bit of a cyber security passion lab in my dorm room, so I wrote a PoC and ran it on a LAN air-gapped from the rest of the network. I proved that it should work for myself, having confirmed that similar cleartext messages would get passed to the machine intending to listen in between two other machines.

I told my classmate of my project and he expressed interest, so I gave him a copy. Fortunately, I didn't add any authorship info, mostly because I forgot to. I did caution him that ARP poisoning is a pretty "noisy" attack, and someone who was paying attention would notice it. He foolish ran it on the university network, and confirmed he was able to see AIM messages flying back and forth for all the dorm, as well as all the other traffic. It didn't take long for our school's IT to notice that one dorm was funneling all traffic through one machine. A week later he was banned from having a computer in his dorm room for a school year. Thankfully he never gave me up, admitting it was his stupidity that brought it on himself, but nevertheless it was a lesson learned - if you're going to play in the grey space between ethical and not, do so responsibility and don't share the exploits with others.
"My family and I went to see bears at Yosemite. It was so exciting! Can you point to Yosemite on a map?"
I read recently that they have a read-only web version now
I would have classified it as a "simulation". Which is what the author calls it, but then tries to find other things to call it too. Simulation is fine.
Thank you! This would be a much better link than the github repo.

There are so many project READMEs out there that never bother to explain what the code is or does, it's frustrating.
> many people are underestimating just how totalitarian and ruthless a government CAN get

Well said. I read your comment and I know immediately that it comes from first hand experience :(

I'm not aware of any technological solution to censorship by a government that's persistent enough and has firm control on everything. Unfortunately, there is also no way to overthrow a government that's ready to kill citizens, not without foreign aid.

Iranian government has the ability to inspect all packages. Of course the contents of the ones that are encrypted cannot be read, but they can do lots of analyses based on everything else and aggressively block anything they don't trust. When they are at this level, no network technology can have a large impact, because if it does, they just shut down everything like they did before.

Technologies like Starlink are harder to control, but the equipment has to be imported and doing that in scale with all the control they have is not feasible.
Oh, I think I remember the original Drivey and was following the dev blog for a while back then. But I think in the end, it didn't go anywhere (no pun intended).