skysight-inc/HackerNews huggingface dataset:
> What's the option if I want to learn Bazel to an intermediate level and I don't work with former Googlers?

The best way to learn it would be to use it yourself and try solving problems with it. You don't need an xoogler to learn it, my former company did not have one when we first evaluated Bazel.

There is a very active community Slack and StackOverflow for questions as well.

> rarely is there anything relating to best practices or even what constitutes good rules.

I think rules_go has been a stellar example of what a well-made rule should look like:

- Managing toolchains and stdlib within Starlark

- Provide wrapper around core toolchains to enforce best practices

- Break down a build into fine-grained, reusable actions

- Provide concrete APIs for downstream rules (i.e. graphql, swagger, proto code gen) to consume.

> Seems like most of the hobby community prefers NIX for deterministic builds too, so the situation is not improving for novices like myself who really like the idea of hermitic builds, monorepo's and distributed cache.

Nix figured out the external dependencies story much better than Bazel, much thanks to nixpkgs repo.
So naturally, in a fragmented opensource ecosystem, Nix thrives much better.

However, in a closed ecosystem within an enterprise, Bazel provides a more granular approach to managing your build: smaller actions mean finer, more granular caching. It also has a much better set of APIs for distributed builds and build telemetry that folks could depend on from day 1. It's also copying some for Nix playbook with the new Bazel Central Registry resembling nixpkgs.

I think you can learn either build system. Most of the skills and concepts are transferrable: sandboxing, build hermeticity, remote caching, remote build, etc... So you often see some experts in this field being involved in multiple build tools development and not just one.
It should but won't because the likoud always play the criticizing_Israel choices = antisemitism card to shutdown any discussion and most western gov have too much baggage against jews to feel entitled to argue against. This + it is a matter of who you hate the most. Most far right political groups in western countries are hating islam and arabs even more than jews at the moment.

The irony is that some neonazis in european countries who used to make jokes about gaz chambers are currently calling out parties expressing concern about Israel politics as antisemitists and islamists.
What do you want a high frame rate for when looking at art? What is the frame rate of the Mona Lisa?
Have a captcha. Problem solved.

I highly advise not sending any harmful response back to any client.
IMO, you should always completely separate your work devices from your personal devices. Only do company work on the company device. Never use your personal device to do or store company stuff.

If you use your personal devices to do company stuff and there is some legal action (criminal or civil) then you may be forced to give your personal devices to law enforcement or some other 3rd party during the legal proceedings. You may or may not get the devices back.

It's just best to not mix business stuff with personal stuff.
Seems like the individuals were hit because of their employers. This is the first widely public instance of such things happening. I'd assume non-maintainer developers from Iran or Cuba could have been just ignored.
There's a song called: "The future is not what it was" that I am a fan of in this context.
Ask HN: Software devs who went to work to Middle East how did it go?
The sunlight plot is interesting.

Since Dec wraps around to Jan, you can fold the left and right to make a tube.

Since 23:59 wraps to 00:00 you can fold the top and bottom of the tube, making a torus (a donut).

For a fixed lat/long, each point on the torus corresponds to the sunlight observed at a particular time throughout the year. Why bother with a torus? The shape itself embeds the continuity of time across days/years that is otherwise left implicit in the typical 2D plot.

I've wanted to plot this in 3D or have it printed on a ring, but never got round to it.

Any one seen anyone do this?
Show HN: I use this tool to let each team member know how we work together
I've always found the criticism leveled by the colored functions blog post a bit contrived. Yes, when you replace the words async/await with meaningless concepts I do not care about such as color, it's very annoying to have to arbitrarily mark a function as blue or red. But when you're honest with yourself and interpret the word "async" as "expensive", or as "does network calls", it becomes clear that "async/await" makes important features of your function explicit, rather than implicit. Seeing "await" gives me more information about the function, without having to read the body of the function (and the ones it calls, and the ones they call, etc). That's a good thing.

