skysight-inc/HackerNews huggingface dataset:
Hello HN,
I'm prabhu, the creator of react-creme.

react-creme is a brand new UI toolkit (aka component library) for React.

# With 45+ High quality UI components, react-creme comes with an exhaustive list of ready to use performant UI Elements for building apps of any shape and size.

# Weighing just ~43kb (minzipped size), react-creme is light and i intend to keep it that way. The library has a very minimal dependency at the moment and the plan is to whittle down on external dependencies and make the lib completely independent in the future.

Salient features

- Written in Typescript.

- Accessible UI Components.

- Performant elements with features like virtualization baked in.

- Support for Themes.

- Support for all modern browsers.

Please checkout the github repo & docs site.

https://github.com/prabhuignoto/react-creme

https://react-creme.vercel.app/

Medium article: https://medium.com/@prabhu.m.murthy/introducing-react-creme-...
and if that expression-body is wrapped within the render() method.
I'd love for this to be true, but it does conflict with various state policy decisions on the matter that seem to indicate at least a belief in the opposite. France's policy is particularly striking, https://en.wikipedia.org/wiki/DNA_paternity_testing#France

It is possible that state institutions make these policies based exactly on my assumption above, which seems like it could be incorrect. Or perhaps even 1-2% is still enough to cause significant social cost if easily exposed.
thats a cool solution for reducing storage. nice!
When will Amazon executives be arrested?

The way to deal with this is to arrest a whole group of Amazon execs, and offer the usual deal - the first one to make a full confession and implicate others gets off, the others get prosecuted. This is official DOJ policy.[1]

[1] https://www.jdsupra.com/legalnews/sometimes-confession-is-go...
Nice article! I remember being stunned by Google Maps when it came out, though I never made the connection that it changed what it meant to be a web app, helping displace Java (though it makes total sense now). I was equally distracted by Flash, though that seems rather funny now.
I did basically exactly this but for reserving a spot at the visa centre for a residence permit appointment.

Subverting a small aspect of the Hostile Environment[1] took a little bit of the edge of the general bastardry of the whole process. Still a bloody expensive and emotionally draining experience though: if it has to be done again, I won't be putting a loved one though that again and we'll both be leaving.

[1] https://en.wikipedia.org/wiki/Home_Office_hostile_environmen...
All done now. A left wing defense.. of the right.
Zooming in on the unit, the range knob on the function generator goes from 1hz to 1Mhz and the pulse generator 100ms to 100ns. I looked in a 1968 catalog a didn't see anything with close to those capabilities.
https://radioshackcatalogs.com/flipbook/1968_radioshack_cata...
Consider: you are on the Amazon Basics product development team. If you do well, you will be promoted, given bonuses, and greatly financially rewarded. If you do poorly, well, Amazon let's go of 6% of employees in every org every year[0].

There are policies in place saying that you definitely can't look at the data around which third party sellers are doing well, selling lots of stuff. But also there's no auditing in place to see if you check it or not. It's all a big data warehouse and you have access to it.

And hey, you've heard everyone else is looking at this data. You're just taking a quick look to get ideas do you don't get fired. What's the harm? You'll help the company do well and won't have to polish your resume.

[0] https://www.businessinsider.com/amazon-performance-review-6-...
Dear recruiters, don't ghost me
A question can smuggle in presuppositions. A question can clearly be asked in bad faith.

"Did you stop beating your spouse yet?" is a bad question. So is "why do atheists hate god?"
Lovely. And I really like the design aesthetic of the knobs and switches (similar to analog computers which I also find pretty fascinating). I've seen the variable voltage regular to change output amplitude trick in circuits where that signal is low impedance and designed to have a lot of drive current. One was a pulse generator that provided the signal for an animatronic robot, and the pulses were basically used directly to fire the solenoids on the pneumatics. Saved having a transistor on every solenoid.
That function is simply -xlog(x)-(1-x)log(1-x) where the logs are in base 2. In general, entropy is E[-log(P(X))] for any random variable. Microstates and such are a physics/chemistry centric application and the namesake but mentioning states is never done from an information theory perspective.
> There may be long-term behavioral problems..

I know this is right - but I feel obliged to point out that this is true with a new puppy too.

Training dogs properly is work, and inconsistent or incomplete training only gets harder and harder to fix. Plenty of dogs in shelters are there because owners could not rectify their own mistakes. Not from malice, or lack of caring. Simple unknowing incompetence.

