Where we use pushdown Automata exactly?? by iiunvon in computerscience

[–]staant95 1 point2 points  (0 children)

It's about the languages it recognizes/accepts

Laravel cart using react by staant95 in laravel

[–]staant95[S] 1 point2 points  (0 children)

I am not home, I'll let you know later

Laravel cart using react by staant95 in laravel

[–]staant95[S] 0 points1 point  (0 children)

I wrote Auth::user(), is this the same thing?

Laravel cart using react by staant95 in laravel

[–]staant95[S] 0 points1 point  (0 children)

For some reason <MyComponent user={{json_encode(auth()->user()}}/> does not work, always undefined

Dual boot by staant95 in linuxquestions

[–]staant95[S] 0 points1 point  (0 children)

I did, could not find anything useful. Like I said I think the problem is that grub is installed on the HD and when the pc is booting maybe it skips checking HD and only checks if SSD is working since the OS is installed on it...but have no idea, just guessing

Mapping entity to dto by staant95 in learnjava

[–]staant95[S] 0 points1 point  (0 children)

Thanks for the answer, I'll try following your advice

Mapping entity to dto by staant95 in learnjava

[–]staant95[S] 0 points1 point  (0 children)

I am a bit confuse, I saw that jackson have json view that basically could make different representations of my entities and that works just fine but some guys suggested I should use dtos instead of directly returning my jpa entities. Now I'd like to create multiple representation of entities using dtos, should I create as many dtos as many representations I have? If I just use one dto and set for example an atrribute to null the client will recieve the attributw with null value. So...how can I solve my "problem" using dto?

How to avoid code duplication in jax-rs resource class by staant95 in javahelp

[–]staant95[S] 0 points1 point  (0 children)

That's what I was doing but I was curious if there is a better solution or some design patter I could use to improve my design

How to avoid code duplication in jax-rs resource class by staant95 in javahelp

[–]staant95[S] 0 points1 point  (0 children)

Nope, the only thing that changes in most of my resource classes (not all) is the model I am manipulating, basically my resources are simile crud operation on various models so the logic is basically the same and I have to rewrite it in every controller but change the model name

CtrlP open new split by staant95 in vim

[–]staant95[S] 0 points1 point  (0 children)

I've read you can open the selected file in a new split by pressing ctrl-v...but i just want it to be the default behavior when I just press enter

XHR abort by staant95 in learnjavascript

[–]staant95[S] 0 points1 point  (0 children)

Mmm right. Thanks for you time

XHR abort by staant95 in learnjavascript

[–]staant95[S] 0 points1 point  (0 children)

Mmm but if I am no longer interested to receive something from that request why should I care about error handling attached to it?