skysight-inc/HackerNews huggingface dataset:
> Ability to store everything in code that you control. In Airplane, we have a CLI that lets you deploy scripts from your own machine to Airplane. You can version control the script code as well as the metadata (name, parameters, validation rules, etc). In Windmill you have to create everything in their UI as far as I can tell. Airplane's approach is more developer-friendly and also allows you to reference other code in your codebase if you want.

https://github.com/windmill-labs/windmill-gh-action-deploy lets you sync from github, including metadata that are stored in a json file alongside the code with the same name. What this integration does is basically just sending a tar of your repo to Windmill to sync it so you do not have to centralize your code on Windmill if you do not want to. We will provide the same mechanism for local filesystems and CLI or any other source control providers very soon as the approach will stay similar.

It is not a strict superset and the approach are radically different in fundamental aspects, like operating at the source code-level versus container level, but what about the features you do not provide, like a fully-featured web editor with lsp in the backend for smart assistant. The ability to convert script parameters to UI directly and so on.

> * Third-party integrations (Sendgrid, Slack, etc). I only saw Slack in your docs.

This is disingenuous, we provide integrations for anything that has OAuth https://docs.windmill.dev/docs/contributors_guide#add-an-oau... by just needing to append the oauth informations to this file: https://github.com/windmill-labs/windmill/blob/main/backend/.... We have a hub for anyone to provide the no-code module part out of it. We will do it before the community reach a critical mass. I built this in 7 months, the product just got extremely stable and feature-complete so we can now focus on adding integrations. We expect this ways to have thousands of integrations by the end of this quarter when given your current needs for custom work on each module, it will be harder for you to grow your integrations at the same rate. We have much more than just slack already and it's comparable to your current integrations.

We have a public roadmap with all the features we intend to build over the next month if you are curious: https://github.com/orgs/windmill-labs/projects/2/views/1

You have an amazing product but being open-source is not our sole differentiator, we want to build an even better amazing product.

EDIT: The point holds that our docs need improvement and it's fair to assume that every integration that is not named explicitly does not exist. Our approach is very different as we believe less in custom integrations and more on relying on existing libraries in Deno and Python. In Windmill, it is sufficient to write a main function that call an existing library, and that we add the OAuth provider information to the library of integrated OAuth to have a very high quality integration experience so we did not feel the need to name all of them.
> Not at peak load.

So, what is your alternative? Nuclear plants for that peak load? Just burning gasoline and diesel forever? Please explain.
it adds a small cost to creating sockpoppets but it adds much larger value in having personal data for targeted ads

like my sibling said, twitter was dishonest to their users how the phone number was to be used

if it's just to prevent bot signups, why keep it on file at all?
It's ok to break some laws and not others. Breaking the law, and following the litigation to have the law struck down through courts is part of the rule of law.

That mechanism is built into the system, just as much as democratic change is
I like this idea and see other benefits. There are plenty of out-of-work coal miners that could be brought back into the workforce mining the materials needed for batteries and solar panels rather than buying and shipping these heavy materials from other countries.
Pay more?
The article premise is a little funny: people hate Gates and Zuck; it is strange that people hate Gates, so I'll set that aside and consider why people hate Zuck.
It is considered contempt of court, not sure what the punishment is in Nebraska, but that is usually something like a $500 fine and six months in jail.

Obviously you can't put FB in jail, so does that turn into a bigger fine?
"We recommend not doing what we forced you to do"
No, s is the parameter of the symmetry, not a parameterization of some path.
Facebook DMs are public. Zuck can be personally beating his meat to your nudes - as can every other Facebook engineer.

Any other belief regarding the privacy of them is flawed and incorrect.
It's correct for most blockchains, but not for Mimblewimble ones, as those require a joint signature by sender and receiver in order to construct a valid transaction (requiring a few rounds of interaction between them).
Daniel, my hat's off to you! Thanks for pushing for civil discourse. +100.
e-paper?
Specifically, it's Lead Acetate vs a lump of metal lead.