Don't be too quick to judge those who give dogs up
I wouldnt say thats a correct analogy though, a traditional bank / cryptocurrency provide similar user experiences these days with how their mobile apps work. At the end of the day even in crypto an overwhelming majority of users interact with blockchains from centralized bank like platforms that function in an incredibly similar way, especially with the advent of neo banks like Chime. Downloading a song was a completely different experience from driving to a store to get a CD.
Then you'd have to trust these Twitter run exit nodes to not attack your traffic towards non twitter sites.
The Art of Eloquent Hypocrisy by Barack Obama
metal support gets top billing on the release page[1], and I think it was apple who contributed most of the code for that. so maybe apple just doesn't like being in a sea of logos with all the riff raff.

[1] https://www.blender.org/download/releases/3-1/
You've just blown my mind! Wow, this is something I'll spend my next 3 months before summer definitely. Thanks for the inspiration and showing the possibilities, the headless part is just icing on top.
I agree there are some very good fake programmers. And I haven't interviewed as many programmers, more like tens of them but I had good luck discussing the issues I was having at work.

For example, I might tell them about a bug I am working on or even show code on my laptop. Good programmers actually wanted to solve the issue. Many solved or made useful suggestions.

Fake programmers usually had pretty hard time, even had troubles verbalizing questions to ask.

And sometime I turn tables and ask them what they are stuck at work and I try to help them. With good programmers, we had good discussion and sometimes actually solved their issues. Bad programmers never had any issues.
Pros:

1. The erasability is excellent. It's just as good as everybody says. If you're old enough to remember "erasable pens" from the 1980s, this is completely different.

2. Pretty good feel. Not quite as smooth as a gel pen, but it's like a nice ballpoint.

3. If you get the Japanese models from Jetpens you can get some really really fine tips, like 0.38mm

4. Great for lefties, little to no smearing. One of the best lefty-friendly pens I've ever tried.

5. I find I write/sketch more freely with these relative to regular pens, because I'm not scared of mistakes.

Con:

1. They seem to dry up really quickly. A few months sitting in my desk drawer, and they lose their ability to write despite being nearly full of ink. I stopped buying them for this reason.

Anybody else experienced this? Now that I'm thinking about it, I probably could have experimented more. Maybe the ball was clogged, and cleaning it with rubbing alcohol could have revived them?
It might come as a surprise to you. But a lot of countries in Asia consider US and China are both bullies.

Just look how many Asia countries joined the US-lead economic sanction/coercion. Very few.
yeah his Lazy Tutorials definitely feel a little "draw an Owl", but his longer form videos on Patreon are much more laid back and (I feel) accessible.
You might like what we're doing with Splitgraph. Our command line tool (sgr) installs an audit log into Postgres to track changes [0]. Then `sgr commit` can write these changes to delta-compressed objects [1], where each object is a columnar fragment of data, addressable by the LTHash of rows added/deleted by the fragment, and attached to metadata describing its index [2].

I haven't explored sirix before, but at first glance it looks like we have some similar ideas — thanks for sharing, I'm excited to learn more, especially about its application of ZFS.

[0] https://www.splitgraph.com/docs/working-with-data/tracking-c...

[1] https://www.splitgraph.com/docs/concepts/objects

[2] https://github.com/splitgraph/splitgraph/blob/master/splitgr...
Agreed, amazon's executives are exteremly entitled, this is just one in series of examples where they think of themselves as untouchable. The executives need to be proved wrong about their untouchability.
Is it just me, or did the release announcement page get harder to read, relative to older releases?
Instagram does this exact same thing as well, and it's such an annoying dark pattern.
I don't mean to be callous by this comment but if you mean "live differently" as living unhealthy well I have a problem with this. People that live in unhealthy ways cause all sorts of grief to others as well as financial loss. It is not right that I have to pay for people that decide to essentially eat themselves to death; it is not right that my wife and I had to care for my mother for months because she decided to eat herself to death. Heart disease and diabetes are all too common "paid" for by others - they should choose differently and while we can't make them choose differently we should for sure tell them that their choices are not "o.k.".
By all means. Submit your idea to originality@zombo.com. Tip: a Ukrainian flag emoji in the subject will ensure a prompt reply.
Make the donut: https://www.youtube.com/watch?v=nIoXOplUvAw It's kind of a right of passage for Blender newbies.

