skysight-inc/HackerNews huggingface dataset:
First, I want to support any mention of any Gerald Weinberg book. Every one is gold. IMO, Intro to GST is great for developing a scientific mindset, something broader than computer science itself.

I would suggest a grain of salt to go with the three-four languages at a time recommendation. I'd have to dig up a stored book to find the reference, but Weinberg typically suggests learning two different languages, at least at the beginning. He advocates for the benefits of recognizing it's possible to say the same thing in different ways. My knee-jerk reaction, knowing him, is that he picked two rather than three or four to make things manageable for people getting started. If programming becomes a hobby, vocation, and/or avocation you'll likely wind up learning most of those languages eventually.
No probs, best of luck!

If I have any advice, it's:

- Don't try to write a scannerless parser. It's a fool's errand. Lex first into tokens (e.g. LEFT_PAREN, KEYWORD(for), STRING_LITERAL("foo"), NUM_LITERAL(7), etc), then parse that.

- By the same, uh, token: keep everything modular and loosely coupled. Don't mix up parsing state into your lexer (unless you're lexing C or Python, famously), don't mix up lexing code into your interpreter, etc.

- For parsing, start with a simpler grammar. Parsing mathematical expressions is a classic example. Avoid complex grammars that require lots of backtracking or lookaheads. If you want a real language, Go is a good example - a large part of its famous compilation speed is due to its simplicity (due to the fact that its authors are old men who live in a counterfactual version of the 90s imagined in the 70s).

- YMMV, but I find the best approach to parsing is a packrat-inspired bottom-up parser. Iterate over the tokens, and for each token filter your list of rules ('productions') to those which match. 'Reduce' the simpler expressions as you go, and build the more complex expressions out of them (e.g. functions will typically have several statements/expressions, expressions several operations, etc).

- For the compilation step, unless you specifically want to learn about writing object code, then target a 'backend' IR like GCC or LLVM. You'll benefit from their optimisations, and the vast number of platforms they support.

- Choose a language you're familiar with - ideally a simple one - to write it in. You don't want to be learning a new language as you're doing this, trust me.
OP author here. I also gave a talk about this at Strange Loop back in October if folks want to watch/listen instead of read: https://dcreager.net/talks/2021-strange-loop/
> Mr. Musk was pretty integral in his role of killing the California High Speed Rail project.

It’s not even approximately dead, so Musk having been integral in killing it doesn't seem to be either true or meaningful.

As for creating the false impression it was killed, that was mostly Newsome’s announcement shortly after taking office that described no substantive changes (it literally boiled down to “we’re going to keep building the parts we have funding to build, keep doing planning/EIRs/etc. on the rest, and not do construction on parts not currently funded until construction funding is secured”) but was widely misinterpreted, not Musk, that was responsible for that.
How to write a resume that will get you a job in fintech
Transparent Data Journalism: WaPo Analysis of Unfccc Emissions Reporting
China deleted 106 apps from stores, including a top cultural discussion platform
Sleep onset is a creative sweet spot
> They use customer deposits and operate as a fractional reserve.

Close, but not quite. The banks are barred from using customer deposits to fund loans. They also have a 0% reserve ratio currently so it is 100% fractional reserve.

In short the banking system is a scam, always has been. It is the greatest scam ever perpetuated on humanity. If any other industry operated on the level of fraud involved in running a fractional reserve, they would be jailed by midnight.
Ask HN: Best e-commerce platform to manage rentals?
Reinstate Pluto – Scientists Say We Should Rethink Moons as Planets
If I was to start a company today I'd go fullstack TS to leverage code / type reuse.
The Manning book is a great, very approachable and even enjoyable intro to the basics of algorithms and data structures. It’s got illustrations and everything!

It doesn’t go into loads of detail but as a first intro I think it’s great, then you can go deeper if you want.

https://www.manning.com/books/grokking-algorithms
Correct, both pork and poultry.
i recall finding some published solutions manual to the book 7-8 years ago when in college
How much more efficient can a car become ? It’s not as much of a change as going from horses to cars.
Ask HN: Looking for book(s) on advanced computer networking
I'm looking, in particular, for books that will teach:

- the principles of congestion detection and control

- How to design network protocols so they're efficient and easy to implement in hardware

- Efficient host interface design

- Router design for scalability

- Efficient network topologies

- Reliability and re-transmission techniques

I understand not one book will cover all of these. Any book that provides more than the usual undergrad/grad level of depth would be appreciated.
heads up for pihole. I cannot,for the sake of my sanity, run internet without ublock and pihole. I teach all my friends and family how to install ublock origin.

If not for gorhill and pihole the internet is an absolute abomination of fb/google/media sites where everywhere u go, someone is holding a big billboard in your face. And god forbid if u block ads they guilt u to feel u are stealing from them.
Gary thuerk, the first SPAM spreader on the internet
Methodology behind this excellent investigative report: https://www.washingtonpost.com/climate-environment/interacti...
Exactly. If my US-based sites get a GPDR complaint, GeoIP blocks will go up and the entire EU can suck a lemon.
I'd dispute that you can achieve high performance in Swift without paying a similar Rust/C++ complexity cost. You can write high-level GUI code that is relatively straightforward, but if you are about speed and memory usage, there is a lot of intricate knowledge you need about what things to do and which to avoid.
Totally agree, we know what happens when pilots lose visual reference and don't trust their instruments. I think I'm biasing my opinion on finding it impossible to believe they won't incorporate basic things like an IMU (or three) into the product so that simple flight coordination is impossible when there is a loss of vision data.

Strictly speaking that wouldn't be vision only though, so who knows.
> Crypto is an open protocol for financial services/transactions running on decentralised hardware.

Except it's not. "Open" and "decentralized" are the false promises of crypto. The entire crypto market is dominated by centralized exchanges, criminal enterprises like Tether and Binance.
Nobody made that argument. The cause it for being on the list is "deadly addictive". See above.
> It reminds me of how ISO standards, from date specifications, to the hz for the musical note "A", to railway engineering, have to be purchased from ISO just for the PDF.

At eye-watering rates.

https://webstore.ansi.org/Search/Find?st=iso&v=5&cp=1&f1=Sta...
Did the Heritage Foundation Invent ObamaCare?

https://www.huffpost.com/entry/did-the-heritage-foundati_b_5...
CISA Releases Guidance on Protecting Organization-Run Social Media Accounts
> For many people there is no hope for a future.

What is the object of that hope? I.e., what are people hoping for in the future?

(Yes, this is a bit of a vague question that requires a lot of speculation. If you're willing, humor me?)
Well the pull of gravity is really just the warping of spacetime. A gravitational wave communicates the change in the gravitational field caused by an accelerating mass. We measure this by shooting lasers along two paths and comparing how long it takes light to traverse the paths, the warping of spacetime causes this value to change. You could use this value to directly calculate how much the pull of the distant object upon us varied. But we can only see the variation, not the absolute pull, of these distant objects; and even then only for extreme cases like black hole and neutron star pairs moments before they collide.
Postgres Can Do That?
Pretty much. My life went downhill after I discovered that I had disabled search history and re-enabled it
You seriously just called me authoritarian for wanting to use the power of congress to compel police forces to provide more transparency so the public can know how well the system is or isn't working? Congress, the people we actually get to vote for, should have some ability to be a check on the power of the people we don't get to vote for but can shoot us dead or kick the crap out of us without consequences.

That is a brazen redefinition of authoritarian.
Kirsten Dirksen (tiny houses and alternative architecture)
https://www.youtube.com/user/kirstendirksen/videos

Matthias Wandel (wookworking)
https://www.youtube.com/channel/UCckETVOT59aYw80B36aP9vw
https://www.latimes.com/business/autos/la-fi-hy-tesla-batter...

> A Tesla spokesperson said the Harris Ranch facility is functional, but that battery swaps are only being done on a limited fleet of Tesla cars.

> “We are currently running the pilot with a small number of Model S,” said Tesla’s Khobi Brooklyn. “It’s open to a small number of Model S owners.”

> What is the point of a Tesla battery swap program that isn’t actually swapping batteries for Tesla owners?

> It could have something to do with California’s Air Resources Board and its complicated system of zero-emission vehicle credits.

-------

They opened a singular facility that operated at a loss for a few months, and then shut it down. With no intent on ever mass-producing this technology or dropping the costs down to be a long term sustainable solution.

They accomplished just enough to take the California tax credit, and then never spoke of it again.
I'd like to differentiate between journaling and note-taking. And I do enjoy software that's designed for a specific purpose. e.g.: VS Code for code, Typora for Markdown, Roam for outlines. Markdown file is a great way for persistence, I find the formatting although great for expressing complex and structured thoughts and ideas, a bit redundant for my casual journaling needs (plus no timestamps per log, which I find useful to preserve the context). I do recommend Logseq or Obsidian for longer form note-taking. I also find ZenJournal could be a decent gateway to your other workflows: you log on the go from the phone and transfer the logs back to your other workflows. :)
User time is valuable, and must be respected. Data being present somewhere, in some form, doesn't mean that it is in a form that can be reasonably used. If I want to find an application without ads, requiring me to open every search result and manually check whether there are ads is very anti-consumer.

