jkeisling/hacker-news-corpus-2007-2022 huggingface dataset:
I've been using it for about ten years.
Been using dark reader addon in both chrome/firefox, and love it. Bright white in the eyes when your trying to relax and read is amazingly offensive. I use it on HackerNews too.
I love writing Lisp and do it for a living, but I can’t even remember the last time I had to write a single line of elisp to use Emacs (unless you count things like adding or removing a layer in my .spacemacs file as writing Lisp).
> "Writing a function for the full change" is simply not a tenable thing to do. "Duplicate a line" is fundamental in the same way that "go to start of line" or "indent this line one more tabstop" is.

So write a function for "duplicate line" and use it from now on. It's very easy to do. Just as it's easy to write function for a full edit.

A general algorithm to get one started:

1) Execute the edit you want to reuse.

2) Press C-h l, or M-x view-lossage, to see all the keypresses you made recently, along with elisp commands they executed.

3) You now know all the operations you did. Most of the time, you can recreate the edit by just wrapping them in parens, and then wrapping the whole block with (progn).

4) You're now ready to turn it into a function. Read up on 'defun and 'interactive forms. For best results, check out the documentation for each command you used during edit, via C-h f - some commands are meant for direct usage, and have a (faster, better) variant meant for use from within code; this is usually documented.

5) Tweak your function to make it more general along the dimensions you need, bind it to a key, and now you've just implemented what elsewhere would take a large plugin.
Looks very cool!

On security, when you say encrypted in realtime, does this mean client-side encryption? Is the server trusted?
You're quite correct that evaluating the back propagation could be done exactly the same as the forward pass. However, if you want to train for more than a handful of steps you'll have to use an operation called bootstrapping to periodically "refresh" the ciphertexts that encode the model. Bootstrapping is essentially evaluating the decryption circuit of HE using HE itself (with an homomorphically encrypted version of the secret key). The problem is that bootstrapping is much more expensive than the other operations in HE.

People have done very effective training on encrypted data using simpler models, like linear or logistic regression. See for example this work [1] from my colleagues at Microsoft Research.

[1]: https://bmcmedgenomics.biomedcentral.com/articles/10.1186/s1...
Aren't there billions of people in the world outside of China who can continue to provide cheap manufacturing labor for decades to come? Also automation will begin to pick up any slack left by outsourcing. I don't think the blue collar jobs of the 70's and 80's are ever coming back. The knowledge economy is replacing globalization as the transformative economic force.

In a knowledge economy, the winner takes all, and that means more and more education is required to play in the big leagues, even as the big leagues become the only game in town. I believe only aggressive wealth and income redistribution like universal basic income can prevent a dystopian future of stark inequality.
The prefers-color-scheme media query

https://developer.mozilla.org/en-US/docs/Web/CSS/@media/pref...
Given that I run a Linux desktop, and not Ubuntu, I think I'm less likely to be swept up in a mass hack on my desktop than on my phone.

I bring my phone with me in lots of circumstances where I don't bring my security key, so yeah I think it's more likely to be lost/stolen.

Also, TOTP has a MITM problem that U2F/Webauthn doesn't have.
I've been having that corporate vs self-funding dilemma for a while now. I am part designer, part entrepreneur, part programmer. I enjoy doing all these activities, and I do them with desire. I have an idea
which would improve designers life and I think I might have figured out working business model. More importantly, it's very hard to get me doing something I find either illogical or immoral.

I have been reading HN for a while, follow 10+ blogs from VC-world and read whole bunch of books about successful startup founders and although I find corporate sponsorship great for some sectors (biotech, hi-tech hardware, some IT where founders are born programmers and not entrepreneurs) I've come to a conclusion that if I was to seek founding from either VC or Angel investor, I'd be giving away my freedom to experiment, my freedom to work in a pace and rhythm as I'd like and all the fun that would come with. That's was the whole point about being an entrepreneur, right? Doing the stuff you like / world needs and supporting yourself to a point? And who would guarantee me that investor knows more about my sector than I do?
I was disappointed to see digital downloads are in the 3rd tier. Who really wants to set up a store to sell physical goods?
Wal-Mart closes stores when unionization gains momentum. Pizza Hut (hearsay) has an undocumented policy of "fire people who talk about unions." When you're pulling near minimum wage, losing your job over labor laws isn't very appealing. I believe Chick-fil-A put wage discussions as fireable in my paperwork, as have other tech companies.

