skysight-inc/HackerNews huggingface dataset:
> Something about IQ which we forget is that people with exceptionally high IQ scores are not necessarily exceptionally intelligent.

I don't know that I "forget" that so much as I don't believe that.

I mean, I acknowledge that IQ is not the same thing as intelligence, but it is a very strong proxy. You can avoid the risk people receiving unrepresentative scores by just having them take multiple IQ tests. The more different tests they take, the more their average score will converge on a particular IQ value.

EDIT:
> Are there any formal studies you are aware of which compare IQ tests as a predictor of success with other intelligence tests, or just other tests?

Of life success, or success in a math class? I mean, I'm sure their are for both, though I don't have citations for either at the moment.

WRT to life success, I do know that while in some sense it is not an especially strong predictor, it is the strongest single predictor we have (even more than the socio-economic status they were born into). The fact that even then it doesn't account form more then half the variance in life outcomes makes sense to me. Life's complicated, and many different factors play into success.
It is an interesting observation. As a person with ADHD, I also saw that it makes my thoughts calmer (relaxed, dreamy, not rushed) and "flowing" rather than "jumping".

Or in other words, the transitions were smoother and continuous rather than discrete.
We discuss the key trends for web and app developers in 2019 [audio]
Show HN: A site for devs that just want to RTFM and learn about Bitcoin
Reminded me of the following paper, Using Coq to Write Fast and Correct Haskell.

https://www.cs.purdue.edu/homes/bendy/Fiat/FiatByteString.ht...
I live in Sweden. Lost my wallet during my bike to work time in the morning. Not sure why it fell from my pocket, but it might because of the bumpy road due to some construction.

As most of the things inside the wallet can be replaced in a couple of days (bank card, and some ID's), I did not worry that much. But, a nice guy from the neighboring office took the high road by calling the contact point of my office, which ended up in my boss hand.

faith in humanity restored. :-)
Yes, Irix had its Software Usability problems...

"Indy: an Indigo without the 'go'". -- Mark Hughes (?)

https://yarchive.net/risks/sgi_irix.html
What is the cost of parallelism of C though?
The interpreter thing could work better in the current software landscape if it could be integrated in Jupyter notebooks.

Nowadays many people are migrating to Python to use machine learning in Jupyter or just to run machine learning code in Python.
A History of Pizza
It’s very hard to see it, but these rules facilitate bias.

When I listened to the interview on Joe Rogan with the Trust and Safety officer, one of the examples she gave was the Milo Youannopolis quote “the world would have been better off if your mother banged you on the rock as a baby” or something to that effect.

This is gross, and offensive, but not a threat. It’s not a threat to talk hyperbolically about a hypothetical and ridiculous past event.

Unless you already find a person scary.

In which case it very very much sounds like a threat, or an incitement to violence.

Language needs context and if you believe that people with certain characteristics (including political orientation) are more likely to be violently dangerous, it is absolutely natural to view things they say as more threatening than you might otherwise.

It’s still bias.

It’s bias if a policeman finds “I have a gun in the glove compartment, and a license for it” more threatening based on someone’s race.

If it were based on some real or perceived fact about the world, still bias.

Actually definitionally bias.

Humans use bias (context) to make sense of the world. And that context (bias) is necessary for communication to makes any sense.

Which means those rules can only be implemented in a way that reflects the bias of whomever is implementing them.
I want to know who taught you math.

Because 2015 - 2000 does not equal 20.

The project started in 2000.

---

It would have been a much worse language if it had been released even a few months earlier. (That was before the GLR landed.)

---

Also just about every time a new feature was added in the first few years the existing features were redesigned so that everything was consistent.

So despite having many features from many languages, it feels like all of those features belonged together.

Because of the time taken back then, it is actually really easy to add new features to the language now. (Try adding first-class regexes to any other existing language.)

