skysight-inc/HackerNews huggingface dataset:
You can use Markdown with Sphinx in at least three ways:

MyST Markdown supports Sphinx and Docutils roles and directives. Jupyter Book builds upon MyST Markdown. With Jupyter Book, you can include Jupyter notebooks (which can include MyST Markdown) in your Sphinx docs. Executable notebooks are a much easier way to include up-to-date code outputs in docs.
https://myst-parser.readthedocs.io/en/latest/

Sphinx (& ReadTheDocs) w/ recommonmark:
https://docs.readthedocs.io/en/stable/intro/getting-started-...

Nbsphinx predates Jupyter Book and doesn't yet support MyST Markdown, but does support Markdown cells in Jupyter notebooks. Nbsphinx includes a parser for including .ipynb Jupyter notebooks in Sphinx docs. nbsphinx supports raw RST (ReST) cells in Jupyter notebooks and has great docs:
https://nbsphinx.readthedocs.io/en/latest/

Nbdev is another approach; though it's not Sphinx:

> nbdev is a library that allows you to fully develop a library in Jupyter Notebooks, putting all your code, tests and documentation in one place.

> [...] Add %nbdev_export flags to the cells that define the functions you want to include in your python modules

https://github.com/fastai/nbdev

A few additional sources of docs for Sphinx and ReStructuredText:

Read The Docs docs > Getting Started with Sphinx > External Resources
https://docs.readthedocs.io/en/stable/intro/getting-started-...

CPython Devguide > "Documenting Python"
https://devguide.python.org/documenting/

"How to write [Linux] kernel documentation"
https://www.kernel.org/doc/html/latest/doc-guide/index.html

awesome-sphinxdoc: https://github.com/yoloseem/awesome-sphinxdoc

... "Ask HN: Recommendations for Books on Writing [for engineers]?" https://news.ycombinator.com/item?id=23945580
The technique itself isn't new in clang either. This is about a new implementation of it, where the difference to the existing implementation is that this happens later in the process (it's deferred to the machine-specific code generation phase, whereas the existing implementation happens in the middle-end and is target-agnostic).
Wouldn’t it be interesting if the refresh rate of hollywood movies (~24 Hz) is somehow connected to how well our brains like that frequency...
Nikola seems to be little more than an idea but this report won't sink their ship. The reality is that the world is looking for the replacement for our carbon based energy system. Even if he just comes close to making a dent he and the people around him will be well rewarded. Everything starts with a dream, he seems to be a bit farther along than that. I won't invest but the car companies should at least help him make his dream come true. It will benefit all of us.
Color E-Paper and E INK Kaleido has severe limitations
Google Scanned Objects
>>started showing me videos from the crew on cargo ships as they talk about their favorite ports to dock at,

the answer is always whatever port your at on crew change day.
> why would you abbreviate your first name and merge it with the surname?

One might also ask "why would you write your name backwards in a book that's written in a language no one can read?". Perhaps the same thought process that lead the writer to reverse the order of the letters also encouraged them to remove punctuation and superscripting (which were often used when abbreviating names), as well as remove the space between first and last name.

Abbreviation of the first name (and not the surname) doesn't seem that odd, as evidenced by this 1640 collection of poems by "WIL. SHAKESPEARE":

https://commons.wikimedia.org/wiki/File:1640ShPoems.jpg
How the Coronavirus Attacks the Brain
Surely they would be aware the audience would know what ethernet is. To me, L2 refers to the level 2 cpu cache.
“Obvious” is subjective. I find TOML to be remarkably confusing and surprising and UNobvious, whereas YAML makes perfect sense to me, even though plenty of folks hate it. Essentially, the name is pretty obnoxious in multiple ways, given that it’s basically just an extension of the long-established INI format.
> There were a few units that could attack a whole stack, but ~20 musketeers in the midgame was practically impossible to defend against aside from having your own stack of ~20 musketeers.

That's real life though. WW2 wasn't decided by who was the best strategist. The allies produced 4 million tanks, the axis 700,000. Game over man.

