Better HN
topnewbestaskshowjobs
Log inSign up

quickthrower2

24,182 karma · joined Jul 22, 2017 (9y ago) · 14,302 submissions

Contact me at altsearch@altmails.com, which gets forwarded to my normal email.

https://hnbadges.netlify.app/?user=quickthrower2

Submissions

comment 3y ago · link · parent

For example, could you today run a ruby based SSG from 10 years ago? Let's pretend there is a bit of custom code and time invested in it.

I guess you could install a bunch of old versions on Ruby, gems, etc. on your machine too, but docker, or a VM might be easier.

Or you could go through, remember how all the code works and upgrade it to the latest versions of everything to run it. Assuming the SSG du jour 2013 is still maintained :-).

I tried to resurrect a 2 year old NodeJS project and gave up trying to upgrade it to the latest versions, NodeJS people really love their major version changes, and breaking back compat for no real reason.

comment 3y ago · link · parent

I almost always use Wordpress for Blogs and sites in general.

Reasons:

If I leave it for 10 years and come back I will know how to maintain it. The tools will exist (especially if WordPress auto upgrades).

If I use some static site gen, I will need to remember all the syntax, use some docker container to run the version I used all that time ago. Even coming back to it after a year can leave me with confusion.

Also WordPress has a brilliant ecosystem of plugins and themes. And if you are worried about security, there are plugins that will pump it out into a static site on S3, if you like, so you can use WordPress to author, and S3 to host.

The WordPress ecosystem can rival most no-code tools too.

Also hosting is ubiquitous, and cheap, and usually simple (open CPanel, hit install new Wordpress Blog).

comment 3y ago · link · parent

Step 1 is being rich, by the sounds of it.

> Michel Montaigne’s father employed only servants who were fluent in Latin,

Is one example

comment 3y ago · link · parent

> DOjS is pronounces like doge, but ending with an "s".

Doge is pronounced Dough + Je(french). I have no idea how you then make an s sound after that without it sounding quite odd!

comment 3y ago · link · parent

They should fleece the celebs better. Verified celeb (you are the real Tom Cruise not just share his name) pays $10k/m. That would still only be $200m though. Barely a seed round.

comment 3y ago · link · parent

Yes this only works when you use JS to implement anything dynamic, user specific, requiring up to date (up to the second) data and so on. You can keep the static content fairly up to date.

For HN for example, you could prerender much of the content including latest comments and get Next to keep it up to date, cache invalidating as necessary. Basically have it rebuild static pages as posts are made. Then use fetch calls or maybe sockets to get the very latest posts and keep it up to date, even live updates if you wish.

ISR is the jargon here: https://nextjs.org/docs/basic-features/data-fetching/increme...

It is a bit like a mirror of what HN does. HN will use caching so that if you are logged out you get fast renders of pages. Instead of caching, you are pregenerating and keeping it up to date.

comment 3y ago · link · parent

I have not used apollo but to explain:

Say you have a useEffect that calls an API: maybe firebase or parse. That useEffect only gets run on the client. For the server side render: it runs the react code based on the initial props and takes that first rendering and creates the static html from that. When that static html is run on the browser it will run react and subsequent renders can update the dom.

comment 3y ago · link · parent

In my ideal world, `lint --fix` on file save, every time.

comment 3y ago · link · parent

I see a baby flying out of the bathtub here.

You can still use NextJS - just get it to prerender the entire site statically. Then you get the plus sides of using NextJS, but can take your static ZIP file of files to any host you like, or self host.

You then get, for example, an HTML file, with all the elements ready on page load, which can be 'rehydrated' when React kicks in for deep functionality and interactivity.

comment 3y ago · link · parent

limh!

comment 3y ago · link · parent

It is a funny concept because with NFT they are selling the Brooklyn Bridge over and over again - there is no excuse to be pre revenue!

comment 3y ago · link · parent

Can you elaborate? I am guessing you mean you can’t do dynamic imports?

comment 3y ago · link · parent

plus one for namecheap, out of habit rather than a specific reason, but no reason to change

comment 3y ago · link · parent

I guess we are now getting into which folders and what permissions

comment 3y ago · link · parent

There is a difference between this kind of password and the password for a server.