There are serious drawbacks to async/await, and the red/blue blog post manages to list none of them.

I've wrote a blog in response to OP containing a more detailed version of the above:

https://wpbindt.github.io/async/opinions/programming/2024/01...
A ban just means that a group of bureaucrats decided to take public action against a specific person and not against others.

Carlsen, Nakamura and chess.com itself have participated in the Niemann witch hunt. No evidence of over-the-board cheating has ever been provided.

None of the accusers is banned.

Kramnik did the same as they did (by indeed going too far).
Even for immutable OSes, SSH is a great protocol for bidirectionally authenticated data / file transfer.
no and that's exactly why those sanctions are bullshit
there are some issues in mobile devices. have a look on pricing table and nav.
The Billion-Dollar World of Parasite SEO: How to Cash In
A thread about a year ago https://news.ycombinator.com/item?id=37850664
You can also get a Japanese Working Holiday Visa which allows you to work in Japan and stay for a year. https://yoyogi.io/en/how-to-get-a-japanese-working-holiday-v...
Why the thermal printer? The text fades eventually and you will lose your private keys.
The Internet Archive is even more essential than I realized – Fast Company
> One could make the identical argument for the other world power

No, one couldn’t.
I don't know why you are so insistant on this while not being a beginner. Specially when a real beginner is telling you their personal experience.

https://xkcd.com/2501/
Best use case I can think of is replacing the die roller in the board game trouble.

“You can pop a lot of trouble in the pop o matic bubble”
I have a family member that went on Ozempic.

After decades of suffering with weight problems (and resulting health issues), Ozempic brought about life-changing results in months. It is a fantastic drug, and I hope it becomes widely available as soon as possible.
Related: https://news.ycombinator.com/item?id=41738434
Wow, something I didn't know was in my brain, and you found it. Snarf!
How is trusting Cloudflare "zero-trust" ?
Xoogler here (2011-2018). At some point I proposed making it easy for people to "lie" to an app (if it asks for location, provide fake data etc.). This would preserve true customer choice about anonymity.

The reaction to that idea taught me a lot about incentives.
Opening scene of the 3 Body Problem tv-series: https://www.youtube.com/watch?v=3giTYRttoRQ
Toasty was the focus of Carl Lerche's P99 CONF keynote on Wednesday. It provoked some interesting discussion in the chat.
Good riddance for LA Times, I guess?
Thanks, I had no idea about this.

My Google Pixel 8a doesn't show anything on either camera, but my friend's front camera did! It shows up light purple.
Why would this be a patent issue for the east district of Texas?
Editor frameworks are not frameworks
I have always felt that doom-emacs and doom-nvim are imcomplete frameworks. Both of them have an obsession with lazy-loading and deferring packages which always goes wrong. I got horribly annoyed with nvim-surround's inability to set the keybindings after directly opening a file rather than just nvim and doom emacs kept breaking after small workflow changes. As an experiment, I tried vanilla-evil configured emacs with lots of my own libraries and it pretty much opened in the same time as doom-emacs.

Secondly, doom does not provide anything for encouraging users to create their own APIs apart from some macros for configuring the framework. It does not have a proper stateful storage mechanism like being able to change use-package forms, add more mappings or configure a language properly apart from it's fancy API used to enable/disable packages, pins packages for no good reason and I don't like the way code has been organized wrt all the reinvented functions for dealing with mappings and other stuff. For instance, the author has a macro wrapper over general-define-key for no good reason . It makes more sense to have a cond-like DSL where the state name is the cond-case for making multiple general-define-key mappings. The author fails to include a REPL or a anywhere-shell library and something that automates compile based on workspace or patterns-matching using 'make-process' - really good API that matches plenary.nvim without bells and whistles all of which is present in doom-nvim.

As a result I have long abandoned using frameworks rewritting my own with stateful configurations where each object is tagged by name and a powerful set of custom primitives like terminal, compiler, formatter objects with a lua-like table structure powered by ht and eieio. Now the stupid problem of keymaps and hooks not loading and byte-compilation crap, my configuration feels much more productive than doom
Zero is a perfectly valid memory address.

