skysight-inc/HackerNews huggingface dataset:
Thanks. That clears it up a lot.

The example of using the same tokens but for different purposes makes it clear that the lexer shouldn't be in the business of assigning meaning (semantics) to the tokens, and the parser shouldn't be in the business of fiddling with characters when it's something the lexer can do.
Show HN: Dividend Calculator – Compound Interest!
Legitimate Uses of SSNs, and Their Misuse for Identity Theft Purposes (2005 PDF)
@dang maybe comments should be move there, since there's quite a few here now.
10Mbit Ethernet isn't really that far outside the capabilities of today's microcontrollers. In fact, a lot of these uCs regularly push out 10Mbit SPI aka 10MHz.

Its still impressive of course, for the level of effort to properly create Ethernet frames. But there's a reason why various Ethernet protocols are creeping up upon CANbus. People are realizing that these cheap $1 to $5 uCs actually have the compute power for 10Mbit Ethernet, and can talk full-on socket programming.

I don't know when this realization started exactly, but more-and-more "low power Ethernet" options appear on the market, hoping to dethrone CANbus.
I don’t understand the point you’re trying to make. Are you suggesting that all corporations actions are based on morality?

I was pointing out that’s not the case.
Replicants are not genetically human. Its within canon, I think, to have the process of creating a replicants be somewhat open loop. Perhaps they encode the beginning neural structure as a virus that's implanted in developing bodies, but otherwise don't have clean ways of interacting directly with brains and minds (that are not destructive - destructive or even expensive reads are also in scope for canon but not likely to be casually used)
Great. An adversarial system is what roots out corruption. So when you say media bias, the question is which media?

It’s why the Wall Street Journal is the necessary and respected foil to the NYTimes; whereas FOX has proven to be tabloid quality at best.
> I stick with emacs because of the modal and recursive minibuffer(s) (ie. command-line(s)). What vim setting do I change to be able to use normal mode down there?

Not a setting. Just press Ctrl+F when your cursor is in the command line. After that, and until you finish entering the command, you will be able to use Esc to go into normal mode again.
> ...in one small file, two functions, you have a reactive UI, styling (Tailwind), backend with database fetching, routing, and deployment handled

Sounds like a recipe for spaghetti.

Other platforms have been here before (ASP.NET Web Forms comes to mind) and it always ends up bad.
Yes, the app router allows for the same static generation.[0] It is the default rendering strategy, and the page only becomes "dynamic" (rendered at request time) if the page has a "dynamic function". (functions that use URL search params etc.)

[0] https://nextjs.org/docs/app/building-your-application/render...
That got briefly mentioned in the Object-Oriented section. It's worth noticing that the article specifically excluded Java and C++ from that section, putting them in the Algol heading instead. Smalltalk and Erlang share enough ideologically that it seems reasonable to me.
Google should have purchased GitHub. It'll haunt them for a while.
Imagine you are building a game in Rust where players can write mods. Those mods could be written in JS/TS while the game is written in Rust.
Built on exploitation? In my opinion built on utility supplied to customers.
So you want Vec to refer to struct Vec but only if there is no other type Vec defined before or until one is defined later? That would work, but might be a bit confusing.
These cuts are being done for two reasons

1) wage suppression

2) by hostile take overs inside the company by MBAs, the phase lag between the layoffs and impact on velocity or the bottom line is too long. The second order fire that comes months later gives them an option to look like a hero again.

Most MBAs burn an asset for a short term gain. Period.
Almost nothing integrates with accessibility, that's always a "do it later" task.
It doesn’t exactly “generate” nuclear waste. The fuel is extracted from nature, not “generated”, and the spent fuel is mostly just the same thing with slightly less fissile isotopes in it.
I tend to agree. For now the OpenAI APIs are so very easy to use and effective. I do try to occasionally use HF models, mostly running locally in order to keep my options open.

My bet is that almost everyone wants to keep their options open.

I am very much into auxiliary tools like LangChain and LlamaIndex, the topic of my last book, but I also like building up my own tools from scratch (mostly in Common Lisp and Swift for now), and I bet most devs and companies are doing the same.
Show HN: Skyname – the first Bluesky username registrar
Hey HN!

Skyname is the world's first Bluesky username registrar.

Pick a fun domain from bsky.cool to tired.io and register your username in seconds. It'll automatically create the TXT record used for verification, assign it to your account, and update your handle on Bluesky.

Interested to hear what y'all think :~)
Anyone got some local context? The talk about safe spaces and how guns can be disassembled and carried in pockets, which somehow is solved by clear bags makes it all sound like a bad PR campaign against weapon laws.
There isn't much info out there yet, but this video is a small preview: https://youtu.be/lGEMwh32soc