"Lead acetate, also known as sugar of lead, is a salt that (ironically) has a sweet flavor—a fairly unusual quality in poisons, which are more likely to taste bitter, signaling to the taster that they are unsafe for consumption. The ancient Romans used the compound—which they called sapa—to sweeten wine"

https://www.smithsonianmag.com/arts-culture/sugar-of-lead-a-...
The current Supreme has engaged in historical revisionism to reach its anti-abortion stance (eg abortion was perfectly legal 200 years ago, so much so that Ben franklin published at-home instructions for performing an abortion [1]). At the time of the ruling, it was pointed out that these draconian laws that half the states had passed or were passing wouldn't stop abortion, they would simply stop safe abortions. This case is evidence of that.

Some might choose to focus on why the defendant chose to get an abortion. I don't see any details of that here. Personally, I don't care. If she wants one, she should be able to get one.

Investigating this case at all is both unexpected and psychotic. Trying her as an adult is the next level of psychotic.

That all aside, as for Facebook, again this is light on detail regarding the cooperation given. Did they fight the subpoena? Did they have any grounds to? What steps were made to protect that user's privacy? We simply don't know.

As an aside, it seems like you have better privacy by using regular SMS than any form of IM. Law enforcement can get metadata but that's not so useful. Getting the actual messages from any IM service seems to be much easier. Perhaps WhatsApp would be better? I don't know how accessible WA messages currently are.

As for Facebook removing posts supplying at-home abortion medication, here I'm somewhat sympathetic just because Facebook does have to follow the law (even if that law is psychotic and unjustifiable). It's no different to supplying medical marijuana to people in places where it's illegal. Or supplying much cheaper medications from Canada or Mexico. These are all technically illegal so any company is going to have to try and enforce that.

Remember the political forces behind this under the guise of being "pro-life" go to every effort to restrict access to affordable medical care, recently voted against child tax credit (in the IRA) and fight efforts to allow people to fight a living wage.

[1]: https://www.npr.org/2022/05/18/1099542962/abortion-ben-frank...
Oh, you're a lifesaver. Thanks! (I spent quite a lot of time Googling how to do this, and never found it.)
since everyone is on the hybrid computing bandwagon, might as well bring the axg on core and make a xeon with axg on the same package. that's what apple is doing, might as well give that a try.
I am thinking more of an automatic ability to see how things are related. Chinese language(s) ↔ Taoism, in the context of a holistic approach to worldview [0]. I know I am exaggerating, but maybe some meditative training could help in this regard?

[0] https://www.nytimes.com/2008/03/04/health/04iht-6sncult.1.10...
It's not a shallow dismissal, it's the scourge of our industry; I can't wait to retire so that I would never have to look at it again. Give it a rest with virtue signalling.
I loosely mean how drosophila in biology is a relatively simple yet representative model that is easy to study that yields some insights about other systems.
Artist uses DALL·E 2 generated image as a base for beautiful illustration
See the time-lapse at the bottom of the page to see Krzysztof Maziarz's process.

I found this to be an interesting example of generated art being used in the workflow of traditional art.
For me it's the pre-rendering. I've used Next.js, Nuxt.js, Remix etc and they all server-render great. But for deploying SPAs to file-hosting (S3 + Cloud Front or Firebase Hosting) without a server runtime, you end up with empty HTML on request which is worse for SEO, social previews etc. There are solutions to pre-rendering for these stacks but they're more focused on deploying to Vercel or Netlify functions, or having a post-build script which opens the site in Puppeteer and saves the HTML into your build file! With Astro, all this is out of the box immediately. Try putting together an Astro site and look in your build directory; you'll see even for React components the HTML is already there
"All 8 people leaving his team cite salary and incompetence by Bradley's boss's boss as their reason for leaving. It feels staged."

I sometimes wonder if people ever take a moment to reflect on anything at all in their lives.
Texas has a bounty on people helping residents across the boarder to seek care AFAICT - that's an action that happens within the state. Passing a law restricting actions in another state is either 1) super illegal or 2) creates a really awful situation legally in the states.

