skysight-inc/HackerNews huggingface dataset:
I’d love for there to be a form of frequency separation, where we could keep the details but mess with the colors/less major details.

Photographers have been attempting to emulate various films in different ways forever. Stable diffusion could do it absolutely perfectly.
Sorry that’s absolute nonsense

Did you have some weird experience that you’re extrapolating wildly?
From this article and others that I have read, it is also about work/life balance. Pay is getting better in some places and that gives options. Previously those working 14 unsociable hours a day seemed to be either highly paid execs or lowly paid service workers (yes, a generalization). I imagine that the latter have jumped at the chance to move into the comfortable middle that a lot of HN readers occupy. Many economies have relied on significant numbers of people having no choice but to accept bad pay, conditions & hours and it'll take time to adjust but they really should. Everyone should be able to have a good work/life balance and be paid adequately for a full day's work.
Normally we would know their middle names as well
I believe you'd actually need the axis of rotation to be the same. So a horizontal flywheel, mounted on either pole.
The history of technology is littered with examples of a technically superior solution being abandoned for a crappier solution.
Previously held trademark / copyright somewhere if I remember correctly - the company that owned it came out and more or less no to the name being used; when rumours were swirling about the "iWatch".
The next big thing in 2023 will be
1) this definitely happens if your timeline is on the algorithmic version and not the chronological one.

2) the problem is precisely that I do not want to know what my very topic oriented follow is doing in terms of political tweeting. I’m sure this is a hard problem to solve, and I don’t want someone to be non-political for the sake of their follows. In most instances, I 100% agree with their views without reservation even. I just don’t want to see it on twitter. I would like to see any non political, topic oriented content they like and retweet however.
Sorry if I misunderstood, but did you not just say that 10 was an option? Any options that you aren’t presented with beyond that likely has to do with the rule that you can only build the columns for three numbers on each turn.

For instance, if the first roll in a turn is 3, 5, 4, and 1, then the options would be 5 and 8 or 4 and 9. Let’s say you pick 5 and 8. Then, let’s say your next roll is the roll you described: 4, 6, 1, and 2. In this case, your options would be, as you said, 3, 5 and 8, 6, 7, or 10. 3 and 10 isn’t an option because then you would be building the columns for 3, 5, 8, and 10 in the same turn, which is over the maximum of three per turn. Ditto for 6 and 7. 5 and 8 would be okay because you’ve previously built in those two columns and so this would keep your total at two. Any of the other combinations of two dice (3, 6, 7, or 10) are okay because selecting those would only build in one more column instead of two, keeping your total within the maximum.

Sorry for being so long-winded but I hope this helps.
Not everyone lives in a war zone.
The readme describes some options you have for combining 2D and 3D.[1]

It seems you can either have 3D and 2D on top each other (without transformations applying to both) or include a 3D sprite in 2D. I guess that means 2D and 3D are generally not composed together but separately.

[1]: https://github.com/jnsmalm/pixi3d#2d-and-3d
Which are mostly "Don't be an asshole (No direct swearing, posting Racist Stuff etc.) or do not post illegal stuff"
The Airpods and Apple Watch I think were both legitimately innovative when first released. They were massive leaps over what previous existed in their respective segments.
It's really weird seeing letter ё in English language title. I'd rather spell his name as "Pyotr Kropotkin" or even "Peter Kropotkin", following a commong convention to spell Russian tzar Pyotr Romanov's as Peter.
Well, if that's the only "escape hatch" you have, because otherwise the language authors decided to limit what you can do with control flow...
For Java see The Exceptional Performance of Lil' Exception from Aleksey Shipilëv, https://shipilev.net/blog/2014/exceptional-performance. As always, Shipilëv does a fantastic job at explaining inner details of the JVM and observed performance profile.

A few years ago, I got hit by the high cost of an hidden exception (used for flow control by the JDK) while using LocalDate#format to parse a valid date. It was fun to troubleshoot and fix OpenJDK https://unportant.info/using-exceptions-for-flow-control-is-...

