skysight-inc/HackerNews huggingface dataset:
Json is the default go-to standard for web services nowadays. But it doesn't mean it is the best format for your requirements. I'm not sure what an audio transcription is exactly, but if you can "stream" it you don't need json at all. Just use some basic serializer and stream that instead.
Well, yes. The only thing missing is knowing if you have to swap or not, if you don't want to assume your code will run on little endian systems exclusively.

Or, on Linux and BSD systems at least, you can use the <endian.h> or <sys/endian.h> functions (https://linux.die.net/man/3/endian) and rely on the libc implementation to do the system/compiler detection for you and use an appropriate compiler builtin inside of an inline function instead of bothering to hack something together in your own code.

The article mentions those functions at the bottom, but strangely still recommends hacking up your own macros.
It is suspiciously close tot he "Lizardman Constant" of 4% https://slatestarcodex.com/2013/04/12/noisy-poll-results-and....
It would be awesome to be able to find people like you in the grocery shopping queue to chat with about topics like this!
Given enough memory it may be worth treating the whole stream internally as a bitstream.
A small section of the total workforce has had a massive salary bump due to a severe shortage.

Not sure what that's got to do with anything we're talking about.
How many dyson spheres do we need to account get rid of the dark matter and modified gravity?
Swipe down. Top left I usually see what is using the camera
There was some concern about liability. One of the shops I frequented in the late 1990's would only let customers who they trusted browse through their sorted junk piles. These piles contained things like bicycles, which had to be thoroughly inspected and properly repaired in order to be safe.

I also noticed a transition towards boutique style stores around that time. While the older stores may sell a box of books or bag of clothes for a few dollars, the newer stores would only sell items at their sticker price (or with a fixed discount during sales). Less product moved since people would only buy something when they felt it was worth the sticker price, rather than paying what they felt something was worth. The transition made space/economics more of a factor than it used to be.

Some of the old style stores still exist, but they are increasingly difficult to find.
AFAIK it was their legal department, who advised them that calling it a "Linux Subsystem" may run afoul of the Linux trademark, especially considering that in WSL1, Linux itself was not involved at all.
Don't they pay them like 40 cents an hour though? It might not be that egregious anymore but those programs are exempt from minimum wage laws and as far as I know goodwill takes that as far as they can.
Responsiveness is very good
If Facebook would ask me, I'd opt in to tracking, as I prefer targeted ads over untargeted ads. But I'm too lazy to manually enable that setting, so I'm in 96%.
That's why you've dark energy added as the infamous cosmological constant in the equations.
That's why I said 'on the list' referring to the main screen (where you can see the list of all active chats). As far as I know the nickname is shown on messages on a group, next to the number, and on the info screen (of both a private and a group chat).
Ramping up exports is a political win that creates jobs. Waiving IP rights requires going up against mega-pharma. Which exactly requires courage?
Also specifically artifacts like the bullet nebula, where observationally we can see gravitational lensing totally removed from the colliding gases in the X-ray spectrum - exactly what would be expected if dark matter had been separated from the object by it's inability to collide with itself via normal mechanisms.
Duckduckgo does some kinds of shenanigans with images that appear as a result of an NSFW search.
Did you touch it yourself? Can you like sand it without pieces coming off? Their samples that are not the vases seems better.
The Chinese government are actively preventing the survey from occurring so that may be one reason we have not found it.
I guess these numbers would translate roughly to other apps. It'll be interesting to see how the earnings of apps with ad-only monetization develop. Assuming the earnings will actually drop, I can think of plenty of ways developer could try to work around the newly introduced restriction.
I guess that is what I meant by conveying accent, but pronunciation is the correct term, evidently escaping me at the time.
Apple laptops interfaced with phones in 1999
One does not simply introduce C++. It's the most insanely hardcore language there is. I wouldn't have stood any chance understanding it had it not been for my gentle introduction with C for several years.
This is common in much of the EU. When my washing machine broke down¹ it was taken away with the delivery of the new one; the seller is required to offer that (free) option. This is the easiest way, but I can also schedule an appointment with the municipal garbage disposal hotline to come pick it up a few times a year.

The alternative is people dumping their stuff somewhere which will have to be cleaned up anyway, so this is cheaper.

1: I did repair it some years prior (broken cross piece), but this time the electronics failed, and with a toddler getting a working washing machine fast is kind of a priority.
Well, obviously it would have delayed the transition. However you can only go so far with 4Go-limited memory.

And do you have examples of still widely used 8-bit sized data formats ?
https://stackoverflow.com/questions/5185551/why-is-x86-littl...

It simplifies certain instructions internally. Practically everything is little endian because x86 won.

> And if you think about a serial machine, you have to process all the addresses and data one-bit at a time, and the rational way to do that is: low-bit to high-bit because that’s the way that carry would propagate. So it means that [in] the jump instruction itself, the way the 14-bit address would be put in a serial machine is bit-backwards, as you look at it, because that’s the way you’d want to process it. Well, we were gonna built a byte-parallel machine, not bit-serial and our compromise (in the spirit of the customer and just for him), we put the bytes in backwards. We put the low- byte [first] and then the high-byte. This has since been dubbed “Little Endian” format and it’s sort of contrary to what you’d think would be natural. Well, we did it for Datapoint. As you’ll see, they never did use the [8008] chip and so it was in some sense “a mistake”, but that [Little Endian format] has lived on to the 8080 and 8086 and [is] one of the marks of this family.
Sorry, it's a chart of all countries that support parent waivers for vaccines, not including any recent moves by the Biden administration
You don't need to introduce anything new in order to point out flaws in the current status quo.
> Indeed, for the outside world I'm also a deadbeat (although they never say out loud).

I don't know what the slang term "deadbeat" means in your culture, but in mine, it would not be applied to someone because they worked as a garbage man.
This tenant is true at so many levels. In the everyday ratrace that we are all living, the "financial freedom " we all strive for is nothing but our passive income being enough to cover our expenses.

Most of us race to increase our passive income, when maybe the healthiest choice would be to run to decrease our expenses.
I'm sorry for your bad experience.

"Undo and redo" shortcut don't seem to work, but the clickable undo and redo button at the top left work.

It's a quick project which arose from curiosity : "what would happen if the hateful AI tried to do the opposite".

This AI does its best to always provide you some outs to the limit of its abilities. You have plenty of freedom to guide the game into interesting landscape while having an AI that always offer you safe ways to recover. But you still have to play your part, the AI can only handle half the job.

Lovetris has some interesting complexities, and touch the subject of collaborative AI whereas Hatetris is an adversarial AI.

Collaborative AI and AI alignment are interestingly hard research subjects which have philosophical and technological components.

With subject as deep as love and working jointly, it's hard to satisfy everybody.

Lovetris with its "exhaustive short horizon exploring strategy with simple terminal heuristics" isn't capable of perceiving long-term intent farther than its tree searching depth. And reciprocally, if you set the horizon too far, the human player is bad at reading the intent of the AI, and doesn't do what the AI suggest.

There are probably better strategies, like monte-carlo tree search with some neural networks which could better solve the intent communication problem between the human and the AI, and provide a better experience, but they take a little more work than just flipping a sign.

Add a little feedback via data collection and such an AI can probably send its player into an hedonistic loop.
I didn't got the final report because of some error, those numbers were printed during the execution of the benchmark.

I executed it giving both the client and the server 4 CPUs, now I'm running it again with 180s duration and gonna update the original comment if I get to see the report or there is any significant change
D's machine model does actually assume the hardware, and using the compile time metaprogramming you can pretty much do whatever you want when it comes to bit twiddling - whether that means assembly, flags etc.
Well, perhaps he is not a "good" product :) Seriously though I'm wondering which ads would target him...
So you don't use adblockers (which block tracking) because you fear they might track you while you know that without one you are being tracked? I'm not sure you thought this through.

If you fear being "hacked" by an extension then there are lots of other options, like pihole, routers blocking ads, hosts files, etc.

I hope you are aware that billions are used on how to psychologically affect people with ads. Even if you don't click them (and especially if you do click those that make you feel good) you will still be bombarded by things made to affect you subconsciously.
This has nothing to do with C++ because your example only hides the real issue occurring in the blog post example: The unaligned read on the array. Try adding something like

printf("%08x\n", *((uint32_t*)(b)));

to your example and you'll see that it produces UB as well. The reason there is no UB with big_uint32_t probably is that that struct/class/whatever it is probably redefines its dereferencing operator to perform byte-wise reads.

Godbolt example: https://gcc.godbolt.org/z/seWrb5cz7
I'd like to add two points, if I may: (1) After selecting and then buying a digital scope you might also consider finding a used analog scope to have as well. The analog scopes allow you to view signal features not so readily viewable with the lower end digital offerings. (2) I've not used them myself but you might also look into the Digilent; i.e., Analog Discovery 2, modules which can offer a rich feature set including a built in function generator, logic analyzer, metering etc.
Exactly. This is the same reason Facebook won't let users moderate content.
I’m not sure it’ll work out this way because a lawyer can become a coder much easier than a coder can become a lawyer. Then again, lawyers are notoriously allergic to all-things-technology, so who knows.
I work in control systems OT space. A lot of distributed control systems and scada systems interface with the business layer in some fashion to provide access to time series and event data and to allow for alerts via email/mobile. Some people do this properly with good network segmentation, firewalls, A/V and patching, etc (there are several standards that dictate best practice). That said, even when doing it properly you're introducing attack vectors. I don't think it would be a firmware vulnerability, but instead something malicious affecting the computers they use to control the process.
Alien: Isolation Re-Review
Given Government inaction on climate change, could we begin to see motivated individuals or groups taking matters into their own hands and targeting fossil fuel infrastructure in this manner?
> solve 10 generic and meaningless problems using this formula

