skysight-inc/HackerNews huggingface dataset:
Unless you can leverage special instructions / hw to realize your array operations, loops will be the fundamental operations generated by the compiler executed by the CPU.
For a lot of scenarios, loopless code is surely more expressive. However, I would not say that it is per se in any kind superior. Rather, it is a feature of each language, how much to abstract from the actual CPU instructions.

So to have fine granular control over your generated code, classic loops in C always relevant, while a simple array operation can be expressed in such high level way for other use cases.
It would be nice if it told you after finishing a hand if you deviated from basic strategy. Also would be nice if some of the more common rule variants where settable (DAS, S/H17, etc.).
Read this blog to know more about the use case:

https://codeburst.io/how-secure-is-your-environment-file-in-...

This is a solution to this tweet

https://twitter.com/o_cee/status/892306836199800836?s=20
First I've heard of J! Say you want to compute the product of integers in a list. Should you encounter a zero, you can exit immediately since the product is known. In C this would be an `if (arr[i] == 0) break`. How would one express this in J's loopless style?
X1 Carbon is a really nice device. Its pretty reliable, Linux friendly and has no spyware installed like some other Lenovo lines.

But no matter what laptop you pick, its gonna take you a couple of weeks until you are comfortable with it. But it will happen eventually. Laptops have the same interface after all.

Switching the entire software stack from Mac to any other OS is probably the main struggle.

Try a couple of Linuxes or Windows for a few weeks until you find the sweet spot. Between Mac, Windows and major Linux distributions, there is none that is objectively better anymore(for developer experience). Its a matter of preference and habit.
China’s facial recognition cameras installed in Serbia
French Entrepreneur Creates Light Without Electricity
I’m always annoyed that spellcheck/correction on iOS is really flawed in that is doesn’t try to take a guess at phonetic matching so you can’t just guess at how something is spelled phonetically you often have to have the first X letters correct.
Metaphone is a much better alternative to Soundex for phonetic indexing of English words. Phonetic indexing is an interesting concept, and inspired by Metaphone, I was able to write algorithms for Malayalam[1] and Kannada[2], two Dravidian (Indic) languages. They work well for searches and suggestions.

[1] https://github.com/knadh/mlphone

[2] https://github.com/knadh/knphone
It depends on your password: https://hashcat.net/wiki/doku.php?id=cracking_wpawpa2
The impact of cellular IoT connectivity
No, they just break in on pure speculation, especially Tesla's.
The other library doesn't have to use your error library, it just needs to preserve your error when passing through. To make this a common practise, this proposal was made.
Jesus Christ. What the fuck did I just read?

This is not okay, Paul. Don’t write stuff like this, and maybe hire an editor. Someone who can call you out when you’re way off in the weeds.
I found running the bash script to set up Let's Encrypt on a Digital Ocean box honestly easier than navigating through Cloudflare's admin web UI.
The PDF in this post is built from https://github.com/sarabander/sicp-pdf. See https://opendocs.github.io/sicp/ for more details. If you have a direct link to a better rendering of this book, could you please share it? I would like to see which pages are rendered better in it.
Pilot here...

This NYTimes article is a recommended read. The author discusses the role of pilots who lack good airmanship (pilot training outside the US relies much more on rote memorization versus learning to fly small planes and/or in the military).

https://www.nytimes.com/2019/09/18/magazine/boeing-737-max-c...

Boeing certainly messed up with the MCAS system design, but a perhaps bigger error was to over-estimate pilot skills and intuition. A good "stick and rudder" pilot would have cut out the automation promptly and likely recovered from the situation.

For example, one of the factors in the crashes was airspeed. The pilots left the throttle at takeoff power, and accelerated to such a high speed that it was not possible to counteract the nose down moment. Also, had they noted the airspeed, they would have immediately known that they were not at risk of stalling, and that they were dealing with an instrumentation/automation failure (in which case you cut out the automation and hand fly the plane).

