Hacker News new | past | comments | ask | show | jobs | submit | hyperman1's comments login

Are there equivalent resources for other countries? I am from Belgium?

The same is done for detecting water quality in de Scheldt river in Belgium and the Netherlands.

I've seen weblogic deteriorate after Oracle bought it. If you wrote e.g. a bad descriptor, pre oracle weblogic gave an error message inluding what you wrote, why it was wrong, and a reference to the spec. Post oracle code just crashed with an NPE, or had an unstable container with weird crashy behaviour in unrelated parts of your code.

Before that, OC4J used to be the first to implement a new EJB version etc. The project basically froze in time when oracle bought it, receiving minimal bugfuxes only.


I assume you've never seen AES written in vbscript? Generally, the thought process goes: This thing needs AES, I want to talk to it, I know $language, and wikipedia has the algorithm. The idea that AES is there for a reason ( like security) never enters the thought process.

Someone is building a shed, not a whole building, and stopped listening to real builders with their nitpicky rules long ago. It works great, until the shed has grown into a skyscraper without anybody noticing, and an unexpected and painfull lesson about 'load bearing' appears.


I ran the Cryptopals challenges. I have been sent AES implemented in 4 different assemblies, Julia before it was launched, pure Excel spreadsheet formulae, and a Postscript file.

There must be beauties in there;-). Even so, the fact that it's called Cryptopals indicates a public having some basic level of care about crypto. The non-it person hacking an excel macro together to get some job done has a very different attitude, and they do run their stuff in production.

The public should have a basic level of understanding and care of crypto. The logic of those challenges is that encouraging people to break cryptography is always prosocial; building it is a little more complicated, in the same sense as surgery.

The ball is starting to roll. My non-IT org had the question asked to the director on last years company all hands meeting. A month later, we now have official guidance that allows bsky and suggests using both. I presume this will shift some more now Musk/Trump are in office, especially if they do loud distastefull things.

I have a chain of applications. A postgres spits out data. A java application makes a CSV from it. A apache+php application takes that csv, removes the first column (we don't want to publish the id), then sends it to the destination. Both postgres and java do significant transformations, but the bottleneck for that chain is the PHP code. I already optimized it, and it is now literally 3 lines of code: read line, remove everything before first ',' , write line. This speeds up things enormously from the previous php doing fgetcsv/remove column/fputcsv, but still removing the PHP (keeping only apache ) from the chain doubles the speed of the csv download.

why does the java application/postgres output the id instead of omitting it in the first place?

Adding PHP to your stack in order to drop a column from a result is a WILD decision.

I don't want to be a "back seat driver", but it seems strange to me as well.

It could be that the original files are used by other processes, and that they for some reason don't want to create two separate files. Maybe an issue with office politics (works on a different team), or an attempt at saving disk space


The java thing is an off the shelf application, there is no way to turn off the generated id. So someone slapped some php glue code on it, php being the majority of the code. It is far from optimal, but good enough now to end up low on the priority list.

As it runs on windows, I might move it to linux and add sed or something in the chain, losing the php completely. But for now, php it is.


One problem with all these maze algorithms is how they are completely random.

When a human creates a maze, he might start with the solution, then add a few false paths that end near the finish but just fail at the last step. Maybe a few loops are added, or a picture or special features are integrated. Only at the very end, the leftovers are filled in with random data. The process is a design, not a random generation.

Are there any algorithms available that do similar things?


In Belgium, the same tax is raised by Auvibel for private copying. It allows us, in theory, to make copies of everything (except sheet music) that we acquired legally, even if we don't have access to the original anymore. So lending anything from a library or a friend, and making and keeping a copy is fair game.

Still not a fan, and probably the EUCD makes most of this useless.


I've basically stopped these problems by coloring the servers. My production shells have a red PS1 background. Datagrip gives a red color to my prod databases. HTML admin consoles got some red css if configurable.


Oh man. I had a talk with a DBA about how oracle could not deal with an adress with no street name - literally a tiny village with 10 houses on 1 nameless town square. It was unsearchable in parts of the app because street='' was interpreted as street is null. DBA kept claiming oracle was right and the town should adapt their naming to our software.

This attitude was so prevalent at the time, I sometimes wonder if the rise of noSQL was simply people sick of dealing with Oracle DBAs


> This attitude was so prevalent at the time, I sometimes wonder if the rise of noSQL was simply people sick of dealing with Oracle DBAs

That was definitely one part; another part was sharp corners in MySQL (at least as of 20 years ago; I would be surprised if many of them haven't been rounded off in the meantime). The last part was places with no DBA with developers unaware of how to handle schema migrations.


Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: