skysight-inc/HackerNews huggingface dataset:
I don't think a list of specific words would be useful. Otherwise you could wish someone asphyxiation due to a foreign body erect in their throat and claim it's not swearing, technically.
Cars like most products are about far more than just technologies.

It's about brand, design, experience, service etc.

Otherwise we would all be driving cheap Chinese cars, wearing counterfeit clothes and using no-name brand Android phones.
Exploring the killings that shine light on Canada's underworld power struggle
>React surely has higher level widgets than Win32 (and Cocoa, and TK, and all those decades old stuff),

Higher level, but much lower quality -- the feature set of GUI widgets as offered by desktop SDKs is unmatched in the HTML/DOM world. It's like actual objects vs play-doh.
I remember all the FUD pre-referendum about how their would be an immediate economic crash the day after a vote to leave the EU. Look how well that prediction turned out.
I am facing a bit of dilemma over here. I also have tried to ignore "take this test and then we'll talk" approach but turns out I have missed quite a few good opportunities. Need to change my strategy a bit? I think yes
Ask HN: What relatively recent technical books do you recommend?
I'm looking for technical books in CS/Software engineering with solid well-explained content. Below are some really good books I enjoyed and am hoping to find more well-written books regardless of the actual technical area they focus on.

A Philosophy of Software Design By Ousterhout

Functional Programming in Scala by Paul Chiusano and Rúnar Bjarnason

Mastering Regular Expressions by Jeffrey Friedl

Programming in Scala by Odersky

Operating Systems: Three Easy Pieces by Andrea C. Arpaci-Dusseau and Remzi H. Arpaci-Dusseau
> why do it as a PWA?

Presumably, so that it can be available in his car, when there’s no network access.
And that, I believe, is the true reasoning behind this move. As web apps drive traffic away from stores, and thus drive away revenues from such stores, limiting JS would be a way of forcing apps back to the stores.
I’ve become a big fan of using finite state machines (more specifically xstate [1]) to encapsulate all the logic and states of a particular UI. You can essentially create all the behaviour of your application without writing a single line of UI code. At that point, you can use React exactly as you described, as pure functions of data.

[1] https://github.com/davidkpiano/xstate
I don’t think this criticism of hooks is valid. A hook that exposes a “incrementCounter” function could be implemented with local component state, or global state via React context. The developer could trivially swap in one implementation for another.
> For it not to work defeats the point.

It's just the tool to make the compatible releases possible. The compatibility doesn't fall from the sky, somebody should actively work on it. And you can be that someone.
Half a percent of total supply of Ethereum might be lost forever
What is a PWA?
> The idea that Germany, of all countries, has the rule of law is absolutely laughable. This is the country that started WW2 for lebensraum. Everything Hitler did was totally legal. But he still was an autocrat. This is because Germany did not have the rule of law.

I suggest you read more history and novels originally written in German from before the 1900s. The fact that Germany became a dictatorship is hardly dispositive of having the rule of law historically and generally. Germany, more than any other part of Europe was full of lawyers, and the law mattered to a great extent historically. The Holy Roman Empire was full of independent cities, free cities that had charters and were well aware of their rights and defended them and burghers who were keenly aware of the distinction between them and peasants and who engaged in self-rule in the same way as the Dutch did. The fact that it was the militaristic Prussian who unified Germany is a contingent fact. Even Prussia was absolutely a state governed by the rule of law. The Nazis coming to power no more shows that Germany did not have the rule of law than Andrew Jackson defying the Supreme Court to send the Five Civilised Tribes on the Trail of Tears does, or Lincoln suspending habeas corpus, or Roosevelt completely upending the constitutional order and ruling for four terms does.

But at the most basic level, just read this and try and tell me with a straight face that the rule of law was not a German thing.

https://en.wikipedia.org/wiki/Rechtsstaat

> Rechtsstaat is a doctrine in continental European legal thinking, originating in German jurisprudence. It can be translated into English as "rule of law", alternatively "legal state", "state of law", "state of justice", "state of rights", or "state based on justice and integrity".[1]

> A Rechtsstaat is a "constitutional state" in which the exercise of governmental power is constrained by the law,[2] and is often tied to the Anglo-American concept of the rule of law, but differs from it in that it also emphasizes what is just (i.e., a concept of moral rightness based on ethics, rationality, law, natural law, religion, or equity). Thus it is the opposite of Obrigkeitsstaat or Nichtrechtsstaat (a state based on the arbitrary use of power),[3] and of Unrechtsstaat (a non-Rechtsstaat with the capacity to become one after a period of historical development).[4]