The latest update is mentioned in the March 2023 blog post: https://react.dev/blog/2023/03/22/react-labs-what-we-have-be...
If there were quantified evidence, there would be no need for mandates.
I haven’t seen them. I’d say “I should get around to that” but my opinions on his films that I have seen make me rather ambivalent about watching more.
From one researcher, not a VP, director, etc.
Yeah maybe, but at this point that's a non sequitor. What does it have to do with the price of tea in China?
The full title of the 2020 Order is "2020 Order Modifying Prior Decision and Order". The original order was issued in 2012.

In addition, the FTC alleges that Facebook has violated parts of the original 2012 order:

> Respondent’s misrepresentations regarding Messenger Kids violated Part I of the 2012 Order, Section 5 of the FTC Act, the Children’s Online Privacy Protection Act (“COPPA”), 15 U.S.C. § 6502, and the Children’s Online Privacy Protection Rule (“COPPA Rule”), 16 C.F.R. Part 312.

And parts of the original 2012 order that have been superseded by the 2020 order:

> Respondent’s misrepresentations regarding its 90-Day Limitation feature violated Section 5 of the FTC Act, Part I of the 2012 Order for the period prior to April 27, 2020, and Part I of the 2020 Order thereafter.
Maybe passion, maybe they lead because of financial compensation. Open source or not, I like my jobs to come with a salary attached.
If the tenant is short term renting out the apartment to more than two people or is not there during that time (e.g. Airbnb), then the property owner is in violation and will be cited.

How does a property owner protect themselves to identify if an apartment has more than two non-tenants staying there for less than 30 days or that the tenant isn't in residence in the apartment during that time?

Key fobs and PIN codes are not sufficiently strong to ensure this.
Microsoft’s Bing gets smarter with restaurant bookings, image results, more
As long as those stable relationships are healthy, and world-adaptive.

Too many abusers have stable marriages. E.g.: https://en.wikipedia.org/wiki/Turpin_case
should more or less follow the yield curve minus a bit

if not they're just ripping you off

(t-bills exist though!)
> And employees have a front-row perspective on whether the company is a portfolio winner.

This is often false, especially for ICs. The C-levels in early stage companies hide a lot of key info (intentionally or not). The most material info like the cap table and the relationship with investors (especially record of “no” answers received) is never shared.
It is amusing - and just for accuracy it was 'failing to stop at a stop sign, on a bicycle'.
By far the best historical analogy is the decaying USSR. We have an elite class that has been totally spoiled by the last 40 years of triumphalism, and lacks vision.

QoL for most Americans will continue to drop to match USA's precipitous decline in geopolitical status, but even Russia rebounded after just a couple decades. Hey, we got a bunch of O&G as well.
> what prevents companies hit with these from wiping computers and restoring data from a clean backup and fresh system installs for workstations?

honestly, it's probably that they simply don't have any clean backups and / or a good restore process; most organizations don't, and ransomeware recoveries for local governments over the years reinforces this.
I really like using NeoVim for programmatic text manipulation.[1] I use Spacemacs as my main non-IDE editor and I want to reuse that basic Vim knowledge instead of having to worry about the differences between sed et al.

Typically I will insert a step in the pipeline like for example `nvim -Es +':%s/^/go home/' +'%p'`.

NeoVim rather than Vim since Vim is painful for pipeline text manipulation.

[1] https://vimways.org/2018/vims-social-life/
If you add all your bulbs to Homekit you can control them all from there. I have all my Hue bulbs in Homekit and haven't touched the Hue app for years, it's also accessible from the iOS Control Center.
I think there are additional examples, where the syntax isn't necessarily wildly different, but the paradigm is

* Shader code: is ostensibly C, but fundamentally different runtime characteristics.

* Dataflow (or Signals/Excel): Topological graph of computation.

* HCL (or Cloudformation/CDK/etc): Connecting execution via a different runtime.

* React Hooks

IDK it just seems like there is a lot.
Yes, Martin is now Lockheed-Martin. Other tech companies included IBM, Hewlett-Packard, Oracle, Level3, EchoStar, DISH, and others.
I have not programmed much in Nim, and I think you are mostly right, but Nim also have keywords and concepts not found in Pascal/Ada/Oberon that clearly comes from Python, like "yield" and iterators:

iterator iota(n: int): int =
for i in 0..<n: yield i
> it'd be great if you could provide some details on what steps you're taking (maybe even record a video) to help us figure out what's going on

The comment you're replying to has a link to an issue which includes a video and a test project.
Yes, that makes sense. Chunks of text that don't depend on context is for the lexter, and context sensitive (i.e. "{" needs a matching "}" ) is for the parser
If I lock my money with the bank for 3 months, I can get 3.5%. Otherwise it's currently 2.6%.

(those are vanilla rates offered to everyone, btw, nothing special)
That’s very fun!
I'm not sure what could be confusing you, I was careful to pick my words. I have noticed that you, specifically, tend to come in hot on ongoing conversations. I noticed it because I also have a tendency to do so and have been working to address it lately to varying success. But sometimes that causes some reading miscomprehensions because you're moving too fast.

If you try reading my comments again, thoroughly, you will find the following text:

> I am conscious, and I am made of matter. Everything else that is real is made of matter. There are other minds out there who also have this experience. With no further information, I must assume as the null hypothesis that everything in reality is conscious.

That was the point I was making. You re-iterated it in an attempt at some kind of rebuttal to something I didn't say.
I mean that's broadly the state's argument. You can harvest American's data as long as that data stays under the exclusive control of the US. It's the macro-scale version of why self-hosted in-house applications can have more privileged access than 3rd party services.
Google's moat is its data set. Imagine training an generative AI LLM on the entire set of YouTube training videos. No one else has this.
While there are people chasing fame, artists trying to reach a huge audience aren’t always doing it for fame.

When you have to make a choice between pursuing creativity and eating, I’m pretty sure I know which you’ll pick. There is a path that lets you (possibly) do both: generating revenue from a very large audience. That requires making concessions according to which walled gardens and silos exist, making content with broad appeal or appeases the gate keepers.
This amounts to a bunch of nonsense and I wish you would reconsider commenting if you have nothing to contribute.
I wasn't referring to war, I was referring to prisoners dilemma and in particular the ncase game's take on it.
Yes, still "2 minutes of actual work and a lot of waiting around due to the limitations of the hardware" which is what I said. Perhaps try reading the whole sentence next time?
I have Freesync, it doesn't it eliminates tearing without vsync, but it does nothing about consistency of framerate. What I'm saying is that I'd rather have a narrow P99, even if it's just above 60, rather than experience 50-144fps variations.
yes in an unusually tight spot due to the rapid, significant increase in interest rates (risk-free yield elsewhere) vs what they can offer to depositors - risking bank runs, which previously have been rare.

If we zoom out, we could say it's a fairly inevitable second order effect of the last ~15-20 years - large deficits, low rate environment and money printing. As debt builds up, the system becomes fragile over time, and events like pandemics or wars (supply shocks, huge fiscal/monetary pump) can surprise, with a sudden spike in inflation.

This has forced central banks to swiftly reverse course and hike rates much faster and comparatively higher (from 0% starting point) than in a long while.

Problem is, when economy participants are hooked to low rates over decades, these hikes will likely break things - starting with banks, then commercial real estate, then who knows what.

Central banks can only hope inflation comes down fast before the dominos start falling - but it's not guaranteed it will, or that it will stay low, especially if central banks are forced to intervene with more easing in the event of some kind of crisis.
I would argue against demonizing divorce. Living with a couple who hates each other or where one is domestically abusing the other is a horrible state for children. Marriages aren’t stable inherently.
> CEO's are neither prophets nor oracles

Then why are they compensated like they're gods?
This looks worse out of context. The next sentence is pretty clear on what's going on.

There are a number of consequences to this, and I don’t want to bury the lede: after today Shopify will be smaller by about 20% and Flexport will buy Shopify Logistics; this means some of you will leave Shopify today
If only you had read the whole sentence, you might have saved yourself a bit of righteous anger.
> Attention should be billable hours.

You are the one who wants to visit my website because it provides you with value and I am now obligated by force to pay you?
For the same reason it's illegal to sell tobacco to minors. Your kids have a right to exist in society without a constant chaperone, and other adults don't have a right to interact with your kids as if they're adults.
the code could use some whitespce...
Curiosity: Not everyone in Hacker News has the same opinions.
This Robot Can Paint. But Is It Art?
I agree that Jeremy was excited about Swift being a possible option for solving the "two languages" problem, but to be fair there weren't many options for ML programmers at the time.

Also, I think "Swift for Tensorflow" was doomed from the start. Swift doesn't really exist outside of Apple's ecosystem, and it was competing with Python which is everywhere, and was a top 5 language even then.

Making a superset of Python is a winning strategy because people can try it out and walk away if they don't like it without much effort. It worked for C-with-classes (which became C++) and Typescript, even though it took a little while for them to gain popularity and mass adoption.
As a Shopify user, I am conflicted about the Flexport acquisition.

