skysight-inc/HackerNews huggingface dataset:
In a similar vein, Elixir has what is basically compile-time-only macros (the macros being conceptually similar to Scheme's). You can transform the AST to arbitrary other AST, with hygiene, and of course, provides ways to reference the parent scope if needed. Macros are even based on the familiar quote and unquote system of lisp/scheme.

Caveat: I will note that technically speaking Elixir does not have a strictly separate compile time and runtime. However, in practice the language is used like it does. Compile time code is normally just a bunch of definitions of modules and macros and functions contained within. Executing the compile time code normally has no effect other than creating compiled modules. One can technically put things like loops or I/O etc at the top level, but that is normally only done if writing "scripts", rather than normal progarm code.

Thus for a normal program compiling it is basically just running an interpreter over the source code of the program. Indeed the elixir compiler executable is literally just the same as the interpreter used for scripts except with a flag to save compiled modules to disk rather than just leaving them in memory. (Plus a few other really minor differences that are not really relevant here.)

Runtime is then just asking the beam VM to execute the some function in the previously compiled module. While in theory one could try to define additional modules at runtime, this is not normally done. The language design strongly discourages this. If you need to generate modules programmatically, you are better off doing it as macros, which will run at compile time. Thus, normally the compiler is not used at runtime, and while I don't think elixir offers an option to remove the compiler at runtime, one could remove the underlying Erlang compiler at runtime, and without that the elixir compiler would just fail.

There are, of course, no artificial limitations in macros. They can run any code that could be run at runtime, in addition to modifying the AST, or defining new modules. In theory the macros could even present an interactive user interface, but obviously that would be absurd.
You have the right to privacy.

Privacy is not, has never been, and will never be, equivalent to full perfect anonymity.
The Beige Index: How diverse are films
I'm not familiar at all with this space. Is vertical farming a possible solution here?
including the GPU memory I say it's insane :) -- Also, you need more than 32GB of RAM to follow the instructions verbatim in the repository. People were saying the scann indexing fails even with 64GB of RAM.
Don't take things to literally, the outcome of "we set out to build an arbitrarily smart compiler" and "we build an arbitrarily smart compiler to achieve X" are indistinguishable.
Thanks for the share. I clicked the source cited in the page, it seems to be quite an overkill/invasive method (and dangerous for the person doing the detection), no? It seems to not be accessible to civilians...
> The main issue is with memory semantics however, stuff like tagged 64bit pointers are UB land pretty much immediately. MiniRust solves this by providing an explicit memory interface trait.

But this is no different from C! The way C programs interact with memory is defined in very similar terms to MiniRust's memory interface trait, using "objects" with some rules for which pointers are allowed to interact with which objects.

In both C and Rust, if you want to do pointer tagging or bit packing, you need to consider the language's rules carefully- this does not mean you cannot do it in either case, only that you are stepping close to the boundary of what is supported.
Do not trust data you have not checked yourself
...because it isn't perfect yet?

No, because it hasn't been demonstrated to even work as promised, let alone "isn't perfect".
This one is the winner for me in the thread. I saw a video of it a while ago and I was fascinated by the idea that voltage differences are the way the DNA gets expressed. Yet nobody seems to be taking about the bioelectrical science of it except for this small academic crowd.
> if you 're into counter intuitive zen aphorisms that make you feel smart.

Can you elaborate a little more on what you mean by that? I’m genuinely curious because the sentence doesn’t make a lot of sense to me!
I'm wondering if all agencies are trying to capture as many pics of high officials of other countries to make the best training set.

Then they can use it during war.
I actually cant, my knowledge is anecdotal. When I search around the web, there are articels that stating the same. Here is a (old) reddit thread:

https://www.reddit.com/r/IAmA/comments/allg3/i_used_lsd_and_... (I see this is anecdotal as well)

Its hard to find serious papers about it because most of the time its due to "abuse" of drugs and (!) mixed consums.

Anyways, I had a friend who was really into mushrooms overall (not only psychoactive ones) and while he was pretty open to drug using he stated multiple times that overdosing can lead to bad trips and so called "hängenbleiben" (I dont now the english term, it means the trip never really stops).
They don't really serve the same purpose. Vulkan is a low-level graphics API while CUDA is a much higher level toolkit for GPGPU.
Microsoft Office to publish debug symbols starting August 2022
This is actually not true. If you have stolen goods the government can and will confiscate them until you prove you got them legally.
> You can look at the types of actions people took to get a big tech job (...) and there's probably a double-digit percent chance of you being able to replicate it.

You think more than 700 million people can get a big tech job?
never said USA did well during pandemic... i mean didn't like 380,000 die just because they lacked health care in the USA? couldn't that also be a factor?
I think we are typically not as good at spotting good code as we think we are.

For example, I inherited a large code base I while back and thought the classic "I can do better than this". After a few hours of hacking together a demo, only then could I appreciate the existing code base and how nice it actually was.

I think in general I look for a good level of abstraction - but not too an insane level. The best measure is how quickly you can understand it, and how long it takes for you to contribute to it.
Yeah it amuses me how the Democratic and Republican parties and their politicians are so similar practically speaking, but the party-goers(?) scoff at this and try to explain how different they are. I assume to make themselves feel better for voting for one or the other.
Authy has access to the secrets if someone enables cloud backups, but they're encrypted with a user-provided key that must be re-entered upon syncing to a new device.

I'm aware of the simjack risk, but that would require:

1. That I'm using cloud backups

2. That the attacker has also obtained my backup key

None of this seems fair to summarize as:

> Your security tokens can be reset using SMS.

I'm not claiming Authy is perfect, but it seems to use a reasonable approach for people who don't fall under the "high value target" category.
Fresh install. I have a license from an earlier machine. The bundled junk that comes from OEMs is much, much worse, yeah.

Though Microsoft is doing everything in their power to become the biggest offender, with their near-requirement of having an MS account.
> because a function was too long,

Famously, function inlining decisions were based on the size of the function, not the size of the AST of the function, which lead to situations where removing inline comments allowed a function to be faster.
That's... an incredible footprint. Surely even if there was no size limit, deduplicating the build output would have made a lot of sense?
Killing journalists is so sad. It means corruption is winning. We take it for granted that corruption isn’t in control but that is far from universal.

(That said the us has a lot of issues with powerful interests who significant skew policy - eg lack of health care, insulin prices, carried interest tax provisions etc - making but it is still better than just outright killing people.)
Show HN: Learn Python with Minecraft Interactive World Builder
I'm working on a FOSS project to teach Python Programming by writing code that interacts with a Minecraft world.

Full instructions and tutorials are provided in the documentation.

Please try out out and give some feedback!
I have a couple of Roombas, but I'm glad I still have older non-mapping, non-internet connected ones. I got them because I didn't want to have to rely on some app that could get discontinued or have to deal with Wifi. I never through Roomba would get acquired like this.

Looks like I'll have to switch to a different brand when they break (or try to keep them going, years ago I saw something about people rebuilding the Roomba gearbox with metal gears instead of plastic).
I'm conflicted about this, in theory good comments and insight can come from anyone. In practice, reading some comments on at best waste your time, and at worse make you dumber.

Information is like food for your brain. But with information, you can't tell what's nourishing, what's junk food, or what will make you sick until after you've consumed it.
I manage running multiple products of –$18K/mo total revenue
Not a huge deal but I have accounts linked to the Authy app which I no longer have access to because they're from old jobs (like a github of GSuite account) and every party involved says they cannot remove the accounts from the app, so I just have to look at these nonexistent accounts for eternity (I just switched to one of the other 19 2FA apps that have a usable interface and functionality)
Predictions of how inflation will trend in the future are a dime a dozen. I have no crystal ball that gives me anything to add there. However, I’ve learned a number of surprising, important things about how inflation and the Fed work, which explain things that seem paradoxical at first glance. I think these “mechanical” aspects of inflation and economic policy are useful for making better decisions when it comes to big life purchases, investments, jobs and even whom to vote for and why.
It's important to note that Twilio can't sell WebAuthn as a service, at least not until they try to compete with Auth0 or Okta B2C directly. If they provide it on their own accounts instead of dogfooding their 2fa products, it probably doesn't inspire their customers with confidence in Twilio's product.
Maybe they'll make a Roomba robot or a Ring door lock that can let Amazon delivery drivers into your home/garage/backyard to drop off a delivery.
The initial versions of the Rust compiler we're written in OCaml.
Actually the current state of the art of H2 is fundamentally safe so to say, e.g. it's wrapped into some sort of oxide. But the most important cars on the market (of which there aren't many types) still use the 1st gen approach which is a bit unsafer.

I think there are solutions to the show stoppers of H2. But the package isn't very appealing, at least not for individual transport.

Also what makes EVs appealing, they've reached a state of convenience that makes them feasible for most use cases. And for the rest it seems some hacky solutions are possible.

Of course the waste of switching from ICEs to non-ICEs will be incredible. But well, hard to see any alternative..
The libraries you pull in can be big. Add, e.g., LWIP for internet, USB filesystem management (data logging and USB firmware update), code to properly manage OTA or Ethernet updates, text strings, especially in multiple languages, etc.

What seems like a huge amount of Flash disappears quickly.
Tesla isn't hiding data, they simply only have autopilot data on highways, which their autopilot data suggests it's safer than human pilots on highways. Which to me suggests we should be putting social effort behind making autopilot (on the highway, at least) the norm.

Perfection is not a requirement for advancement.
We already have robots that are adept at single tasks. Washing machines, microwave ovens, coffee makers, chip fryers, the list goes on. Robots made in the shape of the task that they are accomplishing. There is very little to gain from having a general purpose robot that is mediocre at everything.

Even if general purpose robots were to become commonplace, it is extremely unlikely that they would be humanoid. Apart from opposable thumbs, humanoid design is awful for nearly every task imaginable (which we overcome with intelligence and creativity).
When I had to implement similar stuff in a program I created the user was Always prompted and the user had an easy way to check the data that was sent and they could deny sending the report.

I assume the car has enough computing power to self diagnose any component issue and you don't need to send your logs to the cloud for a super computer to see that your battery is broken. My guess is like all telemetry, it is done for the company benefit not the user.
I guess that having old artefacts is nice, but expecting 47GB of storage for free per repo seems ludicrous to me.

Maybe it's a generational question, but I would be pretty happy with 1-2GB (i.e. git history, and one artefact per platform).
One possible explanation is that it's not a centrally issued order, and it comes from the same ignorance that drove them to dig trenches in the deadly earth in Chernobyl.
That is what github has now, doesn't seem to be out of the ordinary.
in my career i've personally worked with no less than half a dozen bald coworkers.
i do think this is a good idea but won't work for everyone
The measure of "mainstream" should not be "projects on github" but: code deployed (or actively deploying) in production. GitHub is full of personal interest and research and unfinished projects.

It will come. It's not there yet.

I still argue it's not the language best suited for what a lot of people are trying to use it for. It has a niche, one that I like, but I fail to understand why it's being deployed for web services type applications. IMHO it's not a good fit.
Why do robots need to be humanoid. I wouldn't care of the robot building the cabin looks like a human or a box with 8 tentacles.
That's kind of trivialising it. It's usually more complicated than dropping scripts on instances.

Unless you're doing something very simple, there's a lot of wheel-reinvention involved in writing your own scripts when there's mature software and services available to manage infrastructure at scale.

And what you've said doesn't really address networking, storage allocation, and the many other things the cloud provider handles, which is not configured on the instance, but rather, by vendor-specific APIs.
I assume most images and videos on the internet are doctored and have been since the invention of photoshop.

I don't feel the need to check for reality. I've seen screenshots from games that look more realistic than some pictures I've taken (Forza on max settings at the right angle might as well be a photograph) and this trend will only continue.

This tool can be considered more of an automated version of meme communities, where dedicated members will spend an hour photoshopping muppets into historic events and making the pictures look absolutely believable. The only novelty I see is that the computer now does a lot (but not all) work for you.

There are nice opportunities here. If you need a stock photo of something very specific, you'll soon be able to generate one with the right query and the right AI. Small companies can generate fancy brands without paying professional designer's fees, especially if all they need is a billboard and not a whole suite of office supplies. You can generate your own posters and decorations featuring interesting landscapes and scenes in any style you want.

The current iterations of these algorithms are quite limited in many aspects and sometimes uncanny or even horrifying, but I look forward to a future where I can imagine something, describe it, and have it rendered into digital art just like I pictured, without having to spend decades on honing my skills as an artist.
Would you please stop posting unsubstantive and/or flamebait comments to HN? You've been doing it repeatedly, it's against the site guidelines, we end up banning such accounts, and we've had to warn you more than once before.

If you'd please review https://news.ycombinator.com/newsguidelines.html and stick to the rules when posting here, we'd appreciate it.

Note this one, just to pick one example:

"Eschew flamebait. Avoid unrelated controversies and generic tangents."

That's one of the most important rules for avoiding what turns internet threads dumb and nasty.
This doesn't affect me, but a better way to handle this would be to sell extra storage at, say, double GitLab's cost. Digital Ocean sells 250 GB object storage at $5/month and $0.02/GB beyond that.
They release quarterly data that shows it works as promised and is much safer than human drivers on highways.
Why don't surgeons train like fighter pilots? Now some do
Or VOIP over a VPN but then again why would yakuza bosses be using the regular unencrypted telephony system in the first place?
It's kind of both. SMS 2FA is more likely to serve as an onramp for "good customers" who are developers actually building real applications using your services, rather than people who are mass-blasting borderline spammy marketing texts.