> In a Rechtsstaat, the power of the state is limited in order to protect citizens from the arbitrary exercise of authority. The citizens share legally based civil liberties and can use the courts.
He describes it as an app essentially for his own use - there IS no business model. He’s not going to need to add tracking or ads.
ContentID is their AI. And of course it doesn't resolve anything - "AI" being opaque and unpredictable by definition - but parent wasn't saying that computers would do a better job than humans, just that they'd be a lot more convenient.
We need to find out the date the original poster actually entered to make the booking. They may have entered 2/2/19. Perhaps the code for the calendar interpreted it literally (as year 0019) while the code to display the date string did a conversion for Y2K.
Progressive web app - https://developers.google.com/web/progressive-web-apps/
Wave 2 – Smart Key emergency start system
JavaScript, the weirdo – collection of funny JavaScript things
Virtu makes money because they take advantage of a structural setup in the market: they trade retail flow from the likes of Schwab and Robinhood.

This is vastly different than making money in the markets just by connecting to an execution venue and receiving market data.

In the former you have a clear edge over the market because you receive dumb uninformed flow. In the latter example you are left to fend for yourself and challenge the EMH purely through your math skills and insights.
I meant the site linked to here - it's done as a PWA when there was no need to, and it fails on first load on mobile Safari for some reason.
> Not sure why you're getting downvoted, this is correct.

No it's not, because it's fundamentally confused about what it means to write a language down.

> I personally find fangyan as a better descriptor than dialect

The literal translation of fangyan is "topolect", i.e. "the way people talk in a certain place". It only came to mean "dialect" due to some weird miscommunication when Western linguistic terminology was introduced in China. So that's the translation dictionaries give, and it's correct except when it's used to describe languages within China, where the traditional meaning of "topolect" continues to be used.
While it is true that Germany has legalized and not so legalized corruption in politics, it makes no sense to single out VW. All large companies have "government affairs" departments which sadly provide great return on investment. If only the people had a government affairs department...
Hosting static content can be done for free. Looks like he's using Firebase, but I believe you could host it on Netlify/Github Pages for $0, since there's no server side work being done.
Personally, I don't mind the concept. I can write CSS on a microwave if I have to. But CSS is supposed to be simple, not to be mixed with JS.

There are good designers out there who know HTML and CSS but not JS. This will lead to a problem for those people.

Let's be honest, you cannot just jump into a React component and edit CSS if your knowledge of JS is slim to none.
Founder Declined a $9M Acquisition at Age 18 and Built Vimeo
> If there were someone who knew how to learn new languages, we would all know it. They would be uniquely and unquestionably skilled at producing new language speakers.

The thing is... There are people like that. They may not know how to teach that to others, but if you look at simultaneous translators, they don't just know another language. They know 4 or more fluently. And maybe pick up another one over summer holiday just for fun. (At least the ones I know did that)
About "French book" etc, I don't think this is particularly different in other languages - we have phrases like "french kiss" or "dutch oven" or "it's all greek to me" in English that have nothing to do with the country involved and everything to do with some historical stereotype or linguistic accident.
Looks like EdgeRouter X fits my requirements and is pretty cheap (50Eur). Thank you!
> When you have people like Schäuble, a piece of shit that was convicted for corruption in 1999

Do you have source on this?
Wow your long history goes all the way back to Fresh Prince of Bel Air.

Thanks for enlightening us Professor 26 Year Old.
I've observed the very Youtube behavior you describe, on the newly setup computer on the newly setup location, where I haven't logged in with my Google account. It's really horrible.
> It is beyond me why my home directory ended up up containing a node_modules directory, package-lock.json, a yarn.lock file (I have never even consciously used yarn!),

Sounds like there’s a bigger problem.
ActivityPub means an “inconsistent user experience”. That's part of the deal
And here it is from the Chinese perspective:

https://www.youtube.com/watch?v=1a-QpyF7rNc&t=3512s
Yeah like every African colonizer ever. What is your point? Colonization doesn't happen in continent-sized chunks.
Ah, right. I was confused because everything worked fine for me. Although, believe it or not, after reading this comment, I went back and saw the exact behaviour you describe! (Safari, iPad)
Firebase has a pretty feature complete free tier.
> And how are alternative-milks a better solution especially as they are also (but directly) plant-based?

Come on. Yes you also need plants, but way way way less than using cows. In other words, cows are a very inefficient source of milk compared to oat or soy or almonds.

> If people are actually concerned about the natural environment they would be giving up their cars

It's not all-or-nothing you know, it's still good to do some effort, and it's way easier to give up cow milk than to give up cars (just buy a different kind of milk VS move out). And some people actually are giving up their cars. I wouldn't go as far as to say it's the same people without some statistical source.
No rights, only duties (the effects of “National Emergency” in France)
Godel's sentence is not an exact problem. It's a big number representing a claim (a theorem) about Godel numbers and the sentence itself.

There's nothing to calculate there. It's a proof by construction for Godel's incompleteness theorem.
the subject of this Senate hearing was widely written about wrt rentech back in 2014.

