skysight-inc/HackerNews huggingface dataset:
"for (int i=param; i < param + 16; i++) does not have a guaranteed loop count in the presence of undefined behavior" is true, but it's equally true that the C standard is quite clear that undefined behavior can be ignored, so we can validly treat "for (int i=param; i < param + 16; i++)" as if it were guaranteed to loop 16 times in all cases.
I feel this pain, especially since I'm hoping to get my PhD over the next 6 years.
> Why don't we just apply that policy to crypto?

This is the core of the whole issue; IRS (and similar bodies) are deciding what crypto "is", at least for tax purposes (as is their purview). That has implication for how and when things are taxed.
You guys will probably laugh at this, and it is really low tech, but... maybe my favorite purchase was a pair of hiking boots. Specifically these Cabela's 360 Mid boots.

https://www.cabelas.com/shop/en/cabelas-360-mid-gore-tex-hik...

So, what's the big deal? Well, the boots themselves aren't necessarily all that special in relative terms. They're not cheap boots, but they're not expensive ones either. I'd say they're pretty average. The difference is between "boots" and "no boots". For most of my adult life, I've generally worn sneakers / tennis shoes of some sort more or less everywhere (excepting the rare occasion when I had to don dress shoes for some weird reason). And I finally got tired of my feel getting wet every time it rains. Seriously, I hate being outside and find that just running the 25 yards from my car to the entrance to a store, when it's raining, or FSM forbid, stepping in a 1/4" deep puddle of standing water in the parking lot, leaves my feet soaked.

So I bought boots. And I wear them pretty much everywhere now. Now my feel don't get soaked from a light drizzle, and they have turned out to be a lot more comfortable than I probably expected. They're also generally better for doing a lot of outdoor stuff I like to do (fishing, etc.) than tennis shoes. Honestly, I should have bought a decent pair of boots years ago. Not sure why it took me so long to get around to it.

On a more technical note: I've bought a lot of test equipment over the last couple of years, as I set out to build the electronics lab I always wanted. And by and large I'm happy with everything I've bought, but the one thing that stands out as the most useful of all has definitely been a proper bench power supply. I went with a Rigol DP832A and I've been very pleased with it.

https://www.amazon.com/Rigol-DP832A-Channels-Programmable-Su...

Really nice aspects of finally having a real power supply:

1. Instantly dial up any voltage I want (within its range of course). And that has been more useful than I probably would have expected, because I find myself dial up 3.3V more and more often lately, and I never had a quick and easy way to get 3.3V before. Maybe there's a 3.3V wall-wart around here somewhere, but I doubt it.

2. Configurable current limiting. You can set a current limit to avoid accidentally dumping too much current into something and frying it.

3. Current read-out on the LCD display. Turns out it's also very useful to hook something up and empirically observe how much current it tries to consume.

The other "tech" item I really like is my Hakko FX951-66 temperature controlled soldering station. People have been telling me to get a proper temperature controlled station for years, and I finally understand why. It's a huge improvement over those crappy Radio Shack soldering pencil style soldering irons.

https://www.amazon.com/AMERICAN-HAKKO-PRODUCTS-INC-FX-951/dp...
The companies are purchasing from a distributor. They don’t decide the pay or conditions just as they don’t for other suppliers. They probably only choose to purchase because of that label and price.
And I just had my midyear review. It was not good. Apparently I'm slow and need to be more proactive/engaged.
No, it's a feature not a bug. If you don't index things to inflation you can eventually cover average and middle-class amounts of money under the law - you just have to be patient.
> Riot introduced lane pushing moba to the widest audience possible - their game sucks - the genre is strong. If those other award winning dotas were willing to make the hard choices and sacrifice hardcore gamers in favor of the larger casual market then yes they too could have enjoyed Riot's level of success.

"I don't like a game so it is bad"
You Have to Give Before You Get
I dig Web IDEs. I have been using Cloud9 (AWS) for the past 5-6 years.
Sounds like a lack of imagination.