Some of the people who need unions the most can't get them, as the Labor Board hasn't enough teeth and the public isn't very favorable toward unions.
>He also bought Hofmann's book with all the formulas and started cooking himself.

Making drugs is extremely hard, even for people who know lots of chemistry. It also exposes you to a lot of nasty volatile chemicals that, believe me, are waaaaay worse for your brain than any psychedelic. For example, chloroform is a standard solvent used in the synthesis of LSD. In a proper research laboratory, the risks are minimized; in your garage, they aren't: bromomethane doesn't care if you're a genius.

I have the unusual luck to have known several drug chemists. They're not an ordinary bunch of people, not by a long shot. Whether working with things like chlorine on improvised equipment is partially responsible for this pattern I'm not sure, but I think it suffices to say that your friend's case is at the zenith of psycho-chemical recklessness. (Also, the book[s] -- PiHKAL/TiHKAL -- are by Alexander Shulgin)

That isn't a pattern that carries over to typical LSD users -- consider e.g.:

http://journals.plos.org/plosone/article?id=10.1371/journal....

It's also worth noting that people with schizophrenia may be drawn toward euphoric/stimulating drugs:

http://journals.lww.com/jonmd/Abstract/1987/11000/A_Review_o...

Of course, one possibility is that all of these drugs cause schizophrenia; the other, that schizophrenia causes people to enjoy certain kinds of stimulation.
Why not? Is it the chaotic environment? The temperature extremes? The unpredictability of each situation?

All those are strong reasons TO automate firefighting. Machines can function better in heat/smoke/violent structural collapse situations. They can make objective analysis when their own mortality is not an issue.

