skysight-inc/HackerNews huggingface dataset:
Domain Specific Languages for smart contracts
+1 for highlighting Io [0]

I've never done any real work with Io, only read about it. First came across it in 7 languages in 7 weeks[1]. Compared to JS, it seems like a much more coherent realisation of protypes. It recognises the difference between "types" - descriptions of things - and "objects" - exemplars of those descriptions. But the only difference (that I recall) is that types are capitalised by convention, objects aren't. On my "todo list" for further exploration st some point.

[0] http://iolanguage.com/

[1] https://pragprog.com/book/btlang/seven-languages-in-seven-we...

EDIT: fixed book title & corrected case
This sort of thing reminds me of a story about the Seattle windshielding pitting phenomenon.

https://en.wikipedia.org/wiki/Seattle_windshield_pitting_epi...

The point is, often things that are quite common but otherwise unnoticed all of a sudden appear to be an outbreak due to some sort of new found public consciousness. Everybody is analyzing their latest cough and fever so you are going to get a lot more stories of people with coronavirus symptoms even if people getting those sorts of symptoms is quite common (relatively speaking). It's just reporting of those symptoms has increased.

With respect to COVID-19, the real sign of its unusualness is the increase in hospital admissions for respiratory issues.
Or it does not:

No, editors of The Atlantic, reiki does not work:
https://sciencebasedmedicine.org/no-editors-of-the-atlantic-...
No lockdown, please, we’re Swedish
Whatever was popular >1 month(s) ago.
Claiming that meditation is just a placebo is absurd. There's tons of research on it.
Deal with it, frankly. A cheap USB mic attached to the external screen, or for that matter some screens (including fairly high end ones like that LG 5k display Apple was featuring for a while) have built-in mics themselves these days.

But this is one case where there really is a pretty fundamental trade off if the goal is a really simple core "when the lid is shut I'm guaranteed audio privacy from that vector". Anything that allows getting around that in turn is a potential bypass. Anything in software, even if it requires a special boot to access, leaves some room for bugs. And for both software or even a physical hardware switch there would be room for someone to accidentally or maliciously leave it on, and it would be very hard to notice. Given how cheap microphones are and that if someone is using the system with the lid closed they're already committing to a certain amount of much more expensive external hardware, I think it's quite reasonable to stick a straightforward visual heuristic that "if the system is closed and thus the camera cannot see the microphone cannot work either". Easy to verify at a glance for anyone, not just the owner, easy to remember. Like security, good privacy design requires not just a solid technical foundation, but considerations for human UX.
The microphone is located in the bottom area of the speaker grill. It'd work terribly with the lid closed anyway.
Yeah I agree. In practice now that I've accumulated my own experience I feel that Galera clustering is much better than anything I used in Postgres.

So far I've only setup one master/slave cluster with pgpool-II in postgres and it's definitely an OK setup. But I much prefer the usability and stability of Galera/MariaDB for clustering.
Apple's upcoming entry-level phone to be called iPhone SE
I suppose whether or not these books apply depends a lot on where my life takes me. But you are right about the concrete practice, just like with learning a new programming language, the only way to internalize it is to do a project with it that preferably has a real pressure and deadline, i.e. a job.

I'll have to see if I can try and apply the concepts no matter what industry I'm in.
Is it me or does "webcam hacking" really undersell the bug here?

From the write up at https://www.ryanpickren.com/webcam-hacking , the bug chain appears to allow script execution in "arbitrary" domain context, which at first glance seems much bigger than just webcam extraction. Sticking up someone's face is attention grabbing compared to what could be done with that kind of power.

Is it because of the first bug in the chain that only the media-permissions was affected by the context confusion?

For example being able to extract cookies or local storage from other contexts would be a much bigger deal (local storage is sometimes used to store XSRF protection keys or other credentials), so I assume that wasn't at all affected?

