skysight-inc/HackerNews huggingface dataset:
It's the other way around, actually. If you define a map as a list, it will have none of the properties of a map: you can't lookup a key in constant time.

But if you start with maps, then you can represent a list as a special case of a map in which the keys are integers that get incremented, starting at 0.
I heard that before but i wonder how much is survivorship bias :D it reads just so awkward to me as a programming language, even though i 100% dig the beauty and everything that it allows.
You don’t fly into your exhaust until you accelerate enough to start going in the opposite direction. If you’re driving down the road and throw an apple out the window behind you, you don’t run over it if you put on the brakes, you’d have to accelerate to cross zero velocity and then start going backwards to catch up. An apple will just sit on the highway, rocket exhaust will be moving with quite a bit of speed as well.
How to Send a Message 1k Years to the Future
Don't complain about things that already have obvious solutions.

A lot of programmers think investing in hardware is stupid, because they think "if it was just coded more efficiently, I wouldn't have to".

If my car can't pull a trailer that's too heavy, I can complain that the trailer is too heavy and spend way too much time hauling stuff. Or I can buy a car that's better suited for the job and do more work in one day.

That's a stupid analogy of course, because a machine with 32Gb of RAM often costs less than what you make in a week. Stop complaining, just deal with it.
It is based on the weaker premise that youtube-dl is “primarily designed or produced“ or “marketed” for the purpose of circumventing copyright protection.
What I see is that the Scheme one is a lot more thorough and still shorter.
I remember reading that his family was under constant exposure to radiation, but himself was moving around, so he was under intermittent exposure to radiation across multiple occasions, and it was a likely explanation of his survival despite having received the greatest total dose.
Is structural editing a genuine advantage over line-based editing?

The author presents it as such, but their structural editing example shows that it takes three operations to negate a condition (create array, write “not”, slurp forwards).

That would be one operation in most line-based languages (write “!”), and it also introduces less line noise.
> any copying not either licensed or protected as fair use (which even the article here does not claim applies) is infringement.

Not sure what you mean by this, as the article does claim the use in the test suite is fair use.

> At best, youtube-dl’s test suite may be infringing works when run [...]. Even that argument is specious: Given output is discarded, no permanent copy is retained, and the action is for research and development, and numerous Fair Use affirmative defence claims exist under §107, notably (1) and (4), test suite execution falls outside exclusive rights.

Am I misunderstanding?
> I write aphorisms (Nietzsche/Debord/Wittgenstein style)

I had a quick google on this and loved what I saw. But I couldn’t find anything on how to do this in a life/business sense.

Do you have any further tips or references on how to get better at structuring aphorisms?
2% after 30 years in the making, and hatred for the GNOME and KDE communities, always pushing for PDP-11 experience with multiple xterms like I was doing in 1994 on IBM X Window terminals on the university campus with DG/UX, I already gave up around Windows 7 release.
Apparently it goes up to 25%... I'm not a fan, even at 15 (I know my worth, and even though I live in a high COL city, they're not willing to pay nearly enough)
On my system (Kubuntu 20.04) man/troff produces errors when its output is redirected:

$ man ffmpeg-all | wc -l
troff: <standard input>:6148: warning [p 42, 3.5i, div 'an-div', 0.0i]: can't break line
troff: <standard input>:6150: warning [p 42, 3.7i, div 'an-div', 0.0i]: can't break line
troff: <standard input>:11396: warning [p 68, 8.7i]: can't break line
troff: <standard input>:11398: warning [p 68, 9.2i]: can't break line
troff: <standard input>:13562: warning [p 79, 6.0i]: can't break line
troff: <standard input>:13564: warning [p 79, 6.5i]: can't break line
troff: <standard input>:26366: warning [p 132, 17.2i]: can't break line
troff: <standard input>:38313: warning [p 174, 27.5i]: can't break line
33160

No idea what it means.
blah blah blah. nobody figured out the radiation part yet. So... it's just blah blah blah
Yeah you're right. That's price discrimination[1]. I guess varying salaries by CoL for remote employees might be sort of inverted price discrimination, because it's being done by a one buyer against multiple sellers, instead of the usual one seller against multiple buyers.

