michaelper22
|
6 years ago
|
on: Generating a Java program with 90% less code
Or the ORM (Hibernate by default) is abstracted behind Spring Data interfaces. It's pretty easy to autowire the EntityManager if you need it.
michaelper22
|
6 years ago
|
on: Your throat hurts, your brain hurts: the life of the audiobook star
In the US, in particular at least one NYC government agency, unionized "system analyst" jobs are common. They get a defined salary based on experience and level, an assigned eight hour shift with half-hour lunch break, and a clock that must be punched into on time. Another has kind and caring help desk people who nevertheless carefully watch the clock.
michaelper22
|
6 years ago
|
on: New In Postgres 12: Generated Columns
Here's one of my current use cases: We have a folder tree table in our (formerly nested sets, then closure table, now materialized path), and we cache a materialized version of the path with the folder names. There are some places in the app where you can look up a node by its full path, and this column should conceptually be unique. Obviously an unindexed VARCHAR(2048) is bad to filter on, but MySQL indexes can only cover the first 767 bytes (we used utf8mb4). So we have another column, PathHash CHAR(40) AS (SHA1(path)) VIRTUAL, and then a unique index on that.
michaelper22
|
6 years ago
|
on: SQL Window Functions
MySQL only as of 8.0, which also added CTEs, more JSON features, and index features relevant to indexing JSON.
michaelper22
|
6 years ago
|
on: Mozilla takes action to protect users in Kazakhstan
Worked for a publicly traded energy company that does this.
michaelper22
|
6 years ago
|
on: Kaspersky in the Middle – what could possibly go wrong?
I was dealing with MySQL running on a Windows server box with McAfee Active Response running (MarService.exe). It has a feature for tracking files created/deleted, which is accomplished by hashing all new files, saving them to its own local DB, and presumably pushing them to the management server async. The app running on MySQL frequently creates many new tables and fills them as part of SOP, so the disk was constantly hammered by both MySQL and McAfee...
michaelper22
|
6 years ago
|
on: My Home Lab Server with 20 Cores / 40 Threads and 128 GB Memory
Yup. My USG and US-8-60W both run hot enough to not want my hand on for very long (the power supplies are pretty warm too).
michaelper22
|
6 years ago
|
on: GitHub is down
AdoptOpenJDK builds are hosted there too; found out about the outage trying to download one.
michaelper22
|
6 years ago
|
on: I was wrong about spreadsheets (2017)
Notwithstanding the row length and column count limits, did you also give MySQL more memory? Setting InnoDB buffer pool size to 3 or 4 GB might help; its default is about 134 MB.
michaelper22
|
6 years ago
|
on: Why we're ending support for MySQL
"One does not simply use an ORM against multiple database types."
michaelper22
|
6 years ago
|
on: Someone in New York is pulling emergency brakes, destroying subway commute
After the Queens Blvd locals (M/R) terminate in Forest Hills, they loop around through Jamaica Yard, meaning non-revenue track. Stragglers being asked to alight is a common sight.
michaelper22
|
6 years ago
|
on: Amazon rolls out machines that pack orders and replace jobs
michaelper22
|
6 years ago
|
on: Ask HN: What does your development stack look like in your favorite language?
1. Install Windows (7/10 Pro 64-bit)
2. Install Java 8
3. Install Eclipse; configure eclipse.ini to use jvm.dll for launching and set max heap to not all my RAM
4. Install Tomcat; configure Eclipse to use Tomcat installation
5. Install MySQL 5.7
6. Install Toad for MySQL Freeware (no longer available; might break under MySQL 8.0 when the time comes to upgrade...)
6. Eclipse -> New Maven Project
michaelper22
|
7 years ago
|
on: On Internal Engineering Practices at Amazon
Morgan Stanley revealed at a recruiting event that they follow this practice. "You can definitely use Apache Spark! It's been reviewed by our Enterprise Architecture team; some APIs were removed, and we substituted 'Morganized' variants of others, which you won't find code/docs for on Github ;)"
Given the npm debacle, I could totally see even a small org running an internal Maven repo with approved versions of (popular, and especially obscure) libs.
michaelper22
|
7 years ago
|
on: Add detailed message to NullPointerException describing what is null
Probably SAP's, since Hybris is an SAP product.
michaelper22
|
7 years ago
|
on: A new class-action lawsuit takes aim at real estate agents and their 6% fee
I don't understand how this racket is allowed to operate. From my experience (three NYC apartments through realtors), the landlord's realtor provides pre-screening of "desirable" tenants for the landlord, showings, collecting paperwork from the prospect, and handing over the keys. None of this adds value from the (prospective) tenant's perspective, but the tenant must pay the fees (in all three cases, one month's rent).
michaelper22
|
7 years ago
|
on: Whitespace killed an enterprise app
My college, part of a larger university system, was in the first wave of campuses to switch from a hodgepodge of legacy stuff (CICS-based student info system, with other apps probably in classic ASP and ASP.Net, plus other vendor products) to PeopleSoft (Campus Solutions, HCM, Finance, etc.). The major complaints - from students, staff, and faculty alike - were about
excessive pageload times and significantly more clicks to do simple things. They added huge sticky headers and layers-upon-layers of portals.
Perhaps the only people happy with the migration were the Oracle sales reps.
michaelper22
|
7 years ago
|
on: Moving from Go to PHP Again
michaelper22
|
7 years ago
|
on: Why tech’s favorite color is making us all miserable (2018)
Honda Accord too between 2012 and 2017 MYs (don't know about after the '18 redesign), except the Sport trim which has red.
Fortunately, on all trims you can freely switch the infotainment screen BG color between red, green, and blue.
michaelper22
|
7 years ago
|
on: Roadmap to becoming a web developer in 2019
Nice to see relational DBs before NoSQL (learning the old and tried before the new). To follow that same pattern, SOAP should be earlier than REST. Taking a WSDL and running it through a client code generator is a fast and type-safe way to develop.