Traffic that gets identified as marketing traffic as opposed to traffic that will involve a human responding (like a chat bot to schedule with your doctor's office) actually costs Twilio much more to send because the Telco carriers charge more because they have to put more into mitigating the risk of getting blocked and sued for spamming.

So the "good customers" are lower volume but higher margin, and generally more likely to grow at a sustainable pace and not disappear off the map, as the have a lot of code around using your APIs, not just "Send a kajillion messages". Those "marketing" customers will jump off your platform in a blink of an eye if someone offers them cheaper prices and less oversight on their spammy practices.
> which are basically community spaces.

These are primitive 2D games with videochat. These technologies existed for decades, it's naive to expect anything more from them than already exists. Changing the name to something more hyped will result in nothing more than a wave of hype.
> by asking e.g. what the largest organ in the human body is.

Which is part of why they had subscores for related fields. Obviously we can't quiz about the actual controversy, because we disgaree on the facts.

> It doesn't even make any sense.

I think it's interesting that people who disagree with these consensus have, on average, lower overall literacy in the sciences-- both adjacent sciences and other science, but believe they have above average literacy and will outperform the average on tests.
The quality of that 'average' has absolutely skyrocketed in the last decade or so, as ever-more-powerful tools have become available for ever-lower prices. But at the same time, we're also seeing 'indie' games with larger budgets than ever, either funded by publishers and or previous successes.

But games have been massively devalued over the last decade or so, when you've got AAA games practically given away (Game Pass, PS Plus, Steam sales), and indie games bundled up and sold for pennies, alongside the rise of F2P.

So now starting an indie game team is like starting an indie band. If you've got a bit of talent and put the effort in, you now have access to inexpensive high-end tools to unleash your creativity. But if you want to actually make money from your endeavours, it's getting ever-harder. And with the relative easy of porting games build with Unity/Unreal, even brand new platforms have completely oversaturated stores more or less by launch day, too.
The End of The World Is Just The Beginning delves pretty deep into this. Very interesting read.
Yep, there's not really any such thing (IME) as a 'recoverable' error - except with respect to I/O.

There's either I/O errors - or there's logic errors. A failure with logic should nuke due to the app being in an inconsistent state; trust is lost. An I/O error should fail softly.
When in my work environment (linux, tiling wm, emacs main window) I do almost everything with emacs. I run a terminal emulator, sometimes I open web pages, I code (obviously), I debug, I used to write mails, I use IRC exclusively with an emacs client for over a decade (rcirc).

Everything text related is a joy once navigation and using emacs is purely muscle memory.
I was briefly in the "I've nothing to hide" camp. To put it more concretely, I didn't actually believe it, but I couldn't pinpoint what's wrong with it.

What did it for me is manipulation - everyone can be manipulated with enough knowledge and effort, regardless of how smart they think they are. If you think that you're environment and what you see doesn't affect you, you're just plain lying to yourself. Collecting all this data massively increases the knowledge and reduces the effort necessary for those companies to manipulate you. Manipulate you to buy stuff. Manipulate you to engage, a.k.a. give your time away to make them money and so on.
I don't have a problem with any of the terms personally, because I feel I have a good understanding of what it is actually capable of.

What I think is more important is understanding what the general population of buyers of these cars think it means. Whether they are wrong or right, what they think it means effects how they drive with autopilot on, and whether they are looking ahead or on their phone.

The only real way to know this would be to measure it, and I doubt that is knowledge that Tesla wants to know.

As a side note, the Boeing pilot will spend a great deal of time looking at charts or their company laptop once they are at cruise with their auto-pilot on.
Well, you can have a successful product with a better or worse code-base. Of course, if the product is successful, the code has to be good in some sense. But that doesn't mean that there aren't parts of it that are in bad shape.

For example, I've worked on a huge C# product that has been developed in various epochs by up to 100 people at a time. When I was working on it, it was around 10 years old. Certain parts of it were in good shape, others had stuff like a 5k+ line OnPaint() method for a table cell that was doing data processing in place and had stuff like "if ((value == -2) && (type == someTableType) && (userOptions.SomeFlag == SomeEnum) && (someOtherColumn.Value == "something")) { value = paintCheckBox(enabled) }" and such.

Of course, that code was doing what it was supposed to (at least in general), and it had gotten to this state during a really bad delay where bug fixes/features had to be churned out to reach an important release date - so in some sense it was "good". But in the sense of being possible to change without a major re-write (of that particular area I mean) or without introducing 3 bugs for obscure combinations of features, it was really bad code.
Somehow i think articles like these are bs. Those people can move drugs, weapons, and even people yet the author imagined they’d struggle getting phones and sim cards.
It can happen. We keep working on improving in these cases, and we do give newspapers guidance on things they should consider to help avoid it.
The AK-47
I think AGI, when it inevitably arrives, will be so disruptive to our brains as sugar and sedentarism. We've not evolved to question whether what we see, hear and feel is real.
I guess I'm wondering what you're getting at. Are you saying a more inflexible/less agile model is a better model? Doesn't that have a similar problem? When say, for example, Wireguard's choices become obsolete doesn't that operate like a DOS as well? What's your point?
We don’t need to say “might” - this has been the case for ages, and we can see how that’s gone. This looks like Tornado has had enough volume that the Treasury department cares about applying existing laws to it, but fundamentally this doesn’t seem to be different from Visa requiring foreign transactions to follow the U.S. rules.