skysight-inc/HackerNews huggingface dataset:
Show HN: Figr Identity – Generate Design Systems in Figma Instantly
Hi everyone,

I’d love to introduce Figr Identity, which helps you generate design systems with variables, styles, Styles sheets and custom components in your design language. We built this plugin to take away the non-creative work from the design system setup process.

1. Setup the design tokens: Colours, typography, corner radius, spacing system, grids and elevation.

2. Setup the component Library: All the design tokens are automatically reflected in custom component library.

3. Export to Figma: Get the style guideline, variables, and component library to your file in a single click.

Would love to hear your feedback as we continue to improve the plugin :)
Is there a job where ops people do more of that and data science do more of the stats and machine learning design?
His protests as well as the treatment often perceived as "absurdly comfortable" all hinge on one fact: he is kept in permanent solitary confinement. Which is otherwise considered an additional (and harsh) punishment for regular prisoners. And it's the reason why he has his private gym and entertainment facilities, because those would normale be available as shared facilities to regular prisoners.
Panamax specifications (320 m length, 32 m width) have been in effect since the opening of the canal in 1914. Some ships were already larger than that back then. The Titanic was about that size.

The ship that knocked down the bridge could weigh ("DWT") up to 115 000 tons.

Some ships from the 1960s and 1970s:

Universe Ireland: Launched in 1968, it had a DWT of over 300 000 tons.

Esso Atlantic (1977): DWT of over 500 000 tons.

But these were tankers. You're right that container ships were not as big back then.

One of the larger container ships when the bridge was built in 1977 was MV Hamburg Express. It was 280 meters long, 32 meters wide, and had a DWT of 50 000 tons.

Do you really think a 280 meter long ship weighing 50 000 tons would not have knocked down the bridge in exactly the same way?

https://de.wikipedia.org/wiki/Hamburg-Express-Klasse_(1972)
The wrinkle in the generational hypothesis is that the "when" of a crisis being felt may depend on which generation you belong to.

The nature of the major trends in the US have been primarily economic: rising debt being kicked down towards younger people, asset prices rising and concentrating in fewer places. This trend favored the Boomer generation up until recently, since they had relatively more opportunities to get assets when they were young, many of them had long lives in good health, and they were still occupying job positions by the time their children had finished education, setting the stage for the younger cohorts being educated for things they couldn't be hired for. Now that the Boomers are exiting the workforce there's a different kind of turmoil taking place as the economy is trying to put different hands at the wheel. But it's not exactly a new crisis for someone who entered the workforce in the 2010's, it's just incrementally more intense and their sense of crisis may have hit at graduation or even before. In contrast it looks downright apocalyptic to older people who had a long career insulated from the effects of the trends only to abruptly retire into a world of Zoom meetings, high inflation, and understaffed healthcare, while the national leaders are suddenly making radical policy moves that offend their sensibilities.

The stage for crisis is properly set at this point because every generational cohort seems to recognize it as a crisis that needs a reframed social contract, instead of a "that's your problem, not mine". That kind of consensus is the dividing factor. But the specific grievances are a thing that were building up for decades.
And cleaning staff are actually floor engineers. Everything is engineering if you are imaginative enough.
> It bothers me deeply how much of C ethos can be boiled down to, "We can't be bothered to learn to type at a reasonable speed"

I can understand it from way back when. People were moving from assembly and other languages where everything was terse by requirement so variable/function/other names were short out of habit, though even then your assembly should have had comments about what was in each register & why etc. Also, comments were relatively terse because people were working on small screens and in extreme cases were concerned about the size of code files. None of this is adequate excuse for doing things wrong now, decades later, but such habits have momentum: people with the habits write books and local style guides, and also short names are baked into the standard library, so new people are “infected” by the habits, and so it rolls forward.
I usually go with the Google Shell Style Guide: https://google.github.io/styleguide/shellguide.html