I used to think this too, even when I started teaching. But I think if you look at a (modern?) textbook you'll see that those problems are not actually generic.

They are often designed problems that are trying to help you gain insights as you solve them. Each problem is probably demonstrating a different interesting pattern, if you are looking for that. Admittedly, students are not taught what to look for in those problems and if the text book as "answers to odd problems" in the back of the book, then there are probably 2x the number of problems necessary.

I teach HS Computer Science and I have to teach about division with ints and doubles. It would be nice if I could just explain the rules and give 2 or 3 examples and be done with it... but it turns out I have to have them work through lots of "generic and meaningless problems"

10 / 5
5 / 10
10 / 10
10 / 3
3 / 10
10 / 5.0
10.0 / 5
10.0 / 5.0
10 / 3.0
10.0 / 3
10.0 / 3.0
10 / 10.0
10.0 / 10
10.0 / 10.0

Each of those problems demonstrates a different "edge case". Towards the end there are some repetitive ideas I could leave off (once they know that double/int, int/double, double/double all evaluate to a double it may be overkill to keep repeating those patterns, but...)
If I don't have them work through each of those problems, it is likely that at least one student will pick up the wrong pattern and run into problems in their labs when they encounter those patterns.

That being said, I think the biggest problem with math education (in the US) is that many Elementary teachers would probably rank their Mathematics skill as one of their lowest skills. I personally know an elementary school teacher (with a master's degree) that took her last Math class her Junior year in high school. I met her in her college Math credit course which was a Computer Science survey course where we listened to talks by researchers and wrote 1 page papers about what they were researching.. I know she's a great teacher, but she just doesn't have the math background to teach more than "these are the steps to do math, follow them to get the answer."
> That's the problem with these bespoke binary formats like ELF - they're not designed to encode arbitrary schemas of data, they're designed for very specific tasks and then when they get used outside of their intended environment, we get problems like have been described in this thread. Nobody has ever had these problems with a JSON document - maybe with something that consumed one, but the file format itself simply does not have the same kind of limitations like ELF does. It has different limitations, but they're not of a fundamental and semantic nature like they are in a more rigid format

This is nothing specific to binary formats, but specific to insufficiently extensible formats. Note that I specifically mentioned flatbuffers, which provide for extensibility while keeping parsing latency low.

Also, ELF was designed to be extensible by adding new sections. You could totally add functionality by adding a new section holding JSON data.

Don't confuse JSON with extensibility. I've seen plenty of headaches with poorly thought out JSON schemas where forward compatibility wasn't sufficiently well thought out. There are also tons of elegantly extensible binary formats. ELF is just old; much older than JSON. A new binary format would probably be more elegantly extensible.
Why, is something specific scheduled to happen in 5-10 years?

Also, I'm not sure why I should consider myself "acting in accord with divine or moral law". I've never done even that, much less have I been "convinced of [my] own righteousness especially in contrast with the actions and beliefs of others". That would seem utterly pointless.
Thanks for sharing. Very interesting. I wasn't aware of Cranelift. Will read.

What are people's thoughts on the current state of the art in using Cofe generation for higher level and lower level development?
But this isn’t a intelligence agency matter. Just standard law enforcement.
> I wonder what would incentivize such irrational, anti-scientific behavior.

A) We have a very good model of gravity, tested in a lot of systems (like the lab, planets orbits, ...)