With the OP system the attacker gets potentially way more attempts to access the page and gets to try in the future with whatever tech comes out. On the plus side it is E2E encrypted!

With a traditional server they can rate limit attempts on the password. But they probably don’t encrypt it using YOUR password (unless it is a password manager etc.) so an attacker could get the plaintext if there is a breach.

comment 3y ago · link · parent

Nice name. Inspired by Luna Park Sydney?

comment 3y ago · link · parent

I don’t think that is a good enough test. Maybe 10,000 conversions over many years and shared experience with others humans, and if it seems human then assume consciousness. But you would need a body on the robot of some sort to do the test.

Remember people get conned by humans online pretending to be other humans (catfishing) by following scripts. Those people will assume they are talking to a conscious person but they are talking to a construct really.

comment 3y ago · link · parent

A lot of Google documentation I find hard to follow. Partly the material design styling. Partly that it is very focused on what and not why/how.

comment 3y ago · link · parent

I almost treat it as the damn specification!

comment 3y ago · link · parent

It would be good to distinguish build-and-deploy which Vercel does by default to other pipelines where you might build the artefacts, test them, then the deploy is more of a copying of those artefacts into production. In the latter case the “deploy” would be faster.

comment 3y ago · link · parent

They don’t care about their core business then, which is eyeballs on new products, because those eyeballs will get tired and stop coming up.

comment 3y ago · link · parent

Interesting about being allowed reading a book. This is a special case of letting your employees work the best way possible to solve problems without having to be a “productivity actress” staring angrily at a screen all day furiously typing at an IDE to look busy.

Hire the best get out of their way seems to apply here.

In addition to a library how about a cinema room, where you can catch up on the enormous amount of conference content on youtube.

comment 3y ago · link · parent

Problem is you were hired to code, they will review your performance a large part on code, and if you want another engineering job they will want examples of when you coded X and test you on concepts in latest frameworks.

The role you are describing might be different to an engineer.

Sure a good engineer avoids unnecessary coding but having done that they have to be seen to do some necessary coding (or necessary work like architecture, security, devops etc.)

Most small companies think in job titles and roles as an anchor but you may wear other hats sure.

comment 3y ago · link · parent

I think you are same! Great idea.

A forum is going to be way more searchable. If you want realtime notifications that was solved 50 or more years ago with email or say 20 ish years ago with RSS.

For this reason I prefer JIRA comments with @-ed colleagues over slack which provides the context and async communication.

An ephemeral slack-like (snapchat for teams!) might be useful for the remote equivalent of talking which is also ephemeral. Knowing that the conversation will be lost and will be interruptive should move most stuff on the forum.

ATC style short radio-style communications might be interesting for this too. “Dan please check broken build. Out”

But yeah there is a lot of cultural bias towards slack like chat systems and at large companies changing that would be like trying to switch away from active directory: unplausable!

comment 3y ago · link · parent

Legendary: https://basementcommunity.com/offenses

comment 3y ago · link · parent

Thanks I might try this. I gave up on budgeting a while ago trying to account for every cent in a double entry kinda way. However perfect is the enemy of good and I am up for trying a simpler budget approach.

comment 3y ago · link · parent

If the teams is good but the company is shit it is better to sell team loyalty (as in us lot could move as a team to a better company). That might involve being frank, becoming friends and so on.

comment 3y ago · link · parent

Interviewing isn’t free. Let’s say it is $5k of time to prep for it etc. Maybe don’t say yes to all of them!

comment 3y ago · link · parent

> It's technically possible to use @flaky for that, but in practice it's used to re-run the test multiple times and reports a pass if any of the runs pass

This is useful and fine. Someone wrote a test and it now hits a race condition or something and occasionally fails. Let’s assume we are very confident it is problem with the test not the product.

Choices:

Spend a sprint trying to fix it right now regardless of priority.

Turn it off and lose that coverage.

Buy some time.

In this context it makes sense. As long as their is a procedure to address these in some sane timeframe.

Maybe that is an example of normalization of deviance. But I think if it is discusses and trade offs thought through it is an OK thing to do at times. Remember most development is not green field. You inherit a system when you start a job.

comment 3y ago · link · parent

Or … can the first officer order a goaround? Reading too much Admiral Cloudberg!
1
141142143
477