News for hackers. Stuff that matters.

_630w

Don't worry. You are still young and rockin'
You wanna check out web monetization API - https://webmonetization.org
If you use typescript, the tooling is great and the parent also mention it so I assume they are using it.

Code reusability between browser/desktop/mobile is one. Easier to find developers, faster development speed due to ecosystem, previous experience/familiarity etc. I guess.

Re:The Great CoffeeScript to Typescript Migration of 2017 on Saturday May 16, 2020 @01:06AM (#23200636)
But don't please. Semicolons are not optional. When you don't put your semicolons, they will inserted by the parser and it can introduce some buggy code especially if you are using some formatter.
Google and Facebook benefitted the most from GDPR and grew in size, fyi.

Google helped write GDPR.

I am tired of hearing this troupe of putting more and more regulations to stop shit from breaking when exactly this caused monopolies in many traditional sectors that haven't been changed since like forever because the red tape to do anything requires a team of expensive lawyers.

If you are for more regulation, please at least come up with a way to regulate that seems practical.

Re:Deno 1.0 on Thursday May 14, 2020 @02:48AM (#23176219)
install from the repo then?

You can install a specific version from git via yarn/npm.

How do you trust a url more without reading the code?

What's going to stop deno ecosystem from putting minified js files on cdns and import them?

Re:Deno 1.0 on Wednesday May 13, 2020 @09:18PM (#23174044)
I am always confused by deno folks. You can install from a git repository using yarn/npm.

How is that not "decentralisation"

And if you are importing single files from a remote url, I would question your sanity.

Pretend to be innocent and mistakenly drop a heavy steel bar stolen from the gym on the camera and run away.
Re:Comparing Ember Octane and React on Tuesday May 12, 2020 @11:03AM (#23154737)
Tbf, I would gladly take mutability or impureness over unnecessarily complicated approach. One example of it is the suspense api in react. Suspense uses a promise throw approach opposed to generators. Your code throws a promise and suspense catches it to render fallback until it is resolved.

You end up with few ugly situations. First, I hate that I have to wrap my components (what if you want different fallback for different components? You end up with many wraps), how my UI will render is not isolated anymore. I often end up returning loading view from the components as we as well using it as a fallback for suspense. It just feels wrong. I lack control.

Re:Second-Guessing the Modern Web on Monday May 11, 2020 @02:03AM (#23139289)
<rant>

At this point, I am convinced the problem is not web frameworks but browsers. Someone needs to take all the legacy bloat away and put it in the side while starting from the scratch. Web doesn't need three different languages. It doesn't need freedom that costs accessibility. It doesn't need to be so primitive.

It smells. Awful defaults.

import "reset.css"

import "reset.js"

</rant>

> The reason to stuff everyone in one box is socialization. A group of students subjected to shared experiences will develop community and solidarity easier than every individual student bouncing in their own special way in the system.

Curious to see what the retention rate for school friends are.

Re:Medium-hard SQL interview questions on Saturday May 02, 2020 @06:48PM (#23055494)
<pedantry>

Your pedantry tag has no opening

</pendantry>

Re:iPhone SE: The One-Eyed King? on Tuesday April 28, 2020 @04:44AM (#23005000)
I thought it was the same people until I realized every thread has new commenters beside few regulars with same arguments.
I am also curious about the effect of "private" communication channels for kids.

They can be hidden to parents and friends irl but still remain public online. I have seen many groups of depressed teens online without adults or someone with experience in them. They all encourage each other to be more depressed because they all have a similarly sad life. The only perspective that gets shared is that life sucks and it isn't getting better.

I think before the digital age, it must have been hard to do it irl or not?

I can give some perspective on that. Ignoring the increase in academic pressure and hungry sharks in education (those shady coaching institutes everywhere making you grind 5 hours after school for a single exam).

Parents haven't caught up with how their kids interact with the world. Social media is huge for teens and internet which only now some parents are catching up to but they are on Facebook and Facebook is cancer and no one I know in younger generation uses it. I think they are exposed to a lot more information and their parents or schools are unable to help them process it.

Kids are uncertain, worried about things their parents can't relate with. Imagine feeling down because your online account got bullied by other adults on reddit because you expressed a perfectly normal but dumb opinion. People don't think about age when they are typing a response online, they just think the other person ought to have "common sense".

Few are forced into linkedin/other cancer and build online presence because they think it will lead them to more opportunities and they are probably not wrong. Various recruitment agencies seems to have gone fully online with social media/email spam.

Twitter is not healthy for a teenager. Linkedin may not be either (I saw some insane CEO posts). I mean, to give you something to compare. Have you seen marketing posts with misleading titles such as $100 and 6 months for a 3000% return on customer acquisition? (Which turned out to be fraud and fabricated). Huge amount of fabrication in their idols now. They cling to youtubers, Elon Musk, and all the exceptions. Their feed is full of them while seemingly their irl interaction is less than ideal.

Some will have a distorted view due to huge differences in the life they live online and people they interact with. Previously, it was less visible as people tend to live in the same economic class neighborhoods.

They will know about all the countries with things they can't have in their own. They will be more aware of it but they lack any political power and position to change things affecting them.

Surveillance is pushed on them involuntarily which tends to change their behaviour and normalize a specific corporate personality over time. Compare that to being in open office or public speaking 24/7 of your life.

Misinformation is pushed from top to bottom instead. I think it was always like that but now kids are more aware, they will feel remorseful and insignificant if they can't do anything. Imagine having parents believing insane rumours on Facebook and stopping you from getting vaccinated. I haven't seen many kids who are anti vaxxers but I have seen enough adults.

Re:A one-line package broke `npm create-react-app` on Saturday April 25, 2020 @04:25PM (#22981156)
Instead of node_modules containing source code of the packages, yarn generates a pnp.js file which contains a map linking a package name and version to a location on the disk, and another map linking a package name and version to its set of dependencies.

All the installed packages are stored in zip form in .yarn/cache folder to provide a reproducible build whenever you install a package from anywhere. You can commit them to version control. Unlike node_modules, they are much more smaller in size due to compression. You will have offline, fully reproducible builds which you can test using a CI before deployment or pushing code to repository

https://yarnpkg.com/features/zero-installs