HNHacker News
TopNewBestAskShowJobs

trinovantes

1,958 karma · joined January 13, 2012

stephenli.ca
submissionscomments
trinovantes··on Test scores are not irrelevant
It would be interesting to see a study that compares SAT scores vs alumni performance to see which one has a better correlation with success to use for said adjustment
trinovantes··on Test scores are not irrelevant
Adjusting GPA between schools is one approach to deal with grade inflation between schools. SAT is just another approach with its own tradeoffs. I've simply listed why I prefer the former over the latter approach.

Canada's population is smaller but we also have many obscure rural schools. Non-prestigious universities don't have much data but they also don't have much choice in top applicants so it doesn't really matter. Over time, they can build up decently accurate profiles of high schools for majority of applicants.

trinovantes··on Test scores are not irrelevant
We don't have SAT in Canada and mostly rely on high school grades. Most universities/colleges adjust student GPAs on a per high school basis based on alumni performance in their first year courses.

I personally prefer the GPA system as it measures your performance over your final 2 years of high school rather than having your future determined by one test.

trinovantes··on Turbopack, the successor to Webpack
You can cut down the duplicate config with webpack-merge package. I start with a common config object that defines loaders, aliases, etc. and it gets imported by my frontend/backend/cronjob/worker targets that simply describe the entry/outputs

I also recommend installing ts-node and writing your configs in Typescript to avoid typos

Here's an old side project of mine that has 3 targets [1]. I personally don't think it's that complex but it does have hundreds of lines altogether.

[1] https://github.com/Trinovantes/MAL-Cover-CSS/tree/master/bui...

trinovantes··on Gamification affects software developers: Cautionary evidence from GitHub
I'm glad we don't see this in npm post-install hooks... yet
trinovantes··on Why Choose NestJS as Your Back End Framework
Not to be confused with NextJs, the React framework

Be careful of clueless HR that confuse those two and accidentally recruit you for the wrong framework

trinovantes··on We're Drowning
Did you need to build a GUI? It feels like Microsoft invents some new Windows UI library every 5 years or so and deprecates the previous one. The last I used .NET, it was WPF but I hear WinUI is the hot thing now.
trinovantes··on Write better error messages
One thing I've recently started doing when a file related error happens is to retry the command with strace and see which file the program is trying to access
trinovantes··on EasyList is in trouble and so are many ad blockers
Found these old articles but I'm not sure if this is a widespread practice

https://news-ltn-com-tw.translate.goog/news/world/breakingne... (nsfw)

https://www.rfa.org/english/news/china/japan-piracy-09252022...

trinovantes··on EasyList is in trouble and so are many ad blockers
Ah, I see they added public buckets last month

But it'll still cost them money by number of reads

trinovantes··on EasyList is in trouble and so are many ad blockers
Egress is free but not public i.e. you can't just give anyone an url. You have to use your own server to fetch content from R2 and then serve it to your visitors. Each fetch costs money but first 10 mil reads are free and your own server probably has egress fees.
trinovantes··on EasyList is in trouble and so are many ad blockers
Some Japanese porn makers avoid getting pirated in China by placing politically sensitive content in the backgrounds
trinovantes··on Why Rust?
I wish C++ has a universal dependency manager like crates. It feels like every external library I want to use requires their own exotic setup.
trinovantes··on Meta to sell Giphy after UK watchdog confirms ruling
What makes you think it's not written by GPT3?
trinovantes··on I tried to add EV chargers to my rental property
Maybe not viable for personal vehicles but I can see hydrogen fuel used for trucks/ships. Electric batteries are probably too heavy and take too long to recharge for long haul.
trinovantes··on Compiler Explorer
It's deceptively harder to interpret assembly nowadays with more and more niche instructions that may take hundreds of clock cycles to execute
trinovantes··on Web 3.0 – The Great Con
Didn't know PGP created in the 90s was part of web3 even though web2 wasn't coined till the 2000s. Nobody uses PGP because it's a pain in the ass - was back then and still is today. Decentralization is a solution looking for a problem.
trinovantes··on Google search was giving errors when searching “how many emojis on iOS”
I wonder what's so special about that site that is able to break/timeout Google's index
trinovantes··on Hegel – An advanced static type checker for JavaScript
If you don't want enum's runtime footprint, just use `const enum`

Less typing and easier to read than your solution

trinovantes··on Private Prisons Are Behind the Push for Homeless Criminalization
It is also effectively a life sentence

Can't find a good job to afford a place to live? Good luck finding a good job once you have a criminal record.

trinovantes··on SmooshGate (2021)
Doesn't matter which is more common. All actively developed languages eventually get new keywords and breaking changes. However, most of them will not interfere with existing code running under previously defined behaviors.

Even node 10 applications that use MooTools (i.e. JavaScript executing in a different runtime) will continue to work just fine if `flatten` is added as proposed in node 11+. The developers will eventually need to patch it but it's not like this bug where one day users autoupdate their browser and half the websites they visit are broken.

trinovantes··on SmooshGate (2021)
How is that any different than any language introducing a new keyword that existing code previously used as variable names? Normally this wouldn't break anything since the developer has to opt in to update the compiler/runtime. The problem is the runtime (browser) autoupdates and the developer has no way to opt out of their code running on the new runtime.
trinovantes··on Ask HN: Best way to stop bot traffic?
Blocking IP addresses from cloud providers will eliminate most bots

https://github.com/brianhama/bad-asn-list

Unfortunately you'll also alienate VPN users so you'll have to decide if it's worth the cost

trinovantes··on What's so hard about PDF text extraction?
Stuffing keywords outside the page's bounding box seem like a good way to bypass (dumb) resume scanners
trinovantes··on TypeScript is now officially 10 years old
It's used in Unity game development

I think Godot also supports it

trinovantes··on TypeError: Axios.get is not a function (v1.1.0)
Yet another CJS/ESM transition fiasco

I wish some future version of node just drop CJS entirely so this "default" BS can finally die

trinovantes··on Vue.js adopted by Facebook, dropping react
This looks like satire referencing Russia's referendum
trinovantes··on US Job Outlook for Software Developers, Quality Assurance Analysts, and Testers
However people are still people and I'd bet most people would still hire the degree holder to protect themselves. If the degree-holder was a dud, they can at least say they did "due diligence". It's like the old saying "nobody gets fired for buying IBM".
trinovantes··on Apple prevents their users from taking screenshots of Top Gun Maverick
TIL allowing objects after their respective parallel verbs to not follow the same form is considered moral decay of the English language

And yes, the internet is a silly place where we'd rather have an off-topic argument about the subtleties of grammar than wait for an iOS developer to resolve the original question

trinovantes··on Apple prevents their users from taking screenshots of Top Gun Maverick
I don't think the comma usage was wrong. The commas around "and in some cases" serve as both serializing the list and inserting the extra information that otherwise could've been removed from the sentence. However, it might have been better to use parenthesis to avoid the ambiguity.

The use of parallel verbs "disables", "prevents", and "hides" was a strong indicator to me that it was a list. I interpreted the "and also" at the end as a stylistic choice since the first two items follows the form "[verb] [ing-verb]" whereas the last item doesn't.

← PreviousPage 4 of 27Next →