HackerTrans
TopNewTrendsCommentsPastAskShowJobs

gregopet

329 karmajoined 10 anni fa

comments

gregopet
·5 giorni fa·discuss
Personally I would just use SDKMan & generate a Maven or Gradle build profile from a getting started page of Spring, Vert.x, Quarkus (or whatever library/framework your main work will be on).. . Many of them have interactive starter pages where you click all the things you think you will need and download the project that builds with a single command.

I don't find Java tooling at all difficult, compared to say Python or JavaScript.. but then again I've been using it for quite a while now so I may not be the best judge
gregopet
·10 giorni fa·discuss
I've worked in projects where change was expected, so a policy of strict integration testing was introduced - test that treat the system as a black box and aren't aware of its internal structure (to a point, there is always some compromise). Every bug had to have a matching integration test. This made rewrites cheap, boring even (there is always _some_ danger of course, but the approach significantly simplified the decision to rewrite some part of the system or another).
gregopet
·12 giorni fa·discuss
Please don't write your own. Last time I checked there was just an astounding number of static site generators in every imaginable technology. Why do people write & publish this thing over and over again, surely it's been done to the death?
gregopet
·16 giorni fa·discuss
People here have trouble with names, but for a Slavic language speaker like myself, the names are one of the best parts. Even if I don't speak Russian, names like "Razkolnikov" ooze his indecisiveness. And the characters the author doesn't like, he shows contempt for them by not even giving them a proper name, calling them Mr. C. or something like that.

My problem with Dostoyevsky is that I simply don't like his style.. despite being a voracious reader it was pure torture getting through The Idiot and I gave up 1/3 of the way during Crime and Punishment. Had to re-read parts out loud again to help my son who had to read it for high school and begged me to help him somehow (we share the dislike it seems). He's one of the authors I would really love to like, but it's just not happening
gregopet
·3 mesi fa·discuss
Indeed - I'll take "try, don't be afraid to fail" over "oh just stop, you're embarrassing yourself" any day. You will embarrass yourself.. what are we, 13 again?
gregopet
·4 mesi fa·discuss
First let me say that any corruption admitted to in those recordings should be prosecuted immediately, no question about it.

