skysight-inc/HackerNews huggingface dataset:
where is the class instance in count = 0?

It is implied, it will be supplied by the framework after compiling the code. So no, it is not a ES6 class instance variable.
It would seem sequential keys for database performance is more than a 'specific' need.
correlation doesn't imply causation
PET is not polyethylene. Synthesis of PET involves a more complex feedstock (in particular, para-xylene to make terephthalic acid.) The other component, ethylene glycol, is made from ethylene.

Ethylene from fruit would not be competitive with other non-fossil sources. However, para-xylene can be made from biomass.

https://www.virent.com/wordpress/wp-content/uploads/2019/10/...
> A commandment that one shall not view one's work e-mail, nor one's Teams, nor one's Slack ...

Religion could be useful if it could simply ban shitty software like those examples.
The ability to do it (specification) is what is being rewarded, not the merits or not of what Pfizer/Moderna/Biontech did (implementation).
Although they may exist, I’ve never seen a European provider prohibit tethering.

One would hope such silliness should be illegal.

I just googled it and see that Verizon in the US was successfully sued for blocking tethering .. one would hope that more people take action against companies attempting this.
I'm an American but I'm into British motorbikes so I watch guys like Stuart Fillingham on YouTube. It's predominantly a motorbiking channel but he talks a lot about local politics and he's been all over these laws and the Net Zero laws in general. You should check him out because if even half of what he says is true then you folks are about to get whacked upside the head!
Sure its not gonna "kill the world", but you can expect a constant inflation of food prices, wars plus tens of millions of refugees due to climate instabilities. It will not eradicate mankind, but it may provoke the downfall of modern civilizations. And then good luck starting from the beginning again after you have depleted all easily accessible basic ressources such as iron or coal.
There isn't any real value to putting money into a 401k if you don't think the infrastructure to support it will be there when you get to your 60s.

I'm moving forward having elective and prophylactic medical procedures in the next few years instead of the next few decades so they can happen while I have access to such high quality healthcare.

Lasik and lense replacement seem like an example of what to prioritize bc glasses and contacts have such a long supply chain.

It isn't quite "prepper" bad, but my generation isn't planning on the time of plenty lasting.
That seems more like a memory/hard drive issue.

Ever since the Core 2 product line, intel’s CPUs have all been fine for stuff like office use (browsing, editing files, reading email).

Well other than atoms obviously.
>> if isn't humanity's days are numbered

>This is hyperbole.