Did any other parts of safari use the same broken context awareness as the media permissions or do we know that it was it isolated to media permissions?
Type safety won't help with user input!
Well, if we take the original comment at face-value, in order to make it work.
Zoom is popular. Enough that it's both the default for many people and the tech that gets brought up in discussions. My dance school uses zoom. My work uses zoom. Online courses use zoom. Maybe it's more noticeable when famous people mention it, but really - it's a default now. Even if there was some shady push for it, it's also organically massively popular.
I've really grown to dislike the "China == bad" thing, yes, they're domestically authoritarian, without excusing any of it, I like to act on hard evidence, not hear say, I am stunned that after the Bloomberg fiasco these kind of stories didn't take a hit.

P.S. Personally, I don't consider the NSA having my data as being any better, thank you.

EDIT: Just to be clear, I don't think Zoom's encryption claims should be trusted, but it's not because CHINAAA, it's because they're misleading people into thinking TLS means E2E.
Incompetence can enable malice
its called a tugboat.

a depth charge is something you drop at submarines - a charge at depth. You can sink surface vessels with any combination of regular munitions.
> Not sure what you mean about iPhones, their information does not mention the iPhone (and I would not expect it to).

I meant iPads but got confused. Thanks for pointing it out.
Agreed on all points. Also, it's going to be very difficult for future HNers to find this test because the title is almost unsearchable. This will make it harder for it to grow organically.
well another thing is that zoom is a great name, on a marketing level.

It implies speed, and thus implies power.

Since you zoom in on things to see them better it implies attention to detail.

The productivity of the prime minister is in no way hampered, people, he Zooms!
> I don't know how iphone users do when they travel to foreign countries

The snarky answer is "Americans and Japanese don't leave their country and Europeans have essentially free roaming in Europe."

But I can buy roaming packages for almost every country in the world from my provider. That's what I do now instead of getting a SIM from the country I travel to. I used to do that but it was too much of a hassle for the handful of weeks per year I might be abroad.

Another option is to use one of your old phones with a local SIM.
Smart talking aside it's possible and relatively easy to identify microbes without growing them. When an immuno-suppresive is effective at reducing symptoms you know it's an autoimmune disorder. You can even find specific anti-bodies in some cases.

>You could really ask the same question about Crohn's or IBS.

No you couldn't. They are clearly auto-immune disorders.

Out of curiosity, do you have any formal training on medicine/physiology or is your knowledge base self-aquired?
Wow this looks fascinating, the U.S. Army is probably one of the biggest organizations with very direct consequences for failure in these logistics aspects.

Every once in a while I see HN users post these types of military publications, and a lot of them seem useful. How do you find these in the first place?
Helps that the author got picked up by a company to work on this

https://blog.cryptowat.ch/sponsoring-rust-gui-library-iced/
"We never meant to mislead people but we realise we don't use the terminology in the way it is normally understood. We added up the keys on both sides of the conversation to reach 256 bits." Is probably what they'll say
I've done a lot of DBA'ing as a dev/sysadmin/SRE in the past 25 years. While performance matters greatly, there are two features that make me prefer PostgreSQL and that I would rate higher: stability and maintainability.
Why not a manual switch? I rarely use the microphone on those devices.
> > Nations are not competitors. They are trade partners.

> Of course nations are competitors. International trade is an unregulated market, every nation competes economically with each other and tries to extract maximally favorable deal for themselves; when negotiations get heated, they get backed up by military strength, and the only reason we don't go to war often is a combination of sanity and MADness.

What does this have to do with post-WWII economic recovery in the U.S.?
Those show cases not deaths, I'm not sure that's very reliable as a measure - the testing varies dramatically, it will be tempting for governments to undertest and it's hard to get hold of tests now.

Just to pick one example the US has shot up to top place by cases in the last few days mainly because they started seriously testing.

