@RoryAlsop My take is this. I really like the taste of tofu. I enjoy it in my miso soup, and I enjoy it grilled with some sauce. I like it for what it is.
But what I dislike is when they try to turn it into something that it isn't.
Yeah absolutely! There are countless vegetarian things you can have.
Also one weird thing I encountered is that some vegetarians claim that eggs are forbidden - the reason being because the eggs result in a high death rate for male chicken
When it comes to eggs, I do buy the ones where they keep them alive, but they're quite a bit more expensive
I've never actually heard that one myself, so it could be more local, or it could just be that you just happened to run into a bunch of such people, or I've just missed them
Eggs are funny things though - there are so many options! Vegan eggs, cage free eggs, free range eggs, and (now) "males kept alive" eggs. You can match your "justice level" to your desired price point.
We usually stop at cage free/free range
Oh yeah, organic eggs, antibiotic free eggs
I want "grown by a vat of yeast" eggs, but can't find them in my local store
I like the vegan hot dog of Ikea. I guess it's the same world wild. They don't try to make it taste like meat, but it tastes very good, and way better than their "meat" one (that taste more like plastic than meat).
Vegan eggs are eggs laid by chicken that only eat seeds/grains. In a lot of factory farming (at least in the US) they get feed that often uses less-desirable chicken parts as filler
I'm not crazy. Here's an article although it carries a strong slant, so I wouldn't read too much into this article. It may be accurate, it may not, but mainly the idea of "vegan eggs" as I described it is a thing in the US.
This is essentially an impossible task.
If you have read Ken Thompson's "Reflections on Trusting Trust", then you already know everything I am about to say. If not, please keep reading:
Imagine I publish an open-source project, that is written in some language, and simply takes input and returns ...
Your program might not be vulnerable because of some restrictions you have (maybe the variables cannot be changed by any user input), however I still think you are using prepared statements incorrectly.
Prepared (or parametrized) statements are meant to be used with "parameters" in order to be se...
IMO the answers are either wrong, or are missing the most important point: the OP is not even using parameters in their parametrized/prepared statement
ok, so I was right. I was just puzzled that no one had pointed that out yet, and the other answers also had votes (plus one answer by a guy with over 20k points).
That feeling you get... when you open a website, it doesn't load everything you want it to load, so you click on NoScript to see what needs to be enabled, and you find 18 different domains in the list
(that's what happens when you open knowyourmeme)
Some websites are a disgusting bunch of scripts, they load stuff from tens of different domains
I think I now understand what the OP is trying to do, the original question was confusing. Basically they need to construct the query dynamically, so variables are needed. However they need to make sure no user input can end up in those variables
Although I put my AWS server behind cloudflare, the server's ip is still visible in DNS history sites like securitytrails.com. Is it worth changing the sever's ip address to make it more difficult for people to find the server's true ip?
jquery IMO is needed because of those damn differences between browsers, even though now that IE is almost completely dead, things might be better
Front-end coding is probably the worst kind of coding. You are coding for browsers that are known for not following standards (on purpose) and that might break compatibility or add custom functionality all of a sudden
i think it might be worth it because by having the ip, attackers can access server directly instead of going through cloudflare
theoretically that shouldn't be an issue because the server should be secure anyway. But in terms of ddos protection, cloudflare's protection would be evaded.
if you use cloudflare, doesn't every connection come from cloudflare's servers? If so, you can block other connections
so even if an attacker knows your IP, their connections will be refused. So if I'm not wrong, in this situation, Cloudflare helps even if your IP could be looked up somewhere
some people need to use a div.hide(), and throw in jquery for that
they need to download some json and display a message? jquery... click on a link and load another page? jquery. display an image? you know... jquery...
@reed This is a bit outdated. The only relevant browser engines today are Gecko (Firefox) Chromium (Chrome, Edge, and others) and WebKit (Safari). For major features (and just about every feature in jQuery) the javascript implementation is pretty consistent and powerful. Many jquery features have been adopted into the specs in the last couple of years in various forms.
You really only see inconsistencies when using more advanced API's which jquery doesn't handle anyway.
In any event, modern day transpilation and polyfill tools such as babel can handle supporting old browsers (even IE in most cases).
@JBis You should be able to set firewall rules on your server so it only accepts traffic from cloudflare. That won't protect you from volumetric DoS attacks, but it is still helpful. Otherwise you just have to decide for yourself if the potential security benefits outweigh the cost. If you are worried and changing the IP takes a few seconds, then do it.
I have a web page that uses jquery plus sparklines to show diagnostic data on two of my servers... it's personal, I look at the page a couple times per day, and I am the only client of it
The reason is that if I need something, chances are I will need other functionality later (or other plugins that use jquery). The code I touch is generally so bloated by default that jquery won't make a difference. Of course if I had to code something for optimization, jquery wouldn't make sense. The other reason is that I hope to delegate any portability issues to jquery, getting a uniform consistent interface for JS.
or you want to make sure people with slow computers, or older phones cannot use your site, so you do a Jquery-heavy site when EVERYTHING is created/updated using it
I saw a site with both jquery, dojo, prototype, and custom code mixed there...
So I don't really consider jquery "bloatware", compared to other things like: loading multiple fonts (I've seen like more than 5 fonts loaded by a page, in bold, italics, etc.), multiple huge images (over 1MB, etc.), multiple trackers and ad scripts, background videos with autoplay, cool canvas animations (argh, CPU goes crazy)
and in a couple years, you may read this on the interwebs: "you may not need reedjs" "10 reasons reedjs is slowing your code" "replace reedjs with jquery-xp" "reedjs or not reedjs?"
meetings, meetings... I have a client that scheduled a 15-min meeting that lasted for an hour and a half... and I am 2h on another meeting that should take 1h...
so if the pattern repeats itself, there are 3h left on this meeting
@ThoriumBR, I checked out that link, I didn't expect vanilla JS to be so simple after IE 10. IE 8 apparently is still a bit of a problem, but after IE 10 things seem to get pretty straightforward. I suppose if you could drop support for IE completely, it would be even better.
"boss, I can finish the module in 3 hours if we drop IE8 support. that's less than 0.01% of the population. Or we can support it and will take 3 weeks to finish and test"
so IE11 you go, and no jquery needed for most of the tasks
But to tell you the truth, I've never really bothered to much with IE. My boss would be like: IE doesn't work? Client will have to switch to a better browser (Chrome or Firefox)
A lot of time ago, I saw an online retailer on Australia that had an "IE surcharge" with a large yellow bar on the top of the site, explaining that by using IE, they needed more dev hours to fix the site, so if you insist on using IE, you will pay extra