This is more about what rentech does after they've made all their money trading... To avoid capital gains taxes. Sure, it's just another way to make more money, but it's not their core strategy.
Artificial Intelligence, Algorithmic Pricing, and Collusion
Yes and no.

You are right in that changes to drawing induced by the original iPhone are responsible for at least part of the widgetization of CocoaTouch. The first iPhone(s) had a really, really slow CPU but somewhat decent GPU, so moving more rendering functions to the GPU made sense.

Originally, Cocoa as well as its NeXTstep predecessor did essentially all drawing on the CPU (some blotting on the NeXTdimension notwithstanding). And this was usually fast enough. At some point, window compositing was moved to the GPU (Quartz Compositor). With the phone, animations were both wanted for "haptics" and needed in order to cover for the slowness of the device (distract the monkey by animating things into place while we catch up... g ), and the CPU was also rather slow.

So instead of just compositing the contents of windows, CocoaTouch (via CoreAnimation) now could and would also composite the contents of views. But that's somewhat in conflict with the drawing model, and the conflict was never fully resolved.

> texture upload is too slow

First, you don't have to have separate textures for every bit of text. You can also just draw the text into a bigger view.

> redrawing your text each frame

Second, Cocoa does not redraw the entire screen each time, and does not have to redraw/reupload the texture each time (if it is using textures). It keeps track of damaged regions quite meticulously and only draws the parts that have changed, down to partial view precision (if the views co-operate). Views that intersect the damage get their drawRect:: method invoked, and that method gets a damage list so it can also optimise its drawing.

Now if you actually have a texture living in the GPU and you are incapable of drawing into that texture, then you must replace the texture wholesale and the rectangle/view based optimisations won't work. However, I know that they do work, at least to some extent, because we were able to optimise animations on an iOS app by switching from layer-based drawing to a view with drawRect:: and carefully computing and honouring the damage-rect. It went from using 100% CPU for 2-6 fps to 2% CPU at 60fps. (discussed in more detail with other examples in my book: iOS and macOS Performance Tuning: Cocoa, Cocoa Touch, Objective-C, and Swift, https://www.amazon.com/gp/product/0321842847/ref=as_li_tl?ie...)

Third, if your text does change, you have to redraw everything from scratch anyway.

Fourth, while the original phone was too slow for this and lots of other things, modern phones and computers are easily capable of doing that sort of drawing. The performance can sometimes be better using a pure texture approach and sometimes it is (much) better using a more drawing-centred approach (see above).
Although I agree with plenty of things you say, and we probably have similar experiences learning language, the strength of your assertions to always use i+1 (95%) and to always go from native to target when doing flashcards are unwarranted.

That's A method. Or A way to do it. There are many paths up the mountain. Granted I appreciate it when people explicitly lay out "here's the path I walked up" as that's good information. But there exist other paths equally as fast and maybe some even faster, many slower of course but there really is a surprising multitude of techniques that wind up at similar results.

I remember sitting and engaging with content that I had fuck all idea what was being said but I was so damn delighted every time a word came up that I knew that it just lit the fire and kept it burning. I did plenty of i+1 flashcards which were sentences (both reading and listening) purely from target to native. I quickly established a foundation on which I could parse any sentence, I just needed the vocab. Then I did nothing but engaging with content I was interested in regardless of difficulty and hung out with friends getting in 10+ hours conversation (one on one plus group situations) per week. End of my second year of doing that I could hold my own in a lengthy one on one for hours on end and end of year 3 I could hold my own indefinitely in groups.

Was a blast. So long ago now.
Right, changing the order would be a pain. Although if the reason for doing so is memory layout (for speed), then a lazy permutedims(A) would decouple index order from this. Perhaps when creating a tensor for the first time there ought to be a way to specify the layout? Haven't thought much but something like A[n^4, μ,ν, c^1] := .... would not be hard to do.