[1] https://en.wikipedia.org/wiki/Price_discrimination
0. As people have stated before, the whole point of those tests is that they test a specific kind of obfuscation that YouTube only uses for certain partner videos. So unless someone manages to dig up some obscure partner video that has that feature turned on and yet arguably consists entirely of freely licensable or non-copyrightable content, that won't work.

1~4. youtube-dl isn't just a user facing tool, it is a library and tool that lots of other software shells out to, e.g. so you can play YouTube videos from your favorite standalone player in better quality than using a web player. Integrating ToS links and extra user interaction into that isn't trivial.
Ask HN: Is there a website specialized in mathematics courses?
I have a BSc in computer engineering and part of the major was just a couple of calculus and discrete math courses. I want to expand my knowledge in mathematics through online courses. Is there a specialized website that offers courses in various mathematics fields?
Ask HN: Which Editor to Use?
Recently a student of mine (college sophomore) asked me which editor I use for code writing. I told him "vi(m)", but also mentioned emacs. When I was learning coding (with linux kernel versions before 1.0) these were the only practical choices, and since I am happy with vim, I never looked around for the upcoming alternatives. But I think some progress might have happened in this field, over these decades (of course vi and emacs have improved, too). So I have two questions:
(1) Did you start with either vi or emacs and then switched to another editor, because it worked better (whatever that means) for you, i.e., not imposed by your work environment etc.
(2) What would your editor recommendation would be, for someone using GNU/Linux environment, nowadays?
Sadly not all laptops are thinkpad-quality :)
If your test of being "left leaning" ignoring inconvenient facts then I might suggest that your viewpoint will not do well in a debate.

There is no inconsistency between a person being left leaning and that person thinking the Democrat party have adopted bad policy/insane rhetoric or that some elements of the radical left are insane and dangerous.

I'm a solid right wing voter; and I'd happily point out that some Republican policies are horrific (their approach to deficits is not acceptable), that their rhetoric is sometimes unhinged and that the fringe elements of the right wing are dangerous lunatics. Still think they are the better of 2 options.

And on White Fragility is exactly the sort of book that would have, in the 1940s, been used to justify Hitlerian race theory. In the 1940s it would be pointing out that Jews are systematically advantaged and as a group trying to downplay race but that one can't claim to be blind to it.
The article we're talking about is arguing that the RIAA shouldn't be using a DMCA 512 notice, but it seems that the are (incorrectly) using a 512 notice, or at least GitHub has interpreted their request as such.
Yep, on that, I made my own desktop workstation - but it certainly wasn't "cheap".

Latest gen AMD motherboard with strong power delivery, 32gb of blistering fast memory (3600/16), 12/24 core Ryzen CPU @ 4.4ghz all core (1.27vcore loaded; 1.3v idle), PCIE4 NVME storage - 1kw platinum PSU, 360mm AIO CPU cooling (one DYI was enough..), a great case with terrific airflow (Define 7 Dark TG, Corsair ML140 fans) - overall it's a bloody ripper of a (gaming#) workstation. 7731 CineBench 2.0 score.

Absolutely love working on it. I have four monitors - 4th above the middle one on my custom aluminum profile. MKB & mouse, studio lighting.

I run Win10, but all my work is through WSL2/Ubuntu/MS Terminal. I happen to really like this combo - and it's my computer, so my choice.

#) Everything's new this year - I renew every 5 years or so, and son gets my old. Am however using an old 1080TI and holding off on the GPU until well into 2021, due to current market craziness and to be able to see the size of AMD's rabbit. Oh and my Soundblaster ZXR stayed too; love the wired audio I'm getting from this!
Yeah, you are right, that didn't make much sense...
There is no evidence of exodus to other cities. There is exodus to suburban Bay Area where you can still commute 2-3 days a week and buy a 3k sq ft home. Bay Area real estate is no fire now with median price over $1mn and up 20% over last year
https://www.sfchronicle.com/business/networth/article/Bay-Ar...
Tags. All of my builds use `git describe` to get a meaningful version number for the build.
Docker as an Integrated Development Environment
This is the most I've ever gotten out of pinterest, other than this, it's just the "wrong site that google turns up, that I can't use because it wants me to create an account just to watch the image I searched for"
And way too expensive for classic reactor [1], while a reactor running with nuclear waste as fuel would probably be even more expensive as there are no one running...

