skysight-inc/HackerNews huggingface dataset:
Not sure how exactly 16 inch 4K display is Linux friendly knowing that Xorg and Wayland still has plenty of UI scaling issues. And the fact that they expect you to power it with Pentium N5030 processor is laughable. Why even offer such combination?

Also it's funny how on landing page it mentions 165Hz display, but in specs it is only available as an option and not for the 4K display. Not that it would even be able to drive it properly.

Looking at the specs, it seems like they are trying to build one of the worst possible Linux experiences possible. It lacks only Nvidia GPU to make it absolute garbage. I have one like that at work. Thinkpad with 4K display, and dedicated Nvidia GPU. It's not supposed to run Linux but I tried it anyway and it was very bad.
Are the balloons red?

Maybe we’ll get to the 99th in a month or so at this rate.

https://en.wikipedia.org/wiki/99_Luftballons
ControlNet: Extra Conditions for Stable Diffusion
> Not sure why people think it has to so with naming variables or functions...

I think it’s open to interpretation. And I think it is valid to apply the saying to naming of variables, functions, and many other things.

See

https://skeptics.stackexchange.com/questions/19836/has-phil-...

Links to

https://www.karlton.org/2017/12/naming-things-hard/

Links to a bunch of places.

None of the ones I looked at seem to confidently say what was originally meant by the saying.

Either way, regardless of what the guy meant when he originally used to say it, it’s allowed to apply a saying to new situations.
Thank you for the explanation of what MATCH is, I guessed something similar but had no idea about the five year rule.
When you rename an interface or a method, IDE renames them in tests too
https://archive.is/K6jrq
I should have included, then, that Tom mentioned the problem in the tea break, and Simon sat down and wrote his itinerary on the spot.

So it all happened in a tea break.

It's a true story, and if I remember I might even be able to get Tom to confirm it. But even true stories need to be told well, and your observation makes it better.

Thank you.
> if you want to be sure of you get the latest version, rename the file.

This is a beyond ridiculous statement. It is a BUG that you do not get the latest version of the file when viewing raw, not an error you made that you should address by having a filename driven versioning system.

If I'm using Git and GitHub, it's specifically to NOT have to deal with v1, v1.1, final, final_for_real, final_of_the_finalest, this_time_its_really_final.

Your suggestion to work around this GitHub bug is to essentially not use Git. Ridiculous.
Marten 0.2.0, A Crystal Web framework
It doesn't appear to be visible on mobile, only desktop.
Wow! Is there an easy way to combine these subtitles with the video in the browser?
Nah, it got much worse during this last year.
You can use git or use the commit sha, you only need to name the files if you refuse to use the provided versioning and tooling and want GitHub to act as a file host.
What about having their own servers instead of misusing Github?
You clearly prove his point, more vigilance and/or competence is needed.
No, using git works just fine, as does specifically referencing the version want.
> This allows other libraries to implement their own event loop frameworks

At work someone replaced the default library with another faster implementation.

Then the unix socket listener task was not working.

A few hours of git bisect later, I found out the offending commit was the 1 line switching the event loop. Seems the fast implementation didn't implement unix sockets and just had "pass" in the function.
If you're developing a desktop browser app for a non-English speaking market, you can ignore Safari oftentimes.

E.g. in Germany desktop Firefox has roughly double the market share of Safari.
If only GitHub's underlying technology Git had a way to trigger actions when a file is updated and they could use that to invalidate cache! One day maybe?
But that's very vague. Sure, you can't have a $400k penalty on a $100 delivery, but online payment handling deals with incredible amounts of money, so a $400k penalty between multi-billion dollar companies doesn't seem out of all proportion.