And there was a hell of a lot more than one unit per tile on the coast of Normandy in June of 44.

That's why diplomacy is so important in civ 4. Manage that right and you don't need to build the 20 musketeer stack, you can leave most of your cities completely undefended. Your neighbor builds the stack and you bribe him to go attack someone else.
No. You get Lanchester's laws. https://en.wikipedia.org/wiki/Lanchester%27s_laws

Games which more accurately represent Lanchester's Square Law are Axis and Allies, or Ikusa (as well as Pathfinder / D&D 3.5 actually). The death-stacks of Civ4 are very far removed from reality.

-------

Civ2, Civ5, and Civ6 work pretty close to Lanchester's linear law and are more acceptable battle simulations IMO. Risk is the board game commonly associated with the linear-law.

-----

The tactician chooses the Linear-law when outnumbered. You run and hide in a chokepoint, 300-style, fighting as small of a force as possible.

When you have the advantage, you try to choose terrain that's beneficial to the square-law, where you can outflank your opponent and focus fire them down (allowing the Square Law to take affect instead).

Civ4 has no play between these two different situations, because the Deathstack doesn't care about flanking or shapes of your units, or anything.
I create makeshift live code editing experiences primarily with scripts and fswatch. Fswatch will trigger on changes to files you’ve told it to monitor and execute some command (I usually have it run the compiler/test runner for this setup). It’s become my go to way of writing C and C++ code since I’m not a fan of most IDEs and would rather stay in emacs.
I think a huge reason, I didn’t see in the article, that TikTok is able to train their ML to be far more effective than any other video platform out there has to do with the size of those clips and how easy it is to flip through them.

If we are watching 30 second clips, flipping through them quickly, that’s 2 signals a minute and 20 signals every 10 minutes (the average size of a YouTube video) and that is assuming we watched 20 videos, we might have flipped through 60 in 10 minutes.

That’s 60 signals where YouTube would’ve gotten 1 signal. Whose ML will be better trained with your preferences? Obviously TikTok, I don’t think there is anything special about their algorithms it’s just a function of their product and the type of content.
‘If I were to wish for anything, I should not wish for wealth and power, but for the passionate sense of the potential, for the eye which, ever young and ardent, sees the possible. Pleasure disappoints, possibility never. ’

- Kierkegaard

More quote than motto but something that has guided me through the years
AI standards launched to help tackle problem of overhyped studies
Considering the sheer numbers of FM radios and how long they last it will be decades before DAB takes over. I don't plan on replacing mine until it breaks.
The Apple II graphics resolution modes could be mixed with text. So that is to say, in either the lo-res or hi-res modes, a hardware register setting would conceal a bottom portion of the graphics frame buffer, revealing four lines of the text mode.

I think all the circuitry for shifting out the pixels must have been very minimal and shared between the text and hi-res mode.

So, .. if you recall, the character cells in the 40 column text mode are all also 7 pixels wide. The character cells were 7x8. In that space, a certain font fit exactly, with a two pixel space between characters. Here is A:

OOO |
O O |
O O |
OOOOO |
O O |
O O |
O O |
|
-------+

In high res graphics mode, you could create a bold font, by using the extra column:

OOOO |
OO OO |
OO OO |
OOOOOO |
OO OO |
OO OO |
OO OO |
|
-------+

That was seen in a lot of games.

Anyway, the high res graphics mode pixels coincided exactly with the text mode pixels. You could imitate the text mode using high res graphics, and it would look indistinguishable. (Except for not being able to make the characters blink simultaneously, though even that could be sort of faked with page flipping.)

I think that in a 8x8 character cell that would result from a 160x192 mode (40x24 text), it might have been more awkward to design the font. You want an odd number of pixels, for symmetry, so probably characters will be 7 wide. 5 would leave 3 pixels of space, which might be too much. For designing 7 pixel font glyphs, maybe 7 scan lines is not enough height.

It's possible that part of the decision was around the design of the text mode and its font, and the high res graphics was tied to that, pixel for pixel.
> Why on earth is my company's TLS private key kept a secret from all the employees?

A far more adequate analogy would be a company spying on all of its customers and employees, and then lie when asked about it.
For one thing, when the text resumes after an image or quotation, you can't (easily) tell if it's the beginning of a sentence or not.
Well, I'm sold.
Caddy is the best way to get junior devs up to speed. And the reverse proxy is amazing. And it is easy to know what caddy is doing compared to nginx etc
Yeah,
I think toml is great short/simple config files, yaml is good for medium length/complexity, and I have yet to see anything that’s not painful for long config files.
And if you haven't bound them previously, it does exactly the right thing, and regards them as now the same variable.

?- FOO = BAR, FOO = 1, print(BAR).
1
It's not that it's hard. It's that it's different, and every difference has a cost. IMHO, and in the OP's opinion, the benefit of TOML for packages isn't worth the mental cost of having to know about three configuration methods.
I've seen plenty of c/c++/java functions that exceeded 200 lines of high level code. It seems reasonable to me that such a function would be 5k bytes of machine code, especially on a 64-bit architecture.

Not that such functions are the right way to structure your program...
It's about strong typing. I detest stringly-typed programming.

If the format specifies some stronger types, the decoders can "bubble that up" to the programming language that decode the file. E.g.: a guid turns up as a "System.Guid" type in C# instead of "System.String".

This matters, because all of these are the "same" GUID, but not all GUID parsers can handle all of these formats:

{123e4567-e89b-12d3-a456-426652340000}
(123e4567-e89b-12d3-a456-426652340000)
123e4567-e89b-12d3-a456-426652340000
123e4567e89b12d3a456426652340000
urn:uuid:123e4567-e89b-12d3-a456-426655440000

Similarly, with IPv6 all of the following are the "same" address, but if encoded as a string it's hit-and-miss if the far end can properly handle all of the variants:

fe80:0000:0000:0000:01ff:fe23:4567:890a
fe80:0000:0000:0000:1ff:fe23:4567:890a
fe80:0:0:0:1ff:fe23:4567:890a
[fe80::1ff:fe23:4567:890a]
fe80::1ff:fe23:4567:890a
fe80::1ff:fe23:4567:890a%3

Similarly, for your hex-encoded binary example, you'd be shocked at how rare it is for programming languages to provide a "hex-string-to-byte-array" decoding function. If you roll your own, it'll be about 10x less efficient than something done properly using SIMD instructions.

Just recently I had to deal with Azure Resource Manager Templates, where even the distinction between numeric and text types has been eroded. There's several number fields that must be a string. There are also numeric fields that weirdly accept a string, but only if it is an ARM template expression that evaluates to a string containing a number at runtime.

Ugh...
Report raises new questions about structural integrity of Boeing 787 Dreamliner
This would be nice for situations where you have a lot of method calls daisy chained together. Like builders or Java Streams.

DoThing()
.withSomeOtherThing()
.onSundays()
.withCharset(Blah.BLAH)
.betterAddThis(x -> { ret stuff() })
.build()
=> turducken

The whole assembly of the variable 'turducken' is drifting rightward. By the end we want to get to the point rather than backtrack.
JSON should be banned for configuration, if only for the fact it doesn’t support comments.
What confuses me is why there isn't a toml module in the standard library.
The Encyclopedia of Pulp Heroes
YAML and TOML wouldn't have been necessary if JSON had been slightly more expressive. If JSON had

* comments
* bareword (not double quoted) object key names

it'd be a much more suitable configuration file format for everything, and I don't think we'd see the motivation to make things like TOML and YAML.
They’re acting like this is somehow better than what Tesla has simply because it’s wireless? I don’t get the point.
You can't place 4-million tanks in one area in the real world.

But you can shove 4-million tanks onto a single square in Civ4. That's the stupid part.

--------

In the real world (WW2 and older battles anyway), soldiers spread out, trying to out-flank each other and gain terrain advantages. You can't just "stack" your entire army on top of itself. You have to deal with terrain, chokepoints, and movement logistics.

