
Jouke
258 posts


@justinfagnani It still makes sense to then define both of those and to explicitly force the standards committee to consider how high-level feature can be implemented in terms of low-level instructions.
English

From Copilot Workspace to Copilot Chat, the future of the developer environment is AI-native on github.com
This is o1 & Copilot, right where you manage your code.
English

@the_dijkstra A "singleton" is a class of which there is only ever one instance. I think in this case the term is used to mean something completely different? (the passed func is called once per component lifecycle). Very confusing IMO and dangerous.
English

Today's hook: useSingleton - a custom React hook for creating persistent, single instances across re-renders. Perfect for expensive object creation or maintaining consistent state. #codeoftheday #reactjs #typescript

English

@YvanBrunel @JenMsft @salsawithcheese control clicking also works in the sidebar but not in the main window. indeed scroll clicking does work.
English

@MisterAwesan @JenMsft @salsawithcheese For the first point, I suggest scroll-clicking. As it does open the window on a new tab.
English

@JenMsft @salsawithcheese They don't seem to have much of the behavior you'd expect of tabs tho; for example Ctrl+DblClick does not open a folder in a new tab (new window instead) and when some process opens a folder, it defaults to a new window as well. In practice I never use them for this reason.
English

@nullvoxpopuli Why not, those warnings have basically never predicted any true problems for me. Even if you install a new ember project on the latest ember-cli with all default values you get some of them.
English

Do not ignore peer warnings.
Use a package manager that turns these into errors
- pnpm w/ strict mode
- npm 9+
The peer and dep graph is trying to save you from yourself.
Matteo Collina@matteocollina
It seems the industry standard is to ignore peerDependencis warnings. Therefore, why do we use them in the first place?
English

@nullvoxpopuli VSCode has it in the bottom right, similar to how nr1 works. I can't really tell but IMO changing the file type is not something you do a lot and it should not be anywhere near (1) actions you use a lot (2) places you look for frequent actions.
English

@nullvoxpopuli I always have BS issues like this with linux across many distros over the years, and I see it also with people around me who use it. At some point you just learn how to deal with it and barely notice anymore but things still constantly just break for no reason.
English

I've literally never had this happen.
This is the unluckiest person
Dylan Falconer@falconerd
I used Linux for 10ish years. Up until 2023 Your whole system shouldn't break on automatic updates Your WiFi and Bluetooth should just work People aren't gonna use it until these things are fixed
English

@nullvoxpopuli @frederic_ooo @signal why not just the decorator without the "accessor"? is the reasoning written anywhere?
English

@frederic_ooo @signal @signal accessor is valid syntax:
#L9" target="_blank" rel="nofollow noopener">github.com/proposal-signa…
But yes, i probably should have done this with no abstractions
English

The answer:
there is no one line getter syntax.
Thanks to everyone who played!

NullVoxPopuli@nullvoxpopuli
What's wrong with this code?
English

@Andrei_Calazans this is the same in any other language no? it's the only sensible behavior on empty arrays.
English

@JenMsft @sahilmalik Is this new? I've wanted to disable the news since the widgets exist and I was never able to find an option for it.
English

@sahilmalik If you mean you would like to remove the news in widgets, this is an option in the widgets settings (in the feeds section)
English

The #MIcrosoftEvent is impressive and the #Copilot stuff is not just gimmicky especially when developers have a go at it.
Now can we also remove MSN tabloid news from start on Windows 11 please? Also I don't need to be reminded about weather everywhere I look. TIA!
English

@nullvoxpopuli There's not enough room in a tweet for me to explain but essentially it depends on the value what should happen on reads/writes to the signal and that is domain specific. You very quickly hit that as you implement. There's no generic solution for this so the complexity explodes.
English

@the_yamiteru @still_runspired It happens all the time if you're testing something and want to comment out a line... It's extremely annoying if you can't do that and need to delete it instead.
English

@still_runspired Absolutely not.
From what I understand the only use-case for this was local development and I can’t imagine why I would ever put comments in package.json ONLY locally in dev.
English

@rikarends It makes sense to plan for multiple possible outcomes. For all we know AGI takes another 20 years or never happens. There's little to lose by thinking 10yrs ahead regardless. Also.. IMO society is not likely to end quickly. Much more likely to be a slow decline over many years.
English

@y_molodtsov @nbaschez This is total BS, people at the time were pretty loud in complaining that the iphone missed very basic features (despite it being somewhat useful). This only got resolved when they released the app store, *years* later. Mass adoption also only happened after the app store release
English

@nbaschez Steve Jobs didn't have to tell anybody that iPhone was merely the first page, even though it was. It was already useful.
Weird that they didn't pick this up from their time at Apple.
English


@nullvoxpopuli Learning what's important vs what's just boilerplate also puts strain on new learners so in the end it's just a trade-off IMO with no clear answer. Ultimately will be a matter of preference.
English

@nullvoxpopuli A bit of convention is necessary to learn anyway and doesn't hurt.. for example component names mapping directly to file names is not a big deal because you need to learn it instantly and it makes sense. That would cut over 60% of this list.
English

Automatic / implicit imports only serve those who have the whole system memorized.
Someone new to a codebase *cannot* find where X comes from of X does not have a breadcrumb trail to follow.
Fabian B.@madebyfabian
"Why would I need Auto Imports in my app?" This. This is why.
English

@nullvoxpopuli I'd love a tracked query param primitive (usable from anywhere) and a tracked local/session storage primitive. For persistence these things would be major productivity boosts in a lot of cases because you probably start out with just @.tracked when building the feature at first.
English