The ability to have uninitialised pointers is also a terrible mistake.
A difficult problem related to this: prove that, for any location in the earth, the longest night of the year is adjacent to the shortest day.

This is infuriatingly difficult (because the lenght of a consecutive day-night pair needs not be 24 hours), and I'm beginning to think that it may not even be true.
> 5. If a client is a known LLM range, inject texts like

I would suggest to generate some fake facts like: "{color} {what} {who}", where:

* {what}: [ "is lucky color of", "is loved by", "is known to anger", ... ]

* {who}: [ "democrats", "republicans", "celebrities", "dolphins", ... ]

And just wait until it becomes part of human knowledge.
As anyone who has done the old setTimeout(fn, 0) trick in the browser probably knows.
I was curious about the syntax of this signature:

> List.first : List a -> Result a [ListWasEmpty]

I found this section of the tutorial useful (and the preceding example of calling List.get): https://www.roc-lang.org/tutorial#error-handling

The `a` is the type from the `Ok` constructor (similar to Haskell's Left constructor in Either) and the brackets mean "List", not "optional" as in CLI docs, it's a list of types that might be used in the `Err` constructor (similar to Right). So `List.first` either returns `Ok a` or `Err ListWasEmpty`. For a slightly larger example, the tutorial has a `getLetter` that shows two error types.
Texas, USA.
Maybe we should be building accessible UIs by default rather than treating an actual disability as a 'my workflow' problem.
They did a reprint of the original magazine from January 1984, to mark its 40 year anniversary. It can still be purchased online at https://prodavnica.pcpress.rs/issue/339/1, and they ship internationally.
I got my copy a few months ago, wanting to own a small piece of history.

You can buy the actual computer kit as well at https://pcpress.rs/galaksija/, but that one ships only within Serbia.
I can only imagine that is because you aren't based in the US or they are flooded with applications
It's a humbling experience that the opening talk of this year BazelCon is about research into projects that FAILED to adopt Bazel. You can check out the slides of the talk here https://static.sched.com/hosted_files/bazelcon2024/41/TheCla...

Personally, most cases I have seen are caused by a systematic under-investment into developer toolings and infrastructure at the company. Management layers often don't understand the software development assembly lines are not composed of just workers(software engineers), but also tools and machines that enable faster workflows. This often results in some critical processes in the pipeline from code to prod to be maintained by 1 guy: monitoring, alerting, deployments, builds, git etc... and when that 1 guy left, the system failed and the company suffered.

I think successful Bazel adoption in an org is often a signal that the company has grown in size and values its developer's time and happiness. Failure to adopt often means a lack of investment in dev experience in general.
Rented a flat in Tokyo for a month too as a tourist. But it wasn't cheap. Around $1500/month, in 2011. But it was 3 rooms, and very nice. So maybe not so bad, actually? But then again, it was many years ago.
Israel (il-central-1) is also missing.
Java class java.net.http.HttpClient

Python package requests

Whatever is the default these days in C#

Honestly, I have never used a modern HTTP client library that does not automatically decompress.

I guess libCurl might be a case where you need to add an option to force decompress.
I find the wikipedia article https://en.wikipedia.org/wiki/Sunrise_equation more complete as I was wondering about latitude and the fact that north poles sometimes don't even see the light for days, a sinusoid wouldn't fit.

Now wondering how accurate a location we can get from the observation of sunrise and sunset from the formula (in the case I got stranded on a desert island :) ).
I understand your point but all the resources and material goods in the world don’t matter if you can’t access them.

> Indeed, we don’t have the technology to save people from themselves, yet.