I would be interested in reading similar articles for other languages.
Given that you tend to use linters in those environments as well and that you can turn it off anyway, I'd disagree on that one. There are other factors that would make me hesitate in a professional environment much more, such as community size and talentpool.
Those are all directional antennas, for when your client is at a fixed predictable location.
Yeah we need deaths per ownership or something.
> You can also say that tight immigration leads to automation. Companies will do their best to find ways to reduce costs and increase profits. So limiting immigration will not necessarily lead to wage growth.

That's fair, but technically I didn't say it would lead to wage growth. My point is that loose immigration allows capital to keep wages at their current levels, or lower them, because it's still probably better for those immigrating here than from where (whence?) they emigrated.

> Also, the employee shortage will only get worse as the number of older american increases and number of working age employees shrinks. If it's bad now, it's only going to get worse as time passes.

But is immigration the only solution to this problem? I get that birth rates are low, but it seems like that's due in large part to having kids being really expensive, on top of everything else being really expensive due to inflation. I don't get why we don't incentivize americans to have more kids. I get that orban is a controversial figure, but his plan [0] seems like a good thing for a government to do for its citizens. Why does helping families have to be a right-wing policy?

[0] https://www.theguardian.com/world/2020/mar/04/baby-bonuses-f...
I highly recommend that book; it can be dense, but it is a treasure trove of information.
Enzymes do not reproduce
A hammer is all a good mechanic needs.
Have been through the Django docs tutorial and really like how it has the built in admin panel- a feature I wish rails had. But i work with rails every day and am a lot more familiar with it. Does anyone have a reason to start using Django/python over rails or a node js stack?

I’ve really wanted to pivot towards python mostly because it’s so transferable to software applications outside web (scientific computing being the main “niche” here) but don’t really see it happening. Anyone willing to try and convince otherwise?
Also curious on the tradeoffs between django and flask from someone who has some experience with both
You seem to believe options B to D are not available to programmers in languages with exceptions. The real value comes from making option E much more unlikely: ignoring both the result and error value altogether, because you relied on the side effect of the function you called.
100% this. the most dangerous situation is when people convince themselves that their goal is objectively good and thus adopt a Machiavellian attitude that the ends justify the means. i imagine the thought process goes something like "it doesn't matter how we obtain all these money, as long as we ultimately use the money to do good. the good outweighs the bad, and as long as we get away with it, people will eventually forget the bad with time."

even worse is when the people who have this attitude are extremely ignorant but truly and genuinely believe they have good intentions. they will proceed to do extremely damaging things to other people, causing extreme harm, all because they truly believe their intentions are good, but often their viewpoint is wrong due to incomplete information. these people almost see themselves as heroes and are empowered by their moral conviction from that viewpoint. i've observed this first-hand too many times in my personal life.
"... potash, an organic compound..." - immediate Gell-Mann amnesia effect. Potash is the soluble, inorganic leftovers of burnt plant matter.

What's interesting is how many different names derive from this production method.
- potassium from "potash" (pot ash, collected burnt stuff)
- K from "kalium", related to calcine (burn to ashes)
- Alkali for basic compounds, which nearly all soluble metal oxides are
- Calcium and Ca also derive from this root

(now let me check all of this so I don't Gell-Mann myself)
The first thing on your list, Apple Watch, is only the most successful watch of all time and a ten billion dollar a year business. If that doesn’t satisfy you as something new then I don’t know what would
That's what happens when one tries to shave grams off of the weight.
I'm pretty sure the primary kinetic energy you need to worry about in a fall is the vertical drop.
NFT metadata is stored in a centralized service,like S3,because it is more mature and cheap. The decentralized storage, like IPFS or arweave,is also an option.
and you won't get FU skill or FU money. I answered the question.
i wonder how feasible it would be to implement a syntax coloring mode that provides some indication of instruction count from static analysis. so not quite dynamic profiling, but rather something that uncovers (sometimes) surprising implementation details like this and creates a better sense for what the compiler is doing under the hood.
Thank you! Was starting to think I got all my codebase wrong and misunderstood what is « pythonic »

So doing this in python is ok (fastest way to check if a key is in a dict is catching KeyError for example, if I remember correctly)
My only thought is that using full self driving on the bay bridge is irresponsible for the driver. It’s confusing enough to navigate as a driver with the three transitions - Oakland side, tunnel, and sf side
> Capturing depth in a satisfying way in a photograph is a skill that can be learned, but often it's impossible.

My photography teacher told us "If you can't see the same thing (that you see with your eyes) via the viewfinder, don't take that photo". It took me a decade to completely understand what she meant.

One day it clicked at a very mundane moment, but it was pure enlightenment.
I would opt for the serval project [1]. Having a mobile based mesh network facility that is not controlled by corporations and/or governments is of paramount importance imho.

[1] https://servalproject.org/
max is in there between mini, pad and power.
You have to zoom into the interactive version a bit to see it.
In a lot of cases, twitter’s model is better. In topic oriented websites (reddit is a good example), it becomes a shithole if you happen to share any interest that hits closer to 100k people. So a math or programming oriented topic is effectively able to moderate by pushing the memes and shitposts to mathmemes or programminghumor, but science gets overrun with shitty bots because of how wide the topic is.

In many other cases, reddit’s model works better too. It just isn’t definitively one or the other.
1. No current system is truly hands-free. The GM and Ford systems technically allow you to take your hands off the wheel, but this compromises safety. Tesla could do the exact same thing (they have an in-cabin camera which can tell if your eyes are paying attention to the road, same as GM and Ford). But they don't, because it's unsafe. This isn't because the Tesla system is less capable or less safe than GM/Ford. (It's much more capable, and much safer.) It's because Tesla's safety standards are much higher. The article doesn't mention this.

2. The GM and Ford systems only operate on pre-mapped highways, and were (obviously) only tested on pre-mapped highways. The Tesla system was given only a "limited test" on the highway. Essentially, the article compares GM/Ford's highway driving to Tesla's city driving, while barely mentioning that GM/Ford can't drive in the city at all (whereas of course Tesla can easily do highway driving). This is a ridiculously biased comparison, crossing the line into fraud. An honest journalist could easily have compared highway driving to highway driving. The obvious conclusion is that this journalist is dishonest.

3. The article contains glaring factual inaccuracies. Among the worst is the claim that "the only indication that Tesla's ADAS is engaged is a tiny steering wheel icon - smaller than a dime". This is flat-out false. There is a prominent and reliable audio cue that tells you whenever the system is engaged or disengaged. You can look at the color of the trend line in the car visualization display. The gear display changes color, as does the speed limit display. If nothing else, you can torque the wheel (you are keeping your hands on the wheel for safety, right? Right????) and feel the level of resistance.
Let's be honest here: both sides of the case want "their" expert to testify. I.e., someone who has enough knowledge on the topic to push the given narrative convincingly. There is a massive difference between a court case and actual science.
They're on to us... ERR_CONNECTION_RESET
I’ve been in a Model 3 with 1 fender bender and a near head-on collision due to using FSD in just two days. I wouldn’t trust FSD myself for a few more years at least. A major breakthrough has to happen because the current version feels not safe enough to be in public beta.
No one is against Python developers, you're clearly exaggerating, I would ask for a source but we both know it doesn't exist. What people try to convey the whole time to people coming from python, which I was years ago, is that nim is not compiled python. It's a totally different language. I am sorry that message sometimes gets lost in translation but I don't know what would be clearer than this recent thread.

https://forum.nim-lang.org/t/9737
Can anyone elaborate on the process how companies like Apple can get registered TMs on pretty much any seemingly generic term — Is it that they simply buy out any existing mark that would be remotely conflicting?

Some extremes: Soundtrack, Afterburner, Aperture, Cocoa, Exposé, etc.
Apple's system strikes an interesting contrast to Google's system for naming products, documented at [1].

[1] https://bonkersworld.net/naming-dartboard
Was it PC-Lint?

That was probably a bad choice. John Carmack did not rate it very highly:

http://www.sevangelatos.com/john-carmack-on-static-code-anal...
> After all, are you strapping on a helmet while you're out walking, or driving a car?