B) We have some other systems (like galaxies, ...) were the model fail.

So the possibilities are:

1a) The model of gravity we have is wrong. [We know it's wrong in other cases and we need a Quantum Gravity theory, but this correction is necessary for other king of systems, like very small and with huge gravity fields, so it's probably not relevant.]

1b) The model is correct, but we are making bad approximations. [Other comments are about gravitomagnetism. I doubt that's the problem, but this is not my specialty.]

2) We have a bad understanding of galaxies and other systems where the current model of gravity appears to fail. Perhaps we are only considering the matter we can see. Perhaps there is more matter that is somewhat "invisible". We can guess where that "invisible" things are and see if we can fix the predictions of the gravity model. We only need a catchy name for this "invisible" thing because it may not be actually invisible [1]. What about "Dark Matter"?

3) As this article explain, perhaps both are correct and we need to fix gravity at a galactic scale and also find some part of the thing that are inside a galaxy.

What is the correct rational scientific behavior?

[1] They may be invisible from here using a telescope, but they many be visible if you are nearby. Nobody is sure. The names of the models are weird. https://en.wikipedia.org/wiki/Massive_compact_halo_object https://en.wikipedia.org/wiki/Weakly_interacting_massive_par... https://en.wikipedia.org/wiki/Robust_associations_of_massive...
This really is a really good idea (or a start of) for sci-fi.
I buy stocks every month (of what I can “miss”) and do that via an app. I wonder why that is “the wrong way”?
It would make sense that Congress hires a lot of lawyers but since Congress is supposed to represent the people I don’t think having one profession so heavily over-represented is beneficial. And I say that as a member of the heavily-over-represented profession.
Yeah, you can sand it, depends a lot on your nozzle size and if your printing fully infilled or with thicker fringe. If you are printing with full infill you can basically do whatever you do on normal wood/press board.
The idiomatic way to do this in Rust is to use functions like .to_le_bytes(), so you have the u32 (or whatever) on one end and raw bytes (something like [u8; 4]) on the other. It can get slightly tedious if you're doing it by hand, but it's impossible to accidentally forget. If you're doing this kind of thing at scale, like dealing with TrueType fonts (another bastion of big-endian), it's common to reach for derive macros, which automate a great deal of the tedium.
I have ideas that were considered mainstream ten years ago, but are now verboten and only shared in private.
Cyberattack Forces Closure of Largest U.S. Refined-Fuel Pipeline
Look what happened to Kim Dotcom over US copyright at the behest of the corporate content owners: swat team, extradition hearings, the works. The US penalties are greater than murder.
Correct me if I'm wrong, but were the now common numbers not imported in the same order from Arabic, which writes right to left? So numbers were invented in little endian, and we just forgot to translate their order.
My Second Impression of Rust
That doesn't sound like an useful mindset. If you want to do something which works well for your users, but then run with some unusual configuration and tell the users that "they are on their one" when they use the most common config, well, then that just makes no sense.
That argument with field/particles is not right. MOND isn't adding arbitrary new position-dependent field like dark matter hypothesis does. MOND changes the universal law of gravity. That is a priori much better thing to try.

