[-] kunaltyagi@programming.dev 15 points 3 months ago

We need a new framework, one that allows universal lookup, and makes life easier

x = _.dialog.file.open
y = _.open.file.dialog
z = _.file.open.dialog
a = _.file.dialog.open

Once done, the formatter simply changes everything to _.open.file.dialog

Let's get this done JS peeps

\s

[-] kunaltyagi@programming.dev 6 points 3 months ago

The OP is correct wrt powerful e bikes sharing space with pedestrians and normal bikes.

They are a different beast, heavier and noisier. They have much higher speed limit, and require less effort (some models need no pedal power) to travel. This, alongside the rise of delivery services, encourages people to overspeed (more than 20mph).

15mph is roughly the limit of what makes bicycles safe for mixing with pedestrians, but beyond this speed, they aren't that different from a motorbike in terms of road design considerations.

At least they are better than cars and SUVs

[-] kunaltyagi@programming.dev 8 points 4 months ago

It's pretty natural not to reserve seats on shinkansen, because you can find seats unless you are travelling at peak hours (and there are trains every 20 minutes or better)

The travel time to and from airport, and the baggage+security easily eats into the 1.5 hour savings. Same day fare on shinkansen remains constant, unlike 30k+ that flights demand.

On shinkansen, you have lots of leg room compared to LCC seats. There's also enough space to move, talk and option to reconfigure the seats for a group of 4 or 6 travelers. There's cell connectivity (and decent wifi onboard) so you don't have to pay through your nose for in flight WiFi. The toilets are spacious. There's dedicated place to talk on the phone. Less noisy and fewer bumps than a flight.

This makes the bullet trains really attractive for business and family travels (with kids). You don't need to plan beforehand and there's less inconvenience compared to flight. Moreover, the cost also balances out if you're traveling to a smaller city with poor air connectivity.

These kind of options actually allow spur of the moment travels over such distances.

I know plenty of people who plan and use bus and flights due to the cost benefit, but also tons of people prefer the hassle free travel on shinkansen

[-] kunaltyagi@programming.dev 12 points 5 months ago

Same with Switzerland

[-] kunaltyagi@programming.dev 3 points 6 months ago

If it's a revenue generating machine, the impact of 10 or 20% improvement in day to day could recoup the additional cost in a few months or a year.

Similarly, for someone who travels a lot, having a useful battery life of 8-10 hours of internet+video playback allows a work routine that is worry free wrt charging and this allows tighter travel schedules.

Ofc, this isn't the case every time, but this creates anchor effect on several segments of the market. This also doesn't include the extra cost of "luxury" aka thin and light or small bezels.

350 USD is perfectly fine if you don't need a ton of battery life or color accurate screen or multimedia or multicore workloads. If you need any of this, most of the options get pricier than 700 USD. It's not uncommon to have to shell out 1500 USD or more for the desired specs.

[-] kunaltyagi@programming.dev 6 points 7 months ago

Without context this link is just bad. Plant growth will not reduce CO2 levels because biosphere is temporary store or carbon (since it is a part of the carbon cycle)

We are putting carbon (into the atmosphere) that was previously buried. So putting a tiny bit of it back into plants doesn't help because:

  • those plants will die and release the carbon back
  • the number of plants added is inconsequential compared to the deforestation
  • the number of plants needed to offset additional carbon is humongous
[-] kunaltyagi@programming.dev 3 points 8 months ago

At some distance, we can no longer see the stars or even the galaxy. A supernova will allow us to see in really distant past, maybe at the first generation with some really good lensing.

Think ereandel but older

[-] kunaltyagi@programming.dev 3 points 8 months ago

Which language? Usually there's a thread pool where multiple tasks are run in parallel. CPython is a special case due to gil, but we have pypy which has actual parallelism

[-] kunaltyagi@programming.dev 32 points 8 months ago

X code is convoluted, so much so that the maintainers didn't want to continue. AFAIK, no commercial entity has put any significant money behind Xorg and friends. Potentially unmaintained code with known bugs, unknown CVEs and demands for permission system for privacy made continuing with Xorg a near impossibility.

If you don't want new features and don't care about CVEs that will be discovered in future as well as the bugs (present and future), then you can continue using Xorg, and ignore all this. If not, then you need to find an alternative, which doesn't need to be Wayland

Oh, and you might need to manage Xorg while other people and software including your distro move onto something else.

So yeah, "xorg bad" is literally the short summary for creating Mir and Wayland

[-] kunaltyagi@programming.dev 4 points 8 months ago

I use an extension in Firefox for this

[-] kunaltyagi@programming.dev 4 points 10 months ago

I wanted to update my family PC (technically, but I don't think anyone else apart from me used it). Windows XP licence was too expensive for me as a kid and I found a CD ROM in my library with a FOSS OS advertised on it.

Fast forward to now, and I have been using Linux almost exclusively for 15 years now (some Windows usage needed for work or gaming)

[-] kunaltyagi@programming.dev 4 points 10 months ago* (last edited 10 months ago)

This is called grammatical gender. The articles as redundant information are quite useful when there is noise around. Even if you catch parts of the article and the noun, you can eliminate a bunch of similar sounding words due to the partial information (eg in this thread about See being lake or sea based on gender)

This is found in several sibling languages of German and the evidence for it is quite strong for PIE (4.5k-2.5k BC). It could have started with just slight changes (noun inflections) to signify information for clarification or redundancy which then got formalized over time due to natural language development.

Even old English had grammatical gender, and the gender neutral ness is a recent development (as compared to evidence of grammatical gender). We have holdover words from Old English where we don't see the absurdity because of the loss of gender during the Middle English (probably due to incorporation of different dialects in cities like London and gender less appearing novel and thus cool to speak), eg: wife and woman have similar but differently gendered roots (wif (neuter) and wifmann))

view more: next ›

kunaltyagi

joined 1 year ago