Personally I prefer graphs of deaths (normalised for population would be fine I guess), starting from 1st death or similar rather than arbitrary offsets in date as the spread only begins from the first cases (usually undetected).
Those are both monumentally large tasks
We use Teradata for our data warehouse. We have an enormous quantity of data in there (We are a multinational wholesale chain). We however plan to move to either BigQuery or an inhouse solution in the future. But for now Teradata is our workhorse and quite good at what it does.
The vast majority of users expect the microphone and camera to be "off" when they close their laptops while it is sitting on their bedside table. Other users can go buy a product that doesn't take that function very seriously.
Why shared micromobility will survive the pandemic
Additionally: AFAIK you can't easily rescale an encoded stream: you need to decode it, rescale it and then re-encode it. For every single stream! That would be horribly computationally expensive.
Thanks for that Rutgers SCM MOOC, I'll try it out along with the MITx one.

I'll also look up the syllabi for those programs, good idea.
I think you would get more mileage out of tracking where all the writes are, and making whatever changes are needed to reduce them.

Auditd, can, for example, track every write. Track it over a good sample period of typical use, then make whatever changes are needed. Might be database tuning, moving specific files to tmpfs, changing the way you do backups, reducing writes to syslog, changing fs mount options, etc.

Auditd is a little complex, but it's fairly easy to find write-ups on how to monitor writes and generate use reports.
Really there are only 2 positions here:

1. All this spiritual mumbo-jumbo is a crock of shit

2. It's real

While it's fashionable to think 1 is correct, it is just possible that 2 is in fact our reality. I mean quantum physics shows us the universe is weird. Not bothering to try to find evidence of 2 and dismissing it out of hand is as counterproductive as people who blindly accept 2 with no evidence.

No doubt some of you are thinking of replying along the lines of 'well you should waste your life investigating whether an invisible spaghetti monster lives in the sky, or whether it's turtles all the way down, etc'. To those I'd say had there been several thousands of years worth of people recounting their own experiences of either a flying spaghetti monster or turtles all the way down I'd agree with you.

I see it as little different to the UFO stuff - mocked for years, but actually if you look into it there's probably something to it, based on the weight and volume of eyewitness reports. But it's just easier to not risk looking foolish and dismiss it out of hand instead of investigating it for yourself, isn't it?
> zero latency

> Docker
> Isn’t the real question why other countries aren’t doing the same?

Perhaps because they are not willing to take a gamble? This is, to put it bluntly, idiotic - you do not play games with people's lives and hope it turns out well.
the use of option and return types instead of nulls and exceptions does help a bit. you can’t forget to deal with the failure cases.
China steps up western media campaign over coronavirus crisis
The exception being South Korea. They have been demonstrating an optimal response to this pandemic. Test everyone as fast as possible, isolate those who are positive.
I am not profiting from this at all. I even put the licensing info at the bottom of the README. The F.A.S.T parts are completely open source for any and all to use forever. I made this to help people, not to profit from it. :) I put the link in with the specific mask I used for this project, so that they could make a working version without alterations their first try. I am willing to make alterations if people want to use this with other masks. Thanks for taking the time to look at the project and for providing feedback! I really appreciate it.
Nope, it was Garg in the ECE department. Fantastic course.
The microphone would probably sound pretty bad when obstructed...
I've heard that complaint from a few ThinkPad-owners since everybody is doing homeoffice.
Many of the alternative modes are unsuitable for this case, as it is being used to encrypt UDP packets which may be lost. There are two commonly used modes which support the random access needed here:

- ECB
- CTR

Note that CTR is still recommended for use and is often used for things like hard-disk encryption where random access is required. Furthermore, the only difference between ECB and CTR is that CTR includes an incrementing counter in the input to the encryption algorithm to ensure that each encryption is unique. Do you know what else starts with an incrementing counter? UDP packets intended to form an audio or video stream.

So yes: ECB can be bad, but there's no evidence that Zoom are actually using it incorrectly. Using CTR when you already have a non-repeating data stream would only add overhead and potentially negatively impact the amount of useful data that can be streamed.
It's becoming a verb (vs brand) which reflects rising popularity and use.
Personally, I don't think developers should be mimicking Elm or React when they have the opportunity to build a custom gui library from scratch. Elm/React are helpful for overcoming the inherent problems in the html component development, but that requires them to be more ineffecient then typical native gui frameworks. Simple views are easy enough to handle, but these functional style guis don't tend to deal with complex views very well.
You can take people to mean whatever you want. Behind those algorithms and big funds are people pulling the strings. At the end of the day the market is a reflection of where things will go.
>a large proportion of people in the UK have at least one 4K TV

