skysight-inc/HackerNews huggingface dataset:
While I'm sure there are many instances of the police taking crimes against institutions more seriously than crimes against individuals, your motorcycle example isn't a good one.

The paperwork mixup described in this comment doesn't sound like an attempt at fraud or theft because no evidence of intent to deceive someone or take property from its rightful owner is described. Indeed, when the previous owner of the motorcycle was contacted, they corrected the paperwork.
it doesn't have left recursion, but grammars in general can have left recursion; it doesn't make them ill-formed. warth even hacked in left recursion as an extension to pegs
I worked for a company that hired a lot of developers straight out of college and I found myself doing a lot of essentially developer mentoring and encountered this daily.

I would have to stop and ask "What are you trying to do?" but I found people would find this grating. There's definitely a balance where sometimes you just need to let them learn from experience.
I'm aware that binder itself isn't written in Java of that's what you mean (?)
Thunderbird has WAY more brand recognition than "K-9 Mail". And at least the current Thunderbird maintainers care more about their product than Mozilla cares about Firefox.
350B H/s was achieved in 2012 on consumer hardware. That's over 12 years ago, and several lifetimes of GPU improvements ago. 4
diceware words is simply not appropriate for anything remotely confidential, and it is bad for the community to pretend otherwise.

https://theworld.com/~reinhold/dicewarefaq.html
It's in the annoying category where it can be used as a slur but also gets used as not-a-slur, including but not limited to by the people it describes.

Locally (north west england) people generally use "traveller" as a description ... but there are definitely people who use that as a slur.

Language be like that sometimes.
Which segfaults are NOT the result of memory safety violations?
First thing I drilled into Apple phone support folks.
> I once made the mistake of using an external ID as a primary key. What a day it was when they were changed on me.

I've kept with this advice for the most part, but I'm tempted in some cases to use the external id when there's some guarantee of stability and universality. Like 2 and 3 digit ISO country codes.
yes, exactly correct

it's common to write recursive-descent parsers without this kind of backtracking support, though, because expressing that kind of backtracking in a natural way requires coroutines
And this is why you should always, always have a `final` CTE and the last line should be `select * from final` so that you can easily change this.

We use a LOT of SQL at $current_dayjob and I almost always end up adding this to the queries. Clearly I need to do a better job of evangelising my approach.
I agree and it can be very frustrating. You put a lot of effort into something and get almost no feedback/traffic (I also don’t write for money or make money from my blog, but it’s nice to see people read it) and then you can write a pithy comment or post that doesn’t dig into the nuance and it will blow up.

Some of my highest upvoted HN comments are 1-2 sentences but when I’ve responded or posted something well thought out or detailed it sometimes gets no votes/replies.

I try to “forget” this phenomenon because I don’t want to trend towards one-liners optimizing for engagement but every time a throwaway comment blows up I get somewhat frustrated that the well-reasoned reply/comment I wrote the previous day/hour/minute was ignored.

Thankfully I’ve had longer comments/posts gain traction so I know it does happen. I wrote a detailed blog post [0] on the Kroger (grocery store) app and posted it to HN but it got no upvotes (maybe 1-2) and didn’t get any comments. Thankfully, and this was news to me, the HN mods will occasionally take a post they liked that didn’t get attention and throw it on the front page to give it some more visibility (and then it can sink or swim on its own). They did that for this post and I got to participate in some enjoyable discussions on the topic.

That’s really what drives me to write (which I do rarely), the resulting discussion/feedback, well at least it’s a close second to just getting my ideas down on “paper” which forces me to think about them in new/interesting ways. More than once I’ve gone into writing a blog post thinking a certain way then I’ve changed or altered my thinking after putting my initial thoughts on the page.

[0] https://joshstrange.com/2024/02/11/krogers-digital-struggle/
A problem we've been having since the medireview age.
What about if the FTC discovered information that they had no idea about existing at the point of merger, would it be OK for them to go back and reconsider the merge if that's the case, with this new information?

