skysight-inc/HackerNews huggingface dataset:
As always, Hacker's Delight is a wonderful book for all integer arithmetic tricks and operations.
Show HN: I made regex by time interval generator
hey! Recently spent couple weekend evenings to solve interesting and easy to define problem - construct regular expression, that will match particular time interval, e.g from 18:24:56 to 18:37:12.

Code is kinda messy (but it works), so don't throw stones at me because of it :)
"Why aren't film producers throwing money at Jodorowsky?"

Jodorowsky had some gargantuesque approach to managing film budgets. Not saying it's justified but studios at the time were likely scared of financing him. The Dune debacle was a precedent.
There has been a relatively recent ruling by our top (non-constitutional) court in 2019 that ruled on whether CEOs that arent (partial) owners of the company are employees. (Az.: II ZR 244/17)

They ruled only that in the specific case that the CEO was also an employee (when being fired), but they did not rule that CEOs are always employees under all circumstances.

The source below has some good extra points why its such a complicated issue.

Source (in German):
https://www.steinberg-arbeitsrecht.de/de/blog/384-wann-sind-...
Not quite. Here you can read more about the underlying reasons: https://stacks.stanford.edu/file/druid:rm226yb7473/Huawei-ZT...
But not the headline, which is what I wrote.
If you're reading a math or other computational or textbook, I'd also suggest to read through the exercises in the back of the chapter before diving in. It primes you with keywords from the questions and helps you to think of how you can use what you've just read.
Would this help shape policy in some way or are you just curious as a technologist? I don’t really need to know, as a long time infosec practitioner I have a fertile imagination for the shenanigans they could be up to.
> no boot