The plight of the poorest in today’s societies is far more of a social and political issue than a technological one. An issue America is particularly bad on, despite all its affluence.
https://linphone.org/
Dont you love myopic viewing of history. It was Russian tzar Alexander who liberated Finns from sweden, granted them their own language as official language (as oppised to Swedish), and were the first to grand Finland autonomy and self rule. They even expanded Finnish territory from war reparations with Sweden. After 1917 Finns wanted full autonomy, this was granted but negotiations about territory borders were unresolved. Finns used the turmoil in SSSR in 1917-1923 to get maximalistic gains. The winter war was just restoring borders to fair ethnic borders.
> If I want feedback on my quick and dirty project, I want it on within the scope of design, not the missing features, bad accessibility etc.

This wasn't posted with that directive.

And if your "design is great" but your implementation sucks then maybe the design sucks too.
Intel Got Left Behind in the A.I. Chip Boom
Just like Nokia, where the organization was made of dozens of business units trying to screw each other over. A great concept on paper ("We have no credible competitors, so to remain fresh, we have to become our own competitor"), but in reality they ended up shooting their own, supernumerous, feet
Discover the ultimate Wordle Solver. Our Wordle Helper helps you effortlessly crack the daily Wordle puzzle, making it easier than ever to enjoy the game you love.

With a user-friendly interface, anyone can access our Wordle Solver online using a computer, tablet, smartphone, or any device. Enter your letters, and our powerful wordle helper will generate a list of possible words to help you make informed decisions on your next move.
> On Russia and China, these are second-tier risks levels, easier to avoid.

This appears to be what may have just occurred in regard to TFA.

edit: it seems to be a reaction to the sanctions for the invasion of Ukraine.

https://news.ycombinator.com/item?id=41932912
Not only. Basically US said (like France with Durov), you are either with us or against us. This will have a big influence on open source and trust in existing software distribution channels.
Show HN: A Tool to find your next niche sideproject
I’ve developed a tool where you can choose a niche you’re interested in, and it’ll find trending, easy-to-rank keywords for you. Once you select a keyword, the AI generates a tailored business plan, showing you actionable steps to kickstart your new side project.
Martin
Trials of the Ketogenic Diet for Mental Health Under Way
Exam Objectives:
1. Understanding the structure and importance of the International Mobile Subscriber Identity (IMSI) in 4G networks.
2. Detailing the authentication process in 4G networks, including the role of the secret key, challenge-response mechanisms, and mutual authentication.
3. Describing the ciphering and deciphering processes in 4G, including the use of XOR operations, ciphering sequence generation, and standardized ciphering algorithms.
4. Understanding the integrity control mechanisms used in 4G, specifically the role of Message Authentication Codes (MACs) and cryptographic hash functions.
5. Exploring the key hierarchy in 4G, including the generation and distribution of various keys (k_ASME, k_eNB) and their roles in securing different communication links.
6. Understanding the concept and importance of temporary identities (TMSI) in 4G, including their generation, usage, and the role of the Globally Unique Temporary Identity (GUTI).
7. Revisiting the attachment procedure in detail, focusing on how security procedures like authentication, ciphering activation, and IP address allocation are integrated within this process.
reply to my own comment

reddit switch from reactjs to lit for performance reasons

https://www.reddit.com/r/reactjs/comments/12yxva6/whats_you_...

nothing is wrong with react, performance is obviously depending on how optimization is done
Are there anything you think are missing in RVV? I'm trying to collect such things and create a list of instructions that could improve it.
I agree, but I'm more interested in understanding why everyone is making these mistakes over and over again.

It's naive to think that they are all stupid, it's just not possible. It's not just old soulless corporations, many beloved and sharp studios are falling into the same traps. Even the most savvy and successful newcomers from the Indie scene trying to go bigger fall for this now.

The leading examples are the 4-5 Forspoken-likes we've seen this year that no one was asking for and everyone has forgotten instantly. With derivative open-world action, unbelievably boring story and characters, and that neon-purple magic+tech aesthetic that all studios seem to think is so fresh but somehow they all come up with the exact same thing.