My opinion here would be different if an alternative search interface existed. However, the Google Play Store's API is focused on developers and doesn't allow for making searches. In addition, the Terms of Service forbid redistribution of content, so a third-party API that scrapes the results would be forbidden. By removing alternatives, Google has taken responsibility for a good user interface (and blame for a bad user interface) onto themselves.
First off, "that year" is this year, so you're boldly claiming there's a document claiming a lack of deaths in a whole year that hasn't ended yet.

But even assuming such a document exists, do you have evidence that he hadn't naturalized and therefore would have given up US citizenship as part of that process?
Yeah, I have/had the same problem. I've started using spaced repetition to retain what I've done.

Check this out, spaced repetition for learning how to code: https://www.youtube.com/watch?v=kshXDo8psj8

Essentially, every time you encounter friction with something you write it down in Anki.

Anki then takes care of presenting the information to you based on how well you're able to recall.

After confusing Array.prototype.slice() and Array.prototype.splice() one too many times, I finally added it to Anki. I don't confuse them anymore.
This is long overdue, thank you so much!

Direct link

[0] https://github.com/Myndex/SAPC-APCA
Picking up am M1 Pro tomorrow I hope. Assuming it can play Factorio?
grep.app doesn't index all repositories on GitHub though. I was doing some research a few months ago and couldn't find anything that would search all of github quickly.
There is a technology called an optimistic rollup. The basic idea is that you submit transactions to the rollup and these transactions are assumed to be valid. These transactions stay on the rollup for a period of time, 7 days, 1 month, whatever. During that time anyone can submit a "fraud proof" and that transaction can be reversed. After the time interval the valid transactions are committed to the main blockchain.

There is no reason that bank of america or visa couldn't run their own rollup and implement their own fraud system. In fact, visa is likely working on tools like this.
It's not supposed to be a "revelation". It's literally revealed in the introductory paragraphs.
Are you sure it's not just that video content "feels" like you are leaerning even when you aren't? This is a documented phenomenon that underlies "infotainment".
> But isn’t that a complete fantasy?

It's not when you're invested in cryptocurrency.

As they say, cui bono?
Thanks. I figured that to some extent, but assumed some larger themes originated in the books. Like the emperor's dynasty, which I found to be an interesting take on immortality and power.
The article includes a direct quote from Beckett.

"I'm very very angry – furious with Kiwi Farms," Beckett told USA TODAY. "I just want them to appreciate the gravity of what they've done. They certainly contributed to (Ginder's) death. ... They were quite precious to us. How do you replace the irreplaceable?"
Everything You Need to Know About Evergrande's Debt Crisis
Chicago has no building limitations due to the FAA.
What's your stance on sanctuary cities not enforcing federal immigration law then? How about marijuana laws? Seems like the response is that local and state authorities can ignore these federal mandates all they want. You don't get to have it both ways and ask for enforcement when you side with certain laws and ignore it otherwise.
Netflix launches Tudum: news site dedicated to Netflix-related content
It's too bad we're not operating under a capitalist system, isn't it?
> If we didn't have the Send + Sync requirements, and multiple async functions are running concurrently on the same thread, and multiple of them locked the same RefCell, might that cause a panic?

