skysight-inc/HackerNews huggingface dataset:
You didn't mention what are you doing with the laptop? If you filter by laptops with the same weight, screen resolution, fast CPU, etc., etc. there's going to be a small list of laptops of comparable price.

So, if you start being more flexible in some areas you have more choices.

For example, how about a Ryzen desktop + a no fuss laptop for when you are mobile? (This assumes you mostly work in one office on the desktop, but also want to be mobile).

Depending how used you are to macOS you'll probably come back to Apple. Maybe buy an use / refurbished MBP.
A good question might be why they are not all rich if card counting is such an easy win. I’m pretty sure the best way to get rich on Wall Street is to teach people how to get rich on Wall Street. Maybe the same thing holds true for blackjack. If anyone was winning big on a consistent basis I’m sure the casinos would change things up to stop that ie table limits, six deck shoes, continuous shuffle machines.
I have a somewhat older T4xx model that's still running (bought in 2012/13 I believe). During its lifetime I upgraded the hard-drive, RAM, the keyboard (well, it wasn't an upgrade...coffee spilled on the previous one...) and even the screen.

I have since upgraded to an X1 carbon which is significantly slimmer and lighter (although I never had any complaints about the previous laptop in that respect).

I personally think the T4xx line is a perfect compromise between portability and power. So as long as you're ok with having a slightly thicker and heavier laptop you'll be very happy with it.
your sophisticated technique assumes social skills!
I presume that instead of calculating each and every "point" and "particle" in discreet form, they find the statistically correct result instead.

Probably something similar to Vitter algorithm https://getkerf.wordpress.com/2016/03/30/the-best-algorithm-...
Having read most comments under this post, my conclusion is that the Blub Paradox is very real. I am surprised that otherwise sophisticated HN readers fall prey to it. I see a lot of comments which are outright dismissive, from people clinging to what they know, and in most cases not knowing much about what they are criticizing.

Over the years I've learned that if there is something very different about a language or a solution, or if there is something I do not understand, it is a strong indicator that it's something worth learning about. Sure, it might be worse than what I'm using, or might not be applicable to my use case, but usually there is something there worth investigating, and sometimes you discover a better way to program.
I may be able to offer you a similar solution (remote job so you can live in Europe) as I have a UK company and my whole team is remote. You write beautifully and thoughtfully, which is what I need. Please shoot me an email to dbulic at my username dot eu - let's see if we can work together.
The problem is that most HN'ers, I would dare to guess, can't read Arabic. And since the posts in question are attached as screenshots, it's quite difficult for non-arabic speakers to translate them.
I havnt used ubuntu in years so I'm not sure how they compare, but i think pop has different keyboard shortcuts, has nvidia drivers included, it uses a different app store gui, has a better/easier install walk-through with an option for full disk encryption.

its basically just a lot if small things that make it easier to use right out of the box. that's what it seems like to me anyway
How is graphics switching working on those? AFAIK you need to use the discrete card for HDMI/displayport, and integrated for best battery life, but switching between them takes a reboot.
I translated a couple of them:

https://news.ycombinator.com/item?id=21302888
Thus, Early Emacs:

Emacs (TECO)

EINE, ZWEI, Zmacs (Lisp Machine Lisp)

SINE (PL/1, Lisp)

Multics Emacs (Maclisp)

VINE (Fortran)

FINE (BLISS)

BTL Emacs (C)
This actually seems a big thing....

It shouldn't be flagged until someone explains why this is happening and if it's normal.

But it's not helped without supplying a rough translation of the picture.

The rest of the comments are hearsay, most people would re-word such things.

Google says, the picture translates to -

"Hassan Nasrallah: "Saudi Arabia asked Israel to hit Lebanon in return for tens of billions" of dollars. . This is information, not an analysis of your post"

The other picture in the comments of a restricted post (أحمد القاسم), machine translates to