If Texas can say "Hey, Massachusetts, it's illegal for teachers in your state to teach evolution" then we've essentially destroyed any ability to have laws in the US.
It would be more honest to say "We aren't able to determine whether it was exploited" which could better brace potentially impacted users for the possibility they might be affected.

This is a relatively benign case but the same language is used in other breaches when people should be taking measures like freezing their credit or reviewing financial transactions.
> but @lombok.NonNull helps a lot

Which @NonNull? There's javax.validation.constraints.NotNull, org.springframework.lang.NonNull, org.checkerframework.checker.nullness.qual.NonNull, org.jetbrains.annotations.NotNull, android.support.annotation.NonNull and a bunch of others[1]. The proliferation of Not|NonNull is evidence that I'm right, no matter how hard I get downed on HN.

[1] https://stackoverflow.com/questions/35892063/which-nonnull-j...
This level of corporate amorality / lawful evil reminds me of IBM during World War II.
If you have a miscarriage you don't normally dodge medical attention, fail to report it, and then bury the remains quietly in an unmarked grave.
Just to add for anyone reading this thread and aspiring to be a dev and being demotivated this is not the experience I witness (in the Netherlands). There are jobs for junior devs. One of the problem might be not wanting to advertise to hire very junior devs as I have seen people apply at the company I work for that have just completed a bootcamp or udemy course and nothing else and think they are qualified. If you advertise hiring at a low level you will get lots of spammy applications.

(I understand why these people are taking the shotgun approach and applying everywhere because some company will bite but it can be annoying on the receiving end)

My company is hiring junior devs all the time.
> which puts the return on investment (ROI) at about 3.5

Fyi, that's time to break even. ROI is measured in % (annualized, usually).
It's a temporary phase, next generation phones will be surgically implanted under the skin so no fear of ever losing them.
No. Assuming a well configured continuous deployment type environment; you just need to have peer review on code before it can hit production, and you need to have controls in place over the who, what and when of elevated access to production being granted
The key going forward is to use chinese messaging services that are not beholden to US law enforcement.
Given she is underage and pregnant, who made her pregnant? Why are they so desperate to conceal the evidence of the miscarriage, to the point where they burned the body, was it to prevent DNA testing?

That's just the tip of the iceberg here. It needs to be understood why they took this course of action.
And, for what it's worth, this principle that unexpected results indicate an error is quite useful.

I can't edit out the double negative in my first sentence which makes it incoherent (thanks to HN's time out system) but I can expect that most readers would see that and understand it is a grammatical error, and I'd expect that they'd have a some certainty about their reading of that sentence.
> Developers are highly creative people. Just like a musician composes or an artist paints, a developer can start a side project to unleash this creativity.

Saved the best reason for last! Because we're super empowered with tons of great tools & systems at our beck & call & we can! All manners of projects & problems about & it feels great to do a good job, especially if it can help others too.
No, Python is not the easiest to get started with due to the configuration in the beginning involving virtual environments and different Python versions from system (venv, pyenv, conda, and all the differing tools and tutorials one comes across).

No, the key to Python's success is that it's the most English-like language. It's succinct and reads very well. While most langs use &&, ||, and !, Python uses 'and', 'or', 'not', 'in', 'with', etc. This is a huge boon for novices that aren't comfortable by the sudden influx of symbols compared to natural language. Thus, it's adopted by most intro to programming university curriculum and leads to popularity by virtue of a lang many people have experience with.
https://finra.wd1.myworkdayjobs.com/en-US/FINRA/job/Jersey-C...

https://finra.wd1.myworkdayjobs.com/en-US/FINRA/job/Rockvill...

https://finra.wd1.myworkdayjobs.com/en-US/FINRA/job/Dallas-T...

https://finra.wd1.myworkdayjobs.com/en-US/FINRA/job/Rockvill...