Hopefully.
Love the idea! I am installing it right now and will get the pro to support you. I have a question about backup/restore. What is the backup format? A markdown/plain text would be best for archival purposes, especially for a journal that might be read far into the future. I get that it is offline, but having a journal on one device only without is a double edged sword. If I lose my phone, I lose my journal. Would it be possible to sync it to iCloud? Then it would be easier to have it on multiple devices as well. Thanks for making this!

Edit: After playing around with the app, I see that the backup is a zip with a json file and images. That is great for archival.
No, you should not be.

/s

It's a rule of thumb, not an absolute. This part I'm not being sarcastic abour: sorry if your social anxiety problems also include not being able to get nuance.
You can't attack another user like this on HN, regardless of how wrong they are or you feel they are. You may not feel you owe them better, but you owe this community much better if you're posting to it.

Since you've unfortunately been breaking the site guidelines repeatedly (and egregiously, e.g. https://news.ycombinator.com/item?id=29237513), I've banned this account.

If you don't want to be banned, you're welcome to email hn@ycombinator.com and give us reason to believe that you'll follow the rules in the future. They're here: https://news.ycombinator.com/newsguidelines.html.
For my whole career (almost 25 years now) I have loved automating tasks. Early in my career I really struggled with the balance of how much to devote to automation vs just trying to get the job done fast.

One thing that helped me was to invest in building simple libraries and tools that I would commonly use to make the automation faster. One such one was a script (called super-script) that would build the skeleton of another script, prompting for all the command-line parameters that I needed for the script and including all the command-line code that would convert the parameters into an easy to access data structure. This script would also prompt for help text for the params and create code to print that out when `--help` was fed into the output script.

This did two things:

1. made the new script easier to write

2. made the new script *MUCH* easier to share

By getting #2, the payback for automation was way way faster. It might take a year for payback if only I used my script, but it might take only days if 30 or 40 of my colleagues also used it.
Surveillance covers Calais, but more migrants are dying at sea than ever before
Sure, though it's often not simply a hole, but an active ventilation system to ensure fresh air makes it into the structure. Ideally, this is a heat recovery ventilator that uses the heat in stale air to preheat incoming fresh air.

Below about 3.0ACH50, you generally explore active ventilation, which is why 3ACH50 is code, since it doesn't require that extra machinery.
Generating media in real-time on the user's computer rather blurs the line between who is creating vs consuming media.
The books (especially the early ones) are really an anthology of stories about the collapse of the galactic empire and its recovery than a specific story. It is completely different from the show. Think more "I, Robot" (again, the book not the movie).

And, yes, I think they are really good but they are idea-driven not character-driven.
As we've seen with the complaints re: AMP [0], Google is incredibly talented at building "it loads faster" features that are primarily a way to give them greater control over monetization in ways that are less than transparent. Requiring signing keys can be both of these things at once.