[1] https://www.lazard.com/media/451086/lazards-levelized-cost-o...
I agree that fair is irrelevant, but my point is that the supply and demand dynamic is different in the remote situation.

Indeed, if all companies went full remote overnight, the demand wouldn't change that much, whereas the supply would be much larger.

If the company doesn't expect the employees to be physically present in a given location, the supply of talent is increased since it isn't restricted to a given area anymore.

So while I understand that people living in SF wouldn't appreciate having their salaries cut to the level of [low COL city], I don't see how companies would continue to pay SF rates when they can access talent for a lower price just because they live someplace else. And said talent could even be the same exact SF engineer deciding to live someplace else for personal reasons.
> Even with the CoL adjustment, people from lower CoL area still cost less.

How so? If the CoL adjustment is high enough, they should have equal costs.

But I do see your overall point that with a CoL adjustment people in a low CoL area would in theory be able to be hired easier, because in theory they wouldn't need to be held to as high of a hiring bar.
A simple way to think of a nuclear thermal rocket is that it's a nuclear reactor where the coolant is vented into the vacuum. (At very high temperatures, through a rocket nozzle, therefore it produces thrust.)

So yes, it pretty much by definition has no cooling issues. If you'd stay too hot, you'd just pump more fuel to cool your reactor better, and get more thrust.

(One flipside to this is that you cannot just turn it off. After a long burn, there will be decay heat you will have to dispose of, potentially for weeks. NTRs design around this with complex, slow shutoff sequences, or in the case of disposable stages, by making sure the stage will not be near anything important as it melts down.)
The author seems to care mostly about UEFI and secure boot, but there are other advantages to desktop (not to mention the likely partially permanent shift to remote work post-covid). Personally, I run a bit of a hybrid setup.

My new Dell XPS 13 came with Ubuntu pre-installed (which I replaced with Void Linux) and for the most part allows for a lot of tweaking. When I'm at home, I connect to my eGPU unit with one cable, allowing me to use my secondary monitor, a proper mouse, and external hard drives (although internal is already 1TB SSD). The eGPU unit is a Razer Core V2 with a GTX 1060, which is good enough for VR games, which play well on Linux these days surprisingly. Then a lot of my stuff is self-hosted in the cloud anyway, like a media server, backups, servers for development, even an IRC bouncer. I also run my own smart home software on a raspberry pi.

So while at the moment this might not be typical for an average consumer, the trend towards edge computing will really make the laptop into an "internet appliance" as the author says, and the browser an OS. Hell, with 5G, cloud gaming for VR may even be viable, and then we're back to the equivalent of terminals and mainframes.

The only real issue then is the ownership of these services — I don't agree with the author that everything will become a SaaS and no more open hardware will exist. It will always exist as long as there's a demand for it, you just have to accept that it'll be more expensive and less consumer-friendly. E.g. I have to accept that I can't hotplug my eGPU on Linux like you can on Windows, and I need to pay for my servers. Spotify and Netflix will always be cheaper than any legal means of acquiring media otherwise specifically because of their size.
codium
Nuclear fuel is not as radioactive than nuclear waste, putting it in the ground has a lot of challenge and (long term) risk
Scheme. So clean. So easy. So mind-stretching.
> You're making a different statement than the person I'm responding to, who said that the polls didn't align with reality because they did not weight for education.

Yes, I'm disagreeing; the polls in 2016 reflected the actual outcome very well (they were off, but not unusually far; the entire idea that there was an unusual error is based on overemphasis of fairly new poll-based predictors, especially one at the NYTimes, that painted an extremely high probability of a Clinton win based on a flawed prediction methodology which was separate from any problem with the polls.)

