Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • May 07 14:51
    @MadLittleMods banned @A13516729925
  • Apr 27 17:13
    @MadLittleMods banned @leon:nilsu.org
  • Apr 26 16:32
    @MadLittleMods banned @parveshpremi12_gitlab
  • Apr 18 16:15
    @MadLittleMods banned @Mkhaleel201978_twitter
  • Apr 13 03:52
    @MadLittleMods banned @Henaniy
  • Apr 03 18:52
    @MadLittleMods banned @yvvhxCawUPdTI48_twitter
  • Apr 01 03:53
    @MadLittleMods banned @soravsolanki15319_gitlab
  • Mar 30 21:09
    @MadLittleMods banned @awanandco_twitter
  • Mar 30 03:58
    @MadLittleMods banned @ayaz9102_twitter
  • Mar 28 19:58
    @MadLittleMods banned @ashokykv_twitter
  • Mar 28 19:04
    @MadLittleMods banned @dong7318
  • Mar 27 18:59
    @MadLittleMods banned @Mahira110Khan_twitter
  • Mar 27 17:24
    @MadLittleMods banned @ManapeetS_twitter
  • Mar 27 17:24
    @MadLittleMods banned @ShramaRavindra_twitter
  • Mar 26 20:32
    @MadLittleMods banned @AR_Khan110_twitter
  • Mar 26 17:55
    @MadLittleMods banned @9LwSD4OcnlrUTl2_twitter
  • Mar 25 23:42
    @MadLittleMods banned @Boiling11963625_twitter
  • Mar 25 22:39
    @MadLittleMods banned @izrel_vinchy_twitter
  • Mar 25 21:03
    @MadLittleMods banned @Shah92425638_twitter
  • Mar 25 21:03
    @MadLittleMods banned @OmkarBhusare3_twitter
dongbeidongbei
@dongbeidongbei
dongbeidongbei
@dongbeidongbei
Nikisha Bradford
@gotticangel_twitter
Hello everyone. Good morning.. i need some help
I am doing some research. My brother actually just started to code websites. Now there is someone who wants him to code a website with all the products a popular shopping site has but when a shopper is ready to check out that shopper is taken to the popular website to check out.. now he says that cost will be roughly $5000usd to $6000usd.. is that too much?
6 replies
JomoPipi
@JomoPipi
How to upgrade handlebars?
image.png
it's not a devDependency or dependency for me
I usually ignore these github dependabot alerts
so I never fixed one before
Julian Gonggrijp
@jgonggrijp

@JomoPipi yarn and npm (and probably most other JS package managers) have commands for updating dependencies, which usually have options for also upgrading indirect dependencies.

Alternatively, if dependabot is offering a PR, it is usually safe to merge it.

Iwan Aucamp
@aucampia
Hi, I am looking for more vocabularies like "ISO/IEC/IEEE 24765:2017 Systems and software engineering — Vocabulary" and "Guide to the Software Engineering Body of Knowledge (SWEBOK Guide)", does anyone know of more? I am specifically looking for one that defines schema as it is used in JSON schema, SQL schema, and XML schema.
Julian Gonggrijp
@jgonggrijp
@aucampia I'm not familiar with those, but your question raised my interest because I'm working with RDF. Do you happen to work with RDF, too?
Christian Ratz
@ratze90
Hello Guys! What could be a possible reason for an intermittent internal server error (HTTP-Statuscode: 500). How can i simulate one?
I have a riddle related to an api-endpoint, which is returning either a value or throws an internal server error. The cause of this error should be fixed without touching the code
Christian Ratz
@ratze90
Do you have any suggestions?
JomoPipi
@JomoPipi
@jgonggrijp Thanks
Julian Gonggrijp
@jgonggrijp
@ratze90 I can think of a couple of things. Before I write anything, though: is this homework?
@JomoPipi Welcome.
Fiona
@Fio7
@JonnoWonno I really appreciate your help. You're so right but sometimes it feels like every learning opportunity is a hurdle too, lol. Thanks again.
HTTP-Statuscode: 500 happen when server resources like memory are exceeded and the server is unable to fulfill a request. If you're on a shared server, it could be a script running from another account holder, in which case contact your host and see if they can track the resource hog down. If you have your own server, it's probably an inefficient script, bad looping or resource management in general, or server.
Fiona
@Fio7
Sorry that was at you @ratze90
@gotticangel_twitter please tell them I do it for $100 less :D (kiddin)
@gotticangel_twitter in all seriousness, if he has a client who will pay 5-6k he might look to farm the work to an indian freelancer (fiverr.com) who will code it for a fraction of that, and act as project manager. Then he's not code monkeying all day for one client, but running a business that can expand. More clients, more coders, more money. If he has a good understand of how to code what he needs, then he should be able to wrangle decent code out of his staff.
Christian Ratz
@ratze90
@jgonggrijp Yes. Kind of. :)
@Fio7 Yeah. That was also my thought. But the solution seems to easy. I researched a bit deeper and found some similiar issues (intermittent internal server error) related to fast-cgi in apache and nginx. Currently trying to simulate it locally, but still no success..
@Fio7 The thing is, the problem should be solvable without touching the codebase
Nikisha Bradford
@gotticangel_twitter
Thank you very much for your reply @Fio7 and @jgonggrijp
Christian Ratz
@ratze90
@jgonggrijp Maybe you can give me a hint? :)#
Christian Ratz
@ratze90
I created now a little api on heroku to describe the problem: https://hk-api-testing.herokuapp.com/intermittent
Julian Gonggrijp
@jgonggrijp
@ratze90 There are many factors that influence whether an API will error or respond normally:
  • request content (size, data type, particular problematic values, etcetera)
  • restrictions on request content imposed by the web server (such as Apache)
  • intermediate proxies, if applicable (e.g. timeouts)
  • availability of server resources (CPU time, RAM, storage, network capacity, etcetera), which may be impacted by
    • concurrent requests
    • concurrent server-side processes
  • logic of your server side application (which in this case you're not allowed to modify)
Christian Ratz
@ratze90
@jgonggrijp Great! Thank you for your detailed hints.
In this particular case, the api is served by heroku.
  • So it shouldn't be a problem with the server resources, also not with concurrent requests or concurrent server-side processes.
  • The webserver, which is handling the requests for hosted apps on heroku is https://github.com/heroku/cowboyku - so in my opinion there shouldn't be a problem with restrictions on request content or problems with apache / nginx.
  • The logic of the server side application can not be modified as you said correctly.
  • So the only possible reason which is left, could be something with request content. But are there any headers, which can be send with an GET-Request to affect/influence the server / application (except for authorization headers or any other custom-defined headers) ?
Edwin
@edwingenio
Hey guys, I have a research short survey. If you could help with this university assignment, I'd be very grateful. https://forms.gle/QU5tbgU62adpps9w6
Julian Gonggrijp
@jgonggrijp

@ratze90 Welcome. HTTP headers are pretty much free-form, i.e., you can send whatever headers you like with any request regardless of the verb (GET/POST/PUT/etcetera). That said, the server side application is allowed to ignore them in most cases. So it depends on the server side application whether a particular header might make a difference.

As an aside, my list wasn't meant to be exhaustive. Those were just the first five factors that came to mind.

Christian Ratz
@ratze90
@jgonggrijp Thank you very much :). I appreciate that you described it so detailed. Now i'm sure, that i haven't missed anything. Clear, that the list can be extended with a lot more options, but for this task the answers are already enough. Have a great week! Hope to read you again soon.
Jonathan Lindeque
@JonnoWonno
@ratze90 could it be that the api is trying to access a resource that it does not have access to? That would be the most common cause that I can think of.
Oh, but that doesn't explain the "intermittent" part of it. UNLESS it is trying to write to a resource that is in use (like a log file - probably bad practice)?
CarolineSantosRedfox
@CarolineSantosRedfox

Boa tarde galera, tudo bom? Sou a Carol, do RH da RedFox. Estamos com oportunidades para Dev. Fullstack - Pleno em aberto e gostaria de saber se algum de vocês tem interesse no processo. Se sim basta preencher o forms abaixo ou me encontrar no linkedin. Sucesso! 🦊💕

Formulário: https://docs.google.com/forms/d/e/1FAIpQLSfX-wWHvAELFSNaK1VzN2cCXuo42jhibhE00Lg1WeMqefX6Xg/viewform

linkedin: https://www.linkedin.com/in/caroline-claudino-santo-/

JomoPipi
@JomoPipi
does it seem like bad practice to have a CSS class called "center" that just has text-align: center;?
Julian Gonggrijp
@jgonggrijp
@JomoPipi I don't really like such approaches because it makes the HTML less semantic. That said, serious CSS libraries like Bootstrap and Bulma do it, too.
Christian Ratz
@ratze90
I would assent to @jgonggrijp's view. There a more properties which have similiar values as center. Why not use something like text-a-center or other names for that? :)
Julian Gonggrijp
@jgonggrijp
@ratze90 That's not exactly what I mean, but you make a valid point, too.
Mr PuP
@MrPuP14_twitter
Dose anyone know what Codea is
if you do I need help with something
Mr PuP
@MrPuP14_twitter
Sorry more specific dose anyone know lua?
I’m use to html and swift and I don’t know how to store variables. Is that a thing?
Mr PuP
@MrPuP14_twitter
Ok I figured it out
But now I need to do and if statement
Some one help please
Mr PuP
@MrPuP14_twitter
This message was deleted

function setup()

x = math.random(1, 100)
y = math.random(1, 100)

print(x)
print("a")
print()
print(y)
print("b")
print()

if x>y then
    print("a is bigger")
end

if y<x then
        print("b is bigger")
end

end

Christian Ratz
@ratze90
@MrPuP14_twitter What is exactly your question now?
Julian Gonggrijp
@jgonggrijp
@MrPuP14_twitter Seems like you figured out if as well. Here's a handy reference: http://lua-users.org/files/wiki_insecure/users/thomasl/luarefv51single.pdf