"August Imad Akl, Ayyash, Salah Shehadeh, Rantissi, teacher Ahmed Yassin, Said Siam, Nizar Rayan, Jaabari and many others were assassinated. God has only increased the determination of their children, they are fighting for the sake of God and for the liberation of the earth and save the offer and not hurt by the martyrdom of the leaders, but strengthens their resolve and makes them stronger and stronger. . . This is a big project and the resistance institutions no longer stand on people no matter how painful they are. . . Congratulations to them for the testimony, that is what they wished and they could not die for others."
True I haven't measured them exactly but they're somewhere over 40 degrees and my other half finds them too hot to get into. I can't see anyone regularly immersing "themselves" in anything hotter.
XPS 13, onsite service is great and is also easy to replace parts by yourself.
Started learning music 2 weeks ago, this will be very useful thanks
Yep I think 'update-frequency' might be one useful metric among others. I recently had someone quit who would've been better off in the type 1 environment, as we're type 2.

Besides trust, I think other useful metrics are slope of learning curve (how frequently do you ha e to learn new things?) and tolerance of ambiguity (how well can you fill in the blanks, etc).

I would guess the three are correlated.
fusion? im pretty sure they have a Linux version. they do with Resolve anyway. you can also do some fusion stuff inside of resolve now
Yeah, Lenovo is almost there with the X1 Carbon/Extreme and Razer's ones look good too - if they'd just fix the trackpads and have officially supported Linux with the Optimus problems fixed they'd be a great alternative.
During my graduate degree, I was looking into phonetic search, and a lot of the papers I stumbled across were using an expanded version of soundex called Phonix[1] as their basis of new algorithms. However, I had a lot of trouble finding an implementation I could use, so I implemented it in Python.

After that I build a search engine programme that would look up swear words that were phonetically similar to input terms, as I thought that my fellow students might get a laugh looking up their own names. In the end, neither Phonix, double metaphone nor Soundex really produced any funny results.

plugs:

- Blogpost: http://olsgaard.dk/phonixpy-phonetic-name-search-in-python.h...

- Github repo: https://github.com/olsgaard/phonetic_search

[1] Gadd, T. N. “‘Fisching Fore Werds’: Phonetic Retrieval of Written Text in Information Systems.” Program 22, no. 3 (1988): 222–37.
Would've been funny to see a 'generated by org-mode' somewhere on the page
I'm on my second Lenovo laptop (now T450s, before that: L-series). I use Linux on it and am really satisfied.
The nice part is that, in fact, you can ignore most of it unless you are explicitly aiming to reproduce and capture elements of older works. If you are composing new work, you never really have to learn theory, but a few of the most popular frameworks help things along(e.g. composing to familiar meter, motif and chord structure does a ton to fill in gaps) and as a professional getting some familiarity with repertoire, if not necessarily its underlying theory, is expected. But once you have some distinct patterns to play around with, the music is already nearly there, and it's just a case of elaboration and refinement in some direction.

In that sense it's much more forgiving than software. Software becomes indecipherable almost as soon as nobody is looking at it and its structures are in some sense necessary for a purpose. It's not as amenable to pragmatic solutions although often, more of them are possible than we recognize.
My wife used oral contraception prior to us deciding to have children because it helped her manage period pain symptoms.

Now after children has had a semi perm (merina) contraceptive installed to manage the damage done by having children.
Without it she would "bleed" almost all month long.

Its way past the time that the conservative sticky beaks made their uninformed the only message that law makers hear. Contraceptives are NOT just for stopping/managing baby production, they're also about saving lives and improving quality of life.
I believe it's called Declarative Programming. Prolog comes to mind as well. https://en.wikipedia.org/wiki/Declarative_programming
I don't really understand what kind of improvement is the DNS over HTTPS.

Yes some middle parties won't be able to tamper with my DNS queries. At what price? Total control for the people providing the DOH endpoints.
So chrome for sure will be using Google DNS for this, and with their efforts to remove ad blocking this fits nicely that you won't be able to use simply DNS based blocker.
How does this prevent them from stealing the '.env.enc' file and the password for it?

So instead of simply stealing process.env. They have to do a search for require('secure-env') and find the secret. And then they just upload that secret and the .env.enc file.
I've personally loved the spectre series from HP for their 4k displays and good specs for the price. I use a MSP16 for drafting and design work, so the gpu is pretty critical for me.
They also used IPFS to serve and disseminate the website for the referendum, IIRC. I wasn't aware of retroshare, but it looks like a very useful piece of software.