Construction - Show size/length of objects, show if object is level, highlight location of needed tool.

Navigation - Show arrow on top of uber/lyft, show directions. Show restaurant cleanliness score and rating.

Food safety - Show how long food has been out of fridge

Social - remind you of a persons name
Ya feedly is really nice.. now they have AI to predict which posts are critical to you
Maybe this one? https://debuyer-usa.com/collections/blue-steel/products/blue...
Our data centres have two power feeds, UPS on one of the legs, and backup diesel generators.

Network is resilient via fibres in different directions.

My laptop has a backup UPS built in. If wifi breaks, I can tether off my phone.

Power, ISP, UPS and Generators have all failed, but none are as ropey as slack (At least in the west - we had power issues in our Kabul officer earlier today, although even then slack has more outages than that)
Most cameras in the UK (I think around 95% even) are private.

Not sure why you think the UK is an authoritarian regime. Check any ranking and it is one of the freest countries out there (Heritage Ranking, for example: https://www.heritage.org/index/ranking)
Yes! Plenty of times e.g.

https://www.techdirt.com/articles/20140116/09195525902/uk-ma...

You can Google more easily...
More likely what would happen is that employers would take that 25% for themselves, lowering gross pay so that net pay stays the same. Then every working person would be worse off.
> I wonder if people will experience much of a difference between a system of "who has the gold makes the rules" and "who has the egold makes the rules".

If the people who don't have the gold are treated poorly enough, then in a democracy they in principle have the power to change it. In a non-democracy there's a second threshold where they will overthrow the power at a risk of their own lives.

You can't vote out the person with the egold, you can't rebel against them.

So yes, I do believe that the people who have egold and nothing to fear will be far more tyrannical than the people who have gold, for this reason.

If we could at least get online microtransactions for it, but we can't (at least with bitcoin) because of all its other technical flaws.
We wait for everyone to pay their portion before making the payments to the merchant/landlord. I hadn't heard about the City of Berkeley doing that, thanks for sharing!
Depends on how you mean "worse"; PGP is very secure with poor UX, SMS is less secure but honestly decent UX.
> Optimizing the wingtip on a 747 actually sounds interesting

That was my first thought as a software dev - I'd love to be able to spend time _optimizing_ something rather than breaking my "stories" down to one-to-two hour "tasks" and justifying my "estimates" every morning.
Even giving the stock to someone else can be a taxable event (e.g. in lieu of cash you owed).
How about the top minds build monetization systems that give a percentage of ads/subscriptions stream to science? Build patron-esque systems that are dedicated to specific science projects and for slow but fundamental research.

How about one could opt-in to be taxed in state so that money goes out to science. (Where I live there is a tax for a de-facto church if one belongs to that church)
Backwards compatibility with existing Electron apps I guess? Otherwise yeah, a native PWA would be better.
I strongly disagree that it's authoritarian to audit lots of transactions - 10k is high enough that most people will only hit it when 1) buying a car (or other vehicle - i.e. boat) 2) purchasing a house 3) doing a renovation. Otherwise most normal transactions will be well below this level.

I do think that eventually it'd be good to revisit the specific threshold for reporting but 10k still feels incredibly reasonable to me and calling it borderline authoritarian seems quite hyperbolic.

Bear in mind that money laundering is extremely effective and difficult to combat without really strong reporting laws and that the detection of money laundering is what leads to take downs of most large criminal organizations since, once you take away their wallet, most of them wither in efficacy.
There are a lot more tells than vocabulary. There's accent, even tone.

And, of course, there's the style of clothing, haircut, makeup, accessories, etc. Pretty much everything :-)
Tesla's Autopilot driving on Silicon Valley’s most dangerous road
Not an expert on PyTorch in particular, the python + native (if any) components would work right now. If GPU acceleration is required some way to bridge into WebGL or (much better) WebGPU would need to be engineered, certainly doable but not existing right now.
It reminds me of this story. Basically, a healthy host is in the parasite's best interest... https://www.nytimes.com/2016/06/19/magazine/the-parasite-und...
Github is really great for discoverability and the open source ecosystem, but I agree that depending on it for issues, pull requests, releases and the like is a bit sad for decentralization.

I don't really know the solution. I know Fossil [1] has bug tracking, wiki, forum and now even a chat, but I've never used it and use Github instead. Maybe adding issues and things like that to git itself would be a solution? I don't know what's the percentage of people using git the "Github" way (with at least issues intergrated into it) but if it's really high maybe it's time for git to follow usage?

[1]: https://www.fossil-scm.org/home/doc/trunk/www/index.wiki
Incidentally I'm only 40 and am often wearing those type of shades because my eyes are very sensitive and constant squinting gives me migraines. I actually came to like them quite a bit and two of my friends got them too, not out of need but because they think they look cool so its a very subjective thing after all.
Is it normal for an aerospace engineer to be able to launch himself into space? I think your stance is quite irrational / ignores the complexity of modern society.
It was RadioLab and it was probably the scariest thing I’ve heard about global warming yet.
My only mild annoyance has been that sometimes my FYP gets stuck on a topic like golf that I really don’t like and it can take a while to get off of it. Otherwise the alg tends to send me a lot of small videos of stuff that’s extremely specific to very specific interests which is so much nicer. Searching for things and liking videos in those things tends to make those things show up on my FYP.
The problem is that it then gives the developer weird incentives. If someone in the community decides to build the same feature that the main developer kept as a paid feature, then the main developer won't want to merge it into their version.

Then you're stuck: the community member could certainly fork the project with their new feature, or maintain a patchset and forward-port to each new version of the original software, but both of those things are a ton of work.

Meanwhile, users are the ones who lose out; someone decided to build the feature and give it away for free, but users have to jump through hoops to use it.

As someone who has done a lot of open source work over the past ~20 years, I don't think anyone is entitled to find a business model in there. Sure, if you can find a way to work on your project full time but still support yourself, that's great. But often the ways people do so make for some (IMO) bad trade offs and perverse incentives.

I like the dual-licensing approach, where commercial users need to pay, but that's not workable for all projects.
I have some Disney ones from the 90s. They are actually very very nice artwork.
Most cameras in the UK are private (around 95% if I recall correctly). Businesses, home cctv, doorbell cameras, etc.
So the people who already have the most of a coin are the most likely to earn even more by just sitting on it?
I think some commenters are taking issue with this article for singling out English. Yes, the larger issue is native vs non-native speakers in any language. But this article is specifically addressed to native English speakers because English often serves as the common language in a room of mixed-language speakers.

I'm a native English speaker. I don't find the article offensive, and I appreciate it pointing out how I can be a more effective communicator.
Bitcoin Mining on Track to Consume All of the World's Energy by 2020
My house.

Mortgage is about 30% less than what I used to pay in rent, and I'm actually saving most of those money (actual interest is a very small portion of that).

I don't have lousy roommates, but now my SO and me can move in together and start our life together.

I pretty much ignored (and sometimes made fun of) people telling me not to buy and to invest in the stock market.

Most of them actually own their own house but won't sell it to "invest in the stock market".

I don't live in SF tho.
If they come out with a utility van version of this (ie, Transit), I can see it becoming quite popular. With the onboard inverter and 240V, there are a ton of trades and custom campers that would immediately find use for that.

It would be really cool to see a solar trickle charge setup for #vanlife
What is the point of identifying offensive tweets? People who want to post the tweet will do it anyway.
Possibly incorrect rates aside, inflation also greatly affects what charges someone could face for property crimes.
I mean that the manual record keeping and reporting is completely infeasible. Some traders I know in USA end up with hundreds of pages of records
Mind-blowing. The env spins fast.

Maybe one day, smartphones and tablets are just browsers in hand.
So I'm also European, but we are absolutely not an example to follow here. Our retirements are absolutely in danger, we just haven't collectively realized it yet. I wouldn't be surprised if we fare worse than the US due to other factors.

Every state pension system in Europe is a ponzi scheme nearing the the end of it's lifecycle. Almost all the money going in, is immediately distributed to current retirees and the fund levels are rapidly heading towards 0. Most estimates I've seen indicate that within a decade or 2 (without considerable rises in taxes) social security benefits will be around half what they are now in most of the developed world. The young are being royally screwed and paying into a system that offers them nothing.

The US's social security system has the exact same problem, but the key difference being that a decent percentage of Americans actually have 401k's (~50% i believe) that they've been funding for a long time. Pension plans/401k'like schemes in Europe are far less common and if they do exist they haven't been around anywhere near as long.

What will ultimately happen IMO is that everywhere in the developed world will just start means testing social security. Screwing everyone who saved up anything. We won't have a choice though, as it's the only way to not cripple the economy with exorbitant taxes and avoid large amounts of old frail people living on the street. The problem with Europe is they won't have enough people to screw over this way, and will end up with crippling taxes anyway that will cause more damage overall.
LaMDA, MUM, and Maps: Google’s plan to make AI search more powerful
And if you look carefully you’ll find that doing logger.exception(e) will just cast e as a string, which is just the message in the e. So you end up just sending the message twice (along with the stack trace).

Instead you can do logger.exception(“something helpful to give a little more context at a glance”)
For some reason I couldn't 'Reply' to compiler-guy's reply directly, so I'll try here.

I'm familiar with the Chris Lattner article. Most of it (especially the second installment) shows bad outcomes from UB optimization. When it comes to signed integer overflow UB, I see two examples where performance is cited as a motivation.

One mentions unrolling, and gives an example similar to one elsewhere in this thread: https://news.ycombinator.com/item?id=27223870
In my reply to that I explain how unrolling is not actually enabled by UB.

The other instance of integer overflow UB in the Lattner article is optimizing X*2/2 to X. That's perhaps a stronger case, but I haven't seen any numbers on the real-world implications of this particular optimization.
Congratulations! By coincidence, your startup reminds me of the use case of smart contracts. I always tell people that smart contracts are cool because you can program money however you like. One of the examples is payment splitter.

Recently, I coded up the payment splitter smart contract.

https://mamba.black/documentation/payment-splitter/

Yours is bill splitter. But technically, you can code up the bill splitter as a smart contract too.

That's all. I wish you success. Who knows my story is useful for you. I don't know. Maybe a few years later, you want to expand your service to cryptocurrencies. :)
This seems more like a problem for Coinbase et al, and not the IRS. Unlike the SEC, the IRS doesn’t actually care how you make your money as long as they get their cut.
It could be interesting to use them for info visualization and interaction though. Placing ideas in your surroundings while on a nice walk through the forest pondering about something you're passionate about sounds pretty intriguing to me.
> that means the compiler can assume there's no overflow and generate code that always executes the loop body exactly 16 times