Nobody made money betting against advances in computing.
When your browser does DNS pre-fetch from the DOM it becomes much more efficient to open a single TCP connection and issue all of the DNS requests (and with CDN's, adds, capthcas, social media and 3rd party content you can easily get to 20+ distinct DNS records per page) over it rather than issue individual async DNS queries over UDP.

How are there any fewer RTTs with TCP DNS than there would be with UDP? I'm not seeing the efficiency here.
Yeah, the same chart lists a 17% chance that "firefighters" will be automated... I'm equally curious what then definition of "firefighter" is. If they are talking about woodland (or "forest") firefighting, then _maybe_ (I could see drones accomplish at least some of the tasks involved). But for structural firefighting? No way... Not in 20 years.
Well, seeing reggplant's response, I now stand corrected :)

I never knew about about Unified S-band before. Learning things like this is one of the reasons I love HN.
It was a weak idea from the start. If you trust advertising companies to do what they say, then there's already an opt-out tracking system: http://www.networkadvertising.org/choices/ The bad actors (particularly ones not based in the US) were going to ignore DNT anyway.

Now, granted, it's technically far inferior to a DNT header (it sets a cookie on each ad network domain) but as far as I can tell it works and has worked for years.
From the README:

"Note that it'll only melt your own network. It randomizes the target IP addresses so that it shouldn't overwhelm any distant network."
You do not know much about the crusades. The crusades actually helped the muslims in the east. The forth crusade completely destroyed the byzantine empire which was the force holding the muslims in the east. Why did the crusaders attack the christian byzantine empire? Because it was the richest place in the world at the time, full of gold and silver and the crusaders were more interested in loot than in defending the faith.

After the crusaders took constantinople, the byzantine empire broke up into several countries, some controlled by crusaders, some by greeks. Eventually the greeks took constantinople back but by that time it was depopulated from continuous war. And the greeks were never able to get the entire empire back together. The turks then easily took over the various parts of the empire and took over constantinople. Then the turks took over southeastern europe.

Thus the crusaders doomed most of southeastern europe to be ruled over by the turks.

I am not going to get into the debate of whether christianity is better than islam. But it is obvious to me that self determination is better. Thus it was better for the christian peoples of south eastern europe to be ruled by their own christian rulers rather than the foreign muslim turks.

This was quite a tragedy for most eastern european peoples. The turks dealt with them with various degrees of cruelty. They tried to completely wipe the armenians out, for example. And yes the crusaders were mostly responsible for it.
A couple of points:

First, the 5K iMac isn't a "professional workstation" by most measures. In particular, it doesn't include ECC RAM or a "pro level" GPU. I wish ECC would become ubiquitous across all PCs, but it looks like the industry is stubbornly leaving that as one of the few real "pro" differences.

That's not to say you can't do serious work with a regular PC, just that it's not considered sufficient for high-end engineering and science tasks, where a flipped bit could mean disaster. The specs of the Mac Pro fit the bill for that, along with workstations from other manufacturers like Dell and HP. Since all but the "pro" GPU are also server components, prices shouldn't go up appreciably, and in fact will probably continue to slide as manufacturing techniques improve.

High-end PCs will remain affordable, the components used for them have many uses and will be mass-produced in large quantity for the foreseeable future. One interesting area is displays, where it's hard to see smallish (48" or less) 4K TVs not encroaching on the computer display market heavily.
> Also, why it does not stop hosting malware?

Keep in mind that this is not reporting malware is currently present, it is reporting that at the last time it checked it found malware, which may have been taken down since then. It doesn't tell you anything about how long it stayed up.

> These web domains do not belong to Google. It seems google is downloading several pages onto its server for various purposes.

I have no specific knowledge of this, but my guess would be that these are just the targets of links.
But in English we capitalize names and put articles before common nouns, whereas in Chinese both are just "mao." It is a mistranslation, but a more understandable one than translating "John Smith" as "John a metal-worker".
Another vote for Upton Tea. Great place.
I think that one of the interesting threads between contributors to this is the general expression of empathy and consideration for those who espoused or worked towards ideas that were later proven mistaken. An example is Charles Simonyi:

I think we are all too fast to label old theories "wrong" and with this we weaken the science of today — people say — with some justification from the facts as given to them — that since the old "right" is now "wrong" the "right" of today might be also tainted. I do not believe this — today's "right" is just fine, because yesterday's "wrong" was also much more nuanced "more right" that we are often led to believe.
This is great - I've been thinking about building something like this to keep the cat from waking us up in the middle of the night, or off of certain pieces of furniture. It would be better if the tone was in a range above human hearing, though.
"Tisane" is technically correct, though outside of a tea shop I don't think it matters that much. When it's not clear from context, I just say "herbal tea".
Gotta have some milk in your tea. ☺
I don't think there is any one source for the best tea of all genres. For example, my favorite lapsang souchong comes from Grace Rare Teas, my favorite dragon well and most of my favorite black teas come from specialteas.com, and my favorite favorite flavored green tea is the pineapple ginger green tea from Republic of Tea.

In general though I recommend specialteas.com, I went through a major tea phase five years ago and they quickly became my favorite web shop. Their organic dragon well is really good, as well as their mount everest blend and their vanilla sunday blend. I also really like mate de coca, which you can now get from Amazon.
Are there clever solutions for routing traffic to other linode datacenters during one of these outages? I'm moving to AWS if I can't do something akin to elastic ip across datacenters. Linode currently only allows you to swap ip addresses within a dc.
Probably, but with a good pricing model and an easy to use system (maybe a ssl-wrapped caching proxy or an ssl vpn) to send the logs over the wire for processing and storage would attract the attention of the devops world (which is worth about $3.50) Then you could just tell everybody, "it's like splunk, but in the cloud, and affordable". Fame, fortune, and the critical logs of hundreds of new startups would quickly be yours.
This is a very nice story. I read a Sufi version of this a few years back. It would be pretty if this is real.
Did ERCOT build them bidirectionally though?
I'm guessing most Texas AC systems don't have a reversing valve, and a defrost system and all the other goodies you need to run it for heat. It adds to the equipment cost when many years heat isn't needed, and if the temperatures are 10F, you'd still likely need other heat sources.
Thanks for posting this! First year here [in HTX] and the weather apparently [for born and raised texan locals] is weird.
This seems reasonable to me. It seems comparable to the following in C++:

template <class T> T floor(T x) { /* ... */ }

I think a documentation generator could display your Zig signature verbatim and a user could make sense of that.
The two best bits of advice I got about writing code when I started were: 1) start off by saying what you're doing and 2) the is always an 'Else'. "If you can't say in words what your method/function/class/... is doing you probably won't code it right either." Sure I'll leave if off simple stuff but it's really helps me keep focused. And when the debugger suddenly drops me into the middle of something it's a lot faster to scroll to the top to see what is supposed to be going on.

