skysight-inc/HackerNews huggingface dataset:
> Use objects to encapsulate functionality

Sadly objects are also used in an attempt to hide data (because direct access to data is considered dirty in OOP).

Now, consider a non-trivial OOP class hierarchy. You have an object that needs to mutate another object's data (an object that is completely unrelated to your initial object).
In order to solve this you have options:

- completely rearchitect your code so that you take this use case into account

- find the shortest path between these two classes and add setters to each class

- hack the code and call it "technical debt"

First one is not feasible, second one is unmanageable (complexity increases dramatically), third one is usually chosen.

Speaking from experience, OOP is most of the time the worst tool for the job.
What does the new "<T>" icon represent on the graphs (only present on some of the frameworks)?
Won't using string paths like lodash makes it hard to use this library with typescript?
I built a streaming app for the lockdown, now I'm giving the entire startup away
How do you set those variables? Do you keep a reference to your activity or fragment inside another screen? Do you clean up that reference on configuration change, or let it leak and/or cause crashes?

Your best bet to pass data around is to... not pass it but rather use a sophisticated DI setup where you can set up shared objects that live in a certain scope. Of course, you can add parameters to a bundle with some boilerplate, but that's not a great idea if the serialization overhead hurts you.
Agreed, I work in an environment with a lot of really smart people, but not everyone thinks outside the box or is ambitious in that way
The openbsd people behind libressl hate the apache 2.0 license, so they won't be able to copy such code from the openssl project any longer. I'm sure they're happy they have a TLS library with a license they like (new contributions are licensed under the openbsd license) and they can continue developing.

As for gnutls, apache 2.0 license is still incompatible with (L)GPL 2.x, so projects under those licenses without the "or later" clause can't use openssl 3.x->. And of course, the gnutls and openssl API's are different, users can't just link against one or the other without code changes.
> If not done officially, but everyone knows that by being a political activist you can get foreign citizenship, you have just motivated people to fight!

No, I think you'd end up motivating more to flee: a lot of people won't fight unless their backs' are against the wall.

You'd also probably end up stabilizing a bunch of nasty regimes by giving them someplace to dump their dissidents without inviting much backlash.
Model-View-Intent, I guess.
Can't speak in LA, but in Switzerland where almost no one has AC it definitely does not cool enough during the night. During the summer even if I keep the windows closed all day I cannot get the temperature below 26-27 degrees. The main difference though is that I was not trying to work in this conditions as my office had AC.
Both. The recent issues with SHA1 are that chosen prefix attacks can cause collisions. That's why it's a broken piece of crypto.
YouTube says China-linked comment deletions weren’t caused by outside parties
This is a beautiful idea.
Aka corp speak.
In my opinion, Facebook is so full of bots and hacked accounts, buying ads there is like pouring money down a drain. Unless, of course, you are an expert at filtering those out through super specific audience restrictions.

Reddit, on the other hand, is similarly priced and I got a lot more real users from them.
> With WSL2 being a full(-ish) VM, running Android on a Linux base might be interesting (especially when using a Linux host, see the other anbox comment). Not sure how to deal with macOS though.

But this is pretty much what Android Emulator is - a fullish VM on a Linux base.
Similar: Mechanical computers (for fire control)
https://www.youtube.com/watch?v=gwf5mAlI7Ug
> Trump's tweet's reach is on the order of billions of people

I think you vastly overestimate the number of extremely online politics people who pay close attention to Trump's tweets. People use Twitter to follow their friends and celebrities, not because of Trump. Only a minuscule fraction of the attention that Twitter receives is attributable to him.
How can I read this article when I have no free articles left?
That was my first reaction, too. Generic, computer-generated mush. It doesn't take a skilled musician anymore to be a star.

Then I recalled my youth. I was an angry teenager in the early to mid 1990s. My parents hated the grunge and punk music I listened to. Now to be fair, that music has held up pretty good. But if you look at the top 40 music from that era... not so much. Trashy euro-pop dominated the charts.