Right. That's what I said.

And just to be super-precise about the wording, the standard doesn't say "ignore the behavior 'with unpredictable results'" it says "Permissible undefined behavior ranges from ignoring the situation completely with unpredictable results". Nitpicky, but the former wording could be taken to imply that ignoring behavior is only permissible if the behavior is unpredictable, when what the standard actually says is that you can ignore the behavior, even if the results of ignoring it are unpredictable.
Related, but not wormholes: Last night I watched this video on loop for a long time, of stars at the center of our galaxy orbiting the supermassive black hole Sagittarius A*. Really a mind-blowing video. https://www.eso.org/public/videos/eso1825e/
Literally anything can be made legal. The people who want the money can lobby legislators until they get a law they want passed. Nothing stops it. Lobbying is legal, and lawmakers can make any law they want. They can even make a law that allows corporations to abuse people (which is weird since corporations are people, but we don't generally allow people to abuse people)
I am no expert in the slightest (I would check the things I linked), I'll try to answer

1) Mountains actually helping is my own pet theory, I should disclaim. Japan does seem to have wild swings in density, while England seems to have people/towns strewn about everywhere and London feels kinda sprawly at certain scales. That said UK obviously has cities / regional clustering at the scale of HSR.

Someone should do a proper (fourier?) analysis of sprawl at different different scales and how that effects rail at different scales and until then my theory is just idle speculation, and in any event I don't think Britain can or should blame it's geography when other flat parts of Europe do better, and the Anglosphere clearly sucks at rail on the whole.