* If performance matters, use something other than shell.
* If you are writing a script that is more than 100 lines long, or that uses non-straightforward control flow logic, you should rewrite it in a more structured language now. Bear in mind that scripts grow. Rewrite your script early to avoid a more time-consuming rewrite at a later date.
* When assessing the complexity of your code (e.g. to decide whether to switch languages) consider whether the code is easily maintainable by people other than its author.
So annoying to have articles not point to the original paper.
He made a lot of mistakes, he was not a car guy.

Look at cheap electric chinese cars. Tech is old and perfect for Italy.
He simply didn't understand the technology.

He was a backward guy who only knew merges and finance. If you run a car company, you need to understand the product. You can't survive long without that.
Is there a link to the CACM itself? Is it free to read? The article seems to imply so.
I’d argue the obvious answer is address the lack of great answers for declarative schema migration in PostgreSQL. There is Skeema https://github.com/skeema/skeema but it doesn’t support Postgres and Prisma iirc forces you into an ORM, atlas looks perfect but has a nonstandard license.
A year ago I left my job at a 500-employee SaaS business working on the team that maintains the devops infrastructure, to found a startup. For me the biggest pain point is going from nothing to a sufficiently flexible devops setup.

There are a lot of great tools out there, but making them play well together is an exercise for the reader. There are also a lot of preference-based choices you need to make in how you want your setup to look, and what you chose will affect what tools make sense to you.

Do you go monorepo or polyrepo? If you go monorepo, how do you decide what to build and deploy on each merge? If you go polyrepo, how do you keep stuff in sync between any code you want to share?

Once a build is complete, how do you trigger a deployment? How does your CI system integrate with your deployment system, or is the answer "with some shell scripts you have to write"?

> How do you deploy resources?

For us, we have a monorepo setup with bazel. I wrote some fairly primitive scripts to scan git changes to decide what to build. We use Buildkite for CI, which triggers rollouts to kubernetes with ArgoCD. I had to do a non-trivial amount of work to tie all this together, but it's been fairly robust and has only needed a minimal amount of care and feeding.

> How do you define architecture?

Kubernetes charts for our services are in git, but there's some amount of extra stuff deployed (ingress controller, for example) that is documented in a text file

> How do you manage your environments

We don't need to deploy environments super often, so just do it manually and update documentation in the process if any variations are needed.

> observability

Datadog and sumologic.

Overall our setup doesn't come close to the setup I worked on at my last employer, but I have to balance time spent on devops infra with time spent on the product, and that setup took ~5 full time engineers to maintain.
> "You couldn't send Dad's Army, as it is about war. But Teletubbies could be an option, or The Good Life, with a bit of gardening and squabbling in the kitchen".

The Good Life? I mean... I remember it as being quite political; it's about a suburban middle-class couple who renounce consumerism and turn their house into a farm, to the annoyance of their irritating social-climbing neighbours. Now, maybe that is political in a manner appealing to North Korea, but it's hardly just a bit of gardening and squabbling in the kitchen.
Lambda? Digital ocean app service? Azure containers?

I guess it is proprietary tech though which might be off putting.
DRM is on purpose.
It depends whether you include the standard library into consideration.

atoi()? strrchr()? srand()?

I’d argue the obtuseness of the standard library function names at least influence the legibility of the programs written against them.
Here in Germany, we have similar problems.

There's a combination of causes... and probably they're also applicable for the US:

- rising costs of energy (electricity, gas)

- decades of underfunding of building construction and maintenance, leading to a massive backlog of issues

- same for IT

- modern machinery (ultrasounds, MRTs, CTs) costs immense amounts of money

- general staff shortages that need to be filled via expensive temp-staffing agencies on one side and cause wage rises for those employees that remain

- as a result of that, beds have to be marked as "inoperative" and they don't generate income, whereas the expenses keep piling up (there finally are reform plans to pay hospitals for providing beds, but it's a ... let's say toxic minefield)

- rising costs of administrative bullshit and legal compliance

