skysight-inc/HackerNews huggingface dataset:
For sure, as long as that's not how they/I write code normally! :D It demonstrates very in-depth understanding of the structure of the language, just as any good writing demonstrates expert-level understanding of natural language.

Two caveats:

- A lot of this knowledge might be kind of useless (for example, how to create unreachable code which nevertheless compiles), but I expect it would be difficult to demonstrate equally thorough understanding of the syntax of a language using exercises or looking at previous work (which ideally uses the minimum of sophistication to achieve the necessary functionality).

- It proves mastery of the syntax, but not of idioms, security, maintainability, speed, or any other metric relevant for production code. These might be correlated, but I'd rather see/present some examples of these as well to be sure.
I believe this happens in most professions.

When an amateur announces they've created fine art and even dares put it up for auction at ridiculous prices, true artists complain. A lot.

When you architect a building, architects complain about all the things you did wrong. There's even a popular blog making fun of McMansions.

When you build a car in your garage, true car engineers will tell you it's dumb and you missed a whole bunch of important things.

But those are not the folks who are great at their craft. Those are the gatekeepers afraid of newcomers. The greats encourage new entrants because they know the pie can only get bigger.
Location: Prague

Remote: can't, need visa

Willing to relocate: yes

Technologies: aws, linux, go, python, kubernetes

Résumé/CV: https://www.linkedin.com/in/ruslan-gustomiasov-a0a19399/

Email: rusik@4ege.ru
Yep.
I've had a couple of deliveries with stickers on the food saying "order directly from us and save"
I am not a big fan of Webview. But Javascript for pretty print was the only way, so I had no choice.
Sharing pictures isn't the only use case. The APIs were widely used for quite a few other use-cases as well (this is why it's a permission now and not removed completely).

Please remember that but everyone subscribes to your exact model of safety and capability. There are people that want more from their pocket computers than a restricted consumer device.
> Who pays?

Since all those companies can plausibly point to someone else, the victim pays! Which is just how they like it — privatize the profits and socialize the losses.

What would actually get creditors to stop using social security numbers is if the SSN's utility as a proxy for creditworthiness drops. But that won't happen, even with many more breaches, because individual consumers need to do everything they can to keep their credit scores up.

> Still, we should demand it.

Yep. The market will not drive this. It will have to be consumers, speaking collectively through the government, imposing regulations.
> if it gets as bad as in Myanmar, a)laws wont help b) we will have bigger problems

It gets as bad as it has in Myanmar when one doesn't have those laws. If you ban cutting communications, it normalizes the expectation. Cutting communications now becomes personally and politically risky in a way it isn't if it's in the grey area.

For an example, see India's slow slide into authoritarianism in this respect. Cutting communications in Kashmir was legal, but iffy. That normalized, legally and culturally, the mechanism. Now, communications are routinely cut across the country.

All that said, Myanmar fell to a military coup. That's a different failure mechanism from elected leaders getting too comfortable on their thrones.
as a note they went some way to resolving the unbalance nature of aircraft by applying a penalty multiplier

though it's still extremely profitable, vs. say the infrastructure costs of railways
If Apple are actually serious, why are they taking so long to give the bounty? It's sounds like madness to me.
How is the opening stock price decided on a direct listing?

Is there a way to put in orders for a ticker before it has opened/been listed so that you can purchase at 9:30 on the 14th?
Coinbase has been using Morgan Stanley's Shareworks platform to manage the direct listing, which has been a nightmare to use. ACH transfers take over a week and the platform has a ton of technical issues.
how the turn tables
Yes and no: https://github.com/Kotlin/KEEP/blob/master/notes/value-class...

"value class" is the next step for inline classes. They are going to behave very much like Swift's struct and its "mutating methods". And they are going to be "Valhalla ready" so we'll get the performance improvements automatically when it lands.

In a sense, they are an upgraded data class with a much more precise and controlled form of mutation. Rather than a `var` field meaning the object will mutate in-place, it will basically automatically call a kind of (implicit) "copy()" method. Further, you may only mutate these `var` fields inside of class methods that are marked with a new keyword: `mutating`.