The problem in this case would be that Stripe passes on the liability for the penalties to its customers if those customers are breaking the contracts. Obviously a problem for the customer, but also not unreasonable from Stripe's perspective. If you're setting up a marketplace and want to act as a payment-provider for third parties, you're creating a very different liability environment than if you're setting up an account to sell your own products. If you start with a seller-account and then transition your product into a marketplace, someone will have to eat that additional risk, and I can't see a good argument for why Stripe would be the one.
Germany cannot rely on renewables entirely. It is not possible. You need to have coal/gas or nuclear for the base load. Gas is out and coal is harming the environment. Germany’s “greenest” day in electricity was producing more CO2 than France’s worst day in 2022.

I know that there is a decent amount of well-educated highly paid individuals in Germany that just don’t feel like facts and data for some topics. The Green party is very popular with the “rich and affluent” that “greenwash their conscience”.

Majority is pro nuclear for a while now:

https://www.rnd.de/politik/atomkraft-in-deutschland-lautzeit...
https://www.spiegel.de/panorama/atom-umfrage-41-prozent-der-...
https://www.tech-for-future.de/atomkraft-umfrage/
As a Product Manager (PM) who reads an average of ten articles on the subject every day, I’ve noticed something important:

There’s a lack of discussion on the importance of statistics and mathematics for Product Managers.

Research and analytical skills are crucial for making data-driven decisions, and a working understanding of fundamental statistics and mathematics is required in order for you to excel — pun intended — in your career.

Thankfully, acquiring math and statistics skills is not difficult in our modern age. Let’s start with the basics.

The common mathematics requirements for Product Managers include:

- secondary school algebra,
- basic mathematics concepts,
- basic data analysis, and
- no prior experience.

I approach every problem with an analytical mindset — like its a puzzle just waiting to be solved. I break down the problem into smaller pieces, group similar characteristics, and solve it. The ultimate goal is to present the solution in a logical and easy-to-explain manner, like a detective revealing the culprit and their motive.

While this is my signature approach, everyone is different in light of varied backgrounds and education, so don’t worry if you’re not up to speed on these concepts.

Online services such as Khan Academy and Udacity are your best friend for learning and refreshing your knowledge on anything math-related.

Algebra Basics | Khan Academy
Statistics and Probability | Khan Academy
Free Intro Statistics Course | Free Courses | Udacity

Statistics is a crucial aspect for Product Managers.
Ridiculous is expecting a service you're not paying for to serve files in a way that fits your use case when you've never entered into a contract that guarantees the behaviour you're relying on.

You can use Git just fine without GitHub.
Clickbait?

Its just the domain (.ai), the project has nothing to do with AI and this nice platform has seen better times: Last release Imagine v1.1.1: July 2, 2021
He’s actually arguing against sudden changes.

From the article:

> The looming threat of a future radically different Scala 4 is the single greatest existential threat to Scala.

I think what prompted John to write this article is that there’s a huge commercial penalty in releasing a new major version of the language, and we should be focussing on making the existing language version(s) more commercially viable before we start another academically-led reinvention
We know there is misinformation, because social media and mainstream media are well established at this point as platforms for disinformation, propaganda and psychological operations by various interests. We can (and should) assume for the sake of argument that we're being lied to about something, the only open questions are what about, by whom and to what end.
Bloody hell...seriously...the rate at which stuff comes out is just baffling.
samim - do you have examples of this in use? I've kinda dreamed of something like this for some time!
You could be right about that, but Occam's razor (there's lots of morons on the internet) is also a plausible explanation. Maybe a bit of both.

I suspect a lot of "disinformation" by hostile parties just serves to provide the idiots with material that appeals to them, and they run with it.
Ventura supports all MacBook Pros from 2017 onwards:

https://support.apple.com/en-sg/HT213264

As far as I can see, the only possibility for buying a new MacBook Pro in 2018 that can’t run Ventura is if you bought the MacBook Pro Retina (Mid 2015) model, which wasn’t discontinued until mid-2018. All the older MacBook Pros that can’t run Ventura were discontinued in 2017 or earlier:

https://en.wikipedia.org/wiki/List_of_Mac_models#2015

I think Ventura not supporting a model released more than seven years beforehand is a reasonable cut-off point. But if there are people who want to use an older model with a newer browser, they can use Firefox or Chrome.
it's AI in the sense that watson is "AI"
> I have a feeling this blows up pretty fast, computationally.

Of course it does, but there's no way to compute the number without checking all combinations. There are hundreds of thousands of English words, and about the only initial filtering you can do is remove words with more than one q. Each partition will contain at least 20 words, so have >20! permutations.
If you cater to the Windows-heavy corporate market, and if your software is meant to be used at a desk, the market share of Safari goes down to 0%.
Piggybacking on this: How does it compare to https://n8n.io/?
https://words.filippo.io/dispatches/whoami-updated/ found a way to enumerate all github users. Shouldn't be too hard to enumerate all repos from there, count stars, and check the pareto distribution assumption?
There are circumstances where that’s the right strategy. For example, GitHub may be using it to ensure two requests for two different files in a repo receive the same version of the repo.

Not saying they’re doing that.. just explaining the cache strategy.

An explanation isn’t a recommendation for you to go out and apply it to everything.

Source: founded and operated a cdn for 5 years of my life.
I will say, autism is super common among trans folk, as is ADHD. There is a high rate of comorbidity between them.

Having said that, I do not believe that it is fair to assume a person who believes themselves trans to be mistaken based purely on a personal hypothetical anecdote.
CIAM 102: Authorization and Role-Based Access Control
But it is still the fairest option we have. Any other metric is usually much more gameable. Be it sports, essay writing, extra curriculars, volunteering?!?!? and so on.

Or maybe alternative is truly random or negative wealth scoring. That is only the poorest students get entry and everyone else will have to figure out something else.
That's an edgy thing to post, tbh, in terms of how HN readers will take this.

I think there are 2 arguments for TDD:

1. For at least some bits of your code, you would benefit from having tests. Writing tests after the fact is a pain, so might as well start with them.

2. Even for highly skilled programmers who enjoy thinking about their code deeply as they write it, there is still a class of difficult algorithms where they would benefit by writing the tests first. I'm thinking about stuff like tricky graph algorithms or scientific computations etc.

That being said, I generally have found TDD to be too onerous - except for maybe 1% of the time when I do find the extra safety brought by the tests to be useful.
>The real problem is none of these technologies should be put in front of users in a way that might give them a patina of authority or certainty.

Well, it seems that Microsoft has addressed with Bing in a better way than ChatGPT and Bard by providing actual web references.

Sometimes I wonder whether there is generally a mismatch in expectations. People seem to expect the LLMs to output only verified and true information, when it fact it is subject to fallacies very similar to those of a human due to vagueness inherent to written language. I found that if you think of these assistants as an extremely eager and efficient intern, expectations and reality match much better.
These days the 'fashionable' way to implement async-await seems to be via compiler magic by transforming async functions into a 'switch-case state machine' and a hidden context pointer argument.

In vanilla C (without compiler magic) I've mostly seen it implemented via 'green threads' aka 'fibers' aka 'stack-switching', but TBH I'm not sure if this can be implemented with the standard setjmp/longjmp, I've mostly seen it implemented without (and instead use two small assembly functions for the context switch).

One downside of stack-switching is that it doesn't work on WASM.
The opening sentence is really the best part of this thesis.
"Death largely ignored"? Absolute rubbish, Much missed.
Amazon’s Delivery Drones Served Less Than 10 Houses in Their First Month
No, we are where we should have always been:

> GET /file/latest HTTP/1.1
< HTTP/1.1 302 Found
< Location /path/to/real/file/hash.tar.gz
I discovered the issue when I reported an adblock filter list that broke a site.

The issue was fixed within minutes, but the broken filter list is still being served.

Thankfully, it turned out to be a bug.
It's quite amazing how many accidents happen on a daily basis that could have been prevented. How come we don't live in this platonic world?
Seeing as it’s git, can’t you just do content based hashing through the commit hash?

And I’d assume the GitHub api has a way to get the hash for the head of a branch?

I don’t know, I guess the entire point of GitHub is to be able to obtain up-to-date files, so maybe they should just improve the caching.
Ask HN: Which calendar service for personal projects?
Hi HN!

I like to track which apps I've had open during my workday and output it to my calendar. This feeds my reflection on priorities, how often I context switch etc.

However, using the Google API for a personal project requires that I refresh the auth token every 7 days.

Do you know of any other services that have less restrictive requirements for personal API usage?

Thanks a lot!
There is a difference between writing tests once you're done with your exploratory phase and know what you have to code up and doing full blown TDD from the beginning.
This sounds like a bug, not something they deliberately do.
The Green party is the third/fourth most “popular” party in Germany slightly ahead or en par with the AfD (https://www.wahlrecht.de/umfragen/). I will not comment on the incompetence of the Habeck (Federal Minister for Economic Affairs and Climate Action). It’s cringe what he states publicly and his incompetence is beyond comprehension.

There is no “green-sustainable” alternativ to nuclear in Germany. The only alternatives are relying on coal or deindustrialisation. Not sure whether gas will be a viable option going forward.

Take a look at Berlin - the capital is a sh*t show of incompetence and failure - funnily enough they can only survive thanks to the payments from the much frowned upon states that have conservative parties in power and a positive economy…
Their ability to bullshit is indeed a weak spot that should (and probably will) be addressed. However, I don't think the average person is not aware of that, nor fails to notice it.

Or put another way, how often are legacy search results wrong or misleading?

ChatGPT is incredibly useful despite it's limitations... imho.
And why not fix this issue? There is multiple options. You could build something like large prisons somewhere. Ship all the kids there from age 6 to 18. And then shuffle them randomly around every 6 months. Thus ensuring everyone gets exactly same experience and education. Equity for everyone!
The actual link: https://www.tandfonline.com/doi/full/10.1080/25785648.2023.2...

[..] This essay will show how the English-language Wikipedia, the world’s largest encyclopedia, whitewashes the role of Polish society in the Holocaust and bolsters stereotypes about Jews. We will show how a handful of editors steer the historical narrative away from evidence-driven research toward a skewed version of history touted by right-wing Polish nationalists. [..]
That first phase is what I call “playing around”. A necessary phase. When you explore/play one shouldn’t test because one is learning.

Testing (aka evaluation) should happen when one knows the routine + outcome you want to evaluate that routine one.

Whether it’s code or improving your singing or learning in school. This generalizes to all of that, IMO
Github Mobile app has it too.
Told it to remain cheerful.
I’ve worked in mainstream companies e.g. Morgan Stanley who have made massive investments in Scala. The company I work at now ($5bn valuation) is 100% Scala.

It’s not a common language like Java, but I don’t mind that. It attracts smart developers who value the benefits of Scala over Java.

The Scala ecosystem has great libraries and platforms. It also gets the benefit of the entire Java ecosystem and the battle-hardened JVM.
Well in all fairness - deindustrialisation and a communist-like economy are probably also a very popular third alternative for them…
I’m not fine with latest not actually being latest. That defeats the point of the URL.
That and some backend... most are SaaS though. The only self hosted one I know of is Grafana Traces/Tempo.

I mean, you can just log the trace/span/parent IDs for each request, but that's a bit painful to deal with later.
The tool they use for evaluation (softwipe) is discussed in another paper, but seems to basically count/combine the results of a set of different static and dynamic analysis tools (ASan, UBSan, cppcheck etc)

Presumably those results should correlate somewhat with bugs and defects.
You’re missing one of the key strategic reasons… that it was a huge embarrassment to China on the international stage.
Tuxedo offers unbranded and individual Logos, like Schenker. Intel Management Engine, Webcam & Audio (on Intel CPUs), and WLAN & Bluetooth can be deactivated directly via the BIOS. Can be ordered without SSD, RAM is upgradable. Just a content customer.

https://www.tuxedocomputers.com/en/Linux-Hardware/Linux-Note...
I wonder how this applies to foreign languages. I swear quite a lot (not something I'm particularly proud of, or that I think is an indication of any other positive/negative quality I may or may not have). But I pretty much only swear in my native language, which is not English. I simply don't feel confident enough in English to use swearing appropriately, if there's such a thing.

However, coding is done in English. Period. And code comments are written in English as well. So you won't find a lot of profanity in my code comments or commit messages - even though there might have been some if English had been my native language, or the general practice was to write code, comments and commit messages in the local language.

I'd argue that swearing in particular requires a fairly deep understanding of the nuances of a language that general use does not - misplaced swearing makes you look a lot more like a fool than many other mistakes.
Logs must be stored in S3, it's no-brainer. Disk storage is too expensive. Logging system should be designed for S3 from ground up IMO.
If you're using GitHub for this reason, you also have protocol that specifically works for that use case.
Sundar Pichai is still busy taking full responsibility for the layoffs.
There’s no therapy that helps, at least as far as I know. At best you could learn coping mechanisms, but I don’t think anyone has ever been successfully convinced out of trans-ness by therapy, similar to how gay conversion therapy didn’t actually work. So we’d be left with telling trans people “there is no treatment at all, go deal with it somehow.” Anecdotal of course, but there are a fair number of trans people on social media who seem happy with their surgery - why deny them that because someone else is convinced that according to statistics it shouldn’t have made them any happier?
Nice idea. Can you reduce the permissions required?

> This application will be able to read and write all public and private repository data. This includes the following:

Can it just be access to that one repo?
Our study only considers open source code written in the C programming language and found on GitHub. While it is technically feasible to extend this to C++ using the same crawling and data analysis scripts, we decided to disregard C++ code for the sake of simplicity and due to time constraints. However, we are agnostic as to whether C++ programmers have the same mindset as C programmers or are politically more correct. Therefore, we are cautious with respect to generalising our findings to the object-oriented programming community.

C is an understandable (if very dated) university-level target... but I can't help but be very curious if that's being used as plausible-deniability cover for the fact that C is typically used in kernels, drivers, and other low-level work that lends to a type of mindset that is tactile, moves problems out of the way with a scythe, and routinely swears up a storm in the normal process of getting things done.

C++ is a very different beast, as are all the other languages. Rust I would definitely like to see. Scripting languages? Hoo boy do I want an analysis of PHP please. Ruby would be extremely interesting. Erlang provokes morbid curiosity. Python would probably win (ahem, outrank everything else) by simple virtue of being the most popular.

So this is arguably only a fair comparison if v2.0 looks at lots of different languages. Encore, please?

NB: the output charts on page 41 and 42 are interesting. The non-swear quality graph looks pretty random to me, but there are a couple fascinating little hotspots on the swear graph around 11k-30k LOC where quality ranks at 6-8.5 and almost looks like a wide diagonal line tracking quality downward through 15k-30k LOC. Might this be a outlying companion to the Ballmer Peak (https://xkcd.com/323/)? Incidentally, these graphs render nicely side by side using Chrome's 2-page view (menu, top-right).
Because sports have absolutely zero to do with education. Or even they should be considered negative thing. Taking time away from studying.
Great great work! I can only imagine how much fun this must have been to make!
>The code I write initially can often be very dumb, repetitive and procedural. I often have to discover and see what the data structures really look like, what the public API looks like, what I leave in code and what I want to be data driven etc.

I do this plenty after writing a new (high level integration) test.

Usually I have a fairly clear idea of what the public API I want should look like before I code. A test that calls that API makes a good test. I might tweak the way it is called when coding the implementation, but probably not by much. Underneath it the integration test doesn't care what kind of data structures you use and it provides a safety harness to let you discover at will.

>At this stage it makes little to no sense to write tests first. All I need is to see the output, which might change dramatically during development.

I frequently write the test first for this type of code - e.g. APIs that output JSON blobs or command line apps that output a wall of text.

Where I'm expecting the output to change I program the test to temporarily overwrite it with the results of the program, eyeball the result and commit it all together if it's correct.