"The battle of the Bulge" was a thing, because terrain and battle-line formations matter in the real world. (Well... at least historically. I'm not sure if it matters as much with today's jet fighters and super-carriers). The USA lost tens of thousands of troops, because holding the line was incredibly important. (And the Germans similarly sacrificed tens of thousands of troops in the hope that they get a breakout offensive)

Except movement-logistics are boring and tedious (see Civ5 / Civ6 endgames). Allow unrealistic stacking but remove any tactical advantage from it (ie: Civ2), so that the game is a bit more fun to play.

--------

Anyone playing Civ4 will inevitably draw their units together into a singular death-stack. The entire concept of "fronts" is almost completely devoid in Civ4.
Is this a case of regressive evolution (devolution)?
What Is a Thesis Statement?
With IOS I’ve used the keylog strategy and it is very effective. IOS uses boringssl and the library calls a function to log the secret but this function never does anything normally. However, you can either trampoline this function to log the secret or modify the ssl context to add your own logger function. This is all public knowledge and you can find Frida scripts that will dump the TLS secrets.
Yeah, I just wouldn't call $190k "ruthless wageslavery at BigLaw".
> If you imagine zooming in on a stock price, with each successive zoom closer it remains self similar, looking perpetually like a noisy stock chart.

Unless some exchange has allowed traders to infinitely divide currency, that's doesn't seem like it could be true.
You are right. This article doesn’t really say anything except that this version is wireless, and Tesla’s is wired. Why should I, as a consumer, care?
> It's a thought experiment to demonstrate the absurd situation here: a handful of people in this country are amassing more wealth than entire nations while millions of people are struggling to keep a roof over their head.

The absurdity is subjective. As far as I personally am concerned, I could be as rich as Bezos, but I didn't put in the work and I didn't make various choices in my life, while he did. I am where I am and he is where he is, and I don't have a problem with that. I don't know that he ever broke any laws, and in my book that means he is entitled to enjoy the lawful fruits of his labor. I am truly happy to live in a country where people are not subject to confiscation of their hard earned gains because of some perceived "unfairness".

My son enjoys a lot a silly book series called "Diary of a Wimpy Kid". This series sold many hundreds of millions of copies, and most likely its author is a billionaire. He made millions of kids lough and be happy for a bit. My son can't wait for the next book, which is supposed to come out next month. If ideas like "tax billionaires 100%" were to pass, the next book would never exist.
I was trying to figure out how it's different from inspecting from within Safari on a Mac, but I don't see the answer there. I just tried and it works fine over Wi-Fi as well. Maybe Windows support?
OK, I think the problem was that your original post was much too strongly worded. It sounded like you thought that there was no role at all for 256-color and RGB ASCII escape color sequences. But that's clearly not true: just look at a terminal application like bat (a syntax-highlighting cat replacement), which is very popular, and uses sublime color themes most of which use hardcoded colors. In fact, nowadays, when I use the terminal applications that I use most frequently, I make use of their 256-color and full RGB capabilities. But, nevertheless, all the applications I have in mind allow the user to escape hardcoded colors and use the 16 color palette to be used.

But, they do not default to 16-color palette: for example, bat's default theme is Monokai Extended (https://github.com/jonschlinkert/sublime-monokai-extended).

So, as politely as possible, I do suggest that you should get off your high horse; yes people recognize the importance of supporting the 16-color palette but no, it's not some sort of obviously evil abomination to support and even default to hardcoded 256-colors and RGB colors. Quite to the contrary, there are several use cases among modern, popular, terminal applications. They involve color-rich scenarios such as syntax highlighting.

Don't get me wrong though, we're largely in agreement. I wouldn't want a normal terminal app to hard-code, say, a yellow color, which is only visible to users of dark terminal backgrounds, but hopeless on a white background.
When I worked there as a developer (early 1990s), it was definitely a very aggressive and focused culture. You had big targets and would get reamed out if you didn't meet them.

But the following day you'd be praised for what you did get done to make sure you knew how much you have achieved - and that often pushed you to meet your targets the following day or so.