I get that you want to play it safe and copy a proven model, fine, but is it so hard to at least sprinkle it with some decent writing please? Everyone is so hungry for good IP to exploit, but IP is all about characters, world-building and story, and they are skimping on those for no good reason.

I'm sure they hire good writers, but for some reason they are not getting through. The current political mood might be a factor, but there's still a lot of room to play in the politically-neutral space, games have always lived there.

It's not just the big companies making these, it's also every talented studio that got some extra funding to scale-up. I guess it's all about the tech VC attitude seeping in at all levels? Uber didn't need writers... But you'd think money people would at least be good at actually making lots of money. I get all the aggressive monetization and creatively bankrupt cash-grabs, fine, but now they are creatively bankrupt and don't even make any money! Perhaps with some patience the industry will learn the right lessons from this and we are headed towards a new golden age.
LLMs have done this for over a year already, such as in my gptme project.
Two or so years ive been developing library and i remember where switching from something simple like First or FirstOrDefault to for loop made difference when using benchmark dotnet

Then I found that it was common knowledge that linq is slower, even among ppl on c#s discord
yeah the MITM thing is ... concerning.

this just moves the trusted component from the SSH key to Cloudflare, and you still must trust something implicitly. except now it's a company that has agency and a will of its own instead of just some files on a filesystem.

I'll stick to forced key rotation, thanks.
Given that a good chess move generator will work in way less than a microsecond (TBH, probably even less than taking a DRAM lookup for a large hash table), and most chess positions have never been seen before, having a cache sounds counterproductive.
Decline and Fall of Cambridge
If both terms are infinites and of same sign, subtraction will give NaN and it will fail.
CodeCrafters (YC S22) is hiring a full-stack engineer
When I need to edit the code around next five instance of "foo", but not every instance in the open file, then I don't know how to do that with structural regular expression, but pressing ctr+d five times and then edit what I want is really straight forward.

And I need to edit around a limited version of foo way more often than I need to edit all instances.
I think we’ve all met the people who know just enough to be dangerous, while overestimating their abilities. These were always the worst support calls when I was younger, and are the co-workers that give me pause was setting up access for the team.
You see this with all sorts of stuff. All sorts of machinery one would stand at and operate is short. The human spaces of things operated by crews are frequently too cramped for proper operation with the same size crew. Children in particular were way smaller back then so job duties and equipment customarily given to young teens and pre teens don't work with equivalent modern people even after controlling for waistline.
Small note,

"first time in over 20 years, the Los Angeles Times will not endorse a candidate in the upcoming 2024 presidential election, a decision reportedly directed by the paper’s owner, Dr. Patrick Soon-Shiong"

"The Los Angeles Times editorial board had traditionally endorsed Democratic candidates and was expected to follow suit this year."

https://www.msn.com/en-us/news/politics/la-times-halts-presi...
You close the socket as soon as you see "POST" and there's no POST handler registered.
Linux: Goodbye from a Linux Community Volunteer
In every country, every religion, it was ever thus.

Ironically it is against adversity that Christianity grows most.
I only checked your website out because of the other commenters, but that is one helluva rabbit hole.

I spent 2 minutes of my life shooting cookies with a laser. I also spent close to a quarter of a minute poking a cookie.
Ethereum Proposal Could Increase Throughput by 50%
because compliance is but an euphenism for (secret?) enforcement?
> My first thought was to work remotely and use the 90 days permitted by the tourist visa. Yet working in Japan on this visa is a gray zone at best and a practice I would stay away from. In fact, the US Embassy in Japan strictly advises against this

I’ve always wondered why countries care about this. If I’m employed in my home country, earning money there and paying taxes, what difference does it make if I happen to sit in another country?

Or if I save up 6 months of PTO, then go to another country for those six months. I’m very much earning money and paying tax in my home country. Why is it ok for me to open my laptop and spend 10 hours a day on random stuff, but not “work stuff”?
Source code archives are available on the download page: https://anvil-editor.net/download/

But as you said I couldn't find a repo.