But really, the admissions were really nothing much, I'm actually surprised that's all they got. The former minister was forced to resign under allegations of corruption and was/is under investigation for it, no big surprise. And the talk about having access to Ljubljana's mayor (and that he is "for sale") - well that's been in the news for years, he's under several open investigations and many more were already closed (he always comes out victorious - either because he's innocent and it's all just hearsay, or more likely because he's extremely good at dodging liability and covering his tracks). The rest is just people who used to have some power trying to appear like they still have in order to impress a potential employer or get a business deal (that was the agents' cover).

Again, I hope the authorities are combing the tapes for evidence, but it really wasn't anything bombastic. That the Israelis were doing this on the other hand...
gregopet
·4 mesi fa·discuss
"Handler" can describe anything, I avoid that name like the plague in my designs, there's almost always something more appropriate that communicates more meaning

Dependency injection is great as long as its internal working can be easily understood. I've worked with projects where dependency injection comes in various contexts (application scoped, request scoped ..) and there are always problems with that, sooner or later.
gregopet
·4 mesi fa·discuss
Our firefighters collaborate with Croatian aerial firefighters (our neighbouring country). They say there is often pressure from politicians to drop water on wildfires in mined areas, however this is still dangerous to the planes as they have to go real low (a mine could explode spontaneously in their flight path) and after a few near misses they've adopted a policy: if it's not worth demining it's not worth saving from fire either.

Guess they will have more work now
gregopet
·5 mesi fa·discuss
He ended up on React because it just works and doesn't change all the time. Now both my React and .NET times are some way behind me, but I'd definitely say it's the other way around..
gregopet
·5 mesi fa·discuss
My dad and my uncle had a code under the Bush administration

My uncle had moved to the US and either still was on a green card or had just recently got his US citizenship and thet said why risk it? .. (they were kinda cute about it though, they just wrote "Jure Grm" which literally translates to "George Bush" in our language so if anyone was actually looking, they wouldn't have fooled them for a second).

They were just bitching about politics, not planning a coup or something, yet they felt insecure, even with the US.
gregopet
·6 mesi fa·discuss
Both ASCIIdoc and reStructured text are older and better (subjective, of course), yet Markdown still won. Happens sometimes, nothing to see, I've moved on (with just a little grumbling). Now I often can't remember their syntaxes anymore, Markdown is everywhere.
gregopet
·6 mesi fa·discuss
Well, no. I mean something I can stick in my actual code to ensure it matches the spec, be it through validation, strongly typed interfaces, unit tests or some other mechanism.

Also, while a nice API document is a godsend (and sadly often missing in practice), a way to generate the consuming side of the API (again via various mechanisms) is also a very useful thing.

Re-reading the page, perhaps I got it wrong and it works the other way around? Voiden uses e.g. OpenAPI files and verifies it's still compliant with them? That would work, although it's a bit of a double effort.. still, useful in many cases.
gregopet
·6 mesi fa·discuss
For my language I've been using a US layout with a similar alteration for years as well on Windows and Linux: AltGr+C = Č, and AltGr+V = Ć (the second one is much less common, basically only used for writing names). Similar for Š, Ž and Đ, I stopped bothering with stuff like á because I need them maybe once every couple of years.

My point being: wow, I've never thought about standardizing the layout, what a marvelous thought. Not for the general public perhaps, but for some programmers it would be a godsend. The whole terminal is basically non-ergonomic on other layouts. Stuff like ./ is right together on the US layout. Similar for coding. I preach to my fellow developers and they see my point but most won't go outside of what's provided by the OS for some reason.

I don't know enough about other European languages from my "region" to make a more general standard (though I suspect it wouldn't be as simple as creating a single "eastern" one, I doubt e.g. Hungarian and Polish have so much in common) but it's a good idea, something that could be collaborated on.
gregopet
·7 mesi fa·discuss
Is there a way to generate code from these specs? Perhaps via OpenAPI, Smithy, something like that?
gregopet
·8 mesi fa·discuss
It's no fap November, perhaps the hand will unlock itself in a few days
gregopet
·8 mesi fa·discuss
That is unfortunate, EU could well present itself as an example of how things can be done right. Unfortunately incompetence and/or indifference, plus lack of IT talent willing to work for the public sector is also a thing in politics. It's an opportunity lost for sure.
gregopet
·8 mesi fa·discuss
Functional cookies are fine. Even analytics is fine if you're using your own (though said own analytics must also company with GDPR personal data retention rules).

What is not fine is giving away your users' personal data to pay for your analytics bill.
gregopet
·8 mesi fa·discuss
That's not true. You can use those cookies, you just need to explain them somewhere on the site. No opt in required.

I talked with our then national information law official (funny fact, same person is currently president of our country), rule of thumb is if you're not using your users' personal data to pay for other people's services (e.g Google analytics) or putting actual personal data in them, you're generally fine without the banner.

Further, if you're a small shop or individual acting in good faith and somehow still violated the law, they will issue a warning first so you can fix the issue. Only the blatant violations by people who should've known better will get a fine instantly (that is the practice here, anyway, I assumed that was the agreement between EU information officers)
gregopet
·10 mesi fa·discuss
My wife worked in one of the national standardization organizations. She was urgently called into her boss' office: "Please be on this meeting with me, I think they will try to bribe me if I'm alone". It only happened once while my wife worked there and it was right before the vote where Microsoft tried to fast track their office format.
gregopet
·3 anni fa·discuss
SBF was probably saying the same thing not so long ago. Of course it's possible to make money with/during a scam, I don't think anybody is disputing that?