skysight-inc/HackerNews huggingface dataset:
No, the compiler is not "already" doing that. Odin uses the llvm as a backend (for now) and it turns off some of those UB-driven optimimzations (as mentioned in the OP).

Some things are defined by the language, some things are defined by the operating system, some by the hardware.

It would be silly for Odin to say "you can't access a freed pointer" because it would have to presume to know ahead of time how you utilize memory. It does not. In Odin, you are free to create an allocator where the `free` call is a no-op, or it just logs the information somewhere without actually reclaiming the 'freed' memory.

I can't speak for gingerBill but I think one of the reasons to create the language is to break free from the bullying of spec laywers who get in the way of systems programming and suck all the joy out of it.

> it does so under the assumption that the program is not performing aliasing loads and stores to that location on the stack

If you write code that tries to get a pointer to the first variable in the stack, and guess the stack size and read everything in it, Odin does not prevent that, it also (AFAIK) does not prevent the compiler from promoting local variables to registers.

Again, go back to the twitter thread. An explicit example is mentioned:

https://twitter.com/TheGingerBill/status/1496154788194668546

If you reference a variable, the langauge spec guarantees that it wil have an address that you can take, so there's that. But if you use that address to try to get other stack variables indirectly, then the language does not define what happens in a strict sense, but it's not 'undefined' behavior. It's a memory access to a specific address. The behavior depends on how the OS and the Hardware handle that.

The compiler does not get to look at that and say "well this looks like undefined behavior, let me get rid of this line!".
The Normans didn't tear down every Anglo-Saxon church, there's still a number of them standing. A surprisingly high number given their age, really.

https://en.wikipedia.org/wiki/Category:Standing_Anglo-Saxon_...
It's not laughable at all. Before the existence of our universe, there was no time. Time was created along with the space, matter, and energy when the thing "sprang into existence." It's not valid to extrapolate backward to a time before our universe existed. This is a concept that I've tried to explain to others for years, but it's difficult for most people to grasp.
Learnings of an Intern
Wow thanks for posting that, did not know that!
I'm curious. Do you drive a truck or other large vehicle while you're getting annoyed at those nasty hobbyists?
To date, no double blind study has either proven or disproven the efficacy of human sacrifice. So, we really can’t say if it would be a good idea to dismantle Chesterton’s Volcano. /s
this isn't quite right either. most modern cars have brakes that far exceed the limits of grip for the tires. the brakes themselves should only be the limiting factor if you are riding them down a very long hill or performing multiple hard stops in quick succession (eg, racing).
Yes but not nearly as much as the GPU code, which I think is what the parent is saying; it’s typically not the bottleneck.
You need a special license to drive anything with an airbrake which most semi trucks have. Also a special license for more than some weight (18000lbs IIRC). Of your semi avoids both of those I guess you are okay, but that is tricky.
As far as I can see (Chrome’s cert viewer), the cert is for *.cctld.uz, cctld.uz (which doesn’t match uz alone). Do you see different names in the cert?
Thanks for the kind words, we're proud of her too. I totally understand why people feel that way, it is hard but not impossible.
Why would you say that we're the ones in the bubble? Isn't it those other countries that are the bubbles?
I work construction. at least half of the people on the same jobs as me drive their personal trucks 80km to work, park them until the end of the day, and drive home. Not a single tool in them.

The other half drive sedans.
You're comparing the past with the future. I am not proposing one giant managed thing like an airport but much like a small town where you can rent store space and open up any business you want. Although, even it would be for most basic needs. You would still be able to travel to other cities and megabuildings easily because transportation via rail and other means would be much cheaper and convenient. If this was central coast cali for example, you can have one hour rail to LA,San Francisco, and perhaps close enough to most state and national parks and beaches. I do not support people never living the megabuildings but to your point my local fastfood, walmart or even chinese,indian,mexican,etc... foods unless I venture out a bit are mediocre as is the case in most smaller towns.

The thing is, there cannot and should not be another new york or manhattan. We need future cities to be energy efficient, sustainable and defensible. A city that would last the next two or three centuries allowing our current culture and history to be passed on is important and I am not sure cities like new york will be pleasant to live in by the end of the century nor are they or will they be cheap. That said, there many millions of people and they can still continue to live in existing cities but we can't just keep building more LAs and NYCs or continue to pretend homelessness, high rent/house prices, the ridiculous infrastructure required to support cars and the ever depletion of agriculture friendly land and sustainable water are not a problem. Now is the time to fix them not when famine and disasters are killing millions.

But to counter your point about mediocrity, vegas is a good example. I have terrific food and entertainment there despite the seemingly endless interconnected structures of hotels and casinos. Perhaps given the proper financial incentive things can be not so mediocre?
//1 is a full (relative) url
I've only heard the "dentist killers" phrase used in association with V-tail aircraft.
"By far the easiest stylesheet I've ever used. It integrates easily into one all of my startup projects."

- Andy Brewer, Author of MVP.css, when talking about MVP.css

Am I missing something?
This is so real. Last weekend I made it blocks down the road in downtown Atlanta before my phone got a lock worth using.
Perhaps instead of buildings we can think "floors"?
I appreciate the intent of your comment, and while it's true that 95% of my cycling is for my daily commute to and from work, I feel it's important to state that the 5% of my road cycling that is recreational is also a perfectly legitimate use of public roads.
one bus means 30 fewer heavy vehicles on the road
For composite structures that isn't too surprising, but for scalars, I would have expected llvm to optimize the addition and assignment into a single in place addition.
I put cite in blockquote - I thought that was the "rule".

Meta color was new for me -- https://css-tricks.com/meta-theme-color-and-trickery/
You are looking at this wrong. From Apple's standpoint, it is a useless country to travel where you can't even get an esim. Apple iPhone users spend a lot of money traveling around the world. So what will happen is every career in the world will be supporting esims within next year or so. I have an xfinity mobile plan and they don't support esim but they will soon to not miss out on millions of customers.
You can of course hate Apple for doing all this.
An individual receives gratuity benefits in accordance with the Payment of Gratuity Act of 1972 after they resign or retire. The amount can be paid to the employee beforehand depending on the terms and conditions. In order to receive gratuity, an individual must have worked for the organization for five years.
Its only a question because devs went out of their way to limit it, to everyones surprise

Its like if Photoshop broke itself when you tried to modify or create anything nude or provocative, as the default

That would just be weird and thats what these AI software devs have done

so everyone patches that contrived feature flag, but nobody knows if they patched it
these internet anti car and urban planning discussions are like bubbles of alien culture. I would not be able to walk around town, well one of the largest cities in the US, and find ANYONE that thinks like this. maybe if I camped out in one or two particular locations over a few days like the most hipster bike shops I know.

Before I was able to WFH I even rode my bike to work 60% of the time. I'm the outlier..
The comment was edited to add the word “commuter” after I replied and originally suggested someone riding as a hobby or lifestyle choice.
Why momentum and not energy? I'd say the latter. It is energy that deforms your body. So, reduce the speed by 15%, reduce energy by 28% (2*15% to first order, or 1-(1-15%)^2 exactly).

Or, to put it differently, if the vehicle has twice the mass, speed should be reduced by 30%.
If everyone rode a bicycle, there would be a lot more bicycle deaths. According to table 6 of this study, https://injuryprevention.bmj.com/content/21/1/47, 71.4% of the fatalities involved motor vehicles. If we apply that percentage to todays number of bicyclist deaths (900) in the USA, we get 257 deaths that do not involve motor vehicles.

If we add congestion into the mix since everyone is bicycling, I imagine a higher number of accidents would occur. Right now an estimated 67 million people in the USA ride a bicycle for an estimated 15 billion hours combined per year. 228 million licensed drivers times 290 average hours on the road equals 66 billion hours per year. Let us assume the bicyclists will have to spend three times more travel time due to lower speed of bicycles. That equals roughly 200 billion hours of bicycling per year. 200 billion hours divided by 15 billion equals 13.3. 900 257 deaths per 15 billion hours equals 3,341 deaths per year. The average number of deaths per year from automobile crashes for the last few years is about 36,000.

Even if this is a conservative estimate. I think it is safe to say you are essentially correct.
Still, a perfectly valid and relevant submission that the community is interested in and wishes to discuss can be suppressed by just 1 rogue individual with a botnet. That sounds like a broken system to me.
Some tenancies are temporary, and renting can be beneficial in those instances, but most tenancies involve occupants who permanently live in the area and would buy if it were financially feasible.
He’s demonstrating the various components, rather than having actual testimonials, and as such this is just a joke.
Not growing up in the US and only seeing cars like that on TV, I always assumed "boat" was referring to the handling more than the size.
https://archive.ph/xqzhj
Check out https://github.com/cmdr2/stable-diffusion-ui
The Pudding had a different take on eliciting and measuring randomness

https://pudding.cool/2022/04/random/
Rather the opposite for me, I'm now even more confused about what was where. Not that I quite get the picture of an infinite universe anyway, which I guess is the prerequisite here.
If the language has a massive productivity edge over other languages, the language would effectively spawn their own large corporate sponsors, by ensuring companies that use the language make boatloads more money than their competitors.

That's what I think happened with Python, and with Ruby (on Rails), neither of which had particularly large corporate backing in their early days.
Getting to net Q leaves you very, very far from useful fusion.

Structural material that can stand up to the neutron bombardment has not been identified; no one has worked on it in decades. No one knows how to breed enough tritium to fuel it, or how to extract it from the shielding ("blanket") fast enough to be useful, if indeed they did manage to breed some.

Current estimate is that working fusion is 40 years off and receding. People, and particularly startup companies, insisting otherwise are simply lying through their teeth. Securities fraud is poorly enforced.

Q is thus not very important, except maybe for getting more money.

So, there is nothing here to get excited about unless you are very keen on plasma fluid dynamics. Plasma fluid dynamics is probably the hardest kind of physics, so anybody who can do it deserves respect. It is a shame we can't find much for them to do besides fool with fusion and work on actually-useful ion propulsion.
Part of the reason I like driving on the Autostrada in Italy is that trucks are speed-restricted. Their speed limit is posted on the back of the truck itself so it's easy for anybody to see if the truck is speeding, and I'm led to believe that the penalty for speeding trucks is pretty severe. This may also be true in other countries; I don't know. It's not the case in the US and I wish it were.
It was called boat because they didn't handle very well, and were tricky in tight situations. It was derogatory, though it was said in that tone of voice for sarcastic reasons.
This is also kind of similar to the Newcomb Problem (read the Solution page for an excellent shott story)

http://www.greylabyrinth.com/puzzle/puzzle014
Or encouraging
IDK if it uses server resources each time. It's possible the model was created using a server, but that all processing happens locally. Modern iPads have incredibly powerful processors!
It takes years to decades for a tax situation to reach the level of fourclosure on reasons of property tax and if a reasonable issue for health or otherwise the state could even waive it due to non-use.
Good thing GP is using their bike to commute then. Unless commuting is now considered a hobby?
Interim guidance from Microsoft [1]

>Microsoft plans to release an update to support this change; however, there may be insufficient time to properly build, test, and release such an update before the change goes into effect. In the meantime, we recommend that organizations with devices in the Republic of Chile temporarily disable automatic DST adjustments in Windows to reflect the correct local time between September 4, 2022 and September 11, 2022.

[1] https://techcommunity.microsoft.com/t5/daylight-saving-time-...
That is true. Islam has had many more centuries of practice (and quite a few Muslims drink depending on how strict they are ).
> Being invaluable to the team gives you negotiating leverage.

In my experience it hasn't panned out like that.