Read through the KEEP. It's pretty interesting stuff. At first it kind of rubbed me the wrong way, but the more I thought about it, the more excited I got about it- especially after thinking about how Swift does it and it works well there.
What easter egg? I remember my Amiga doing the same thing soundwiseish but that was 8bit digital 4 channel stereo sound on a 68k that could do the reverb in software. This is a simple waveform generating SID chip which is what makes it cool. In other words I missed any bit of Amiga easter egg.
> No unsigned ints.

I think that's a mixed blessing. I believe Java did this deliberately to avoid the trouble that C and C++ have with signed and unsigned integer types having to coexist. Personally I've never been inconvenienced by Java's lack of unsigned integer types, but I'm sure it can be annoying in some situations.

I'm quite fond of Ada's approach to integer types, but I suspect I'm in a minority.

> Silent integer overflow/wrap-around. It's not C- did it really have to copy this insanity?

Curiously this cropped up 10 days ago. [0] You're not alone. The great John Regehr put it thus: [1]

> Java-style wrapping integers should never be the default, this is arguably even worse than C and C++’s UB-on-overflow which at least permits an implementation to trap.

> The fact that arrays got type variance wrong.

At least Java has the defence that they didn't know how it would pan out. C# has no such excuse in copying Java.

> No concept of `const` or immutability.

I recall a Java wizard commenting that although a const system is the sort of feature that aligns with Java's philosophy, it's just too difficult to retrofit it.

[0] https://news.ycombinator.com/item?id=26538842

[1] https://blog.regehr.org/archives/1401
I wish I could remember the name of the software package. It was posted here some time ago, but it was a DIY way to create a "summary of the internet" on a 1TB disk, similar to the “Paquete Semanal”[1] used in Cuba.

Shipping those in regularly would likely be appreciated.

[1] https://en.wikipedia.org/wiki/El_Paquete_Semanal
I don't believe this is the only reason. If it were, they would be blocking logins through mobile web browsers since there's no JavaScript API that dumps the list of installed apps. All those same attack vectors could exist on top of the users web browser as far as I know.
some linux os that comes with "a decentralized ID", "a crypto wallet", and "customer support chat bot", idk the vibe that this is going for but i think i'll pass lmao.
A lot of my peers are in a certain age that should be dating. But it's been 1 year now, and there are paranoia and concerns about safety. It's really tiring. Missing out on 2 years of developing a healthy social relationship with other people -- it really is a lost of time in a prime age.
What’s right with it? I tried it a few times and always returned to web-based clients (on desktop) and third-party apps (outlook, gmail, protonmail) on iOS.
Wow, Mail.app has more market share than Outlook. I'm pleasantly surprised. Ditto for GMail only having ~30%.

Although,

> Since determining the client in which an email is opened requires images to be displayed, the data for some email clients and mobile devices might be over- or under-represented due to automatic image blocking.

Outlook doesn't display external images by default, while Mail.app does, so....
You can't give AIDs to people by being in the same room with them.

Stop trying to reason using bad analogies. You keep coming to bad conclusions.
> the CEO of T-mobile would not refuse to switch off mobile networks if half a dozen marines with loaded ARs showed up at his house with an order to do so.

If people with guns threatened me and the way out was to turn off a network, I think I’d do as they ‘asked’.
You're mixing statistics from different testing protocols. Apples and oranges.
Still using LOS 16 on my OnePlus 3. I really should take the time to update to the latest version.
Reminds me I did a similar thing on virgin trains in the UK once. I found a host visible on the customer wifi that streamed location data using NMEA protocol over tcp, which I guess was used for hardware showing live location somewhere on the train.
It also made truly powerful apps possible as well. Apps which allowed innovation without asking our corporate overlords for permission to exist.

Funny to see people on hacker news demand that some OS capabilities be only allowed to corporations themselves and noone else.
in history, it is also one of the first needs people who want to gain power deliver. (think of gangsters feeding communities, or revolutionaries establishing schools in occupied territory).
Found another issue - in the ipad app changing the font size doesnt change the size indicator
For those who haven't seen it:

https://www.reddit.com/r/ProgrammerHumor/comments/4qw691/dr_...

https://i.imgur.com/vJFn0ov.png
Yes... we don't want to expose ourselves to different opinions. It feels bad. Feeling bad is too much to handle.
> And I am donating 100k bunglemudgeons as well, which is a currency that only exists in my head.

> Today it is the largest single donation to IA. Tomorrow based on the value of FIL, it may be the smallest single donation.

> It's a classic pump and dump shitcoin.

No wonder HN has replaced StackOverflow as the go to dumpster-fire for hate and snark online.

This is a $10,000,000 donation to a non-profit that should be near and dear to users of this forum, yet the comment section is filled with drivel.
My wife got it and made a whole bunch of photos before it started to boot loop making it impossible to transfer photos from phone.

Solution was to freeze phone and then power it up and quickly transfer photos outside. (bootloop was because high speed/power cores were going to overdrive and overheat what was causing phone to reboot)
In the novel "A Deepness in the Sky" by Vernor Vinge, the characters tell time this way. I had to do some math early in the book to get a feel for what 1Msec & 1Gsec was.

In addition, they also keep track of their cold sleep time, because if you want to meet your spouse 50 years from now, you want to try and keep the same relative age.
Damn, that idea takes me back to the early 90s. Everyone putting together curated lists of their fave things on the web.

Simpler times for sure.
> by the way, most infinite orders are isomorphic to the natural numbers as well, with the exception of the ones for which Cantor’s diagonal argument applies

There are at least two things wrong with this statement.

First, "the ones for which Cantor’s diagonal argument applies" is a bit vague. I assume it's supposed to be a reference to uncountable sets, but as written, it's (probably) referring to the general version of the argument that shows that the powerset of a set is strictly larger than the set itself. Thus, a set "for which Cantor's diagonal argument" applies is a powerset.

But not all uncountable sets (or even all uncountable total orders) are powersets. For example, any strong limit cardinal[0] can't be a powerset. Obviously, no uncountable total order can be isomorphic to a subset of the natural numbers. You can then well-order that strong limit cardinal to get a total order which isn't a powerset and isn't isomorphic to a subset of the natural numbers.

Second, even countable total orders are much more varied than subsets of the natural numbers. For example, the integers form a total order which can't be isomorphic to a subset of the naturals. The integers are unbounded below, but any subset of the naturals is bounded below (by 0, e.g.).

As another counterexample, the set of rational numbers in [0, 1] forms a total order which is dense: between any distinct elements of the total order, there's another distinct element between them.

You can get a nice theorem along these lines, though. Every countable total order is isomorphic to a subset of the rational numbers. [1]

Of course, the word "most" here is ambiguous, but seeing as there are uncountably many non-isomorphic, countable, total orders (for example, the number of countable ordinals is uncountable), but only countably many non-isomorphic subsets of the naturals, I think it's inappropriate.

[0] https://en.wikipedia.org/wiki/Limit_cardinal
[1] https://www.whitman.edu/mathematics/higher_math_online/secti...
This could really bite you:

> It is currently not possible to use ssh to login between
systems on MCT and any earth time zone
1. No, because if a company announced that the SEC had given them go-ahead to go public “for the lulz”, that company would then be in deep shit with investors and the SEC for the rest of time.

2. No, because that wouldn’t even be a funny joke.

3. No, because we are done with April Fools, the internet drove that into the ground looooong ago.
If you guarantee 100x returns, I’m in.
Troll-B-Gone Sounds sort of like pest control? ants?
Every country has had plenty of people who fall through the holes in whatever assistance programs they have in place, and the US media has downplayed their downsides compared to what the US did. For example, there's been a tendency in the American press to push the UK's furlough program as better than the US approach because it kept more people off unemployment, but as far as I could tell the US enhanced unemployment was substantially better for the worst-off amongst you than UK furlough, and those who didn't benefit from furlough and had to go on unemployment - for example, because their employer went out of business, or they were between jobs, or had started a new job too recently - were much worse off here.
Supreme Court sides with Facebook in text message dispute
Violent bureaucracy: critical analysis of the British public employment service
Lots of great comments about not collecting/retaining sensitive data in the first place.