For example, all of the normal operators are just subroutines with a special name. Which means you can create a new operator that works exactly like a built-in operator by giving it a similar special name. (From a certain viewpoint, Raku doesn't have built-in operators.)

Also regexes (which have been redesigned to be easier to read) and string literals are actually Domain Specific Languages in Raku. Which means you can also add your own similar feature if you felt so inclined.

---

I like to think of it this way:

A language like Python is a good toolbox.

Raku is also like a good toolbox, except it is also a fully decked out machine shop for creating new tools that no one has thought of yet.

Everyone who has worked in a machine shop knows it takes a few years to get one setup just-right.

---

Also there is a saying:

It can be good, fast, or cheap. Pick at most two.

Raku was created entirely by volunteers, so by definition it has to be cheap.

Which means there was only ever a choice between fast or good.

I'm glad the choice was to make it good rather than fast.

(Especially since the whole reason to create it was to make something that was more good than Perl was at the time.)
Heuristics in action. I can‘t possibly number all the different BS methodologies and frameworks that were supposed to do something, every time.

Applicable and actually highly successful ones like NVC are few and far between.

Can‘t blame anyone who smells a fad on hearing it the first time, but I‘m also using NVC by now whenever I need to untangle difficult conversations.
Sure, but no one claims you have 3 months of vacation when you are spending time doing those things...
> I get told a lot I'm just lucky. It's a left-handed way of assuming a woman has no idea what she's talking about and can't possibly be competent.

No. It's a straightforward way of assuming that you are not actually in complete control of the universe and it doesn't matter how competent you are, things could have worked out differently. If you'd like to assert that you actually have perfect methods of identifying and avoiding Ted Bundy and any other potential psychopath, then you are going to have to show a lot more evidence than "and I'm ok!" - because it is an extraordinary claim.
> But if visibility is good, I don't see it making a difference much in what speed you're going.

Problem is, the speed limit is usually set with local factors in mind. I.e. if the speed limit doesn't make sense to you then the people who set the limit likely knew something you didn't.

Try driving in Finland, Sweden or Norway at dusk in the fall. That kind of attitude will often result in a white-tail or a moose through the front window. :D
Yes, the C is much too readable. Also I wonder how fresh it is - the Macs have been known to run some really old versions of GPL tools due to license issues with newer versions.
How to Extract Google Maps Coordinates – Codementor
To be fair for the C version: The linked code [1] doesn't really look like "decades of optimized C" to me. More like a straightforward implementation of this, which had been likely had not seen many updates for decades.

It could probably gain performance by playing around with input buffer sizes and trying to make use of vectorized instructions (the compiler might try to auto-vectorize the lops, but there is no guarantee).

[1] https://opensource.apple.com/source/text_cmds/text_cmds-68/w...
There’s a name for it- Frequency illusion or Baader–Meinhof effect: (https://en.m.wikipedia.org/wiki/Baader%E2%80%93Meinhof_effec...)
Trackballs date back to the 60s, at least. The original design advantage of a trackball was pursuit and target acquisition. They were developed for military radar operators to quickly move the focus to an inbound bogie, potentially supersonic. If they could acquire and track the target on air search radar, they could mark it twice on two consecutive sweeps of the air search radar, giving the fire control system a course and speed so the fire control radar had a better shot of getting a lock.

My first four years out of college I spent a lot of time in that space, so I got quite comfortable with trackballs. Now I use them exclusively on my desktop. My only complaint is they aren't embedded flush in the desktop :)
If you're talking about BANGPATTERNS, that is completely normal in Haskell.

Pretty much any non-trivial Haskell program (and many trivial ones too) will have !'s in various places to force something to be strict, and to use the ! syntax you do need to add a pragma. Those pragmas are what let Haskell evolve new features without breaking backward compatibility, so Haskell programs tend to have a lot of them. Perhaps one day we'll have a new standard (it's been 19 years since the last one) which will include some of the pragmas by default. In the meanwhile, it's possible to turn the common ones on project-wide and just forget about them.
My impression is he would have wanted to but he was limited by that era's technology. Quoting from the article:

> If you could go back in time and change one thing about the original implementation of C++, what would it be?

> I don’t have a time machine and I shouldn’t try to second-guess 1983-vintage Bjarne—he knew the conditions at the time better than I do now, and any significant change probably wouldn’t have fitted in the 1MB memory I had to work with, and if it had maybe I wouldn’t have been able to port the compiler to an early 640MB Windows machine.
Would you prefer Amazon outsource their warehouse operation staffing or hire them direct and pay them $15 an hour?

Seems people would gripe either way
>C# and Java and strongly typed, have a lot of static information.

They may have a lot of information, but they don't have the static information required to generate reference counted COM. It's information about the lifetimes and ownership of objects.

>I think the main reason why it’s impossible to reliably recompile these languages into non-gc code — circular references.

Exactly. The information to resolve those is missing.

>Depends on use case.

This was a debate about Microsoft's decision not to build Windows userland on top of .NET after all. So it would have affected all use cases of all Windows developers.
> […] even if you are not a white mail, which I am (for context)

You are… what?
Display how your Bitcoin transaction is executed in real time
I am working on that, too ;)
He has long hair now, which is often under a cowboy hat. He of course still wears hawaiian shirts.
Beating Decades of Optimized C with 27 Lines of Ocaml:

type t = { mutable words: int; mutable chars: int; mutable lines: int; mutable in_word: bool ; mutable finished: bool};;

let () =
match Core.Sys.argv with
| [| prog_name |] -> Core.Printf.eprintf "Usage: %s file1 file2 ...\n" prog_name
| _ -> (
let args = Core.Array.slice Core.Sys.argv 1 @@ Core.Array.length Core.Sys.argv in
let buf_size = 65536 in (* 64 KB -> Caml IO buffer size *)
let buf = Core.Bytes.create buf_size in
Core.Array.fold args ~init:() ~f:(fun _ file ->
Core.In_channel.with_file file ~f:(fun in_ch ->
let c = { words = 0; chars = 0; lines = 0; in_word = false; finished = false } in
let set_words () = if c.in_word then c.words <- c.words + 1 in
while not c.finished do
let len = Core.In_channel.input in_ch ~buf ~pos:0 ~len:buf_size |> Core.Int.to_int in
if len > 0 then (
for i = 0 to (len - 1) do
match (Core.Caml.Bytes.get buf i) with
| ' ' | '\t' | '\r' -> (c.chars <- c.chars + 1; set_words (); c.in_word <- false)
| '\n' -> (c.chars <- c.chars + 1; set_words (); c.in_word <- false; c.lines <- c.lines + 1)
| _ -> (c.chars <- c.chars + 1; c.in_word <- true)
done
) else ( c.finished <- true )
done;
set_words ();
Core.Printf.printf "%s -> lines: %d, words: %d, characters: %d\n" file c.lines c.words c.chars)))
;;

Testing:

$ ls -lh test_file.txt
-rw-r--r-- 1 user group 508M Oct 16 12:01 test_file.txt

$ time wc test_file.txt
4863460 54621760 532480000 test_file.txt

real 0m3.368s
user 0m3.137s
sys 0m0.195s

#Ocaml version:
$ time ./wcl.native test_file.txt
test_file.txt -> lines: 4863460, words: 54621760, characters: 532480000

real 0m2.480s
user 0m2.345s
sys 0m0.123s
My professor served as Google's expert witness to explain to a jury what the extent of the alleged duplicated code was. Only a handful of methods had identical implementations - things like toString() or binary search, and Google argued it was because they'd hired the original programmer, who implemented it the same way twice independently.

make no mistake: the case was about whether an API can be copywrited, or whether it's public information like a phone book. as far as I know, Google's implementation was independent.
Well, Jello wanted to ban all cars in the city. He had some other fun ideas as well.

> His platform included unconventional points such as forcing businessmen to wear clown suits within city limits, erecting statues of Dan White, who assassinated Mayor George Moscone and City Supervisor Harvey Milk in 1978, around the city and allowing the parks department to sell eggs and tomatoes with which people could pelt the statues,[45] hiring workers who'd lost their jobs due to a tax initiative to panhandle in wealthy neighborhoods (including Dianne Feinstein's), and a citywide ban on cars.[38] Biafra has expressed irritation that these parts of his platform attained such notoriety, preferring instead to be remembered for serious proposals such as legalizing squatting in vacant, tax-delinquent buildings and requiring police officers to run for election by the people of the neighborhoods they patrol.[44]

> He finished third out of a field of ten, receiving 3.79% of the vote (6,591 votes);[46] the election ended in a runoff that did not involve him (Feinstein was declared the winner).

https://en.wikipedia.org/wiki/Jello_Biafra#Mayoral_campaign
i have lots of experience with psychedelics. put simply, there are people who can take psychedelics and there are those who cannot. the molecule itself (LSD) is quite safe and non-toxic. I had a fascination from an early age and never had a 'bad trip'. I have had some unpleasant experiences while tripping, but that's because my life at the time was a mess, and the self reflection involved in tripping helped me learn and come to terms with my mistakes. Psychedelic experiences IMO aren't supposed to be all fun and games, but a serious exploration of your inner self. LSD changed me for the better and I consider myself lucky to have been able to experience it. However, I've seen first hand some people that just lose it, even on smallish doses. I did a lot of research before I ever tried it, I was confident, and even in the midst of ego-death I kept my wits about me. If you're curious about whether or not you're 'compatible' with psychedelics, I would recommend experimenting with shrooms first, because the dosage can be easily controlled with little more than a cheap laboratory balance.
"Golden rule? But you were trying to kill me?

Well yes, if I ever were to become an evil monster like you, then in my heart of hearts I would actually want you to slay me immediately in order to save the world from a nightmarish reign of terror and destruction!"
Darknet markets have feedback systems like clearnet shops. Depending on where you live you can get your blotters tested in a lab. My takeaway on reading on this subject is that lsd is rather safe to send unnoticed via mail.
Implementation methods for events and transactions tracking in Google Analytics
Camping Spots Finder App UI Clone with React Native #1: Map View UI
A similar effect would be possible when using baby-talk. It allows you to say something without instigating defensive reactions.

> “would you be willing to only eat the food that you buy?”

Would be: "Baby, I'm so hungry and I can't find anything to eat. I couldn't find the food I had in the fridge. What should I do?"

Only works when you can code switch from regular language to baby language which is 'non violent' by design.
We tried to use XCB with a cross-platform windowing/input library, but very quickly we ran into a lot of small issues, where XCB was even less documented than Xlib, so you had to resort to reading the source code, or where functionality was just missing, so we had to fallback to Xlib. In the end we reverted the XCB changes and just went with Xlib again. It's a pain, but at least you can make it do anything you need to and it's somewhat documented or enough knowledge aggregated over time.
What do you mean by true utf8 parsing?
Are smoke grenades a legit thing outside of counter strike?
>I have used VirtualBox for a decade for my VM on Ubuntu

As a long-time VBox user myself, a neat thing I figured out almost by accident the other day: you can port VBox images to QEMU/KVM trivially on Ubuntu (and then use Virtual Machine Manager for the VBox-like graphical front-end).

Just unarchive the OVF file from VBox, then use QEMU to convert the resulting VMDK file to your format of choice (such as qcow2). Import your new disk image into VMM and done!
"This one school network..." doesn't stop it from being an anecdote.
Sure, but things have progressed quite a bit since XLIB. After all it's designed for high latency/low bandwidth network connections using an ancient protocol with all kinds of caching, complexity, and vector oriented UIs out of tech with today's mostly bitmapped UIs.

There's something crazy like 64 ways to join to vectors. 100s of dot/dash combinations for drawing a line, caching of color maps, etc. etc. etc.
Old. If you do not recognise from day one how Clipper chip, fbi to the pgp you miss it.

Also if you miss china and the importance of that market and their view on internet etc., that is the new thing you miss.
Free speech requires anonymous speech in many places.

On the other hand where we already have free speech, I’m not a big fan of anonymous speech. Speech should be subject to the self censorship that comes from thinking about whether someone is hurt/offended/etc. Free speech means being free to say what you want without legal consequences, not without social consequences.
The notion that the senior developer market is not oversaturated is absurd
It's one of my favorite Simpsons quotes. Wonderful little bit of linguistic hackery.

They make up one word, embiggen, and just from the obvious root word of "big" it's clear what it means. Doubly so when taken in context, "A noble spirit embiggens the smallest man."

Then they make up a second word, cromulent, and the meaning can be entirely inferred from context. Embiggen is a perfectly cromulent word. Acceptable, adequate, maybe a bit unorthodox but "good enough".
The steel will wash away?
Check out my comment history, I’d recommend more caution than most people here do.

I’m okay now, but it was tough for a couple years and I still struggle with anxiety.
Enough benzos have always turned LSD completely off for me.

Enough, for me, has been 1x 10mm diazepam (Valium) followed by another 1x 10mg diazepam one hour later if I also want to go to sleep.

Or approximately equivalent alprazolam (Xanax) or temazepam.
I'm waiting for an open source smart speaker where I control all the data.

Until then, I wont buy one.
Keto Original
Keto Original Not all calories your equivalent. For instance, you will find that when you eat treats you may eat a broad compartment industry specialists and still not feel full. During the other hand, you may eat a cut of bread and nutty spread, a few nuts, a chicken white meat or another protein source and promptly fondle filled. That is on the grounds that protein is more filling than straightforward cabohydrate supply.

https://slimtonediets.com/keto-original/
The trackball always does stay on the same place. You can have the trackball close to your keyboard, so you can click the "Enter" key from your numpad .. sometimes this is useful. I use mostly a trackball on work and at home.
What’s up with all the tiny metallic holes in their circuit board? It looks like they are there waiting for components to be soldered in but the finished product isn’t using them. Do they serve some other purpose?
Hostile APIs are a problem. If you require a dance for the correct outcome, people will fail. Make it easy to do the right thing.
still using my original logitech marble fx, bought 17 years ago. it travels with me from job to job :)
The linked page has four steps, the last of which is "make requests".
If LSD would replace alcohol as a way to have fun on Friday nights, I think the world would be a way better place.
Hi HN. I built this because resources to learn more about building with Bitcoin are scattered throughout the web and hard to find. Rich content for technical people to consume is buried within websites, fragmented and hard to pry out of places like Stack Exchange (unless you know what you're searching for). For example, on https://bitcoin.org, one needs to dig in through the dropdown menu, and then navigate to a series of pages to get to material. On https://bitcoincore.org, it's a similar process. So, with that in mind - I've been working with another contributor, Cornelius Schumaker and have put together a vanilla, purely technical version of Bitcoin documentation - it's completely distilled so that a person with a technical or engineering-related background can dive right in and get started with Bitcoin. Thinking there is a lot of opportunity here to do all kinds of extensions to it, how-tos, readmes, more guides, faqs, etc.

The goal is to make this a one-stop shop for all things technical to help people who already have engineering backgrounds, get started developing with Bitcoin.

If anyone has any questions or feedback, please let me know. Thanks. :)
It remind me this study “ Would You Return This Lost Wallet?” published on nyt back in June 2019.