(TBF I don't even know what a "senior associate" should mean, but "associate" usually means "entry level")
Is India at Risk of Chinese-Style Surveillance Capitalism?
Modern Java has first-class functions, pattern matching with structural binding, records/pure immutable data classes, the whole 9 yards:

static void main() {
BiFunction<Integer, Integer, Integer> add = (Integer x, Integer y) -> x + y + 5;
Integer result = addTo(10, add);
Integer result2 = addTo(10, (x, y) -> x + y + 5);
}

static Integer addTo(Integer acc, BiFunction<Integer, Integer, Integer> addFn) {
return addFn.apply(acc, 5);
}

Integer eval(Expression e) {
return switch (e) {
case INT(var value) -> value
case ADD(var left, var right) -> eval(left) + eval(right)
case MULT(var left, var right) -> eval(left) * eval(right)
}
}
They would get raided by the government and forced to comply. They literally can't refuse in this case. They could have fought it in court (and lost) but at the end they would have to produce the documents under threat of contempt and then criminal charges.
Apple will always be niche because they are too expensive.
ARM based PC client processors accounted for about 9% of the total market.
But I don't expect that number will grow a lot higher due to cost of Macs.
Also, you can't bring out a desktop PC based on Linux because that a very slowly growing market segment and MacOS is proprietary. Don't think Apple will start another PowerComputing type scenario where they open their platform to others.
It's not a matter of performance for this reason (price).
So, on Windows, assuming Macs don't take away any more market share from Windows,
they need to beat AMD+TSMC.
What you're describing is a common law system, which is basically what the US has[1].

[1]https://en.wikipedia.org/wiki/Common_law
My apologies, I didn’t make myself clear at all. I was commenting on the judges explanation of his legal powers and responsibilities. There should always be avenues of appeal available. The design of the system isn’t for judges to decide though, that belongs to legislators.

There’s a flaw in the system there, but not with the judge. He’s just explaining his duties according to the law. If you want the law changed, reasonably I think in this case, that’s a political matter not a judicial one.
Wouldn't salting mitigate this?
Not impossible. even in a prescriptive framework like ISO 27001, adequate SOD is a judgement call between you and the auditor. Generally speaking, if a single dev can push a code change to prod, in a way that would escape audit or not require a second pair of eyes, that would not be compliant. So if a dev writing code, also manages the deploy environment, that may not pass muster.

But it's not that cut and dried. There are degrees of rigor.
Yes companies and people should disobey the law more often, we should all strive to minimize the effects of government control and coercion enabling us to lead our lives as we see fit for the short time we're on earth.

For me, I'm happy Uber is around today, most likely because the flouted the law. Win/Win for me and them IMO.
I don't think that python classes are particularly user friendly, but python doesn't force its users to learn classes. Regular python code with just control flow, functions and dicts is very simple to get started with and more than enough to write basic programs.
I can't even tell you how often this happens to me. People come to me because I wrote something and I then tell them: "Let me go read the manual" (because I can't remember what I did a month later, so I'm always consulting my own docs).

I always tell people: "You think I wrote this manual for you, but I'm not that altruistic. I wrote it for future me."

To be fair, not exactly the same thing. I typically remember I wrote it, just not what it does or how it works. :-)
There is articles on HN? I am only here for the comments.
> why are they so nice to random people off the street?

Because they might become customers one day. ISTR that Porsche even had a commercial that said essentially this.
Unfortunately cats are not people. They are cats. Projecting human level expectations onto them is a recipe for friction.
All our market data feed handlers are sub 5 micro in the 99th. All in Java.
There was no widespread soil remediation so if you live near any road at all (that would be everyone) you are still affected by this. No need to be near an airport
Facebook's data centers and personnel might well be located within the jurisdiction of a blue state. Perhaps this will incentivize it to not retain this information, so that it can't be requested by hostile law enforcement or authoritarian regimes.

> creates a really awful situation legally in the states.

You are correct, it's a pretty awful situation, but it's one that we currently live in.

