skysight-inc/HackerNews huggingface dataset:
The launcher has to support the underlying API.

On Samsung devices running One UI 4.x you still have to install an additional app for that: https://galaxystore.samsung.com/detail/com.samsung.android.t...

I'm not sure what's available in GrapheneOS (quick search tells me it's not supported).
Judging by the URL, this book was used for CMU's 15-151 / 21-128, which is a first-semester course for CS and math undergrads. Nowadays, the course uses [0].

[0] https://infinitedescent.xyz/
I agree, there are some stupid bureaucratic loop holes, i.e., Find a public data set without consents which you want to use. This is not allowed, but this is what you can do:

* Try to contact owner of data to ask for consent of all people (maybe thousands)

* They ignore you because it's an insane task to arrange all those consents...but...

* Now you have shown that you did a reasonable effort to obtain consent and...

* Now you can use the data for research purposes.

You can't use it for making/creating anything related to IP though. But you can get creative of course.
Current LTO drives require to be fed at hundreds of megabytes per second for writing. This is well beyond what 1-gig Ethernet can do. Does you NAS support that?

(You can occasionally get away with slightly lower feed speed -- the drive will write "invisible empty data" to keep the motors running and tape movement going -- but that cuts into capacity of the media in unpredictable ways. And eventually the drive decides it is facing data starvation and stops writing. The result of that is a few seconds of tape repositioning to restart the writes.)
“you are a bad programmer”

There it is: the false dichotomy of “good” vs “bad” programmers.

No, programmers exist on a multidimensional spectrum and performance is contextual.
Doomer? Hundreds of millions getting out of poverty in China is all the hope I need.

Being afforded the opportunity to choose between a bad and a worse government gives me no hope, and apparently many feel the same in the so-called liberal democracies.

Just check this graph[0] at page 27. Am I the doomer or are about 40% of the world voters feeling doomed?

> brutal, genocidal autocracy

Brutal how? Genocidal is false as the whole Uyghur genocide has been proven over and over to be bullshit.

> assuming you're in the ingroup, stay in line, ignore meatfisted policy implications

lol, try to be openly communist in the USA and see what happens to your career.

.0: https://www.idea.int/sites/default/files/publications/voter-...
Cooking with The Truman Show!
The sufficiently smart JS compiler might be faster.
What is the value of that? Is that a common use case for those buying exabytes of tape?
Because the energy lost to the movement of the propellant goes up as the square of the velocity but the thrust goes up linearly. Bulking out your propellant by a factor of ten while reducing the exhaust velocity by a factor of ten doesn't change the resulting thrust, but reduces the energy you need for that thrust by a factor of 10.

The above elides a lot of complexity but the Wikipedia summary of the situation is pretty good. https://en.wikipedia.org/wiki/Rocket#Energy_efficiency
I love smoky old churches. Sadly so many of them (especially in off-the-beaten-path places) were constructed with wood and various accidents (candles, short-circuits) burned them to the ground. Not the same even if fully reconstructed...
Absolutely not solely for DEC Alpha; From the source [1]:

You must use one of the rcu_dereference() family of primitives
to load an RCU-protected pointer, otherwise CONFIG_PROVE_RCU
will complain. Worse yet, your code can see random memory-corruption
bugs due to games that compilers and DEC Alpha can play.
Without one of the rcu_dereference() primitives, compilers
can reload the value, and won't your code have fun with two
different values for a single pointer! Without rcu_dereference(),
DEC Alpha can load a pointer, dereference that pointer, and
return data preceding initialization that preceded the store of
the pointer.

The whole document then goes in great details on the all the ways the compiler can screw you over.

If the kernel were to drop Alpha support tomorrow, rcu_dereference and all the warnings would still be relevant.

Similarly, if only x86, SPARC and Alpha existed, memory order relaxed, acquire/release and seq-cst would be sufficient. consume only exists to cater to architectures with memory models stronger than Alpha but weaker than TSO.

[1]https://www.kernel.org/doc/Documentation/RCU/rcu_dereference...
Honestly, I don't like anything that requires me to have a smartphone to use it. By all means, have it as an option; I scrutinize it more intently and am not generally gonna use/buy/like it.

About qr-code menus, there's a place that went fully online only (app required) to order their food. They don't have a kiosk on site either last I checked. It's really weird from a business sense to just cut off customers without smartphones.
Maybe. Or maybe they just see that as their additional source of revenue. For instance there are third party libraries that you get paid to include in your app which leak all kinds of data about you. Easy money for the app vendor.
True but I think trying to make a tool useful to everyone's $DAYJOB is kind of overrated. Instead of trying to make the tool the best it can be on its own merits, you're trying to please the millions of folks who already bought into another ecosystem.
That would be the exception that proves the rule then. If he's able to SEO the whole first page for Thai restaurants, that would seem to say the rest of them are terrible at the web.
We use LGDs to protect our (still very small) flock in East Texas from coyotes and strays. The paragraph on animal behavior is one I wish everyone who works with animals, whether pets, stock, or working animals, would read and understand.
If you think of animals as purely instinctual or if you anthropomorphize them and try to train them like children, you and the animal both are in for a bad time.
The parent doesn't have a smartphone, which immediately puts them in a small minority (depending on their country and age, say 5%). Do companies use smartphones to track people? Yes, of course. But rejecting technology and returning to monke is definitely not a mainstream choice, though admittedly not as extreme as literal tinfoil hats. I think you could argue it qualifies for a figurative one, though.
> - Not requiring me to touch the steering wheel every 20 seconds

In many countries doing this will void your insurance.

> - Sharp turns on the highway that require slowing down (both built-in adaptive cruise modes will gladly just drive you off a cliff at 65 mph)

While it's probably given that this will happen, it's also an infrastructural failure. Just place a limited speed limit sign way before the sharp turn, or fix the road so it doesn't make a sharp turn.
I like Deno. The benefits to me are largely around developer experience and tooling. I much prefer Deno's dependency management solution to Node's.

Additionally, lots of packages have made their codebase more runtime agnostic as a result of Deno existing, so there definitely are Deno packages out there. It just depends onw hat you're building!
Ask HN: Why surveys are so expensive?
All SaaS survey products are insanely expensive. It’s always $0.04-$0.15 per response.

SurveyMonkey - $0.035, TypeForm - $0.045, HotJar - $0.08, Survicate - $0.179

It’s saving *a single record in the database* after a request to the API. Plus wizard for creating the form. Then download the CSV with the results.
Also, all companies are charging on a monthly basis. Most surveys goes from time to time. I’m talking from my experience, but there are months where I need to survey 100 users and months where I need to survey 30k users. Why it’s not billed on a ‘per response’ basis?

Do most companies write their own survey software, is there anything cheaper or are you using some open source?
The disk also has to move its head to the location of the data. It is faster, but still sequential.
I understand that, just sharing what I see most commonly.
Why not compress the data before encrypting it? Seems like a really easy to implement solution that would speed up backup and recovery and cost almost nothing to implement.
dice it, excellent idea actually
What if I don't respect the person giving the advice, and I don't care about the product?
Oh yeah? do we have pictures of all the private and defense satellites that were launched?
Right, it could be that 'high-educated' people have been raised to snack on health food, say cucumber, while low-educated people were not and snack on whatever.

Then you would find that eating health food correlates with high-education. The correlation is real: if you see someone snacking cucumber, he is likely highly educated. It doesn't mean that eating more cucumber will make you smart though.
14% or so in 2022, and dropping every year.
Primer for planning BIG platform changes
Wrote a little article to help a couple of our teams while I'm on holiday next week. Focussed on use cases, RDUF, saving time through a bit of discussion and walking skeletons
All the Household Types in the U.S.
>You've written 3 functions instead off one.

3 functions is better. Think about it. Do people write all their stuff in one big function? No. Better to compose higher level functions with smaller ones rather then write one big monolith like you did. The more modular something is the better.

Also IO_function is there for illustration purposes. Technically it's just wrapping print with a name so you can understand the intent. In reality you just use the regular print here without a wrapper, so in actuality only two functions are defined.

>The job of ChatGPT was to make cool_function unit testable. You haven't done it.

It did. By giving it a return value. Just like you did by giving it a new input value.

>You still have cool_function using side effect generating code hitting the actual IO system.

Yeah but one component of cool_function is pure and you can unit test that. Cool function itself can never be tested because it generates no output, you test the unit components of cool function. That's the point of unit tests.

>Genuinely the worst unit test I have ever seen written, on a poor form per line basis, absolute bananas. If you don't understand why [i for i in range(4)] is bad in a unit test and [0,1,2,3] is correct then I need you to walk away from the computer.

Let's just talk about it like adults. Just tell me what exactly about it makes you think it's bad?

Most likely it's some pedantic stylistic philosophy you have? I'm thinking you only want to test literals? Perhaps you prefer [0,1,2,3]? Am I right on the money?

Logic potentially has errors so you don't put logic in your test code. Makes sense, but who cares. For trivial shit it's fine. While in this case the logic in the test is identical to the function, typically 'logic_function' represents something significantly more complex and the list comprehension so I could care less if I'm not following the strictest form of testing. The comprehension is just something akin to an alias shortcut I prefer to use over writing out a massive literal. For the toy example the test is pointless because the logic is identical but typically it's fine to use range as an alias to represent a sequence of numbers.

Someone who strictly follows these stylistic rules without seeing intent or having the ability to bend the rules is just an inflexible pedantic programmer. It's not good to boast about it either by telling other people to walk away from a computer. That's just rude.
Reflections on a Life in Computer Science and Statistics: Norm Matloff
To benefit everyone
That user-agent seems to be in the robots.txt as _disallowed_, but somehow it gets through the paywall? That seems counter-intuitive.
A child may not be able to count, because they don't yet understand the concept, but may be able to reason at a more basic level, yes. But GPT has ingested most of the books in the world and the entire internet. So if it hasn't learned to count, or what counting is by now, what is going to change? A child can learn the concept, GPT cannot. It doesn't understand concepts at all, it only seems like it does because the output is so close to what beings that do understand concepts generate themselves, and it's mimicking that.
Axum-style magic function params demystified
I love your suggestion and slogan.
You hit the nail on the head. There are definitely these kinds of people and they are definitely highly concentrated in tech.
That detail is abstracted away from the user though, tapes north of LTO 5 (which is pretty old) allow addressing tapes like a normal file system, and if you are doing backup things, the contents of the tape are held separately from the data itself.

As an off-line archival backup medium, access times really are not a concern in the real world.
If you don't pay all your taxes wouldn't you be an illegal? or drive over the speed limit? overstay a visa? Why isn't person hiring the immigrant an "illegal"

When a large corp violates some law why isn't that company an "illegal" company?
Why would he? If he's chosen not to disclose certain site behavior it's because he thinks it's for the good of the site.
Strictly speaking it depends on your threat scenario but it is true for the very common case where an adversary gains hold of a database dump of passwords that have been hashed with a fast hash function.

First of all humans are not nearly as creative as they think they are. In the end it's always the equivalent of the key under the doormat, in the plant or under the stone next-by. Maybe windowsill, but that's it.

Secondly everyone can run an unbelievable amount of password candidates on consumer hardware at home. There are huge candidate files with all the passwords ever leaked and every word on Wikipedia and every song text and every book title and so on. For a fast hash you can run all of this in a couple of hours on usual hardware.

Thirdly, because of the way GPUs work you get variations like appending a number or leetspeak for free. The reason is that the limiting factor for fast hashes is the memory bandwidth between CPU and GPU. Essentially the GPU is bored while waiting for candidates so it can as well try some variations in the meantime.

Troy Hunt also wrote about this topic from a bit different angle: "The only secure password is the one you can’t remember"

https://www.troyhunt.com/only-secure-password-is-one-you-can...
For an admin, I'm not sure. The deployment and CI/CD story may be cleaner? The real win to me is the developer experience. Deno comes with everything: test runner, linter, typescript, language server, etc. That's the winner for me.
Only if you kept the disk in a refrigerator. Bits are stored by melting the plastic slightly and the dye seeping in. Over time, the warmth of "room temperature" will cause the pits to become less well-defined so the decoder has to spend more time calculating "well, is that really a 1 or is it a sloppy 0". There's a lot of error detection/correction built into the CD specs, but eventually, there will be more error than can be corrected for. If you've ever heard the term "annealing" when used in machine learning, this is equivalent.

Living in South Florida, ambient temperatures were enough to erase CD-Rs - typically in less than a year. I quickly started buying the much more expensive "archival" discs, but that wasn't enough. One fascinating "garage band" sold their music on CD-Rs and all of my discs died (it was a surfer band from Alabama).
In NYC, it's straight up illegal.
I wonder if there'll be a Lolita Express Airship for Sergey and his buddies
No it doesn't. Achieving a dream doesn't erase the hardship you went through while pursuing it
Data can be compressed, then encrypted, then shipped offsite?
> Most people would become equally corrupt if presented the opportunity

Bold claim, without anything to back it up.
https://www.adobe.com/express/feature/image/remove-backgroun... does it for free. You do have to create a free acount in order to download the image though.
Wait, you got banned from /r/Baltimore for posting archive.is links there? That's against the rules there? I would not have known that myself! (Also a Baltimorean).
I'd say the Feynman Lectures of Physics [1] volumes cover a broad base with some topics in great detail as well.

[1]: https://www.feynmanlectures.caltech.edu/
> Implying you are wealthy and have oversight over most the company

As an old man once told me: Wealth should not be mistaken for riches. Wealth is the ability to generate richness and experiences. You can be ridiculously wealthy but poor as a bum.

I have no desire to be rich and most of us here are probably fairly wealthy.

As for "oversight over most the company" I have no idea where you got that from. I just said (in so many words) "I'd like the ability to fire/remove/never hire meeting-spawners."
Thank God. QR menus are garbage.

The most frustrating thing about them is that many restaurants don't have their own website, and simply host the PDF on some third-party website, often through a URL shortener. So scanning a restaurant's QR code yields an obfuscated link that, when opened, immediately triggers a download of a PDF menu.

That's shady AF from a security perspective, and we should not be normalizing it.
Why surveys are so expensive?

Not sure. Maybe they have a monopoly on the hosted aspect of it and feel their fancy graphs and analytics make it worth more. The more challenging aspect of surveys is handling email and not being blocked. I would just dole that out to an email marketing company assuming the email addresses are not tied up in a contract that forbids sharing them with a 3rd party and assuming that 3rd party is trustworthy. Many are not.

Do most companies write their own survey software

I've seen it done. Less bells and whistles but it gets the job done. Some employees don't like answering internally hosted surveys for the risk of not really being anonymous, if that was the goal. I suppose it depends on who your target audience is.

is there anything cheaper or are you using some open source?

There are some old perl CGI survey scripts out there but I do not have a link handy. If you don't need all the bells and whistles fancy graphs, analytics then those old scripts may work just fine if you just want structured feedback on something. I'm sure some of the developers here could write a survey form in {favorite language of choice} in their sleep.

Honestly I think just sending a well formed email to everyone and get free-form answers may work for some use cases. Even a dedicated chat channel can work if people do not need to be anonymous. If the survey is for customers I think email or web forms could work but probably takes more time to consume but then you may get more honest answers and more details that the survey may have missed. Customers appreciate human interaction especially if someone responds to them and lets them know if/when their feedback resulted in changes.
I think this would be one way to describe upside down, but my feeling is I wasn't the only one picturing someone fully inverted with feet above head.
On the "anti-fragile" aspect of things, I studied Architecture in college and grad school (buildings, not software/system architecture) before transitioning to programming and the entire education model is built around dozens of critiques over the course of the semester. We don't have final presentations, they're Juries. Each semester culminated in working your ass off for weeks, pulling all nighters for days on end, then presenting whatever drawings and models you had to a panel of jurors who were assuredly going to rip you a new one. They weren't intentionally being mean, but you're a student, and there's plenty to pick apart as there's never enough time to think and do everything. Regardless of how good my projects were, after those final juries were done, I always felt like I'd gotten a heavy dose of criticism.

Going through that process over and over again has been incredibly helpful in my professional life, even though most of the criticism I receive is rarely structured like those juries. The first thing I learned is that it's rarely useful to try and refute or respond to the criticism directly in the moment. If that's your instinct, then chances are you aren't fully thinking through the criticism and responding from a more emotional state, which is not good. The key is to try and actually listen (rather than "shutting down"), remember the key points to process later, and to let the person offering the criticism know that you've acknowledged it.

Second is to realize that nothing is perfect. There is always room for improvement, things that you couldn't foresee, and things you simply didn't have time for. Obviously, the bigger those things are the more concerned you should be, but as your work becomes more and more refined, the criticisms become about smaller and smaller aspects of whatever you've done. The goal is not to get zero criticisms of your work, but to have the criticism that you do receive be about less and less important elements.

Third is that someone will always have something to say. Interpret that in a number of ways. If you're getting a code review, you're soliciting someone's opinion or your development process is dictating it. People will come up with criticism because that's what's being asked of them, and even if it's "perfect", responding with nothing makes it seem like they're not doing what they should. People like to offer criticism because it makes them feel important; they see a "flaw" you didn't, even if they don't really understand the totality of what you did. And while its disappointing to say, some people will criticize you for personal reasons, be it against you directly or because they think they stand to gain something by doing it.

Ultimately, you have to decide what is worth listening to and what is not. If nothing is ever worth listening to, then that's something that's likely more on you than the criticism you're receiving. It's also very tempting to discount criticism from certain sources because of past issues with that source. Process each criticism from them in the same way, regardless of the past, because you never know when they actually might have something worth listening to.
What's in a LTO drive that costs so much

NRE: non-recurring engineering expenses. Every product needs to be researched and designed before manufacturing. Take all of those costs and divide by the number sold (which in the case of tape drives is very low).
This is my framework:

1. Acknowledge to myself that I don't know everything. Do the work to the best of my abilities.

2. Anticipate criticism with the optimism that I will learn something from it

3. Receive the criticism, and take time to really understand it. If I don't understand, I ask questions until I do understand. If I do not believe it is better than my solution, I make my point the best I can.

Part 3 is the tricky part because communication is hard. But all team members have to discuss in good faith and understand that the team is more than the sum of its parts; each opinion should hold equal weight (even if its between a junior engineer, and a team lead).
US lawmakers urge PayPal to end ban on Palestinians in Occupied Territories
This ... but we all know business is corrupt.

The current attempts to spur on regulation by OpenAI is moat building
I've no usage experience myself, but, I'd say running (and now packaging or compiling) modern JS or Typescript directly without having to build a pipeline with tools like webpack.
Try eating the same lunch you are used to, just less of it.
If you control all of hiring, you have the power to shape the entire company in your image, is what I mean.