This does not absolve Boeing. MCAS violated their "pilot first" design pattern. It should have simply activated the stick shaker and an audio alert (and redundant sensor inputs should have been in place to minimize false positives). That said, the way pilots are trained in countries where light aviation is not a thing is an issue to be dealt with.
Show HN: Inlets (2.6.1) Multi-arch/OS/K8s network tunnels
can you share what was broken since January?
In my experience, doctors, also GPs, are aware of effects on mood. In fact, my SO didn't start taking the pill until it was recommended for precisely those reasons during the (peri)menopause. There is a great deal of uncertainty about which pill will work, if any, but that's hardly surprising, as we have so little knowledge about the brain.
German lab where dogs bleed to death
You do realize that there are multiple dialects of English[0], some of which differ wildly from the common ones. So again, whose pronounciation?

[0] https://en.m.wikipedia.org/wiki/List_of_dialects_of_English
The Fifth Estate
My approach to get into wifi networks is not as sexy or cute, but it works:

1) You need a device that can connect to wifi

2) Approach your neighbor/shop owner/coffee owner

3) Ask: "Can I connect to your wifi, please?"

4) It takes about 4-5 seconds to get the password to the ssid

5) Works on WPA2, WPA / TKIP/AES and WEP

6) Success rate: 70-80%

Cheers
Not only that, but aliases are also guessable as they are created using the same pattern, one or 2 letters for noun and usually 2 for verb: rjb Remove-Job, etsn Enter-Session, gc Get-Content, gps Get-Process (but also ps for historical and even more discovery resons)

In my book, anybody complaining about terseness of powershell knows 0 about it and should be treated as ignorant. Give me a random bash command and I will probably make it shorter in Powershell without any custom made mumbo jumbo.
Also worth considering: many of these classic cars are underpowered (especially after a few decades of wear & tear), have terrible handling, and not that much range to begin with. The EV conversion can address all of this. Apparently the art is in not overdoing it on this front and preserving the original character of the car. The best conversions are fully reversible if the owner chooses so.
> fully decomodifying housing - which I recognize is radical - but the incentives for buying and building housing today don't align

The incentives for commodity housing are to build more if the price is high. There aren't a lot of incentive structures that improve on that.

The only alternative that doesn't have strictly worse incentives are if the government builds and assigns all housing. I'd bet that turns out to be worse in practice, but if it has ever worked out anywhere ever I'd be interested in the case study.

It would be a much better idea to stick to non-radical things like tweaking the zoning so developers aren't banned from building things.
The Dell XPS line is pretty decent, and the newer models have fixed some design flaws (like camera placement). The higher-end models have discrete graphics cards, fingerprint readers, and a decent resolution display.
Sharelist – A single place for all your lists
First, bad apples do happen in both Mac and Windows worlds. I've worked primarily on Macbooks over the last 10 years (while Windows on laptop was still in diapers) and they never failed on me. Now that Windows 10 Pro is getting really good, and the Macs are getting obliterated by horrid design decisions, I see myself switching to Windows.

I personally prefer Windows laptops with UHD/QHD screens because I can put much more info on it (e.g. 3 vertical code windows or two vertical web browsers). The Mac won't let me set that high a DPI, even if the resolution is theoretically there. Also the 4:3 Mac screen ratio many times results in the bottom part of the screen obscured by fingers, e.g. bed coding.

That said, the best I've found is Lenovo Yoga 920 and Dell XPS 15. The Dell can be fitted with 64 GB ram e.g. if you run VMs, and since you mention amazing graphics, the OLED version says Hi to the Macbook Pro, from another universe (in other words the Mac display looks like utter trash compared to it).

In all cases, you need to clean-reinstall from a Microsoft provided Windows installer (to get rid of the massive preinstalled, buggy and inefficient bloatware), and run ThrottleStop to undervolt the machine to avoid the extra heat and boost the battery performance. Write down what you do, and over time you will develop your "install script". Chocolatey is your friend.

HTH
This is missing Terminus[1], a wonderful bitmap font which is widely available on unices.

[1]: https://sourceforge.net/projects/terminus-font/
Dynamic typing is more work: adding code that validates types at runtime, validating types of variables in unit tests, validating types manually while refactoring, documenting types of variables...
I am somewhat interested in railways, but I have never seen an 8 axle passenger wagon. Even 6 axle passenger wagons are not in use in Europe today. Can you give a reference of any 8 axle wagon? The longest passenger trains in Central Europe are around 400 meters. To get 256 axles there would be an axle every 1.6 meters on the whole train.

Freight trains of 1000 meters are exceptional in Europe. You would need an axle every 4 meters to come up to 256.

The axle limit is completely theoretical. The are plenty of other limits a train would exceed before.
I’d like to see version control turned into a first class API that just happens to have source code as one of its payloads.

I’ve worked on so, so many apps that you could loosely characterize as a CMS. I like to say we don’t have a developer shortage, we have too many custom CMS apps sucking up manpower.
> it will protect against ISP and state level observations of DNS

It won't if it defaults to centralized on-profit business like Cloudflare. They can tap for govts or sell aggregated data to ISPs someday. They aready own a lot of unencrypted traffic from TLS-termination.

Wouldn't it be better to use public/private key signing and onion-like infrastructure for DNS resolving and still keep it distributed?
Good concept. Highlighting the showcase and adding more examples will really make it more easier to understand.
so much cringe it hurts
Maybe a cultural split-- sex discussion subreddits are full of posts with people using both condoms and hormonal birth control freaking out worrying that they'll get pregnant and getting replies saying "don't worry too much, so long as you use condoms, birth control, and withdrawal it's somewhat unlikely! Just make sure you do all three!"

I figured that somewhere the people in charge of reefer madness videos got assigned to make sex-ed material. :)

So there is at least some risk that when you hear someone say that abortion is an alternative to hormonal contraception, what they're really thinking is condoms+abortion is an alternative to condoms+pill.
Kubuntu (KDE) has their blue/silver theme and Mint is a distinctive green. Ubuntu looks pretty drab in comparison.
Last time I did APL programming I was a bit bothered by the performance implications of some of the standard loopless programming styles. In particular, it's hard to nest loops.

As an example of the implications, consider computing the Mandelbrot set. I'll be using Numpy here to ensure people can follow what I'm doing, but for the point I wish to make, it's similar to how you'd write it in APL. The Mandelbrot set is compute by applying a function like this to each of a bunch of complex numbers:

def divergence(c, d):
i = 0
z = c
while i < d and dot(z) < 4.0:
z = c + z * z
i = i + 1
return i

To apply this to many points simultaneously in a vectorised "loopless" style, we'd write it like this:

def mandelbrot_numpy(c, d):
output = np.zeros(c.shape)
z = np.zeros(c.shape, np.complex32)
for it in range(d):
notdone =
np.less(z.real*z.real + z.imag*z.imag,
4.0)
output[notdone] = it
z[notdone] = z[notdone]**2 + c[notdone]
return output

There is just one `for` loop, which is pretty easy to do in APL. The `while` loop has been subsumed into control flow encoded in boolean arrays. This is not exactly how you'd do in APL, but it has a similar feel. It's also pretty slow, because we are manifesting the entire `z` array in memory for every iteration in the outer loop. In contrast, an old school loop over every point, with an inner while loop for every point, would involve only two memory accesses per point. On a GPU, I have measured the vectorised style to be about 30x slower than one with a conventional `while` loop.
Give me Consolas or give me death.

I have tried many programming fonts. I love articles like this that expose to me to new, fun things to try. But alas Consolas is King.
This may sound a bit consipiratory but I have wondered if the lack of support for effective long term male contraception is purposely because it's suspected that the birth rate would plummet and we would see huge population decline.

As it is now there is still a high chance of unplanned pregnancies across the population and I wouldn't be surprised if they made up the bulk of children born. If men had an effective fire-and-forget long term contraceptive then unplanned pregnancies would be practically nonexistent.
Is that really really that great?

It is a collection of syntax sugars, anybody can make one in an hour. Here is mine:

* https://github.com/majkinetor/posh/tree/master/MM_Sugar