I don't own a 4k tv, so I was interested in the actual numbers:

"ownership of ultra-high definition (‘4K’) televisions has more than doubled in the past two years, from 17% in 2017 to 35% this year"

https://www.ofcom.org.uk/about-ofcom/latest/features-and-new...

Article from Nov 2019
And you now know better on how to structure your data because you have done plenty of migrations and changes but couldnt change everything you wanted to because the whole data access logic would need to be rewritten.
Plandemic exersize 201?
Referring to the way working class people talk (and especially working class black people) in this way is something the rich and powerful have always done to discredit them. Go read all the blood spilt by right-wing hacks about the “legitimacy” of AAVE, for example.

If you want to be a credulous dupe and think that the richest man in the world and his highly-paid PR team don’t understand this history and context, be my guest.
Oh, please, I get it swedish society is different, but saying you are the last free place in the world is too far fetched.
I hope Swedens gamble works for them, but this will be way worse than any flu season, even with their master viking race immunity /s
Exactly, molecular self-assembly is completely obvious once one can see the equivalent with his own eyes.

I hope nobody complains "but he shakes the flask" -- because that is exactly what the temperature is -- how fast the particles "jiggle" as Richard Feynman would that describe:

https://www.youtube.com/watch?v=K_y5iKcDdOQ
They make it very difficult to keep location data turned off. If you accidentally open Google Maps, a pop up appears where dismissing it turns on location tracking. I also think they make you enable it nowadays to use Bluetooth.
It goes both ways. Back when James Bond was sorta new, they had to buy or rent Aston Martins in order to make Bond look cool, now Aston Martin has to pay for Bond to drive one, in order for Aston Martins to look cool.
You’re missing how the SE was created: it’s a relic of old supply chain parts, now sold at a cheaper price. The original SE was a rehash of the 5/5S casing, with 6S internals.

It wasn’t mace because of any particular belief about size. 5/5S was just the old phone. It was easy to continue that size for a while, but probably hard now without a market.

The new SE is the same story: old iphone 8 casing, iphone 11 components. Easy to make from supply chain detritus, so why not make it?

But, you might be interested in the rumours of a small iphone 12 this year. It sounds like Apple has been listening to small phone advocates, and appears to actually be making them.

But that will be a new phone. The SE style phone’s type is instead dictated by whatever was current 2-3 years ago.
Incrementing a number means increasing it, usually by a fixed amount (in this case 1). That's the context in which 7 to 8 is the only increment.
You may be able to spread coronavirus just by breathing, new report finds
> If you’re interested in a good entry point, undergraduate business business programs often call that first class “Production and Operations Management” or a close variant.

I'll try that search term

> You’ll be able to get some terms to search for there, find a textbook and I’d bet anything that if you started plugging chapter titles into YouTube, you could find lectures.

I'll take a look at the syllabus for that Atahabascau course.
Zoom is now ‘Kleenex’ or ‘Coke’ for video conferencing. Skype was the same when it came out... but they had far less competition at the time.

This is a huge win for Zoom on a marketing front.
Postgres with timescaledb extension (community) along with zfs compression works flawless for me. Different approach than Myrocks, but worth a try!
He's blaming his security design issues on the fact that a lot of people have joined the service recently, saying it wasn't designed for that. But it seems to have coped fine with the load - it's been working perfectly for me, unlike, for example, Facetime, which seems to be disabling video and loosing connections completely.

The problems would have existed if they only had 2 customers, it's just that the media wouldn't have noticed.
They can use the loudspeakers as microphone. Usenix 2017: Turn Speakers to Microphones for Fun and Profit

