skysight-inc/HackerNews huggingface dataset:
Macros just is code that transform a (list) data structure into (another different list), and then feeds (another different list) into the compiler (rather than the original (list) going into the compiler: how things happen without macros).

You can see how these things happen in like, Chicken Scheme (R5RS Scheme to C compiler).
A friend and I used Notion to plan an overseas trip. We had a table of potential places to visit (with cost, how long it might take, etc.). I was disappointed to find out that Notion had no way to render those locations on a map.

I'm also frustrated by the typical notes apps inability to store data in a way that it's convenient to retrieve. One example: I'd like to be able to just tag some string (think a UUID or other opaque thing) as a "blob" and then be able to click the "blob" just once to copy it to the clipboard, to be put into other tools.

Your app looks much more up my alley and I'll be signing up.
I have talked with someone else who didn't seem to have a card, so maybe it is now optional? It was admittedly a really annoying--if totally understandable--delay when I first went to use the service, and they probably lose a ton of customers who would otherwise impulse buy their way into their first ride were it not for "and now wait forever for your card to arrive". The card definitely solves this problem, though, as as far as I can tell the car does have local storage for how long you are allowed to unlock it. (Your big problem is if you then get back to the car late and the car re-locks. It has no concept of being home or being done other than your time as determined by the service when you last talked to it is up.)
This has its own problems. For example, it's easy to cheat and it disadvantages people who don't have a lot of time to do homework assignments, which is common for parents.
So who would decide where the shares go, and who gets to runs the company now? Which pension funds get the shares and why? I'm guessing government bureaucrats with no track record of making sound investments or running companies, who I'm sure wouldn't get cushy jobs at the pension funds after they retired. Nationalising industries like this, and yes that's really what this would become, has been tried many times and it just doesn't work.

The way to address wealth inequality is through tax and inheritance reform to shift the incentive system. They way to address political cronyism is political funding reform. Changing the ownership structure of corporations by putting them int eh hands of bureaucrats isn't going to do anything whatever to address either of those issues, in fact it would almost certainly make both of them much worse.

The reason we have billionaires is because these are the people that create tens of thousands of jobs, produce innovative products, provide valuable services. The billionaire owner of a company doesn't have billions of dollars in cash, that wealth is embodied in the value of the jobs and goods and services that make up the companies they control. So if you're going to take that away from them, who do you give it all to? Who gets to decide that?

The fact is capitalism for all it's flaws does work, and compared to the alternative systems that have been tried it's spectacularly successful. Capitalism has raised billions of people worldwide out of poverty, and raised hundreds of millions of people into the middle class. In fact today for the first time in history half the world's population is middle class. These are staggering achievements made possible by unleashing the creative power of individual people exercising straight forward individual economic freedoms. The freedoms that you want to take away.
Pit of success. Make it so that the Right Thing™ is super easy, whereas the Wrong Thing™ is frustrating and keeps pushing people towards the Right Thing. Humans are lazy, use that to your advantage.

For example it's one line for me to configure a new machine infrastructure built to have a certificate for myservice.myorg.example, and there's a Wiki page reminding me what the line is, or I can look at lots of services which already work. If I do that, the automation happens from the outset, my service never has a custom cert or lacks monitoring, it has monitoring from day zero and its certificates are automated. I happen to really care about ACME and the Web PKI and so on - and would have gone the extra mile to do this, but I was astonished on Week One at my current employer to realise oh, this is just how everything works here, the Right Thing™ is just easier.

Does your company have a Wiki page saying how to do it wrong? After writing the page about the right way, update the bad wiki page with a link to your new page, and cross through all the previous text, or even just delete it.

If you have firewall rules or a proxy, block random unauthorised stuff. This is probably a reasonable strategy anyway. Now they come to you to unblock their "submarine" service, and before you do that's the opportunity to insist on proper certificate behaviour.
If you're the only one on the system then nobody's going to swap you out, so it won't do anything. If you aren't the only one on the system, then you're probably not the most important process.

No reason to fight the OS unless you're a hard realtime process, which a database usually isn't.
Highlights from the Comments on the Central Valley
Car2Go just allowed you to take the key with you during stopovers, so you don't have to deal with that.
A Thread with App Store Review on the Death of the Barapp Obama App
Nearing the 10 year anniversary of the app's rejection, please allow me to reflect.

Original app description: "Tired of the same old political chatter? Browse and listen to President Obama's weekly addresses in style, with classy farts that you can fire off at will. For neither red nor blue, just pee-yew."

We didn't bother to try again with 'Trumpet on Trump'.

Oh, what could've been.
It's easier to geo-engineer the atmosphere than to stop polluting it? I'm not sure I understand what's going on in the world anymore.
Just converted all my completely random unsaved (30+ permanently open) note taking tabs/windows from sublime into an obsidian document structure, synced to android with syncthing. Took about 10mins total. Love it.