Personally, I'm glad distributed technologies are picking up steam again and are showing that they can be used by non-technical people for real-world purposes, especially for protesting against the government, which is a pillar of democracy and has been getting harder and harder with the increasing effectiveness of censorship tools.
This might help:

https://github.com/open-dict-data/ipa-dict
Last I looked in Europe the price is more like $65, about the same as a Raspberry Pi 4 with 4GB of RAM.

I know technical books are expensive and the book has 688 pages but it seems expensive.

If somebody wants to ship their used SICP book in Romania I would love to take it. It's on my wish list since forever.
Imo, this article crosses the line into spam territory. If there's a tool with which the HN audience is already familiar it's the text editor. This article seems like a random list. That might be okay (barely) if the first entry were Emacs or Vim. But it's Atom, and there's no good explanation as to why.
Waiting for that announcement myself. Plus a few months to see just how reliable they are.
Over the year of discussions in regard to DNS over HTTPS I find the best illustration is to look at email. Your email client on the phone or PC send to a email over SMTP to a email server, the server look at the address and contact the recipient server and delivers the request. In email it is client->MTA->server-recipient. In DNS it is client->Resolver->Authoritive-server with the answer traveling back in the chain.

A little historical similarity, ISP used to provide a default MTA servers just like they do with resolver. Now days it most people use a email provider of choice.

So lets now imagine we solved the plain text problem of email by having the client use a default list of trusted MTA, with thunderbird defaulting to partner with gmail, and just sent it there over HTTPS. Gmail would take the email and forward it in plaintext to the recipient-server.

Email security did not follow that path. There we collectively decided to first encrypt communication between the client and the MTA using TLS, addressing the first step in the chain. Then the communication between MTA and recipient server got encrypted. In order to prevent downgrade attacks there is also currently two competing standards, one based on DNS and the other on HTTPS side channel. Looking at email, we are also almost done converting the plain text protocol to encrypted: https://transparencyreport.google.com/safer-email/overview

The general question is then, why not just copy the success of email? The answer it seem is about money. No company got more users or data when email protocols got encrypted. Cloudflare however will benefit if everyone route their DNS through them as that gives them a comparable performance benefit when people use them as a hosting provider. They also say they won't sell data, but people who move their domain hosting to cloudflare and pay for Pro, Business and Enterprise plan can get access to DNS analytics.
You could just use throws Exception instead and check the error like Go does. Its a code smell in Java but so is a million exceptions in your method signature. Most libraries and apis will use a base exception type so keep this to a minimum.
X1 is a nice laptop. The problem is it's weak CPU. Apple manages to crunch a whole different tier of CPU (h(q) series vs. U series for Lenovo) in the same form factor.
“ There are over 100 different formulations of pill along with multiple other hormonal birth control options. Should we treat them the same?
The signalling is going to be different. Progestins divide into four different generations each with a somewhat different molecular structure. Each pill can also have a different ratio of progestin to artificial oestrogen. Right now, the research that exists rarely divides women based on the type of progestin they are on, let alone the ratios. We need to push science to start looking at this”
This, I wish people wrote Machine Learning in their titles, always confuses me.
On the contrary, that is exactly why terseness is an anti-feature.

Most of the stuff only gets written once, and is read multiple times across the years from team members and external consultants with different degrees of skill levels.

Automatically completion on CLI and IDEs have solved the "too many letters" problem for decades now.
Whatever mechanism was used to upload the firmware in the first place could be exposed. Having a doorlock that can be configured online is asking for it. That's the kind of thing that will lead to headlines in regular news publications.
I would recommend Thinkpad T-series even for the keyboard and touchpad only.

It's much heavier though, but at that much more repairable and sturdier.
My ssh server runs on port 443. That way I can connect to it when I'm on the Tim Hortons WIFI.
I also moved to Windows 10 and X1 Carbon (6th Gen) after using Apple products all my life and I've never looked back. That being said, my X1 also went three times to repair. I guess people have simply unlearnt how to manufacture reliable products due to the immense complexity that is involved by now, combined with a planned obsolescence mentality. It is shitty wherever you go; it's just a bit more shitty with Apple currently IMO, and Apple deserves some flak for their provocative product policy, e.g. selling the MacBook Air with the same crappy low-res screen up until 2017 which is still available in some stores.
The Dell business laptops run really well on Linux. I ha e a 5290 (x280 equivalent) on CentOS 7.7 and everything just works.

Higher end stuff like their xps 15 or 7530 are also very good.

Getting Retina to not eat battery life has been a little tricky though. On a non retina system, I got down to 1W idle, whereas it was 15W idle on a retina system. With Firefox, 2-5W non Retina, but 25-35W for Retina. This will inevitably improve, but it's something to watch out for. On Windows, it's less of a problem, as they seem to run a lot of the graphics on the Intel GPU, only switching to discrete when required.
Have you tried https://samy.pl/pwnat/ ?
Trade Unions Reject the Wall Street Consensus of the IMF and World Bank
Non-paywalled link, anyone?
ASK HN: Preparing to launch for second time on Producthunt
So, in April 18 I launched colorsandfonts.com

Colors & Fonts.
Curated library of colors and fonts for Web Developers & Digital Designers.

And it took 8th place on that day.

I made significant changes regarding layout and content and I am planning to do much more.

I am looking for recommendations regarding the relaunch.

- What should I do?
- What should I avoid doing?

Any constructive feedback is also really welcome.

Thank you and have a great day !

/Mike
That is what happens when everyone jumps into the "Do no evil" propaganda just to show it to the man.

Take care of the things one wishes for, they may come true.
Crystal is a Ruby inspired compiled language, it's blazingly fast with a very low memory footprint. It uses LLVM for emitting native code, thus making use of all the optimizations built into the LLVM toolchain.

Website: https://crystal-lang.org/

Github: https://github.com/crystal-lang/crystal
Of all things in the world to say, congratulations to Microsoft for their work on Cascadia Code: https://github.com/microsoft/cascadia-code

It's hard to do these fonts justice via preview alone, but in whole it's very legible to read.

Aside: If you want fast access to a ton of fixed-width (coding) fonts, pre-patched for powerline, you can grab them at https://github.com/powerline/fonts.

If you do CJK (Chinese, Japanese, Korean) characters in the terminal and want crisp, bitmap ligatures, I recommend Wen Quan Yi Micro Hei. But it doesn't work well scaled up in HiDPI monitors unfortunately! CJK in the terminal is still kind of a mystery to me.
I just changed to a dell XPS 15. I love the nvidia discreet GPU and it's keyboard and trackpad are pretty nice. And having a escape key.
Bought an XPS a couple of months ago and had to return it because of the inexcusable ghosting and slow refresh on the 4K panel and the frankly inadequate thermal design. Outrageously bad for the asking price.
It depends on what your priorities are, but I recently bought a LG Gram 17" and absolutely love it. It has a massive 17" 2560-1600 screen, yet is as light as a Macbook Air, and practically as thin too. 13 hour battery life, and super comfortable keyboard. Even the charger is smaller and lighter than any other I've seen. Honestly I've never seen anything like this in my life, and only $1,448 (https://amzn.to/2P2txdv)

I've also used a Dell XPS 15 9570 for the past year and a half which I spent $2.6k on (similar to this https://amzn.to/33PA53x). Specs-wise it's awesome and blows the MBP out of the park particularly when you factor in the price. But I've had a lot of issues with it unfortunately, having to get it repaired twice, and then another couple times I've had the screen just start glitching and crashing, both times resolving it via reinstalling Windows (seems to have been problems with the drivers). Outside of that, the laptop itself is a bit thicker and heavier than a MBP, the battery life is pretty weak (4 hours maybe?), it gets very hot and the fans get really loud, and the Wifi card sucks. Although the 4k screen is beautiful with fantastic anti-reflection, I've found that I prefer the 16:10 aspect ratio of the LG Gram and MBP vs. the 16:9 of the Dell since the former feels way bigger and I find having a taller screen more convenient (eg. for coding).

Ultimately it comes down to your preferences. Do you prioritize having the best specs? Then between the two you should get a Dell XPS 15 or alternatively a Dell Precision 5540 (very similar to the XPS 15, but more geared towards 3D work). If on the other hand you value portability but love having a large screen, I highly recommend the LG Gram 17. I don't think there's ever been a 17" laptop as light and portable as this one.

Ever since I received my LG, I stopped using my Dell. Unless you're doing a ton of video editing, 3d graphics work, or gaming, you really don't need more than 16gb RAM and an i7 processor. For stuff like coding and browsing the web, I certainly don't notice any performance difference (haven't tested more intensive stuff yet).
We already have this situation though - the people who control DNS resolvers already have total control. ISPs have already been known to abuse this power [0].

