Better HN
topnewbestaskshowjobs
Log inSign up

dobin

296 karma · joined Dec 5, 2016 (10y ago) · 94 submissions

Submissions

comment 3y ago · link · parent

Looks nice, but it's still just more news for the news addicted.

Silly idea dump: How about: A 4k TV in form of a window, which displays a live stream of a 4k camera of various places in nature. Lets say, in the middle of the forest, or a beach in italy. To have a window into another place, for some calm and mindfulness.

comment 3y ago · link · parent

I think open source licenses didnt even arrive in the 2000 to deal with the web.

The original intend was to make the source code available, done by distributing the compiled program. With SAAS companies (FAANG...) can just use open source on the servers, never distribute their program, only the output. Therefore not requiring making their changes available to the public.

comment 3y ago · link · parent

Every SOC should have simple usecases for these basic lolbins. Such an attack usually lights up the SIEM/SOAR like an xmas tree.

comment 3y ago · link · parent

> Physics has made no progress. It has discovered no stable facts. Everything physicist have said, they have said the opposite ten or twenty years later (if not much sooner). They literally know nothing. After a century of countless experiments, the most common, most basic problem they’ve addressed —the basic elements of particles— is completely unsolved. If they can’t figure that out, anything more sophisticated seems hopeless.

A very generic counterpoint.

comment 4y ago · link · parent

I also mostly seen it as EDR/AV killer. A bit overkill as initial access, but thats part of the joke of the article

comment 4y ago · link · parent

Note this is partially covered in MITRE Technique T1068 BYOVD "Bring Your Own Vulnerable Driver". If the driver is not already loaded, it necessary to be local admin to be able to load it.

comment 4y ago · link · parent

Microsoft Defender Application Control Policy: https://learn.microsoft.com/en-us/windows/security/threat-pr...

List of vulnerable drivers: https://github.com/eclypsium/Screwed-Drivers/blob/master/DRI...

comment 4y ago · link · parent

I tried to install it once, a long time ago (around 2000?). Linux was already taking off, BSD's had the possibility to overtake it, other unices were made available more for the end user.

But basically, the hardware support was pretty bad. It took me a long time to find a SCSI controller which was supported, when ATA disks were already standard for years. Same with network- oder graphic cards.

Nowadays, if esoteric OS's would just support standard Vmware hardware, they'd be much more successful (looking at you fuchsia!)

comment 4y ago · link · parent

Between 2km (dense urban area) and up to 100km, usually probably around 10km. It is basically a replacement for CB radio, and works similarly. The Meshtastic devices are set for a specific (chat-) channel, and only mesh with devices which have the same configuration/channel.

comment 4y ago · link · parent

This is correct. It just sends all messages via LORA, which nearby receivers can pick up. These will broadcast it again (with a initial TTL of 3).

comment 4y ago · link · parent

+1 for #2. Keep it simple

comment 4y ago · link · parent

100k unread mails, of which 75k are "hey have you got my previous emails" ?

If someone doesnt answer me after the first email, too bad for him - i will go somewhere else.

comment 4y ago · link · parent

I just use files

comment 4y ago · link · parent

The bookmarks i require are usually research related, therefore clustered. Just add the link into Trilium (or other note taking software), and add a few bullet points of description.

If i need it again, i either know where it is (part of which research), or can find it with the note search.

comment 4y ago · link · parent

1) Copilot is not designed to output the source code for a project source file 2) It does not re-create the whole source code, just parts of it (sentences, not chapters) 3) The source code license, e.g. BSD, works on "the code" - copying a line like "void main(void) {" will not trigger it, obviously

comment 4y ago · link · parent

I neither see it "stealing". The neuronal network was trained with code as input. It's creating code as output. The output has nothing to do with the input once it is trained. Do people dont know how neuronal network work?

It's like saying GPT-3 created text is copyright infringement, because some author used the same sentence in a book before.

comment 4y ago · link · parent

https://www.marines.mil/News/Publications/MCPEL

comment 4y ago · link · parent

When I evaluated some last year, my favourites have been Bookstack and Wiki.js. Both are open source.

comment 4y ago · link · parent

These leaks are usually just a photo of a page of the booklet all the soldiers get with their weapon systems. I had dozens of them, and they were not considered particularly sensitive (e.g. dont care if you lose them).

Is it classified? Yes. Is it bad? Probably not.

comment 4y ago · link · parent

Listening to this since musciforhackers.com went down. Donated a bitcoin back when they were still cheap. Rusty also DJ's at Defcon.

comment 4y ago · link · parent

