skysight-inc/HackerNews huggingface dataset:
P(X_1=x_1, X_2=x_2, X_3=x_3) = P(X_3=x_3 | X_1=X_1, X_2=x_2) • P(X_1=x_1, X_2=x_2)
= P(X_3=x_3 | X_1=X_1, X_2=x_2) • P(X_2=x_2 | X_1=x_1) • P(X_1=x_1)

That is to say: Having a correct conditional probability distribution over the next token conditional on the previous tokens, produces a correct probability distribution over sequences of tokens.

And, “correct probability distribution over sequences of tokens” (or, “correct conditional probability distribution over sequences of tokens, conditional on whatever)”, can be... well, you can describe pretty much any kind of input/output behavior in those terms.

So, “it works by predicting the next token” is, at least in principle, not much of a constraint on what kinds of input/output behavior it can have?

So, whatever impressive thing it does, is not really in conflict with its output being produced from the probability distribution P(X_{n+1}=x_{n+1} | X_1=x_1, ..., X_n=x_n) (“predicting the next token”)
> A gas powered car won’t save you in any real emergency.

And unless you happen to live somewhere with reliable off-grid electric generation, neither will your EV. What are you going to use your EV for if you live on the 4th floor of an apartment building that's a 1500' walk from the closest parking spot? Run a giant extension cord up to the balcony?

> Do you stock 100liters of gasoline in your home?

I keep a jerrycan or two of gas in the outdoor storage space that I refill every half year or so. Sure, that's not 100L, more like 40, but it's not nothing. I could easily expand my storage capacity to 200L or so without much problem if I decided I needed to. And like I said, gas has many uses, including as a currency in more extreme circumstances.
That’s where regulation comes in. In my country it’s mandatory for every citizen to have a base insurance package and it’s mandatory for every insurance company to accept every individual for that same base package, regardless of preexisting conditions. The minimum contents of the base package are determined by the government, the prices and extras are up to the insurance companies to decide. Every calendar year people are allowed to switch to a different insurance company, or make changes to their add-on packages and options, forcing the companies to compete while being able to lock in their clients for a year for some predictiveness. In effect that means that everyone is insured against rare and expensive diseases, while still keeping it relatively affordable, because the pool also includes healthy individuals with extremely low risk profiles. Add-on packages don’t have to follow the same rules, but the base package makes sure that people won’t go into massive debt for being unlucky, which is in my opinion essential for a humane society, no matter how this problem is solved, whether it’s commercial like here, or public like elsewhere. If all is left to the market without regulation, those benefits are lost. Some people might call that freedom, but I disagree.
When I first transitioned to x64, I was concerned about graphics vec3 objects (3xfloat) expanding to sizeof()=16 bytes (instead of 12) that I benchmarked the hell out of my graphics engines. Unsuprisingly, using 16 bytes ended up being faster than 12, due to aligning 8 byte reads (internal and on GPU). So a vec3 silently became a vec4 (even though a vec4 also exists).

As always, do global, not local benchmarking.
We will find out in March: https://meetings.aps.org/Meeting/MAR24/Session/A16.2
Baby Race reduces me to tears every time.
I always wished this was an actual movie: https://nestflix.fun/the-night-the-reindeer-died/

Who would not want Lee Majors (The Six Million Dollar Man and The Fall Guy) in a xmass action film?
Since the paper weight being measured in grams per square metre, and:

- The A0 sheet is a square metre

- A1 is half that, A2 half again etc.

- It's simple to calculate the weight of any particular A-series sheet.

This is (nowadays only rarely) useful when determining the postage. If I have 6 A4 pages of typical 80g/m² office paper to post, the weight is 6 × (80 / 2 / 2 / 2 / 2) = 30g.

Until recently, the cheapest national postal rate was for up to 50g, so this was a relevant calculation for the once-in-five-years I sent a multipage letter.
Serialized usually is prohibitively slow in case where there are more than few concurrent users.
I still have an HTC Dream in a drawer somewhere, thinking that someday I'll repurpose it as a bluetooth keyboard for something or other.
Niklaus Wirth, rest his soul, would disagree.

Like would the folks at WithSecure, selling the USB Armory with Go written firmware.

https://www.withsecure.com/en/solutions/innovative-security-...

Back in my day, writing compilers and OS services were also systems programming.
“Camping” shows how seemingly mundane activities become fundamental family rituals, and in last 12 seconds of the episode, that time together with your kids is fleeting and almost ephemeral.

The density of emotion that is packed per minute of each episode is absurd.
To be fair, Go pointers do not allow pointer arithmetic and unsafe casting. They are really not much different than Java's references.

The main issue is null. And you can't even say Rob Pike is not deeply familiar with Tony Hoare, and yet the billion dollar mistake was very eagerly repeated.
Not a money grab for sure, but you are actually right - landing was done very quickly (I'd even say extremely quickly), because I was missing a hard deadline I set for myself. You never know when something is good enough, I usually release fast and then improve over time. Thank you for pointing out to punctuation, I'll double check that.

PS: I'm actually offering to try it out for free on reddit: https://www.reddit.com/r/LogicPro/comments/18xisdn/im_buildi...
Hey Kyle, you're (still) doing awesome! Would be cool if you provided a guestbook service on NC. Too many of your users rely on crappy third party services.
I agree. As someone unfamiliar with Go's history, that was incredibly well written. It felt like I cathartically followed Go's entire journey.
of course you can implement it in a library. You just have to make sure the users are using your array objects with appropriately overloaded operators so you can keep track of the computational graph.

That's how pretty much how all python DL frameworks are built. And thats always why you can't call .numpy() on a torch tensor which requires a gradient. Doing so would break the computational graph.
Zero defects code Microsoft memo (pdf)
Written in June 1989. Can't imagine something like this coming out in 2024.
I spent a solid month very confused after reading up on how to implement some basic neural networks.

I was sure I missed something, so I didn’t even try to implement it since I was so sure I missed the complicated bit.

But no, all the complexity is in the mathematical implications
> You could argue that it's just syntactic sugar, but it's bloody important syntactic sugar.

Yes, of course you could, since everything beyond, uh, paper tape, next-state table, and current pen-position (or whatever other pieces there are in a theoretical Turing machine) is basically syntactic sugar. Or, IOW, all programming languages higher than assembly are nothing but syntactic sugar. I like syntactic sugar.

(But OTOH, I'm a diabetic. Gotta watch out for that sugar.)
I consider that a bad practice, because it doesn't make things obvious. I guess it works so well in Go, because the language itself is small, so that you don't have to remember much of these "syntax tricks". Making things explicit, but not too verbose, is the best way in my opinion. JetBrains has done amazing work in this area with Kotlin.

for (item in collection) {
...
}

list.map { it + 1 }

fun printAll(vararg strings: String)

constructor(...)

companion object

I like the `for..in` which reads like plain English. Or `vararg` is pretty clear - compare that to "*" and the like in other languages. Or `constructor` can not be more explicit, there is no need to teach anyone that the name must be the same as the class name (and changed accordingly). Same is true for companion object (compare with Scala).
Where I stand, we keep enjoying Java and .NET bloatware, with powerful programming languages, thank you very much.

Go is only used in DevOps scenarios where there is no way around it.

The only place I advocate for it, is a C replacement, for the same role as Limbo in Inferno, or Oberon in 1992, not Java or .NET ecosystems.
Interface, actual implementation, Factory, FactoryImpl, you get the idea.

Java lends itself to over-engineering more than most languages. Especially since it seems that every project has that one committer who must be getting paid per line and creates the most complex structures for stuff that should've been a single static function.
So then it’s less readable because you have to process a simple error return? I won’t even comment on the 60% of code is error handling, that sounds like code that needs refactoring.
Ask HN: How to reconcile small incremental change with a view to architecture
My background is not engineering. But due to the ubiquity of computer systems I have taught myself coding and it has served me well.

One recurring problem in my experience thought is small firms just gluing saas offerings together with no design. Just stumbling through the immediate problems.

Managers and bosses don't want to hear about "architecture". They barely want to hear about problems and proposed solutions. They want an estimate and a working solution by deadline.

How to reconcile both ends? I spend a lot of time and energy on this problem and I would love to improve my skills there so I can be more efficient when dealing with such gaps.
I think this is the real value of imaginative shows like Bluey - it inspires kids to use their imaginations as well.
Pretty sure. Every company I interact with puts their IBAN on their invoices, as do I. I have IBANs for several friends and they have mine. I know the names of all these people. HSBC at https://www.business.hsbc.uk/en-gb/solutions/iban-and-bic says you're supposed to give it away to anyone who you want to make a payment to you - presumably they wouldn't do that if it was also the golden ticket to take money out of your account knowing only their name. Or at least they'd be very careful to say that you absolutely should make sure that anyone who pays you doesn't know your name (although, that sounds ridiculous).

I have to assume you're using "the other is your identity" in a way different from the thread here where they said all they need to know your name and account number? I have a digital identity which includes a password and multi-factor authentication, but again that's pretty far removed from something like anyone who knows your name and account number can withdraw whatever money they like.
https://e360.yale.edu/features/how-chinas-expanding-fishing-...
that's why the comment you're replying to says 'at least an embedded domain-specific language', kepler boy
I don't know if Gradle is better in this respect. (It certainly can't be worse.)

Every Gradle project I’ve worked on has had non-deterministic builds where you sometimes need to manually clean and rebuild to fix it, and still does unnecessary work every time. I think it’s worse.
i meant between 02000 and 02010; is there a clearer way to express this that isn't ridiculously prolix
> Yes, that's why I said "I don't personally have a problem with ES Modules per se". Because I don't.

But you also quoted a criticism of ES Modules and explicitly said "I do agree". That's the part that threw me off. The commenter you were quoting (and agreeing with) wasn't talking about dependency injection. Earlier in the thread he said "I admittedly have a visceral hatred for ES modules", and this was him listing his grievances. Dependency injection and ES Modules are completely orthogonal.

I think your other comment where you admit that this is off topic was a more straightforward statement of your position, because you didn't quote (or purport to agree with) an unrelated argument [1].

[1] https://news.ycombinator.com/item?id=38865550
Sure it backtracked, because the guy pushing for Go left the team, and the rest is history.

Is writing compilers, linkers, IoT and bare metal firmware systems programming?
I still think in most of the world checks are considered quite antiquated.
Were they produced in sheets before roughly the 1990s? Before that, CAD drawings were produced by a pen plotter, and before that by hand.

I saw both methods being taught at school when I was a child, though only with A2 or A3 size paper.
> and have to write a lot of additional code to do so.

And most importantly: you have to read a lot of code like this, and understand it's assumptions, failure modes, runtime behavior and bugs, which are different every time. Instead of just reading "ConcurrentHashMap", and be done with your day.
does this mean that lisp programmers are syntactic diabetics

i hear they're concerned about cancer of the semicolon
More directly, yours is a wealth redistribution scheme from parents to elderly non-parents to produce healthy young people at the bottom of the pyramid mostly at their own cost so they can turn around and subsidize people who never raised up this distribution mechanism. An interesting system that is collapsing in much of Europe due to the free rider effect. Why have kids when some other schmuck will foot the bill and the output will lower my insurance premium in what becomes effectively a regressive tax.
I have a better idea... Have something like Google lens (remember these?) or another embedded camera record all your human interactions. Then we run audio to text on the voice and clip or other scene descriptions on the video(and ocr on text typed/read) and we fine tune a model on it. Imagine if you had 5+ years of such data (of someone that interacts with people a lot).

Although "brain-links" are even more of a cool sci-fi idea. Imagine we can reliably "hook up" at synapse level. We first record everything for a year, then we plug a LLM into it so you can essentially "think together". Eventually you increase the size of the LLM as your wetware brain becomes unusable due to old age. Finally the biological brain dies, only the LLM remains (of comparable parameter size). Are you still alive, or is this a simulation?

Of course I'm taking huge liberty in calling such AI a LLM. LLLm work on the basis of tokens and do not learn beyond their training phase, also one would need some input/output too. But imagine if this was figured out? Then you could live on as long as you can afford the power/maintenance bill for that datacenter that runs your mind :-)
I don't myself but I know that many use Node-RED[0] for home assistant applications. It comes with thousands of plugins, easy to construct web frontends and it's completely open source.

I believe one can also combine it with Home Assistant, I think there are interfaces.

Learning curve is initial exponential (think of visual Unix pipes) but once understood, there are limitless things that you can do with Node-RED. It's basically a visual programming frontend to NodeJS.

[0] https://nodered.org
Estimate and frequency and cost of your queries on ChatGPT and see which one is cheaper. Several months ago I checked, if you max out ChatGPT GPT-4 limits, its cheaper than if all those were via API

I'm curious, why are you using ChatGPT in addition to copilot? I am thinking of switching to Copilot, want to know if there are limitations
But then again the internet is everywhere now: desktop, servers, watches, washing machines, industrial systems, sensors ... So "internet language" is a somewhat pointless term.
For an H1b part of the requirement is that the company has not found any citizens who will take the job - only if they can show that will the visa be issued to their prospective overseas candidate. So, they make the interviews with citizens as unpleasant as possible, so that none of them will take the job. It's a massive waste of everyone's time.
The only thing I know about WebRTC is that I need to "Prevent WebRTC from leaking local IP addresses" in uBlock. This extremely limited experience has made WebRTC in my mind into a privacy risk. So thanks for this.
As a dad, I used to like Peppa Pig, but now can barely stand it - as opposed to Bluey.

Daddy Pig is fat, useless, convinced he's an expert in everything but failing every time. His parenting skills hover around 0, and always needs to be rescued, usually by Mummy Pig. So much for healthy co-parenting.

Furthermore, Peppa is mean to her friends, who like her regardless, she always gets special treatment.

I'm not saying there isn't a lot of good stuff in PP, there is for sure, but the issues above feature in every episode and they really get to me now.
There is still a bit of work to be done to make it really nice and rules_kotlin tends to lag a bit behind if Kotlin is your poison.

One area that needs work that I haven't had time to invest more in yet is a proper split layer OCI image build with rules_oci similar to what Jib does out of the box. Right now the example in the repo just dumps in the _deploy.jar which works but results in one fat layer that has to be pushed every time even if only app code changed.

Overall though I think Bazel is awesome.

I still end up using Gradle but try not to use it for projects other people need to work on, Gradle's comprehensibility cliff is worse than Bazel IMO and the more constrained nature of Bazel keeps people from making too bad of a mess.
NPE isn't a memory corruption bug.
When I had my first round of Vocational Rehab around 2013, I was paired with an expert coach from a specialty agency. We arranged a series of meetings at a coffeehouse; she was able to counsel me on the search, application and interview process, we honed my résumé, and she guided me through the whole process until I secured employment.

One thing that distressed me at the outset was that the front page of her handout packet was an exhaustive list of job aggregator boards. I was sort of intimidated, like she wanted me to sign up for accounts on all these, fill out profiles, upload résumé, and just sort of roll the dice? That was a lot of privacy invasion for diminishing returns. I had hoped that an expert job coach would be able to help me target desirable employers more accurately.

One thing I've learned about job aggregator boards: they should only be used as a guide. Once you find a job on there, you go back to the original employer's job board and you find the job listing in its pristine form. You can apply direct there without bothering the whole "job board" process. It's really effective, because nine times out of ten, you'll find that the position has been withdrawn or modified and the "job board" version of that listing is a zombie.

Also if you're looking for contract or short-term professional employment, it can be effective to go through an agency. There are reputable agencies and there are fly-by-nights. I found that the best ones had physical office presence near me, and I could go in and be seen by a real person. Some even had qualification testing right on-site. Some of them were really busy with pavement-pounders and some were sleepy little offices with an empty waiting room. The thing about agencies is, they won't be able to disclose stuff until you consent and move forward. You won't know who their client is, or the pay rates or the site location, until you really need to know and you're approved by all parties. So it can be difficult when they're holding all the cards. It takes a little faith and trust that your agency/recruiter knows your background well, and can reliably negotiate a really good match.

In fact I did land my current job in the midst of the pandemic lockdowns by way of LinkedIn "1-click applications". I am still not sure that I directly applied to this company, but I think they found my résumé/profile on LinkedIn, and cold-called me. So glad they did!

95% of your job hunt is about networking. If you have a connection and an introduction, don't bother slogging through job boards as another fish in the pond. Find someone who knows someone. Develop your personal brand and put yourself out there. Don't chase ghost jobs but get good at ATS forms, and use those direct-to-employer corporate "Careers" websites as stepping stones. You'll get noticed!
thank you! i haven't tried using .net more than a tiny bit
For anyone not familiar with the monotonic time issue, the implementation was found to be incorrect, and the go devs basically closed it and went “just use google smear time like we do lol, not an issue, bye”.

It did eventually get fixed I believe, but it was a shitty way of handling it.
I feel this inability to blend in is a thing in most of Europe. A non-white person will always be perceived as an other by a significant portion of the society. I've had two friends in Germany, born and raised here, one with an African parent and the other with an Asian parent. They told me it's an everyday occurrence that people will immediately switch to English with them and won't be convinced even after they reply in native German. There's a joke here that if you are born to Western immigrants then you are called bilingual, otherwise you have a migration background.

Other than that, my parents (arguably living in a small town in Poland) always need to comment on a person's race when they see someone non-white representing an European country in a competition they watch on the television. I imagine many Germans hold that sentiment too, it's just that it's less socially acceptable to say that out loud.
Does any of the alternate clients support the Code Executor (the Python Sandbox) of ChatGPT. I use it daily for data tasks.

I would love to skip to an alternate client as some of them have some cool features, but the code executor is a must for me.
This is the standard legal size in NY, the rest of the country uses the longer legal size. Except then some law firms in other states but based in NY still use the shorter size.
Anonymous really doesn't mean anything when you must (for technical reasons) send my IP address as part of making the HTTP request. IP addresses is unfortunately all it takes for malicious parties like Google or the various analytics providers to correlate events together with high enough certainty.
Location: Ahmedabad, Gujarat, India

Remote: Yes

Willing to relocate: No

Technologies: Go (Golang), Kubernetes, OpenShift, Linux, Bazel

Résumé/CV: https://bit.ly/dharmitresume

Email: shahdharmit@gmail.com
I still don't see a problem. If someone is not comfortable with being a second-tier worker, they shouldn't sign up for the TVC gig, because the rules of the job and the distinctions with FTE are explicitly stated. Know your own boundaries, and all that.

Anyone who thinks they have the chops to get through the interview process and wants to be FTE is free to give it a shot. Then they'll have all the perks (as well as have to go through annual Google perf reviews, OKRs, and all that baggage too).
To do so fraudulently seems like a really good way to go to jail, though, no? And, as a requirement to hold your business account, the authorities know where to find you to put you there should the need arise?
Advanced NextJS features you might find useful
Is it possible to use this version of the book to follow along and build everything without having to source the original FPGA board Wirth was using?
Writing Python inside your Rust code – Part 1
They took it personally because Go led the community and those project leaders on for years that it would be looking, learning, and communicating...

And then dropped the module spec and implementation and mandated it all in about two days. With no warning or feedback rounds or really any listening at all, just "here it is, we're done", out of nowhere.

They have every right to be personally insulted by that.
I believe that as long as our customers need us, we will be around. We have plans for significant features and growth, and I don't foresee us ending acqui-hired.