> I was simply asking if it was verified by showing that weighting by education made the 2016 polls align with reality.

If you want to fit a particular single result you can change how you handle any factor and get a perfect match. You'd actually need to test against a different set of real data than you used to determine the adjustment to validate it, not the same single result.
Linux. SSH. Command line.
Note that the source is a press release.

This is very similar to the Peewee nuclear rocket of the late 1960s. A small version of the better-known Kiwi reactor, that used zirconium carbide coatings like this new plan. Those 1960s projects got far enough along that the next step was flight hardware.

These things are certainly buildable, but the risks are a problem. These are upper stage engines. The risk comes from a failure of the booster used to get them clear of the Earth, in which case you have a nuclear reactor re-entering in pieces.
If you are on Windows, some USB-C hub allow to have two external display (and not mirror ones, for three different display). Not compatible with OSX though.
similar case happened in india https://www.ndtv.com/cities/killer-cobalt-60-delhi-universit...
I agree, but unfortunately the DMCA does not. In order to avoid liability, the tool has to have significant non-infringing uses, and I believe courts will look at how the tool is actually used in the wild as a part of determining that.
Just to add on this, pollinators cannot replace each others. Some plants can only be pollinated by specific species, like red clover and bumblebees in the uk.
I don't follow, are you suggesting that Tech companies and the media, in acting directly in opposition to the sitting president, are somehow forming an autocracy? Does that word continue to have a meaning?
There are very, very few countries that wouldn't cough up a zero-accountability half-assed response to a similar major incident. Corruption, protecting decision-makers from accountability, and taking half-measures are, sadly, inherent to the human condition.

Just look at how badly most of the world has handled COVID-19.
Requirements for Secure Delivery of Online Public Services
Hives are already a protective bubble, if the bees could make it more secure, they would.

We could make lasers driven by ML to identify the hornets and shoot them down as they approach a hive, but that would be really expensive :)
My bad, a and b are integers. That's why the periods work out.
Check this

https://www.monkwhocode.com/2020/10/nodejs-v15-4-things-to-k...
I agree. But to have an even small glimmer of hope of changing people's behavior, you need to sell the idea to them like successful companies do. Tell them how THEY're going to benefit.

As we have seen in this pandemic, even selling it like that isn't a recipe for success.
Well if you take suggestions, I personally only use vi over slow links (it shines on high latency connections where a normal editor does your head in with the slooow updates).

Since you're mentioning the arm gcc you probably have access to the likes of jed, nano or even the editor built into mc there.
The horrifying part I was referring to was not the fact that he dismantled the radiation source, but that his daughter ate a radioactive sandwich... It's surreal horror from a Hollywood thriller.
Prova
hola
Ask HN: What book do you hope to write one day?
Writing things down helps me a lot, so does making a sketch. Basically things that will lower your cognitive load, so you can use your brain on the problem.

For big projects, I have to write an outline. First big steps, then divide those into smaller and smaller ones. Again, always in writing. And somehow, paper and pencil works much better for me than electronic tools.

If you are talking about problems like physics problems, I highly recommend Reif's book:
https://mitpress.mit.edu/books/applying-cognitive-science-ed...
and his papers on the subject (they are under "Physics Education Research"). Even if you are talking about other problems, reading these might provide some clues.
Edit: Deleted: realized I replied to old comment
The article and the heading seem to diverge a bit. "An Intuition for Lisp Syntax" is much simpler than all the pages: in lisp, the syntax for control structures like a loop is the same as the syntax for everything else.

The reason for that is because introducing special syntax disrupts useful patterns that could be used for writing completely new control structures. Threading macros, for example, are pretty much impossible to do properly in Python because of syntax irregularities.
I've given feedback to dozens of candidates over the last 3 years, only when the candidate has specifically asked for it. In all cases people appreciated that another human gave them an honest impression of the interview.