[0] https://searchengineland.com/google-throttled-amp-page-speed...
Hey! I have written a book on conceptual foundations of programming and CS. It is language-agnostic and focuses on principles that transcend programming languages. It talks about everything from functions and types (and where they come from, theoretically) to concurrency and parallelism. It's written with beginners in mind that want to have a grasp on concepts as well as working devs that have hands-on experience with a language, but want to learn to think in cross-language concepts. I am really short on time to put a website on the internet yet (I hope by Christmas it'd be up), but I'd love to send a draft to whoever is interested (if you like, you can pay me later, but no obligations)
Email is blagovest dot gospodinov at yah00 dot c0m (just say you're from HN)

edit: pasting chapter of contents from a python script i use:

"Foreword.md": dict(finished=False),
"Function.md": dict(finished=False),
"Data and Types.md": dict(finished=False),
"Functions as Data.md": dict(finished=False),
"Function Types.md": dict(finished=False),
"Type Classes.md": dict(finished=False),
"Polymorphism and Types I.md": dict(finished=False),
"Polymorphism and Types II.md": dict(finished=False),
"Types as Data.md": dict(finished=False),
"Polymorphism and Types III.md": dict(finished=False),
"Universal Types.md": dict(finished=False),
"From Idea to Execution.md": dict(finished=False),
"Side Effects and Purity.md": dict(finished=False),
"Side Effects and Types.md": dict(finished=False),
"Objects I.md": dict(finished=False),
"Objects II.md": dict(finished=False),
"Objects III.md": dict(finished=False),
"Objects IV.md": dict(finished=False),
"Objects V.md": dict(finished=False),
"Objects VI.md": dict(finished=False),
"Names.md": dict(finished=False),
"Change I.md": dict(finished=False),
"Change II.md": dict(finished=False),
"Modes of Computation.md": dict(finished=False),
"The Infinite.md": dict(finished=False),
"Incomplete Functions.md": dict(finished=False),
"Syntax and Semantics.md": dict(finished=False),
"Memory I.md": dict(finished=False),
"Memory II.md": dict(finished=False),
"Parallel Computation.md": dict(finished=False),
Danny Meyer Throws Millions Behind NYC Taco Chain to Take on Chipotle&Taco Bell
I came from math as well! For what it’s worth, I’ve found that even the brightest computer scientists and software engineers have a solemn respect for mathematics.

Don’t worry about formal qualifications. This is an industry where the largest and most successful companies were started by college dropouts. It’s still very young and things are changing faster than academia can keep up. A willingness to learn and relearn is critical.

My prep for big tech interviews basically boiled down to those algorithms classes, doing ~150 leetcode problems, slapping together a small junky android app, and perusing undergrad CS material on Wikipedia. To be honest, the first two are probably enough to get your foot in the door at the biggest companies.
Free-Running Sleep
Don’t see anyone here putting their agency into hunting, growing their own food to move, to wind down the military industrial complex their technology careers are tethered to grifting on.

PG’s four quadrants of conformism is stupid because everyone is a political conformist in the end. That’s the perimeter of our society. Annotating them with types a billionaire preferences is creepy grooming by a white old guy.
Looks neat!

I wish this was available for legal texts, making it easy to jump from one law to the referenced next legal provision. Many legal provisions, especially in very regulated areas, make use of “functions” “imported” from other, totally different laws.

Sorry for being off-topic, but if anyone knows a resource for that, I am super interested!
immigrants don't want to live here. They want to take the money and leave.
Superior versus Inferior Assets
Can you explain a little more? Do you mean like a threaded audio stream, so anyone at a future point can reply to a specific recording/response by someone? E.g. Interjecting your own thought, that could notify the OP that the reply was made, etc?
Automation tool is often shockingly more complex than initially thought.

Just think of all the features that Kubernetes do, they all used to be some ghetto scripts here and there. Another good example is Airflow.
But that's what US has over other countries - the promise of a dream. The idea goes is that if you work/study hard, you'll be wealthier than elsewhere. This doesn't have to be 100% true for everyone, there's already an understanding that some luck will be needed. But it's POSSIBLE to have a significantly higher QOL in the US than in most other civilized countries without resorting to illegal means.

If US evens out the playing field, why would a high skilled worker want to emigrate to the US vs New Zealand, Australia, or any of the awesome Northern European countries? You can argue that societal changes would be good for everyone. And this is true on paper, but actually you end up with a more even country that is still very split politically, has relatively high crime rates, healthcare woes, legal guns, etc etc. If the main thing keeping US desirable is the elusive American dream, then I don't think it's wise to mess with this dream. Unfortunately, wealth redistribution is a sure way to fuck this dream up through a variety of side effects.
Flames of Eternity https://www.fandomspot.com/chrono-trigger-rom-hacks/