Yes, we need to move away from SSN as a { unique-ID + secret } combo. But that's a non-trivial task.

I'm starting to think we need something like PCI for SSN: want to use a SSN? Bam! You are now subject to intense audits that will evaluate all your data practices (and for which you will be billed). Orrrr… use a third-party vendor and never touch this data.

That being said, it's still not a perfect option because Credit Card numbers can be rotated whereas SSN seems to be engraved in stone. Still following the Credit Card analogy, having multiple numbers would greatly help. Just the same as you don't go around (anymore) showing everybody your bank routing information and have multiple cards for various purposes, have multiple identity numbers:

- tax ID number

- driver's license number

- passport number

- medical record number (yes, MRNs are a thing, just prefix it with the org ID)

- medicare number

- actual social security number for only social security (and at this point, a new one + rebranding is in order)

- credit-worthiness number

- etc.
> How is the opening stock price decided on a direct listing?

Same way every stock does every morning: the opening cross [1].

[1] http://www.nasdaqtrader.com/Trader.aspx?id=OpenClose
need to set the SSH timeout to 44 minutes.
Same here, my timezone is -3, I guess stackoverflow developers should create a stackoverflow question "how to check if it's a specific day in the client in the local timezone with javascript"
> Looking at https://openjdk.java.net/jeps/401 it's not totally clear to me at the moment how you can use ValueTypes (primitive keyword) in Collections.

JEP 401 won't cover it quite yet, note this from the "Non Goals" section:

> An important followup effort, not covered by these JEPs, will enhance the JVM to specialize generic classes and bytecode for different primitive value type layouts.

It wasn't until recently that I understood for myself just how large the surface area of the "value types" problem is - it will be delivered incrementally. JEP 401 and 402 are the first steps (if I were to guess they will show up as previews soon? maybe JDK 17 or 18?), but there is more to come.
;_; one of us. one of us.

Whats a good alternative for macos these days? I loved sparrow back in the day, before I got acquired and killed by google.
The amount of vitriol in this comments section is astonishing. Can we not share fun projects without the professional Kubernetes experts thumbing their noses? At the very least, it does seem now like the complexity of K8s’s code base is a point of very thin skin for the community.
I like the idea of a decentralized Internet Archive in theory, but I'm very skeptical about the idea of decentralized (as opposed to distributed) filesystems, and tying the whole system to a cryptocurrency seems like this creates additional volatility exactly in a situation where you want stability.

Buying hard drives and sticking them in data centers is a very cost-effective, efficient way to store large amounts of data, and with careful design (Internet Archive definitely qualifies) you get amazing durability. The failure rate of hard disks is relatively well-known or "mostly" bounded and predictable, so you can fine-tune your data encoding to get a good tradeoff between storage efficiency, CPU usage, network usage, and durability.

With a decentralized system, you're adding intermediaries with some amount of additional risk that is difficult to model. The idea is that these intermediaries have "leftover" storage which is basically free, and Filecoin lets them sell it. However, the risk that these intermediaries lose the data is difficult to model and so you would likely choose a wider encoding (https://en.wikipedia.org/wiki/Erasure_code) with poorer storage efficiency and higher CPU usage.

Meanwhile, the cost of buying storage outright is already quite low, and the cloud providers are already busy selling storage (or using it themselves) in high-IO applications like active databases, and this subsidizes raw storage (with low-I/O requirements). Essentially, if someone in the cloud needs a 2TB drive, the cloud provider can buy an 8TB drive instead, split it in half, and sell it as "2TB + priority I/O" and "6TB + best-effort I/O".

Finally, in order to be stable long-term, Filecoin needs to provide enough income to miners so they can be profitable. I don't see a good story for how this can happen. The most profitable thing you can do per-byte is to sell "leftover" storage on existing systems that are not full, but this doesn't give you enough to cover overhead, so you would want to run a large operation. Once you are running a large operation, your costs would be similar to that of a cloud provider, but your customers would be choosing wider encodings with lower storage efficiency. If Filecoin were to turn into a common market for larger storage operations, it would then make sense to vet those operations and develop business relationships with them, because by reducing risk you could increase storage efficiency and reduce costs. There is a de facto way to do this already: several cloud providers implement the S3 API, so you can shop around fairly easily, as long as you are willing to transport the data.

Short story is that distributed storage is in a race to the bottom with or without Filecoin, it's already "hyper-competitive", and I'm unconvinced that Filecoin provides benefits that outweight the drawbacks.
Partisans in favor of spaces over tabs, here’s another argument for your arsenal.
Even in developed countries a non-trivial proportion of the population is not banked. (Estimate for Canada: 6% of adults do not have any form of bank account.) It can be the large majority in many developing countries, including ones where most people have electricity at home and a smartphone can be bought for a few day's wages. Sending a small amount of cash from Brazil to Canada is not trivial in many cases.

And of course, many people here on Hacker News have a rather privileged Western notion, that you can, in fact, legally send money just wherever. That's not universal. Capital controls restrict that heavily in many places, such that it can be illegal for people to send money out of the country. So the formal banking system is no help there.

Assuming that you can trade Bitcoin on both ends, it really is often the simplest way to simply move money between people outside the formal banking system, especially internationally. For better and worse, it cuts right through all of the red tape: no wire transfer declarations, no capital control declarations, no government-mandated exchange rates, no tax reporting, no KYC requirements, no ID requirements.
> The case is Facebook v. Duguid, 19-511.

https://www.documentcloud.org/documents/20536903-supreme-cou...
Am I the only one using outlook and loving it?
Earrrl – The Estimated Average Recent Request Rate Limiter
I know it's wrong and this is likely a low level comment but...

Crypto Bros -> CryptBros -> XD
As an owner can you visit?
Any amount of effort to share a duck pond location is the correct amount of effort.
Stealing this from Reddit as it summarizes my feelings about Filecoin's reward structure being a little ponziesque at current prices:

"The primary demand for Filecoin is from people trying to mine it. It requires that you deposit filecoin for every chunk of storage you want to “seal” for mining. It also takes a long time to seal and you have to get to 10tb or you can’t even mine. So people trying to build filecoin miners are likely the primary source of demand for filecoin. Then as the price goes up more people try to mine, but they also need to buy a ton of filecoin.

People are definitely not spending billions to try and store shit on IPFS. It’s people trying to buy filecoin to mine more filecoin. Sigh."[0]

That being said, the tech is pretty cool. And the funding scheme is no different from most PoS coins out there. Proof of Stake works best when there's already wide distribution of a coin. In the initial stages the game theory is tricky. This is all a long-winded way to say it's overpriced right now but could have a bright future.

[0] https://www.reddit.com/r/CryptoCurrency/comments/mhpaar/file...
From what I understand, Filecoin contracts are fixed-term. This means you need to read data back from the Filecoin network at the end of the term and negotiate another fixed-term contract to store those files again. Though Filecoin storage fees are low, isn't this back-and-forth a big pain for real archivists? I suppose you only need 1/n of the storage on your side if you stagger the data "withdrawal" and "deposit" actions. Does anyone have insight into this?
I put Elementary OS on my 2012 MacBook Air. I’m a very experienced Linux user, but in the past I had to fiddle a lot with things, especially on Mac hardware.

It setup Ubuntu 18.04 very well, with wifi, Bluetooth, audio, ethernet, those are not unusual. But also the brightness controls, the keyboard backlighting controls, the trackpad, the volume control keys. Everything and all hardware worked out-of-the-box. I was very pleasantly surprised. Been using it for months now and it works a charm. And yes I made a donation and was very happy to do so.

Kudos!