That's how the article reads to me at least, that the FTC wasn't aware of the documents/information even existing, so obviously they couldn't ask for it at the time (an unknown-unknown, rather than known-unknown).

Overall, I feel like the article itself is withholding information about exactly what information is now known by the FTC, so hard to judge anything here.
I wouldn't blame the universities.

Almost everyone embellishes their resume. Some do it to an extreme. The first stage should be weeding these people out, and any hiring manager learns this lesson very quickly.

Story: I learned this as a hiring manager early on. I was the resume screener, first contact and then last contact. Everyone in between was my team and other adjacent teams. I failed to ask the right questions in a phone screen and when we brought this guy on-site he failed very bad. Even worse, he broke down begging for for another problem he could solve.

It was bad for everyone and we were a very accommodating group that gives many tries. We weren't looking for perfect answers to one question.
Yeah, a simplification in some ways no doubt.

One thing that's seemed surprisingly smooth is the increase in compute per dollar https://149909199.v2.pressablecdn.com/wp-content/uploads/201...

You'd think it'd sigma curve but for more than a century on it goes, with no immediate sign of stopping.

For most of that time improved computation hasn't been very noticeable - a 2010 computer does much the same as a 2000 computer. However the point around now when they overtake us is kind of a big deal. The switch from biological life to tech processing being the smartest things in our bit of the universe for the first and only time since the big bang.

Looking back we had our ancestors reproducing and dying for a trillion generations or so since unicellular life, going forward our virtual descendants being immortal. I think the author has it wrong with nothing much changing. (1trn source https://www.quora.com/How-many-generations-lie-between-me-an...)

I've always thought death rather depressing especially with family and friends so it seems a change for the better to me.
> The eye opener for me is when a video about it connected the idea of the zeta function to how you might create a square wave by adding successive sine waves (of higher and higher frequency).

The process of taking an arbitrary waveform and approximating it by adding together a series of sine and/or cosine waves with different amplitudes etc is called a Fourier transform. That is what Terrence Tao is talking about when he mentions trying this approach using Fourier analysis himself. [1] Fourier transforms are used all over the place, eg the discrete cosine transform (DCT) is part of JPEG, MP3 etc.

[1] https://en.wikipedia.org/wiki/Fourier_analysis
It is honestly a bit too limited example. One way to handle it is for example to appropriately "lock" transaction on HTMX side, which is not done here.
Show HN: Siren – featured Mermaid DSL targeting 4 Languages with Fable
Hello everybody!

I just finished a hobby project. It is a F# library for creating Mermaid graph YAML. I used Fable to transpile to JS (+types) and python, and added a convenience C# access layer. This means you have a nice API for creating Mermaid graphs in 4 languages. My documentation also includes code examples for all languages and a blogpost on library design.

Would appreciate feedback!
We can't simply act like social platforms and apps aren't the primary enablers and profiteers in this ecosystem. Instead of hiring honest tech visionaries, they hire social psychologists to design features that waste time and work like slot machines, while giving little value to users just trying to earn a living or make a name for themselves. These platforms also have no incentive to help anyone to succeed naturally/organically because they also conflictingly sell ad space.

Everything about most modern social media is phony, they even ratio criticism and brigade against truth about their schemes and negative news both on and off their own platforms.

Even Elon spent 44 Billion to dominate the attention game and it didn't work out well for him. There simply can't be a monopoly on attention, but tech is always trying to make it happen in the most underhanded ways, and then turning to profiting from deception when they can't keep it together.
Error bars please.
I remember having to deal with this and other identifiers like NIF and NIE while working on the academic titles homologation platform for the MCIN. I didn't understand why it wasn't used as, not necessarily PK, but an identifier logging in. Thanks for letting me know that the hellish time spent integrating Cl@ve wasn't in vain.
> What about other systems?

The Linux kernel doesn't validate filenames in any way, so a filename in Linux can contain any byte except 0x2F ('/', which is interpreted as directory separator) and 0x00 (which signals the end of the byte string).

ETA: of course some file systems have other limitations, for example '\' is not valid in FAT32.
sometimes having an lalr parser generator tell you where the ambiguities are in your grammar can be a useful step to understanding the language you're trying to describe. you're probably right that once you do understand it, you should throw away the grammar given as an example and write a new one ;)
I do not think there is an off the shelf solution aside from e.g. arkit.