Perhaps "quickly enough" is over 3 years. Regardless even when it does go poorly with one candidate, I've had 3 years of people I've at least been a normal person to, instead of acting like a drone who is constantly afraid of the proverbial lawsuits from candidates.
Guide to choosing a DAM and Implementation checklist
Id argue that the more obvious sign would be one in which all three drawings are present, but stacked vertically, with the radiation sign on top, followed by the death's head, but with an = sign between those two and no wavy arrow rays. Then below those two and their = sign, the person running with arrow. This would make it obvious that the radiation in the object means death and that running is extremely recommended. The triangle of graphics, with the radiation rays hitting both below almost seems to imply that X time is so deadly that you have no hope of escape even if you run.
"Harm" is difficult to assess in some cases. What about the bunch of school children who faced a higher than normal probability of traffic accident because somebody illegally parked near a pedestrian crossing? You can't really claim losses against somebody who endangered your life, before anybody is hurt. Maybe that's what fines are for...
I honestly don't understand this trend of single-file libs. Why not provide .c and .h files? If I already have a project with several .c files then surely I can add one more to whatever build system I have? I would rather I didn't have to add questionable #ifdefs each time I add a new file.
Not GP and I know some Java, but not C#. As I get it, in Java generics are little more than sugar coating: they basically check that your are not messing up with types. Having a List<String> is not very different (maybe not at all) from having a List<Object> and casting elements between Object and String when you put or get them, except that the compiler can check the types at compilation time. The List code is essentially the same.

By contract, a std::vector<std::string> and a std::vector<int> in C++ are two completely different and unrelated classes. Any code they used is compiled twice, once for every value of the template parameter, and of course is optimized independently in each case. So, for example, although the template code is the same, the operation of copying a vector an give very different assembly codes: copying a vector of strings requires to call the copy constructor of each single string in the new vector, but copying a vector of ints basically reduces to calling memcpy() appropriately (thanks to all the appropriate abstractions, so that the compiler knows that to copy an int it is enough to copy its bytes, and this cannot fail due to an exception, and maybe other things).

This is one of the great thing in C++ (at least, if you value this kind of optimizations), and it seems that OP misses the point entirely. It gives what is called (when it works) "zero-cost abstraction". You might like it or not, but it makes no sense to judge C++ design choices if you don't consider the ability to do zero-cost abstraction (which, for example, Java does not have).
But for a dynamically learning machine model, can you even copyright the numbers?
On GNU/Linux go with emacs. On macOS maybe BBEdit. On Windows use Sublime Text.
Can anybody recommend resources for the "next level"? I get that "code is data", the "unless" example is nice, but what I don't get is: why would I want to do that?

As a non-LISP developer I get by without macros and all the fancy things that are possible with LISP. I would like to see a strong case of daily tasks that are much easier with LISP macros. Anybody?
We recently reduced our build times by 5-10% or so by changing the default bcrypt iteration count (for tests). It also felt silly once we found it.
It's an informational RFC which is already published. So there's no review process anymore, it's done already. And as it's informational, it's not a "real" standard (no going through implementations etc)
Article is interesting but seems quite exaggerated;

> (Compared to chernobyl) the Cobalt-60 accident of Ciudad Juarez is by far bigger, precisely because it’s impossible to really know and determine the number of victims

Wut?
There are dynamos you put into the front wheel. I think they are more efficient than the ones you are Talking about (exterior).

https://hollandbikeshop.com/en-gb/bicycle-wheels/front-hub/d...
> but they will need hundreds of tons of radiators and shielding.

NTRs do not need radiators, they can keep cool using the prop. And the mass of shielding is measured in hundreds of kg to single-digit tons, not hundreds of tons. (You can very effectively reduce your shielding needs by putting the engine on a spar.)

The rest of your concerns are still valid. NTRs seem like they would work better if you are going to asteroids, or other such targets that don't have an atmosphere you can use to brake with, but I do not see the appeal for trips to Mars, where a more compact atmospheric-capable ship can shed half the trip Δv using a heat shield.
Yeah I was going to say the same. Have read about this before from much better written sources!