Better HN
topnewbestaskshowjobs
Log inSign up

elken

38 karma · joined May 18, 2018 (8y ago) · 29 submissions

Submissions

comment 5y ago · link · parent

That's an interesting find thanks. I was not aware of no-cors mode.

It seems though that a browser would not allow 'non-simple' headers in no-cors mode[0].

Authorization headers for example would not be allowed (if i'm reading correctly). So any API using that header would not be affected by this issue right?

[0] https://developer.mozilla.org/en-US/docs/Web/API/Request/mod...

comment 5y ago · link · parent

Continuously consuming refined sugar and highly processed carbs is relatively new.

The resulting insulin production inhibits fat oxidation and increases fat storage.

comment 5y ago · link · parent

> his old employer used non-protected but difficult-to-find preview links for ticketing pages.

Oh come on, I find it difficult to have sympathy for a company that does this.

It's a ticking time bomb, and certainly not hacking.

comment 5y ago · link · parent

Another 'The Portal' recommendation:

41: Douglas Murray - Heroism 2020: Defense of Our Own Civilization

https://podcastaddict.com/episode/114260279

Two old friends riffing off each other about the world.

I've listened all the way through twice and both times have found myself laughing out loud and deep in thought simultaneously.

I look forward to seeing how Eric Weinstein will continue to evolve The Portal in 2021. No doubt he will continue to deliver outstanding content in his own uncompromising style.

comment 5y ago · link · parent

Forgive my ignorance, but why do you believe he is a fraud?

There are a lot of public 'scientists' who have never been peer-reviewed.

I have enjoyed listening to quite a bit of Lex's content and to say 'Lex is a fraud' without any proof strikes me as unfair.

I did a quick search to try to check your assertions but didn't find anything troubling.

My only gripe about Lex is that he is annoyingly good at SEO and I find it hard to browse the web without bumping into his content.

comment 6y ago · link · parent

Can you?

http://www.bbc.co.uk/news/world-europe-42615378

comment 6y ago · link · parent

This seems like a terrible move. Even if the prices are extortionate, how can eBay take away people's right to protect themselves?

Surely educating and empowering the general population to take their own measures to prevent the spread is the best thing we can do in this situation.

If this is a matter of supply shortage. Why the heck have the people in charge not covered this?

comment 7y ago · link · parent

I'd be interested to hear how Slack patched this. Hopefully by removing the ability to apply settings from URLs altogether, rather than attempting any sort of sanitisation on the download settings.

comment 7y ago · link · parent

I don't think you understood my point. Blocking websites is not scrutiny of the intelligence services.

I'm saying an individual with weapons doxed himself and telegraphed his intentions on a public forum and the security services completely missed it.

That could all have been be picked up without any new laws or intervention from Facebook. We need to analyse how it was missed and learn from it.

comment 7y ago · link · parent

The Christchurch shooter amassed a cache of weapons, and also posted a copy of his manifesto and a link to his real Facebook account to 4chan.

The censorship/Facebook algorithms amplifying abhorrent content debate is one thing but I'm surprised by the lack of scrutiny of the security services over this. Especially for a member of the 5 Eyes. I can't help but feel this could have been prevented without any of the changes being proposed.

comment 7y ago · link · parent

You learn something new every day! Google translate didn't help me there :)

comment 7y ago · link · parent

I'm a fan of liquibase. It's a very mature tool which allows you to run it every time the application starts, useful for development to create in-memory dbs. Or you can just call it as part of the build process if you don't want to check the DB changelog tables on startup.

It tracks changes that have been applied in changelog tables so you don't apply them multiple times.

Common operations such as adding a column are defined in a supported markup language but for more complicated things, such as migrating data, you can reference ad-hoc SQL files. All of which can be checked-in to your codebase.

The only real downside is because you are applying the entire development history of the database, you can sometimes be caught doing illogical things like adding and then removing something later on. This can be mitigated by rewriting history if needed though.

Flyway was not as good for me because it lacked a domain language, raw SQL makes it less easy to interpret but I know developers who preferred that.

comment 7y ago · link · parent

Andris@wildduck.opr

For the non-multilingual (like myself).

comment 7y ago · link · parent

Could you not apply the same logic to any occupation?

I get out of bed, head to an office and build software on the orders of those who pay me, I get summoned to meetings at their behest, I work long hours, only stopping to go to the toilet, I too get home and collapse into bed to repeat the next day.

comment 7y ago · link · parent

Permissions to read text messages is another one that gets me. I know not many people use SMS as their primary communication but how can you be so astonishingly blasé about your data to save typing in a code?

comment 7y ago · link · parent

Not my screw up but working for a fairly large e-commerce site we had a cron job to pick up 'stuck' orders and push them down to the warehouse every 30 minutes.

For a combination of reasons there was one order which was picked up every time the job ran.

This went on for a very long time and nobody in the company realised. The warehouse staff were all agency workers who dispatched B2B and B2C so sending a pallet wasn't unusual for them. It was only when the customer got in touch asking us to please stop sending the same thing that we were alerted.

Apparently she had ordered the items to her friend's office and they were getting very frustrated having to deal with them.

Even worse the customer was in China and the company had to order a shipping container to retrieve the stock.

comment 7y ago · link · parent

Agreed. From their actions in the last couple of days it would appear these governments can hardly take the moral high ground.

I'm sure I'll get downvoted for discounting China's concentration camps and social credit programs but it would seem we aren't exactly the bastion of freedom we like to portray.

comment 7y ago · link · parent

You would think the Germans would know better with their recent history.

comment 7y ago · link · parent

Open the code up then..

comment 7y ago · link · parent

I'm just surprised people think that the Hololens is a useful piece of technology.

comment 7y ago · link · parent

This is taking advantage of both the customer and the worker.

I am not an instacart user myself but I use similar services and I expect that any tip will be delivered to the driver.

I'd be pissed off to find out otherwise.

comment 7y ago · link · parent

Very interesting read. I'm not convinced that Postgres should be used for every aspect of a data processing pipeline yet but the author has certainly proved it is possible. You also seem to get a lot of features for free that people using Kafka can only dream of.

It will be interesting to see how people will take advantage of new Postgres features in the future.

comment 7y ago · link · parent

Meta.

comment 7y ago · link · parent

I don't understand a word of this.

comment 7y ago · link · parent

I switched back to Firefox a few months ago and haven't looked back. I've also noticed that people are increasingly distancing themselves from the Google ecosystem. I have even had less technical friends looking at alternatives such as Brave.

Looking at the numbers, Perhaps the non-ie/Safari/Chrome crowd is being fractured by the alternatives available but to me it certainly seems to be growing.

comment 8y ago · link · parent

Agreed, I'm 2 pages in, the content renders too wide for mobile and I'm still none the wiser about what a service worker is. Very frustrating.