We desperately want to believe it, because we see how valuable we are to the business. But the reality is that the people making decisions rarely understand the value of the dirty work because they, themselves, have no interest in it. It could be absolutely critical to the business but they will happily walk away because they have no interest in understanding the work you do or its ultimate importance to their own goals.
This StackOverflow answer [1] goes into performance details of INPLACE_ADD versus BINARY_ADD.

[1] https://stackoverflow.com/a/15376520
> Network calls are easily made — function calls in a backend can require passing some kind of a huge config structure, or might be entirely unavailable if you're using a compiled language, while network calls can be done with nothing more than curl/grpcurl/etc.

Define "easy" because curl is not "easy" compared to a function call and involves building a few large datastructures to work at all.
Thank you for the pointer. I'll look into that at the next chance.
Molecular evidence for SARS-CoV-2 in samples from patients since late 2019
These are both "activity" based definitions of happiness, which kind of misses the point.

Talk to people on their deathbeds and you'll notice that they talk more about relationships than activities.

The older I get, the more I understand what they were saying.
> buses, despite their size, kill far fewer pedestrians and passengers.

Is that still true after you adjust for the number of buses on the road vs. the number of cars? If not, then this is like saying driving drunk is less dangerous than driving sober since only 30% of car crash fatalities involve drunk drivers.
All the time I’m on narrow, curvy 2-lane highways and these guys are flying by, inches from my car, in their monster pickup trucks that barely fit on the road with their tires right on the double yellow line.
Depends on the field, python is almost never the bottleneck in CV - but it almost always a bottleneck in NLP or Search research.

Regardless, the code in the github PR should be running strictly in pytorch for the heavy lifting. Clearly something is touching python that shouldn't be, or must be for frustrating reasons.
This is like saying that passing a struct vs a pointer to a struct is a minor change for C code. I mean it's just one extra * !
I'm not sure this is the conventional use of the phrase "fast path."

But anyway, the idea is usually that the Python code calls out to the framework with operations that are in some way "large," and so the overhead is not so significant.

Python probably doesn't have to do any marshaling, hypothetically the framework could just return an object that represents a pointer. Then the python code sends that pointer to another framework method.
ISP related in so far as this is where most people get their DNS queries resolved by default (DNS servers configured with DHCP).
`mkdir ~/Desktop/charl-e/samples` to fix that.
The scientific method. If you ask how the hypothesis that Chinese concrete moved the Earth was tested, you won't receive a response.
Ask HN: Is it inefficient to execute programs while working?
tldr; I execute my programs without dry running them in my head first, is that inefficient?

I have a habit of executing the entire program, after I implement a feature to check if it's working correctly.

I usually isolate my functions, in a small test environment, so the feedback loop is fast enough to highlight issues, if any.

But since I started working with a larger code bases, this approach feels inefficient. So my question is, would it be more efficient to read through the code and find out any typos or logical issues before actually executing the code?
It ups your chances. I try and choose small, well-written libraries to work with in everything I do. Too many batteries included and they start to leak eventually.
How does this compare to the ‘Timeshifter’app?

I’ve used this quite successfully a few times on Aus to US/EUR trips in the past, with zero jet lag.
It can run much faster.
For example, using the PyTorch nvFuser JIT gives a 50% speedup:

https://old.reddit.com/r/MachineLearning/comments/xa75km/p_p...
The end goal should be allowing people to not have cars if they wish to live that lifestyle, and not taxing (either directly or via things like parking minimums and other externalities) non car owners for cars that make their lives worse.