- insurances being utterly ridiculous regarding payments, both

In the US, I'd add "more and more people unable to pay", which leads to the cost of care for these people being redistributed to everyone else.
It's way easier to make a good programmer out of a researcher than a researcher out of a programmer.

I have always had programming jobs (job title: software engineer) that required the 'researcher' mindset. We didn't mind teaching them our stack or even good coding practice, but if they didn't have the 'explorative/innovative mind' of a 'researcher', we could never train them up to the level they needed to be.
To clarify: The false positives/negatives are for the spam filter, not DMARC specifically.

My DMARC policy is lenient, so it only ever creates reports that I don't read, it never filters.

False positive: A legit email ends up in my spam folder.

False negative: A spam email ends up in my inbox.

I check my spam folder occasionally, so that's how I count false positives.

As far as I understand from this thread, maintaining a DMARC policy set makes more sense for bigger companies that have a lot of automated email traffic and a lot of consistently shaped traffic between larger groups. My Microsoft email at work is full of useless notifications because we don't have policies set up that whitelist our main customers or even our own automated tools. ("You don't often get emails from Jira!" -- if only.)
This sounds much like how unison[0] works. I would say that if it were to use a C like syntax, the succeed chances would go up.

Would be cool if it targets WASM, this something I'm super interested right now, there are a lot of advantages on targeting WASM one of them is the interoperability with other components written in different languages, this will be when the component model[1] get's finished and implemented.

[0]http://unison-lang.org
[1]https://component-model.bytecodealliance.org
How is this fascinating? One is a 175-1000+B parameter model the other is 3-70B parameter model.
Show HN: I made a Spanish mortgage simulator
Hi all!

I'm currently securing a house in Spain and wanted a method to compute monthly payments, so I created a tool for it (despite knowing Excel could suffice, I enjoy making things).

I'm considering adding features such as:

Bonuses: Interest reductions from banks for bundling services (like home security, insurance, etc.).
Visual charts
An amortization schedule
I'd love to hear your suggestions on what to include next.
The weights are different, because the model is different.

As jzbontar below mentions, the crucial point is that the random noise mask is the same. The diffusion models are trained to turn random noise to an image, and they are deterministic at that - the same noise leads to the same image.

What the authors did here was to find a smart way of training a new model able to "simulate" in a single step what diffusion achieves in many; to do so, they took many triplets of (prompt, noise, image) generated starting from random noise and a (fixed) pretrained stable diffusion checkpoint. The model is trained to replicate the results.

So, it is surprising that this works at all at creating meaningful images, but it would be _really_ surprising (i.e. probably impossible) if it generated meaningful images which were seriously different from the ones it was pretrained with!
Witnesses as in Nayirah testimony?
How would that explain Chris’ experience at the Genius Bar?
The ship that brought down the bridge had a capacity of 10 000 TEU. It's max weight (DWT) was 115 000 tons.

There were container ships with a DWT of 50 000 tons when the bridge was built.

There were also tankers with 10x that (500 000 tons), so large and heavy ships shouldn't be a Pikachu-face surprise to the bridge designers. If nothing else, the trend in increasing ship sizes was clear to anyone looking at it.

Do you think the bridge steel pylons would have resisted a 50 000 tons ship plowing into them?
It is used to name a a commit, not to sign it. So the data structure itself will be corrupted if there is a collision, as it relies on the invariant that each commit has a unique name. And the collision has to happen within a single repo.
Ebb Carbon Plans Ocean Geoengineering Plant
Live Score
> simply bulking up the ground around the piers

That is exactly what they did around the pylons of the large Öresundsbridge between Denmark and Sweden.
Soul of erlang got me hooked to Elixir recently, trying to get my hands dirty as well.

Other than distributed/concurrent system use-cases, could you share what kind of products are best when built with elixir/erlang compared to easier to write languages like Go, for example.
Unison was very much an inspiration for my thoughts, but statement based programming (C-syntax) is pretty much out of the question since they rely on hashing functions and on some specific ways of specifying computation so it can work as it does with the whole distribution of computation and universal database of code.