you are much more likely to fall from a bicycle than while walking or getting in or out of a car. For people who are at risk from falling while walking, yes, precautions are taken that they not fall or hit their heads (or hips), it's quite dangerous.

I'm not advocating helmet use. But nor do I advocate for me to pay for patching you up if you don't.
btw C can already do this with VMTs:

#define ARR_LEN(a) (sizeof (a) / sizeof *(a))

int a[5] = { 0, 1, 2, 3, 4};
int (*p)[ARR_LEN(a)] = &a;
ARR_LEN(*p) // 5
Agreed. The article also speaks about engineers using these LLMs still as a tool - not necessarily replacing humans, but humans wielding them as tools. Copilot is a great example.
Dinkum raised a great point about the models spitting out falsities or having other issues. We still will have and need human-in-the-loop engineering so that we can discern which outputs are true (or not)!
When all you've got is a hammer, everything looks like a bicycle.
I wonder if being forced to spend more time at home during the pandemic reset people's exceptions.

To your point specifically, we used to be one of those families. Once we had children it did not work out a benefit for my partner to work in the field that she wants to work in (healthcare) as it did not pay enough. The additional net income of a full time job worked out to be about $200/month, which just wasn't worth it.

This changed once we moved country, to one where getting people with children back into the workforce is supported by both the government and companies, with greater flexibility from work and better subsidised childcare.
I don’t think shell end up doing any time.
I recently learned that Darabont intended "The Mist" to be shot in B&W, and the studio wouldn't allow it. While I'm sure the cinematography would have been vastly different if filmed in B&W, a quick Handbrake recompress let me simulate it, and honestly it worked really well. In addition to the "Twilight Zone" vibe, the CGI monsters looked much better without color.
BBC Painting With Light (1987) [video]
Yep. It seems quite likely the UK has a problem with any TLS channel that isn't with a trusted endpoint. There is precedent if they want to take extreme measures - https://www.zdnet.com/article/china-is-now-blocking-all-encr...
2022: The year English became a programming language
And why no charges for Celcius and other ponzis? Are they harder to prove fraud?
We have one already. We can't put energy back in, but it slowly self-extracts and is where tidal power comes from.
> De-federation prevents people who want to communicate from communicating.

no, it doesn’t. in fact, it’s far better than any of the centralized private closed off social media liek fb or twitter.

it absolutely does not stop you from joining any mastodon server you want to join.
I am with you wrt fat pointers for arrays, but what difference would it make here? Will it result in a bounds check and a run-time failure point?
The Rust Result type combined with mandatory error handling leads to very robust programs. It is also easier to reason about, as there is no hidden (non-local) control flow. Exceptions are unergonomical and slow.
> It's very hard to write exception safe code in C++.

How? As long as RAII is used it's basically for free.
Maybe "don't use exceptions for conditional logic" would be a better way of phrasing this. If exceptions become a performance bottleneck, there's nothing exceptional about them anymore.
Thanks nicely laid out.
This is exactly the quantity over quality tactic that he's talking about. "You aren't qualified to debate me unless you read this pile of links to conspiracy blogs and unreviewed open access publications". Nobody is going to engage with that, since the best outcome we can expect is to carefully refute each one, only for you to show up with another pile and again demand we play along.
I come from the future
Given that the I was the prefix of the dotcom-days, I'd say it has become too much of an obviousness for a device to be connected.
> Code emitting exceptions also have no knowledge who (if anyone) is going to handle their output.

This is no different from code returning a regular value. When writing `return -EINVAL;` or `return 0, fmt.Errorf("")` or `return Err(something)`, you have no idea who (if anyone) is going to handle your output.