Yes, there is arbitrary interpolating function there (so also a great degree of freedom to fit the observations), but the resulting modified law is supposed to be universal, valid for all points of space and all material particles. Dark matter hypothesis, on the other hand, just adds immense number of new obscure quantities(dark matter density at all points of space) that can be tuned to fit (almost) anything.
None of these are likely to compare to using GRPC with BPF:

https://github.com/fujita/greeter-bpf

2-3x faster than GRPC-Go.
1/4 seems low
It's still Rust for Windows, as in "this is what we need to make Rust an option for Windows development". Thankfully, it's not 2003 anymore when the tools involved would only run on the target OS unless written in Java or by RMS. Nobody wants to bother with the specifics of their build server environment.
>If the majority of these users are looking for privacy they probably wouldn't trust facebook with their data in the first place.

This assumes they know and care that they're being tracked. Once faced with a clear choice without any dark patterns, it's fairly obvious that most users will select no tracking, unless the (supposed or real) benefits of being tracked are also explained to them. With the default Facebook behavior, they simply aren't being reminded of it. Out of sight, out of mind.

It's been known forever that opt-in data collection is almost useless, because the overwhelming majority of users won't allow it if they have the choice, regardless of the expertise. In fact, it's the reason for the current state of things - the telemetry and tracking of all sorts are being forced by default in most of the software and services with no option to disable it.
After Windows 10 comes 0.9? Did 11 cause a version integer overflow?
Can't Facebook just stop their app from working when tracking is disabled? It should be detectable I guess
i support open immigration but current policy just gives us the worst of both worlds. having children is financially impossible, moving here is legally impossible, so of course the only demographics doing it are either extremely rich or (mostly) extremely desperate. there's just a lot of suffering involved, which doesn't encourage positive outcomes in either set of folks. great world we've made
None probably reach him, since he likely runs blockers.
Interesting. But then we would see effect of dark matter correlate with the distance of stars. Right?

I think observations do not show such correlation between spacetime location of galaxies and dark matter/energy presence.
I trust them about the same.
Can you show me these “lots” of music videos using the m word ending in “er”?

For this specific case it is more nuanced, however to pretend the same word is used in pop culture is a joke.
What are the advantages of this over a simple function with the following signature?

uint32_t read_big_uint32(char *bytes);

Having a big_uint32_t type seems wrong to me conceptually. You should either deal with sequences of bytes with a defined endianness or with native 32-bit integers of indeterminate endianness (assuming that your code is intended to be endian neutral). Having some kind of halfway house just confuses things.
Did you just rip this comment?

https://news.ycombinator.com/item?id=27076932
As I was saying... another vulnerability was found in croc's Spake implementation in the last day: https://mailarchive.ietf.org/arch/msg/cfrg/icl1AGo62iq8vQM3-...
This is where I’m at as well. I prefer targeted ads and have discovered a lot of things I wouldn’t have otherwise. For me it’s not that I’m lazy, but when you’re specifically asked if you want to be tracked there’s an innate sense of danger that arises and your brain tells you to say “no”