Anyone else go into this hoping to see a lack of excessive infotainment and other electronics and their associated boot times (looks like that's mostly also true for this, but not the highlight of the article)?
Apple is the #1 smartphone brand in China.

American companies are much more active in the Chinese market than vice-versa. If China starts reacting in kind, a lot of American companies will be in for a world of hurt.
Blue check?
The question is how often bikes get into an accident vs. cars, relative to the number of comparable trips made, which is difficult to measure. The above statistics probably only tell you that if you get into an accident that happens to get reported, what is your relative survival rate then. It’s not surprising that bike riders have a lower survival rate when a car is involved. That doesn’t mean that bike riders in general have a lower life expectancy than car drivers.
No, it's the proper article that talks about its capabilities, it's food for thought, the "official" line, to avoid any conflict of interest when you develop your opinion, otherwise i am taxed as "conspiracy theorist"

And that's just for the future ones, and it only covers the front end, i let you imagine what other systems are over there, including what's int their auto-pilot system
I bought a new washing machine two months ago. I went to an appliance store and specifically asked for a dumb one. The seller lied to me and said they don’t sell those. They actually did, but it was the cheapest model and I had to look for it by myself. For my next washing machine, I’ll be looking for a professional model, of the kind that you find in laundromats.
Welp. More shitty work at home ads for me.
After that happened, I wonder how the peasants were able to recognize a king
This video gives a pretty comprehensive idea how a smartphone is constructed.

https://youtu.be/ES-s9KQrUTY
> Why a religion that enforced its law to its follower become a problem?

Does Sharia law not apply to unbelievers? Do followers choose the faith only in adulthood? Or are people involuntarily indoctrinated from birth? Are apostates and unbelievers granted the same rights and privileges as everyone else?
> Does not happen in England.

Does happen in the US.
It's national security, what do you expect? Even if specifics are known and they're not operating under a general precautionary principle (maybe they are, but so what?), the specifics would be classified, not broadcast to the public. That's just the nature of national security concerns. Everything gets overclassified.
> but they are still crossing into the property via the air. This would be the same issue with the helicopter.

Surely there is some altitude at which that doesn't apply? Otherwise there'd be problems with commercial jets too?
Amplify also owns Mathigon, which is amazing.

https://mathigon.org/polypad#numbers
Compiler and Runtime Specializations for Accelerating Managed Languages on FPGAs
Stupid question, but still out of curiosity: what's that site of which the screenshot has been posted?
We're in general agreement.

I will add that there is a legitimate concern, internal and external to the West that so far, given that this issue of ideological extremists (such as neocons) getting their hands on some elements of policy and executive arms of the West did not get a public accounting and redress -- how did it happen and what is to prevent it from happening again -- leaves open the possibility that the unipolar world may very well become uniformly fascist. This remains to be effectively addressed.
We’ve all heard the myth of the person jumping at the moment before impact.

But what about a robot with a super strong jump?

Or landing gear attached to a returning rocket, springing away a series of cup-shaped air resistors.
>US definitely has declined from its peak position of '90-'00. By the end of the last century, even allies were openly voicing concerns over US being a hyperpower and not just a mere superpower. [They are calling us a superpower again.]

People in the '90's would have bemoaned that the US was well down from its peak in The 40's (you know, when we had nuclear superiority for c. 5 years). But in neither era would an average Congolese citizen use a US-developed product for most of the day (though now they sure as hell use Android and Google). Soft influence is a thing too.

>9/11 is the inflection point

George Bush et al really wanted Americans to believe that, but why? It's not like Iraq is that much different from Vietnam. Both were ill-fated wars we mostly lost, but not in a way that makes our enemies see us as weak (Iraq, particularly its leaders, got annihilated, The US just failed at rebuilding)

>Second, Putin's adventure would not have happened in an environment of robust US prestige and power

Yeah, the Soviet Union never invaded bordering nations during the 20th century.

>We've lost prestige on that end as well. What made this little man so confident? Why is he still hanging on? It should have been well over by now.

You really weren't alive during the Cold War, huh? Remember Chernenko? The one that invaded Afghanistan? He held on just fine.

>Finally, RF appears to have forced US to use mechanisms -- confiscation of sovereign reserves, etc. -- that I assure you must have scared the living light from all spectators with treasure trusted to the "international order". They are all saying 'but by the grace of god of mamon there go I'!

Or they are saying 'better to be a friend of the US vs. an enemy!" It's not like we are picky in who we like (cough MBS cough), we just are opportunists who will welcome anyone who plays along.
> there’s no reason that these limitations are inherent to a vehicle of this size.

Of course not, but the manufacturer tried to keep the costs down as much as they could. An Ami with A/C for double the price would be a lot less attractive.

Although maybe a reversible heat pump could make the heating kinder on the battery...

> I imagine an Ami-sized car with creature comforts of a regular vehicle would sell extremely well in cities.

Seems rather doubtful, it would still have to provide limited amenities, but the price would shoot way up. And given the range of the car, the amenities are a lot less problematic: you can not use the car for long.
I thought the same might be true, and a theorem prover agrees with us: https://gist.github.com/jepler/eda8401d1b613c44376dc8148fcf9...
“This is not an identical situation to the delayed bonuses discussed in the article.”

Not even close my friend. I would trust that instinct. People working 6-7 days a week, doing labor, in a factory, in shit conditions. Desperately clinging to each paycheck that comes along.

Vs academic bureaucrats in one of the most Labor sensitive institutions in the world, who can’t afford the Bay Area…? The most expensive region of the US to live in. Not. Even. Close. Just a reminder, employees at UC Berkeley are entitled to a pension after five years.

Police violence against UC Berkeley staff? Seems highly doubtful.

As far as not being able to afford rent in the Bay Area, hard to disagree, that is a real problem that impacts quality of lives in a very negative way. Hopefully, with all the brain power at Berkeley, people begin to more honestly and openly contemplate the actual source and solution to this deep problem in the Bay Area’s housing supply not quite matching demands of UC Berkeley staff. Asking bold questions for a campus like Berkeley like.. what policies and stubborn attachment to specific world views might be contributing to the constriction of such supply and demand conditions?
Sure but using non-sequitur rainbow pieces to reference complex processes seems like the extreme end of uselessness. Wouldn't words that reflected stand-out parts of the process be more intuitive?
I like the author started with measuring and thinking bandwidth, which makes sense for streaming through a big file, so I'd have continued that way towards a diff design & conclusion

Continuing with standard python (pydata) and ok hw:

- 1 cheap ssd: 1-2 GB/s

- 8 core (3 GHz) x 8 SIMD: 1-3 TFLOPS?

- 1 pci card: 10+ GB/s

- 1 cheapo GPU: 1-3 TFLOPS?

($$$: cross-fancy-multi-GPU bandwidth: 1 TB/s)

For streaming like word count, the Floating point operation (proxy for actual ops) to Read ratio is unclear, and the above supports 1000:1 . Where the author is reaching the roofline on either is a fun detour, so I'll switch to what I'd expect of pydata python.

It's fun to do something like run regexes on logs use cudf one liners (GPU port of pandas) and figure out the bottleneck. 1 GB/s sounds low, I'd expect the compute to be more like 20GB+/s for in-memory, so they'd need to chain 10+ SSD achieve that, and good chance the PCI card would still be fine. At 2-5x more compute, the PCI card would probably become a new bottleneck.
It's nice to see that the Citroen Ami weighs around 500 kg. In a crash with a person/vehicle/building, it's going to do less damage than a typical sedan weighing ~1500 kg. https://en.wikipedia.org/wiki/Citro%C3%ABn_Ami_(electric_veh...
Hey, that's where I live! Locally, the degrowth community from the 70s has allied with more conservative locals to stop all housing and maintain a firmly anti-university stance that prevents the building of dorms, of housing, and even results in ridiculous stances like trying to cut down on bus service since students use the buses a lot (and therefore cut down on traffic a lot).

I fight as hard as I can against the people causing all the suffering amongst those who aren't super wealthy, but their ability to understand other humans can not see beyond the comfort of their own yards. In contrast, they complain viciously about a building that they can see. A very strange sort of sight.
It’s essentially been like that in the tuner scene for a while.

The only difference is that, instead of immediately opting for a chip or retune, you now have the option to pay a monthly fee to keep your warranty.
Or, Due to your car having good acceleration, you make worse choices about when to overtake and increase your odds of a head on collision
Haha, I thought it was some architecture I’ve never heard of.
You might be very right about that! It's been a while since I did the SSD benchmarks. Glad to hear it's most likely entirely accurate at 4 GiB/s then!
E.g., https://www.wsj.com/articles/meta-employees-security-guards-...
OpenStreetMap Statistics – Website with Plots
> or hack it

I do wonder if auto-makers might suffer some subscription fatigue themselves in the near future when these electronic features get hacked and people enjoy them without paying. The danger of giving someone hardware capable of something and then artificially limiting it is that hardware can be modified, and arguably has stronger legal support for such modification.
bell-cot is simplifying but is basically describing correspondent banking. Banks in other countries need correspondent banking relationships with US banks in order to work with dollars. Banks in countries on the OFAC list can't get these relationships. Even banks in "high risk" areas like the Caribbean are getting their correspondent relationships cut off because US banks are worried about getting fined if the banks they correspond with doesn't have strict AML procedures. See https://www.atlanticcouncil.org/wp-content/uploads/2022/02/F...
Makes me feel slightly less backward about still using imperial units in the US that you and the article both use mph (I’d have guessed km/h).

Is it just a speed thing, or is distance always in miles there? Do people use metric for everything else? (I’ve heard Brits quote their weight loss in stones which makes me feel positively progressive)

Update, Wikipedia:

“ Most of government, industry and commerce use metric units, but imperial units are officially used to specify journey distances, vehicle speeds and the sizes of returnable milk containers, beer and cider glasses, and fresh milk is often still sold in multiples of pints, with the metric equivalent also marked. Imperial units are also often used to describe body measurements and vehicle fuel economy. In schools, metric units are taught and used as the norm. ”
https://en.m.wikipedia.org/wiki/Metrication_in_the_United_Ki...
This piece of software would have to handle all the intricacies of the GitHub actions but also be updated to the latest changes...

We are moving back to a makefile based approach that is called by the GitHub workflows. We can handle different levels of parallelism: the make kind or the indexed by worker number when running in actions. That way we can test things locally, we can still have 32 workers on GitHub to run the full suite fast enough.

I also like that we are less bound to GitHub now because it has been notorious unreliable for us this past year and we may move more easily to something else.
> China's gov't has a hand in every company in its borders, or so it is suspected

Not merely suspected, it's a matter of Chinese law that the Party is represented in any company large enough for them to take notice of.
multiposted in https://news.ycombinator.com/item?id=33754193
I wouldn’t complain if it was a one-time purchase. Different spec levels have always cost different amounts for basically every product.

But what ongoing value do I get for my subscription? Will I get free acceleration upgrades over time because they keep improving the software? Free brake light DLCs that show how hard I’m accelerating? It’s great I can upgrade OTA but what about that means I need to pay over and over?

Acceleration is not a service- there’s no ongoing cost to deliver it to owners and there’s no increase in value to the owner over time to compensate for the ever increasing cost. That’s why I think the subscription model is much more exploitative.
As you move up the manufacturing ladder, skill levels rise fairly quickly - and many college graduates would struggle with these jobs, without undergoing a fair amount of training. Laser welding is fairly high-skill - a mixed combination of laser types, gas feeds, high-voltage equipment, compatibility issues with different laser types and materials, etc. Likewise, auto assembly and steel production are fairly high-skill jobs.

Even the developer world has seen this trend - why pay US wages to developers if you can get the same labor at one-fifth the price in India?

The result of course is the minting of more American billionaires, the conversion of domestic property markets into gambling casinos and rental emporiums, and most troublingly, the loss of much technological know-how to other countries. Radio Shack used to provide electronics hobbyists, whose day jobs were simple electronics assembly, with products; that ended and they tried to become a retailer of Chinese-made products before going out of business.

It's basically the story of the greedy investor class who killed the goose that laid their golden eggs.
how do you deal with the multiplicity in your graveyard. do you number them ?
Babylon-1.
Babylon-2.
etc ..
As an American, I call that stupid on behalf of Europe. Doesn't mean I want my country making the same mistake with China.

If you're a European, I would support parties that cared about your own national interests, instead of kowtowing to America. However I am an American, so I can't change Europe.
Similar tactics were used in US mining towns in the 19th century:

https://youtu.be/E5VMZqgVzRo
All I ask from a CI is to be able to run Docker and access build resources in a structured manner.

Concourse, Circle CI and gitlab do that.
> We’ve all heard the myth of the person jumping at the moment before impact.

I have not heard, what you are referencing?
> Are you sure?

Pretty sure. As this continues, more and more things will be behind paywalls. The companies have every incentive to do this. Then more and more percentage of the value of the car is _not_ transferrable and will need to be paid (again) to the company by any new owner.

You paid X thousand for "upgrades"? Great, that is completely lost money when you sell it.

You can see this in the games market with DLC-heavy games. The physical copies of those aren't worth much because it doesn't even include most of the content.

The effect you explain does exist I think, but to me seems to be obviously overpowered by the other(s) in the other direction.
Serious question: How do we fight back?

It's easy to say "just don't buy it", but a few of us not buying it will not swing the balance sheets when the extra profit is so significant for the companies pulling this shit.

It seems inevitable that these types of subscriptions will slowly take over more and more areas of end consumer lives, until there's such a fatigue and hard push-back on subscriptions that it becomes profitable to create companies that sell products outright just to compete with subscription models.

As-is, launching a company that will compete with the subscription models is difficult. You will have a harder time finding investors (who will see the numbers and ask, "are you crazy?"). You basically have to do this, alongside others, just because you believe it's the right thing to do.

And then you have to not get bought up by a company that will introduce this model.

I'm not saying all subscription models are bad; I believe they're warranted or a good trade-off in a lot of cases, especially in hosted software. But knowing how significant a difference it makes, I just don't see this turning out well for consumers, even if we want to organize boycotts.

So, how do we speedrun to the part where "you own your product" competition exists and thrives?
It is very quick and easy to filter options on homedepot.com, Lowes.com, Costco.com, and BestBuy.com to see many non smart fridges available for purchase.
Villeneuve's movie as of now lacks some visual ambition and punch, and these "BADASS!" Momoa action scenes lowered its value, and the soundtrack felt generic.

I'd say the Dune 1984 "Alternative Edition Redux" remains the best version, yet. It's available on Youtube and definitely worth a watch,
Sounds like what Twitter will be facing in the EU but for quite different reasons. No one left to deal with the regulators.
There’s a (YC?) company called Nimbus working on a similar class of vehicle: https://nimbusev.com/. They’re still pre-series-production IIRC but if they pull it off it’s a similar price point for a much higher performance vehicle.

There’s a lot of overlap with an ebike in terms of use cases but when the it’s cold and/or pouring down rain I’d be much more likely to use something like that than my ebike. Likewise when navigating areas with higher speeds and no bike infrastructure.
Ayayay, the list of partners does not really inspire confidence that this will be the fast success we'd need:

https://www.phoenix-werkstatt.de/#c2669
Letting Europeans deal with Europe was the stance for all of American history until WWII.
Google Says 60% of the Internet Is Duplicate
I guess there must be some upper limit, otherwise normal commercial air traffic at 10k meter / 30k feet would be in serious trouble.

As long as the public land is large enough that you can land the helicopter far enough away from the private property to not expose yourself to other problems (some kind of noise limit maybe?), it seems like it should be doable right?

Fly over the property at 3000 feet and land on public land.
>but not really fit for systems programming

Ironically you say this on a submitted project that uses Rust for systems programming.
not everything is great as everywhere, but I think because the rate of change in Saudi Arabia is so fast, we're barely keep up with the changes while the outsiders still stuck in the era before 2015. simple searches on Youtube for "riyadh boulevard" & "mdlbeast" will easily show how ignorant this comment is.
Mythbusters made a video about that myth.

https://m.youtube.com/watch?v=xmloyCC7MOY
It is possible to use Emacs effectively with just M-, C- keybindings (20+ years experience). Super (windows key) is for desktop manipulation, so no loss on iPad. No idea what is hyper--you likely need to have 40+ years of experience to start with the space cadet keyboard https://emacsredux.com/blog/2022/06/01/the-space-cadet-keybo...
But I'm curious if that is a self imposed condition because they simply can't rent exactly where they want to.

As an example, there was a googler famously living out of a moving truck, because he wanted a short commute and couldn't live right next to the campus in MTV. That was his choice, I don't think anyone would argue google doesn't pay people enough to afford rent.
I’m good no thanks.

These techbros can take their sustainable slop to the weirdos in San Francisco. Most people won’t care and it’s not harming anyone.
>But they can always quit

You’d think, right? But part of the unrest leading to this point were two or three waves of breakouts of employees escaping lockdowns by jumping the fences and pushing past roadblocks set up by local authorities.

Then they started pressuring locals to work there.
My friend just got a job as a delivery truck driver here in WA. Works 4 days a week, from 4 AM to 2 PM, and makes north of $100k. He tells me that the trucking companies are hiring like crazy. Do you think this is beyond the abilities of grad students?