It is actually one of the problems I have with common lisp, its impossible to do a semantic hash on arbitrary common lisp functions so I create more history that I need, since a reordering of independent let forms cannot be easily detected to preserve functionality
I would be that parastitic wasp, I would be afraid and even tinier one is ready to kill me right after I also kill the bigger one. How do you know which one is the last!
>This code, which included a client-side “kit” that installed a “root” certificate on Snapchat users’ (and later, YouTube and Amazon users’) mobile devices

I'm surprised it took 7 years and a lawsuit for this to be confirmed. I remember there were reports of "facebook-affiliated VPN app that might be spying on users" a few years ago, but I don't think the fact that they were MITMing user traffic was confirmed. Sure enough, I went back and skimmed the news stories[1] from back then and there were no mentions of root certificates or MITM. Given how many scary prompts you have to go through to install a root certificate, I'm surprised nobody got suspicious and posted screenshots to the public.

[1] https://gizmodo.com/do-not-i-repeat-do-not-download-onavo-fa..., https://www.extremetech.com/internet/263867-facebooks-new-on..., https://techcrunch.com/2018/02/12/facebook-starts-pushing-it...
I think if you read the comments aimed at this protocol, we're all saying that if this is a fun/school project, it sounds good, but if this is a commercial product, use something that has been proven to work.

No protocol exists completely separate from its implementation.
Excellent job. Would be amazing if this became an open source hardware project.
Blameless culture is not about dodging responsibility. It’s about that when a process wrongly allowed a human to do X, the process is the issue to fix.

Of course you can go deeper and ask why was this process not done correctly etc but at the end of the day, it’s about actionable changes that ensure mistakes don’t get repeated.
Residents sue company for burning tires to mine Bitcoin
NESQUEHONING, Pa. - The company that owns a Carbon County power plant is being sued by a group of nearly 100 residents who live near the plant. They claim the plant is burning rubber tires to mine bitcoin.

In the suit filed Tuesday, opponents say the Panther Creek plant – owned by Stronghold Digital Mining, Inc. - near Nesquehoning is burning rubber tires to mine bitcoin and, in the process, polluting the air.
I'm going to turn this around and suggest introducing a species without its parasites is not a good idea. That's how you get invasive species that spread out of control. Then you have to go find those parasites and pathogens and deliberately introduce them.
Richard Serra, minimalist sculptor whose steel creations awed viewers, has died
This is where Marie Kondo had it right: You don't try to clean up other people's stuff. You clean your own crap and let theirs be.
Backend JS does whatever the hecky you _want_ it to do.

The Cluster module has been around for a long time: https://nodejs.org/api/cluster.html

Tbf a lot of the time you're running it in a container and you allocate 1 vcpu there, only downside is maybe a little extra memory overhead. And for most lambdas I think they're suited to being single threaded (imo).
If you were hired into a banking job in 2021, you may be a little mediocre
"Encryption, distributed systems, anonymous networks, and related technologies are the only effective means to provide a counter to the asymmetric threats that endanger our personal agency."

Here here, well said.
I like your post a lot - but I wouldn't do a side project like this - seems to take a bit of the fun from coding, I guess.
Regardless, 400k is high income. You are just choosing to spend it all on housing.

You may not be rich, but 400k is definitely high income. Hell, 100k is high income.
I've just subscribed! Congratulations for this well crafted, immediately useful tool. It's something I was already looking for.

Some Feature Requests:

- Please implement proper undo/redo history and allow us to use it with voice, GUI and keyboard.

- When I take over with keyboard, do not mess while I'm writing.

- When I start speaking, if the text cursor is in between words, I'd expect it to insert, not append. (if you want to avoid this from happening accidentally, after some idle time, you may move cursor to end of the text)