2) So Europe is kinda of anti-modern avoiding dense downtowns / CBDs, America is downright evil with it's single family homes, but weirdly still has tall towers people curse driving too. East Asia is largely "correct" in having dense workplaces and living places, which you want if your goal is both less car trips and classic max GDP growth.

I don't think the UK should be like Japan in al respects, but London is emphatically way to evenly low-rise, housing is not cheap enough I hear, and all those rich people LARPing landed gentry commuting 3 hours from their quaint South England rural hamlet is a sure sign something weird's afoot.

If they get rid of the green belt because no one wants to build taller, I will be sad.

3) https://en.wikipedia.org/wiki/Japan_Railways_Group the story is maybe more muddled than I thought, or maybe that's just the terminology for historical reasons.

4) Well, that I think goes back to the unique economics of rail. I think good rail becomes profitable, but profitable bad rail doesn't become good or isn't even possible!
You had to disable enhanced tracking to get the quiz to work? That's surprising to me. Were the tweets not loading in the quiz without it? I'm using Twitter's JS library to embed the tweets, the only thing I can imagine is that that somehow runs afoul of the tracking protection.

When I was creating the quiz I considered using images of the tweets instead of embedding the tweets directly. Possible I should have gone that route. It might have solved this problem and it would have removed a dependency on Twitter's API package. I chose not to do it because it felt inefficient to use images instead of the embedded tweet and I thought the user experience would be better.
If you’re actually mining, you’re better off setting up a Sole Prop and filing.
The Covid dissidents taking on China
I'd be super interested in seeing how much of this is really wasmified. I'd love to see if this could get running in a DFINITY Canister.
Hmmm, working the other way, if your goal is to process 100k transactions / second, with each transaction being 1/100th of a cent and your transaction fees being 1/100th of that, your budget for operating your network would be, what, $3M / year?
> After that Android's deceptively straightforward tethering feature was almost saddening...