I learned (well.. I'm learning) Blender this year and I'm glad I did. It's very intimidating at first, but you get the hang of it, and then you can't imagine a world without it. I now even prefer it to stuff like Photoshop for doing simple graphics work.
Not really usually to call something "overly paranoid" without going into why you think their evaluation is wrong.
Heh, it's funny how one can have quite a bit of experience with a language, yet remain completely ignorant of parts of it (pretty much everything related to classes, in my case). Thanks!
I’m not aware of other ways to get at the material though I’m sure Widom’s website at Stanford might have some.

It’s not just a size thing but also a concurrency thing. Data frames are like tiny local databases. SQL databases are like central databases that many parties read and write from. There’s no switchover point as such. A common use case is to use SQL to query a subset of data from a central database, and that subset becomes a local data frame that an R user can work off of.

Data frames and relational databases are very similar. When you’re using dplyr many of the operations conceptually map 1-to-1 to SQL. SQL is just a data frame manipulation DSL for databases. It’s all about filtering, aggregation and projections.

Also not true about mutability and web tech. Most SQL operations do not mutate. Also SQL is more associate with data analytics, data engineering and report creation from data warehouses than web tech. The web tech use case came about because of PHP/MySQL and Django etc. but there SQL is usually used as an API language for the underlying data store rather than the full query engine that it is.
This helped me when I was using them some years back during my university time. Managed to place some papers on a heater and the ink disappeared. Putting it in the freezer for a bit made it all come back.
I absolutely love this, and I do the same. Small programs and scripts to solve problems I encountered in my daily life. When I make them for my own use, and for myself to enjoy making something, I don't care about whether it's the best solution or the most elegant solution, as long as it's a solution! And I really, really enjoy that. I don't care if it's one or one hundred lines, as long as it's enjoyable!

A few of my examples are:

1. A PyQt GUI for redshift. I use this every day, and have been for a few years.

2. Userstyle for horizontally flipping a video. Sometimes a video or stream is mirrored, for some reason, and it's just nice to be able to fix it.

3. Userstyle for scaling videos that originally had an aspect ratio of 4:3, but have been stretched out into 16:9 back to the original 4:3 aspect ratio. It's surprising how often you come across those.

4. Userscript for improving the functionality of the investment portal of my bank.

5. Bookmarklet for opening all videos on the page in new tabs, but there are some problems with iframes yet.

6. Bookmarklet for setting playback speed of videos on the current page. I use this several times per day.

[1]: https://github.com/Markussss/redshift-gui

[2,3,4]: https://github.com/Markussss/userscripts

[5,6]: https://markussss.github.io/
Cutting off the electricity is less damaging. Because if they have no sources of information, then all they have is propaganda.

If they have no access to free chat apps - they have no safe way to communicate.

It just can not help them to overthrow Putin.

I see the point in economic sanctions - people should be forced to go to the streets. Brutally forced, if needed. I agree that it's necessary.

But they still should have access to information (not only propaganda) and secure communication.
I received a set of these pens (the retractable colored ones) when starting my first job out of college. I was teaching high school students. Unlike the early generations of erasable pens, these really do leave no trace on the page when erased. As a new teacher, it was excellent for grading -- students couldn't tell when I inevitably mismarked an assignment. Better still, the ink is heavy and dark, so my students couldn't tell that their assignments were graded with erasable ink. I can't recommend them highly enough as a hybrid between pencils and pens.
The National Security Council's Pandemic Response Team, which would have integrated and coordinated warnings from such offices in the early days of the Coronavirus spread, was eviscerated in 2018. They tried to raise the alarm anyway, but were ignored: https://nymag.com/intelligencer/2020/04/trump-fired-pandemic...
if it were C#, I’d write it along the lines of !(n as bool), but for the purposes of JS, I suppose something like:

const IsNumber = (value) => Boolean(value);

!IsNumber(n)

I’m not a fan of using the return-type as the function name, especially when you are really just trying to find out if something is a number.
Better to rip off the bandaid, honestly. Rather than old social orders breaking down, I think we'll see some of them strengthened, as the reasons for their institution in the first place get harder to ignore.
I think it's important to remember that none of this makes any sense.

"Desktop Operating System" is a thing that has essentially been solved for over 20 years. Apple gets paid partly because it keeps a pretty good one going. Microsoft gets paid to tweak them and mostly make them worse.

So it's easy to get fooled into thinking you can make money by making a "good" operating system, because very large companies are visibly overpaid for doing so.
I don't know how you plan to tell apart kernel xHCI driver bugs from xHCI controller bugs with usbmon, which has nothing to do with the xHCI layer. It's at a higher layer. It doesn't show you anything related to xHCI internals. You can't know if any given behavior came from the HC or the kernel, what happened really, or anything else.

Source: I wrote the virtual xHCI implementation in QEMU (and worked around broken Windows drivers in it), I have experience with this.
4 week notice periods are common in the UK. Some employers negotiate longers ones, but often recognise that a leaving employee is never an asset. Usually in the first couple of weeks I will carry on as if I am still at the company forever as it does take time to sink in. Tidy up tasks, work etc. Then the last couple of weeks is tapering off, knowledge transfers etc.
I'm just saying a lot of people specialize in stuff that's not very transferrable.

I disagree about Angular being transferrable to React, really they take very different approaches to frontend development and reading React code of a Angular dev that just started with React is full of non-idiomatic code (seen first hand when migrating one project from AngularJS to React and getting the existing team to start porting)

It seems to me like we disagree on the role of senior developer - in my view senior developer is still an individual contributor and not a manager - sure you support junior staff, but you're the guy they go for technical stuff, reviews, better approaches - not the other way around. What you're describing sounds more like tech lead/architect role to me.

> Yes. Why didn't you stick with something?

Options available at the time, boredom with projects I was working on, generally liking to learn new stuff. A mistake in retrospective, but I'm transitioning away from development to a position where the breadth is an advantage.
I found my absolute favorite way to write is to use a Rocketbook which is explicitly designed to be used with FriXion pens and then OCR everything. It's really helped me record and then search any ideas or notes I have during the day.
I don't think I'd ask for a background check on a person I'm meeting. Instead I'd speak to their parents, and my parents, as a sanity check before things get too involved. Perhaps even talk to their friends a little to find out how they're perceived.

If I found out that my date did a background check on me, that would be a violation of my trust. I don't have anything to hide, but that doesn't mean you should be trying to uncover my background.
How does confirming that Russia is worse than everything than they claim "helping Russia"?
This is an aside, but I've been watching all the audio graph editor projects pop up and it's made me realize I want something like this for package management. A package maintainer should be able to specify something is a dev dependency, runtime dependency. I should be able to form a "user dependency" where I say Xwayland depends on sway - even though it doesn't. So when I remove sway it pulls out Xwayland with it. I should be able to remove dependencies within package descriptions, and see that one used to exist but has been overridden by me. I'd love to even see the history of how that graph has changed over time (step through package adds/removes). Further filter by package source to visualize the network clouds.

I want to visualize all of these dependencies as a graph, instead of trying to hamstring things together with CLI invocations. Editing the graph would invoke the package manager.
How does a no-fly zone stop a smart bomb from hitting its target exactly? They can be fired from the ground or from a ship and they can be hypersonic.

All you prevent is aircraft which in order to enforce requires a NATO state to shot down a Russian plane. NATO do not want this to escalate.
Every google hit for "UberPage" seems to be your writing, is there standard ZFS
terminology that would be found in ZFS documentation to what you're referring?
Shite: Static sites from shell: part 1/2
His writing is extremely clear and worthy of emulation, but his presentations are always in Comic Sans.
Ernest Shackleton's ship Endurance has been found
Profile: Volodomyr Zelensky (Jan 2022) [audio]
> The React framework strives for catching everything at compile-time. Runtime errors are a big no-no in web development.

I don't know whether that principle is generally true or ought to be generally true, but React does throw a runtime error if you render a plain JS object as a React child. This can probably also be prevented at compile time with linters or TypeScript, but given that React has to do something at runtime if it encounters an invalid child, I think throwing an error is preferable to just rendering nothing or having some undefined behavior.

In my opinion, rendering `null` is a pretty clear and explicit way to indicate you don't want to render anything. But rendering `false` (or `true`, for that matter) is not at all so clear to me. I think throwing a runtime error would be better, and would largely make the `thing && <Component />` idiom go away.
It's true, which is why I tried to caveat it with 'even if they aren't worth sharing'. If I got a Tangela and had it in my pocket I'm still going to show the neighbour friend, she might even like Tangela especially well as a preference (tried to get at this with 'subjective value'). But with the number of football players and how it's much more stat/goal-based and the collector aspects are skewed towards the higher level, kids probably aren't making Discord calls to show their friend John Smith from the English division 2 league because he has a cute nose :)
Oil plunges as much as 17% as UAE says support output hike
Okay: only evaluates <Anything /> if someBool is true. The value of someBool quite literally controls which code path is taken. It’s even more clear with a fallback:

{ someBool && <Anything /> || <Fallback /> }

Which would more idiomatically be written as a ternary conditional, but still. It doesn’t matter where the expression is placed, it’s the same if you assign it to a variable:

const el = someBool && <Anything /> || <Fallback />;

Or even just as an expression statement:

someBool && <Anything /> || <Fallback />;
It's to the point where you can usually copy paste a few lines of job description from the recruiter's email with the "brand new opening at a confidential client" into Google and find the original posting from the company.
I wrote a scraper that looked through substitute teacher jobs for a friend. she subbed 30 days in a row and got a full time job due to it.
It's an amazing story of which your friend must be tremedously proud.
Now that it's been done, no doubt the results will improve. What an
amazing time to be alive seeing these leaps in medicine. I think the
pandemic has, in part, really made biology and medicine super cool
again.
To be fair the tone seemed terser in your first statement and I thought you were angry. Now, rereading it, I can see what you meant.
The DRM was totally reasonably. Even though it was hackable, you didn't really need to, at least in my use cases it was fine.

I contrast that with some phone I bought before that supported some number of songs (nightmare), with zune (nightmare). Apple picked a level of lockdown that I'd guess for 80% of users didn't interfere. That compares to the other foks dramatically.