I guess we'll have to wait for a decade or two to see what holds up and what don't.
'spatial computing in enterprise' << for some reason I expect this to be the result of a summer intern's project
Amusingly, the case of PRC's acceptance to UN was championed by India, which both lost to China badly in '62, and interestingly, was also the instrument by which China was destroyed in the Opium wars by Britain.

This view of India, it's fall from grace in Asia, and its transformation from a source of knowledge to the sword of imperialism was very notable in the pan-Asian movt. in Japan (whose roots are actually in the anti-Meiji rebellions). This history is unacknowledged not only in India, but in Japan too. It's not surprising that the turban-clad 'asan' view of Indians as imperial-lackeys is a distinct point in Chinese movies.

Sun-Yat Sen, the founder of the first Chinese republic wa himself supported by this clan in Japan; and very interestingly, Rash-Behari Bose who was key to the formation of the INA, and the subsequent independence of India (via the Sepoy Mutiny), was helped by Sun-Yat Sen during in his early years in Japan (when he was being hunted down by the pro-British Japanese govt.) It's also very likely that Subhash Bose fakes his death in Taiwan and escaped to Russia via then Manchuria, and was in contact with CCP heads.

All said, it's unsurprising that today, 'India', a country often sneered at by the Caucasians (I say this measuredly), is suddenly being termed 'America's best friend' in line with Obama's 'pivot to Asia' (aka, the New Opium War).
> SPIDF, AES/EBU, ADAT lightpipe, etc.

If I'm not mistaken the underlying transport protocol is the same for all of those - you can get a coaxial to XLR to get S/PDIF into an AES port or a coaxial to TOSLink converter to get S/PDIF data into an ADAT port.

You can look into the Madiface XT maybe ? https://www.rme-audio.de/hdspe-madi-fx.html or the other RME products which have enough digital I/O to cover a lot of needs
Why would you want to delete the data? That's when you open the door for an attacker to access it. If the data is encrypted, it can remain on its partition because it is inaccessible.

Interestingly, apples have to be compared to oranges. On Linux, it is easy to identify the programs that are using a library. Thus it is easy to restart just the services that are patched. In general, things can be scripted so there are no tools available. But this requires somebody who understands the system. From a business perspective, this might be more expensive, or not, if the tools are expensive.
Scroll to Text Fragment – Chrome Platform Status
Ultimately this 'frustration' is always caused by loose typing/inexistent data model and not by the iterability of strings itself.
Looks great.
Is there any convenient way to persist data?
There's substantial difference between AVX and SSE. You can get a performance boost just by compiling with AVX2 or AVX512 support.
To be fair, that seems to be over claiming based on an extrapolation not solid evidence. Possible, yes, actually true? Not yet demonstrated, imho.
Also in other former SovBloc countries such as Latvia where there are a lot of ethnic Russian people.
My understanding is that new libressl code is under the openbsd license, though the original terms still apply as long as they have code under those terms left.
> It exploited the colony and local residents of HK as much as China does now.

This.. seems a bit strident. Or a reach, anyway. I don’t recall a similar situation in HK in the 90’s. I also recall the joint declaration’s intent was to maintain HK autonomy until about 2047, something the U.K. advocated for, not China. The liberties the people in HK are used to and fighting to retain are there specifically because of the what the U.K. set up.
True, but that's by no means a inherent characteristic of garbage collectors, or even garbage collectors operating on objects of a python implementation in particular.
Scheme does the right thing here (by convention), that mutating procedures end with a bang: (string-upcase str) returns a new string, whereas (string-upcase! str) mutates the string in place.

The details for mutation of data in scheme go beyond that, though. Sometimes procedures are "allowed but not required to mutate their argument". Most (all?) implementations do mutate, but it is still considered bad for to do something like:

(define a (list 1 2 3))
(append! a (list 4))
(display a)

As append! returns a list that is supposed to supercede the binding to a. Using a like that "is an error", as a valid implementation of append! may look like this

(define append! append)

Which would make the earlier code snippet invalid.
Yet Taiwan still call itself Republic of China regardless of parties. There was never a country called Taiwan.