This proposal doesn't solve this problem. Rather, it solves the problem of e.g. your ISP intercepting, logging and/or modifying your DNS request.

The solution will then just be to run your own DoH endpoint / proxy.

[0]: https://arstechnica.com/tech-policy/2009/08/comcasts-dns-red...
Monaco 9 in BBEdit :)

"Monoid" in the linked article made me think of it immediately.
I've implemented the same paper. It's fun, but not Grandma-ready.
The 13" MBP that is most comparable to the X1 Carbon also uses U series, while the 15" MBP is best compared to the X1 Extreme, which, you guessed it, offers the better H series CPUs.

Same for Dell XPS 13 vs 15.
The problem with Surface devices is that they're irrepairable once something goes wrong. I had issues with my Surface Pro and Microsoft support basically said "too bad, buy a new one".

That's why I went for a T-series Thinkpad and am still using it. It's not as lightweight or slim but in exchange more powerful than equally priced ultrabooks/convertibles and easy to repair and upgrade. That's a trade-off I'm happy to make.
With the advent of neural nets that can mimic composers' styles, it would probably be possible to generate real-sounding music on the fly.
When I was researching coding fonts for myself I've found the two I liked the most were Iosevka and Fira Code because of their ligature support (DejaVu Sans Mono is also good but typically doesn't have ligatures). The choice between them comes down to whether you value having more horizontal space (shorter lines) or vertical space. Iosevka is horizontally compressed, meaning you can fit more characters into a given window width, and Fira Code is more vertically compressed.

Also, in Visual Studio Code you can fine-tune your coding font using these options:

"editor.fontFamily": "'Fira Code', monospace",
"editor.fontSize": 14,
"editor.lineHeight": 14,
"editor.letterSpacing": -1.0,
"editor.fontWeight": "300",
"editor.fontLigatures": true,

I recommend tuning your lineHeight and letterSpacing.
I was impressed by the online casinos using real dealers and those scannable oversized cards. I don’t think I would have gone that route but great that people are employed and I guess that puts to bed any discussion about algorithms or if the computer is dealing under to itself. Wizard Of Odds is an amazing guy, I love the articles on his site.
After years of using Go, I came to realize that the ONLY people that complain about errors in Go are those who actually do not write any Go code and those who write Go code less than a year(ie. juniors). There is absolutely nothing wrong with errors in Go and the creators got it right form the start. Nobody is forcing you to use errors. You can use booleans if you want. You can panic(throw exception) if that is what you wish. To each its own. If you want more syntactic sugar, move to Java, it has plenty of it for you.
I switched from Mac to a Lenovo ThinkPad X1 Yoga 3rd Gen, when my MacBook Pro was similarly unreliable (6 repairs through the Apple Store).

The feel of the keyboard & trackpad were important to me, and the 4K display option covers 100% of the Adobe RGB color palette. I rarely use the Yoga's tablet feature, but as a Photoshop user it has sometimes been useful for photo editing with the built-in stylus. There's a built-in microSD card slot in the 3rd Gen & I put a giant microSD card in there for extra internal data storage (eg MP3 collection). The SSD is user upgradeable but I've had problems trying to get the SSD screw out myself.

There's a lot of small irritations and frustrations compared with the Mac to overcome, but the X1 Yoga has been far more reliable than my MacBook Pro. No problems in a year, whereas the Mac over the same time would have had 3 - 4 weeks of downtime due to repairs. It turns out reliability is more important to me, I need to get work done.

I'd also seriously consider the Surface Book / Surface Laptop range, I very nearly chose a Surface Book 2 until I saw the ThinkPad X1.