Also, it's rather common for sovereign states to sanction people for committing crimes in other jurisdictions. Meng Wanzhou was arrested for breaking US laws regarding trade with Iran in China.
It looks like caching definitely skewed the results a bit. You can take a look at the linked code yourself. Worst case was still only around 80 nanoseconds which is definitely slower, but still orders of magnitude faster than "sub 5 micros".

Don't take my word for it though, you can take a look at the Robin Hood benchmarks[0]. Robin Hood unordered map is a competitive hash map that's performed much better than the STL for me in many cases. They average a 4 nanosecond lookup speed for a hash map with 2000 elements and an integer key.

> Did you benchmark against Java's HashMap?

I benchmarked against C#, which has a runtime that performs similar if not better than the JVM. The C# code was a ~~few microseconds~~ around 130 nanoseconds. Which is still very fast, but up to 100x slower. (And yes, this was after warming up the code. I used benchmark dot net[1] here.). This is a really easy benchmark to set up. If you doubt me you can write a couple of benchmarks in under an hour and compare yourself.

[0]: https://martin.ankerl.com/2019/04/01/hashmap-benchmarks-04-0...

[1]: https://benchmarkdotnet.org/articles/overview.html
> You may be correct about everything you've said here, but I expect the tone is counterproductive.

I think you’re right. I realised after 5 minutes that it was the same tired tropes and mistakes again and the OP really sounded like bad faith by the end, and that no discussion is going to be productive anyway. Let’s be fair: all these points are very well documented for anyone interested in understanding them.

> I would encourage you to consider the impact of words like this before posting them. What was gained here? And what was lost?

You’re right again, but this bit was cathartic. It is difficult to stand the people who act like they are the reasonable ones when they use dodgy logic and faulty premises.
Reinfection stories from reputable outlets have been all over the news for weeks. https://www.npr.org/2022/07/11/1110804098/omicron-ba5-varian...
Well, yeah, that's probably because for nearly 50 years the government ostensibly recognized the right to have an abortion. Of course some people are going to be avoiding the system after recent events, and people who are afraid to seek help from others are more likely to resort to extreme measures out of desperation. I think they should adjust their expectations if they think this was a random outlier...
The teenager ("mother") isn't being prosecuted for getting the abortion. She's being charged for concealing or abandoning a dead human body, concealing the death of another person, and false reporting. It's the teenager's own mother who's being charged with the abortion-related offences (performing or attempting an abortion on a pregnancy at more than 20 weeks, and performing an abortion as a non-licensed doctor).
Sure, I know who you are but I hold opinions too :-)

I don't care about having to provide zero-terminated strings to OS and POSIX APIs, because somehow I almost always have the zero already. Maybe I'm a magician.

Sometimes I have not, but >99% of what I give to printf is actually "text", and that pretty much always has the zero anyway. It's a C convention, you might not like it, but I don't sweat it.

If I want to "print", or rather "write", something other than a zero-terminated string, which is normally "binary data", I use... fwrite() or something analogous.

> C ranks among the most inconvenient string processing languages

I've written my share of parser and interpreters (including also a dysfunctional toy compiler with x64 assembler backend, but doesn't matter here), so I'm not entirely a stranger to this game either.

I find parsing strings in C is extremely _easy_, and I find it in fact easier than say in Python where going through a stream of characters one-by-one feels surprisingly unpythonic.

Writing a robust, human-friendly parser with good error reporting and some nice recovery attributes is on the harder side, but that has nothing to do with C strings. A string input for the average parser isn't even required, you just read char by char, frankly I don't understand what you're doing that is hard about it. It doesn't matter one bit if there's a zero at the end or not.
It makes a statement that can be interpreted that way with some help, sure. Sort of like how the ancient greeks came up with atoms, evolution etc. But it was just a vague idea, really, nothing very concrete.
I would agree, but if you're mentoring right a lot of those problems get delegated to the junior engineers - not status meetings though.