I liken it today to a perpetual game jam or hackathon. Four months at Microsoft felt like 10 years anywhere else, but no other environment built my skillset as fast, and I have many fond memories of that time and culture.
A couple comments:

[1] Anthony talks about library for image augmentations that was born in machine learning competitions. The library called https://albumentations.ai/ . Kaggle Grandmaster and 3 Kaggle masters are the members of the core team. The library is used in most of winning solutions to the computer vision challenges, including the Deepfake challenge with $1,000,000 prize.

[2] He mentiones a story on how Kaggler over the weekend beated Researchers that worked on the problem for months. Details: https://ternaus.blog/career/2020/01/08/How-I-Found-my-curren...
Musk has said he thinks that Tesla's stock is overvalued, and the company has sold stock to raise funds.

Musk may hate them, but there's is little-to-no daylight between him and the short sellers at this point; both think Tesla's stock is currently overvalues and are selling it to cash in on the current high valuations. :)
If assignment is what we are concerned about, we should introduce something like `x := x + 1`.
In addition to OpenSSL's Heartbleed, nginx had its own functionally-identical "Heartbleed" bug in its header parsing. Exact same impact.

(I don't think anyone made a big deal about it at the time; I knew about it because our team at Matasano discovered it independently just an hour or two before someone else filed the bug).
There are many would be con artists that have not gone further than counting cards at the local tribal casino. I would argue these men are equally unethical but success at this scale requires persistence, hard work and talent. In this case, the talent is lying convincingly.
> And the web suffers from all sorts of accessibility problems because developers don't take that into account.

So what do you suggest, that the web should use a limited palette that is user-configurable and not hard-code any colors?

I really want to say the following politely and respectfully, so please try to see it in that light: there is an upper limit to the restrictions that it makes sense to impose in the name of accessibility. There have been some awful acts of vandalism done by accessibility zealots. I'm thinking in particular of the deletion of thousands of hours of university lectures by UC Berkeley.
It's possible to have a language design like this:

DoThing()
.withSomeOtherThing()
.onSundays()
.withCharset(Blah.BLAH)
.betterAddThis(x -> { ret stuff() })
.build()
.into(turducken)

Where a.into(b) is really (into a b), which is a macro sugar for (set b a) and not a function.
> I can't seem to find a date for it, but I think TOML is pretty old, so probably predates a lot of these YACFs.

Not _that_ old. TOML's first release was in 2013.

But as a testament to the config format, it was only about a year old when Rust's cargo adopted it fully.
Text processing - Perl, I have used it for 20 years now to do this and it is still one of the best languages for it.
> Elon staged fake product presentation a month before the vote to gain support for the acquisition.

> It's not a fraud because it worked?

It's not fraud because I don't buy your claim that it was a fake product presentation solely to gain acquisition support and the article you link doesn't even support that.

> Main difference between Nikola and Tesla now is that Tesla did deliver some products so far

"Some products" - they've sold hundreds of thousands of cars, built out a supercharging network, and a battery factory, while also making progress on autonomous driving at the same time. They were the first to prove this market against enormous odds and constant negative press.

Nikola has produced nothing but bullshit. I think the Tesla stock is crazy right now and I also think Elon's timelines are often unrealistic, but the amount of anti-elon anti-tesla sentiment in the face of success after success against enormous odds is wild to me.
DeepSpeed: Extreme-scale model training for everyone
Ugh! I love that Ruby is expressive but this will just add confusion when a developer moves to Ruby for the first time. It adds a mental burden to be aware about all these rules.
> I was stunned at how paltry the equity offers were from private, Series A-C companies. For most of the offers I received, the company valuation would need to increase by 8-20x for the yearly compensation to achieve parity with the first-year offer from a public SF-based company, let alone to exceed it.

That’s what early stage startup equity is though. It’s specifically a high risk, high reward form of compensation.

It’s rarely going to double in worth. Either it’s worth a lot more or it is worth zero. And it’s almost always worth zero.
I love ruby, but this is awful. Hope it goes away.