skysight-inc/HackerNews huggingface dataset:
?:
Is like if, but it’s an expression rather than a statement so it can go lots of places.

I can’t see where l is declared. I’d guess it is a union. The tests figure out what kind of structure is passed in. either a plain old c string, a cstring in a big buffer, or a char.

I think that’s the gist in words. Kinda like a match expression over a sum type
The 3 makefiles I wrote were actually for a medium-size open source project https://www.oilshell.org/ (medium measured by lines of code)

I could probably write a blog post about this, but for two of the Makefiles I needed to enumerate the rules dynamically (inputs weren't fixed, they were "globbed"). And my memory is that this interacted very poorly with other GNU make features build variants

Whereas that pattern is extremely simple with Python/Ninja. Just write a loop or a nested loop and generate a build rule on each iteration. It's done in 5 minutes, whereas GNU make was a constant struggle.
> Please don’t while you still can.

Counterpoint: you (reader) should give in to that gnawing feeling of curiosity. One little peek never hurt anyone.

(Really, it’s not that bad.)
Checkout https://text-generator.io for an api compatible switch from gpt-3 for generating text or code but at a reasonable price, there’s some upcoming alternatives got Dall-e too like disco diffusion or stability.ai one day would be a easy switch to a cheaper or better quality ( or both) service from dall-e so keep an eye out for competition. There’s monopoly level pricing in openai right now so be careful y’all
> CPU retargeting/recompilation from 6502 to R3000

Is this converting 6502 assembly to R3000 - not recompiling the source?
https://wikiti.brandonw.net/index.php?title=WikiTI_Home

Cemetech is the largest (and now maybe the only) calculator forum around. There’s also a few IRC channels on EFNet
Very good points. But frankly, this is Capitalism self-preservation in action. Convincing people of being proud of whoever they are is easier than fixing a systemic issue created by greedy corporations. It’s like prioritizing personal responsibility as a sustainability policy. It’s easier to buy into an ecological lifestyle (put down that plastic straw!) than fixing the systemic underlying issues through which big corporations generate profits.
There's more to being well off than immigrating with lots of money. For example social capital in the form of stable families, support networks and education (useful even if you can't get a job directly with it). Furthermore, immigration filters out people with criminal record.
If you can turn your keys into byte/bit sequences, and most of the time you can, you can use crit bit trees or binary Patricia trees. These are fast structures and support ordered traversal. They also do not rebalance and do not require locking the whole tree.

Skip lists are built upon double linked lists, many of them. Parallelizing operations on double linked lists is not easy, it is quite easy to introduce potential deadlock.
I'm a huge fan of MAZE RATS. Check it out: https://questingbeast.itch.io/maze-rats
I think you also misread the article. It clearly said that an optimized switch would still run as a series of "if" tests, and that when he got the compiler to generate that code, it wasn't faster.
Or even better, forget about GDP and use national income instead since it is better for measuring sustainable growth. For example if a country takes 100 billion euros of oil from its underground reserves, it will have a 100 billion GDP but 0 euro national income. We need to improve the economic indicators that use or at least be aware of the implications of our choice since they impact economic strategy
Most indie game devs do not turn a profit on their work. The numbers vary from year to year but on average an indie game that launches on Steam earns in the $1000-5000 ballpark, which limits how much time you can profitably put into it.

Of course, if you can hit it big the numbers can be pretty good. But not many games manage to hit it big. It used to be much easier to get visibility as an indie a long time ago, but that's partly because there weren't very many indie games on storefronts like Steam, Xbox etc at the time so being there got you attention. Now hundreds of games come out every day and are competing with you.

I do know multiple indie devs who do it for a living, but they tend to have to supplement their game revenue with contract work, or they split the burden with a spouse who has a regular job.

Personally I've worked on multiple shipped indie games and have never earned enough off that to pay rent, though it was nice to get a few thousand in post-launch royalties over the span of a few years + the initial amount I earned working on it. I always had to supplement things with traditional freelancing or a day job.
What do you mean? Colonies of small organisms often form perfectly straight or uniform patterns.
Gad to see they have already thought of my first guess. Gases raising from the sea bed. Could be something as boring as that.
Look at it this way: if you’re on vacation but have to carry a pager, monitor it 24/7, and be able to respond in 5–15 min, are you really on vacation? No, you’re working.

Same as when I’m stuck on a bit of code and I’m looking through the window or taking a walk to think the problem through: I’m working and get paid for it.

Why should being on call and it’s mental + physical (being sober, within arm reach of your computer) burdens be any different?
Plenty of people feel that Jellicoe didn't botch the battle of Jutland.
Tri axle dump truck for sale is one of the most popular vehicles in the world. It has many uses and has been around for a long time. The tri axle dump truck dimensions are typically very large, so it can carry a lot at once. This makes it ideal for construction sites or other places where you need to move heavy things around regularly.
Fair warning: The subreddit is focused on _triggering_ the phobia.
Just like it happens in C when driven by assembly output on a specific compiler version.
It is no different from compiled languages, that is one of the reasons why most compilers regardless of the language, allow to look into the generated Assembly.
Only if the value of a hole of equivalent dimensions is constant and independent of location.

There's a whole Disney movie that demonstrates not all holes are created equal.
Haven't gotten past the first couple of chapters so I don't have strong opinions on whether the theory is "true" or not.

But one thing I don't see mentioned enough is that it's just a brilliant piece of literature. So poetic and clear at the same time. And just rich with interesting tidbits and philosophies... very refreshing.
Same here, in Istanbul we almost got in a huge fight because they tried charging us like couple hunderd dollars for a simple haircut. Also cab drivers fucked us over every single time.
I guess Japanese scientists saw those benefits in 80's? https://en.wikipedia.org/wiki/Fifth_Generation_Computer_Syst...
I'm sure the logic of advertising dump trucks to tech guys made sense when someone pitched it.
Back in my university days, one of my professors claimed that he was the first (or at least one of the first) person to implement one of those annoying mouse cursor trail effects in JavaScript. He was an interesting guy.

Looking back at things, I think interactive web pages are a curse that should not have been invented. But it's far too late to put the genie back in the bottle.
I don’t know why it’s so hard to get your point across. 100% agree with you.
Please consider COLA: http://people.seas.harvard.edu/~minilek/cs229r/fall13/lec/le...

A hierarchy of sorted arrays, with merging when needed. Single access time is O(logN), scan is theoretically the fastest possible, inserts and deletes are also O(logN).

Almost no pointer chasing.
yes. other possible arguments are overlays and package selection modifiers (like whether to include non-free stuff or stuff that is marked as broken).
Maybe, anyway it's worth opening a case with ST support. I found a bug in STM32L0 a few years ago, and they did help (they found a software workaround which was not yet documented- had to do with waking up from deep sleep).
It’s nice if you would prefer to use a custom allocator, or put small buffers on the stack. But yeah, it is more annoying to use.
TCP can't multiplex. HTTP/2 runs over TCP and does multiplexing.

WebSocket can't multiplex. Nothing prevents gRPC over WebSocket implement multiplexing itself.
Yeah unfortunately there probably isn't a "best practice". I think there are just many types of projects and their needs vary. I think a big issue is what your dependencies are.

This person mentioned Ruby + Ninja, and I similarly used Python + Ninja (borrowing the ninja_syntax.py from the Ninja repo itself).

https://news.ycombinator.com/item?id=32303692

I'd say if you can get away with it, using a real language like that is straightforward and good. If you have a low level project that doesn't depend on anything (like a shell or VM :) ), then it will probably work.

I admitted I probably had to rewrite a small portion of the "120,000 lines of CMake" that ships with CMake, in Python. And that took some time, but it ended up working well for my needs.