I also agree that's it's complete macho crap about not needing comments. Hell I come back to something I was working on six months ago and don't remember what I was doing. Far better to have some comments telling me than spend time looking back over more code to figure out what this piece is supposed to be doing.
I highly doubt that anyone has not made a game whose systems complexity surpassed the algorithmic hurdle of multiplying three numbers, or two numbers and a constant. I have not previously heard of this person or of their work.

Were it not for HN, I likely wouldn't ever have -- he made two 4/5 games, and sold a quarter of a million copies! This is absolutely a modest success, but this was thirty years ago. He doesn't seem to have published anything since: wikipedia says he started working on Interactive Fiction in 1991, but stopped in 2018 (having released nothing) since "humanity will take centuries to catch up". It seems as if his ego has outstripped his accomplishments.
How would you know that a project like this is computing taxes correctly?
Does anybody think this might be a permanent shift? I would love it if I could have the convenience of a top-paying remote job in software development. The twitter thread voiced concerns about this trend being like a pendulum that could swing back to the dominance of in-person work, even within a year. Covid has proved that remote employment is possible, but the question remains: will companies rescind their current policies when the pandemic fades away?
Driving through Amarillo on I-40, the number of windmills on the plains compared to even two years ago is mind-blowing. Saw lots of trucks carrying new blades etc. as well.
It’s not clear to me. Are these M1 tests running on the CPU, GPU, or neural chip? If the M1 CPU is running at half the speed of a Colab GPU that seems impressive if the software for it is still immature enough that the neural engine/GPU aren’t optimized around.
That's the thing we don't know yet.

It's probably a good bet that we are going to discover that to rectify the complexities of QM, there is some assertion most people have fundamentally accepted and is quite uncomfortable to let go but is necessary to simplify the equations. I can't really guess what it's going to be though.
While it's fair to say that the editing of youtube videos has adopted the _grammar_ of fast talking and quick cuts, The existence of grammar does not belie that there is no underlying structure/content/information.

Lots of mediums have "cheap" shortcuts that exist to provide structure to the actual content present underneath.
See:

Shot-Reverse Shot in Cinema

V-I or IV-I in popular music

Steady drum or kickdrum pattern in popular music

Jump cuts and fast talking in youtube

None of the above techniques are all that complex, but they're a part of the grammar of the medium. Oh, and they also _solve_ a lot of problems.

If you find a problem with the content underneath the simplified techniques, we want to hear about that.

[EDIT] readability
M1 chip is a classic case of some big old monopoly (intel) that refuses to innovate. Probably all the execs over there will get wildly rich while they loot the company and drive it into the ground.
Also found on this topic:
https://kompute.cc/
https://github.com/osanj/lava
https://youtu.be/mUF4afxMpQk was a great example, 16+ minute take, at least well disguised cuts
UiPath and RPA in general seems to be a great complement to no-code IT systems.

What you'd normally glue together using code, in no-code environment you just emulate a human clicking at things.