Not at all.
Unicode looks like a big over engineered standard that had 50 hands trying to put their mark in
If an upvote is for agreement, does downvoting for disagreement not make sense? Or are upvotes meant for something else?
American Cosmic
Will Musk’s Starlink satellites lead to Kessler syndrome?
Viewing Gaussian Splats in Augmented Reality
I'd buy a Chromebook if I can kick Google out of the picture, use the hardware to run Linux in full control and still get outstanding battery life. Like a poor man's(or smart man's? ) M* Macs.

Why dont I just buy regular Windows laptop then? because they pay Windows tax and often come with weird power hungry choices because windows....
> If that’s an example to follow, then we’re collectively fucked.

We got collectively fucked when all western countries destroyed their natural landscape to get industrialized. If you expect another country to keep 70% of their land intact to save the world you gotta pay for this. And taking by the importance everybody seems to be giving to it, the price is expensive.
This is not what I said at all.

I performed a test again. This is on a 1920x1080p screen, which is pretty standard. Firefox progressively shrinks tabs, until there are 21 or so. Then, you can scroll the tab bar left and right with the scrollwheel.

Chrome continues shrinking tabs, until there are 90 or so. Then you can switch tabs with the scrollwheel or with the drop-down arrow on the right. However, it will fail to display some of the most recently opened tabs in the tab bar.

My workflow usually consists in opening a new tab for a new activity, for instance search the web for a product category. Then open multiple tabs from here, and multiple other tabs from each, while searching more and more precise information (like spec sheets, or digging into some documentation). I progressively walk back, closing the tabs as I am done researching a topic. This process is very analogous to a mind map (and it's a representation I wish was available in browsers, together with annotations, a bit like pearltrees). Tree-style tabs come close enough, as you can collapse a group or close it at once.

The reason why Firefox's approach work is analogous to the principle of locality[1]: data that needs to be frequently accessed tends to be close together (in time and space). By opening new tabs close to the current one (middle-click a link or the new tab button), they stay close to each other, and scrolling the tab bar allows to shift your context window. It works quite well.

Now, Firefox has one big advantage compared to Chrome: its address bar is very effective for jumping to an open tab far away (or some matching browser history/bookmarks). Chrome probably has a conflict of interest here where they want you to search the web first. If you want to jump back to a topic 40 tabs to the left, you don't have to scroll, just type in some keywords in the address bar.

Lastly, and that works with both browsers (still thanks to this locality principle), you can shift-select multiple tabs to move them to a new window to form a "tab group" substitute. Though in practice, I just tend to use private windows.

> Many of us don't have enough horizontal space on all their machines to comfortably waste a bunch of it on a tree style tabs sidebar.

Now, I find this argument to be weak. The only screen I have trouble using it is my vertical 1360x768p screen (so 768 horizontal pixels). Most screens will otherwise fit this quite comfortably, and have more horizontal than vertical real estate. The Tree Style Tab extension, by default, is toggled with F1, so I just hide it on that screen, and bring it up when needed. Thinking about this, some auto-hiding panel could work very well here.

I am conceding the fact that my initial reply was exaggerated. After testing this again, Chromium's usability threshold is more around 30 tabs. And given the RAM chromium requires for maintaining numerous tabs, I am wondering if it isn't by design.

To summarize, well, it probably depends on what you are used to... You wouldn't catch me dead on either hill though.

[1]: https://en.wikipedia.org/wiki/Locality_of_reference
So none of the fact that my MacBook Air runs quiet and fast running Apple designed processors, using an Apple designed OS, and integrating with other Apple hardware has anything to do with Apple being integrated?

And it shouldn’t be the company’s responsibility that made the hardware to make drivers and they should depend on who to do it then?
This doesn’t bother me as much as it seems to bother others. I guess I just never got into the “only people who never do something wrong can advocate against wrongdoing” mindset.

Is it hypocritical? Sure, though I expect he has lots of reasons why it’s not. But is it better than not even giving lip service to the issue? Sure it is. But the fact that action isn’t good enough doesn’t mean it’s bad.
I disagree that the experience is like today's Apples, but do agree that the Raspberry Pi tried and somewhat succeeded capturing that spirit.
In my view; it was absolutely glorious and completely magical. Keep in mind I was a kid when I started. My first english words were words like "PRINT" and "GOTO".
The machine came with restrictions that did not appear as such back then. It booted immediately into a programming language. It had games but also you could program it (which in itself is like a game). You had to figure it out yourself. Either by somehow acquiring books or by trial and error. No Google. To exchange software we put ads in the paper and random people of all ages would come to our house (or I'd go to them). It didn't look weird back then. We used tapes and later floppies. They were terrible at keeping the data in a stable way but it worked. Hard drives and modems were a dream. Rich people had those. Graphics were beautiful. Especially on the Amiga. The PC kids used to come and crumble from the weight of jealousy looking at my graphics or making MOD music on Modtracker.

I suppose a lot of this was true for the early PC days as well. Just with inferior graphics and interfaces.

After I sold my Amiga to get driving lessons I brought home an ancient 286 and made a text-adventure on it using TADs. The magic wasn't excluded from the PC world, it was just less colourful.
The problem with Bulldozer was mostly the wonky cache hierarchy, not the modularization. Well, the shared front end was a big problem but AMD fixed that in Steamroller and the A510 isn't making that mistake.
> so the idea of a world with only precomposed letter forms is more of a exponential explosion in the character set

"Exponential explosion" is really putting it too strong; it's perfectly possible to just add ǿ and á̤ and a bunch of other things. The combinations aren't infinite here.

The problem with e.g. Latin script isn't necessarily that combining characters exist, but that there's two ways to represent many things. That really is just a "mess": use either one system or the other, but not both. Hangul has similar problems.

Devanagari doesn't have any pre-compose characters AFAIK, so that's fine.

That's really the "mess": it's a hodgepodge of different systems, and you can't even know which system to use a lot of the time because it's not organised ("look it up in a large database"), and even taking in to account historical legacy I don't think it really needed to be like this (or is even an unfixable problem today, strictly speaking).

At least they deprecated ligatures like ﬆ and ﬂ, although recently I did see ĳ being used in the wild.
Increasing the bitrate lowers the noise floor. But that 6 or 8kHz signal is still there.

8:43 in the second video, he goes in to showing what increasing the bit depth gets you.

https://xiph.org/video/vid2.shtml
The article actually gives a completely different explanation: as a loophole to get around the cap on flights to Melb. Which is orthogonal to cargo vs passengers.
No, a parser is not an functor, an applicative or god forbid a monad.

The ratio of the effort academics spend thinking formally about parsers relatively to how often you need to write a parser is probably 50:1. Not as bad as sorting algorithms, where they take up 50% of a CS curriculum, but still pretty bad.

A parser reads an array of tokens and spits out a tree. You can write one for any relatively sane grammar by hand in two hours if you need to, infix operators & precedence rules included, with the added benefits of decent performance, the ability to have good errors and the peace of mind that you're not confined by what can be neatly expressed by parser combinators.
> But that's specifically the claim, and it's hogwash.

It's not hogwash. The issue is focusing to read in dim light causes the cilary muscle to contract to change the shape of the lens. For children, who are still developing, this can cause the shape of the eye to change while growing and lead to myopia- so the claim is not hogwash or unscientific myth as you previously stated.
I remember reading many years ago that the Orion Nebula could be expected to full of loose planets that have ejected by newly formed solar-systems as they settle down. It didn't mention anything about binary planets, though.
They are turning the international air travel treaty on it's head. This is the country's regulators fault not the carriers fault.

Australia bans carriers from flying domestic flights to protect their local carriers, but international carriers are allowed to make one connecting flight by treaty all over the world.

Presumably the flights are profitable or they wouldn't run them, but it's Australia's fault that you can't buy a ticket not the airline's fault.
People are supposed to read my opinions, but not have any of their own. They're supposed to give me attention, without taking any away from me. It's for their benefit, of course, but their words could never benefit me.

I am the all-smarmy fount of narcissism.
The Library of Congress, an agency of the legislative branch of the U.S. government thinks that SQLite3 [1] is a acceptable database format.

The Library of Congress has a small amount of SQLite files in its collections.

The Library of Congress also cites CSV [2], Comma Separated Values, as strictly specified in RFC 4180 as a acceptable dataset format. No other types of free-form CSV that aren't variants compliant with 4180 are accepted, and it also says that documentation and metadata needs to be supplied with additional separated archives in supported data formats.

The Library of Congress has 0 CSVs in its collections, and as a result no experience actually handling it.

I believe that if a widespread format such as CSVs have 0 files added to a reasonably well known and encompassing collection of human artifacts related to culture even with its ubiquity, it's a telltale sign that it isn't a standard at all.

[1] https://www.loc.gov/preservation/digital/formats/fdd/fdd0004...

[2] https://www.loc.gov/preservation/digital/formats/fdd/fdd0003...
I agree that the optics of that situation aren't great, but what would you rather have him do? not preach environmentalism? If all rich people are chastised for supporting environmental movements, isn't that going to be worse for the environmental movement as a whole? The ideal scenario is that rich people both preach environmentalism and move to a zero impact permaculture commune, but that's not an unrealistic expectation. We can barely get environmental measures passed today, and that's with billionaires supporting the movement. I doubt shaming billionaires for supporting the movement is going to make things better.
That'd be perfectly fine. You need to take some care to avoid duplicates or patterns though. Databases might not come with crypto-random out of the box but usually do have UUID support. Similarly, you need to use the crypto-random routines in your favorite standard library.

Depending on the implementation you still might have to worry about seeding issues. That's probably moot though since the UUID library would probably be compromised by something like that under the hood too.
It's not just work hardware. It's everything connected to your WiFi; everything. For Amazon, this means exploiting known security vulnerabilities in Microsoft, Google, and Apple to spy on employees, largely without their knowledge or consent. Further, there is no internal regulation for people who are executing these attacks. Individuals can access the personal data of their fellow employees at anytime, including managers.

If you recall, at the end of 2022 into 2023, Apple laptops and iPhones suffered from a series of webkit vulnerabilities which allowed root access.

Were these vulnerabilities repeatedly exploited by companies such as Amazon? Yes.

On personal, non-work devices? Yes.

Is this a gross (and federally illegal) misstep by Amazon, JPMorgan, and similar companies? Yes.
Ooh, seems there is a new syntax for declaring the types of kwargs [1]:

from typing import TypedDict, Unpack

class Movie(TypedDict):
name: str
year: int

def foo(*kwargs: Unpack[Movie]): ...

Maybe now I'll be able to actually figure out what data to send libraries without actually reading their source code.

1. https://docs.python.org/3.12/whatsnew/3.12.html#pep-692-usin...
Then its regular sugar addiction and not necessarily related only to milk tea.
Milk tea does not need to contain sugar. Bubble tea chains usually give you the option to choose. Also when I visit indian friends some of them usually refrain from putting a lot of sugar into it, not bubble teavin this case but still milk tea.
Darn, sounds like I missed quite the experience then by a few years. I've always been bummed about that when I hear people just a FEW years older than me talking about their apple II , amiga or whatever it is or whatever it is
However if one is using C++/Rust anyways, then it's a good idea to stay away from Cython.
From afar, Cython seems like a viable solution for Python/C++ interop. But the details get messy: you need to clone the .h headers into .pxd Cython-readable headers; and more advanced template-magic C++ constructs may end up being not directly usable in Cython due to missing features or bugs in the C++ support.

In the end, we ended up with quite a number of layers wrapping each other:

1. actual C++ implementation
2. actual C++ header
3. C++ wrapper implementation, avoiding constructs that Cython doesn't support
4. C++ wrapper header
5. Cython .pxd for step 4
6. Cython .pyx exposing `cdef class`es to Python with a nice Python-style API for the original C++ library.
7. Hand-written .pyi for type checking the remaining Python code, because Cython doesn't have support for auto-generating these yet.

Had we used pybind11 / nanobind instead, we could have stopped at step 3. Cython started easy, but ended up being a major maintenance burden.
Can you not already do that? You can do enable developer mode and from there (in theory) it’s possible to use them as regular PCs and boot any Linux distro or even Windows. I don’t know about things like battery life though
In every single market, the people who an afford iPhones, overwhelmingly by them. You see the same in the EU and especially China.
You are right, at least wrt B&H. No orders accepted.
I think PRC is more easily recognizable than NZ, yes, but I'm willing to surmise that NZ means New Zealand.
The First $1B Green Hydrogen Startup
I concur. Just swapped an HDD for an m.2 SSD on an older i3 machine and it hauls ass running Windows 11/gaming. Very impressed with the i3.
Since the other comments just say it's easy to find (very much true), I'll give you this link. Here he says the government should end subsidies. There's plenty more, I promise.

https://www.theverge.com/2021/12/6/22821532/elon-musk-biden-...
Yes, there are transflective LCDs.

My angle is that we don't need complicated e-ink + LCD displays. Just make LCD less straining (reduce glare, automatically limit brightness).
Prior to this article, I knew graphemes were a thing and that proper unicode software is supposed to count those instead of bytes or code points.

I didn't know that unicode changes the definition of grapheme in backwards incompatible fashion annually, so software which works by grapheme count is probably inconsistent with other software using a different version of the standard anyway.

I'm therefore going to continue counting bytes. And comparing by memcmp. If the bytes look like unicode to some reader, fine. Opaque string as far as my software is concerned.
> So the theoretical minimum is ~1.2 MB. Zstd is only acheiving ~1.4 MB, which is nowhere near the theoretical limit.

> Interestingly, 7-zip compresses the data much better than zstd, reaching a size of 1,298,590 B.

This isn't surprising to me. Zstd is designed for real time compression at I/O speeds (~1 GB/s), so it probably would leave some entropy in exchange for speed, but LZMA (7zip default) is designed for good compression ratios.
They make great corporate devices, depending on the needs of your users. Great security with very minimal configuration, which is really not the case for most of the competition.
I think you've missed the entire point of the structure of the poem - the backward reading (ie, immigrants may share my home and food) is as "tame" as the forward reading.

>That means you must also oppose empathetic messages in release notes, to be consistent.

Yes. It will be interesting reading these cultural artifacts after 50 further years of geo-political development.
https://archive.ph/m9GZK
Tesla Vehicle Production and Deliveries for Q3 2023
> deals

This is the problem. Capitalism will always choose “deals” and profit over important priorities like the environment and worker pay, safety, and lives.

I say, instead of less regulation, we nationalize all airline industry. Pull profit out of the equation.
>I mean, have you heard Bezos or anyone of his ilk actively sabotage a defensive military campaign thus enabling the continuation of genocide

As usual, a lie travels halfway around the world while the truth is putting on its shoes.

https://www.engadget.com/ukrainian-official-claims-elon-musk...
Well, it did reinforce the idea that you should never put your money in a company headquartered in the Bahamas.
Wow, NYT is really trying to prop up SBF any way they can. Disgusting.
As if these two views were the only views available...
We should probably also be clear that LLMs aren’t the only ML models that can learn to code. If hands-on programming is automated away, it’s not obvious that it’ll be an LLM that does it.
> If you need more than second precision then millisecond doesn't get you much further.

It gets you precisely 100x further.
You have got to be joking. I'm sorry but what? Iraq has barely recovered as we speak. The infrastructure still hasn't recovered. Compare Kyiv to Baghdad or even Kherson to Fallujah and yeah, Iraq got pretty destroyed all right.

By the way the US sure did target civilians, they just labeled them militants. Drone strike collateral damage etc. Do you think Russians also don't use euphemisms? Again, even if Iraq was not destroyed or civilians weren't deliberately and openly targeted, it has nothing to do with my point.

We saw a war caused by literal lies and imperialism lead to 1 million total deaths and we don't despise the citizens of the invading country. And you obviously downplay the war in Iraq because you were far removed from it (from the perspective of the Iraqis I mean). Obviously you feel more connected to Ukraine and Ukrainians but it's no reason to downplay or white wash the Iraq war by rationalizing and giving the benefit of the doubt to "our side"
I use VeraCrypt on Windows to store my bank statements and other financial records, but recently, I’ve started moving my files over to the Mac ecosystem. Considering my Mac comes with SSD encryption, is it really necessary for me to continue using VeraCrypt?
Plus most Chromebooks are basically fanless and an i3 will more easily avoid running into thermal limits. It's just the right choice for this kind of usage.
A proprietary product, but AWS Aurora Clones are CoW.
Out of 111,000 inmates, 31 were hospitalized and none died. Is there a small city with equivalent population where approximately the same numbers held?
Have written parsers, can confirm.

(With the maybe one exception that "reads an array of tokens" and "spits out a tree" may be interpreted loosely if sufficiently high performance is required.)
IMHO there is nothing "fortunate" about dragging politics into programming, regardless of your or mine views.

I would find it fortunate and valuable if at least certain human activites stayed out of political culture wars entirely. If, instead of "my side, your side", there simply wasn't any need to think of a side for a moment.

I already deleted my FB and TW account to get rid of incessant political flamewars and I feel aghast that they are now following me to Python release notes of all places.
The f-string nesting feature is nice. After having that sort of arbitrary interpolation in C# it always annoyed me that something as dynamic as Python couldn't figure it out.