https://law.moj.gov.tw/Eng/LawClass/LawAll.aspx?PCode=A00000...
This feature now seems to have been enabled in featured search results on Google searches (i.e. the excerpt shown in a box at the top of the results). I've just seen it with a Wikipedia link.
Ēd Sheeran was so prevalent at one point that they had to change the rules for the Top40 (in the UK), limiting it to 3 from the same artist [0].

16 out of the top 20 songs were from Ed when he released his 2017 album ÷.

https://www.theguardian.com/music/2017/jun/27/official-chart...
That entirely depends on what is meant by "general purpose stuff".
In general, paid ads can easily become too expensive because they have bad ctr, low engagement, and lots of spam mixed in.

So unless your average customer spends $100+ with you, it will most likely not work. A common trick is to offer upfront paid annual plans, to convert $10 monthly into $120 now.
Java isn't Python, so great thought is being given to keeping those 25 year old jars running on an Valhalla world.

Experimental builds are available.
Ask HN: How would you build your own proxy service for scraping?
“We have closed significant new funding and have very positive momentum towards closing key strategic enterprise partnerships”

So meaningful...
Music from the former colonies is okay; I love Cuban music for instance. This is some bullcrap from Puerto Rico that thugs with sagging pants and gang tattoos listen to.
Sometimes it's been useful for me to use the tool used to state the problem as a guidance framework during the thought process.

So you could try to state the problem in a very structured way (say, a spreadsheet) and at the same time in a visual way (say, a presentation slide deck). Of course some people are better using one type than the other but that's where the trick relies: forcing yourself to think in a way that is not your "natural" way of thinking.
Zeplin for Visual Studio Code
I've been using Ghost ever since I switched my blog from WordPress. I've been pretty happy with it and their editing experience is great. I host it on Digital Ocean.
Experimental builds are available.

And when they become available, Java will have them on day one, while Kotlin who knows, specially when it needs to stay compatible with ART.

Kotlin designers will have eventually to face the reality that they are either an Android only language, or that Kotlin multi-platform will need to differentiate between what is supported on JVM and ART.
Read: catch on fire, sometimes leading to a pretty violent explosion if they are packed tightly into something like a bike frame.

Having worked with high amp LiPo cells I have developed a unique appreciation of both their peak current output and their ability to strike fear into the everyone around them if you accidentally short them or start to see them ballooning/bulging.

My only run in with said fire was thankfully fairly minor, I spotted the pack looking a little buldged and summarily ripped it off the charger and dipped it into a 44 gallon drum. After about 60-90s it started smoking and caught on fire.

Don't fuck around with LiPos.
Probably a fair point. I hadn't really taken typescript into account for the purposes of this library.
I think that's splitting hairs.

For example a few years ago I worked with a programmer from India who was part of a "remote consulting company" based in the Netherlands. The experience of working with her was identical to working with the larger offshore companies based in India. As in, time zone, cultural and communication barriers were substantial and disruptive to our productivity.
I have a theory about this. I think the song format is conforming to the needs of advertisers.

That’s why every top song is just a person talking over a beat, usually with the same kind of vocal style, usually the same kind of beat.

It’s really hard to sing the word “Lamborghini” and have that fit into the lyrics and be heard clearly and have the brand image positioned correctly.

It’s also a waste of advertising space to have any duration of a song not include clearly spoken lyrics.

Taking this example, DaBaby’s “Rockstar” sounds basically identical to hundreds of other recent songs that follow the same format of a person talking repetitively over a simple beat (every Drake song for example). Five possible instances of integrated advertising in the lyrics: Lamborghini, Chevrolet Suburban, Maybach, Glock, and Apple FaceTime. 2 of them in the chorus.

So what kind of music will people accept, that maximizes spoken word duration, speaks those words clearly, provides brand image maneuverability within the lyrics, doesn’t distract from the lyrics, and won’t have a fatal loss of integrity as a result of obvious product placements?

That list of requirements leaves us with basically one style of one genre, and it’s this style of rap / hip hop. To any extent that a song deviates, it becomes less effective as a channel for advertising.