- A little advanced feature; It would be very nice to have some form of tagging for sentences and/or paragraphs with numbers, text or colors. So it would be easier to delete, reorganize, move around them by saying like "move the green section before purple one" or "part 12 should go before part 4", then we can let the language model to do it's magic and rephrase/reformat it a bit. Your AI probably smart enough to understand which sentence we are referring to by just hearing part of it, but as a user we may feel too lazy for that.

- Add a cheat-sheet for what's possible next to editor. Something more succinct than the notion doc.

- Allow pausing/resuming dictation with voice command.

Note: I would really like to be able to benefit from its smart features while I'm not sitting in front of my computer or holding my phone. But I'm not sure there will be a day when Apple let us interface with smarter AI agents like ChatGPT or Aqua Voice on iOS while the screen is locked. IMO, this is gatekeeping of an inferior feature (Siri) in the name of protecting my privacy. I hope some day EU will also intervene with that.
What these reptilians do is only think about themselves.

If you're invited for dinner it doesn't mean that somebody owes you a meal. It means somebody wanted to make a nice gesture towards you and get to know you more intimately, perhaps to discuss important things.

You eat something before you go, because it's not about the food. You can ask about the ingredients when you are at the table.
There's a lot of noise when trying to learn the advanced features of each cloud provider's "way of doing XYZ." I think it helps to focus on the things worth protecting: secrets, credentials, code.

Who has access? How do we audit / rotate? How do we secure?

You can use this approach for each step along the way, how to secure secrets in your cloud? code? IaC? container deployments? CI/CD?

If we assume infra / app is code, the tooling matters a lot less. How do you provision certificates via IaC? How do you grant IAM to resources and how do you revoke?

There are examples like https://github.com/terraform-google-modules/terraform-exampl... of more advanced IaC architectures, but you can start as small or as complex as you want and evolve if done properly.

Personally, I love me some Kubernetes + ArgoCD (GitOps) + Google Workload Identity + Google Secret Manager, but I am 100% biased.
Risk factors for faster aging in the brain revealed in new study
I am working on a data management tool called Ottava. Essentially, it's a tool that enable users to input data in a format resembling a pivot table, allowing them to conduct data analysis without the need for data transformation. For instance, users can create a gradebook with student names in the row header and subject in the column header.

The tool automatically converts this layout into database (unpivot), enabling users to perform aggregations such as SUM or AVERAGE without having to write formulas. Because the structure designed by the user often carries significance, such as organizing dates into columns with a hierarchical structure like Year -> Quarter -> Month.

Users can organize their data with grouped rows/columns and insert aggregations. Simultaneously, Ottava can derive insights from the structure metadata and propose various types of charts for data exploration. Subsequently, users can select the charts they are interested in, choose datasets, or drill down into the charts, providing further insight for Ottava to offer more precise chart suggestions based on user interactions.

Unlike AI with the capability to autopilot, our objective is to build a Mazda MX-5 for data analysis: providing users with both enjoyment and control while exploring data.

https://ottava.io/
West Africa was once an architectural laboratory. Is it time for a revival? [video]
On the off chance that you haven't yet looked at smalltalk, can I recommend cuis smalltalk as worthy of investigation.

It's a simplified smalltalk (like pharo, forked from squeak), where the emphasis is on having a base system that you can reasonably fit in your head (think scheme vs common lisp).

Here you'll find much of what you described, including per-method revision history.

BTW, it comes with a rebuilt morphic gui with flawless scaling - unlike most smalltalk, this one actually looks crisp - even on large displays
We used to use the terms "magic" and "science" for those concepts (consider Clarke's Law).
> but even during the civil unrest periods things were OK if you stayed in your villa with your slaves and vineyards

Well, I mean, this is if you happened to be very rich. Also, of course, for quite a bit of the period it put you in the firing line for proscription, and other Rich Roman Hazards. Particularly after the end of the Republic, the Roman Empire tended to be a fairly hazardous place for rich people; odds were good that you'd end up, at least passively, on the Wrong Side at some point.