In general a good starting point for such a problem would be to implement https://grail.cs.washington.edu/rome/ on your own.

Its not particularily hard, and there is no difference between reconstructing from uncalibrated cameras and reconstructing from many images from one camera with unknown calibration. Then you can check if the calibration is unchanged over time, and if it is, add that as a constraint. So far it will still take half an hour to run, but now you can add in tracking exploiting motion prediction and imu, which in turn will give you the real time speed.
…a very verbose way to match alphanumeric characters :-)
It would be useful if it also trawled through the full git history of the project - a secret could have been checked in and later removed, but still exist in the history.
Because every DB can and will shift those as needed. They reference the physical location on disk for a given tuple. They are not meant for general consumption.
Makes you wonder if they enhanced these specifically for this laptop?

Still all this is pretty cool. These are the sorta things I wish I had when I was 17 after watching Cowboy Bebop for the umpteenth time.
A curated list of open source workflow engines
Online Privacy and Overfishing
Having a zero in your alphabet can be problematic, because leading zeros are often stripped (e.g. Excel notoriously mangles phone numbers thinking they are integers).

Multiple calls to a randomness generator can be expensive, and a waste of entropy; production-scale random string generators should still respect this and ask for a block of bytes, then encode them, but with bias correction. You're off the hook in this case, I think node's implementation of randomInt is doing exactly that for you and conserving remaining entropy in a cache.
European countries pay better salaries than the US – Euronews
Ask HN: Shaking Up YouTube Recommendations
Hey HN
I'm noticing my YouTube recommendations are narrowing more and more lately. I want to shake up my recommendations feed by deliberately watching some new stuff and wanted others to share what they watch. Really interested to see some smaller creators and some variety of topics.

I'll start, my stuff feed is mainly home lab, makers and tech stuff:

- Christian Lempa (HomeLab and IT)

- TechnoTim (HomeLab and IT)
LTT

- NetworkChuck (home lab and IT)

- GreatScott (electronics and Arduino style stuff)

- Rachel De Barros (maker vlog and Arduino stuff)

- Tom Stanton (maker vlog)

- Xyla Foxlin (maker vlog)

- JSFILMZ (unreal)

- William Faucher (unreal)

- Corridor Crew

What I enjoy that is recommended less and less:

- Exploring the Unbeaten Path (urban exploration)

- Bedtime Stories (brilliantly illustrated folklore)

- Is It A Good Idea To Microwave this? (Many years ago this was hilariously dangerous videos)
Obviously a court in Canada. There has got to exist a law or a historical case in Canada against unfair taxation.
It is only in my office that the values get high. Rest of the house is fine.

My suspicion is these devices just can't really tell you much about how localized the readings are. And comparing a number for a large room to a converted closet is not at all meaningful.
Supermac's wins Big Mac trademark case with McDonald's
> When we talk about "distortions" I think it's usually with regards to how the real device systematically deviates from that model.

IMO this is the correct definition of distortion. However, as the parent comment said:

> If you are not designing a rectilinear lens, there are other lens mappings, in which case it's not really proper to describe the effect as distortion, though in technical literature it's often still described this way.

I think many people confuse mapping and distortion. When a fisheye lens is used, it's often seen as "heavy distortion". But a more accurate way should be to say that it's a different mapping/projection, and the _distortion_ a calibration measures is the difference of this ideal projection (ftheta (e.g. Kannala Brandt) rather than fthan*theta (pinhole) ), and the actual image. This can be a minuscule amount.
This means that, "undistorting" a fisheye image doesn't give you a rectilinear image, but still a fisheye image. You can of course decide to map the undistorted fisheye image to a rectilinear one, but that's conceptually a different operation than (un)distortion.
The censored term in the article is “gollywog”, for anyone wondering.
The point of AR is that you can indeed look at the real world too. Unless you render something in front of the keyboard.
But it didn't. It perpetuated the exceedingly common myth that 52 bits is somehow enough. This has been considered bad practice for well over a decade now. https://theworld.com/~reinhold/dicewarefaq.html
>Members of the Legendary Computer Bugs Tribunal, honored guests, if I may have your attention? I would, humbly, submit a new contender for your esteemed judgment. You may or may not find it novel, you may even deign to call it a "bug," but I assure you, you will find it entertaining.

It gets a pass but my top 1 remains "I can't send emails further than 500 miles"

http://web.mit.edu/jemorris/humor/500-miles
I switched from Chalice to Zappa several years ago and now manage several production projects with it.
It is a privacy invasion scheme --- one that consumes both compute and storage bandwidth.

Beyond this, the only feature I will be looking for is how to disable it.
I don’t know how you made your calculation but in France using grid electricity without optimization (like night pricing) EV cars costs at least 1/2 less to run (17kWh/100 km at 0,25€/kWh, compared to typical ICE 5l/100km at 1,95€/l). And then you have all the savings on maintenance.
GitHub’s runners are a joke. Switching to WarpBuild was the best decision I made for my CI/CD. I halved my build time and got cheaper minutes.

GH’s macOS runners particularly were complete trash.
Yes but I believe both Vanguard and Blackrock have most of their AUM in equities vs Pimco is almost exclusively bonds.
OK I was imprecise in my comments. let me try again.

For localization work (indoor or outdoor), in which you mostly want to close loops and track 3D pose of features using measurements from, say 100s of m or less, (or perhaps scene recognition using effectively flat "very far" images), calibration using opencv is probably highly performant. It's standard, and I've certainly seen much success using it before feeding into regular gtsam etc. There are some unspoken assumptions about localization that don't translate to, say, tracking necessarily. Generally they are: Many observations, close-ish range (relative to stereo offset), mostly-correctly-pointed camera rigs (e.g., forward on a car), or perhaps assumptions about density of features, correlation across images, existence of dense prior maps, etc.

I believe the use case for something like mrcal is to improve calibration for cameras and applications that don't fit this model well. In particular, you may need to track a target at extreme range, using a pixel or two in the corner of your image, with a particularly wide FOV. These specific use cases, mentioned in top level comment, do require additional care, especially in calibration. Thus mrcal.

It just so happens that out of a domain where the very particular details of calibration matter, you may find a tool that helps with all calibration and I think that's the point in bringing up mrcal on a thread discussing calibration in general.

I think that's as precise and non-controversial as I can be.
I think the main issue here is that you in general just don't "get a CFG" parser which magically works correct with nice ergonomics and grate performance.

You get a LL(1), LR(1), LALR(1), etc. parser and the more of CFG they can parse the more drawbacks there often are.

And making a programming language fit into more limited parsers like LL(1) is a total pain.

So you need something which is more powerful, but still not to complicated to have a fast efficient implementation for python and python tooling.

At which point it can be simpler to just go with PEG especially if you have the amount of people and brain power to make sure you don't slip up with resolving ambiguity in a arbitrary "accidental" way.
My first job in the late 2000's was at a small university with a home-grown ERP system originally written in the 80s (Informix-4GL). Student records, employee records, financials, asset tracking - everything. It used natural compound keys.

Even worse than the verbose, repetitive, and error-prone conditions/joins was the few times when something big in the schema changed, requiring a new column be added to the compound key. We'd have to trawl through the codebase and add the new column to every query condition/join that used the compound key. It sucked.
I still wish I could work in Lisp, but have also become very happy with Julia.

Julia is not as elegant as Lisp and doesn't offer as many powerful language constructs. But it is a very cleanly designed and well thought-out language that is fun to work in. I especially love its metaprogramming abilities (heavily drawn from Lisp), which include "real" macros.