https://www.google.fr/amp/s/www.nytimes.com/2019/06/20/scien...
Mexico City is one of the safer cities in Mexico and Atlanta one of the more dangerous cities in the US. Tijuana and Acapulco, on the other hand, have a murder ten times higher than Atlanta's. Victoria, Juarez, and Irapuato have five times Atlanta's murder rate.

The parent comment mentioned traveling in rural Mexico, which presumably does not refer to Mexico City.

I agree that homicide rates have changed over the years. I would be surprised if it was ever wise for a young woman to go hitchhiking solo in rural Mexico though. From the story it seems rural Mexicans agree with me.

https://en.wikipedia.org/wiki/List_of_cities_by_murder_rate
But which Transferwise product? Without any kind of a link between these posts and Transferwise products they might as well be posting cat photos.
My company’s main app is built with ionic. Started with v 1.x and is now on 4.11. I love it but, our app was mostly aimed at mobile. It has since become much more desktop focused and we often have to create our own components. (Which is really easy using Stenciljs, also from ionic). Here’s some things you’ll need to work out:

Datepickers. The ones provided by ionic are strictly for mobile. I think they are planning to do a desktop version but I have waited 4 years for that.

IE 11 support. Forget it. Luckily it is less and less important but if you need I wouldn’t bother.

Desktop style menus and lists. Possible to create but is not included.

Ionic are improving dekstop features but it still mostly aimed at mobile. If possible, try creating one of the most desktop centric parts of your app and see how far you get. If mobile use is not important at all you might not get many benefits from using ionic.