In your prod<2>(a, b, ... example, if p1 and p2 are in the same space, how would a*b know which one to contract? Or do they have different names from when a was created?
Those things are real differences in how the car ia designed. If it was the brand you cared about, then you would buy BMW even if you didn't prefer those things in BMWs.
When It Comes to Super Bowl Kickers, Who Will Choke First?
>So where does the misunderstanding come from? It comes from recent changes in how developers (ab-)use GUI frameworks. I haven't full grokked how this came about, but it seems to be part (a) widget toolkits (b) horrible drawing APIs and (c) the iPhone with LayerKit/CoreAnimation. This change has been that for example, when there is just some dynamic text to draw, people have been using text-label widgets instead of just drawing the damn text in drawRect. So suddenly you have people constructing, adding and removing views at runtime as a matter of course, rather than as something done in exceptional circumstances, which I gather is what you (rightly) object to. However, this is not the "programming model" of GUI frameworks, it is an abuse of those GUI frameworks.

Not sure when your "recent" (in "recent changes") refers to.

That's how GUI frameworks have worked at least since they've provided a widget hierarchy (with labels, containers, buttons, and so on). Delphi was like that, Swing was like that, QT was like that, GTK was like that, NeXT GUI lib was like that, Cocoa was like that, the old Mac OS 8 lib up to 8 was like that, and so on. Heck, even Athena was like that.

The GUI programmers and frameworks that have been "drawing the damn text in drawRect" are in the absolute minority, not since CoreAnimation, but since forever.

In fact, you even mention "I haven't full grokked how this came about, but it seems to be part (a) widget toolkits (b) horrible drawing APIs and (c) the iPhone with LayerKit/CoreAnimation.".

The first of those things, (widget toolkits) is 30+ year old, and has been synonymous with GUI development since forever, at least in the desktop application space.

>However, this is not the "programming model" of GUI frameworks, it is an abuse of those GUI frameworks.

Yeah, not really. Not only this is prevalent and common sense understanding of "GUI framework" in the last 3+ decades, but merely having some drawRect and co (without a Widget set) wouldn't even qualify as a "programming framework" at all, people call those "a graphics library".

"drawRect" has not been the main GUI programming tool since forever, except when a developer wanted to make their own custom widgets. Whole GUI apps never once call drawRect (or its equivalent in their lib) directly.
IIRC, in Airbus planes the pilot has no direct control. He gives inputs which are then accepted or rejected depending on what the computer thinks is safe; at take off you can pull the stick as much as you want, the computer will not let the tail hit the ground. In Boeing you have direct control but with better feedback on what’s going to happen.
There's a third option that makes the most sense: Be on multiple platforms at once.

There's minimal effort in uploading to multiple sites, making the video is what takes multiple hours/days.
My favourite article about open access, about the Journal of Machine Learning Research, and really the ultimate smackdown, all done very politely: https://blogs.harvard.edu/pamphlet/2012/03/06/an-efficient-j...
The hardest part about learning a new language is maintaining motivation.

Learning a new language isn’t a hobby you can just add to your life like knitting or cooking. It’s more like an ambitious diet and exercise program, except the payoff is even less motivating. If you look good, everyone sees. If you can speak Japanese, nobody cares but other people you talk to whose English is worse than your Japanese. Like exercise, if you invest anything less than four hours a week, you won’t make meaningful gains, and it’s often months before you get anywhere. It’s a slog.

The trick (if you can call it that) is to find something you really want to do, badly, that you NEED your L2 to do. For Japanese learners, maybe maybe wanting to watch anime is enough. For English learners, maybe it’s watching American TV and movies. For Americans learning an L2, immersion is the pretty much the only viable approach.

Immersion is just a hack to motivate yourself by making your life almost unbearably difficult, with learning to speak your L2 the only way out.

Looking back on six years living in China and learning Chinese while working (borderline fluent in some topics but woefully inadequate in others), if I could do it over again I would:

1. Spend a few months getting the fundamentals down: learn pronunciation, drill it with a patient native speaker, go hard at 10+ hours a week book studying. (I did this)

2. Move somewhere to either work or study only in your L2, and where there’s barely any English speakers. Live there for a year or more. (I didn’t do this; I lived in a large city and had mostly English speaking friends and my work was in English)

There’s no way to fluency without spending hundreds of hours talking with people in your L2: ~500 hours for Spanish, ~1500 for Chinese or Arabic.
BuzzFeed’s 19-year-old quizmaker will no longer work for free
I do not believe that there is a technical solution for this political problem.
> What makes sure you will keep paying the, admittedly modest, hosting costs for the app?

I thought the point of a PWA is that it is installed on the phone. So it doesn't need any hosting.

For the initial distribution, IPFS would be a good fit. It ensures a.) That even if the original developer is compromised you still don't get a malicious app, and b.) That even if the original developer stops hosting it, it's still available as long as anyone in the world is hosting it.
Indeed it happens, but my question was more given your initial post, do you think it's a good way to manage licensing?

To me it provokes an adversarial relationship between software vendors and their customers and is quite likely a factor in the rise of the use of Open Source software in enterprise.

If the propietary software industry is to continue to prosper, it seems likely that annoying their customers with this approach to licensing is not a good one.

Now you could argue that this will have a knock on effect on Open source as many devs are employed by software companies, but that won't necessarily stop it happening.
For what it’s worth even non-homogenous countries like the US haven’t solved their racial-related issues either. For a while I had thought that Brazil was as close to color-blind as a economically-developed country can be but after reading and learning more about their internal politics and especially after their latest presidential elections it seems that I was wrong.
although there are some legitimate concerns about privacy, the tradeoff here seems worth it.

if it were expanded to everywhere in London I believe we will catch criminals quicker.