Hacker Newsnew | past | comments | ask | show | jobs | submit | scrubs's commentslogin

I sort of agree ... bit casting from an N width integer into an array of ... woah ... that's too far. It's bitcast not byte-cast which has an implied reinterpretation on a same or smaller word size in the cpu.

Once you see that the fact somebody has a u24 in their code is between them and the compiler alone.

As others probably noted byte casting (keeping the same endianess) is what unions are for.


Thank you for response.

>You are missunderstanding the transport encryption(everything related to authentication and pg_hba.conf) and the encrytion of the data at rest

Correct! My questions perhaps implied one is connected to the other whereas they are completely separate. I could have been clearer.

>it means that indices for encrypted columns become useless and are only a waste of cpu time.

are you saying that blunt-force encryption of all data-at-rest renders indexes pointless? Could you provide more context here?

Cheers


I was briefly employed by a robotics company in the US ... robotics is too nice: glorified if/then/else is better.

The owner was the son of an old school magnate out of PA.

Among other things his line has always stuck with me: "A whale that surfaces is soon harpooned."

The company never made money. I think the whole thing was run as a loss on purpose for tax purposes. I became tired of the head manager/engineer combo (big fish in this tiny, tiny world) and left.

Even they knew this company was never really trying to do anything serious. Strange indeed


> The owner was the son of an old school magnate out of PA.

If you have a lot of money it’s fun to LARP the startup life. The experience working for such a company is highly varied and completely depends on the personality of the founder. But even if it’s a healthy place, it’s usually a black hole from a career development POV.


I know someone who is an accountant for very wealthy people and quite a few seem to have useless children whose failing businesses they bankroll.

Startups are like sports cars nowadays. People think it makes you look cool if you own one.

It doesn't matter if it costs a lot of money to maintain. Yachts and sports cars do the same. That's actually like the whole point of it, after all.


> whose failing businesses they bankroll

Don't confuse a hobby business with a failing business.

Plenty of people with independent means run loss making businesses for fun and/or support wives/children doing just that.


Semantics. If the hobby business never makes a profit and is capturing losses for tax benefits, that’s a failing business. It can be failing indefinitely as long as there’s money to support it, but you can’t call it a successful business.

You appear to be suggesting that fun hobbies which don't make money are a 'failure' rather than a success. Not everything is judged by how much money it makes.

Have you ever wondered why kids climb trees?


It's really not that deep: they're characterising the business, you're characterising the hobby. The owner having a good time doesn't make it a successful business. A failing business can be a successful hobby, sure, that's still a failing business.

This wasn't a hobby. At least the head engineer and sales persons were constantly stressed by flagging sales and lack of customer acceptance.

It wasn’t a hobby for them but it still may have been a hobby business for the founder. Rich dude LARPing tyrant CEO or Steve Jobs imitator is common.

Doesn't running consistent losses eventually cause tax issues with the IRS? If the losses are offsetting profit elsewhere, I would assume the IRS would become very interested in challenging the validity of the hobby business?

You see a lot of hobby shops in ultra-wealthy areas of major metropolises. Tiny art studios, interior decorators with a handful of items in stock, boutique fashion shops.

> robotics is too nice: glorified if/then/else is better.

I have been on the other side of this, building a frontend that connected to an external service robot that we, with a 5 minute script, managed to successfully prove internally was just a if/then/else state machine.

We got paid to make it, so we didn't care, but we knew someone was losing money.


fwiw, you’ve perfectly described the feeling of working for a “tax write-off” and how to recognize those vibes.

It could’ve been worse, it could’ve been a fraud! But it’s merely a business designed to lose money. It won’t land you in jail but it’s not a place anyone would advance a career.


I can't wait for these AI companies to IPO and be harpooned.

Why wait for IPO? Prediction markets already let non-US persons bet on startup stock prices while the startup is still private. Eg a few weeks ago you could have used a non-US VPN, shorted spacex, and lost all your money :)

This allegedly already put a friend's friend out of business - the owner/operator complained Biden would mess her business up and was pro trump.


Has your friend changed her mind about Trump or is now just blaming Biden for Trump having to these things that impacts her?


I just bought 128gb ecc ram ddr4 2667mhz $850 which indeed was +50% of purchase.


If you interested in formal model checking using TLA+, this may of interest you. In this github repository https://github.com/gshanemiller/tla-examples find,

- tla.pdf - numerous examples

The PDF describes model checking in TLA working through minimal background (fairness, model state etc.), application in TLA, two non-trivial models, and two appendices with reference background on TLA, and its procedural cousin PlusCal.


The issue at hand is Russia invaded Ukraine. That's a Russian problem.


The issue at hand is that the US "mid-wifed" a nationalistic coup in the Ukraine in 2014.

The first thing the Ukrainian parliament did after the coup was passing the bill that repelled the law protecting the Russian language in the Ukraine. [1]

[0] https://www.bbc.com/news/world-europe-26079957

[1] https://en.wikipedia.org/wiki/Language_policy_in_Ukraine#Att...


There are over 190 countries around the world provoking Russia by having their own nationality and not giving special privilege to Russia. I guess it'll just have to go killing and invading those people too as they are obviously nazis and a threat to Russia's security interests.


Ukrainian nationalism has spanned generations. The U.S. certainly helped, but it was not a contrived psychological operation to convince a majority of Ukrainians to revolt against their Russian dominated government.

When a nationalist movement has garnered support centuries ago from the Ottomans, Nazis, etc. it's a hard sell for me to believe it was not inevitable.

My understanding of Mearsheimer, the only person whose work I've seen, is that the U.S. dropped the ball and made the conflict an inevitable and deadly one which will end in a frozen conflict.

I believe he has argued the U.S. should have supported a Ukrainian nuclear weapons program or accepted its existence as a buffer state controlled by Russia.


>to convince a majority of Ukrainians to revolt

Even if you accept the most charitable estimation of the number of people on Maidan in 2014, it's less than 2% of Ukrainian population. Hardly a majority.

>against their Russian dominated government

It is the government that the Ukrainian people democratically elected not a long time before the coup.

>it's a hard sell for me to believe it was not inevitable

The Ukraine was evenly split between pro-Russian South-East and pro-Western, well, West. The only chance they had for stability is respecting the democratic principles when people respect the authority of the president who won an election even if they voted for a different candidate.

The US supported the coup and broke that system. Despite famous Bush Sr.'s speech in Kiev in 1991[0] that warned of 'suicidal nationalism', the successive American administrations nurtured Ukrainian nationalism, supported and fed it.

>its existence as a buffer state controlled by Russia

Ukraine being neutral was enough for Russia, but not for the West.

[0] https://www.youtube.com/watch?v=Vkjxf76xRTw


No, not tyranny necessarily. If it's malign morphing into hate speech, racial or genetic seregation, imposing religion, esp. backed up by state power that's a problem. For example, the US has a senate to balance out the house while at the same time California's take on something cannot be rejected out of hand reflexively as tyranny


Politics? Is it? Or is politics a grand word for whining and adults in a perpetual small world? Law, history are at least more grounded as a basis to argue for or against.

Let's not let politics' meaning become so diffuse it's just free speech by another name. Herein "politics" seems to be too inconsequential for a far more consequential result than cycling out party A for B for a few years would have.

I've half joked before that brexit was the only solution Cameron et al saw left because they didnt have a way to hold Brussel's paper pushers to account. Taking your ball and going home is not bold leadership: it's an admission one's argument and solution is weak.


Ah i forgot that.. that was dumb on fed Canada's part


nah, makes the treasonous stand in the spotlight and claim their prize.


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

Search: