skysight-inc/HackerNews huggingface dataset:
To me, minifaction will rename reallyClearFunctionName("string param") to a("string param").
While obfuscation would also encrypt the "string param" and then decrypt it at runtime. Minification's main purpose is to reduce the size, obfuscation will go one step futher and make it difficult to understand what is going on. Side note, it can be obfuscated but "maxified" (if that is a thing).

Side note: the joke goes that Perl is a write only language as it is difficult to read it and understand it. Some twisted souls decided to create the obfuscated perl content: https://en.wikipedia.org/wiki/Obfuscated_Perl_Contest

For a list of some of the winners: https://www.foo.be/docs/tpj/issues/vol4_3/tpj0403-0017.html
Couldn’t find source code for the model training or the dataset, is it available?
British Bird-Watcher Discovers Trove of 2k-Year-Old Celtic Coins
It's a feature for sure. The article was a refreshing read too! Of course, hiding and abstracting away much of what is available in C, will have issues when you have special needs. But it beats "make configure" any day, and works well when you just need something with decent speed and memory footprint to get the job done.

I'm enjoying all of what you mentioned above, and dislike languages that are more C/C++ like now, as you often get "un-bit" by these snags using Go. However, Go has some snags on its own (hello slices!), so it's good to make sure one learns the fundamentals and what works well. A bit sad when repos import hundreds of other packages, I just turn away from such offers. It's been the state of IT for past 20 years that everything is essentially garbage. This is nothing new, and one just need to pick one's poison as you go along.

Nothing is ever simple either. All the "better solutions" in Rust, is sure to need refactoring and updates, while Go-code can mostly continue to run as-is. That's a good aim for its niche. Though, we all know the underlying platforms are very diverse, complex and come with snags of their own. I don't think the aim of Go is to tackle them all like "make configure" attempt to though.

I'll be happy to learn Rust for some herculean effort sometime.
If it's just an empty placeholder, not much. if it's your actual site or app there could be various issues, e.g. with search engines, people actually using/being tricked into using the app through the wrong domain and having cookies associated wrongly, bad content on subdomains being associated with you, ...
Modernizing the Law to Enable Electronic Wills
StuGo: Studios on the Go
Over the past year, we've been developing and designing the new StuGo. We were fornuate enough to raise our investments and build a solid team over this time.

I'd like to introduce you to StuGo.™

StuGo™ makes finding the perfect studio for your craft simple and easy. No matter your location we got you covered. Browse through available studio categories in your city and book instantly. Any type of studios, art, dance, music, photography, and many more studios.

For studio owners, StuGo™ here to shape the future for studio owners + new entrepreneurs and keep them organized when they use our technology. Sign up as a freelancer or company to Keep track of all your studios and bookings in one place.

I was able to raise an amount of $80k as well during this process from our investors which are now on our team / board.

Download the app: https://urlgeni.us/getstugo
Yes. I noticed this. When I was younger, I thought how can you mix up 'their, they're, there' people you do this must be the opposite of smart. This lasted for 4 years living in an English speaking country....
About 1/3 of Google's machines and 8% of Google's DIMMs in their fleet suffer at least one correctible memory error per year: http://www.cs.toronto.edu/~bianca/papers/sigmetrics09.pdf
Those corner cases might occur rarely but are probably inconsequential given rate of occurrence versus rate of criticalness - it probably doesn't justify the markup for most. In a data center you're processing millions of transactions per minute so occurrence is much more impactful.
Probably not what you meant but https://ark.intel.com/content/www/us/en/ark/products/190108/... has support for Xeon (and ECC). Now how to actually practically source 32GB ECC enabled SO-DIMM sticks ..
E-Ink is great, but the main point about it is reflectivity/transflectivity (optional backlight), right? You can do that with LCDs, right (see mentioned smartwatched)?

Sure, the image quality isn't super amazing, but it displays color, uses super little energy and still updates quickly. That's pretty much my point.

The HiSense Q5 is a tablet with a transflective display, but for some reason that is black and white.
Reminiscent of the Megaman / Megaman X games from my childhood. Megaman 2's algorithm is available as an example here: https://github.com/kpshek/mm2pwd
Willow on the NES was also hilariously long and did a whole lot with 18 character passwords. Underrated game, too
The problem is that most people lack discipline and run up debt. Using CCs is fine if you are extremely disciplined.

Dave Ramsey made a career out of teaching “normal” undisciplined people how to avoid and eliminate debt and that includes the advice of “never ever use credit cards or get loans.” A 15 year home mortgage with 20% or more down is the only acceptable debt in his eyes. (And that’s because human nature often leads people into debt, not because of any mathematical basis.) For the majority of “normal” people, he’s right.
It's also possible to run Caddy in Docker as non-root, but it requires jumping through some hoops when configuring Caddy, for example changing the HTTP and HTTPS ports in global configuration to something else, since those ports are necessary to use for ACME.

If the official Docker image did that, then most users would be very confused and we would get lots of support complaints. A cost-benefit analysis told us it was not worth the headache to run as non-root since the Caddy project values highly user experience.
Rock Pi X Review – An Atom x5 SBC running Windows 10 or Ubuntu 20.04
Babashka is a nice project (I will try to do something or port it), but I use fleck to learn clojure better... to make lines I have to create a lot of base functions and interop. But fleck is slow :(
I noticed the earrings not matching but got plenty of matching ears. Some of the are badly deformed but still, this is a pretty good feat IMO
Stop placating the parasitic middleman. I wish the govt would donate to sci hub and tell elsevier et al to shove it.
Above average would imply only people better than a normal developer will evolve. Everyone below/above will get better or worse (bad habits creep in)
User Experience: This app does not open scan dialog immediately, annoying.

Features: This app does not fix perspective distortion.

Office Lens (https://play.google.com/store/apps/details?id=com.microsoft....) is so much better, I get rectangular image without any hints, to say nothing about manually selecting anything.

Office Lens really creates this
https://play-lh.googleusercontent.com/AgErNUVn_Jg41jSQO2p2CF...
from this
https://play-lh.googleusercontent.com/yv6eUY6EyR8x2Hd6NB1SBW...
and that is amazing.
>back when games had cheat codes

Quite a coincidence because of the only remaining secret of Nier: Automata (2017) was discovered today, an intentional cheat that lets you jump to the end of the game (the game needs multiple playthroughs to see all endings and reach the real one)

https://twitter.com/manfightdragon/status/134561558810678067...

And it was confirmed by Yoko Taro as well (he previously said there is one thing left the players haven't uncovered yet) https://mobile.twitter.com/yokotaro/status/13457144900677468...
Projects vs. Tasks: A Critical Distinction in Productive Scheduling
Companion Forever Errase. After One Meet
I Got Injuryied After Companion One Meet Pair Processes Who Have Information Text I Ratchet That Away. With My Tools. Im Lethal To Search In (Hack
Programs) Type In Browse. I Look And I Errase.
(No Send Worms Or I Kill Your Ram.4GB 8GB 16GB 32GB. Only One
Ram Card. I Kill)

I Look In Images. Hack Programs.
Lenovo has Xeon laptops[0], and technically Intel used to support ECC on i3 (and celeron, etc.)

0: https://www.lenovo.com/us/en/laptops/thinkpad/thinkpad-p/Thi...
> Superhuman is an invite-only $30/month email client

Right then. That's more expensive than my cell phone plan.
To be fair, if your save mechanism is just a straight memory dump with no checksums and validation. You have bigger issues.
The mistake was that it was included.
There are a surprising number of cases where it is extremely unlikely that a library is replaceable even if the use case is popular and there is no restriction on making an open source replacement. The overhead cost of open sourcing software can be high, which must be offset by a realistic expectation that value will be created by open sourcing it. There are two common cases not considered here of which I've seen several examples of libraries in my world.

First, replacing the library requires extremely high/rare expertise and several man-years of development to implement a basic version. These never get replaced in open source because the level of individual investment is extraordinary; these libraries only get built when a company invests a few million dollars hiring one of the handful of people that know how to write one over years, which is rare and at which point they want to own it. The barrier to open source MVP is simply too high. Even worse, in some cases the licensed version becomes unavailable/unsupported because the person that designed it moves on but at least there is an incentive to spend a lot of money to remedy that.

Second, replacing the library requires computer science that has no description in literature. I've seen teams of CS PhDs spend years trying to clean room equivalent libraries with little success when there are few hints in existing computer science literature how the original library capability was even achieved. They might be able to buy a license to the original library but many times that is cost prohibitive (millions of dollars) or not available at all (licensing restrictions).

Not every application has a library dependency with these properties but it isn't that rare either. These libraries are used for good reason and sometimes provide central functionality without which the rest of the source code is relatively low value.
> But the argument is, should it be a bad practice?

Are you really asking if running external-facing services as root should be considered a bad practice?
> That's my definition of "true explicitness", where all code which executes at some point is available locally.

But no control flow construct satisfies that. Jumps are the whole point, and the unit for structured control flow is the block (what's the next instruction after `break`, `continue` or `}`?). defer is just as structured, just as local, and just as explicit as C's control flow constructs.

> It's also familiar syntax to the entire generations of programmers.

True, but learning Zig takes a day; two tops. Where it differs in syntax from C, it does so for good reason, and it's not like it's a complex language where different syntax is an additional burden. C's `for` syntax just doesn't make sense (`;`, which everywhere else in the language denotes sequential composition, means something different in the `for` header). Is an additional 2 minutes of learning, in a language that has very little syntax, not worth fixing something that's unpleasant in C?
I wonder how the media will spin that
ECC works if done right. Accessing a memory location can fix bit-flips (ECC is a 'correcting' code). But systems that don't regularly visit every memory location, can accumulate risk. Those dark corners of RAM can eventually get double-bit errors and be uncorrectable. So an OS might 'wash' RAM during idle moments, reading every location in a round-robin manner to get ECC to kick in and auto-correct. Doesn't matter how fast (1M every hour or whatever) as long as somehow ECC has a chance to work.
I always found core.match really nice: but, in general, I strongly prefer using multimethods for the sort of thing other languages use pattern-based dispatch for.
But you have all the code and you know which functions/methods/etc that can do requests so it should be trivial... either way, if it is not a solvable problem, there is a major problem in the design.
Feel free to take it or leave it.
Well considering that much of the research one would want to access might be published outside the country, pretty hard...
Where did you get the idea HN is libertarian? Most people around here aren't that heartless and cruel.
What's a good way to expand storage capacity?

File systems like ZFS have software RAID which require all drives to bought up front. In order to add more capacity, the whole array must be more or less rebuilt from scratch:

https://raid.wiki.kernel.org/index.php/Growing#Expanding_exi...

Ceph gets it right but is too heavy weight for home use. Btrfs can add new drives to an heterogeneous pool and rebalance data but it still has problems with the parity implementation.

There's gotta be a way to do this...
Incompetence is a form of malice in cases like this.
Excelize 2.3.2 is Released – Go library for spreadsheet (Excel) files
Extensions used to be able to even network requests triggered by browser internals and by other extensions. I think with webextensions this is no longer possible.
from what i undersand, minification just involves removing line breaks and tabs and can be un-minified fairly easily with tools such as https://beautifier.io/. obfuscation involves techniques such as changing function/variable names from human-readable to human-unreadable, changing certain strings to concated variations of themselves, base64 encoded, or other similar transformations.

e.g. original code:

function NewObject()

{

var mainApiUrl="https://google.com";

}

minified code:

function NewObject(){var mainApiUrl="https://google.com";}

obfuscated code:

var _0x8275=["\x68\x74\x74\x70\x73\x3A\x2F\x2F\x67\x6F\x6F\x67\x6C\x65\x2E\x63\x6F\x6D"];function ahyt56(){var _0xb40bx2=_0x8275[0]}
Apparently the Macbook will only experience this issue while running on battery.
We are geo engineering already, even if inadvertently.
Teaching English in Kathmandu
Is that actually required, or it the legal team being overly cautious? AFAIK how GPL works is "here's my code. I own the copyright (by default), but I'll license it to you on the condition that you license it back to your users", but if you don't own the copyright to that snippet (as evidenced by someone posting it before you did), then you're not in a position to make demands. It'd be like demanding rent from tenants living in a building that you don't own.
Oops, that was dumb. Fixed, thanks.
Event loop, promises, and async/await explained using primitive code concepts
You need 1/8 more memory - that's real the cost. It's pretty
much Intel's fault for the segmentation.
It is nice start, but cropping function is pretty much not working. When scanning with the phone the page is rarely properly alighned ans cropping step should be automatic (like with CamScan). Even if performing it manually under perfect conditions (white page on back background) it fails to detect page boundaries. Screenshot: https://www.dropbox.com/s/cpvdidugiy7n3lk/Screenshot_2021010...
I think they are saying Indian taxpayer funded research will be made available to public for free by passing a law and for international scientific journals they will make a deal for a country-wide subscription and make it available to the whole country for free. As a taxpayer I would want to see some usage statistics (not asking for ROI or such, just usage).
It becomes a definition game. I'd say that most managers are not leaders but administrators.
If I ask you not to smoke next to me, it's not to protect you from smoking, it's because I don't like or tolerate cigarette smoke.

I'm not defending Apple; I'm glad Amphetamine is keeping its name. I'm saying they're not claiming to protect anyone.
This is a common issue in AWS too. User sets up a Route53 entry pointed at an S3 bucket, then later deletes the bucket but not the domain. Someone else then creates the same bucket again in their account (bucket names are globally reserved) and suddenly they can host content on a domain they don't own.
Wall Street readies for more stock froth amid economic pain in 2021
What's described in the article is hotword-activated? So not at all what GP is supposing. If you say "Hey Google, tell me about toilet paper" and get ads for toilet paper, that's a fairly understandable cause => effect, but there are persistent anecdotes about conversations manifesting in ads where no hotword activation occurs (typically about Facebook.)

Every company vehemently denies this is possible.
in theory, what's the largest number of Z80 processors that you think could be fit into a feasible FPGA?
Yeah this is silly, but I think this could be progress:

- Before: institutions paying the rent might be lame and want to hoard the benefits to themselves.

- Now: everyone gets the same benefits so there is no competitive advantage of being the institution able to pay.

Of course, this opens up regulatory capture where few notice the rent seeking on the government, but I hope that there is enough buzz around this issue that that phenomenon can be avoid.
Do the crash reports include whether the machine has ECC memory?
If you enumerate the ways browsers can make network requests, and if you have access to the source code of the extension, you could prepend the code with a bit of JavaScript that replaces the various network-related functions and methods with code that logs and/or validates the URL before making a request.
I have a box of old Nintendo power magazines, the box is covered in Metroid codes.
Having recently acquired a NAS for use (among other things) as a single source of truth for photos spanning ~15 years, I have done a lot of research around backups.

These are the threats I have considered and would like to mitigate against, in no particular order:

1. Physical damage or theft to the NAS and supporting hardware (e.g. backup drives in my home).
2. Accidental deletion or corruption of files through user error.
3. Ransomware which targets my NAS. In particular a sophisticated malware author could target common cloud backup destinations by looking for credentials stored on the NAS, and delete any backups, although I have not heard of any such attacks in the wild.

The first threat seems simple enough to mitigate: make regular backups backed by cloud storage, and keep offline credentials for accessing the backup in multiple geographical locations as well as a cloud based password manager.

The second is also not troublesome: use a filesystem which supports versioning and take regular snapshots.

The third is where I have been somewhat disappointed by the options. An effective strategy is to keep an external hard drive which is plugged into the NAS regularly and keeps a clone of the data. However, an extremely cunning malware author could still pre-empt this by corrupting data on plugged in drives. This is extremely unlikely, but here's where I was hoping for better options in cloud backups: effectively all the pieces are in place for immutable backups, except for the tooling.

Options such as restic and rclone don't have good (if any) support for targets which support immutability, such as AWS S3 and BackBlaze B2. My current solution is to use a version of restic which I have patched to not require delete permissions when targeting B2, and very carefully manage API keys so that deleting backups would require compromising my BackBlaze account. In case a script does try to corrupt the backup repository, there are few if any supported ways of accessing a past version of a B2 bucket, although rclone comes very close and could support this very nicely with some minor tweaks to the B2 backend.

I will be keeping a close eye on this, and hopefully if I have the time I can make some PRs to push the open source tooling in this direction.
I hated school too. But what caused your nightmares? For me, it was my peers, not oppressive teachers. Most modern high school movies seem to suggest the same thing. So perhaps we should fix the quote. Schools are like prisons - where the prisoners have taken over the institution.
This sounds very related to one of David Marquet's credos from "Turn The Ship Around!". Don't ask "Are we ready?"; instead, ask "How ready are we?". Everything needs to be phrased so as to invite people to express the knowledge they have, rather than demanding what amounts to a declaration of tribal identity.
What’s to stop me, as a journal publisher, from saying, “hmmm, yes, Indian government? So that will be...1.35 billion subscriptions, yes?”
Having used Clojure and Common Lisp professionally, I think advocates for REPL driven programming universally overstate the utility of a first rate REPL.

Yes, it’s nicer than Python’s. Yes, it’s convenient. No, I never ended up doing my development in the REPL first. Why? Because editing mistakes in a REPL usually sucks, because a REPL is not a text editor.

What I ended up using heavily was REPL to file integration, which gave me the ability to write a function normally, evaluate it in the attached REPL session, and then play around with it in the REPL. This is far short of the “REPL driven development” that’s commonly discussed, and frankly something that’s probably possible with the Python REPL if they wanted to.

Editing data and functions in the REPL is a neat trick, but it’s a double edged sword, because a REPL can crash, and it provides incredibly rudimentary support for diffing current state and migrating changes back to permanent files. I would never start with anything more than a trivial “how do I manipulate this list” in the REPL for that reason. Oh, and we had a lot of issues with REPLs getting into a bad state with Clojure due to multi methods and protocols; if you’re doing your primary work in the REPL, then having to restart it due to it becoming unstable really sucks.
Closed-lid + External Monitor + Power Supply = awake
Closed-lid + External Monitor + Battery = sleep
Closed-lid + External Monitor + Battery + Amphetamine = awake
>
Putting the binary in entrypoint instead of CMD seems like a misuse of what CMD was intended for, no?

No. From Docker's official reference:

> The main purpose of a CMD is to provide defaults for an executing container. These defaults can include an executable, or they can omit the executable, in which case you must specify an ENTRYPOINT instruction as well.

https://docs.docker.com/engine/reference/builder/#cmd

ENTRYPOINT should point to the entrypoint, and CMD should store default command line arguments. This allows a container image to be executed as a command line application.
Current approach being explored to expand the training dataset to include faces/heads labels such that the model better discriminates this from hands.
Building credit is not a thing in most european countries.
What would be your point if you know about evidence?

I mean I've read countless stories of app/software being thrown into abyss here on HN itself. Does Apple release any such data? Where does a guy with no network report to about such incidents?

Please don't argue for the sake of argument.
But I want something that integrates browser tabs and other ordinary app windows. A single command for everything.
OpenZFS has been based on the non-Oracle illumos fork of Solaris for >10 years, and has considerable backing from both corporate and community sources.

The CDDL is a non-issue in most cases, and actually preferable to the GPL as it allows for the code to be integrated into BSD and Solaris-derived systems.
Isn't Little Snitch essentially an interactive firewall? Rather than silently denying/allowing traffic, it needs the user's decision until a connection is white/black listed? Why would this not be allowed on Linux? (other than the app doesn't exist, yet)