If you have a big project with lots of dependencies (especially optional / detected ones), I think that is probably where CMake or Meson is better. They both use Ninja, but I haven't used them myself.

---

But I would also say that there aren't many best practices around GNU make either. The usage spans a very wide range... And lots of people generate it too, like Ninja -- kconfig for the Linux kernel generates GNU make, etc.

autotools and CMake both generate GNU make too. It's a big mess, but I think Ninja is a good foundation for at least not "starting with a mess" :)
They would have been correct up until 6 years ago.

FCC regulations prevented any governing body from prohibiting the installation of a HAM radio antenna.

After the passing of H.R. 1301 in 2016, the HOA may legally require you to get their prior approval before installing an outdoor antenna of any kind.
Jaynes claims it wasn't physical evolution but an adaptation to changing social conditions, i.e. the hardware (brain) remained the same but the software (mind) changed.
Homeopaths will have a field day if there is even hint of a science suggesting water has "memory".
Seconded.

I've been a big WWII guy my entire life but never realized how much I'd been shortchanging myself with neglect of naval stuff until I started watching Drachinifel.
Just do it rather than read books but if you want read something on the side I would suggest https://www.amazon.com/How-Get-Rich-Greatest-Entrepreneurs/d... . It is epitome of Don't judge a book by its cover. Title is stupid and cover is ugly but book is very good and probably best book about general entrepreneurship. Then if you wanna go to startup rabbit-hole I would read next https://www.amazon.com/Zero-One-Notes-Startups-Future/dp/080... .
> a money-grubbing mercenary

Yes, we should all be working for free for the sheer pleasure of changing the world, making VCs and company owners richer, and for the privilege of working under you.

Come on, expecting to be paid for work shouldn’t be a fireable offense or a signal for you to look for a new chump that will accept a worse deal.
I don't know about your company but that's how it is at Google at least. It's not escalating, it's asking for coverage. It's different. Escalation happens if you miss your pages or if there's a larger outage happening (in which case IRM principles apply and more people are called in to contribute, including your secondary/tertiary/rest of the team/other oncall teams).

Your secondary is someone who's not oncall but is available in case you need help or you become unable to acknowledge pages for a limited amount of time. You get into a car accident? You have a fever? You find yourself in a family emergency? Your secondary should be available to take over (it's not an escalation). I would regularly organize my commute time in the morning with my secondary because I'd have spotty internet (although later on we stopped doing that because my oncall response time was long enough for it to not be a problem), I'd tell them "hey I'll be unavailable between 9:30 and 10:00 am, can you cover me?" and they'd turn on their pager and take over the oncall duties while I commuted.

For people with stricter oncall response times (like google ads or google search SRE), you'd often communicate/coordinate with your secondary for everyday things like "going to the store" or "taking a shower". My friends in search-sre would just tell their secondary "Hey I'm planning to take a shower, can you cover me?" and they'd turn on their pager.

Maybe other companies do it differently, but that's how Google does it.
> I don't think the West ever spoke out against America when it waged all those wars.

Oh for christssake. There were so many global protests against the Iraq war that there’s an entire fucking Wikipedia dedicated to them.
https://en.m.wikipedia.org/wiki/Protests_against_the_Iraq_Wa...

You can Google “protest against Afghanistan war” and see that … well, fuck, there is, again, an entire page of Wikipedia documentation.

https://en.m.wikipedia.org/wiki/Protests_against_the_war_in_...

The only conceivable excuse for your ignorance would be that you were born after 2010.
Are you saying they should be ashamed?
This is actually where I first saw this phenomenon. These men in the article weren't the first to try this concept.
V8 did not have an interpreter in 2013.
>Shit we realized later that HTTP/1.1 did not necessitate trailers because they could abort the connection and we can not afford to do that anymore

This is an interesting point, but I don't think it's correct. The HTTP/2 spec allows you to send a RST_STREAM frame to indicate that an individual stream had a problem. To be contrasted with an END_STREAM frame that indicates an individual stream ended successfully.

https://www.rfc-editor.org/rfc/rfc7540.html
I’ve used it in many contexts and compared mean median and trimmean in many different distributions (even bimodal ones); trimmed mean works amazingly well and is very robust at representing the data’s central tendency in many contexts. Depending on how much you trim it, it can essentially get close to a mean or a median anyway. So consider it more as a mean or median but with a bit less outliers or a bit more extra context respectively.
They are pretty regular, but not perfectly so; and in the vid they are sorta straight but do curve a bit. Biological regularity it less rigid than physical regularity.
> Having a tolerable experience when forced to hand-write JSON?

Pray tell, which intolerable experience did you ever had writing JSON by hand?
400 lumens - you better have good curtains.
> are you really on vacation? No

Correct

> you’re working.

Incorrect

Regardless, people *are* getting paid for their oncall availability. Just not at a full rate (or 150% which would be even larger).
Not always straight.
Doesn't amazon also have an IC track (with Principal level) and Engineering Managers?
The point is they can get that days worth of charge in an hour by just plugging in under the canopy, so it’d be silly to make an exception for such a rare car.
Scientists bringing dark matter to the pub
It's not fundamentally different but it is generally a lot easier to predict what will be fast with e.g. Clang than V8.
Well, the trouble with American Gods is they streeeetched the original material so much that I stopped watching somewhere at the beginning of the 2nd season.

Felt like the Hobbit - if you cut off 2/3 of it it may be a great movie but as it is it's a bore.
Additional quote from the article: “People will tell you that you don’t generally eject when you think you’re going to die, you eject only when you know you’re gonna die.”
I think `Object.prototype.then` would break every source file that uses `typeof o?.then === 'function'` as a check for PromiseLike behavior.
If you are too busy, you will not think of the optimal solution to your intellectual problem.

I don’t know about other people, but I often have the experience of banging away at some problem for a few hours, then going away and not thinking about it for a while then a simple resolution pops into my mind without much effort.

Continuing to push hard when you aren’t getting any where on an intellectual puzzle isn’t always the best approach.

And there are some fields of inquiry where deep concentration and deep knowledge is useful. For instance, rather than recreating all the knowledge by your own trial and error you can read and then make truly novel mistakes.
https://news.ycombinator.com/item?id=3367230 from 2011
> and only priests that specifically worship Hat can cast the spell that teleports you to the location of a random other player on the server

Actually anyone except for witches and wizards can use that ritual with a faith rod, as well as regular passaging (Divine Hand). And to add a few more methods:

- The JPCT wizard spell (magic portals) is another common method of travel, available to anyone via scrolls (but more easily for wizards, who can remember it).

- There's arcane transport for faster (though more expensive) travel, compared to carriages, especially between continents.

- Some use L-space for travel, or follow Khepresh (an NPC Hat priest who visits random players).

- The taxi system, with players moving other players around (for a small payment, free for newbies). 5 taxis online at the time of writing.

- "Speedwalking" (client-side routing) is commonly used as well.
How old are these ? I feel like the chain of a ship's anchor could imprint such a pattern, and wither away if the water is acid enough. Near a volcano for example.
I would like to see your Benford’s law analysis and compare it to the Iranian elections.

What natural immunity obtains against variants like Omicron?

And you talk about birth rates being down, what about COVID stillbirths in unvaccinated mothers?

https://www.propublica.org/article/covid-maternity-stillbirt...
Linz/Vienna/Salzburg| QA Engineer (Test Automation) |On-site| Full Time| Limited Period Contract

We celebrate diversity, foster inclusiveness and encourage individual expression in our workplaces. We want you to be your amazing authentic self, embracing your differences and individual experiences to help us change lives through the power of sport! Runtastic is proud to be an equal opportunity workplace. Everyone is treated fairly regardless of race, gender, age, ethnic background, sexual orientation and expression, or other differences.

Want to support hundreds of millions of people in their fitness journey? We are looking for two QA Engineers to join one of our product teams and work for the adidas Running and adidas Training apps.

You will be working in a cross-functional team to produce acceptance criteria and test cases for multiple scenarios by challenging assumptions and identifying edge cases. You will be responsible for building, executing, and maintaining manual and automated test cases as well as generating stakeholder reports.

For this role, we require 1+ years of hands-on experience in Mobile Testing as well as great know-how with scripting for test automation, ideally with Java or Python. Moreover, experience with test automation tools, preferably Selenium or Appium would also be a requirement.

For more information, check out the full job ad: https://www.runtastic.com/career/job/?job=518899&no-cache=1.
Supports, but it's no longer the default for local variables. since 70s in Scheme and 80s in LISP.
I feel it's common in most cultures. As a former Rhodesian and South African, it's seen as fair game due to viewing things as a 'rigged system'. I always used to think we were far more corrupt and nepotistic than the rest of the world due to the insane scale of said corruption and nepotism in both the private and public sector, and yet when I came to the UK it's still a pretty universal thing, albeit on a lower magnitude and far more covered up.
Even in conventional fighter aircraft, pilots would be killed from hitting the rudder or the stabilizer, or in some horrible cases, their chute would get caught on the tail and pull the hapless pilot down with it.
> Right… and the fix is to switch from JSON to JSON5.

Not really. JSON offers no challenge in editing by hand. All comments I've seen in this thread boil down to people trying to pass off whimsical nice-to-haves as this sort of insurmountable problem.

I mean, I do like a nice git history with small diffs. Not supporting trailing commas is unfortunate as it can cause the trailing line to show up in diffs if you add a comma there. But is this a problem? No, it is not.

Let's be honest here: JSON5 solves no problem worth solving, at the expense of breaking compatibility.
To become wise, think more, do less

Which actually means practice (or perform) thinking more and probably reduce "less meaningful" work (not just "meaningless")

Increasing efficiency & accuracy in thinking and performing actions

Above are my very rough thoughts.
> you can long press on the space bar till you get haptic feedback, then you can move the caret around freely. However, if you want to select text, you need to use a second finger on the keyboard after you start moving the caret around

Now how as a "user of apple products for 8 years" was I supposed to guess this ? Thank you ! You made my day !
TFA doesn't cover any cases where switch statements got optimized. It starts with the relevant code getting deopted, then the author tries a fix but the code is still deopted, then he removes the switch statements.

(Mind you I'm not saying switch statements are fast - they may well be slower than the alternatives even after being optimized. I'm just pointing out that TFA isn't about the performance of switch statements, it's about avoiding deopts.)
> How did this get to the front page?

Because it contains the magic words (tax the rich).
It could also be argued that "medianism" is the perfect method to hide income inequality, because median is resilient to outliers, so the billionaires will not affect the median at all.
Every metric can be "gamed" and so can the median.
Why We Have Containers
I have this bookmarked. It's a great thread.
Thanks for recommending this! Haven't heard of him before but really interesting read.
Just got a 404 too. I wonder why they took it private.
Raises hand. That would be me. Bootstrapped for 4 years. Eventually raised some funding. Focused on open source Dev tools and then used it to build this API platform.
How are they the same? One is evaluating your risk, the other your leverage.
Ah, so 'codes' is the setting for that flag that erlang's behaviour matches. Which in an old-school prolog makes complete sense, but if you can encode the 'chars' variant efficiently then that works out fine.

For those not that prolog literate (like me): https://stackoverflow.com/questions/8264699/what-is-the-diff... seems to help.
By causing a reallocation of resources everywhere else - Fossil fuels would only be used where there is no alternative. A carbon tax won't completely kill them off, but it will cause anyone who can to switch away.