In the end, the reason I use Julia over Lisp is the community and the ecosystem. As an ecological modeller, Julia is something my colleagues have at least heard of and that I can convince a few to use (instead of R and Netlogo). I fear that I could never convince anybody to use or contribute to a software written CL. Also, the Julia standard library is just very well put together and there are more packages available for the things that I need to do, compared to CL.

I still love CL as a language and sometimes toy with the idea of going back to it, but for the moment, practicality beats purity.
You seem like you know what you're talking about, help please? https://news.ycombinator.com/item?id=40583867
My favourite ambiguous readback is to say "M for Movember".

I have a note from a few years ago that 367CDFGHJKMNPRTWX may be a sufficiently unambiguous alphabet. Drop the one you like the least (probably N) to obtain a faux hex encoding.
Alphabet and Google's New CFO Announced: Eli Lilly's Anat Ashkenazi
This is less of a debate, and more of an indicator of who has had to work with a DB at scale using UUIDv4 everywhere.

Don’t blow up your B+trees.
Or you know, vignetting
Using a surrogate UUID for communicating with the outside world is often very useful.

This is true for an internal PK that's an auto-inc id as well as for natural keys, though.

Using a natural PK -inside- your own database can still be a lot more pleasant to work with, even if you don't let it escape.
YANGNI for 99% of projects and databases. When you get to global sharded nosql etc. you need to use UUIDs for anything and incrementing IDs falls over too.
Gazprom badly hurt by Ukraine war, says company-commissioned report
For some more information on solving Nethack with AI, check out the (outstanding) TalkRL podcast:

https://www.talkrl.com/episodes/pierluca-doro-and-martin-kli...
People also type them in wrong, so there's another thing: where is the data coming from.
the other one is known, though, isn't it? there's an example of a peg parsing a non-context-free language aⁿbⁿcⁿ in ford's dissertation?
Thanks for pointing that out.-

Here's a definition:

- https://en.m.wikipedia.org/wiki/Golliwogg
Which makes me wonder how does one read up on kernel internals outside of just perusing all the code, how do you get all the wonderful history that is just lost unless you talk to someone who worked on it or find an insightful comment on HN. The one thing version control should emphasize more of is a way to go back through commits and let people (probably approved people) comb through and comment the code in a metadata way that the version control software can display without affecting commits. Would be neat to peruse code, hover (if you have a good editor / IDE ;) and see commentary by others on said code.
> Despite advancements, China still relies on key technologies from other countries, such as semiconductor manufacturing, where the U.S., Taiwan, and South Korea are leaders.

Doesn't the US (and most of the world) rely on Taiwan for semiconductors as well?

> The U.S. and other countries maintain a strong lead in original innovation, with Silicon Valley and other tech hubs producing groundbreaking technologies and startups.

There's nothing like WeChat in the west yet. I'm not sure this strong lead is still there.

> Although China produces a high volume of research, the quality and global impact of research from the U.S. and Europe are often considered higher.

By whom?

It's important to consider that China and the US/Europe didn't start on equal footing.

Just 75 years ago China was ages behind the US. The speed at which they're progressing is mindblowing, especially considering their population.

Compare China with India, if your intent is to do a fairer comparison.
I went with bare metal initially and regretted it. VMs are much easier to manage, especially when you don't have much storage space.
> - SSN:s have a long and a short form; the short form which cuts off century information can be the same for someone who is 5 years old and someone who is 105 years old.

We don't do that. instead, we shove that extra bit of information into the digit following the last two digits through a table: https://da.wikipedia.org/wiki/CPR-nummer#Under_eller_over_10...
> but their support ignores my requests for why this functionality no longer works

I laud your optimism that you think you'll be able to get an answer to this.
A problem with all these advanced acceleration techniques is beam quality. I'd worry imperfections in the microfabricated device would cause this to degrade. Imperfections become increasingly important as the device is miniaturized; in a 1 micron device, an offset of a single atom's width is .01%.