In it you can see things like `groups` in `Show-Group` that can be used to show Windows groups you belong to, or typical linux commands for machine restarting in Shutdown.ps1 (halt, reboot...) and something I use zillion times a day:

function Enter-Parent { cd .. }
function Enter-GrandParent { cd ..\.. }
sal .. Enter-Parent
sal ... Enter-GrandParent

Aim of the project is probably to have more standardized syntax sugars rather then each person inventing their own...
All this assumes though that the devices can be configured to do that. While that's likely for browsers, it's less likely for smart TVs or other IoT devices, especially if you don't trust the devices in the first place.

(Edit: removed bit about root CA certs because I misunderstood)
A Dumb TV for Consumers
I know it's mentioned in the article, but I've loved using Fira Code for awhile. It's made some parts of code much easier to read in ruby and javascript.
The example you give is a complaint about a removal, not the offending post itself.
Robot Rocket Printers, 'Fornite' Disappears, and More News
I think we are close to seeing the "true cost" for TV show production and distribution. I have a feeling that before the Internet, advertisers couldn't measure the return on their investment, and so were paying too much for TV ads, making TV cheap for the end user. In addition, people were forced to buy channels they didn't watch, subsidizing them for people that did. Now we are close to paying the true cost. I think that's better for the companies involved and for the consumer; the only incentive is to produce TV that they want to watch. You don't like it, you stop paying them, they go out of business. That is the most fair of all business models.
> whereby you'd self-learn and figure things out

Which the author of this submission did. Fearmongering about the unethical motives one might have about a vulnerability that is now about two decades old seems pretty pointless. I don't particularly enjoy the hackfluencer style of writing of the post or condone what it's supposed to do but it's at least an interesting read. Let's face it, you can get an ESP deauth image in 5 minutes if you have malicious intent, you wouldn't bother to go into the depth the author did here, which makes it interesting and imho relevant to this site.
I used an X1 for a few months. It took me a fortnight of rage before I discovered you can switch fn and ctrl in BIOS. after that I really liked it.

I'm going to be in the market for a new <= 14" soon but want more ram than the X1 carbon offers. A T490 caps out at 40gb and has decent specs on paper, I'd be interested to hear others' thoughts on the model though.
The “offending” posts are in the screenshots attached to that post and some of the comments.
Sometimes you can have a daily newspaper and it isn't much help. The Lansing State Journal costs me $60 a month and the stories of importance to me are either days late or not there at all.

It was the local counter culture weekly, The City Pulse, that first broke the story of Dr. Naser, the MSU sexual predator. The City Pulse was also the only press that reported Sparrow Hospital had failed a federal inspection and was in danger of losing their certification. Sparrow execs went out and confiscated every paper they could find in a ten mile radius of the hospital to prevent the story from spreading.

Personal note Ed Vielmetti quoted in the article is a friend who helped me write the the open data legislation we're trying to pass here in Michigan.
Well, beauty I believe
Show HN: Inlets-Pro – L4 TCP Service LoadBalancer
> because baths around 45-50 C (113-122 F) aren't uncommon at all in Japan

You are stretching it. Most hot onsen are above 40C but certainly not above 45 or close to 50. At 50 you feel like you are boiling. And even if the source is at 45 C you never sit right next to the source, a few meters away the temperature loses several degrees.

ANd people in Japan don't go to onsen every single day either. At home the usual temperature is rather 40~41.
Aaargh, I am only human...
You don't endure that because his claim is unsubstantiated.
I hope so! "Tina, you fat lard!"
Wondering this as well!
Startup captures air pollution and turns it into ink
Terminus is pretty well known, though.
To go a bit more off-topic here, It isn't obligatory that decentralized p2p platforms manage network obstacles badly nor that you even connect to random strangers at all.

When RetroShare was still in the Debian repositories, I managed to establish fast and direct connections with my peers, and only my peers, especially after forwarding a port.

Meanwhile the (outdated) version of Syncthing in Debian only connects through a relay which limits its speed and is a problem for privacy. For chat, there is Jami (outdated, too) and Tox.