Ha - you should've seen early iPhone tethering. Back in those days, net neutrality wasn't a legal right yet (at least here in the Netherlands), so the carriers would push a profile to your phone that disabled tethering. The solution, of course, was to jailbreak your phone and install a tweak that turned it back on.
Making sure the things that aren't supposed to work don't work
How do you see the beam of a flashlight in the dark? Because it hits stuff in the air and bounces off.

And the particles previously in the beam that already hit something are likely to hang around and be candidates for being hit themselves. And eventually they wind up as part of a big glowing cloud that you can see in the pictures. See https://d2r55xnwy6nx47.cloudfront.net/uploads/2021/05/cyga_v... linked in the picture for what it looks like. And for evidence that we can still see the beam when it isn't pointed directly at us.
A habit I've noticed among English-speaking Indians is ending chat sentences with "...!!!"

For example:
"Good morning, Bob...!!!"

I would really like to know where it comes from. In my experience, they don't realize that "..." comes across as dramatic or passive-aggressive. The "!!!" part I assume is just meant to convey enthusiasm, but it comes across as very aggressive.
Tempered loss aversion is the better way to approach things when there is no upper limit to winning, but the lower limit to losing is getting kicked out of the game. It's why "the house always wins" is true even for fair casino games.

The hard part is getting the right balance.