skysight-inc/HackerNews huggingface dataset:
> Who actually has multi-user systems. Really has them.

In other words, you personally don't use multi-user systems, and somehow you interpret that as no one having the need for multi-user systems. Does that make any sense?

Speaking for myself, if multiseat Linux boxes were more easy to setup, I would certainly use one of those as my family's primary desktop. Today's desktop systems are quite capable of taking a multi-user computational beating and breeze through any amount of browser windows opened. Thus, if buying a monitor and keyboard is all it takes to get another computer seat then why not?
OK Doomer
Which Indian languages are these?

In Hindi it is just "ध्यान देना", i.e. "giving attention".
He didn't say you could become an expert in a single afternoon.
Why not embrace Elm or Purescript?

Because those are a massive paradigm shift. TS is easy. You can sell it as “JS but better. If all else fails you can always resort to any”. Selling Elm to someone who only ever used C# is very hard. I’ve tried.

It is also familiar enough for the hordes and horses of C# and Java devs in your company. It’s even an MS product. Enterprise yay!

A safe choice. You won’t be crucified if it goes wrong.

It’s sad, I know.
A Russian satellite seems to be tailing a US spy satellite in Earth orbit
Array access is a good example.

Many type-safe languages throw an exception if you attempt to access an element in an array that is out of bounds but javascript just returns undefined.