I guess the more no-code startups we see out there, the more stuff for gluing by RPA in the future.
Delphi has make it very easy to call the Windows API, COM and WinRT, with wide coverage, and encapsulates some of the complexities to make it easier for developers, as you would expect from any good programming tooling today.

Where it gets very cleaver is actually in the way OOP/components are used under the hood to already make many modern features cross-platform ready!

e.g. The same component used by developers for linking to the Notifications API's on Windows 10, works on Android, iOS and macOS! Under the hood, Interfaces are providing back the platform specific implementation, but at a high level you just work with the same component in code, making it very fast to develop cross platform.

The same is true of the RTL for parallel programming, file access etc. - This is thanks to the way API's get encapsulated. I hope that answers the question.
> when in product development does patent police [sic] knock on your door and have the right to drag you to the court?

Generally, you can be sued for infringement whenever you make, use, etc., anything that comes within the scope of any issued, unexpired, not-yet-invalidated claim.

There's a nebulous experimental-use exception to liability; it's currently of uncertain scope [0].

> If I build a factory that produces chairs, and then hoard all those chairs in my house, can I be told to knock it off?

Generally, yes — if the chairs come within the scope of an issued, unexpired claim that hasn't yet been invalidated, then simply making the chairs constitutes infringement of that claim.

> What if I build the factory and then have it just stand there, producing nothing?

If the factory itself doesn't infringe a claim, then there's no infringement under the stated circumstances.

Same disclaimer as above.

[0] See, e.g. https://www.lrrc.com/webfiles/TCL-KK_DS.pdf (not an endorsement).
I like VLC because IT IS a file opener. I don't want a "media environment" to immerse in. We have Kodi for that.

However,

1. the VLC team have been great so far

2. they do need to better expose the many other capabilities of VLC other than playback.

Until I see it I am dubious-but-hoping-for-delight.
So if a government shut down US airports for 72 hours but resulting in no loss of life, should we just sit back and do nothing? A risk to human life isn't the only threshold that determines retaliation. A risk to economic activity is just as provocative as physical violence. How about if they attacked the power grid? A huge number of companies's businesses depend on services like github. Do we just hold hands and choose to pray for a solution or do we hit the perpetrators in the gut? If the Chinese are behind it, we should immediately start seizing their US assets until such time as they put an end to the nonsense. If the Chinese can thwart Google, they sure as hell have the means to stop a cyber attack from their soil: even if they are directly the ones doing it. Alternatively, their cables could be cut (there are only about 7 that connect China with the outside Internet.) if someone is spraying you with a firehouse, cutting off their water supply is a just and reasonable response.
> ...precedent.

You keep saying "You keep saying that word. I do not think it means what you think it means.". I do not think it means what you think it means.

"Precedent" as a term is wider than the specific US legal meaning.
Regardless of whether it sets precedent in the legal sense, it does set a (disturbing) precedent in the everyday plain-English sense of the word.
They could buy Yahoo! and put Marissa in charge...
If S is the stock return and M is the market return, then

Beta = cor(S,M)*vol(S)/vol(M)

Where cor(A,B) is correlation between A and B, and vol(X) is volatility of X (i.e. standard deviation).
> parent comment used to say "worst CEO of modern history"

What about Stephen Elop?

"As of June 2013, Nokia's [...] stock value dropped by 85% since Elop's takeover."

http://en.wikipedia.org/wiki/Stephen_Elop
I would advise your son to look into some of the digital humanities programs – people are doing very interesting things using CS techniques (e.g. text or image processing, large-scale data mining, visualization, etc.). It doesn't pay as well as working at Facebook but it would probably be far more interesting for someone like your son.

One of my favorite examples was someone I ran into at the NIPS conference years back who was using machine learning to classify the handwriting for manuscripts in the Oxford library collections in an attempt to identify the copyist when that information had been lost over the centuries.

Someone phrased it beautifully that they preferred having CS being their superpower in a different field. I think that's a great plan.