Also, one reasonable way of implementing exceptions could be exactly to translate all functions that can throw exceptions to functions returning a Result type, and translating function calls to such functions to the equivalent of pattern matching on that return. Of course, this mostly forces the language to only support checked exceptions (otherwise this overhead would be added to all function calls, even those that can't actually fail).

Most languages that implement exceptions have chosen a different trade-off though: make exceptions costly to throw, but make sure they have 0 cost on the happy path. Happy-path code becomes more efficient than it is possible to be in a language which uses return values for errors (since there is no need to check the result before using it), but the unhappy path becomes significantly worse.
The problem is that on some platforms, text doesn't quite scale linearly as you increase the point size. Techniques like subpixel antialiasing with pixel-snapping produce shapes that are more readable on low-res screens, but it also causes distortion to letter shapes, and with multiple letters, depending on the exact text and its location, it can add up to amounts significant enough to cause overflow.
> As you'd expect this includes the 7 counts listed earlier, but there's also an 8th section that's been redacted. Any ideas on what this could be referring to?

My guess would be that it refers to a conspiracy (or other “group” offense, like RICO [0]) for which she was not charged, and which no one else had been publicly charged yet, such that not redacting it would reveal otherwise nonpublic information about how DoJ expects that it might charge other people.

[0] RICO is cited simply as an example of a group offense that is distinct from conspiracy; I am not predicting RICO charges, to be clear.
This! I'd like to think exceptions are reasonable as a terminal state for a particular user workflow, which sometimes even end up having the program terminated. Examples include "unexpected I/O, corrupt files etc."

Exceptions should never be used if the control flow has means to recovery. For example, if-else statements with more different, downstream instructions.
Ask HN: Should we fingerprint generated text / content?
With LLM models released in the wild, should we include hidden fingerprinting text into all generated content?
It's not like all uses of the word "aperture" now refer to an Apple registered trademark. It's just that you can't name an image organizer program Aperture. It's not really a generic term in that context, although it's obviously evocative.
I’m curious if there are ecosystems where get_positive_value would be a reasonable name for the method described. I’d expect something like assert_positive, or check_is_positive, or throw_if_negative. I admit these would suggest returning void rather than int, but “get” just isn’t right either in the ecosystems I’m familiar with (e.g. Rust, Python, JavaScript).
This reads like some typical fanboi stuff.

There are a lot of things to also hate about apples naming schemes, just look at the pro, max, se nonsense they cooked up.

Also the naming scheme of Mac OS versions, i can never figure out which one came before or after the other, there is no rhyme or reason. Why dont they use alphabetical sorted names? Or years/numbers like Windows…?
Thanks for the answer. On one side I'm happy it mirrors my understanding, but on the other I kinda feel some sadness for simple small beautiful solutions. A lot of models feel like brute force to me.
"... Socialism never worked in the past"

It did. It does. Just not in the United States. In the Netherlands socialism worked just fine and provided many great benefits to all, except the super wealthy.
I actually like it, it's a great idea. You wouldn't be surprised if you saw words like Köln or Malmö (or even Malmø) in an English text, right, so how is this different?
Because Apple is a tech company, but also considered a luxury brand. A watch is mostly a fashionable accessory. iWatch would've been a gadget-first name. Apple Watch sounds much better if you're trying to sell it to fashion aware people, besides people interested in the best tech.

That's my theory anyway. Probably wrong lol.
Now we only need it to start up at least 100 times faster than it does currently, and be available out of the box absolutely everywhere.

I have no use for it for these reasons alone.

$ hyperfine -N 'bash -c ""' 'dash -c ""' 'pwsh -c ""'
Benchmark 1: bash -c ""
Time (mean ± σ): 2.2 ms ± 0.1 ms [User: 1.8 ms, System: 0.4 ms]
Range (min … max): 2.1 ms … 2.6 ms 1214 runs

Benchmark 2: dash -c ""
Time (mean ± σ): 0.6 ms ± 0.0 ms [User: 0.5 ms, System: 0.1 ms]
Range (min … max): 0.5 ms … 0.8 ms 4623 runs

Benchmark 3: pwsh -c ""
Time (mean ± σ): 278.5 ms ± 10.8 ms [User: 267.6 ms, System: 64.9 ms]
Range (min … max): 263.8 ms … 297.0 ms 10 runs

Summary
'dash -c ""' ran
3.80 ± 0.23 times faster than 'bash -c ""'
470.61 ± 31.00 times faster than 'pwsh -c ""'