Typescript ignores the fact that accessing an arbitrary element of an array could return undefined. If it did not ignore this fact then it would force you to deal with the potential undefined value retrieved from any array access (i.e you'd need to write a runtime check)
We still need to replace the ultimate centralized industry: internet service providers. The telecommunications industry has always cooperated with the government and they can be ordered to block the "dangerous" messaging services. We need to somehow replace ISPs with a world-wide mesh network that can't be censored no matter how much governments want to.
As a flyer: Do their planes fall out of the sky due to pervasive dysfunctional corporate culture? Nope.

So yeah not great & but relatively speaking I can't say I particularly care
>> You and like minded people put together resources to promote renewable energy to politicians

Unlike corporations and their biggest shareholders, regular people don't have resources to influence politicians. Any lobbying attempt backed by non-corporate interests will not be able to reach politicians' ears. Politicians have no time for groups/think thanks which don't have a track record of paying up after politicians finish their terms.

Idealized theoretical forms of lobbying bear no resemblance to reality. To bring the ideal closer to reality, politicians would have to start reaching out to people instead of the other way round. Currently, the only reason politicians reach out to people is for a PR photo op.
Visualisation of every SpaceX launch and countdown
Let me be honest, but this article is just horrible. The whole article is for the sake of complaining (though I prefer to call this "nitpicking").

> 1. Interfaces with excess properties

... in immediate objects, which will never be reused. This is nothing worse than golang emitting errors on every single unused variable. There are good reasons to behaviours like this, even though not always preferable.

> 2. Classes (nominal typing)

It seems like the author straight rejects the idea of structural typing itself, by calling the concept itself a "quirk". This is rather about preference, not right-and-wrong. If this point is to be true, one should also reject duck typing, many other popular dynamic languages, a large portion of software industry, scientific researches, etc. Good luck with that.

> 3. Discriminated Unions

While I do agree that it's a shortfall of TS type system, the example is simply unrealistic. Using composite values as type discriminator is a bad design. Plus, the compiler is not even allowing anything destructive nor bug-prone.
>I'll give an example - you have your PC with $DAW_OF_CHOICE running and plug in $MIDI_2_CONTROLLER to USB and enable a track and hit record, play your stuff, and stop. When you play it back, unless the cosmic forces are exceptionally on your side, it will not sound the same as when you played it. It's subtle and sometimes ignored or even desirable, but it's there.

I've never encountered this with any modern system; I've been sequencing from the early 90s on Atari, still doing it now, and it makes up most of my (varied) day job - plus recording, etc. I've done tests of my own and not found anything measurable (I was an instrument technician in a nuclear facility before turning to music, FTR). There were definitely issues with early DAWs (Cubase Audio springs to mind), but I've not found anything in the modern era.

Care to share some measurable results? I'm interested in what the problem is.
As a long time TypeScript user, I do think this is a design mistake with the language. For example, it breaks instanceof checks.

However:

- The language primarily uses structural typing. If two classes are compatible, it's not completely unreasonable to expect them to also behave in a structural way (though I would prefer them not to).

- Adding a private field to a class makes it work as a nominal type (https://michalzalecki.com/nominal-typing-in-typescript/#appr...). It feels a bit hacky and it's not very well documented, but you could argue that until a class has some private state you can't publicly access, there's no reason to prevent you from declaring a compatible class.

- From my experience idiomatic TypeScript rarely uses classes, the primary exception being React components. In teams I've been a part of we've always written TypeScript (and JavaScript) like an (impure) functional language, taking full advantage of ADTs, simple structurally typed data and more-or-less pure functions.
I suspect that in the future - years from now, probably over a decade - Europe will not be a primary target audience for electronics, but even more will be designed for Asian markets. We already see many phones not released outside of China or the asian continent.

Heavy handed laws will only increase how fast they get left behind as a targeted market.
Even if cookie notices did constitute some kind of consent (pretty debatable) they would be a dark pattern that should be banned in the public interest anyway (like, while I'm on the topic, infinite-scrolling slot machine pseudo-"timelines").
>Is there any reason why music production in the cloud isn't the standard yet?

Latency springs to mind, firstly. It's hard enough getting a local DAW with audio interface working fast enough reliably with a high CPU load to ensure that a performer is happy with it. Adding in journey to/from the cloud, I'd think would make that part of it a non-starter.

Your quoted 10mS is doubling what you already have, and I'd wager there's more to it than that - particularly if you have an up and downstream connection to take into account. Put the buffer size up on your Ableton setup to 30mS, and see if that is playable.
That is intense if there is a specific entry in guidelines about this.
Tangentially related: I want to run OpenWRT but need at least 500Mbps WAN/LAN filtered routing capacity; my old tp-link 4300 barely manages 150mbps; can anyone recommend a modern home WiFi/router that can run OpenWRT and do line speed packet filtering between WAN and LAN?
Strengthen your weakness by learning in great depth in those areas - that will buttress those areas. Persistence:- You can beat a smart engineer who sits on his ass - doggedly complete all you are tasked to do.
Yes. Some have only 2 leads, but the newer ones have all of them.
Yeah but the point in debate is are the police allowed to violate individuals' rights (e.g. privacy) while investigating (e.g.) a murder?
The innergie 60C Charger supports a lot of different voltages. And is super small
We only need a way to move Glyphosat from Western Europe to Africa.
> a lot more

Than allowing for messaging or "social network"-like features?

From the user in practice, Matrix and XMPP (IM) are the same. These protocols might have made different technical choices but the user still only wants to send message and do various other things that both these protocol support. So not replicating all that data is actually a feature IMO.
Product-Led Growth Community for SaaS Leaders
There are three elements there though:

1) the capture of all the musical and performance input (a wind controller, etc)
2) the transmission of all that information in real-time without latency
3) the conversion of that information into the appropriate sound.

Midi is only part 2 of that - advances in other areas are needed for a fully convincing facsimile, but given the incredible improvement in sample-based libraries over the last 10 years or so (and even more so comparing something like a Spitfire Audio library to a synth string patch), it is possible that will be the case, given the investment of time, brains and money.
Oh, lol, ok, I didn't get it because I was searching for something less stupid ! XD
New Xbox adapter lets people turn their power wheelchairs into game controllers
From a quick look in opensnitch, it should be tracking DNS replies in UDP packets.

I don't see it filtering the responses, so spoofing hostnames or even overloading the translation table (memory exhaustion) might be possible, even for network attackers.
I am not saying they currently need more artists.