https://www.usenix.org/system/files/conference/woot17/woot17...
Rail travel in London down by 95%, buses down by 85%
When I learned you cannot change the order of columns in PostgreSQL, it sounded like one of the smarter but slightly weird kid in a class room.

On the other hand, MySQL, who's not as bright as the smarter kid, is easy to talk to and feels friendlier and is generally the more popular kid.

I do appreciate the strictness of PostgreSQL but if I see small weird stuff, I tend to pick the one that is easier to get along with (meaning, more resource found on the net.)

Also to mention that MySQL is also getting 'brighter" since version 8.
There is no safe choice, all anybody can do is to set some policies and hope it turns out well.
Does other manufacturers does this?

Maybe it's a standard thing that Dell, HP and others do as well?
You don't have joins in NoSQL so you have to keep data denormalized. That means data isn't consistent and you can have an will have (at a high enough data volume) errors if you aren't extremely cautious on how you update and add new data. That might matter or not in a particular business case.
> It implies speed

on far too many lenses I've owned it's simply not true
American coffee was traditionally all filter, and ordering "a coffee" will invariably get you filter coffee, but these days espresso is available and common at every coffee place save the convinience oriented lowest tier.
Location Data Says It All: Staying at Home During Coronavirus Is a Luxury
I like that the Wikipedia article has the history included before going into links to more specific topics.

This'll help give me one of those broader level overviews, thanks.
> All Mac portables with the Apple T2 Security Chip feature a hardware disconnect
that ensures the microphone is disabled whenever the lid is closed.

vs.

> On the 13-inch MacBook Pro and MacBook Air computers with the T2 chip, and on the 15-inch MacBook Pro portables from 2019 or later, this disconnect is implemented in hardware alone.

Do these statements not contradict each other for the 15" 2018 MacBook Pro, for example, which includes a T2 chip? This would also contradict earlier documentation provided on the T2 chip by Apple themselves [1].

From [1]:

> All Mac portables with the Apple T2 Security Chip feature a hardware disconnect that ensures that the microphone is disabled whenever the lid is closed. This disconnect is implemented in hardware alone, and therefore prevents any software, even with root or kernel privileges in macOS, and even the software on the T2 chip, from engaging the microphone when the lid is closed.

[1] https://www.apple.com/euro/mac/shared/docs/Apple_T2_Security... (October 2018, page 13)
> (The camera is not disconnected in hardware, because its field of view is completely obstructed with the lid closed.)

I love this aside xD
Are there plans to support a TCP candidate so a TURN server isn't needed at all? It feels a bit wasteful to effectively use a TURN server as a TCP->UDP proxy for a publicly accessible server.
great! now give us back the hardware switch
> How do they keep doing this?

Hard to say. Could be cultural where sales and engineering butt heads. Could be "sell it first, develop it later so we can beat the market" mentality.

Either way, Zoom is going to go down as either a company that did everything right and won the market or did everything wrong and won the market. Depending on who you talk to.
I learned several prototype OO languages (Self, LambdaMOO and variants) before I learned JS back in the mid-90s. I even wrote my own compiler and VM for my own.
My take is that JS's implementation of prototypes isn't terrible, but it's also not clear what it's doing all the time. Like many other things in JS the semantics are often odd (strange scoping rules, functions as construtors in certain contexts only, etc.)

Many of the warts have smoothed over time, but JS got a reputation for being an ugly hack language early on, and unfortunately that also rubbed off on the idea of prototype OO. I remember hearing a lot of griping about how JS isn't a "real OO" language (!#@!@#!@) because it only had prototypes and not classes. And a lot of rejoicing when classes were proposed for the language. Which to me was a sign of defeat.

Prototypes are more expressive and can express classes but classes cannot express prototypes.

FWIW I used to talk to and correspond with Steve Dekorte (author of Io) back when he was starting out. Looks like he's stopped working on it, which is unfortunate. It was always a nice language, though not suited for my purposes. And I think he chose a bad name as it wasn't easily Googleable. I'd like to see what he could do with it now in the era of Wasm...