It is impossible for everyone in an urban environment to drive (you wind up with the katy freeway if you try and it still doesn't work), so just make the bare minimum concessions of space and priority to allow those people who don't want to be in a car to get out of your way, and pay the whole costs of your driving (which are presently on the order of a dollar a mile, but would also go down with more equal use).
"Hey, you're attractive, intelligent and funny. Would you like to go out for dinner?"

Somehow this phrase is impossible to say to a stranger these days.

So little ability to speak, meet, not be offended, say what's on their minds, relate to each other without a meme.

Add to that "dinner" is just for old folks and these youths are more likely to go to McDonalds to eat sugar than a place which has fresh fruit and veg delivered on a morning, but then we're into an even deeper hole.

What's a date? A few beers and a quick fumble? Join me for a climbing wall, fishing, comicon, new game shopping, night at the theatre, then a meal in a place where there is a wine list, then cabs home and I'll see you again if you enjoyed it. Oh, you want sex tonight? Let's call it coffee and drink it together in the morning.

YMMV, of course.

This lack of ability to communicate without a device is a real help with our overpopulation issue!
Since we all carry veritable supercomputers with GPS in our pockets now, it's the perfect time for everybody to switch [back] to true solar time. Your noon is when the Sun is precisely at its zenith where you are.
I've thought for a long time that having an org historian/librarian would make sense. Someone whose job is just to interview people in the org about what they are working on, what sorts of things they know about, any special things that person feels only the may know about ,etc. Then compiling that into something that is searchable but also acting as a resource to the org for "I know someone here has solved a problem like mine before but I do not have a way to find out who".

Most places I've worked have had people who are longer tenured fill this role unofficially but I think there would be value in having it be an official role.
> 99% of trips can be done in a 400kg LEV or even a 30kg single occupant vehicle, but some tasks legitimately require a 3 tonne truck.

If that's the case, it might be more economical to do the majority of work with a smaller vehicle, and rent the larger vehicle when necessary.
Anyone try it on a macbook air m1?
http://microsoft.com./ has an interesting 404 page
Simple weather service added:

https://github.com/iamsrp/dexter/blob/master/service/weather.py

Feel free to hack on it, if you're still game.
Federal judge halts Arizona ban on filming police within 8 feet
> I work on retro websites

Can you please share links?
The ‘fuckcars’ subreddit is popular lately, often pops up on the r/all ‘front page’. It vaguely seems that US people have a suspicion that the need for cars and the revulsion to public transport are in large part due to the existing state of things, and aren't an absolute requirement.

Still, it's fun to see that USians' current ideal of public coexistence is to be separated from each other as much as possible.
Better still, just store dates as ISO-8601 standard YYYY-MM-DD format. Mucking about with timezones at all inevitably introduces bugs when you're just talking about dates.

Of course, times sometimes do need timezones. But calendar dates (like Christmas, or your birthday) almost never do and having things automagically do adjustments based on that and give the wrong results is just a pain.

That's one thing I don't like about many standard libraries. They'll have a DateTime object that does all kinds of automagic stuff for you (or against you), but no concept of just a date itself. Many bugs occur between 2300 and 0100 due to that (and sometimes between 1100 and 1300 because people try to compensate for the buggy adjustments by setting the unwanted time component to noon).

Another problem arises when the server's timezone is set to X, the database's timezone is Y, the software's timezone is Z, and one user's entering data in timezone A while another is reading it in timezone B - and all of the software parts along the way are each trying to automagically adjust it. A good reason we should just all switch to UTC and drop the idea of timezones entirely.
The way I understand it, time is defined in terms of entropy- the points in the space of configurations of the universe adjacent to ours are all possible, but the ones that are most likely are all possible future points and the ones that are least likely are points in the past. Entropy is always increasing, on the macro scale. (The past, like the future, is uncertain and there could be many past states leading to this point.)

But, in the early early universe, all the configurations are equally likely, or rather there are no points any more unlikely, so there is no past, every direction is the future.

That’s not very precise but basically as I understand it that’s why there is no earliest moment.
Yeah this was terrifying for me when I had to move with a family. Smaller trucks were too small. Next move I'll pay people to drive those monsters or take two trips.
Which is misleading. Which would you rather do: gently set a 50lb rock on your toes, or drop a 5lb rock on your toes from 4 feet in the air (equivalent to an 11mph collision)?