If anyone's interested ... two very (very) minor things I've noticed in my 20mins of usage (apologies if these are solved - I haven't got to the literature yet):

- same-same appearance of sub-list markers (I prefer alternative icons for tiered lists)

- Headline / filename special characters conundrum. Many of my docs had headlines in them that weren't suitable as filenames, I found myself repeating the non-filesafe headline on the first line. I wonder if there's some kind of front-matter setup that could resolve this?
I know that lisp compilers compile compute heavy trivial functions directly to machine code. But how is the output of a program containing a lisp macro for example. Let's say define a lisp macro don't call it and generate its assembly. What is the machine code output? This is the part I'm speechless about.

"The logic inside that helps dispatch based on the dynamic types at runtime" is the interpreter part IMHO. Plus you need logic to add the metaprogramming elements that require you to change the code after it has been written.

We need to generate an example of something we can't do in C, something which requires evaluation at runtime.
> I feel like stratospheric aerosol injection would have some crazy unintended side effects.

Yeah, but the alternative is lower profits for entrenched corporate powers, so ...

In all seriousness, though, I'm glad someone is considering all options, because the political reality of this planet is that the common-sense approach may very well be off the table, meaning a moonshot is all we'll have left.
Unfortunately, the Sony Open devices seem to be hard to get (at least in Oz). I use LineageOS but there it's only available for a limited set of devices :(
I think it's all just about too-little production. Stimulating demand just made prices worse so they finally stopped that.

Anyway they need those younger generations to keep making more money so they can afford to pay absurd rents for the rest of their lives.
What about the greenhouse effect?
Hell, I started working in an entirely new field this year because I was curious about it - in addition to my current research agenda, which is 75% of my job responsibilities - because I was curious.

And because I read a book this author would dismiss as not being sufficiently august.
One of the oldest entries in the hacker cannon is the “jargon file.”

This isn’t particularly new. It’s always been this way.
Starlink data usage growth in Ukraine
I'm going to use the heck out of this but I can't even touch it until I know exactly why it's named Terminal._G_ui. I figured an explanation would be in the first sentence. The G better stand for something super clever :)
- Fighting webpack (its plugin system makes it a "build framework"). Lots of configuration complexity to support thousands of possible tool configurations, when you need only one combination.

- Angular v1. Scope, transclusion, watchers, directives, DI and things randomly breaking.

- Almost all of the modern devops configuration tools. Would be easily replaced by some very basic typescript functions / libraries and Deno. In fact, cdk8s (which is typescript) comes with a mandatory jsii layer included, adding about 150MB of node_modules. This layer translates between the TS API and other languages you might use (Python etc). You get it even if you don't use the other languages and it has measurable impact on e.g. CI run times

- Bazel (another "build framework"). You just wanted some basic build caching, but get to do all the work for perfect hermeticity instead, which includes things like different directories, dealing with symlinks and dealing with tools that handle those symlinks poorly.

Its really, really easy to pick the wrong tool(s).
> Yeah, but the alternative is lower profits for entrenched corporate powers, so ...

Can’t we just pay these people enough to go away?
You are correct. There’s a particular company that’s local to me that hired away a bunch of my mediocre engineers at very high salaries because they were printing money during COVID.

In 2022 their operations cost was 150% of revenue and I have to imagine that those people are sweating a bit now.
It's hard for me to see a scenario where we reduce carbon emissions by any meaningful amount, TBH.

That said, I'd rather just take my chances with the warming than engage in some mad-scientist cooling plans...

Tangential, but I really enjoyed this podcast with a climate modeler:

https://www.youtube.com/watch?v=GYCrDuxal6k
Because the importance of security isn't respected until it's too late. At any medium to large company in your team's planning process you always need to justify the business or customer impact (even on infra teams). And security related efforts are much harder to sell because the impact is a "what if" and not $$ saved, products being easier/faster to develop, or customers benefiting in some way.

Also basic security knowledge isn't screened for in hiring nor is it really taught in most orgs (aside from trainings that people skip or optional stuff).
I've had trouble with zipcars not connecting in parking garages... Where the zipcars live/supposed to return to.
I'm not seeing this at all. Hiring is pretty hot still and wages have increased fiercely. Recruiters are still a plenty too.
I might give it another go. I tried switching from Evernote a while ago but was a bit underwhelmed. I don't really see the value of bidirectional links yet, the search feature in Evernote has been working fine for me. But will try it out again, and maybe give it a week this time.

EDIT: The Sync feature is far too expensive. I pay about $22/year for Evernote: https://evernote.com/compare-plans
Syncing is a core feature, and I'm not going to use any notetaking tool if it can't sync my notes between mobile and desktop. I don't really want to switch to a tool that will cost $96/year. I'd be comfortable paying up to $25/year.

Even better if there was a self-hosted database that I could run on my own server, or a way sync via Dropbox or Google Drive (that also works on mobile.) Maybe iCloud is an option.
Whether it’s with solar or nuclear (or wind, hydro, geothermal, or what have you) I think it’s clear that the fossils need to be replaced foremost.
Surprises me too given how much real innovation comes out of the Clojure community. Babashka and Clojure Dart are just two recent examples.
I use cloudflare tunnels. No need to do anything to my router. I have 1 open publicly accessible port (80) exposed to the internet via Docker container. In order to reach that port, you have to traverse the tunnel with TLS and my home IP is never exposed and always updated except to Cloudflare. Literally one command and few configs to set up on Cloudflare to proxy traffic to my localhost and various subdomains.

You can have application level security enabled on Cloudflare's side for administrative interfaces, like portainer. That adds another level of security and there are a multitude of ways to verify (Email, token, one time pin, etc.). Super, super easy to set up.

I am a dolt when it comes to networking and don't trust myself to make the correct configurations. I no longer pay for a VPS for my simple blog. I don't want to spend my time becoming an expert Sys Admin/Network Admin... so I chose to go with a tunnel.
From the paper: ”Specifically, we show that GPT-2’s mapping correlates with comprehension up to R=0.50. This result is both promising and limited: on the one hand, we reveal that the similarity between deep nets and the brain non-trivially relates to a high-level cognitive process. On the other hand, half of the comprehension variability remains unexplained by this algorithm.”
i mean, we should be able to get to a future when everyone can enjoy in the bounty produced by technology, it is arrogant to think humans with their limited wisdom can determine who gets to breed and who doesn't
This is so silly. Corporate money caused a housing shortage? What an absolute idiot the author is. Go to City Hall and Sacramento and protest all the NIMBY laws and regulations that prevent us from building housing in the density we need. That's where this author's ire should be focused.

These kind of anti-capitalist reactionary are the reason why the Bay Area will eventually lose its tech edge, and then this type of socialist will wonder why the city "he loves so much" is in a death spiral like Detroit.

If SF didn't have the natural charms it has, it would have gone the way of Detroit a long time ago. This level of absolute obtuseness of the journalists and politicians is usually fatal to an economy.
It's a bit more complicated than that, but fundamentally, defamation involves a "false statement of fact". Weasel wording that would be understood by a "reasonable person" to imply facts can be defamatory even if the verbiage says "opinion", so it may require more careful language to stay on the safe side, but I can't think of any opinion that couldn't fundamentally be expressed at all.
Think flash paper. It could be engineered fairly finely, I bet; possibly using electrical properties to encourage clumping or dispersal as required.
This is exactly what I thought. I'd really like to hear the reasoning behind whoever downvoted this comment.
Only the ones that will succeed (very few, maybe 1%?) have a secret tho
I don't think "promoted" is the right way to look at it. That kind of implies some kind of paid marketing campaign, while as far as I can tell, the interest in Rust tends to be organic.

The thing is, Rust is a bit more novel and interesting than JavaScript or Python. They are both over 25 years old, well established, just about everyone has used or interacted with them. They come from somewhat similar language backgrounds, of dynamically typed garbage collected languages that try to be approachable, with optional static typing these days. Rust is much newer, only being publicly announced a bit over 10 years ago, and stable for seven years, and it offers some unique features that very few other languages outside of academia or very niche fields offer, while also being intended to actually be used as a production language, not just an academic curiosity.

This novelty and distinction makes Rust an interesting topic of discussion; not just for folks promoting it, but also skeptics of the approaches it takes. And Hacker News being a discussion site, it's not terribly surprising that a language that is novel, and polarizing, is discussed more often than ones that are pretty much ubiquitous at this point. That doesn't mean it's used more by HN users, but it certainly is discussed more, because it's more interesting to discuss.
Communism is when the threat of violence is used to enforce such a rule. I see it as a culture problem but do not wish to use violence to correct it. I think your boogeyman radar is off.
And some Lisp implementations optimize some cons lists into vectors. The technique is called CDR encoding[1]. It's my understanding that at least the latest generation of modern CPUs actually have optimized instructions for tagged 64 bit pointers too, so this can be implemented efficiently on current hardware just as it was on Lisp machines! Of note though is that mutability complicates things, as usual.

[1] https://en.wikipedia.org/wiki/CDR_coding
>>So has the average compensation for banks vs private sector in 1950 vs 2020.

That is not surprising given how much more government subsidized, via central bank operations and programs like GSE-guaranteed mortgage-backed securities (now issued at a rate of $1.7 trillion a year, to provide financial institutions with massive zero-risk investment returns), and regulated (centralized), banking has become.

>>A large state DMV in that era was probably 90% clerical, with 12-15k workers. Now they are 80% professional with 2-4K workers.

The private sector has also become more professionalized.. It's not just banking that has become more automated amongst private industries.

Government compensation has increased for teachers, police, paramedics, etc, because they have increasingly powerful lobbies able to extract increasingly generous concessions from the political parties in power.

In the 1950s, the vast majority of public sector workers did not have collective bargaining agreements with their employer. That has dramatically changed as public sector unions have gone from strength to strength. This is a systemic phenomenon across the advanced economies, resulting in spending patterns like this:

https://ourworldindata.org/grapher/social-spending-oecd-long...
One organization, the US government, could do this alone.

Stopping a billion separate entities polluting the atmosphere is organizationally infinitely harder.
London bridge?
I have gigabit Google "fiber" (really webpass which uses point to point microwave links). It's very hard for to max out the bandwidth in practice. Really the main benefit is the extremely low latency (e.g. ping to my workstation on campus 7 miles away from my home workstation is 2-3 ms).
It's potentially more profitable (in the short term, and for the people proposing it) to geo-engineer the atmosphere.

Late stage capitalism and globalization would be my guess.

I've heard it said that the US is good at coming up with technical solutions to social problems and this seems like the perfect example of that. (Analogous to our terrible highway/stroad system in most cities, that moves a lot of vehicles and kills a lot of people)
I did not mean to offend, but simply highlight the nuanced contradiction in your comment for a good natured laugh on it. I haven't brought a single language up, and yet I'll admit to sometimes selling the benefits of one: it's only natural.

It's ok that you are vocal about them from time to time, but claiming how you are silent about that is simply untrue: you could have stopped after the first sentence, or not brought Elixir into the discussion at the very least.
The problem with custom ROMs is that a lot of banking apps try to detect if the phone's bootloader is unlocked or it's rooted, and these apps then refuse to work. There are workarounds but they're not bulletproof.
Yep, the strategy is called direct indexing and tax-loss harvesting is the reason to do it. Gotta be careful doing it - fees can quickly eat up any upside. Some of the robo-investing platforms offer this strategy, though I haven’t looked deeply into it.
We've had cloudseeding deployed in the wild for a long while.
I can’t imagine somebody who’s implemented a billing system before ever making the claim that billing systems are simple.
very + very =
My preferred method of this is a filter/shade between the earth and sun. That’s second to actually pulling carbon out of the air/ocean.
> The thing that I would say is a bad idea is what many routers refer to as "DMZ" mode or similar, where you broadly send incoming connections to a system. That's got a lot more risk since you have to be a lot more cautious about what services are listening on your server.

Got to agree with that - realistically the DMZ machine is almost FULLY exposed to the internet. Have a "DMZ machine" but open only the ports specifically required for whatever service is provided.

If you "DMZ machine" can see the rest of your home network, then so can anyone/anything that breaks into your "DMZ machine"!

And see my previous reply re take care with is made accessible.
Based on the quotes in the wiki article, this guy sounds like an immensely pretentious, airheaded, gleefully racist twat.

I'm not big on cancel culture, but I would gladly participate in a ferocious student protest against this guy being read in schools as if he was some sort of respectable figure. Which is not to say don't read him at all, just point out these really ugly things too.
I use Bear notes and have used notion, coda, notable and others in the past. Help me understand why I should switch. Is there something that’ll get me hooked?
> It's easier to geo-engineer the atmosphere than to stop polluting it?

coordination problems are tough, and there's no reason to believe that the largest one ever encountered should be easier than one organization deciding to engage in a large scale engineering project.
yes obviously
That's attention to detail right there. Very nice.
This is a more recent article (8/22) about this company and it’s affiliate

https://www.newscientist.com/article/mg25533992-500-millimet...
I haven't used Lisp in years, but isn't it very easy to just name the list members by defining a structure ... thus making your use/purpose of the list elements quite transparent?
> Pointers to TWO pointers (first pointer is named car, and the 2nd pointer is named cdr).

This is not true; only cdr is a pointer to a pointer. car is a pointer to a value. For example, if x is (1 2), then (car x) is a pointer to the value 1, while (cdr x) is a pointer to the list (2), so only the latter is "to a pointer".

> convert your C code into a vector or a hash-map.

nit: C has neither vectors nor hash-maps, neither builtin nor part of any standard library.
Yeah, because as an employee what I totally want is my employer to monitor my every digital move outside of work!
I'm in an area where Google Fiber offers 2 Gbps service.

Unfortunately, for whatever reason, the 2 Gbps service doesn't allow for (or didn't, when I looked into it) the use of your own routing equipment -- you have to use the wireless router that they provide.

The 5+ Gbps blog explicitly mentions being able to use your own routing equipment, so that's a promising sign. I'm not in the regions that Google Fiber explicitly listed, but I'll be keeping an eye on future announcements.