It looks like most of these problems are because of a lack of people working on them, and possibly misaligned incentives. The technical issues are secondary.
Can You Work for 6 Months in an Office That Exists Only as Virtual Reality?
Thats irrelevant observation since Powershell has both terse and short variants.
zorin has a whiter than white ui and its the distro i always recommend zorin for windows users instead of ubuntu because it's laid out similar to windows.

the first time I tried out ubuntu i kept clicking the right side of the window for the X and minimise buttons and lasted maybe half and hour then switched to mint
> what’s cooler are technologies that are optimized across many dimensions

That sounds boring to me - there's no room for improvement. The aerospike and wenkel engines and ramjets are exciting exactly because they have not been explored so well and there may be a lot of improvements yet to be discovered.
Try getting a refurbished 2015 MacBook Pro (the last good model), as powerful as you need.
tldr: Bunch of syntax sugars. No automation at all.
It's not unreasonable to want various subsystems of the house to work cooperatively, or even to have some internet connectivity (although I personally would avoid products that use it).

E.g. having your security system (my smart home implementation would include a data diode so the home automation cannot effect the house's security posture) notify the HVAC controller that no one's home so it can turn off the air conditioning, and have the HVAC controller manage the motorized blinds / curtains / etc. so that whichever side of the house is currently facing the sun has the blinds half or fully closed to control the temperature passively. And to know that I usually get home at a certain time (I'm not overly comfortable with GPS tracking options) and start managing house temperature again ~20m before I get home so it's comfortable when I arrive.

I'd like my house to automatically close all of my blinds and turn on the interior lighting at sundown each day (not at a fixed time each day as simple controllers do - I want it referring to a pre-computed almanac or dynamically figuring out when the individual sun up / down times for each day are. Maybe integrated with a solar panel system so it can detect when energy output starts to ramp up and use that as the sunup/down times, although that doesn't account for cloud cover).

Imagine having a garden irrigation controller that polls rain radar data from the local weather bureau and uses it (along with a local weather station) to decide whether to hold off on watering the plants, in case it rains. And using the local weather station to decide how much (if any) watering is needed.

I don't want a smart home that does "ladies man" type stuff as you describe - I want a smart home that actively makes my life easier, by taking care of the little things that only cost a few minutes each day to do (watering the lawn, closing blinds, ...) but waste a lot of time in aggregate.
True. I live in a county that is twice the size of Rhode Island. I work in a county that is the size of Rhode Island. And both counties are far from what you would call "rural" [1].

[1] For the record, Palm Beach County, Fl (main city: West Palm Beach) and Broward County, Fl (main city: Ft. Lauderale), respectively.
I've been doing a lot of work on windows, so I bought a surface book, and I really like it. But it is fragile. I bought a refurb, and I had to exchange it twice. Fortunately the support is good, when I've had a problem, MS swapped it for me via courier . I've had everything backed up on one drive and really been quite easy. If you find yourself in this position, their online support chat has certain hours in each country, just switch the /us/uk/au path segment in the chat url and you'll get to chat with a person any time of day.
The new razor blade 15 really caught my eye. Expensive, though.
When you start thinking about every function having multiple return values, one of which is an error optional, treat every one of those function as failable, and then build that functionality into the compiler - then you soon arrive at proper exceptions. Granted, forcing the error machinery syntax upon the programmer makes it more explicit and requires less discipline, but it also gets old pretty fast.
Do you mean sum types? Like Haskell's Maybe and Rust's Result?
I love static sites and made some using Hugo. A year later i've started working with WordPress and its ugly/nice (it depends) Gutenberg editor and to be honest, having a look at the quality (yes, there are a lot of excellent plugins and a lot of bad ones) and the availabilty of plugins,i think WordPress is the only platform to go for business oriented websites where seo, caching and other things matters a lot. I've been using wp on production and i'm very happy with it and even if it's far from perfection, even common users learn easily how to use it.
Static site generators look like something build for developers instead of non-developers users.
What i really miss on WordPress is the capability to produce a static site from a WordPress installation and use netlify for hosting. I know there are some plugins for that purpose but i still haven't tried them.
Macbook Air > Macbook Pro just because of the keyboard