I am saying people don’t currently think in terms of a training pipeline. We have the idea that it’s up to employees to train themselves before getting the job. Thus potential illustrators contacting her and the expectation she should encourage them.

PS: As to the school, students need to pay to attend cal arts. It’s a clever cost saving means not an internal training program. They saved money even if none of the graduates worked for Disney it still increases supply.
I loved working with Ian back in the day at Media Revolution. He was so much fun.
I have a box full of USB C dongles that hints we may always have boxes of cables.
I think the fact that all major distros have gone the direction of systemd is probably a good indicator that it makes sense to move there.

I’m sure the distro leads are smarter than I am, too.
Throwing pasta at a wall implies that the idea of coming up with an idea is unlikely, thus not being arrogant, but also points out that it is possible, which it is.

As it is, I'd prefer the focus moved to solutions from speculation, at least it's an attitude I'm more comfortable with.
Why bother innovating in this area then if it provides no advantage for an individual company?
IIRC, Chomsky's theory on this is that human language is first internal and is the basis for all human thought. He doesn't mean an internal 'voice', but some primordial, grammatical imperative to producing thought in a certain way. This resulted in all of the world's spoken languages and would explain rapid language learning rates in newborns.
It does happen, and not just for two different processes.

For example, a common trick to implement an efficient circular list for objects of varying size is to map the same physical addresses twice in adjacent locations. Then you can just use a pointer to the start of each object and have no special handling for the case where an object straddles the end of the allocated area.
You've made at least two comments now mentioning this idea of interchange, but there's more to all of this than just that. The Haskell standard libraries are full of generic functions that can be applied to many practically useful types as long as those types provide certain basic guarantees.

For example, there is a useful little function

replicate :: Int -> a -> Seq a

that allows us to build a sequence of n of some value. But what if we don't have a raw value, but instead some Applicative wrapper around it, and instead of just getting a sequence of individually wrapped values, we want that Applicative structure around the sequence? That is, we want some function f that will give us

f 3 (Just 1) == Just (fromList [1, 1, 1])

but

f 3 Nothing == Nothing

with a Maybe, and

f 3 (Right 'x') == Right (fromList "xxx")

but

f 3 (Left "error message") == Left "error message"

with an Either, and similarly for any other Applicative.

Well, such a function also exists in Data.Sequence:

replicateA :: Applicative f => Int -> f a -> f (Seq a)

Because it works with any Applicative, it can just as well work out all of the possible outcomes when we roll three dice:

replicateA 3 [1, 2, 3, 4, 5, 6]

or repeat the action of any Monad three times:

replicateA 3 $ putStrLn "Hello, world!"

or repeat whatever behaviour some Applicative you haven't even written yet will have next week.

The rabbit hole gets as deep as you like. For example, we can easily compose a variety of other standard functions to count how many ways there are to reach each possible total in that dice example:

map (head &&& length) $ group $ sort $ fmap sum $ replicateA 3 [1, 2, 3, 4, 5, 6]
-- [(3,1),(4,3),(5,6),(6,10), ...]

Many of these functions have quite general types, for example sum working on any Foldable and fmap working on any Functor. Because a list is an Applicative and any Applicative is also a Functor, and since the individual results of the replicateA will be Seqs and any Seq is also a Foldable, everything works fine, and the list structure we started with is preserved all the way through.
Actually, this is orthogonal to governments. There's widespread bribery in the private sector too, where decisions makers are gifted to persuade them.

To use your phrasing, a capitalistic view of this is that corruption is just anything that breaks the fairy tale idea that the people who work in the corporation seek the interests of the company and not their very own private interests.

You can even see it play out here on Hacker News - people who optimize for their own career goals at the detriment of the company that pays them to get a job done.
2021: EU forces you to accept a pop-up on every charge to acknowledge you’re use of the charging functionality: explicit opt-in to charging.
I believe that people tend to forget always one thing: the business owners don't know their problems _worth solving_. This fact is most of the time overlooked.

In my experience business owners tend to talk about problems that are impossible to solve, or problems that are trivial.

Typically, when you actually find problem worth solving, it is not merely a software. You are looking at whole processes that need to be changed. You will change how people work. And when you actually try to present the new solution to the organisation, you will face resistance. People don't like change.

Some could say that it is the business owners responsibility to push the change. But when they give up, they stop paying you.

Anyways, the advice "just find a problem" feels to come from people who either read too many books and never tried, or from people who got lucky the first try.
Monsanto would like to disagree.
And iPhone sales a drop in the bucket compared to Android phone sales. And they all have USB-C.
It's a ridiculous waste & entirely unjustifiable environmentally, innovation or not.

Dual orientation vs carrying two sets of dongles & cables isn't a net win either, so don't think the innovation argument sticks either.
Yeah, it's even worse than that. I was recently in the bay area and I went to pay for a burger with my Canadian chip&pin card and when I the card in the transaction was automatically approved with no need to enter the pin.

This was quite alarming.
> If you can pass a Cat to a Dog function, where is the better checking?

If you have compatible method, fields and types, in a duck-typed ecosystem like Javascript it is a major boon that it is possible to interchange them, because it happens all the time in the ecosystem.

The standard way to do enforce exactly the right interface in typescript if you need to is to add a `type: "cat" | "dog"` field to your Animal interface and have the Cat interface have `type: "cat"`. If works well and is very similar to a JVM Class object or .NET Type object.

Structural typing, literal types and dependant types are major blessings to have available sometimes, and I'd really like languages to adopt some of Typescripts power and simplicity in this. So far I've only seen Julia have some of it, although Scala 3 also introduces some bits.
In the past I have followed this approach myself. But that is changing. If you want to future proof your code, don't use classic locks.
Project Loom doesn't work with classic locks, and the java.nio package is has been re-written to remove classic locks:

> In Project Loom, there will be support for efficiently switching between fibers that use Java 5 locks (that is, the java.util.concurrent.lock package) but not native C locks. As a result, it is necessary to migrate all blocking code in the JDK over to Java 5 locks. So the legacy Socket API required reimplementation to achieve better compatibility with Project Loom.

See: https://blogs.oracle.com/javamagazine/inside-java-13s-switch...
Yes?

I mean, I know from the American cultural point of view, government intervention is like a last resort, and you have to prove that it's absolutely necessary in order to apply it. Government is seen as an enemy and every one of its actions seen as a potential limiter of freedom, hence the right to bear arms (I hope it never becomes necessary, I suspect guns vs. drones and missiles wouldn't be a very fair fight).

But we are talking about an EU directive here. As an European, if the government makes regulations that make life more convenient for me (and other citizens), that's amazing, it's what I'm voting and paying them for. And I think most Europeans would see it that way.
Matrix has bridges to solve this: https://matrix.org/bridges/
Beautiful. It’s fascinating to see how a people turned a region that seems so inhospitable (to a European) in to a very liveable place.

Windcatchers [0] and “Freezers” [1] are beautiful examples of that. Persian desert towns are a special place. And much of their ancient irrigation still stands today.

[0] https://en.m.wikipedia.org/wiki/Windcatcher

[1] https://en.m.wikipedia.org/wiki/Yakhchāl
Tutorial: Image Compression Using Autoencoders in Keras
>it's far from a material burden on my quality of life.

Sure. Now multiply it by half a billion people though (EU population). Suddenly considerations like "this creates e-waste" matter
Sorry if this seemed flippant. Of course there will be massive impact. But I was asking people if they though they knew what the impact will be? Will it only affect social platforms that need moderation?
A Computer Vision Tutorial for iOS Developers
There are already multiple implementations of this:

- nextcloud (https://nextcloud.com/), more like a "dropbox-like" with added applications
- sandstorm (https://sandstorm.io/), with a high focus on security
- yunohost (https://yunohost.org/#/), a full-on debian distribution with all the scaffolding to one-click install known applications (mail server, file storage, IM server and client, ...). All linux software can be used as an "app". The process to make it into an app is the same as creating a package for a distribution, except specifically for this one. The good thing is that installation is way easier than using a package manager and configuring the database for the user, etc... It seems to be the most in line with the author's vision.
Show HN: CoronaVirus Report Number Simulator
> TypeScript crew have managed to build something that can get traction where other efforts have not.

You mean Microsoft managed to get traction? It seems most TS proponents don't realize TS is a success because they fell for smart marketing and serious money behind the project, not because it's a better language than 'other efforts' like for example Purescript or Dart.

But every comment I make against TS seems futile. TS proponents defend their little language very fiercely regardless of all the flaws it has. It's almost worth a study how Microsoft managed to do that. Overall a real pity, because there are so many better options and ideas for those who want static typing. TS is actually the worse choice IMAO.
Might be a good idea to first get an actual IQ measurement first before making a major career decision based on said IQ. A proper IQ test administered by a psychologist or MD, not an SAT test or an online one.

For what it's worth, I'm QA and I've got a measured IQ in the mid 80's. Thus far I've had no complaints from anyone about it.
Terrorists, drug cartels and child abuse. At least one of these will appear in every article related to encryption regulation. They're today's communists: a perfect political weapon to justify any measure taken, get any law passed and a valid reason for authorities to persecute anyone they want.

Nobody in positions of power actually cares about child molesters. They're after their political adversaries, dissidents, journalists, whistle blowers... People who can do actual damage to the foundations of their power.
No it doesn't. The industry was developing USB and standardized it for power before the EU Commission started caring about this. What happened would have happened anyway due to economies of scale.
CC MSB/LSB is still my absolute least favorite method because you have to tell customers to manually set up their DAW/synth to handle each command, or to load a preset/config that does this for them. Of course, customers are going to mess this up, so you end up with lots of tech support issues of the form "I moved a knob on my controller, and it's setting both CC 7 Volume and CC 39, which I've already configured to control filter attack."
Please don’t. I can’t beat google captchas as it is.
A lot of other companies have the same policy. Google is unusual in being publicly open about it. Most companies, internal policies on what open source licenses are allowed are maintained by the legal department and as such are company confidential by default.
Because they're much more difficult to standardise. They would require each individual user to change all their plugs in their home, which is not even something the average person can do.

On the other hand, finding a different connector and cable when you eventually buy a new phone is seamless.
From all the Mac horror stories I’ve heard, it’s only making me realize by bottom of the line 2016 mbp w/o touchbar is abnormally amazing.

I currently have 15 windows, 10 chrome windows, around 200 tabs, 20 sublime text boxes, and a ton of other apps open(and plugged into an external monitor besides the Laptop screen itself)

Keep in mind I have a 8gb, 2.0 ghz laptop and is running all this. Sometimes I do get a kernel panic (forcing me to shutdown) but otherwise, I have absolutely no problems. It’s so surprising how my machine is able to handle all this.
The correct answer is : Eventually.

So yeah, everyone should care.
String.intern does remove references (it used not to and it was considered a major issue). Imagine parsing documents and keeping the words - it works well as long as the input is not malicious. Otherwise words would pile up with no one cleaning them, give it enough time/input to slow the application due to memory pressure, crashing with OOM.
Actually, having a slightly longer space after a sentence is common typographic practice and is done by default e.g. in LaTeX.

As usual, Wikipedia has a lengthy article on the practice, which dates back to Gutenberg.

https://en.wikipedia.org/wiki/History_of_sentence_spacing
If the problem is that you're not properly touch typing, consider blank key caps. Or, as others suggested, learn a different layout but keep your physical keycap arrangement so you have no choice but to commit to memory.

I learned touch typing at the same time when I learned Dvorak, around 15 years ago or so. I still can't touch type qwerty.

If your problem is using the wrong finger sometimes, I wouldn't worry about it too much. But consider a split ergonomic keyboard, which prevents reaching over to the wrong side.