Better HN
topnewbestaskshowjobs
Log inSign up

LittlePeter

552 karma · joined Oct 26, 2015 (11y ago) · 237 submissions

Submissions

comment 4y ago · link · parent

Hmm what would happen if I sit down, eat some Taco's and when it is time to pay, I claim I have cash only? Aren't they a creditor in that case?

comment 4y ago · link · parent

Garfield maybe

comment 4y ago · link · parent

this guy bashes

comment 4y ago · link · parent

Not sure why you are down-voted...

Instagram and Dropbox, both used Python.

comment 4y ago · link · parent

That is a nice insight.

comment 4y ago · link · parent

If Ukrainians are shooting themselves in the foot by doing memes about bombings, how would you describe Russia's invasion? How will that be judged?

comment 4y ago · link · parent

snap is the new systemd

I dunno, I am only slightly inconvenienced by it, not enough to run apt uninstall snap though.

comment 4y ago · link · parent

It was transformative _because_ it was a downgrade.

comment 4y ago · link · parent

On a side note, has anyone ever negotiated an effective raise by asking for 100% salary for an 80% employment?

- "We're sorry but your salary range is above what we are willing to offer."

- "I am prepared to accept your upper range salary for 80% employment."

- "Deal!"

comment 4y ago · link · parent

You are right, I probably misunderstood. But now I am curious, what is the use case for formatting just a range of lines and not the entire file?

comment 4y ago · link · parent

> We still don't have format selection

And you never will. From https://github.com/psf/black:

Black is the uncompromising Python code formatter. By using it, you agree to cede control over minutiae of hand-formatting. In return, Black gives you speed, determinism, and freedom from pycodestyle nagging about formatting. You will save time and mental energy for more important matters.

comment 4y ago · link · parent

Barely two weeks after Stable Diffusion release, we use SD as its acronym? That's fast.

comment 4y ago · link · parent

Off-topic: in the order book updates example, the top of the book is updated using one field per message:

echo '{ "symbol": "AAPL", "bidPrice": 174.1 }' | rpk topic produce book-updates echo '{ "symbol": "AAPL", "bidVolume": 1000 }' | rpk topic produce book-updates echo '{ "symbol": "AAPL", "askPrice": 174.2 }' | rpk topic produce book-updates echo '{ "symbol": "AAPL", "askVolume": 2000 }' | rpk topic produce book-updates echo '{ "symbol": "AAPL", "bidPrice": 174.0 }' | rpk topic produce book-updates

However some top of the book update can result in an entire level disappearing. In that case, both price and volume changed actually at the same time, yet according to this example it will be broken down into two messages? This will lead to inconsistent state of the book when I read it between two messages. Or did the example just happen to show one field per message, and multiple fields per message are possible too?

comment 4y ago · link · parent

Back in the day `aws ec2 get-console-output --instance-id $ID` used to contain the public key that can be extracted using regex. Not sure if this still works.

comment 4y ago · link · parent

Yup I use ad blocker.

comment 4y ago · link · parent

> Ukraine is bleeding them as fast as Russia

Proportionally maybe yes. But count-wise Russians are losing more soldiers than Ukrainians.

comment 4y ago · link · parent

Off-topic. What's up with that giant meaningless Ethereum logo image occupying 90% of my screen. Why are websites doing this?

comment 4y ago · link · parent

I don't understand where N-1.1111 comes from. Isn't it enough for all the shares to add up to less than N-1 for there to be a profitable bet?

If all no shares add up to S < N-1, then gross winnings will be N-1-S > 0, which when multiplied by 0.9 to get net winnings will still be positive.

comment 4y ago · link · parent

What is tabular data precisely?

I can represent an image as a table of RGB values. I can represent hierarchical data as a table of unnested values.

comment 4y ago · link · parent

https://ground.news reports news and their left/center/right coverage. I guess you can extract some right-leaning news sources from there.

comment 4y ago · link · parent

Thanks, I learned something new.

comment 4y ago · link · parent

On a similar note: respectively. Stop using it. "To variables a and b assign values 1 and 2, respectively".

Who ever is getting confused here if "respectively" is left out?

comment 4y ago · link · parent

The charts in the article are PNG images. Yet the text in the charts is separate and is superimposed on the chart in precise position.

How is this done? Is the journalist manually CSS-positioning the text? Is there a library? An internal Economist tool?

comment 4y ago · link · parent

There is "onderdoorgang", which shows similar images as in the OP: https://www.google.com/search?q=onderdoorgang

But I don't think I ever used this word... I'd say tunnel I guess.

comment 4y ago · link · parent

A deep learning model on the blockchain should be able to figure out cheaters from mouse movements and click intervals no?

But yeah you are right.

comment 4y ago · link · parent

r/mildlyinteresting, but would have been better if after the race you were shown your rank among other participants.

comment 4y ago · link · parent

"incoherent word salad" is a tautology... "word salad" is already incoherent.

comment 4y ago · link · parent

game-theoretical optimum maybe

comment 4y ago · link · parent

Thanks! To contribute at least something to this thread, here are couple more prediction markets where you may or may not bet for real money:

- https://manifold.markets - https://www.unitarity.com/app - https://futuur.com - https://predict.hypermind.com/hypermind/app.html - https://www.metaculus.com - https://polymarket.com

12345
8