|
|
Unlike most of those though, in C++ the Semantic types have zero or close to zero overhead.
Further, with user-defined literals, it allows natural expressions such as:
auto distance = 12_km;
auto time = 4_s;
auto speed = distance / time;
Giving safe, statically checked, zero-overhead semantic types.
(Edit - substituted distance for length)
"If you don't fail at least 90 percent of the time, you're not aiming high enough."
Alan Kay.
|
|
|
|
|
Rob Grainger wrote: Unlike most of those though, in C++ the Semantic types have zero or close to zero overhead.
Oh, I'm not complaining about the C++ example, it's just, how exactly is this new and profound? I guess I was in a bit of a mood (more-so than usual, haha) and I do definitely wish C# had that feature -- it's supposed to be coming in C# 7.0 I think I read somewhere?
Marc
|
|
|
|
|
There comes a point when you have to stop designing code with the intent that it be maintained by idiots. (Especially since the idiots will probably get annoyed and remove all the strong typing, arguably making everything worse.)
|
|
|
|
|
New research shows that 98 percent of developers use open source tools at work, with 56 percent revealing that more than half of their development tools are open source, and 18 percent using only open source tools. New study of open source developers provides amazing conclusion
|
|
|
|
|
"JavaScript is the preferred programming language according to 51 percent of respondents"
The group giving that result is a group whose opinion I don't value. Not sarcasm.
|
|
|
|
|
New Salary tool gives users access to aggregate compensation data. We now have a purpose for LinkedIn, besides finding out which coworkers are looking for a new job
|
|
|
|
|
The company’s new service, Microsoft Teams is its own take on the popular team communication tool, Slack. All the joy of IRC, without that irritating free sticker
|
|
|
|
|
This just in...
...Microsoft has decided to cancel Microsoft Teams...
Thanks for your interest, but mostly we just announce products and then cancel them.
|
|
|
|
|
"Now, Microsoft apparently wanted to buy Slack for $8 billion."
Instead they wrote they own for what? A million or two? Even at $10 million that's quite a savings.
(Reminds me of a place which used some messenger tool, but almost nobody used it so when it popped up there was always a "huh?" moment. It was especially annoying when the person messaging you was in the next cubicle.)
|
|
|
|
|
Jornet is the principal investigator of a three-year, $624,497 grant from the U.S. Air Force Office of Scientific Research to help develop a wireless communication network in the terahertz band. "I'm on a wavelength far from home"
|
|
|
|
|
So the next global malware whammy will be disseminated by 30,000,000 zit poppers?
I wanna be a eunuchs developer! Pass me a bread knife!
|
|
|
|
|
The technology could ultimately reduce the time it takes to complete complex tasks, such as migrating the files of one computer to another, from hours to seconds.
Except that CPU's run at barely gigahertz frequencies and the fastest SSD's write at "up to a 1.5Ghz" bit rate, effectively around 185Mhz byte rate.
And while I know I'm mixing bit/byte rates, you're not going to achieve migrating files from one computer to another in seconds just because your antenna can handle terahertz data rates (I assume that's a bit rate.)
Marc
|
|
|
|
|
While I agree with the basic point you're making, it seems you've over-egged the pudding somewhat.
You can get (pci-e) SSDs that'll do 3,300 megabytes a second and even a lowly SataIII ssd can hit write speeds of 550 megs a second. Figures some 17.8 times and 3 faster respectively than the 185 megs/sec you've indicated.
Currently, a 700GB (pci-e) ssd can be filled in as little as 4 minutes.
I'm also under the impression you've a different take on the words "could ultimately reduce" - the keywords of course, being 'could ultimately'. A Terrabit per second is some 125 Gigabytes per second.
Of course, when (if) read/write speeds are high enough to keep up, storage capacities will be much larger and so again the time taken blows out.
|
|
|
|
|
Discovery of Linux/IRCTelnet suggests troubling new DDoS menace could get worse. Please change the password on your internet-enabled light bulb
|
|
|
|
|
You know, what I want is for someone to post some code that tells me whether my IoT devices have been infected. I mean really, I've got several Beaglebone's running Debian with "debian/temppwd" as the root password connected to the Internet, and I really don't give a sh*t, but I am curious.
Marc
|
|
|
|
|
Marc Clifton wrote: what I want is for someone to post some code that tells me whether my IoT devices have been infected
It's called an "antivirus".
Marc Clifton wrote: I really don't give a sh*t,
Isn't that the general problem in this case?
Sorry if I come across as blunt, but I need my coffee in the morning.
|
|
|
|
|
A quick search for "Anti-Virus Linux" found this gem...
Why You Don’t Need an Antivirus On Linux (Usually)[^]
So don't worry about it. There is no malware for Linux. These IoT attacks are all a figbox of your imagination.
"If you don't fail at least 90 percent of the time, you're not aiming high enough."
Alan Kay.
|
|
|
|
|
Take a look at Clam AV[^]. They have an official port in the Debian repo. It's not clear if that's just x86 Debian or also various assorted arm platforms too; but if a (primarilly windows) sysadmin at my previous job was able to build the source on sn HP True64 Unix/Dec Alpha box in a day despite having to use CD-R's to sneakernet dependencies across an airgap I'm almost certain you should have no real trouble getting it built on your bbones.
Did you ever see history portrayed as an old man with a wise brow and pulseless heart, waging all things in the balance of reason?
Is not rather the genius of history like an eternal, imploring maiden, full of fire, with a burning heart and flaming soul, humanly warm and humanly beautiful?
--Zachris Topelius
Training a telescope on one’s own belly button will only reveal lint. You like that? You go right on staring at it. I prefer looking at galaxies.
-- Sarah Hoyt
|
|
|
|
|
Dan Neely wrote: Take a look at Clam AV[^].
Nice - it installed without issues on the Beaglebone. Though, running clamscan the root folder eventually timed out with the terse message "Killed".
Marc
|
|
|
|
|
Marc Clifton wrote: Though, running clamscan the root folder eventually timed out with the terse message "Killed"
Now that is _interesting_!
What was the result? Were you able to discover anything?
|
|
|
|
|
Look at your network traffic on your router and see what's talking to what.
|
|
|
|
|
I see a huge opportunity here for security consulting and white hat services.
Charlie Gilley
<italic>Stuck in a dysfunctional matrix from which I must escape...
"Where liberty dwells, there is my country." B. Franklin, 1783
“They who can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.” BF, 1759
|
|
|
|
|
I think the real problem here isn't the botnet, but that people think they need internet-enabled light bulbs.
|
|
|
|
|
A solution to the problem is to put these relatively dumber, less maintainable IOT devices security zones behind firewal and connect them using security gateways that has better ownership control, also in the same corresponding sec zones.
Normal peoples don't open their houses to just anyone in the world, the same should be true on the internet ...
|
|
|
|