Nice. Rare writes are indeed a good indicator.

Its liberating to be able to focus only on the code. I am a big fan of KISS. Serverless, or better no-server?, is this pushed to the extreme.

comment 4y ago · link · parent

Unrelated, but I am happy I managed to avoid using any kind of DB in my last few small projects.

User authentication? Hard code my credentials, and SSO for users. I dont want to store user accounts (als gets rid of all this password mail and reset stuff). Storing small amounts of data from users? Pickle it to files. Caching data? Keep it in-memory, retrieve it again when server restarts. Need to keep some data? Pickle it all 10 minutes and on sig-int.

Saving so much time and nerves to not having to handle SQL, relations, foreign keys, docker-compose and all the other things.

comment 4y ago · link · parent

I SSH into a local XEON server homelab, or one of several Hetzner servers over Wireguard (which runs in a Proxmox container). Symmetrical 1gbit fiber connection helps. Only disadvantage is that it doesnt work on (long) flights.

For me, MacBook Air M1 is just a "dumb terminal", with VSCode and its remove development server it doesnt matter where all the stuff is.

comment 4y ago · link · parent

Unity uses some kind of ECS, see other discussion.

And there is a bit of a difference between game, and game engine. Unity is really for creating games itself, where most part is not engine work. Like most developers, we like to do engine work though, not graphics.

If you want some fun, find a lower-level engine which just implements some parts (e.g. while Phaser.js is a big game engine, still need to do a lot of coding by hand). Alternatively, use weird things. ASCII, HTML Checkboxes, voxel graphics, svg, in rust...

comment 4y ago · link · parent

Hehe, i like it!

Except that changing direction quickly left/right feels kinda bad. Seems you wait for the animation to finish before checking for new key presses, not buffering the last pressed key.

comment 4y ago · link · parent

The nice thing about using an event system is that you can just record all events. This allows you to record gameplay directly. This can be used as a demo, scripted scenes, and especially for debugging! Encountering a bug during playing? The recording can be used to reproduce the bug, as it will be a "pixel perfect" playback. Code until it is gone. Debugging is suddenly way easier, as you can just check the events wireshark/tcpdump style, and see what went wrong.

Even more, in networked games it can be used to roll-back actions you did (e.g. because someone with a 100ms ping shot you 50ms before launching a rocket, to roll-back rocket-launching animation). Or in the simulations of the behaviour of the other players (peeking around the wall).

comment 4y ago · link · parent

To give a slightly different example.

Basically, entities consist of components. Components should ideally just be data (a struct). Systems work on components (data), they are the code / functions. A system only cares about it's component (but for all entities, which have this component).

A entity "player" consists of the components like "texture", "input". A "monster" entity has components "texture", and "ai". The graphic processing done by the texture system doesnt care how the changes in x/y position is happening (via AI statemachine, or keyboard input).

Player and Monster should shoot too, so attach a "weapon" component to it. But then it's also possible to also create an entity with components "texture:door" and "portal" (portal system will teleport you to something, e.g. next level). No one stops you to attach the "ai" component too, making the door move around. And "weapon", which makes the door shoot too (then maybe call the entity something else, like portaling-monster).

As the components are just data stored outside your code, e.g. in files or a DB, you can change them at will. And load it, without recompiling or even restarting your game! This allows a large amount of creativity and innovation, without refactoring your code all the time.

I like to connect my systems with a message bus, where they send messages to each other. Messages change components, data, of entities. These may generate more messages. E.g. player clicking left mouse button creates a message, which gets handled by input system. This creates a message for the weapon system, reducing ammo count by one, and change its texture (-index) to like "shootingstance:1", and creating a new entity "bullet" with the source x/y and destination angle.

comment 4y ago · link · parent

Exactly this. Something like ECS, where you code your game "outside" of your game, may also be useful at some non-game software.

comment 4y ago · link · parent

Thanks. Still, abandoned it like the author mentioned after nearly getting the MVP to work. All which is left to do is fixing all the bugs, implementing all the skills, animations, enemies and bosses with choreographed attacks, and designing a lot of maps, add a story... (at least there is no music or sound effects).

And of course, what often gets forgotten: Make sure it is fun, somehow. In my opinion, nobody can "make" a good game. Can just pump out a lot of games, and hope one is good. Be it EA, or King Digital Entertainment.

comment 4y ago · link · parent

Sure: https://github.com/dobin/nkeyrollover. You can play it with "telnet exploit.courses". It will crash a lot. Stole some animations from "Stone Story" (Steam)
1234