I think the most convincing piece of evidence in support of this is this lack of differentiation among artists, even in terms of vocal style. In ‘90s hip hop every artist had a completely unique style, all present-day hip hop fans love all of those legendary artists... and yet, every modern artist is just mimicking the exact same cadence as Drake or Kendrick Lamar.

None of this can be reconciled with the notion that songs becomes popular purely because people like them.
“The Manual: A Philosopher's Guide to Life” - This is a book on stoicism. It’s a quick read but has so much value. I re-read this book once a year.

“Leading: Learning from Life and My Years at Manchester United” - I’m a huge Manchester United fan. Sir Alex Ferguson managed the (biggest) club for 27 years, winning so many trophies, managing big personalities, rebuilding the team multiple times over the course of his career. He has so much valuable advice in this book.
You are correct, but keep in mind that the music that survives a certain era is only a subset of what was actually played during that ear. Its often the more sophisticated songs that survive.
What do you mean by type and wait ?
> It saddens me that no one is really trying to push the envelope of acoustic instruments or even new ways of producting digital sound.

I don't know this to be true, I see people building weird musical instruments all the time. As for electronic sounds (it's not always digital) the modular community is absoultely teeming with expression. Here are some fun guys: https://youtu.be/AGN5N4vn5Bs

https://youtu.be/DKSr8CE7600
Yes, Ed as an individual is amazingly prevalent, I was aware of that. But overall, that kind of music, is not. Have a look at the Hot100 right now:

https://www.billboard.com/charts/hot-100
I don't think Taiwan is in a position to offer citizenship to HKers. That would greatly draw the ire of China, which Taiwan is not equipped to handle.
To clarify: I meant "ppc" as a subdirectory under usr/src/uts -- that is, the PowerPC port in Solaris -- not PowerPC itself...
Have you tried making GPT2 do zero-shot poetry writing? It's not great at it, but it is good enough at it to get something interesting enough if you try a number of times.

Go to talktotransformer.com/ and give it the prompt "Here is a poem I wrote:" or "Here is my favorite poem:" .

I'm sure GPT3 would produce much better and more consistent results, but GPT2 will produce something that looks generally like a poem frequently enough, and sometimes it will even be relatively coherent?

Here is one that it produced for me today:

> You say, "Don't lose your pride."

> Here is my rejoinder:

> Well, maybe it is the pride of a diseased soul.

> You are a wanderer, you know not whence,

> O thief, you fool, you rhinoceros

> Caught in the jaws of a viper.

> You may lament your affliction

> For the world will laugh at your tears.

> Pray to a demi-god

> Hail him and say,

> "Ah, Sir, give me thy pity!

> O thou who maintainest as if thou wert a king!

> Here is thy axe, I say; let us

Is it great? No. But it has some level of coherence.

Here is another:

Let me tell you the reason I love poetry. //
All the things of the world I have described, //
If you ask me why I like poetry, //
It would seem quite simple to me. //
When I'm working at the computer in the evening //
I'll get out my books of poems and I'll turn them over, //
Like blades of grass under the hot sun, //
That write with such fineness the kind of green I like. //
But if I'm a bit more tired in the morning, //
I'll fill a little stack of yellow pages with poems, //
That let the air and the dry light of morning run wild. //
You know, the//

This one even rhymes a bit!:

the sword is to slay //
The axe is to smite //
The stick is to break //
The tooth is to bite //
All these are for our earthly security, //
All have their uses, //
Those which can be used //
Must be employed. //
The sword is the instrument of strife //
The axe is the weapon of war //
The stick is the weapon of domestic strife //
The tooth is the instrument of war //
All these be in our hands. //
At the time of our death //
They will be in our hands, //
And then we will weep, //
Though now we sleep. //
—The Remaining Three Questions

(sorry, idk how to format these to make them look right. The leading "> " and the "//" insertions are me trying to format them to make the line separators clear.)
Elon Musk, Jay Leno and the 2021 Cybertruck (Full Segment)
Please,

scala could be so different that you can spent years learning it and still don't understand a lot of things.
Swift is ok, but ARC is a nightmare. Good for mobile though.
Rust is really for C++ guys for specific use cases.
F#/Ocaml is cool languages, but good luck hiring fast if you need to.
Kotlin probably best, but in fact it works with decent performance only on JVM. Native is still 15x times slower than JS.

TS is a first class language and have bigger ecosystem anyway than, say, F#. etc etc
Reminds me of a relatively old article I read, "Humans Who Are Not Concentrating Are Not General Intelligences": https://srconstantin.wordpress.com/2019/02/25/humans-who-are...
MVI stands for Model-View-Intent.
It's a state management pattern that uses unidirectional flow.
Basically you send events (Intents, similar to Redux actions, not to be confused with the Android Intent class..) to your Model, which does a state update and sends out the updated state to the View.
I'm sorry but that does not look like an elegant first-class language construct, more like a pattern workaround.
There are better ways to reduce bloat. Gitlab can do web asset analysis and throw warning signs when your JS file goes over a certain size. Of course, in server-side applications the use-case would be different, but the idea remains the same: do not depend on developers doing the right thing every single day, depend on an automated system if something like this is crucial to you.

The URL import completely throws away all the goodies that great package managers have. Being able to manage sub-dependency versions is a big one. I do not understand how people are OK with throwing those away. Either they have never encountered issues that stem from dependencies or they just don't care.

Deno could technically add layers on top that make dependency management easier, but then we are back to NPM.
The Inversion Methode:

Carl Gustav Jacob Jacobi was a German mathematician famous for his maxim
"Invert, always invert". He believed that the solution of many hard problems can
be clarified by re-expressing them in inverse form. Inversion forces new ways of
thinking and helps uncover hidden solutions.

https://twitter.com/fermatslibrary/status/114459774698642227...

https://fs.blog/2013/10/inversion/

https://en.wikipedia.org/wiki/Carl_Gustav_Jacob_Jacobi
large enterprise companies can be reasonably challenging to sell things too, but for a whole range of different reasons ( not in sales, do work at an enterprise that will take 18 months to arrive at a decision that it is acceptable to start using a different vendor's monitoring tool )
Cuties with a Booty 3 Teen Edition
A large telco I worked for (owns a significant % of global cable TV assets and programming) used to outsource all hardware and software development. While I worked there as a contractor from 2013-2018 I saw them replace this with large onsite teams in their HQ in the EU and nearshore teams in Belarus and Ukraine.

I've encountered some of these nearshore companies in E. Europe multiple times over the last decade, business is booming for them.
https://outline.com/De5WDs
Looks similar to Recoil (https://recoiljs.org/). How does it differ?
Even that is changing slowly, the next Taiwanese passport will remove all mention of China
> The tragedy of democracies is that it does not really encourage democracies elsewhere.

This is actually false. The reason Russia and China care so much about Ukraine and Taiwan, is because they worry having a functional democracy next door may destabilize their own regimes.
I've come to the conclusion that if you want to be a successful indie SaaS developer nowadays, it's better to start off as a marketing/sales person than as a developer. So many small SaaS products suffer from the same problem: no traffic, no customers, no market mindshare. The dev is definitely not the problem. The marketing is.
great artile
Nothing less innovative than yet another bike sharing app. I see so few people using these bikes. I can't understand the value proposition for VCs to invest in them.
This fits a pattern for this blog of hyper-rationalizing things in his bubble that he doesnt agree with.

i.e. he doesn't belive in creationism, but seems to blame the people pointing out that its false more. And asserts without evidence that once they shut up the whole issue faded away.

When Trump was on the rise he argued that most of his friends (which he was claiming weren't crazy republicans) saw more threat of authoritarianism from college campus protestors. I check in every so often to see if his friend group have changed their mind but it seems his audience has a strong streak of active Trump suppprters (see the comments) which means he takes basically the same approach to Trump that he takes to Creationism and blames the liberal media for even mentioning it.
Thanks. It uses useDispatch behind the scenes which I believe has a bit more overhead compared to using connect. It should be comparable performance-wise to using the normal react-redux hooks.
Not sure if you have run across NoteSelf (https://noteself.org/) before, but it is basically TiddlyWiki + PouchDb. Maybe that would be a workable solution for you?