On one hand, it was really nice having a fulfillment partner directly related to the webstore. It gave a sense of harmony for future growth of services. From a stock perspective, it was a money suck, but hey, look at Amazon.

On the other hand, the Shopify web platform feels a little neglected and I hope this will allow them to re-focus. From a stock perspective, maybe this will help get their immediate finances in order.

They've made some solid improvements and additions, but there are a lot of little things that need attention. One of my quibbles is that you can't make private or unlisted products. They're either visible to everyone, or disabled. There are a lot of people asking for that feature, and it's not a hard one to implement. There are a lot of things like this that probably wouldn't take a lot of resources to implement but would significantly improve the merchant experience.
As I said, it depends on your needs. I don't know if you have ever managed a small gitlab self-hosted installation, but it's really trivial, you set up it the first time, and you forget about it. Also, the upgrade process takes few minutes to complete.

Btw, you cannot compare a scheduled maintenance window with an unplanned downtime ... maybe in the middle of an important deployment.
Whoah! I'm on Hacker News -- pretty cool! Anyone that's interested in this product technique, feel free to reach out.
I'll also mark myself as skeptical of the brand-as-moat. I think AskJeeves and especially Yahoo probably had more brand recognition just before Google took over than ChatGPT or openai has today.
The thing is I really liked Sicario and Arrival, but really hated his blade runner and dune.
I'm not really sure Github prioritizes the high availability anymore. These outages might be a way to motivate the customers switch to Github's self-hosted enterprise solution which is the revenue stream for Github. If they're not losing users because of these outages, (I'm sure they can find that out) these outages really make them more money in the long run..
This is still massively problematic for society and can represent a hollowing out of low to middle skill workers. You know the ones that are low paid and tend to have poor legal and governmental representation while at the same time experiencing hate from the remaining taxpayers for being slackers.
https://archive.ph/6QKJq
I wondered why .NET let you lock any object, it seems like a strange feature. I figured they just had a spare bit in a bitset somewhere. Should've known it was copied from Java.
Presumably Deno is a use case where you would want to write rust that hosts js/ts safely
The clone wars – a Star Wars story of monorepos
On this Star Wars day, another take on monorepos!

But on earth, we have seen now several instances where teams have moved from polyrepo setup to a monorepo. Although "monorepo vs polyrepo" is always a debated topic, and it's hard to scale a monorepo, large companies like Stripe, Canva, Cruise, Doordash have been able to manage monorepos by building strong tooling and automation to handle the scale.
WebAuthn is a standard. From what I understood, can use any third-party authenticator like a YubiKey instead of Google's implementation.
Gold will be hitting all time highs forever when your measuring stick is an inflationary currency.

So long as your investment horizon is on the scale of years and decades, it's never a bad time to buy an asset with constrained supply in exchange for paper that's constantly being debased.

When your ruler is getting shorter every year, you'll never stop growing taller.
The yield is great on these: 5.16%. Not including tax savings if you compare to a traditional high yield savings account.

note: I work at Arta.
> end up like vacuum cleaners

The term of art is Generic Trademark

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

In US common law (and I'd imagine UK too), it's usually something companies want to avoid if at all possible.

Relevant case for Google itself: https://www.intepat.com/blog/is-google-a-generic-trademark/
I have been toying around with Stable Diffusion for a while now and becoming comfortable with the enormous community filled with textual inversions, LoRAs, hyper networks and checkpoints. You can get things with names like “chill blend”, a fine-tuned model on top of the SD with the author’s personal style.

There is something called automatic1111 which is a pretty comprehensive web UI for managing all these moving parts. Filled to the brim with extensions to handle AI upscaling, inpainting, outpainting, etc.

One of these is ControlNet where you can generate new images based on pose info extracted from an existing image or edited by yourself in the web based 3d editor (integrated, of course). Not just pose but depth maps, etc. All with a few clicks.

The level of detail and sheer amount of stuff is ridiculous and it all has meaning and substantial impact on the end result. I have not even talked about the prompting. You can do stuff like [cow:dog:.25] where the generator will start with a cow and then switch over at 25% of the process to a dog. You can use parens like ((sunglasses)) to focus extra hard on that concept.

There are so called LoRAs trained on specific styles and/or characters. These are usually like 5-100MB and work unreasonably well.

You can switch over to the base model easily and the original SD results are 80s arcade game vs GTA5. This stuff has been around for like a year. This is ridiculous.

LLMs are enormously “undertooled”. Give it a year or so.

My point by the way is that any quality issues in the open source models will be fixed and then some.