skysight-inc/HackerNews huggingface dataset:
Some of the comments here are very insensitive. Here's some advice:

* Cut yourself some slack. You are in the early days of a shock and you have to allow yourself the time to grieve and process your loss. You sister, mother, and grandmother are also doing the same. You will all feel sad, angry, upset, often for what aren't "real" reasons. I remember when my Mother died I got angry at a guy parking wrong on the street.

* You're the only man in a family. You are all one and your family seems to be solid from what you've said. You have some responsibility as the oldest child of your mother that is also educated and working. You have the responsibility to be a grandson to your grandmother, a son to your mother, and a brother to your sister. You aren't required to take on a new role, just because you are the only man.

* You need to take time to grieve and process the loss of your father. You will all grieve in different ways and in different times. The important thing is to understand that you will need time.

* Don't make any decisions now, as long as there is money coming in and a roof over everybody's head, you don't need to make decisions.

* Your sister is 16 and has dreams. Don't tear them down at the same time as she is also grieving. It's not your problem to solve, your mother is still her mother. Don't worry about the private tutors or the contests etc. Especially don't think that it's now your job to be her father. You are her brother.

* It sounds like your father has left your family with some assets (apartments). That's a good start. Finances are what tear families apart.

I am Jewish (agnostic) but one of the things that Judaism has as the process of grieving is time.

* The first 7 days are intense, you don't do anything

* The first 30 days are less intense, you start to re-enter day-to-day life, but understand that you aren't going to be "happy" or "back to (a new) normal"

* The first year is allowed for mourning and dealing with someone dying.

That's a good way to approach this. You are starting on a long journey, don't rush.
There's a cell/mobile service over here that's advertised as "Unlimited Social Media". So customers get limited data but "Social Media" data is unlimited. Exactly what they define as "Social Media", I don't know. (Does my blog count?)

That's a curious business model. Why does an Internet Service Provider want to prioritise one particular class of website?
I should add I'm talking about workgroup/enterprise class laser printers.
Here is a list of known FreeCAD books:[0]

But all of them are a bit outdated as for actual FreeCAD 0.20.x/0.21.x and RealThunder's FreeCADLink.

[0] https://wiki.freecad.org/Books
So, a random person on #openbsd once said you to RTFM and you are still salty a few years after? My (also anecdotal) experience with the openbsd community is very positive, so here's that.
Printer firmware going full circle.

I think that was the initial push RMS needed to start his open source movement, printer drivers. Firmware sould be next :)
> Also, I'm not sure if it even treated individual digits as separate tokens, but it might. Someone with API access can check.

Anyone can check, they have a tool for that[1]. It's mentioned in their FAQ article[2].

According to their tool, GPT-3 counts the following as one token:

- any combination of or below 3 digits

- 1111, 3333, 6666, 9999 (it tends to group other digits in groups of 2)

- 66666666 (so 8 sixes -- 5, 6 or 7 won't work)

- 00000000 (anything below 8 zeros counts as one token as well, probably to handle millions and billions)

- 0000000000000000 (16 zeros)

This isn't an exhaustive list, there are probably a lot of other weird edge cases I haven't tried. Its failure to understand basic arithmetic makes much more sense given how inconsistent the tokenizing of digits is done.

[1]: https://platform.openai.com/tokenizer

[2]: https://help.openai.com/en/articles/4936856-what-are-tokens-...
WC with LitElement (Shadow DOM disabled) for a SPA (if no SSR is needed).
> I used FAANG as a shorthand for "big international tech companies that pay a lot".

Uhh… Yes and that's my point? He could earn 50-100 USD per hour, which would get him a more than decent lifestyle in Russia. Why would someone pick between Lots Of Money and begging and not accept an alternative between that would allow him to keep doing OSS while feeding his family? This whole plea just doesn't compute with me.

> Glad to hear though that there are lots opportunites for tech folk in Russia to make good money.

It's not good money, it's just money to live okay. And it's not in Russia, it's everywhere. Internet, it did wonders.
Google’s PaLM-E is a generalist robot brain that takes commands
It would be pretty easy to improve: do the same thing but without pervasive ads and tracking.
No, basically. You can't really compare.
CAD Sketcher is based on SolveSpace's geometry constraints solver.
Updates are more of an enthusiast thing - you can treat it as a piece of hardware, isolate it from hostile networks and leave it as-is. You don't have to update and it'll keep working just fine.
It might be convenient at first but could become a frustrating bug if you change the struct fields and also less readable in some cases. It has its upsides but I personally think making the syntax more complex for this one detail isn't worth it.

Side note: matching f64 by value isn't a good idea either way, is deprecated and will become an error in the future.
>No, it doesn't. ChatGPT can't "reach conclusions" because it has no model of truth.

It does have a model of truth: "truth is the nearest next work pick (based on my proximity function) to the current word choice".
Wouldn't that affect battery drain?
I was super interested in hooks when they first came out. But after a short honeymoon period I noticed all the complex rules, exceptions, caveats, and footguns, and I wondered how the React team ever thought this was something you could put into the hands on new developers and expect them to not run into trouble.

It reminds me of teachers who have been teaching so long that they don't understand what it's like to be new to the subject any more. It's called The Curse of Knowledge cognitive bias: https://en.wikipedia.org/wiki/Curse_of_knowledge
I tried the dance problem, and regenerated the response three times.

The first two claimed that Michael will go to the dance, but third one made the correct argument that Michael may or may not go to the dance.

It didn't help it do any better on the number problem. Prepending that paragraph still has it get the first step is wrong, as well as everything that follows it.

> To solve this puzzle, we need to find the values of A, B, and C that satisfy the equation:

> AAA + BBB = AAAC

> Let's start by looking at the rightmost digit, which is C. We know that C must be either 0 or 1 because the sum of two digits cannot be greater than 18 (9 + 9 = 18). Also, C cannot be 0 because that would mean that A and B would be equal, which is not allowed in this puzzle. Therefore, C must be 1.

... And then it keeps going into la-la land.

The final answer it gives is, by the way:

957
+ 483
= 1440
I have never understood what threat scenario this is meant to protect against.

That a thief opens your laptop and steal the harddrive instead of the complete machine?

Or is this just a solution that is meant to check a checkbox to make an auditor happy?
Roko's basilisk makes no sense. Sans magic physics time travel - there's no motivation. One thing all A.I. is, no matter how nefarious, is goal directed. It might have poorly aligned goals, absurd goals, dangerous goals, goals it misunderstands, goals that contradict etc. But ultimately it proceeds toward some form of goal directed reward function. There's zero reward in punishing someone for past behaviour - except in the context of altering their future behaviour.

Since the A.I. would have to already exist (and there's no reason to believe it would be incentivised to even encourage humans to create other, rival A.Is, with potentially differing goals) before it could punish anyone - Q.E.D.: Roko's basilisk has essentially zero likelihood.

Worse - it's an essentially christian eschatological idea. What is this hypothetical A.I. but an avenging angel, a righteous judge at the end of time? It's pure religion. Dark, manipulative, blood sacrifice religion at that.
Making it looks like "powerful country can do shady stuff and poor country needs to clean money" is not how reality works. Try being a violent dictator and do crime at a scale acceptable in Russia but in the US and then tell me how it goes.
The whole thing around React is odd to me.

People laugh at web development, especially the frontend, for changing libraries every week but you read a thread like this and everyone is so sure that React is a bad library and we should be using some newer library instead.

I work with React daily and it has issues, but I find most issues can be worked around without much trouble. It's easy to hire people, onboard people, and if there's an issue you can be fairly sure that someone else out there has had an issue too and there's a solution to be found.

I'm not in a hurry to replace React, but I don't need to. React is stable enough to rely on in my honest opinion.
I figured it wasn't specific.
I know exactly what you mean by this friction.
We will work hard to establish ourselves as a trusted, safe choice.
Try getting a slightly shitty phone and visit a place with spotty wifi that drops some packets. It's very enlightening.

I'm averaging a 15-30 second TTI on the most js-heavy sites.
I came across this really interesting tech conference that's taking place at the end of March 2023 and thought I'd share it with everyone. If you’re looking to attend one of the biggest Tech Conferences out there then this is it. The conference will bring together Engineering Leaders and Tech Innovators on a single platform!

You can listen to and get insights from Vedha Sayyaparaju, Harish Parwani, Mauricio Morales, Jakob Knutzen and other noted speakers. This is where you can register:

Register: http://bit.ly/3IpCIyT
> When using React I usually just use MobX and everything just works.

MobX is signals library. In other words, you are already using the signals way of doing things if you mostly manage your state with MobX. I still use MobX as well if I think I can't use SolidJS.

SolidJs if you haven't looked has MobX-like tools built in, computed, autoruns and all the same tools, it triggers "renders" when one of the signals changes. In reality it doesn't have renders, because it's not based on VDOM, but it makes it look like it does.

However I like to keep my signal library separate, I would wish SolidJS had separate signals library I could use elsewhere as well.

Also SolidJS is big library and framework by now, it comes with risks if Ryan Carniato were ever to loose interest.

Edit, I also found that Ryan has created an example of MobX and JSX without React, it's a good way to demonstrate that React is not as important with signals libraries: https://github.com/ryansolid/mobx-jsx since you know MobX that example probably makes sense.
Yes, of course. It's not the sort of consequence that would be meted out by a parent, but it's appropriate. Facebook is much the poorer for it, as is appropriate for them trying a new thing.
Hmm, is this the first time he's apologised publicly for _anything_?

I assume some PR person (being Musk's PR has to be the worst white-collar job in the world) finally got it through to him that even by his standards, this was a bit beyond the pale.
You can also get hold of a bang up to date FreeCAD book here:https://hackspace.raspberrypi.com/books/freecad

Unfortunately it sold out on release but is available for free download
>But then everybody's salary stagnating hasn't made the cost of goods stagnate

Because Apple, Tesla and the international market for fungible goods like gas or grain, doesn't care about the stagnating salary in your country. They'll still want X USD for their products.
You could do it by hand with bioctl since forever. You had to spawn a shell with !
from the installer, run the bioctl commands to assign a new device to get
encrypted and then on installing you would select that new device instead of your raw disk.
Lots of words, zero reasoning.
I would interpret 'ships' as 'pushes', because git does send delta packfiles on the wire.
Everyone things this tech is cool, the main question discussed is how close it is to general intelligence. The poster you respond to argues that it is very far from general intelligence still, there are many who argues that it basically is general intelligence so he isn't arguing against a strawman.

If you told me "We have made a natural language parser/processor that is at human level" I'd think that was a huge step forward for computing. Nobody can argue with that.
There are various ways to implement this, but to simplify the explanation, assume that versioning always works via lockfiles [1]. Lockfiles record all of the versions of all of the projects that contributed to some experiment or release. They're common in various language-specific ecosystems like gem, pip, cargo, and so on.

Assuming you have these lockfiles, you have the typical option, which would be to make a lockfile for each released entity, record it for later reproduction, and update it at least every release.

The "live at head" approach would be to instead have a main shared lockfile for every project in the company in a recorded sequence. All projects pick a version of that lockfile to release from. Practically speaking, all projects probably just take the latest version (the head) of that lockfile and everyone works hard to make sure that lockfile always works for everyone.

The main advantage here is pretty straightforward combinatorial math. Maintaining and validating unique combinations of dependencies for every release in a codebase is NP-silly, whereas sharing one set of dependencies across as many applications as possible isn't easy but it has a much nicer cost curve. In theory at least, but a lot of large organizations claim practice backs the theory up as well.

[1] Versioning doesn't have to work this way. Putting all code into one big source repository (vendoring) has the same effect.
ok, search for "5 laws of stupidity"

please explain any other words to describe someone who deliberately votes to screw up their own country for no benefits?

or do you have any beneifts that Brexit has given? I've asked many people this and not recieved one that justifies the massive cluster f**
we, the 'people here forgetting that the fediverse exists'
No, you could do it by hand. Even with commands, bioctl was far easier than the luks+lvm voodoo.
We have tried many videos. Our team has full discretion (the way to do it) so I wasn't involved directly.

AFAIK the purpose is to excite the target users (marketing managers, operations, business managers) to the potential. We have done other videos with other stories.

Your point is that we should be more intentional in the story? slower? How would you approach a video about a spreadsheet?
They make excellent cameras and have committed to DSLRs, perhaps foolishly, but it is so wonderful to not have to worry about the battery. I've been blown away by mine. If I had a spare $lots burning a hole in my pocket, I'd definitely buy their newest APSC or full-frame DSLR.

My understanding is that the 645Z is widely used in studio photography, but I might be totally wrong there.
> But are they clean enough [....] ? No they are not.

1) Don't let perfect be the enemy of good.

2) Accept that people are not going to stop using cars, and work with what you have, unless you have a mysterious power making you able to compel mankind to change their lifestyle, or you are able to invent something they will actually want more than cars.
Performance of frameworks is often irrelevant for products/applications.

1. Performance is very very rarely a contributor to a product success. Users prefer more features over more performant app all the time (both directly when asked and indirectly by what products they choose).

2. Rendering/client computation speed is rarely a contributor to real and perceived performance. It's almost always the async calls - how many you have, and how long they take. It's almost always a waste of effort to try and make your framework render at half the time when 99% of your lag is a database call.

3. Framework performance is rarely a contributor to the speed of your rendering. It's most often a problem with how you structured your app. You can structure your app poorly in any framework. (I would hazard a guess that in your panel switch example a differently structured React+MobX solution would not have the problem you described)

4. There are only very few scenarios where the rendering speed between frameworks makes a perceptible difference (usually when talking about large tables or similar scenarios), in all other cases it's a difference of a few milliseconds.
I mean, define "getting away with it". I think that cave diver thing, and a couple of other incidents, have pretty comprehensively destroyed his reputation amongst a lot of people who previous thought he was pretty much fine.

(I do actually wonder if this latest obnoxious behaviour has done any significant damage, though; the previous stuff would already have turned decent people off him).
Here's the kicker; Twitter would be liable for paying him $100m if he got fired https://www.bosshunting.com.au/hustle/elon-musk-firing-halli... (allegedly)
It depends on the context: in a React Native project you are almost guaranteed to realize the hard way that you depend on abandonware that won't ever support the latest React Native version or the latest smartphone operating systems, while in a Python project you are almost guaranteed to attempt to use something that is hard to install or compile, or just doesn't work on your slightly divergent platform (e.g. Windows).
PITB to get to (HN on an iPhone makes your link almost impossible to select, copy, and paste) but pretty cool, definitely smoother than I’d expected to see.

https://twitter.com/gitrevert/status/1633057413312987136
Same. We've been working on a huge React project for several years. Lots of graphs, 3d models etc ... and it is super-snappy. Only slow part is a WebGL-based chart component that visualizes 2-3 M rows of signal data. We can probably decimate the signal data to improve performance, but that has got nothing to do with us using React.

N.B. No one is using the app from their mobiles. iPad and computers only.

Our reasons for choosing React when there are so many alternatives: prior knowledge, ergonomics, easy onboarding, ecosystem.
May I see what do you have? Any code or whitepaper?
But this command isn't about fixing the calculator app at all, it's for reregistering the application if you have removed it from your profile.

I have the new calculator app open literally all of the time and I've not run into any issues with it at all. In fact since it's been updated, it saves me from using Google searches for plenty of types of conversions too so I'd suggest the new update has been a large success.
A decade ago i worked with sortation devices for postorder companies, and one of our clients reported that they sometimes had issues with items that were sorted wrong, but were unable to reproduce it. They used trays for sorting, and each tray had a barcode with a uniqe id.

I spent a LONG time looking at logs until i ended up enabling debug logging, and because the site was on a 1200 baud modem i had the client burn the logs to a DVD media and ship them to us.

I ended up writing i piece of perl code to parse the logs and insert them into a MySQL database where i could then trace the individual sorter trays by id, and by some obscure miracle of sleep deprevation and too much coffee, i manage to find a correlation.

Turns out the bug only showed up when a tray had been used for sorting inbound items, then reused for sorting outbound items, and when used for sorting inbound items again (not outbund, which would reset it), then the bug would happen.

The fix was traced to a single line in an if/else statement.

Time to fix : around 1 hour including tests.

Time to find bug : around 300 hours.

Of something more relevant to the article, i used to write operating systems for mobile phones, and we spent A LONG time debugging an issue where our brand new display driver was acting up.

After attaching a lauterbach debugger we finally managed to track it down to the compiler.

Turns out :

int i = 1+2+3;

would mean i=3 in the code as the compiler only considered the first two variables in the assignment list.

Another fun feature of that compiler was the fact that when you incremented heap memory past the memory page, it would forget to increment the page pointer, meaning it simply just wrapped to 0 and the memory you referenced was nowhere near what you'd expect :)
That's like saying you can easily fight climate change by reducing CO2 emissions.
It's not wrong but it ignores human behaviour and profit-oriented incentives.
Heh, compared to Linux encrypting a disk was dumb easy. Once you set the bioctl devices,
you usually chose sd1 or sd2 depending on the layout and literally apply the same instructions
af it was sd0. Done.

With Linux, crypsetup and lvm I wanted to kill myself.
Newer HP printers are also beginning to simply refuse to work without first being connected to wifi, even if there's a USB connection. I've seen it happen to two friends of mine. Outright refuses to not connect to a wifi network, uses its own DNS and all.

CUPS PCL drivers for these devices are nonexistent. You're at this point forced to use HP's windows software which *emulates a Parallel port* in at least one case.
Weather patterns can be very large. So essentially all installations in one area will act same way. And we are not really doing any intercontinental grids with large enough capacities to move whole demand. Or overprovisioning in each area so that also other areas can be covered...
Green energy does not have to be able to do 100% of everything to be useful. It is not as simple as CAN Vs CANT. And it won't suddenly flip from CANT to CAN in an instant.
Nothing Cutesy about the pgEdge Community License. It's the same as the Confluent Community License (used for Kafka). The sftware is free to download and free to use (if you don't need professional support). The license only blocks competitors from offering our product as-a-service.

--Luss
Co-Founder & CTO
pgEdge, Inc
Somehow I doubt this is true.

My Apple Watch 7 regularily "forgets" that I am still wearing it. I have to enter my code roughly 2 times a day.

So to me, it feels like presence detection actually fires way to often in situations where the watch is still on the wrist.
Recognition and Rewards at Work
This feels like the endless debate about whether America is forever tainted by the sins of its founding fathers.

I’m pro-American because I believe in its stated values. Moreover, I believe that despite original and continuing failures to perfectly reflect those values, there is large and concrete progress in aggregate.

I feel the same way about EA: I aspire to their ideals (including the continued discussion and reconsideration of those ideals) and believe the weight of thousands of people quietly moving concretely in the right direction far exceeds the damage of bad actors (who would have twisted any ideology they were immersed in).

So the bad actors should be punished. The parts of the community system which failed should be changed. AND the many others who are earnestly trying to live according to these values should be judged according to their _own_ impact.
Steve Jobs "landing products at just the right time" is a synonym for "was a wildly successful businessman".
unfortunately no. we had a separate project to launch a native app in flutter. it may have led to the web version being in flutter too.

We stopped that project last year due to resources (financial) reasons.