skysight-inc/HackerNews huggingface dataset:
> Separate your view layer from your application state.

It is actually separated, not from React though because React will need the state (data) at some point anyway. We'll go into more detail on that in the next post. To touch on it briefly here, shared application state exists on its own at the top level of the app, as a composition of stateful hooks. See here: https://github.com/Molecule-dev/molecule-app/tree/6e2456e216...

Every possible API request also exists on its own outside of anything React (view). See here: https://github.com/Molecule-dev/molecule-app/tree/6e2456e216...

Or for a more specific example, see this API resource route index: https://github.com/Molecule-dev/molecule-app/blob/6e2456e216...

I may be misunderstanding your complaints though. I appreciate your feedback.
Is this argument here just that it's memory safe and has static typing? What am I missing?

I think any advocate for Haskell has to justify, at minimum, why it should be preferred to all of Rust/Go/Java/Python for a given use case. These all have way better tooling, developer ergonomics, and library support.

(I don't really like Haskell and think it gets a disproportionate amount of buzz here – but I think most Haskell devs would agree with that last sentence. See all the complaints about stack and cabal on reddit, for example.)
No new ideas. Another megaphone to the common ideologies that go against Web3 that are so widespread as deprived of critical reasoning.

Hacker community used to be about more than this.
Trying to write an apparently neutral point of view with a condescending tone that carries a lot of negative weight towards a tech subject reeks of mold.

Thanks daddy.
Thanks school system.
Thanks commonly accepted society roles.

Now let me tinker with tech... it might just change something in the future.
"Log4j trigger in my signature so I can see logging copies of my mail"
Unfortunately Walmart, Best Buy, and New Egg have Marketplaces too now :(
Thanks for the encouragement. I'm going to try a little harder to do some 'self-marketing'
I've been through SOC2 (sat in with auditors and walked them through pretty much all of our stuff around source code and testing and building things). SOC2 is very much a "do you have policies for x, y and z" and "are you actually implementing those policies", with a VERY HEAVY emphasis on "are you doing what you say you'll do". There's nothing that says "You must monitor any place your source code could exist", but there's plenty that says "You must have a policy for change management" and stuff like. And you'll get dinged hard if you have a policy that says "We monitor every device that has our source code on it" and then turn around and have contractors you don't monitor.

That said, it's also completely trivial (on the auditor side) for them to say "Oh, we're changing this policy to 'We monitor devices with production access'". Good luck pushing for that to happen as a contractor, though...
Postgrespro/rum: RUM access method – inverted index with additional information
There is no way you can truthfully say that the US went to Iraq to murder an ethnicity. Flagged.
Wages ARE the cost of living. Who do you think make your food, your clothes and your light ? Are you sure it's not your own desires getting ahead of your wage ?

I feel we can do things our grandparents couldnt even dream of (mines remember a time in his French village when horses would collect garbage, horses!) and that our parents suspected only. Hell the fact I can speak English and all it cost was a few taxe raises in education is already money well spent.

Tiring a bit to hear people bemoan a golden era where tv where black and white, religion prevalent, people disconnected, books expensive, knowledge hidden and medicine an embryo of what it is now.

Toil a bit, build more for your children and keep your eyes away from your selfpity.
Completely disagree with your portrayal of consequentialism. Freedom absolutely provides utility, and allowing the government to disappear people who disagree with it is in no way a path to maximizing utility.
#1 - every client gets their own VM. Unless it acts badly on my network, I'll install pretty much any requirement they ask me to on that VM.

#2 - if they require something specific in terms of hardware ("install this spyware directly on bare metal"), have the discussion about hardware setup cost/time and then expense them for the hardware you have to purchase.
I wonder how much of it is similar to East Germany with their informants, it's possible that even overseas the students don't dare speak out because someone in their friend group could report them. And as the press release said, even the student's parents back home got harassed by the cops.

It'd be an effective way of control, "Hey why didn't you come to our student org meeting last week?".
I don't really have a hard time believing that running a used game store in what is clearly not the best part of town over the course of a couple decades would produce Gord's stories.

As the phrase goes, shit happens. Nothing interesting may happen on a normal day but there's a lot of days and eventually you roll up all manner of interesting occurrences.
Are you genuinely comparing Tianamen Square to centuries of slavery?
Ostensibly consequentialist, but that is just a symptom of maintaining authority and order. Arguably many choices from the Chinese State reported in the last decade have been at the expense of prosperity and success, such as Xi consolidating power and cracking down on business leaders. Hyper centralization of power rarely works out well, and when it has, those personalities as in SK and Singapore favored Capitalism.
I'm not sure it's an HN bubble so much as a people under a certain age bubble. Smartphones in the modern sense have only been mainstream for a bit over 10 years. The internet was only mainstream for about 10 years before that. But a lot of people seem to assume that we were hunting woolly mammoths with flint spears before that time.

Yes today's communications are nice but we really didn't need GPS or cell phones to leave the house however primitive paper maps and, yes, some degree of planning seem.
> Or stay easily in touch with family living far away?

The flip side is that technology has made it more likely to not live near friends and family, and the accompanying challenges for mental health.
I'm talking about your statement of "disrupt[ing] the Indian financial system at the behest of their US govt".

It's a pretty strong claim. If you have any evidence for this, please share it here.
Whether a one-state outcome in Israel entails apartheid or whether the terrorists among Palestinian leadership positions is fundamentally different than Sinn Fein are wonky policy nerd topics.

That's not what the modern right is about. It is about denying the bodily autonomy of women, for example. And they wonder why women won't touch them.
Hopefully this is high profile enough to incur some consequences. GPL is ironclad on paper, but the sad reality is unscrupulous/international companies can and do just copy code directly off github into their products with no repercussions
From what I've seen of wit (called "witx" back when I last used it) it seems to be pretty skewed towards using Rust as inspiration for its design, even though it's meant to be language agnostic. The syntax is not far off from being a one-to-one copy of Rust.

Some examples: `foo: bar` for type annotations, `->` for return types, `enum { a, b }` for C-style enums, `variant { a(b, c) }` for tagged unions, `type a = b` for type aliases, `_` for placeholder types. Its implementation of WASI even uses `-> expected<_, errno>` for most of its return signatures, imitating Rust's Result.

I really like Rust's type system and syntax, and none of these design decisions are bad in their own right, I just get the impression that other language communities are not having enough influence in the design of WebAssembly compared to Rust.
Basic Rust, sure. For some definition of "basic", and average person that knows some other programming language. What I mean is something along this line:

https://www.linuxjournal.com/content/getting-started-rust-wo...

It leaves many concepts without full explanation, but that's not necessary to do something useful.
In this case, a well-organized and mathematically adept voter can and will harm less rational ones, thus skewing the balance instead of restoring it.
Oh come on. People were literally starving in the US in the 60s-70s. Not really something that is easy to happen nowadays, even if it is difficult to get a balanced diet.
All the options you list seem reasonable to me. The effective differences are subtle, and it's hard to say which is better. C might seem the most permissive, and is the one I'd personally lean towards, but it also forces students to guess what is allowed, and face sanctions if they get it wrong, so they might end up self-censoring more harshly than if the rules were explicit.

So while I prefer the spirit of C, in practice I'd choose B - if there's censorship, it should be out in the open. I'd also prefer if none of the choices dominated all universities, to avoid a monoculture.
Wait...since when is microsoft listening to anything?
Once upon a time, the company I was working at was going through an acquisition and in part of the due diligence process the acquirer asked us for a complete list of all software and dependencies in our technology stack. The only one my team heard back about was ItsDangerous.
I liked your take on this situation and the tradeoffs, but please note I'm a red blooded American that just ordered a tesla, doesn't own guns, and couldn't tell you who won the Super Bowl last year.
>I think this is obviously false and hurts the credibility of the rest of this comment.

What you think of this graph?
https://www.epi.org/productivity-pay-gap/

Because by my reading, it looks like the average American is not reaping the gains of this country's GDP output by a significant margin.
I've realized that people who are task oriented lean more towards creative. People who are effort oriented tend to want management positions.

My manger complain, "I was so busy I had six hours of meeting"

My fellow dev would say, "I was nose down. I really wanted to get that status message to stop flickering"

My manager would report that there was 15% more story points completed over last sprint

My dev would report that the new grid view is complete and is ready to go to QA.

People who work together often have fundamental different ideas of what success looks like.
Show HN: I made a Chrome extension to encourage writers to write every day
This extension will automatically measure your progress.You just need to set a goal and start writing. There is an inbuilt goal calendar to stick you in a streak.
Be grateful. Really really spend time thinking about all you have, your obvious intelligence, skills.

If you had the privilege of studying in good schools that helped mold you, acknowledge how rare that privilege is worldwide.

If you are self-taught,be proud of yourself, many people lack the discipline or motivation.

Once you reach some goals and get some recognition, youll probably start hanging out with people who also have great accomplishments, and invariably some of them will have greater accomplishments than your own. Its a balance between being inspired but not comparing youself to others.

Its similar to how it works with money, you make some, buy a nice house and a BMW x3. Then the guy next door gets an x5, So you get an x6. Then at the golf club you hear some people are only flying on chartered planes, you start doing that and you start meeting people who have their own plane. It never stops.
The American government "disappears" many people by locking them up in the criminal justice system. It's just for slightly different reasons.
The Year Startup Investors and Founders Went Ape over Crypto
The vast majority of problems with floating point numbers are simply due to people not understanding number bases. Only a tiny subset is caused by people not understanding floats proper.

Consider the number 1/3. In ternary (base 3), you write that as 0.1, whereas in decimal (base 10) you write it as 0.3333... recurring. If you try to represent that number with a fixed number of decimal places, you have precision issues. E.g. decimal 0.333 converts to 0.02222220210 in ternary.

Now, the thing with that example is that we treat decimal as a special, privileged representation, so we accept that 1/3 doesn't have a finite representation in decimal as an entirely natural fact of life, while we treat that same problem converting between decimal and binary as a fundamental deficiency of binary.

Let's talk about why some numbers have finite representations while others don't. 53/100 is written as 0.53 in decimal. The general rule is that if the denominator is a power of ten, you just write the numerator, then put the decimal mark have as many digits from the right as the power of ten. If the denominator is not a power of ten, you make it one. 1/2 turns into 5/10, which is 5 with one decimal place, or 0.5. Obviously, you can't actually do this for 1/3. There's no integer `a` where 3a is a power of ten. The general rule here is that, if the denominator has any prime factors not present in the base, you don't have a finite representation. 4/25 = 16/100 = 0.16 has a finite representation, but 5/7, 13/3 don't.

Now, because 3 is coprime with 10, no number with a finite ternary representation can have a finite decimal representation (and vice versa), and we're used to it. Where binary vs decimal becomes tricky and confuses people is that 10 = 2 * 5, so numbers that can be expressed with a power-of-two denominator have finite representations in both binary and decimal, so you can convert some numbers back and forth with no loss of precision. Numbers with a factor of 5 somewhere in their denominator can have finite decimal represntations (1/5 = 2/10 = 0.2), but can't have finite representations in binary. 0.1 = 1/10 = 1/(2 * 5) and you can't get rid of that five. And that's why everybody gets bitten by 0.1 seeming to be broken.
Nobody was arguing, we were interested in their view. You don't know how close we were on a daily basis.
Love those ideas! It is voice controlled but the grenade launcher is 100% necessary
I would compare Tiananmen Square with the Tulsa race massacre. How many Americans don't know about it?

The time I spend in the US I had the feeling that you have more of a pseudo freedom than actual freedom. Everyone keeps saying how free they are and how great their country is yet you can't even drink an alcoholic beverage on the street without getting arrested. You go to a town festival and the people who want to drink are enclosed in a small area like cattle.
I believe discourse/debate on the internet are broken. I'll go as far as saying internet forums have failed because they're still text-only, moderation is still upvote/downvote-only and people are not obligated to add citations for what they claim. We're left with finding forums where people are more rational and less biased, which is why I frequent HN.

Still, the problem can be alleviated imo if we level up the way internet forums work.
It's not 'at risk', it's been that way for years.

There are also ways to make it a relatively safe long-term investment (DCA into only a handful of coins that aren't going away anytime soon).

But it's definitely a terrible place for people prone to gambling addiction and probably helping to create new gamblers, sure.

Just taking myself as an example, I never used to consider myself a gambler until I got into this space, and I eventually realized I've made much bigger and dumber bets in crypto than I've ever made in a casino (which I've only been when my friends or parents wanted to go, and usually don't spend more than $50). Thankfully in my case my bad habits in crypto are fairly small compared to my good habits (DCA).
I think that would covered under non-dictatorship but I see the appeal.
Tell HN: Microsoft 365 domain name hell
Over the last days I've been trying to enroll my company's domain name <ourproduct.com> into Microsoft 365. This should have been an easy thing to do.
However, the domain name was, within Microsoft 365, still associated with <othercompany>.onmicrosoft.com - a link that can only be removed by MS Support or <othercompany>.

<othercompany> probably held the domain name in the past.

I've had to spend 4 hours getting MS attention:
- the only support option I get was phone. No online ticketing
- my first two calls were interrupted after 30 and 40 minutes, respectively
- my third and last call, which lasted more than an hour, resulted in a ticket number

It seems to me that a previously expired domain name being enrolled into MS 365 should be a common use case with a more streamlined support process.
> I'm not going out of my way to make their lives miserable

But things like that often happen in the US, like, for example, in the case of people who spoke against the invasion of Iraq. This can even escalate further, I will never forget the “freedom fries” or “Today Baghdad, tomorrow Paris!”
> Guessing it is privileged and self-updating.

And closed source, of course. Must be totally free of bugs too, like all software.
For Chinese students studying in the US in the time after Tiananmen Square massacre this is nothing new. I was in grad school before and after the event and there were a large number of Chinese students in my department, geoscience. At my university it was probably true at the time that around half of the grad students in geosciences were Chinese.

I came to know several of them, though not to the point of knowing any of them well. Tiananmen was such a serious event for these students. I know there was pressure on them to avoid any discussions related to the event and especially to to avoid any statements supporting the students who protested and died.

I had a conversation with one of these men that I knew best and whom I studied with and after all the geoscientific things had been beaten down until we felt we had achieved a deeper understanding of the topic, talk turned to world events. I didn't steer it in that direction, he brought it up after looking around to make sure that we were alone and especially that there were no other Chinese students in the room that might overhear. We discussed Tiananmen Square for a few minutes and at the conclusion he mentioned the fear that he had of discussing that subject with anyone. He had to be careful who he studied with and talked with as some of his fellow students were known to be strong supporters of the Chinese Communist Party and they would report anyone they determined to be supportive of the dead students. He told me that their families back home might suffer as a result. His absence of trust in those with whom he had the most in common - language, culture, etc really drove home the depth of the fear that he felt. Discussing that event with any of them was just not going to happen since he feared for his family back home.

You had to be there. There was so much positive change in the air back then with dictatorships under threat, communism being exposed and challenged, young people full of the knowledge that they could effect meaningful change in their lives if they were willing to take a stand or to fight for it.

Thirty years is a long time. It has certainly been plenty of time for the Chinese Communists to rise to their current status by adopting the things most useful in other systems while imposing an iron hand of control over the parts of the system that maintain their own power.

A number of these students stayed in the US or moved to the EU for employment in the industry after grad school. Others returned to China to help develop their domestic oil and gas industry.
Perhaps it's not as small as you think. It all depends on who is the adversary in your threat model.

If you have applications that run in the field, and need to perform computation on data you don't want to be seized if the adversary gets hold of the device itself (state or private agents), then this may be a relatively low cost way to address this concern.

If you search for a solution for all possible threat models, well homomorphic encryption would all the boxes except it's too slow for doing anything practical with it.
For those who haven’t taken a graduate level course in probability theory and differential geometry:
https://www.robots.ox.ac.uk/~lsgs/posts/2019-09-27-info-geom...
Forth BBS 2 (1985)
StreamLabs afaik kept clear of GPL violations?
So Krugman's wrong, again. Has he ever been right?
Most people are "not at risk" in a sense that their risk is clearly much less than for others. There is no zero risk of anything, so we should not aim for that.

It would help if you explained what is wrong.

As it looks now, you just don't like what the stranger said and declare him not worth listening.

To me it is clear that vaccine passports is clearly not working and all this has become a big failure for politicians who don't know how to exit this failed strategy therefore double down on their plans.
My employer-provided computer runs multiple agents. They're only used for security auditing as far as I can tell.

One of them is reporting all the processes I'm running. Certain keywords will trigger IT to reach out to investigate.

Another of them is intercepting all my web traffic, even going as far as installing its own CA and decrypting SSL. It's fun when that hiccups and I start getting SEC_ERROR_REUSED_ISSUER_AND_SERIAL errors everywhere.

This provides great incentive for me to keep personal usage off my work computer.
> You never know, if the "other" was just a false flag to test your reporting. You never know if your best friend, who also witnessed the same thing, reported. He doesn't know if you reported.

I am worried about the authoritarian turn my country (not China) is taking. But reading and contemplating these words sent a shiver down my spine.
> Which hospitals in the US are overwhelmed?

A small sample:

https://khn.org/news/article/ambulance-resources-911-demand-...

https://www.yorkdispatch.com/story/news/2021/12/16/york-coun...

https://www.wgbh.org/news/local-news/2021/12/16/massachusett...

https://www.nbcnews.com/news/us-news/health-care-workers-min...

https://www.wmur.com/article/new-hampshire-north-country-hos...

https://www.advisory.com/daily-briefing/2021/12/14/covid-sur...

https://www.cincinnati.com/story/news/2021/12/15/covid-19-ov...

https://boston.cbslocal.com/2021/12/15/salem-massachusetts-h...

https://wsbt.com/news/local/memorial-hospital-overwhelmed-at...
I actually prefer the opposite, just one state per component. And I use immer for that (use-immer, specifically). Most of my components have one set of props (passed down from the parent), one set of state, execute one GraphQL request.
> That makes the GPL substantially weaker, since now a company can use GPL code in any place they think nobody will look. They will never be on the hook for court ordered damages going back years for unlicensed use.

In OBS' case, maybe. But OBS' developers' generosity doesn't automatically translate to other developers, and even in proprietary cases, there have been cases of a exact-copy contract that have gone significantly different ways.
I think that's just a case of not enough time having passed. There's probably so much material to sift through.
Also the fact that the words are word-to-word translations of Attack Decay Sustain Release is weird; why would they use exactly the same terms if invented in isolation? Particularly the choice of "déclin" and "soutien" are weird, and "relâche" is clearly wrong ("relâchement" would be the correct term).
I hope they donate to the OBS project at least...
Looks a lot like declarative logical programming language in disguise (Datalog, Prolog).
Reinforcement Learning: An Introduction by Sutton & Barto

You can also find playlists of lectures from Deepmind/UCL - https://www.youtube.com/playlist?list=PLqYmG7hTraZDM-OYHWgPe... (This is one version of it from 2015 taught by David Silver but you can also find more recent ones on youtube)